@mythpe/quasar-ui-qui 0.0.51 → 0.0.53

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.51",
3
+ "version": "0.0.53",
4
4
  "description": "MyTh Quasar UI Kit App Extension",
5
5
  "author": {
6
6
  "name": "MyTh Ahmed Faiz",
@@ -336,6 +336,7 @@ defineOptions({
336
336
  :field="scopes"
337
337
  >
338
338
  <MHelpRow
339
+ v-if="!!help"
339
340
  :text="help"
340
341
  tooltip
341
342
  />
@@ -354,7 +355,7 @@ defineOptions({
354
355
  v-bind="scopes"
355
356
  >
356
357
  <MHelpRow
357
- v-if="!getLabel"
358
+ v-if="!getLabel && help"
358
359
  :text="help"
359
360
  />
360
361
  </slot>
@@ -220,6 +220,7 @@ defineOptions({
220
220
  :field="scopes"
221
221
  >
222
222
  <MHelpRow
223
+ v-if="!!help"
223
224
  :text="help"
224
225
  tooltip
225
226
  />
@@ -237,7 +238,10 @@ defineOptions({
237
238
  name="help"
238
239
  v-bind="inputScope"
239
240
  >
240
- <MHelpRow :text="help" />
241
+ <MHelpRow
242
+ v-if="!!help"
243
+ :text="help"
244
+ />
241
245
  </slot>
242
246
  <component
243
247
  :is="viewMode ? QField : QEditor"
@@ -263,7 +267,7 @@ defineOptions({
263
267
  v-bind="scopes"
264
268
  >
265
269
  <MHelpRow
266
- v-if="!hasTopLabel"
270
+ v-if="!hasTopLabel && help"
267
271
  :text="help"
268
272
  />
269
273
  </slot>
@@ -91,6 +91,7 @@ defineOptions({
91
91
  :field="{label: getLabel} as any"
92
92
  >
93
93
  <MHelpRow
94
+ v-if="!!help"
94
95
  :text="help"
95
96
  tooltip
96
97
  />
@@ -136,7 +137,7 @@ defineOptions({
136
137
  </q-field>
137
138
  <slot name="help">
138
139
  <MHelpRow
139
- v-if="!hasTopLabel"
140
+ v-if="!hasTopLabel && help"
140
141
  :text="help"
141
142
  />
142
143
  </slot>
@@ -140,6 +140,7 @@ defineOptions({
140
140
  :field="scopes"
141
141
  >
142
142
  <MHelpRow
143
+ v-if="!!help"
143
144
  :text="help"
144
145
  tooltip
145
146
  />
@@ -202,7 +203,7 @@ defineOptions({
202
203
  v-bind="scopes"
203
204
  >
204
205
  <MHelpRow
205
- v-if="!hasTopLabel"
206
+ v-if="!hasTopLabel && help"
206
207
  :text="help"
207
208
  />
208
209
  </slot>
@@ -108,6 +108,7 @@ defineOptions({
108
108
  :field="scopes"
109
109
  >
110
110
  <MHelpRow
111
+ v-if="!!help"
111
112
  :text="help"
112
113
  tooltip
113
114
  />
@@ -161,7 +162,7 @@ defineOptions({
161
162
  v-bind="scopes"
162
163
  >
163
164
  <MHelpRow
164
- v-if="!hasTopLabel"
165
+ v-if="!hasTopLabel && help"
165
166
  :text="help"
166
167
  />
167
168
  </slot>
@@ -210,7 +210,7 @@ defineOptions({
210
210
  v-bind="scopes"
211
211
  >
212
212
  <MHelpRow
213
- v-if="!getLabel"
213
+ v-if="!getLabel && help"
214
214
  :text="help"
215
215
  />
216
216
  </slot>
@@ -151,6 +151,7 @@ defineOptions({
151
151
  :field="scopes"
152
152
  >
153
153
  <MHelpRow
154
+ v-if="!!help"
154
155
  :text="help"
155
156
  tooltip
156
157
  />
@@ -299,7 +300,7 @@ defineOptions({
299
300
  v-bind="scopes"
300
301
  >
301
302
  <MHelpRow
302
- v-if="!hasTopLabel"
303
+ v-if="!hasTopLabel && help"
303
304
  :text="help"
304
305
  />
305
306
  </slot>
@@ -198,6 +198,7 @@ defineOptions({
198
198
  :field="scopes"
199
199
  >
200
200
  <MHelpRow
201
+ v-if="!!help"
201
202
  :text="help"
202
203
  tooltip
203
204
  />
@@ -338,7 +339,7 @@ defineOptions({
338
339
  v-bind="scopes"
339
340
  >
340
341
  <MHelpRow
341
- v-if="!hasTopLabel"
342
+ v-if="!hasTopLabel && help"
342
343
  :text="help"
343
344
  />
344
345
  </slot>
@@ -271,9 +271,9 @@ export const Helpers = {
271
271
  const selector = `[data-input-name='${name}']`
272
272
  const e = document.querySelector(selector) as HTMLElement
273
273
  // console.log(e)
274
- await this.scrollToElement(e || `[name='${name}']`, { target })
274
+ await Helpers.scrollToElement(e || `[name='${name}']`, { target })
275
275
  } else {
276
- await this.scrollToElement(elm, { target })
276
+ await Helpers.scrollToElement(elm, { target })
277
277
  }
278
278
  break
279
279
  }