@mythpe/quasar-ui-qui 0.0.93 → 0.0.95

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mythpe/quasar-ui-qui",
3
- "version": "0.0.93",
3
+ "version": "0.0.95",
4
4
  "description": "MyTh Quasar UI Kit App Extension",
5
5
  "author": {
6
6
  "name": "MyTh Ahmed Faiz",
@@ -127,7 +127,7 @@ defineOptions({
127
127
  v-bind="{
128
128
  error: !!errorMessage,
129
129
  errorMessage,
130
- hint: hint ? __(hint) : hint,
130
+ hint: hint ? __(hint) : undefined,
131
131
  dense: !0,
132
132
  borderless: !0,
133
133
  outlined: !1,
@@ -143,7 +143,7 @@ defineOptions({
143
143
  ...$attrs,
144
144
  modelValue: value,
145
145
  disable: viewMode === !0 ? !0 : disable,
146
- autocomplete: getAutocompleteAttribute,
146
+ autocomplete: getAutocompleteAttribute || undefined,
147
147
  label: undefined
148
148
  }"
149
149
  v-on="listeners"
@@ -248,10 +248,10 @@ defineOptions({
248
248
  ref="input"
249
249
  :_definitions="{..._definitions,...pluginOptions.editor?.definitions}"
250
250
  :fonts="fonts || _fonts"
251
- :label="hasTopLabel ? undefined : getLabel"
251
+ :label="hasTopLabel ? undefined : (getLabel || undefined)"
252
252
  :min-height="minHeight"
253
253
  :model-value="value || ''"
254
- :placeholder="getPlaceholder"
254
+ :placeholder="getPlaceholder || undefined"
255
255
  :toolbar="toolbar || _toolbar"
256
256
  v-bind="{
257
257
  ...pluginOptions.editor as any,
@@ -115,11 +115,11 @@ defineOptions({
115
115
  stackLabel: !0,
116
116
  error: !!errorMessage,
117
117
  errorMessage,
118
- hint: hint ? __(hint) : hint,
119
- label: hasTopLabel ? undefined : getLabel,
118
+ hint: hint ? __(hint) : undefined,
119
+ label: hasTopLabel ? undefined : (getLabel || undefined),
120
120
  modelValue: value,
121
- autocomplete: getAutocompleteAttribute,
122
- placeholder: getPlaceholder
121
+ autocomplete: getAutocompleteAttribute || undefined,
122
+ placeholder: getPlaceholder || undefined
123
123
  }"
124
124
  >
125
125
  <template
@@ -160,8 +160,8 @@ defineOptions({
160
160
  :accept="accepts.join(',')"
161
161
  :error="!!errorMessage"
162
162
  :error-message="errorMessage"
163
- :hint="__(hint)"
164
- :label="hasTopLabel ? (viewMode ? undefined : getPlaceholder) : getLabel"
163
+ :hint="hint ? __(hint) : undefined"
164
+ :label="hasTopLabel ? (viewMode ? undefined : (getPlaceholder || undefined)) : (getLabel || undefined)"
165
165
  :model-value="value"
166
166
  v-bind="{
167
167
  ...$attrs,
@@ -137,12 +137,12 @@ defineOptions({
137
137
  ...$attrs,
138
138
  ...theme,
139
139
  ...( viewMode ? { ...pluginOptions.field, stackLabel: !0 } : pluginOptions.input as any),
140
- autocomplete: getAutocompleteAttribute,
140
+ autocomplete: getAutocompleteAttribute || undefined,
141
141
  clearable: viewMode ? !1 : clearable,
142
142
  error: !!errorMessage,
143
143
  errorMessage,
144
- hint: __(hint),
145
- label: hasTopLabel ? undefined : getLabel,
144
+ hint: hint ? __(hint) : undefined,
145
+ label: hasTopLabel ? undefined : (getLabel || undefined),
146
146
  modelValue: value,
147
147
  placeholder: getPlaceholder,
148
148
  }"
@@ -175,9 +175,9 @@ defineOptions({
175
175
  :color="!!errorMessage ? 'negative' : getProp('color')"
176
176
  :error="viewMode ? !!errorMessage : undefined"
177
177
  :error-message="viewMode ? errorMessage : undefined"
178
- :hint="viewMode ? __(hint) : undefined"
178
+ :hint="viewMode ? ( hint ? __(hint) : undefined ) : undefined"
179
179
  :keep-color="!!errorMessage ? !0 : getProp('keepColor')"
180
- :label="getLabel"
180
+ :label="getLabel || undefined"
181
181
  :model-value="value"
182
182
  :options="options"
183
183
  :type="viewMode ? undefined : type"
@@ -178,9 +178,9 @@ defineOptions({
178
178
  ...$attrs,
179
179
  error: !!errorMessage,
180
180
  errorMessage,
181
- hint: hint ? __(hint) : hint,
182
- label: hasTopLabel ? undefined : getLabel,
183
- autocomplete: getAutocompleteAttribute,
181
+ hint: hint ? __(hint) : undefined,
182
+ label: hasTopLabel ? undefined : ( getLabel || undefined),
183
+ autocomplete: getAutocompleteAttribute || undefined,
184
184
  stackLabel: !0
185
185
  }"
186
186
  >
@@ -121,7 +121,7 @@ defineOptions({
121
121
  <q-field
122
122
  :error="!!errorMessage"
123
123
  :error-message="errorMessage"
124
- :hint="__(hint)"
124
+ :hint="hint ? __(hint) : undefined"
125
125
  v-bind="{
126
126
  ...theme,
127
127
  ...pluginOptions.input as any,
@@ -220,7 +220,7 @@ defineOptions({
220
220
  ...theme,
221
221
  ...$attrs,
222
222
  ...( viewMode ? pluginOptions.field : pluginOptions.select as any ),
223
- emitValue: emitValue,
223
+ emitValue,
224
224
  error: !!errorMessage,
225
225
  errorMessage,
226
226
  hideSelected: hideSelected !== undefined ? hideSelected : search.length > 0,
@@ -236,9 +236,9 @@ defineOptions({
236
236
  mapOptions,
237
237
  loading,
238
238
  useInput,
239
- autocomplete: getAutocompleteAttribute,
239
+ autocomplete: getAutocompleteAttribute || undefined,
240
240
  clearable: viewMode ? !1 : clearable,
241
- hint: hint ? __(hint) : hint,
241
+ hint: hint ? __(hint) : undefined,
242
242
  label: viewMode && hasTopLabel ? undefined : (loading ? undefined : getPlaceholder),
243
243
  modelValue: value,
244
244
  }"
@@ -160,10 +160,10 @@ defineOptions({
160
160
  />
161
161
  <MCol v-bind="colProps">
162
162
  <q-field
163
- :error="!!errorMessage"
164
- :error-message="errorMessage"
165
- :hint="__(hint)"
166
163
  v-bind="{
164
+ error: !!errorMessage,
165
+ errorMessage,
166
+ hint: hint ? __(hint) : undefined,
167
167
  ...pluginOptions.input as any,
168
168
  ...pluginOptions.field,
169
169
  ...$attrs,
@@ -176,7 +176,7 @@ defineOptions({
176
176
  :disable="viewMode"
177
177
  :false-value="falseValue"
178
178
  :indeterminate-value="indeterminateValue"
179
- :label="getLabel"
179
+ :label="getLabel || undefined"
180
180
  :model-value="value"
181
181
  :true-value="trueValue"
182
182
  v-bind="{