@quidgest/ui 0.14.14 → 0.14.16
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/ui.css +86 -45
- package/dist/ui.esm.js +3310 -3202
- package/dist/ui.js +16 -16
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +661 -652
- package/dist/ui.scss +97 -55
- package/esm/components/QAccordion/QAccordion.d.ts.map +1 -1
- package/esm/components/QAccordion/QAccordion.vue.js +26 -13
- package/esm/components/QAccordion/index.d.ts +15 -3
- package/esm/components/QAccordion/index.d.ts.map +1 -1
- package/esm/components/QAccordion/types.d.ts +13 -3
- package/esm/components/QAccordion/types.d.ts.map +1 -1
- package/esm/components/QBadge/QBadge.d.ts +2 -1
- package/esm/components/QBadge/QBadge.d.ts.map +1 -1
- package/esm/components/QBadge/QBadge.vue.js +35 -29
- package/esm/components/QBadge/index.d.ts +6 -3
- package/esm/components/QBadge/index.d.ts.map +1 -1
- package/esm/components/QBadge/types.d.ts +13 -5
- package/esm/components/QBadge/types.d.ts.map +1 -1
- package/esm/components/QBadgeIndicator/QBadgeIndicator.d.ts +1 -1
- package/esm/components/QBadgeIndicator/QBadgeIndicator.d.ts.map +1 -1
- package/esm/components/QBadgeIndicator/QBadgeIndicator.vue.js +19 -14
- package/esm/components/QBadgeIndicator/index.d.ts +3 -3
- package/esm/components/QBadgeIndicator/types.d.ts +6 -4
- package/esm/components/QBadgeIndicator/types.d.ts.map +1 -1
- package/esm/components/QButton/QButton.d.ts +2 -2
- package/esm/components/QButton/QButton.d.ts.map +1 -1
- package/esm/components/QButton/QButton.vue.js +17 -15
- package/esm/components/QButton/index.d.ts +6 -6
- package/esm/components/QButton/types.d.ts +6 -7
- package/esm/components/QButton/types.d.ts.map +1 -1
- package/esm/components/QButtonGroup/QButtonGroup.d.ts.map +1 -1
- package/esm/components/QButtonGroup/QButtonGroup.vue.js +19 -24
- package/esm/components/QButtonGroup/types.d.ts +2 -5
- package/esm/components/QButtonGroup/types.d.ts.map +1 -1
- package/esm/components/QButtonToggle/QButtonToggle.d.ts.map +1 -1
- package/esm/components/QButtonToggle/QButtonToggle.vue.js +24 -22
- package/esm/components/QButtonToggle/index.d.ts +21 -3
- package/esm/components/QButtonToggle/index.d.ts.map +1 -1
- package/esm/components/QButtonToggle/types.d.ts +4 -7
- package/esm/components/QButtonToggle/types.d.ts.map +1 -1
- package/esm/components/QCard/QCard.d.ts +2 -2
- package/esm/components/QCard/QCard.d.ts.map +1 -1
- package/esm/components/QCard/QCard.vue.js +48 -46
- package/esm/components/QCard/index.d.ts +6 -6
- package/esm/components/QCard/types.d.ts +6 -7
- package/esm/components/QCard/types.d.ts.map +1 -1
- package/esm/components/QCheckbox/QCheckbox.d.ts +2 -2
- package/esm/components/QCheckbox/QCheckbox.d.ts.map +1 -1
- package/esm/components/QCheckbox/QCheckbox.vue.js +73 -78
- package/esm/components/QCheckbox/QCheckboxLabel.vue.js +9 -7
- package/esm/components/QCheckbox/index.d.ts +21 -21
- package/esm/components/QCheckbox/types.d.ts +10 -15
- package/esm/components/QCheckbox/types.d.ts.map +1 -1
- package/esm/components/QCollapsible/QCollapsible.d.ts +2 -2
- package/esm/components/QCollapsible/QCollapsible.d.ts.map +1 -1
- package/esm/components/QCollapsible/QCollapsible.vue.js +12 -9
- package/esm/components/QCollapsible/index.d.ts +33 -6
- package/esm/components/QCollapsible/index.d.ts.map +1 -1
- package/esm/components/QCollapsible/types.d.ts +15 -15
- package/esm/components/QCollapsible/types.d.ts.map +1 -1
- package/esm/components/QColorPicker/QColorPicker.d.ts.map +1 -1
- package/esm/components/QColorPicker/QColorPicker.vue.js +19 -19
- package/esm/components/QColorPicker/index.d.ts +27 -3
- package/esm/components/QColorPicker/index.d.ts.map +1 -1
- package/esm/components/QColorPicker/types.d.ts +2 -9
- package/esm/components/QColorPicker/types.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.d.ts +209 -75
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.vue.js +64 -68
- package/esm/components/QCombobox/index.d.ts +331 -89
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QCombobox/types.d.ts +14 -51
- package/esm/components/QCombobox/types.d.ts.map +1 -1
- package/esm/components/QCombobox/types.js +3 -3
- package/esm/components/QDateTimePicker/QDateTimePicker.vue.js +5 -3
- package/esm/components/QDateTimePicker/index.d.ts +51 -3
- package/esm/components/QDateTimePicker/index.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/types.d.ts +2 -31
- package/esm/components/QDateTimePicker/types.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.d.ts +1 -1
- package/esm/components/QDialog/QDialog.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.vue.js +36 -37
- package/esm/components/QDialog/index.d.ts +39 -6
- package/esm/components/QDialog/index.d.ts.map +1 -1
- package/esm/components/QDialog/types.d.ts +14 -21
- package/esm/components/QDialog/types.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenu.d.ts +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenu.vue.js +4 -3
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +60 -26
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +68 -63
- package/esm/components/QDropdownMenu/index.d.ts +27 -3
- package/esm/components/QDropdownMenu/index.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/types.d.ts +3 -6
- package/esm/components/QDropdownMenu/types.d.ts.map +1 -1
- package/esm/components/QField/QField.d.ts.map +1 -1
- package/esm/components/QField/QField.vue.js +34 -35
- package/esm/components/QField/types.d.ts +2 -9
- package/esm/components/QField/types.d.ts.map +1 -1
- package/esm/components/QFileUpload/QFileUpload.d.ts +1 -1
- package/esm/components/QFileUpload/QFileUpload.vue.js +9 -9
- package/esm/components/QFileUpload/index.d.ts +39 -6
- package/esm/components/QFileUpload/index.d.ts.map +1 -1
- package/esm/components/QFileUpload/types.d.ts +3 -30
- package/esm/components/QFileUpload/types.d.ts.map +1 -1
- package/esm/components/QIcon/InlineSvg.d.ts.map +1 -1
- package/esm/components/QIcon/InlineSvg.js +16 -16
- package/esm/components/QIcon/QIcon.d.ts +2 -2
- package/esm/components/QIcon/QIcon.d.ts.map +1 -1
- package/esm/components/QIcon/QIcon.vue.js +7 -5
- package/esm/components/QIcon/QIconFont.d.ts.map +1 -1
- package/esm/components/QIcon/QIconFont.vue.js +12 -16
- package/esm/components/QIcon/QIconImg.d.ts +2 -2
- package/esm/components/QIcon/QIconImg.d.ts.map +1 -1
- package/esm/components/QIcon/QIconImg.vue.js +8 -6
- package/esm/components/QIcon/QIconSvg.d.ts.map +1 -1
- package/esm/components/QIcon/QIconSvg.vue.js +12 -10
- package/esm/components/QIcon/index.d.ts +4 -4
- package/esm/components/QIcon/index.d.ts.map +1 -1
- package/esm/components/QIcon/types.d.ts +6 -8
- package/esm/components/QIcon/types.d.ts.map +1 -1
- package/esm/components/QInputGroup/QInputGroup.vue.js +21 -18
- package/esm/components/QInputGroup/types.d.ts +2 -23
- package/esm/components/QInputGroup/types.d.ts.map +1 -1
- package/esm/components/QLineLoader/QLineLoader.d.ts +1 -2
- package/esm/components/QLineLoader/QLineLoader.d.ts.map +1 -1
- package/esm/components/QLineLoader/QLineLoader.vue.js +10 -14
- package/esm/components/QLineLoader/index.d.ts +1 -1
- package/esm/components/QLineLoader/index.d.ts.map +1 -1
- package/esm/components/QLineLoader/types.d.ts +2 -6
- package/esm/components/QLineLoader/types.d.ts.map +1 -1
- package/esm/components/QList/QList.d.ts +3 -3
- package/esm/components/QList/QList.d.ts.map +1 -1
- package/esm/components/QList/QList.vue.js +30 -26
- package/esm/components/QList/index.d.ts +35 -11
- package/esm/components/QList/index.d.ts.map +1 -1
- package/esm/components/QList/types.d.ts +3 -6
- package/esm/components/QList/types.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.d.ts +1 -1
- package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.vue.js +51 -55
- package/esm/components/QOverlay/index.d.ts +63 -6
- package/esm/components/QOverlay/index.d.ts.map +1 -1
- package/esm/components/QOverlay/types.d.ts +2 -5
- package/esm/components/QOverlay/types.d.ts.map +1 -1
- package/esm/components/QPopover/QPopover.d.ts +1 -1
- package/esm/components/QPopover/QPopover.d.ts.map +1 -1
- package/esm/components/QPopover/QPopover.vue.js +23 -20
- package/esm/components/QPopover/index.d.ts +36 -6
- package/esm/components/QPopover/index.d.ts.map +1 -1
- package/esm/components/QPopover/types.d.ts +2 -1
- package/esm/components/QPopover/types.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyList.d.ts +2 -2
- package/esm/components/QPropertyList/QPropertyList.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyList.vue.js +126 -115
- package/esm/components/QPropertyList/QPropertyListGroup.d.ts +2 -2
- package/esm/components/QPropertyList/QPropertyListGroup.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyListGroup.vue.js +19 -17
- package/esm/components/QPropertyList/QPropertyListPanel.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyListPanel.vue.js +19 -14
- package/esm/components/QPropertyList/QPropertyListRow.d.ts +6 -3
- package/esm/components/QPropertyList/QPropertyListRow.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyListRow.vue.js +33 -23
- package/esm/components/QPropertyList/index.d.ts +8 -7
- package/esm/components/QPropertyList/index.d.ts.map +1 -1
- package/esm/components/QPropertyList/types.d.ts +35 -21
- package/esm/components/QPropertyList/types.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.d.ts +63 -29
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +49 -48
- package/esm/components/QSelect/index.d.ts +104 -24
- package/esm/components/QSelect/index.d.ts.map +1 -1
- package/esm/components/QSelect/types.d.ts +10 -39
- package/esm/components/QSelect/types.d.ts.map +1 -1
- package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts.map +1 -1
- package/esm/components/QSkeletonLoader/QSkeletonLoader.vue.js +20 -23
- package/esm/components/QSkeletonLoader/types.d.ts +2 -1
- package/esm/components/QSkeletonLoader/types.d.ts.map +1 -1
- package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts.map +1 -1
- package/esm/components/QSpinnerLoader/QSpinnerLoader.vue.js +13 -17
- package/esm/components/QSpinnerLoader/types.d.ts +2 -5
- package/esm/components/QSpinnerLoader/types.d.ts.map +1 -1
- package/esm/components/QTextField/QTextField.d.ts +2 -2
- package/esm/components/QTextField/QTextField.d.ts.map +1 -1
- package/esm/components/QTextField/QTextField.vue.js +27 -30
- package/esm/components/QTextField/index.d.ts +40 -4
- package/esm/components/QTextField/index.d.ts.map +1 -1
- package/esm/components/QTextField/types.d.ts +2 -40
- package/esm/components/QTextField/types.d.ts.map +1 -1
- package/esm/components/QThemeProvider/QThemeProvider.d.ts.map +1 -1
- package/esm/components/QThemeProvider/QThemeProvider.vue.js +13 -16
- package/esm/components/QThemeProvider/types.d.ts +2 -1
- package/esm/components/QThemeProvider/types.d.ts.map +1 -1
- package/esm/components/QTooltip/QTooltip.d.ts +1 -1
- package/esm/components/QTooltip/QTooltip.vue.js +4 -4
- package/esm/components/QTooltip/index.d.ts +45 -6
- package/esm/components/QTooltip/index.d.ts.map +1 -1
- package/esm/components/QTooltip/types.d.ts +2 -9
- package/esm/components/QTooltip/types.d.ts.map +1 -1
- package/esm/components/__internal__/QChevron/QChevron.d.ts.map +1 -1
- package/esm/components/__internal__/QChevron/QChevron.vue.js +19 -11
- package/esm/components/__internal__/QChevron/index.d.ts +6 -2
- package/esm/components/__internal__/QChevron/index.d.ts.map +1 -1
- package/esm/components/__internal__/QChevron/types.d.ts +2 -5
- package/esm/components/__internal__/QChevron/types.d.ts.map +1 -1
- package/esm/components/__internal__/QClearButton/QClearButton.d.ts.map +1 -1
- package/esm/components/__internal__/QClearButton/QClearButton.vue.js +23 -18
- package/esm/components/__internal__/QClearButton/types.d.ts +2 -5
- package/esm/components/__internal__/QClearButton/types.d.ts.map +1 -1
- package/esm/composables/group.d.ts +88 -8
- package/esm/composables/group.d.ts.map +1 -1
- package/esm/composables/group.js +19 -22
- package/esm/composables/uid.d.ts +3 -2
- package/esm/composables/uid.d.ts.map +1 -1
- package/esm/composables/uid.js +5 -4
- package/esm/types/component.d.ts +18 -0
- package/esm/types/component.d.ts.map +1 -0
- package/package.json +11 -11
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,52 +1,11 @@
|
|
|
1
|
-
import { QFieldSize } from '../QField';
|
|
2
1
|
import { QListItemGroupProps, QListItemProps } from '../QList';
|
|
3
2
|
import { Primitive } from '../../types/primitive';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
* The field unique identifier.
|
|
7
|
-
*/
|
|
8
|
-
id?: string;
|
|
9
|
-
/**
|
|
10
|
-
* The placeholder text for the combobox.
|
|
11
|
-
*/
|
|
12
|
-
placeholder?: string;
|
|
13
|
-
/**
|
|
14
|
-
* The nature of the autocomplete and selection mechanism.
|
|
15
|
-
*/
|
|
16
|
-
selectionMode?: 'manual' | 'automatic';
|
|
17
|
-
/**
|
|
18
|
-
* The mode of the combobox filter.
|
|
19
|
-
*/
|
|
20
|
-
filterMode?: 'builtin' | 'manual';
|
|
21
|
-
/**
|
|
22
|
-
* The label of the input.
|
|
23
|
-
*/
|
|
24
|
-
label?: string;
|
|
25
|
-
/**
|
|
26
|
-
* Whether the value of the component can be cleared.
|
|
27
|
-
*/
|
|
28
|
-
clearable?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Whether the field is readonly.
|
|
31
|
-
*/
|
|
32
|
-
readonly?: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* Whether the field is disabled.
|
|
35
|
-
*/
|
|
36
|
-
disabled?: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* If set to true, an asterisk (*) is displayed
|
|
39
|
-
* to indicate that the field is required.
|
|
40
|
-
*/
|
|
41
|
-
required?: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* Whether the items of the list are being loaded.
|
|
44
|
-
*/
|
|
45
|
-
loading?: boolean;
|
|
3
|
+
import { QTextFieldProps } from '../QTextField/types';
|
|
4
|
+
export type QComboboxProps = Omit<QTextFieldProps, 'type'> & {
|
|
46
5
|
/**
|
|
47
6
|
* The list of available items for selection.
|
|
48
7
|
*/
|
|
49
|
-
items
|
|
8
|
+
items?: (Omit<QListItemProps, 'value' | 'label'> & {
|
|
50
9
|
[key: string]: any;
|
|
51
10
|
})[];
|
|
52
11
|
/**
|
|
@@ -64,18 +23,22 @@ export type QComboboxProps = {
|
|
|
64
23
|
*/
|
|
65
24
|
itemLabel?: string;
|
|
66
25
|
/**
|
|
67
|
-
* The
|
|
68
|
-
* used to check if the field has a selected item.
|
|
26
|
+
* The nature of the autocomplete and selection mechanism.
|
|
69
27
|
*/
|
|
70
|
-
|
|
28
|
+
selectionMode?: 'manual' | 'automatic';
|
|
29
|
+
/**
|
|
30
|
+
* The mode of the combobox filter.
|
|
31
|
+
*/
|
|
32
|
+
filterMode?: 'builtin' | 'manual';
|
|
71
33
|
/**
|
|
72
|
-
*
|
|
34
|
+
* Whether the items of the list are being loaded.
|
|
73
35
|
*/
|
|
74
|
-
|
|
36
|
+
loading?: boolean;
|
|
75
37
|
/**
|
|
76
|
-
*
|
|
38
|
+
* The value to be used in comparisons,
|
|
39
|
+
* used to check if the field has a selected item.
|
|
77
40
|
*/
|
|
78
|
-
|
|
41
|
+
emptyValue?: Primitive;
|
|
79
42
|
/**
|
|
80
43
|
* Custom icon configurations.
|
|
81
44
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/types.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAC7E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAE1D,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,eAAe,EAAE,MAAM,CAAC,GAAG;IAC5D;;OAEG;IACH,KAAK,CAAC,EAAE,CAAC,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,OAAO,CAAC,GAAG;QAGlD,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAClB,CAAC,EAAE,CAAA;IAEJ;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,mBAAmB,GAAG;QAC/B,EAAE,EAAE,MAAM,CAAA;KACV,CAAC,EAAE,CAAA;IAEJ;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,aAAa,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAA;IAEtC;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAA;IAEjC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;OAGG;IACH,UAAU,CAAC,EAAE,SAAS,CAAA;IAEtB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;IAE5B;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAGD,eAAO,MAAM,aAAa;;;;CAIQ,CAAA;AAGlC,eAAO,MAAM,aAAa;;;;;;;CAGM,CAAA"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { DEFAULT_ICONS as o } from "../__internal__/QChevron/types.js";
|
|
2
|
-
import {
|
|
2
|
+
import { DEFAULT_ICONS as T, DEFAULT_TEXTS as E } from "../__internal__/QClearButton/types.js";
|
|
3
3
|
const D = {
|
|
4
|
-
...
|
|
4
|
+
...E,
|
|
5
5
|
noData: "No data available",
|
|
6
6
|
showOptions: "Show options"
|
|
7
7
|
}, S = {
|
|
8
8
|
...o,
|
|
9
|
-
...
|
|
9
|
+
...T
|
|
10
10
|
};
|
|
11
11
|
export {
|
|
12
12
|
S as DEFAULT_ICONS,
|
|
@@ -14,7 +14,9 @@ const ee = ["value", "placeholder", "disabled", "readonly", "required", "onInput
|
|
|
14
14
|
__name: "QDateTimePicker",
|
|
15
15
|
props: /* @__PURE__ */ U({
|
|
16
16
|
id: {},
|
|
17
|
+
class: {},
|
|
17
18
|
label: {},
|
|
19
|
+
for: {},
|
|
18
20
|
size: {},
|
|
19
21
|
readonly: { type: Boolean },
|
|
20
22
|
disabled: { type: Boolean },
|
|
@@ -25,7 +27,6 @@ const ee = ["value", "placeholder", "disabled", "readonly", "required", "onInput
|
|
|
25
27
|
locale: { default: "en-US" },
|
|
26
28
|
placeholder: {},
|
|
27
29
|
inline: { type: Boolean },
|
|
28
|
-
class: {},
|
|
29
30
|
icons: { default: () => I },
|
|
30
31
|
texts: { default: () => H }
|
|
31
32
|
}, {
|
|
@@ -131,14 +132,15 @@ const ee = ["value", "placeholder", "disabled", "readonly", "required", "onInput
|
|
|
131
132
|
placeholder: e.placeholder,
|
|
132
133
|
disabled: e.disabled,
|
|
133
134
|
readonly: e.readonly,
|
|
134
|
-
required: e.required
|
|
135
|
+
required: e.required
|
|
136
|
+
}, o.$attrs, {
|
|
135
137
|
onInput: B,
|
|
136
138
|
onBlur: V,
|
|
137
139
|
onFocus: C,
|
|
138
140
|
onKeypress: f,
|
|
139
141
|
onKeydown: f,
|
|
140
142
|
onPaste: S
|
|
141
|
-
}
|
|
143
|
+
}), null, 16, ee)
|
|
142
144
|
]),
|
|
143
145
|
"clear-icon": n(({ clear: l }) => [
|
|
144
146
|
s(r(Z), {
|
|
@@ -2,7 +2,23 @@ import { QDateTimePickerProps } from './types';
|
|
|
2
2
|
declare const QDateTimePicker: {
|
|
3
3
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4
4
|
modelValue?: Date | string;
|
|
5
|
-
} &
|
|
5
|
+
} & import('../../types/component').QBaseComponentProps & {
|
|
6
|
+
label?: string;
|
|
7
|
+
for?: string;
|
|
8
|
+
size?: import('..').QFieldSize;
|
|
9
|
+
readonly?: boolean;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
} & {
|
|
13
|
+
format?: string;
|
|
14
|
+
minTime?: string;
|
|
15
|
+
maxTime?: string;
|
|
16
|
+
locale?: string;
|
|
17
|
+
placeholder?: string;
|
|
18
|
+
inline?: boolean;
|
|
19
|
+
icons?: typeof import('./types').DEFAULT_ICONS;
|
|
20
|
+
texts?: typeof import('./types').DEFAULT_TEXTS;
|
|
21
|
+
}> & Readonly<{
|
|
6
22
|
"onUpdate:modelValue"?: ((value: string | Date) => any) | undefined;
|
|
7
23
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
24
|
"update:modelValue": (value: string | Date) => any;
|
|
@@ -22,7 +38,23 @@ declare const QDateTimePicker: {
|
|
|
22
38
|
Defaults: {};
|
|
23
39
|
}, Readonly<{
|
|
24
40
|
modelValue?: Date | string;
|
|
25
|
-
} &
|
|
41
|
+
} & import('../../types/component').QBaseComponentProps & {
|
|
42
|
+
label?: string;
|
|
43
|
+
for?: string;
|
|
44
|
+
size?: import('..').QFieldSize;
|
|
45
|
+
readonly?: boolean;
|
|
46
|
+
disabled?: boolean;
|
|
47
|
+
required?: boolean;
|
|
48
|
+
} & {
|
|
49
|
+
format?: string;
|
|
50
|
+
minTime?: string;
|
|
51
|
+
maxTime?: string;
|
|
52
|
+
locale?: string;
|
|
53
|
+
placeholder?: string;
|
|
54
|
+
inline?: boolean;
|
|
55
|
+
icons?: typeof import('./types').DEFAULT_ICONS;
|
|
56
|
+
texts?: typeof import('./types').DEFAULT_TEXTS;
|
|
57
|
+
}> & Readonly<{
|
|
26
58
|
"onUpdate:modelValue"?: ((value: string | Date) => any) | undefined;
|
|
27
59
|
}>, {}, {}, {}, {}, {
|
|
28
60
|
icons: typeof import('./types').DEFAULT_ICONS;
|
|
@@ -35,7 +67,23 @@ declare const QDateTimePicker: {
|
|
|
35
67
|
__isSuspense?: never;
|
|
36
68
|
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
37
69
|
modelValue?: Date | string;
|
|
38
|
-
} &
|
|
70
|
+
} & import('../../types/component').QBaseComponentProps & {
|
|
71
|
+
label?: string;
|
|
72
|
+
for?: string;
|
|
73
|
+
size?: import('..').QFieldSize;
|
|
74
|
+
readonly?: boolean;
|
|
75
|
+
disabled?: boolean;
|
|
76
|
+
required?: boolean;
|
|
77
|
+
} & {
|
|
78
|
+
format?: string;
|
|
79
|
+
minTime?: string;
|
|
80
|
+
maxTime?: string;
|
|
81
|
+
locale?: string;
|
|
82
|
+
placeholder?: string;
|
|
83
|
+
inline?: boolean;
|
|
84
|
+
icons?: typeof import('./types').DEFAULT_ICONS;
|
|
85
|
+
texts?: typeof import('./types').DEFAULT_TEXTS;
|
|
86
|
+
}> & Readonly<{
|
|
39
87
|
"onUpdate:modelValue"?: ((value: string | Date) => any) | undefined;
|
|
40
88
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
41
89
|
"update:modelValue": (value: string | Date) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QDateTimePicker/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAKnD,QAAA,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QDateTimePicker/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAKnD,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAoC,CAAA;AAGzD,OAAO,EAAE,eAAe,EAAE,CAAA;AAG1B,YAAY,EAAE,oBAAoB,EAAE,CAAA"}
|
|
@@ -1,30 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type QDateTimePickerProps = {
|
|
3
|
-
/**
|
|
4
|
-
* The field unique identifier.
|
|
5
|
-
*/
|
|
6
|
-
id?: string;
|
|
7
|
-
/**
|
|
8
|
-
* The label of the input.
|
|
9
|
-
*/
|
|
10
|
-
label?: string;
|
|
11
|
-
/**
|
|
12
|
-
* The size category of the field.
|
|
13
|
-
*/
|
|
14
|
-
size?: QFieldSize;
|
|
15
|
-
/**
|
|
16
|
-
* If set to true, the control is read-only.
|
|
17
|
-
*/
|
|
18
|
-
readonly?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* If set to true, the control is disabled.
|
|
21
|
-
*/
|
|
22
|
-
disabled?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* If set to true, an asterisk (*) is displayed
|
|
25
|
-
* to indicate that the field is required.
|
|
26
|
-
*/
|
|
27
|
-
required?: boolean;
|
|
1
|
+
import { QFieldProps } from '../QField';
|
|
2
|
+
export type QDateTimePickerProps = QFieldProps & {
|
|
28
3
|
/**
|
|
29
4
|
* The format prop determines the display format of the date and time in the picker.
|
|
30
5
|
* It defines how the selected date and time will be shown to the user.
|
|
@@ -66,10 +41,6 @@ export type QDateTimePickerProps = {
|
|
|
66
41
|
* Whether to disable teleport.
|
|
67
42
|
*/
|
|
68
43
|
inline?: boolean;
|
|
69
|
-
/**
|
|
70
|
-
* Custom set of classes to apply to the component.
|
|
71
|
-
*/
|
|
72
|
-
class?: string | unknown[];
|
|
73
44
|
/**
|
|
74
45
|
* Custom icon configurations.
|
|
75
46
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDateTimePicker/types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDateTimePicker/types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAGtD,MAAM,MAAM,oBAAoB,GAAG,WAAW,GAAG;IAChD;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;IAE5B;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAGD,eAAO,MAAM,aAAa;;;;;;;CAOM,CAAA;AAGhC,eAAO,MAAM,aAAa;;CAEQ,CAAA"}
|
|
@@ -19,8 +19,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
19
19
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
20
20
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
|
-
html: boolean;
|
|
23
22
|
icon: import('../QIcon').Icon;
|
|
23
|
+
html: boolean;
|
|
24
24
|
icons: typeof DEFAULT_ICONS;
|
|
25
25
|
attach: string;
|
|
26
26
|
backdropBlur: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/QDialog.vue"],"names":[],"mappings":"AAyDA;
|
|
1
|
+
{"version":3,"file":"QDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/QDialog.vue"],"names":[],"mappings":"AAyDA;AAkGC,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAGzD,OAAO,EAAiC,aAAa,EAAE,MAAM,SAAS,CAAA;AAEtE,KAAK,WAAW,GAAG,YAAY,CAAC;AAgCjC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAgKT,OAAO,IAA6B;;gCAZb,GAAG;6BACN,GAAG;+BACD,GAAG;;;;EAetC;AAgBD,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,44 +1,43 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as C, mergeModels as q, useModel as T, createBlock as s, openBlock as o, unref as t, withCtx as r, createElementVNode as i, normalizeClass as D, renderSlot as c, createCommentVNode as u, toDisplayString as y, createVNode as k, normalizeProps as h, guardReactiveProps as g, createElementBlock as n, Fragment as L, renderList as N, mergeProps as v } from "vue";
|
|
2
2
|
import { QButton as b } from "../QButton/index.js";
|
|
3
3
|
import { QIcon as _ } from "../QIcon/index.js";
|
|
4
|
-
import { QOverlay as
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
const Q = { class: "q-dialog__header" }, S = { class: "q-dialog__header-title" }, U = { class: "q-dialog__body" }, P = {
|
|
4
|
+
import { QOverlay as V } from "../QOverlay/index.js";
|
|
5
|
+
import { DEFAULT_ICONS as E, DEFAULT_BUTTONS as M, DEFAULT_ICON as x } from "./types.js";
|
|
6
|
+
const A = { class: "q-dialog__header" }, F = { class: "q-dialog__header-title" }, O = { class: "q-dialog__body" }, Q = {
|
|
8
7
|
key: 0,
|
|
9
8
|
class: "q-dialog__body-icon"
|
|
10
|
-
},
|
|
9
|
+
}, S = { class: "q-dialog__body-text" }, U = ["innerHTML"], I = { key: 1 }, P = { class: "q-dialog__body-actions" }, j = /* @__PURE__ */ C({
|
|
11
10
|
__name: "QDialog",
|
|
12
|
-
props: /* @__PURE__ */
|
|
11
|
+
props: /* @__PURE__ */ q({
|
|
12
|
+
id: {},
|
|
13
|
+
class: {},
|
|
14
|
+
title: {},
|
|
13
15
|
text: {},
|
|
16
|
+
icon: { default: () => x },
|
|
17
|
+
buttons: { default: () => M },
|
|
14
18
|
attach: { default: "body" },
|
|
15
19
|
inline: { type: Boolean },
|
|
16
20
|
backdropBlur: { type: Boolean, default: !0 },
|
|
17
|
-
buttons: { default: () => O },
|
|
18
21
|
dismissible: { type: Boolean },
|
|
19
22
|
html: { type: Boolean, default: !0 },
|
|
20
|
-
|
|
21
|
-
id: {},
|
|
22
|
-
title: {},
|
|
23
|
-
class: {},
|
|
24
|
-
icons: { default: () => F }
|
|
23
|
+
icons: { default: () => E }
|
|
25
24
|
}, {
|
|
26
25
|
modelValue: { type: Boolean },
|
|
27
26
|
modelModifiers: {}
|
|
28
27
|
}),
|
|
29
28
|
emits: ["update:modelValue"],
|
|
30
|
-
setup(
|
|
31
|
-
const e =
|
|
29
|
+
setup(p) {
|
|
30
|
+
const e = p, m = T(p, "modelValue");
|
|
32
31
|
function f() {
|
|
33
|
-
|
|
32
|
+
m.value = !1;
|
|
34
33
|
}
|
|
35
|
-
function
|
|
34
|
+
function B(l) {
|
|
36
35
|
var d;
|
|
37
36
|
(d = l.action) == null || d.call(l), f();
|
|
38
37
|
}
|
|
39
|
-
return (l, d) => (o(),
|
|
40
|
-
id:
|
|
41
|
-
"model-value":
|
|
38
|
+
return (l, d) => (o(), s(t(V), {
|
|
39
|
+
id: e.id,
|
|
40
|
+
"model-value": m.value,
|
|
42
41
|
inline: e.inline,
|
|
43
42
|
attach: e.attach,
|
|
44
43
|
"backdrop-blur": e.backdropBlur,
|
|
@@ -50,18 +49,18 @@ const Q = { class: "q-dialog__header" }, S = { class: "q-dialog__header-title" }
|
|
|
50
49
|
i(
|
|
51
50
|
"div",
|
|
52
51
|
{
|
|
53
|
-
class:
|
|
52
|
+
class: D(["q-dialog", e.class])
|
|
54
53
|
},
|
|
55
54
|
[
|
|
56
|
-
i("div",
|
|
55
|
+
i("div", A, [
|
|
57
56
|
i(
|
|
58
57
|
"span",
|
|
59
|
-
|
|
58
|
+
F,
|
|
60
59
|
y(e.title),
|
|
61
60
|
1
|
|
62
61
|
/* TEXT */
|
|
63
62
|
),
|
|
64
|
-
e.dismissible ? (o(),
|
|
63
|
+
e.dismissible ? (o(), s(t(b), {
|
|
65
64
|
key: 0,
|
|
66
65
|
"b-style": "tertiary",
|
|
67
66
|
onClick: f
|
|
@@ -80,9 +79,9 @@ const Q = { class: "q-dialog__header" }, S = { class: "q-dialog__header-title" }
|
|
|
80
79
|
})) : u("v-if", !0)
|
|
81
80
|
]),
|
|
82
81
|
c(l.$slots, "body.content", {}, () => [
|
|
83
|
-
i("div",
|
|
82
|
+
i("div", O, [
|
|
84
83
|
c(l.$slots, "body.icon", {}, () => [
|
|
85
|
-
e.icon ? (o(), n("span",
|
|
84
|
+
e.icon ? (o(), n("span", Q, [
|
|
86
85
|
k(
|
|
87
86
|
t(_),
|
|
88
87
|
h(g(e.icon)),
|
|
@@ -92,13 +91,13 @@ const Q = { class: "q-dialog__header" }, S = { class: "q-dialog__header-title" }
|
|
|
92
91
|
)
|
|
93
92
|
])) : u("v-if", !0)
|
|
94
93
|
]),
|
|
95
|
-
i("div",
|
|
94
|
+
i("div", S, [
|
|
96
95
|
e.html ? (o(), n("span", {
|
|
97
96
|
key: 0,
|
|
98
97
|
innerHTML: e.text
|
|
99
|
-
}, null, 8,
|
|
98
|
+
}, null, 8, U)) : (o(), n(
|
|
100
99
|
"span",
|
|
101
|
-
|
|
100
|
+
I,
|
|
102
101
|
y(e.text),
|
|
103
102
|
1
|
|
104
103
|
/* TEXT */
|
|
@@ -107,21 +106,21 @@ const Q = { class: "q-dialog__header" }, S = { class: "q-dialog__header-title" }
|
|
|
107
106
|
c(l.$slots, "body.append")
|
|
108
107
|
])
|
|
109
108
|
]),
|
|
110
|
-
i("div",
|
|
109
|
+
i("div", P, [
|
|
111
110
|
(o(!0), n(
|
|
112
|
-
|
|
111
|
+
L,
|
|
113
112
|
null,
|
|
114
|
-
|
|
115
|
-
key:
|
|
116
|
-
onClick: () =>
|
|
113
|
+
N(e.buttons, (a) => (o(), s(t(b), v({ ref_for: !0 }, a.props, {
|
|
114
|
+
key: a.id,
|
|
115
|
+
onClick: () => B(a)
|
|
117
116
|
}), {
|
|
118
117
|
default: r(() => [
|
|
119
|
-
|
|
118
|
+
a.icon ? (o(), s(
|
|
120
119
|
t(_),
|
|
121
120
|
v({
|
|
122
121
|
key: 0,
|
|
123
122
|
ref_for: !0
|
|
124
|
-
},
|
|
123
|
+
}, a.icon),
|
|
125
124
|
null,
|
|
126
125
|
16
|
|
127
126
|
/* FULL_PROPS */
|
|
@@ -145,5 +144,5 @@ const Q = { class: "q-dialog__header" }, S = { class: "q-dialog__header-title" }
|
|
|
145
144
|
}
|
|
146
145
|
});
|
|
147
146
|
export {
|
|
148
|
-
|
|
147
|
+
j as default
|
|
149
148
|
};
|
|
@@ -2,13 +2,24 @@ import { DialogButton } from './types';
|
|
|
2
2
|
declare const QDialog: {
|
|
3
3
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4
4
|
modelValue?: boolean;
|
|
5
|
-
} & import('
|
|
5
|
+
} & import('../../types/component').QBaseComponentProps & {
|
|
6
|
+
title?: string;
|
|
7
|
+
text?: string;
|
|
8
|
+
icon?: import('..').Icon;
|
|
9
|
+
buttons?: DialogButton[];
|
|
10
|
+
attach?: string;
|
|
11
|
+
inline?: boolean;
|
|
12
|
+
backdropBlur?: boolean;
|
|
13
|
+
dismissible?: boolean;
|
|
14
|
+
html?: boolean;
|
|
15
|
+
icons?: typeof import('./types').DEFAULT_ICONS;
|
|
16
|
+
}> & Readonly<{
|
|
6
17
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
7
18
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
19
|
"update:modelValue": (value: boolean) => any;
|
|
9
20
|
}, import('vue').PublicProps, {
|
|
10
|
-
html: boolean;
|
|
11
21
|
icon: import('..').Icon;
|
|
22
|
+
html: boolean;
|
|
12
23
|
icons: typeof import('./types').DEFAULT_ICONS;
|
|
13
24
|
attach: string;
|
|
14
25
|
backdropBlur: boolean;
|
|
@@ -22,11 +33,22 @@ declare const QDialog: {
|
|
|
22
33
|
Defaults: {};
|
|
23
34
|
}, Readonly<{
|
|
24
35
|
modelValue?: boolean;
|
|
25
|
-
} & import('
|
|
36
|
+
} & import('../../types/component').QBaseComponentProps & {
|
|
37
|
+
title?: string;
|
|
38
|
+
text?: string;
|
|
39
|
+
icon?: import('..').Icon;
|
|
40
|
+
buttons?: DialogButton[];
|
|
41
|
+
attach?: string;
|
|
42
|
+
inline?: boolean;
|
|
43
|
+
backdropBlur?: boolean;
|
|
44
|
+
dismissible?: boolean;
|
|
45
|
+
html?: boolean;
|
|
46
|
+
icons?: typeof import('./types').DEFAULT_ICONS;
|
|
47
|
+
}> & Readonly<{
|
|
26
48
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
27
49
|
}>, {}, {}, {}, {}, {
|
|
28
|
-
html: boolean;
|
|
29
50
|
icon: import('..').Icon;
|
|
51
|
+
html: boolean;
|
|
30
52
|
icons: typeof import('./types').DEFAULT_ICONS;
|
|
31
53
|
attach: string;
|
|
32
54
|
backdropBlur: boolean;
|
|
@@ -37,13 +59,24 @@ declare const QDialog: {
|
|
|
37
59
|
__isSuspense?: never;
|
|
38
60
|
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
39
61
|
modelValue?: boolean;
|
|
40
|
-
} & import('
|
|
62
|
+
} & import('../../types/component').QBaseComponentProps & {
|
|
63
|
+
title?: string;
|
|
64
|
+
text?: string;
|
|
65
|
+
icon?: import('..').Icon;
|
|
66
|
+
buttons?: DialogButton[];
|
|
67
|
+
attach?: string;
|
|
68
|
+
inline?: boolean;
|
|
69
|
+
backdropBlur?: boolean;
|
|
70
|
+
dismissible?: boolean;
|
|
71
|
+
html?: boolean;
|
|
72
|
+
icons?: typeof import('./types').DEFAULT_ICONS;
|
|
73
|
+
}> & Readonly<{
|
|
41
74
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
42
75
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
43
76
|
"update:modelValue": (value: boolean) => any;
|
|
44
77
|
}, string, {
|
|
45
|
-
html: boolean;
|
|
46
78
|
icon: import('..').Icon;
|
|
79
|
+
html: boolean;
|
|
47
80
|
icons: typeof import('./types').DEFAULT_ICONS;
|
|
48
81
|
attach: string;
|
|
49
82
|
backdropBlur: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAK3C,QAAA,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAK3C,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA4B,CAAA;AAGzC,OAAO,EAAE,OAAO,EAAE,CAAA;AAGlB,YAAY,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -1,10 +1,23 @@
|
|
|
1
1
|
import { QButtonProps } from '../QButton';
|
|
2
2
|
import { Icon } from '../QIcon';
|
|
3
|
-
|
|
3
|
+
import { QBaseComponentProps } from '../../types/component';
|
|
4
|
+
export type QDialogProps = QBaseComponentProps & {
|
|
5
|
+
/**
|
|
6
|
+
* The title of the dialog window.
|
|
7
|
+
*/
|
|
8
|
+
title?: string;
|
|
4
9
|
/**
|
|
5
10
|
* The text of the dialog window.
|
|
6
11
|
*/
|
|
7
12
|
text?: string;
|
|
13
|
+
/**
|
|
14
|
+
* The icon of the dialog window.
|
|
15
|
+
*/
|
|
16
|
+
icon?: Icon;
|
|
17
|
+
/**
|
|
18
|
+
* The buttons to interact with the dialog window.
|
|
19
|
+
*/
|
|
20
|
+
buttons?: DialogButton[];
|
|
8
21
|
/**
|
|
9
22
|
* The DOM element the tooltip should be teleported to.
|
|
10
23
|
* Defaults to the body of the document.
|
|
@@ -19,10 +32,6 @@ export type QDialogProps = {
|
|
|
19
32
|
* Applies a backdrop blur effect behind the dialog window.
|
|
20
33
|
*/
|
|
21
34
|
backdropBlur?: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* The buttons to interact with the dialog window.
|
|
24
|
-
*/
|
|
25
|
-
buttons?: DialogButton[];
|
|
26
35
|
/**
|
|
27
36
|
* True if the dialog window can be closed, false otherwise
|
|
28
37
|
*/
|
|
@@ -31,22 +40,6 @@ export type QDialogProps = {
|
|
|
31
40
|
* Whether the window's content is treated as HTML.
|
|
32
41
|
*/
|
|
33
42
|
html?: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* The icon of the dialog window.
|
|
36
|
-
*/
|
|
37
|
-
icon?: Icon;
|
|
38
|
-
/**
|
|
39
|
-
* The dialog window unique identifier.
|
|
40
|
-
*/
|
|
41
|
-
id?: string;
|
|
42
|
-
/**
|
|
43
|
-
* The title of the dialog window.
|
|
44
|
-
*/
|
|
45
|
-
title?: string;
|
|
46
|
-
/**
|
|
47
|
-
* Custom set of classes to apply to the component.
|
|
48
|
-
*/
|
|
49
|
-
class?: string | unknown[];
|
|
50
43
|
/**
|
|
51
44
|
* Custom icon configurations.
|
|
52
45
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACxD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACxD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAC9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAE5D,MAAM,MAAM,YAAY,GAAG,mBAAmB,GAAG;IAChD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,CAAA;IAEX;;OAEG;IACH,OAAO,CAAC,EAAE,YAAY,EAAE,CAAA;IAExB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAED,MAAM,MAAM,YAAY,GAAG;IAC1B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,CAAA;IAEX;;OAEG;IACH,MAAM,CAAC,EAAE;QAAE,IAAI,IAAI,CAAA;KAAE,CAAA;IAErB;;OAEG;IACH,KAAK,EAAE,YAAY,CAAA;CACnB,CAAA;AAGD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,YAAY,CAW/C,CAAA;AAGD,eAAO,MAAM,YAAY,EAAE,IAE1B,CAAA;AAGD,eAAO,MAAM,aAAa;;;;CAIM,CAAA"}
|
|
@@ -9,8 +9,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
9
9
|
} & {
|
|
10
10
|
select: (item: Primitive | undefined) => any;
|
|
11
11
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
12
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
13
12
|
onSelect?: ((item: Primitive | undefined) => any) | undefined;
|
|
13
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
14
14
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
export default _default;
|
|
16
16
|
//# sourceMappingURL=QDropdownMenu.vue.d.ts.map
|