@quidgest/ui 0.7.13 → 0.7.14

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/dist/index.d.ts CHANGED
@@ -1,15 +1,24 @@
1
1
  import { AllowedComponentProps } from 'vue';
2
2
  import type { Component } from 'vue';
3
+ import { ComponentCustomProperties } from 'vue';
3
4
  import { ComponentCustomProps } from 'vue';
5
+ import { ComponentInternalInstance } from 'vue';
6
+ import { ComponentOptionsBase } from 'vue';
4
7
  import { ComponentOptionsMixin } from 'vue';
5
- import type { ComponentPublicInstance } from 'vue';
8
+ import { ComponentPublicInstance } from 'vue';
6
9
  import { ComputedRef } from 'vue';
10
+ import { DebuggerEvent } from 'vue';
7
11
  import { DefineComponent } from 'vue';
8
12
  import { ExtractPropTypes } from 'vue';
13
+ import { nextTick } from 'vue';
9
14
  import type { Plugin as Plugin_2 } from 'vue';
10
15
  import { PropType } from 'vue';
11
16
  import { Ref } from 'vue';
17
+ import { ShallowUnwrapRef } from 'vue';
18
+ import { Slot } from 'vue';
12
19
  import { VNodeProps } from 'vue';
20
+ import { WatchOptions } from 'vue';
21
+ import { WatchStopHandle } from 'vue';
13
22
 
14
23
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
24
 
@@ -1037,7 +1046,7 @@ declare const _default_19: __VLS_WithTemplateSlots_13<DefineComponent<__VLS_With
1037
1046
  type: string;
1038
1047
  class: undefined;
