Migrate to REMs

pull/310/head
cagataycivici 2020-05-09 17:08:43 +03:00
parent 0bfc9c7d85
commit ebc0c62dff
30 changed files with 7917 additions and 7917 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -34,7 +34,7 @@
<InputText type="text" v-model="value5" disabled />
<h3>Invalid</h3>
<InputText type="text" class="p-error" />
<InputText type="text" class="p-invalid" />
<h3>Sizes</h3>
<div class="component-sizes">

View File

@ -98,7 +98,7 @@ import InputText from 'primevue/inputtext';
&lt;InputText type="text" v-model="value5" disabled /&gt;
&lt;h3&gt;Invalid&lt;/h3&gt;
&lt;InputText type="text" class="p-error" /&gt;
&lt;InputText type="text" class="p-invalid" /&gt;
&lt;h3&gt;Sizes&lt;/h3&gt;
&lt;div class="component-sizes"&gt;

View File

@ -27,11 +27,11 @@
<h3>Inline Message</h3>
<div class="p-grid">
<div class="p-col-12">
<InputText placeholder="Username" class="p-error" />
<InputText placeholder="Username" class="p-invalid" />
<InlineMessage>Field is required</InlineMessage>
</div>
<div class="p-col-12">
<InputText placeholder="Email" class="p-error" :closable="false" />
<InputText placeholder="Email" class="p-invalid" :closable="false" />
<InlineMessage />
</div>
</div>

View File

@ -63,7 +63,7 @@ import InlineMessage from 'primevue/inlinemessage';
<p>InlineMessage component is useful in cases where a single message needs to be displayed related to an element such as forms. It has one property, <i>severity</i> of the message.</p>
<CodeHighlight>
&lt;InputText placeholder="Username" class="p-error" /&gt;
&lt;InputText placeholder="Username" class="p-invalid" /&gt;
&lt;InlineMessage&gt;Field is required&lt;/InlineMessage&gt;
</CodeHighlight>
@ -251,11 +251,11 @@ import InlineMessage from 'primevue/inlinemessage';
&lt;h3&gt;Validation Message&lt;/h3&gt;
&lt;div class="p-grid"&gt;
&lt;div class="p-col-12"&gt;
&lt;InputText placeholder="Username" class="p-error" /&gt;
&lt;InputText placeholder="Username" class="p-invalid" /&gt;
&lt;InlineMessage&gt;Field is required&lt;/InlineMessage&gt;
&lt;/div&gt;
&lt;div class="p-col-12"&gt;
&lt;InputText placeholder="Email" class="p-error" :closable="false" /&gt;
&lt;InputText placeholder="Email" class="p-invalid" :closable="false" /&gt;
&lt;InlineMessage /&gt;
&lt;/div&gt;
&lt;/div&gt;

View File

@ -24,18 +24,18 @@
</div>
<div class="p-grid p-fluid wizard-content">
<div class="p-col-12 p-md-3" style="max-width: 176px;">
<InputText v-model="$v.firstname.$model" :class="{'p-error':$v.firstname.$invalid && submitted}" placeholder="Firstname"/>
<InputText v-model="$v.firstname.$model" :class="{'p-invalid':$v.firstname.$invalid && submitted}" placeholder="Firstname"/>
<ValidationMessage v-show="$v.firstname.$invalid && submitted" style="font-size: 12px">Firstname is required.</ValidationMessage>
</div>
<div class="p-col-12 p-md-3" style="max-width: 176px;">
<InputText v-model="$v.lastname.$model" :class="{'p-error':$v.lastname.$invalid && submitted}" placeholder="Lastname" />
<InputText v-model="$v.lastname.$model" :class="{'p-invalid':$v.lastname.$invalid && submitted}" placeholder="Lastname" />
<ValidationMessage v-show="$v.lastname.$invalid && submitted" style="font-size: 12px">Lastname is required.</ValidationMessage>
</div>
</div>
<div class="p-grid p-fluid wizard-content">
<div class="p-col-12 p-md-3" style="max-width: 176px;">
<p class="wizard-input-header">Your Age</p>
<InputText v-model="$v.age.$model" :class="{'p-error':$v.age.$error && submitted}" />
<InputText v-model="$v.age.$model" :class="{'p-invalid':$v.age.$error && submitted}" />
<ValidationMessage v-show="$v.age.$invalid && submitted" style="margin-top: .5em; font-size: 12px">Age should be number.</ValidationMessage>
</div>
</div>

View File

@ -205,18 +205,18 @@ export default {
&lt;/div&gt;
&lt;div class="p-grid p-fluid wizard-content"&gt;
&lt;div class="p-col-12 p-md-3" style="max-width: 176px;"&gt;
&lt;InputText v-model="$v.firstname.$model" :class="{'p-error':$v.firstname.$invalid && submitted}" placeholder="Firstname" /&gt;
&lt;InputText v-model="$v.firstname.$model" :class="{'p-invalid':$v.firstname.$invalid && submitted}" placeholder="Firstname" /&gt;
&lt;ValidationMessage v-show="$v.firstname.$invalid && submitted" style="font-size: 12px"&gt;Firstname is required.&lt;/ValidationMessage&gt;
&lt;/div&gt;
&lt;div class="p-col-12 p-md-3" style="max-width: 176px;"&gt;
&lt;InputText v-model="$v.lastname.$model" :class="{'p-error':$v.lastname.$invalid && submitted}" placeholder="Lastname"/&gt;
&lt;InputText v-model="$v.lastname.$model" :class="{'p-invalid':$v.lastname.$invalid && submitted}" placeholder="Lastname"/&gt;
&lt;ValidationMessage v-show="$v.lastname.$invalid && submitted" style="font-size: 12px"&gt;Lastname is required.&lt;/ValidationMessage&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="p-grid p-fluid wizard-content"&gt;
&lt;div class="p-col-12 p-md-3" style="max-width: 176px;"&gt;
&lt;p class="wizard-input-header"&gt;Your Age&lt;/p&gt;
&lt;InputText v-model="$v.age.$model" :class="{'p-error':$v.age.$error && submitted}" /&gt;
&lt;InputText v-model="$v.age.$model" :class="{'p-invalid':$v.age.$error && submitted}" /&gt;
&lt;ValidationMessage v-show="$v.age.$invalid && submitted" style="margin-top: .5em; font-size: 12px"&gt;Age should be number.&lt;/ValidationMessage&gt;
&lt;/div&gt;
&lt;/div&gt;