@quidgest/ui 0.16.51 → 0.16.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/dist/json/api.json +34 -31
- package/dist/ui.esm.js +5407 -5400
- package/dist/ui.js +7 -7
- package/dist/ui.min.js +157 -156
- package/dist/ui.scss +1 -1
- package/esm/components/QCombobox/QCombobox.d.ts +16 -4
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/index.d.ts +8 -2
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.d.ts +4 -13
- package/esm/components/QDialog/QDialog.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.vue.js +71 -78
- package/esm/components/QDialog/QDialogProvider.d.ts.map +1 -1
- package/esm/components/QDialog/QDialogProvider.vue.js +16 -17
- package/esm/components/QDialog/index.d.ts +10 -85
- package/esm/components/QDialog/index.d.ts.map +1 -1
- package/esm/components/QDialog/types.d.ts +6 -0
- package/esm/components/QDialog/types.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenu.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenu.vue.js +27 -18
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +18 -4
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +40 -36
- package/esm/components/QList/QList.d.ts +9 -2
- package/esm/components/QList/QList.d.ts.map +1 -1
- package/esm/components/QList/QList.vue.js +27 -25
- package/esm/components/QList/QListItem.d.ts +1 -0
- package/esm/components/QList/QListItem.d.ts.map +1 -1
- package/esm/components/QList/QListItem.vue.js +25 -24
- package/esm/components/QList/index.d.ts +10 -1
- package/esm/components/QList/index.d.ts.map +1 -1
- package/esm/components/QList/types.d.ts +12 -0
- package/esm/components/QList/types.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.d.ts +4 -9
- package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.vue.js +156 -158
- package/esm/components/QOverlay/index.d.ts +10 -93
- package/esm/components/QOverlay/index.d.ts.map +1 -1
- package/esm/components/QOverlay/types.d.ts +6 -0
- package/esm/components/QOverlay/types.d.ts.map +1 -1
- package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +14 -13
- package/esm/components/QSelect/QSelect.d.ts +16 -4
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/index.d.ts +8 -2
- package/esm/components/QSelect/index.d.ts.map +1 -1
- package/esm/composables/useDialog/index.d.ts +1 -0
- package/esm/composables/useDialog/index.d.ts.map +1 -1
- package/esm/composables/useDialog/index.js +11 -11
- package/package.json +1 -1
package/dist/ui.scss
CHANGED
|
@@ -320,6 +320,7 @@ declare function __VLS_template(): {
|
|
|
320
320
|
readonly items?: import('..').Item[] | undefined;
|
|
321
321
|
readonly groups?: import('..').Group[] | undefined;
|
|
322
322
|
readonly selectable?: boolean | undefined;
|
|
323
|
+
readonly selectOnTab?: boolean | undefined;
|
|
323
324
|
readonly multiple?: boolean | undefined;
|
|
324
325
|
readonly disabled?: boolean | undefined;
|
|
325
326
|
readonly required?: boolean | undefined;
|
|
@@ -346,6 +347,7 @@ declare function __VLS_template(): {
|
|
|
346
347
|
readonly icon?: import('..').Icon | undefined;
|
|
347
348
|
readonly description?: string | undefined;
|
|
348
349
|
readonly selectable?: boolean | undefined;
|
|
350
|
+
readonly selectOnTab?: boolean | undefined;
|
|
349
351
|
readonly highlighted?: boolean | undefined;
|
|
350
352
|
readonly disabled?: boolean | undefined;
|
|
351
353
|
readonly icons?: typeof import('../QList/constants').DEFAULT_ICONS | undefined;
|
|
@@ -377,6 +379,7 @@ declare function __VLS_template(): {
|
|
|
377
379
|
click: () => any;
|
|
378
380
|
}, string, {
|
|
379
381
|
icons: typeof import('../QList/constants').DEFAULT_ICONS;
|
|
382
|
+
selectOnTab: boolean;
|
|
380
383
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
381
384
|
beforeCreate?: (() => void) | (() => void)[];
|
|
382
385
|
created?: (() => void) | (() => void)[];
|
|
@@ -399,12 +402,13 @@ declare function __VLS_template(): {
|
|
|
399
402
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
400
403
|
} & Readonly<{
|
|
401
404
|
icons: typeof import('../QList/constants').DEFAULT_ICONS;
|
|
405
|
+
selectOnTab: boolean;
|
|
402
406
|
}> & Omit<Readonly<{
|
|
403
407
|
modelValue?: boolean;
|
|
404
408
|
} & import('..').QListItemProps> & Readonly<{
|
|
405
409
|
onClick?: (() => any) | undefined;
|
|
406
410
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
407
|
-
}>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
411
|
+
}>, "icons" | "selectOnTab"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
408
412
|
$slots: {
|
|
409
413
|
prepend?(_: {}): any;
|
|
410
414
|
default?(_: {}): any;
|
|
@@ -435,6 +439,7 @@ declare function __VLS_template(): {
|
|
|
435
439
|
"update:modelValue": (val: any) => any;
|
|
436
440
|
"mouseenter:item": (key: any) => any;
|
|
437
441
|
}, string, {
|
|
442
|
+
selectOnTab: boolean;
|
|
438
443
|
groups: import('..').Group[];
|
|
439
444
|
itemValue: string;
|
|
440
445
|
itemLabel: string;
|
|
@@ -459,6 +464,7 @@ declare function __VLS_template(): {
|
|
|
459
464
|
$nextTick: typeof nextTick;
|
|
460
465
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
461
466
|
} & Readonly<{
|
|
467
|
+
selectOnTab: boolean;
|
|
462
468
|
groups: import('..').Group[];
|
|
463
469
|
itemValue: string;
|
|
464
470
|
itemLabel: string;
|
|
@@ -466,7 +472,7 @@ declare function __VLS_template(): {
|
|
|
466
472
|
onClick?: ((key: any) => any) | undefined;
|
|
467
473
|
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
468
474
|
"onMouseenter:item"?: ((key: any) => any) | undefined;
|
|
469
|
-
}>, "getItem" | "getActiveItemIndex" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
475
|
+
}>, "getItem" | "getActiveItemIndex" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("selectOnTab" | "groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
470
476
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
471
477
|
getActiveItemIndex: () => number;
|
|
472
478
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -1203,6 +1209,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
1203
1209
|
readonly items?: import('..').Item[] | undefined;
|
|
1204
1210
|
readonly groups?: import('..').Group[] | undefined;
|
|
1205
1211
|
readonly selectable?: boolean | undefined;
|
|
1212
|
+
readonly selectOnTab?: boolean | undefined;
|
|
1206
1213
|
readonly multiple?: boolean | undefined;
|
|
1207
1214
|
readonly disabled?: boolean | undefined;
|
|
1208
1215
|
readonly required?: boolean | undefined;
|
|
@@ -1229,6 +1236,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
1229
1236
|
readonly icon?: import('..').Icon | undefined;
|
|
1230
1237
|
readonly description?: string | undefined;
|
|
1231
1238
|
readonly selectable?: boolean | undefined;
|
|
1239
|
+
readonly selectOnTab?: boolean | undefined;
|
|
1232
1240
|
readonly highlighted?: boolean | undefined;
|
|
1233
1241
|
readonly disabled?: boolean | undefined;
|
|
1234
1242
|
readonly icons?: typeof import('../QList/constants').DEFAULT_ICONS | undefined;
|
|
@@ -1260,6 +1268,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
1260
1268
|
click: () => any;
|
|
1261
1269
|
}, string, {
|
|
1262
1270
|
icons: typeof import('../QList/constants').DEFAULT_ICONS;
|
|
1271
|
+
selectOnTab: boolean;
|
|
1263
1272
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
1264
1273
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1265
1274
|
created?: (() => void) | (() => void)[];
|
|
@@ -1282,12 +1291,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
1282
1291
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
1283
1292
|
} & Readonly<{
|
|
1284
1293
|
icons: typeof import('../QList/constants').DEFAULT_ICONS;
|
|
1294
|
+
selectOnTab: boolean;
|
|
1285
1295
|
}> & Omit<Readonly<{
|
|
1286
1296
|
modelValue?: boolean;
|
|
1287
1297
|
} & import('..').QListItemProps> & Readonly<{
|
|
1288
1298
|
onClick?: (() => any) | undefined;
|
|
1289
1299
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1290
|
-
}>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
1300
|
+
}>, "icons" | "selectOnTab"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
1291
1301
|
$slots: {
|
|
1292
1302
|
prepend?(_: {}): any;
|
|
1293
1303
|
default?(_: {}): any;
|
|
@@ -1318,6 +1328,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
1318
1328
|
"update:modelValue": (val: any) => any;
|
|
1319
1329
|
"mouseenter:item": (key: any) => any;
|
|
1320
1330
|
}, string, {
|
|
1331
|
+
selectOnTab: boolean;
|
|
1321
1332
|
groups: import('..').Group[];
|
|
1322
1333
|
itemValue: string;
|
|
1323
1334
|
itemLabel: string;
|
|
@@ -1342,6 +1353,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
1342
1353
|
$nextTick: typeof nextTick;
|
|
1343
1354
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
1344
1355
|
} & Readonly<{
|
|
1356
|
+
selectOnTab: boolean;
|
|
1345
1357
|
groups: import('..').Group[];
|
|
1346
1358
|
itemValue: string;
|
|
1347
1359
|
itemLabel: string;
|
|
@@ -1349,7 +1361,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
1349
1361
|
onClick?: ((key: any) => any) | undefined;
|
|
1350
1362
|
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
1351
1363
|
"onMouseenter:item"?: ((key: any) => any) | undefined;
|
|
1352
|
-
}>, "getItem" | "getActiveItemIndex" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
1364
|
+
}>, "getItem" | "getActiveItemIndex" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("selectOnTab" | "groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
1353
1365
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
1354
1366
|
getActiveItemIndex: () => number;
|
|
1355
1367
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QCombobox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/QCombobox.vue"],"names":[],"mappings":"AA6HA;AAslBC,OAAO,EAAE,aAAa,EAAiB,MAAM,aAAa,CAAA;AAY1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAG7C,OAAO,EAAY,QAAQ,EAAyB,MAAM,KAAK,CAAA;AAE/D,KAAK,WAAW,GAAG,cAAc,CAAC;AAodnC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACjB,GAAG,WAAW,CAAC;AAOhB,iBAAS,cAAc;WAuVT,OAAO,IAA6B;;iCAvBZ,GAAG;gCACJ,GAAG;yBACV,GAAG;wBACJ,GAAG;wBACH,GAAG;gCACK,GAAG;;;YACb,GAAG;+BACM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAza2B,GAAG,8CACxB,GAAG,yBACzC,GAAG,6DACY,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAHyC,GAAG,8CACxB,GAAG,yBACzC,GAAG,6DACY,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAG,yBACzC,GAAG,6DACY,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAHyC,GAAG,8CACxB,GAAG,yBACzC,GAAG,6DACY,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAHyC,GAAG,8CACxB,GAAG,yBACzC,GAAG,6DACY,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAHyC,GAAG,8CACxB,GAAG,yBACzC,GAAG,6DACY,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAHyC,GAAG,8CACxB,GAAG,yBACzC,GAAG,6DACY,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4evB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -729,6 +729,7 @@ declare const QCombobox: {
|
|
|
729
729
|
readonly items?: import('..').Item[] | undefined;
|
|
730
730
|
readonly groups?: import('..').Group[] | undefined;
|
|
731
731
|
readonly selectable?: boolean | undefined;
|
|
732
|
+
readonly selectOnTab?: boolean | undefined;
|
|
732
733
|
readonly multiple?: boolean | undefined;
|
|
733
734
|
readonly disabled?: boolean | undefined;
|
|
734
735
|
readonly required?: boolean | undefined;
|
|
@@ -755,6 +756,7 @@ declare const QCombobox: {
|
|
|
755
756
|
readonly icon?: import('..').Icon | undefined;
|
|
756
757
|
readonly description?: string | undefined;
|
|
757
758
|
readonly selectable?: boolean | undefined;
|
|
759
|
+
readonly selectOnTab?: boolean | undefined;
|
|
758
760
|
readonly highlighted?: boolean | undefined;
|
|
759
761
|
readonly disabled?: boolean | undefined;
|
|
760
762
|
readonly icons?: typeof import('../QList/constants').DEFAULT_ICONS | undefined;
|
|
@@ -786,6 +788,7 @@ declare const QCombobox: {
|
|
|
786
788
|
click: () => any;
|
|
787
789
|
}, string, {
|
|
788
790
|
icons: typeof import('../QList/constants').DEFAULT_ICONS;
|
|
791
|
+
selectOnTab: boolean;
|
|
789
792
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
790
793
|
beforeCreate?: (() => void) | (() => void)[];
|
|
791
794
|
created?: (() => void) | (() => void)[];
|
|
@@ -808,12 +811,13 @@ declare const QCombobox: {
|
|
|
808
811
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
809
812
|
} & Readonly<{
|
|
810
813
|
icons: typeof import('../QList/constants').DEFAULT_ICONS;
|
|
814
|
+
selectOnTab: boolean;
|
|
811
815
|
}> & Omit<Readonly<{
|
|
812
816
|
modelValue?: boolean;
|
|
813
817
|
} & import('..').QListItemProps> & Readonly<{
|
|
814
818
|
onClick?: (() => any) | undefined;
|
|
815
819
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
816
|
-
}>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
820
|
+
}>, "icons" | "selectOnTab"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
817
821
|
$slots: {
|
|
818
822
|
prepend?(_: {}): any;
|
|
819
823
|
default?(_: {}): any;
|
|
@@ -844,6 +848,7 @@ declare const QCombobox: {
|
|
|
844
848
|
"update:modelValue": (val: any) => any;
|
|
845
849
|
"mouseenter:item": (key: any) => any;
|
|
846
850
|
}, string, {
|
|
851
|
+
selectOnTab: boolean;
|
|
847
852
|
groups: import('..').Group[];
|
|
848
853
|
itemValue: string;
|
|
849
854
|
itemLabel: string;
|
|
@@ -868,6 +873,7 @@ declare const QCombobox: {
|
|
|
868
873
|
$nextTick: typeof import('vue').nextTick;
|
|
869
874
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
870
875
|
} & Readonly<{
|
|
876
|
+
selectOnTab: boolean;
|
|
871
877
|
groups: import('..').Group[];
|
|
872
878
|
itemValue: string;
|
|
873
879
|
itemLabel: string;
|
|
@@ -875,7 +881,7 @@ declare const QCombobox: {
|
|
|
875
881
|
onClick?: ((key: any) => any) | undefined;
|
|
876
882
|
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
877
883
|
"onMouseenter:item"?: ((key: any) => any) | undefined;
|
|
878
|
-
}>, "getItem" | "getActiveItemIndex" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
884
|
+
}>, "getItem" | "getActiveItemIndex" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("selectOnTab" | "groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
879
885
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
880
886
|
getActiveItemIndex: () => number;
|
|
881
887
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") =>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;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAP1yzB,CAAA;AAG7C,OAAO,EAAE,SAAS,EAAE,CAAA;AAGpB,cAAc,SAAS,CAAA"}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { DEFAULT_ICONS } from './constants';
|
|
2
2
|
import { DialogButton, QDialogProps } from './types';
|
|
3
|
-
type __VLS_Props = QDialogProps;
|
|
4
|
-
type __VLS_PublicProps = {
|
|
5
|
-
modelValue?: boolean;
|
|
6
|
-
} & __VLS_Props;
|
|
7
3
|
declare function __VLS_template(): {
|
|
8
4
|
attrs: Partial<{}>;
|
|
9
5
|
slots: {
|
|
@@ -19,15 +15,10 @@ declare function __VLS_template(): {
|
|
|
19
15
|
rootEl: any;
|
|
20
16
|
};
|
|
21
17
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
23
|
-
"update:modelValue": (
|
|
24
|
-
} & {
|
|
25
|
-
|
|
26
|
-
leave: () => any;
|
|
27
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
28
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
29
|
-
onEnter?: (() => any) | undefined;
|
|
30
|
-
onLeave?: (() => any) | undefined;
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<QDialogProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
19
|
+
"update:modelValue": (val: boolean) => any;
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<QDialogProps> & Readonly<{
|
|
21
|
+
"onUpdate:modelValue"?: ((val: boolean) => any) | undefined;
|
|
31
22
|
}>, {
|
|
32
23
|
size: import('./types').QDialogSize;
|
|
33
24
|
html: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/QDialog.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/QDialog.vue"],"names":[],"mappings":"AAuGA;AAkLC,OAAO,EAAiC,aAAa,EAAE,MAAM,aAAa,CAAA;AAS1E,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AA4E1D,iBAAS,cAAc;WA4PT,OAAO,IAA6B;;wBAhBtB,GAAG;kCACQ,GAAG;iCACJ,GAAG;sBACd,GAAG;6BACI,GAAG;+BACD,GAAG;iCACD,GAAG;;;;EAexC;AAqBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;6EASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,39 +1,40 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { DEFAULT_ICONS as
|
|
3
|
-
import { QButton as
|
|
1
|
+
import { defineComponent as A, ref as h, computed as k, createBlock as c, openBlock as t, unref as a, normalizeClass as g, withCtx as p, createElementVNode as B, createElementBlock as i, createCommentVNode as s, renderSlot as n, toDisplayString as v, createVNode as m, normalizeProps as V, guardReactiveProps as b, createTextVNode as L, Fragment as U, renderList as w, mergeProps as $ } from "vue";
|
|
2
|
+
import { DEFAULT_ICONS as E, DEFAULT_BUTTONS as Q, DEFAULT_ICON as M } from "./constants.js";
|
|
3
|
+
import { QButton as q } from "../QButton/index.js";
|
|
4
4
|
import { QIcon as f } from "../QIcon/index.js";
|
|
5
|
-
import { QOverlay as
|
|
6
|
-
import { QTextField as
|
|
7
|
-
const
|
|
5
|
+
import { QOverlay as S } from "../QOverlay/index.js";
|
|
6
|
+
import { QTextField as W } from "../QTextField/index.js";
|
|
7
|
+
const I = {
|
|
8
8
|
key: 0,
|
|
9
9
|
class: "q-dialog__header"
|
|
10
|
-
},
|
|
10
|
+
}, P = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "q-dialog__header-title"
|
|
13
|
-
},
|
|
13
|
+
}, H = {
|
|
14
14
|
key: 1,
|
|
15
15
|
class: "q-dialog__body"
|
|
16
|
-
},
|
|
16
|
+
}, x = {
|
|
17
17
|
key: 0,
|
|
18
18
|
class: "q-dialog__body-icon"
|
|
19
|
-
},
|
|
19
|
+
}, R = { class: "q-dialog__body-text" }, j = ["innerHTML"], G = { key: 1 }, J = {
|
|
20
20
|
key: 0,
|
|
21
21
|
class: "q-dialog__input"
|
|
22
|
-
},
|
|
22
|
+
}, K = {
|
|
23
23
|
key: 2,
|
|
24
24
|
class: "q-dialog__footer"
|
|
25
|
-
},
|
|
25
|
+
}, X = {
|
|
26
26
|
key: 0,
|
|
27
27
|
class: "q-dialog__footer-buttons"
|
|
28
|
-
},
|
|
28
|
+
}, ae = /* @__PURE__ */ A({
|
|
29
29
|
__name: "QDialog",
|
|
30
|
-
props:
|
|
30
|
+
props: {
|
|
31
31
|
id: {},
|
|
32
32
|
class: {},
|
|
33
|
+
modelValue: { type: Boolean },
|
|
33
34
|
title: {},
|
|
34
35
|
text: {},
|
|
35
|
-
icon: { default: () =>
|
|
36
|
-
buttons: { default: () =>
|
|
36
|
+
icon: { default: () => M },
|
|
37
|
+
buttons: { default: () => Q },
|
|
37
38
|
backdropBlur: { type: Boolean, default: !0 },
|
|
38
39
|
size: { default: "small" },
|
|
39
40
|
centerVertically: { type: Boolean },
|
|
@@ -47,36 +48,29 @@ const R = {
|
|
|
47
48
|
dismissible: { type: Boolean },
|
|
48
49
|
html: { type: Boolean, default: !0 },
|
|
49
50
|
input: {},
|
|
50
|
-
icons: { default: () =>
|
|
51
|
-
},
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
const e = _, h = D, v = U(_, "modelValue"), u = B(""), d = B(""), O = V(() => ["q-dialog", e.class]), L = V(() => `q-overlay--${e.size}`);
|
|
58
|
-
function k() {
|
|
59
|
-
v.value = !1;
|
|
51
|
+
icons: { default: () => E }
|
|
52
|
+
},
|
|
53
|
+
emits: ["update:modelValue"],
|
|
54
|
+
setup(C, { emit: F }) {
|
|
55
|
+
const e = C, T = F, u = h(""), r = h(""), D = k(() => ["q-dialog", e.class]), O = k(() => `q-overlay--${e.size}`);
|
|
56
|
+
function _() {
|
|
57
|
+
y(!1);
|
|
60
58
|
}
|
|
61
59
|
function N(o) {
|
|
62
|
-
var
|
|
60
|
+
var d, l;
|
|
63
61
|
if (o.action) {
|
|
64
|
-
if ((
|
|
62
|
+
if ((d = e.input) != null && d.validator && (r.value = e.input.validator(a(u)), a(r)))
|
|
65
63
|
return;
|
|
66
64
|
(l = o.action) == null || l.call(o, a(u));
|
|
67
65
|
}
|
|
68
|
-
|
|
69
|
-
}
|
|
70
|
-
function z() {
|
|
71
|
-
h("enter");
|
|
66
|
+
_();
|
|
72
67
|
}
|
|
73
|
-
function
|
|
74
|
-
|
|
68
|
+
function y(o) {
|
|
69
|
+
T("update:modelValue", o);
|
|
75
70
|
}
|
|
76
|
-
return (o,
|
|
71
|
+
return (o, d) => (t(), c(a(S), {
|
|
77
72
|
id: e.id,
|
|
78
|
-
|
|
79
|
-
"onUpdate:modelValue": n[1] || (n[1] = (l) => v.value = l),
|
|
73
|
+
"model-value": e.modelValue,
|
|
80
74
|
"backdrop-class": "q-dialog__underlay",
|
|
81
75
|
"scroll-lock": "",
|
|
82
76
|
persistent: "",
|
|
@@ -89,72 +83,71 @@ const R = {
|
|
|
89
83
|
"focus-within-on-activate": e.focusWithinOnActivate,
|
|
90
84
|
"closing-focus": e.closingFocus,
|
|
91
85
|
"return-focus-on-deactivate": e.returnFocusOnDeactivate,
|
|
92
|
-
class:
|
|
93
|
-
|
|
94
|
-
onLeave: A
|
|
86
|
+
class: g(O.value),
|
|
87
|
+
"onUpdate:modelValue": y
|
|
95
88
|
}, {
|
|
96
89
|
default: p(() => [
|
|
97
|
-
|
|
90
|
+
B(
|
|
98
91
|
"div",
|
|
99
92
|
{
|
|
100
|
-
class:
|
|
93
|
+
class: g(D.value)
|
|
101
94
|
},
|
|
102
95
|
[
|
|
103
|
-
e.title || o.$slots.header || o.$slots["header.prepend"] || o.$slots["header.append"] ? (t(), i("div",
|
|
104
|
-
|
|
105
|
-
|
|
96
|
+
e.title || o.$slots.header || o.$slots["header.prepend"] || o.$slots["header.append"] ? (t(), i("div", I, [
|
|
97
|
+
n(o.$slots, "header", {}, () => [
|
|
98
|
+
n(o.$slots, "header.prepend"),
|
|
106
99
|
e.title ? (t(), i(
|
|
107
100
|
"span",
|
|
108
|
-
|
|
109
|
-
|
|
101
|
+
P,
|
|
102
|
+
v(e.title),
|
|
110
103
|
1
|
|
111
104
|
/* TEXT */
|
|
112
105
|
)) : s("v-if", !0),
|
|
113
|
-
|
|
106
|
+
n(o.$slots, "header.append")
|
|
114
107
|
])
|
|
115
108
|
])) : s("v-if", !0),
|
|
116
|
-
e.icon || e.text || o.$slots.body ? (t(), i("div",
|
|
117
|
-
|
|
109
|
+
e.icon || e.text || o.$slots.body ? (t(), i("div", H, [
|
|
110
|
+
n(o.$slots, "body", {}, () => {
|
|
118
111
|
var l;
|
|
119
112
|
return [
|
|
120
|
-
|
|
121
|
-
e.icon ? (t(), i("span",
|
|
122
|
-
|
|
113
|
+
n(o.$slots, "body.icon", {}, () => [
|
|
114
|
+
e.icon ? (t(), i("span", x, [
|
|
115
|
+
m(
|
|
123
116
|
a(f),
|
|
124
|
-
|
|
117
|
+
V(b(e.icon)),
|
|
125
118
|
null,
|
|
126
119
|
16
|
|
127
120
|
/* FULL_PROPS */
|
|
128
121
|
)
|
|
129
122
|
])) : s("v-if", !0)
|
|
130
123
|
]),
|
|
131
|
-
|
|
124
|
+
B("div", R, [
|
|
132
125
|
e.html ? (t(), i("div", {
|
|
133
126
|
key: 0,
|
|
134
127
|
innerHTML: e.text
|
|
135
|
-
}, null, 8,
|
|
128
|
+
}, null, 8, j)) : (t(), i(
|
|
136
129
|
"div",
|
|
137
|
-
|
|
138
|
-
|
|
130
|
+
G,
|
|
131
|
+
v(e.text),
|
|
139
132
|
1
|
|
140
133
|
/* TEXT */
|
|
141
134
|
))
|
|
142
135
|
]),
|
|
143
|
-
e.input ? (t(), i("div",
|
|
144
|
-
|
|
136
|
+
e.input ? (t(), i("div", J, [
|
|
137
|
+
m(a(W), {
|
|
145
138
|
modelValue: u.value,
|
|
146
|
-
"onUpdate:modelValue":
|
|
147
|
-
invalid: !!
|
|
139
|
+
"onUpdate:modelValue": d[0] || (d[0] = (z) => u.value = z),
|
|
140
|
+
invalid: !!r.value,
|
|
148
141
|
placeholder: (l = e.input) == null ? void 0 : l.placeholder,
|
|
149
142
|
size: "block"
|
|
150
143
|
}, {
|
|
151
144
|
extras: p(() => [
|
|
152
|
-
|
|
145
|
+
r.value ? (t(), c(a(f), {
|
|
153
146
|
key: 0,
|
|
154
147
|
icon: "exclamation-sign"
|
|
155
148
|
})) : s("v-if", !0),
|
|
156
|
-
|
|
157
|
-
" " +
|
|
149
|
+
L(
|
|
150
|
+
" " + v(r.value),
|
|
158
151
|
1
|
|
159
152
|
/* TEXT */
|
|
160
153
|
)
|
|
@@ -163,23 +156,23 @@ const R = {
|
|
|
163
156
|
/* STABLE */
|
|
164
157
|
}, 8, ["modelValue", "invalid", "placeholder"])
|
|
165
158
|
])) : s("v-if", !0),
|
|
166
|
-
|
|
159
|
+
n(o.$slots, "body.append")
|
|
167
160
|
];
|
|
168
161
|
})
|
|
169
162
|
])) : s("v-if", !0),
|
|
170
|
-
e.buttons || o.$slots["footer.append"] ? (t(), i("div",
|
|
171
|
-
e.buttons ? (t(), i("span",
|
|
163
|
+
e.buttons || o.$slots["footer.append"] ? (t(), i("div", K, [
|
|
164
|
+
e.buttons ? (t(), i("span", X, [
|
|
172
165
|
(t(!0), i(
|
|
173
|
-
|
|
166
|
+
U,
|
|
174
167
|
null,
|
|
175
|
-
|
|
168
|
+
w(e.buttons, (l) => (t(), c(a(q), $({ ref_for: !0 }, l.props, {
|
|
176
169
|
key: l.id,
|
|
177
170
|
onClick: () => N(l)
|
|
178
171
|
}), {
|
|
179
172
|
default: p(() => [
|
|
180
173
|
l.icon ? (t(), c(
|
|
181
174
|
a(f),
|
|
182
|
-
|
|
175
|
+
$({
|
|
183
176
|
key: 0,
|
|
184
177
|
ref_for: !0
|
|
185
178
|
}, l.icon),
|
|
@@ -195,18 +188,18 @@ const R = {
|
|
|
195
188
|
/* KEYED_FRAGMENT */
|
|
196
189
|
))
|
|
197
190
|
])) : s("v-if", !0),
|
|
198
|
-
|
|
191
|
+
n(o.$slots, "footer.append")
|
|
199
192
|
])) : s("v-if", !0),
|
|
200
|
-
e.dismissible ? (t(), c(a(
|
|
193
|
+
e.dismissible ? (t(), c(a(q), {
|
|
201
194
|
key: 3,
|
|
202
195
|
class: "q-dialog__close",
|
|
203
196
|
variant: "text",
|
|
204
|
-
onClick:
|
|
197
|
+
onClick: _
|
|
205
198
|
}, {
|
|
206
199
|
default: p(() => [
|
|
207
|
-
|
|
200
|
+
m(
|
|
208
201
|
a(f),
|
|
209
|
-
|
|
202
|
+
V(b(e.icons.close)),
|
|
210
203
|
null,
|
|
211
204
|
16
|
|
212
205
|
/* FULL_PROPS */
|
|
@@ -222,9 +215,9 @@ const R = {
|
|
|
222
215
|
]),
|
|
223
216
|
_: 3
|
|
224
217
|
/* FORWARDED */
|
|
225
|
-
}, 8, ["id", "
|
|
218
|
+
}, 8, ["id", "model-value", "inline", "attach", "backdrop-blur", "center-vertically", "focus-wrap", "initial-focus", "focus-within-on-activate", "closing-focus", "return-focus-on-deactivate", "class"]));
|
|
226
219
|
}
|
|
227
220
|
});
|
|
228
221
|
export {
|
|
229
|
-
|
|
222
|
+
ae as default
|
|
230
223
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QDialogProvider.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/QDialogProvider.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QDialogProvider.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/QDialogProvider.vue"],"names":[],"mappings":"AASA;AAgDC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;;;;;;AAmFpD,wBAOG"}
|
|
@@ -1,29 +1,28 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { QDialog as
|
|
3
|
-
import { useDialog as
|
|
4
|
-
const x = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as f, createElementBlock as d, openBlock as r, Fragment as _, renderList as g, unref as t, createBlock as k, mergeProps as v } from "vue";
|
|
2
|
+
import { QDialog as B } from "./index.js";
|
|
3
|
+
import { useDialog as D } from "../../composables/useDialog/index.js";
|
|
4
|
+
const x = /* @__PURE__ */ f({
|
|
5
5
|
inheritAttrs: !1,
|
|
6
6
|
__name: "QDialogProvider",
|
|
7
7
|
props: {
|
|
8
8
|
inline: { type: Boolean }
|
|
9
9
|
},
|
|
10
10
|
emits: ["leave"],
|
|
11
|
-
setup(
|
|
12
|
-
const
|
|
13
|
-
function
|
|
14
|
-
s(e),
|
|
11
|
+
setup(i, { emit: l }) {
|
|
12
|
+
const a = i, m = l, { dialogs: p, removeDialog: s } = D();
|
|
13
|
+
function u(e, n) {
|
|
14
|
+
n || (s(e), m("leave", e));
|
|
15
15
|
}
|
|
16
|
-
return (e,
|
|
17
|
-
|
|
16
|
+
return (e, n) => (r(!0), d(
|
|
17
|
+
_,
|
|
18
18
|
null,
|
|
19
|
-
|
|
20
|
-
key:
|
|
19
|
+
g(t(p), (o) => (r(), k(t(B), v({
|
|
20
|
+
key: o.id,
|
|
21
21
|
ref_for: !0
|
|
22
|
-
},
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}), null, 16, ["inline", "onLeave"]))),
|
|
22
|
+
}, o.props, {
|
|
23
|
+
inline: a.inline,
|
|
24
|
+
"onUpdate:modelValue": (c) => u(o.id, c)
|
|
25
|
+
}), null, 16, ["inline", "onUpdate:modelValue"]))),
|
|
27
26
|
128
|
|
28
27
|
/* KEYED_FRAGMENT */
|
|
29
28
|
));
|