1039
1048
  }>, {
1040
- fieldRef: ComputedRef<any>;
1049
+ fieldRef: ComputedRef<HTMLElement | null | undefined>;
1041
1050
  inputRef: Ref<HTMLElement | null>;
1042
1051
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1043
1052
  "update:modelValue": (value: string) => void;
@@ -1240,7 +1249,238 @@ declare const _default_4: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_WithDe
1240
1249
  icons: () => Record<string, Icon>;
1241
1250
  class: undefined;
1242
1251
  }>, {
1243
- triggerEl: Ref<any>;
1252
+ triggerEl: Ref<({
1253
+ $: ComponentInternalInstance;
1254
+ $data: {};
1255
+ $props: Partial<{
1256
+ size: QFieldSize;
1257
+ class: string | unknown[];
1258
+ type: string;
1259
+ label: string;
1260
+ modelValue: string;
1261
+ id: string;
1262
+ role: string;
1263
+ maxLength: number;
1264
+ placeholder: string;
1265
+ }> & Omit<{
1266
+ readonly type: string;
1267
+ readonly label: string;
1268
+ readonly modelValue: string;
1269
+ readonly id: string;
1270
+ readonly placeholder: string;
1271
+ readonly size?: QFieldSize | undefined;
1272
+ readonly class?: string | unknown[] | undefined;
1273
+ readonly disabled?: boolean | undefined;
1274
+ readonly required?: boolean | undefined;
1275
+ readonly role?: string | undefined;
1276
+ readonly maxLength?: number | undefined;
1277
+ readonly readonly?: boolean | undefined;
1278
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1279
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
1280
+ size: {
1281
+ type: PropType<QFieldSize>;
1282
+ default: undefined;
1283
+ };
1284
+ class: {
1285
+ type: PropType<string | unknown[]>;
1286
+ default: undefined;
1287
+ };
1288
+ type: {
1289
+ type: PropType<string>;
1290
+ default: string;
1291
+ };
1292
+ label: {
1293
+ type: PropType<string>;
1294
+ default: string;
1295
+ };
1296
+ disabled: {
1297
+ type: PropType<boolean>;
1298
+ };
1299
+ modelValue: {
1300
+ type: PropType<string>;
1301
+ default: string;
1302
+ };
1303
+ required: {
1304
+ type: PropType<boolean>;
1305
+ };
1306
+ id: {
1307
+ type: PropType<string>;
1308
+ default: () => string;
1309
+ };
1310
+ role: {
1311
+ type: PropType<string>;
1312
+ default: undefined;
1313
+ };
1314
+ maxLength: {
1315
+ type: PropType<number>;
1316
+ default: undefined;
1317
+ };
1318
+ placeholder: {
1319
+ type: PropType<string>;
1320
+ default: string;
1321
+ };
1322
+ readonly: {
1323
+ type: PropType<boolean>;
1324
+ };
1325
+ }>> & {
1326
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1327
+ }, "size" | "class" | "type" | "label" | "modelValue" | "id" | "role" | "maxLength" | "placeholder">;
1328
+ $attrs: {
1329
+ [x: string]: unknown;
1330
+ };
1331
+ $refs: {
1332
+ [x: string]: unknown;
1333
+ };
1334
+ $slots: Readonly<{
1335
+ [name: string]: Slot<any> | undefined;
1336
+ }>;
1337
+ $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
1338
+ $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
1339
+ $emit: (event: "update:modelValue", value: string) => void;
1340
+ $el: any;
1341
+ $options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
1342
+ size: {
1343
+ type: PropType<QFieldSize>;
1344
+ default: undefined;
1345
+ };
1346
+ class: {
1347
+ type: PropType<string | unknown[]>;
1348
+ default: undefined;
1349
+ };
1350
+ type: {
1351
+ type: PropType<string>;
1352
+ default: string;
1353
+ };
1354
+ label: {
1355
+ type: PropType<string>;
1356
+ default: string;
1357
+ };
1358
+ disabled: {
1359
+ type: PropType<boolean>;
1360
+ };
1361
+ modelValue: {
1362
+ type: PropType<string>;
1363
+ default: string;
1364
+ };
1365
+ required: {
1366
+ type: PropType<boolean>;
1367
+ };
1368
+ id: {
1369
+ type: PropType<string>;
1370
+ default: () => string;
1371
+ };
1372
+ role: {
1373
+ type: PropType<string>;
1374
+ default: undefined;
1375
+ };
1376
+ maxLength: {
1377
+ type: PropType<number>;
1378
+ default: undefined;
1379
+ };
1380
+ placeholder: {
1381
+ type: PropType<string>;
1382
+ default: string;
1383
+ };
1384
+ readonly: {
1385
+ type: PropType<boolean>;
1386
+ };
1387
+ }>> & {
1388
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1389
+ }, {
1390
+ fieldRef: ComputedRef<HTMLElement | null | undefined>;
1391
+ inputRef: Ref<HTMLElement | null>;
1392
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1393
+ "update:modelValue": (value: string) => void;
1394
+ }, string, {
1395
+ size: QFieldSize;
1396
+ class: string | unknown[];
1397
+ type: string;
1398
+ label: string;
1399
+ modelValue: string;
1400
+ id: string;
1401
+ role: string;
1402
+ maxLength: number;
1403
+ placeholder: string;
1404
+ }, {}, string, {}> & {
1405
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
1406
+ created?: ((() => void) | (() => void)[]) | undefined;
1407
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
1408
+ mounted?: ((() => void) | (() => void)[]) | undefined;
1409
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
1410
+ updated?: ((() => void) | (() => void)[]) | undefined;
1411
+ activated?: ((() => void) | (() => void)[]) | undefined;
1412
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
1413
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
1414
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
1415
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
1416
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
1417
+ renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
1418
+ renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
1419
+ errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
1420
+ };
1421
+ $forceUpdate: () => void;
1422
+ $nextTick: typeof nextTick;
1423
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
1424
+ } & Omit<Readonly<ExtractPropTypes<{
1425
+ size: {
1426
+ type: PropType<QFieldSize>;
1427
+ default: undefined;
1428
+ };
1429
+ class: {
1430
+ type: PropType<string | unknown[]>;
1431
+ default: undefined;
1432
+ };
1433
+ type: {
1434
+ type: PropType<string>;
1435
+ default: string;
1436
+ };
1437
+ label: {
1438
+ type: PropType<string>;
1439
+ default: string;
1440
+ };
1441
+ disabled: {
1442
+ type: PropType<boolean>;
1443
+ };
1444
+ modelValue: {
1445
+ type: PropType<string>;
1446
+ default: string;
1447
+ };
1448
+ required: {
1449
+ type: PropType<boolean>;
1450
+ };
1451
+ id: {
1452
+ type: PropType<string>;
1453
+ default: () => string;
1454
+ };
1455
+ role: {
1456
+ type: PropType<string>;
1457
+ default: undefined;
1458
+ };
1459
+ maxLength: {
1460
+ type: PropType<number>;
1461
+ default: undefined;
1462
+ };
1463
+ placeholder: {
1464
+ type: PropType<string>;
1465
+ default: string;
1466
+ };
1467
+ readonly: {
1468
+ type: PropType<boolean>;
1469
+ };
1470
+ }>> & {
1471
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1472
+ }, "fieldRef" | "inputRef"> & ShallowUnwrapRef<{
1473
+ fieldRef: ComputedRef<HTMLElement | null | undefined>;
1474
+ inputRef: Ref<HTMLElement | null>;
1475
+ }> & {} & ComponentCustomProperties & {} & {
1476
+ $slots: {
1477
+ "label.prepend"?(_: {}): any;
1478
+ "label.append"?(_: {}): any;
1479
+ prepend?(_: {}): any;
1480
+ append?(_: {}): any;
1481
+ extras?(_: {}): any;
1482
+ };
1483
+ }) | null>;
1244
1484
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1245
1485
  "update:modelValue": (value: Primitive | undefined) => void;
1246
1486
  "update:inputValue": (value: string) => void;
package/dist/ui.css CHANGED
@@ -826,6 +826,10 @@ body *::-webkit-scrollbar-track {
826
826
  .q-select:not(.q-select--readonly):not(.q-select--disabled) {
827
827
  cursor: pointer;
828
828
  }
829
+ .q-select:not(.q-select--disabled) .q-select__clear:hover,
830
+ .q-select:not(.q-select--disabled) .q-select__chevron:hover {
831
+ opacity: 1;
832
+ }
829
833
  .q-select__value, .q-select__placeholder {
830
834
  white-space: nowrap;
831
835
  overflow: hidden;
@@ -849,11 +853,6 @@ body *::-webkit-scrollbar-track {
849
853
  opacity: 0.5;
850
854
  }
851
855
 
852
- .q-select__clear:hover,
853
- .q-select__chevron:hover {
854
- opacity: 1;
855
- }
856
-
857
856
  .q-select__chevron {
858
857
  transition: all 0.2s;
859
858
  }