@quidgest/ui 0.16.27 → 0.16.29
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 +5776 -0
- package/dist/ui.esm.js +798 -789
- package/dist/ui.js +10 -10
- package/dist/ui.min.js +47 -47
- package/dist/ui.scss +1 -1
- package/esm/components/QAccordion/QAccordionItem.vue.js +2 -2
- package/esm/components/QAccordion/types.d.ts +10 -0
- package/esm/components/QAccordion/types.d.ts.map +1 -1
- package/esm/components/QAvatar/QAvatar.d.ts +1 -1
- package/esm/components/QAvatar/QAvatar.vue.js +3 -3
- package/esm/components/QAvatar/index.d.ts +3 -3
- package/esm/components/QAvatar/types.d.ts +20 -8
- package/esm/components/QAvatar/types.d.ts.map +1 -1
- package/esm/components/QBadge/QBadge.vue.js +1 -1
- package/esm/components/QBadge/types.d.ts +18 -4
- package/esm/components/QBadge/types.d.ts.map +1 -1
- package/esm/components/QBadgeIndicator/QBadgeIndicator.vue.js +2 -2
- package/esm/components/QBadgeIndicator/types.d.ts +11 -5
- package/esm/components/QBadgeIndicator/types.d.ts.map +1 -1
- package/esm/components/QButton/QButton.vue.js +3 -3
- package/esm/components/QButton/types.d.ts +30 -8
- package/esm/components/QButton/types.d.ts.map +1 -1
- package/esm/components/QButtonGroup/QButtonGroup.vue.js +2 -2
- package/esm/components/QButtonGroup/types.d.ts +12 -4
- package/esm/components/QButtonGroup/types.d.ts.map +1 -1
- package/esm/components/QCard/QCard.vue.js +3 -3
- package/esm/components/QCard/types.d.ts +26 -8
- package/esm/components/QCard/types.d.ts.map +1 -1
- package/esm/components/QCarousel/types.d.ts +55 -11
- package/esm/components/QCarousel/types.d.ts.map +1 -1
- package/esm/components/QCheckbox/QCheckbox.vue.js +3 -3
- package/esm/components/QCheckbox/QCheckboxLabel.vue.js +2 -2
- package/esm/components/QCheckbox/index.d.ts +9 -9
- package/esm/components/QCheckbox/types.d.ts +23 -9
- package/esm/components/QCheckbox/types.d.ts.map +1 -1
- package/esm/components/QCollapsible/QCollapsible.vue.js +2 -2
- package/esm/components/QCollapsible/index.d.ts +6 -6
- package/esm/components/QCollapsible/types.d.ts +23 -7
- 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 +20 -16
- package/esm/components/QColorPicker/types.d.ts +14 -0
- package/esm/components/QColorPicker/types.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.d.ts +28 -28
- package/esm/components/QCombobox/QCombobox.vue.js +4 -4
- package/esm/components/QCombobox/index.d.ts +43 -43
- package/esm/components/QCombobox/types.d.ts +34 -12
- package/esm/components/QCombobox/types.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/QDateTimePicker.vue.js +4 -4
- package/esm/components/QDateTimePicker/index.d.ts +12 -12
- package/esm/components/QDateTimePicker/types.d.ts +29 -13
- package/esm/components/QDateTimePicker/types.d.ts.map +1 -1
- package/esm/components/QDefaultsProvider/types.d.ts +2 -0
- package/esm/components/QDefaultsProvider/types.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.d.ts +1 -1
- package/esm/components/QDialog/QDialog.vue.js +5 -5
- package/esm/components/QDialog/index.d.ts +15 -15
- package/esm/components/QDialog/types.d.ts +46 -18
- package/esm/components/QDialog/types.d.ts.map +1 -1
- package/esm/components/QDivider/QDivider.vue.js +10 -8
- package/esm/components/QDivider/types.d.ts +6 -1
- package/esm/components/QDivider/types.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenu.vue.js +6 -6
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +9 -9
- package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +6 -6
- package/esm/components/QDropdownMenu/index.d.ts +12 -12
- package/esm/components/QDropdownMenu/types.d.ts +51 -21
- package/esm/components/QDropdownMenu/types.d.ts.map +1 -1
- package/esm/components/QField/QField.vue.js +1 -1
- package/esm/components/QField/types.d.ts +10 -0
- package/esm/components/QField/types.d.ts.map +1 -1
- package/esm/components/QFileUpload/QFileUpload.vue.js +1 -1
- package/esm/components/QFileUpload/index.d.ts +3 -3
- package/esm/components/QFileUpload/types.d.ts +6 -0
- package/esm/components/QFileUpload/types.d.ts.map +1 -1
- package/esm/components/QGrid/types.d.ts +20 -0
- package/esm/components/QGrid/types.d.ts.map +1 -1
- package/esm/components/QIcon/QIcon.vue.js +2 -2
- package/esm/components/QIcon/QIconFont.vue.js +2 -2
- package/esm/components/QIcon/types.d.ts +22 -8
- package/esm/components/QIcon/types.d.ts.map +1 -1
- package/esm/components/QInputGroup/QInputGroup.vue.js +1 -1
- package/esm/components/QInputGroup/types.d.ts +4 -0
- package/esm/components/QInputGroup/types.d.ts.map +1 -1
- package/esm/components/QLabel/QLabel.vue.js +2 -2
- package/esm/components/QLabel/types.d.ts +10 -4
- package/esm/components/QLabel/types.d.ts.map +1 -1
- package/esm/components/QLineLoader/types.d.ts +4 -0
- package/esm/components/QLineLoader/types.d.ts.map +1 -1
- package/esm/components/QList/QList.d.ts +2 -2
- package/esm/components/QList/QList.vue.js +4 -4
- package/esm/components/QList/QListItem.vue.js +1 -1
- package/esm/components/QList/index.d.ts +1 -1
- package/esm/components/QList/types.d.ts +54 -14
- package/esm/components/QList/types.d.ts.map +1 -1
- package/esm/components/QMeter/QMeter.vue.js +3 -3
- package/esm/components/QMeter/index.d.ts +4 -4
- package/esm/components/QMeter/types.d.ts +10 -4
- package/esm/components/QMeter/types.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.d.ts +2 -2
- package/esm/components/QOverlay/QOverlay.vue.js +9 -9
- package/esm/components/QOverlay/index.d.ts +30 -30
- package/esm/components/QOverlay/types.d.ts +74 -34
- package/esm/components/QOverlay/types.d.ts.map +1 -1
- package/esm/components/QPasswordField/QPasswordField.d.ts +8 -8
- package/esm/components/QPasswordField/QPasswordField.vue.js +1 -1
- package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +8 -8
- package/esm/components/QPasswordField/index.d.ts +4 -4
- package/esm/components/QPasswordField/types.d.ts +12 -0
- package/esm/components/QPasswordField/types.d.ts.map +1 -1
- package/esm/components/QPopover/QPopover.vue.js +4 -4
- package/esm/components/QPopover/index.d.ts +12 -12
- package/esm/components/QPopover/types.d.ts +32 -14
- package/esm/components/QPopover/types.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyList.vue.js +1 -1
- package/esm/components/QPropertyList/QPropertyListRow.d.ts +1 -0
- package/esm/components/QPropertyList/QPropertyListRow.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyListRow.vue.js +42 -43
- package/esm/components/QPropertyList/index.d.ts +1 -0
- package/esm/components/QPropertyList/index.d.ts.map +1 -1
- package/esm/components/QPropertyList/types.d.ts +45 -5
- package/esm/components/QPropertyList/types.d.ts.map +1 -1
- package/esm/components/QRadioGroup/QRadioButton.vue.js +6 -6
- package/esm/components/QRadioGroup/QRadioGroup.vue.js +5 -5
- package/esm/components/QRadioGroup/index.d.ts +12 -12
- package/esm/components/QRadioGroup/types.d.ts +57 -27
- package/esm/components/QRadioGroup/types.d.ts.map +1 -1
- package/esm/components/QRemoveScrollBar/QRemoveScrollBar.vue.js +2 -2
- package/esm/components/QRemoveScrollBar/types.d.ts +10 -6
- package/esm/components/QRemoveScrollBar/types.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.d.ts +10 -10
- package/esm/components/QSelect/QSelect.vue.js +4 -4
- package/esm/components/QSelect/index.d.ts +17 -17
- package/esm/components/QSelect/types.d.ts +30 -10
- package/esm/components/QSelect/types.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebar.d.ts +1 -1
- package/esm/components/QSidebar/QSidebarAnchor.d.ts +13 -13
- package/esm/components/QSidebar/index.d.ts +1 -1
- package/esm/components/QSidebar/types.d.ts +29 -9
- package/esm/components/QSidebar/types.d.ts.map +1 -1
- package/esm/components/QSkeletonLoader/QSkeletonLoader.vue.js +2 -2
- package/esm/components/QSkeletonLoader/types.d.ts +10 -4
- package/esm/components/QSkeletonLoader/types.d.ts.map +1 -1
- package/esm/components/QSpinnerLoader/types.d.ts +2 -0
- package/esm/components/QSpinnerLoader/types.d.ts.map +1 -1
- package/esm/components/QSwitch/QSwitch.vue.js +3 -3
- package/esm/components/QSwitch/index.d.ts +4 -4
- package/esm/components/QSwitch/types.d.ts +24 -8
- package/esm/components/QSwitch/types.d.ts.map +1 -1
- package/esm/components/QTextArea/QTextArea.vue.js +1 -1
- package/esm/components/QTextArea/index.d.ts +3 -3
- package/esm/components/QTextArea/types.d.ts +14 -0
- package/esm/components/QTextArea/types.d.ts.map +1 -1
- package/esm/components/QTextField/QTextField.d.ts +2 -2
- package/esm/components/QTextField/QTextField.vue.js +1 -1
- package/esm/components/QTextField/index.d.ts +4 -4
- package/esm/components/QTextField/types.d.ts +10 -0
- package/esm/components/QTextField/types.d.ts.map +1 -1
- package/esm/components/QThemeProvider/types.d.ts +2 -0
- package/esm/components/QThemeProvider/types.d.ts.map +1 -1
- package/esm/components/QToast/QToast.vue.js +4 -4
- package/esm/components/QToast/types.d.ts +34 -12
- package/esm/components/QToast/types.d.ts.map +1 -1
- package/esm/components/QToggle/QToggle.vue.js +3 -3
- package/esm/components/QToggle/index.d.ts +6 -6
- package/esm/components/QToggleGroup/QToggleGroup.vue.js +1 -1
- package/esm/components/QToggleGroup/QToggleGroupItem.vue.js +2 -2
- package/esm/components/QToggleGroup/index.d.ts +3 -3
- package/esm/components/QToggleGroup/types.d.ts +6 -0
- package/esm/components/QToggleGroup/types.d.ts.map +1 -1
- package/esm/components/QTooltip/QTooltip.vue.js +5 -5
- package/esm/components/QTooltip/index.d.ts +12 -12
- package/esm/components/QTooltip/types.d.ts +40 -16
- package/esm/components/QTooltip/types.d.ts.map +1 -1
- package/esm/components/__internal__/QChevron/types.d.ts +2 -0
- package/esm/components/__internal__/QChevron/types.d.ts.map +1 -1
- package/esm/components/__internal__/QClearButton/types.d.ts +4 -0
- package/esm/components/__internal__/QClearButton/types.d.ts.map +1 -1
- package/esm/composables/useDialog/index.d.ts +12 -12
- package/esm/composables/useDialog/index.d.ts.map +1 -1
- package/esm/types/component.d.ts +4 -0
- package/esm/types/component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -4,41 +4,59 @@ import { QBaseComponentProps } from '../../types/component';
|
|
|
4
4
|
export type QPopoverProps = QBaseComponentProps & {
|
|
5
5
|
/**
|
|
6
6
|
* The DOM element the popover should be anchored to.
|
|
7
|
+
*
|
|
8
|
+
* @category Identification
|
|
7
9
|
*/
|
|
8
10
|
anchor: Selector;
|
|
11
|
+
/**
|
|
12
|
+
* The text of the popover.
|
|
13
|
+
*
|
|
14
|
+
* @category Content
|
|
15
|
+
*/
|
|
16
|
+
text?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The title of the popover.
|
|
19
|
+
*
|
|
20
|
+
* @category Content
|
|
21
|
+
*/
|
|
22
|
+
title?: string;
|
|
9
23
|
/**
|
|
10
24
|
* Whether the popover has an arrow pointing to the target.
|
|
25
|
+
*
|
|
26
|
+
* @category Presentation
|
|
11
27
|
*/
|
|
12
28
|
arrow?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* The placement of the popover.
|
|
31
|
+
*
|
|
32
|
+
* @category Presentation
|
|
33
|
+
*/
|
|
34
|
+
placement?: Placement;
|
|
13
35
|
/**
|
|
14
36
|
* The DOM element the popover should be teleported to.
|
|
15
37
|
* Defaults to the body of the document.
|
|
38
|
+
*
|
|
39
|
+
* @category Behavior
|
|
16
40
|
*/
|
|
17
41
|
attach?: string;
|
|
18
42
|
/**
|
|
19
43
|
* Whether to disable teleport.
|
|
20
44
|
* If enabled, the prop `attach` is ignored.
|
|
45
|
+
*
|
|
46
|
+
* @category Behavior
|
|
21
47
|
*/
|
|
22
48
|
inline?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Whether the popover is disabled.
|
|
25
|
-
*/
|
|
26
|
-
disabled?: boolean;
|
|
27
49
|
/**
|
|
28
50
|
* Whether the popover's content is treated as HTML.
|
|
51
|
+
*
|
|
52
|
+
* @category Behavior
|
|
29
53
|
*/
|
|
30
54
|
html?: boolean;
|
|
31
55
|
/**
|
|
32
|
-
*
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* The text of the popover.
|
|
37
|
-
*/
|
|
38
|
-
text?: string;
|
|
39
|
-
/**
|
|
40
|
-
* The title of the popover.
|
|
56
|
+
* Whether the popover is disabled.
|
|
57
|
+
*
|
|
58
|
+
* @category State
|
|
41
59
|
*/
|
|
42
|
-
|
|
60
|
+
disabled?: boolean;
|
|
43
61
|
};
|
|
44
62
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QPopover/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAA;AACtD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,aAAa,GAAG,mBAAmB,GAAG;IACjD
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QPopover/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAA;AACtD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,aAAa,GAAG,mBAAmB,GAAG;IACjD;;;;OAIG;IACH,MAAM,EAAE,QAAQ,CAAA;IAEhB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;;;OAIG;IACH,SAAS,CAAC,EAAE,SAAS,CAAA;IAErB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA"}
|
|
@@ -9,10 +9,10 @@ const U = ["id"], W = { class: "q-property-list__table" }, j = /* @__PURE__ */ G
|
|
|
9
9
|
fields: { default: () => [] },
|
|
10
10
|
groups: { default: () => [] },
|
|
11
11
|
panelPosition: { default: "bottom" },
|
|
12
|
-
readonly: { type: Boolean },
|
|
13
12
|
block: { type: Boolean },
|
|
14
13
|
noPanel: { type: Boolean },
|
|
15
14
|
noToggle: { type: Boolean },
|
|
15
|
+
readonly: { type: Boolean },
|
|
16
16
|
icons: { default: () => D },
|
|
17
17
|
texts: { default: () => $ }
|
|
18
18
|
},
|
|
@@ -9,6 +9,7 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
|
|
|
9
9
|
} & import('../../types/component').QBaseComponentProps & {
|
|
10
10
|
field: QPropertyListField;
|
|
11
11
|
readonly?: boolean;
|
|
12
|
+
required?: boolean;
|
|
12
13
|
}) & Partial<{}>> & import('vue').PublicProps;
|
|
13
14
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
14
15
|
attrs: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QPropertyListRow.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QPropertyList/QPropertyListRow.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QPropertyListRow.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QPropertyList/QPropertyListRow.vue"],"names":[],"mappings":"AAgCA;AAyGC,OAAO,KAAK,EAAE,kBAAkB,EAAyB,MAAM,SAAS,CAAA;yBAKvD,CAAC,eACL,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WA6K1D,mBAAmB,CAAC;;;;;qBA9Gf,CAAC;;;;;oBA8GgF,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;yBArCkB,GAAG;;UAuCzB;YA3KD,OAAO,SAAS,kBAAkB,GAAG,IAAI;YACzC,cAAc,SAAS,OAAO,GAAG,IAAI;sDA0KA;OAG/B,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAvLxE,wBAuL2E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -1,82 +1,81 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
|
|
1
|
+
import { defineComponent as B, mergeModels as c, useModel as M, computed as l, toRef as R, createElementBlock as m, openBlock as d, normalizeClass as f, createElementVNode as v, withModifiers as i, createVNode as h, unref as y, renderSlot as N, createCommentVNode as P, createBlock as w, resolveDynamicComponent as E, mergeProps as F } from "vue";
|
|
2
|
+
import { QLabel as I } from "../QLabel/index.js";
|
|
3
|
+
import { useId as L } from "../../composables/uid.js";
|
|
4
|
+
const Q = ["id", "data-group"], x = {
|
|
3
5
|
key: 0,
|
|
4
6
|
class: "q-property-list-field__container"
|
|
5
|
-
},
|
|
7
|
+
}, U = /* @__PURE__ */ B({
|
|
6
8
|
__name: "QPropertyListRow",
|
|
7
|
-
props: /* @__PURE__ */
|
|
9
|
+
props: /* @__PURE__ */ c({
|
|
8
10
|
id: {},
|
|
9
11
|
class: {},
|
|
10
12
|
field: {},
|
|
11
|
-
readonly: { type: Boolean }
|
|
13
|
+
readonly: { type: Boolean },
|
|
14
|
+
required: { type: Boolean }
|
|
12
15
|
}, {
|
|
13
16
|
modelValue: {},
|
|
14
17
|
modelModifiers: {}
|
|
15
18
|
}),
|
|
16
|
-
emits: /* @__PURE__ */
|
|
17
|
-
setup(
|
|
18
|
-
const e =
|
|
19
|
-
var
|
|
20
|
-
return
|
|
21
|
-
|
|
22
|
-
"q-property-list__cell-label",
|
|
23
|
-
{
|
|
24
|
-
"q-property-list__cell--required": (l = e.field.props) == null ? void 0 : l.required
|
|
25
|
-
}
|
|
26
|
-
];
|
|
27
|
-
}), v = o(() => e.readonly || (e.field.props.readonly ?? !1)), g = o(() => ({
|
|
19
|
+
emits: /* @__PURE__ */ c(["focus", "field-change"], ["update:modelValue"]),
|
|
20
|
+
setup(n, { emit: _ }) {
|
|
21
|
+
const e = n, a = _, r = M(n, "modelValue"), q = l(() => ["q-property-list__row", e.class]), C = l(() => ["q-property-list__cell", "q-property-list__cell-label"]), V = l(() => e.readonly || (e.field.props.readonly ?? !1)), u = l(() => {
|
|
22
|
+
var o;
|
|
23
|
+
return e.required || !!((o = e.field.props) != null && o.required);
|
|
24
|
+
}), p = L(R(e, "id")), g = l(() => ({
|
|
28
25
|
...e.field.props,
|
|
29
|
-
|
|
26
|
+
id: p.value,
|
|
27
|
+
readonly: V.value,
|
|
28
|
+
required: u.value
|
|
30
29
|
}));
|
|
31
30
|
function s() {
|
|
32
31
|
a("focus", e.field);
|
|
33
32
|
}
|
|
34
|
-
function
|
|
35
|
-
|
|
33
|
+
function k(o) {
|
|
34
|
+
r.value = o, a("field-change", o);
|
|
36
35
|
}
|
|
37
|
-
return (
|
|
36
|
+
return (o, t) => (d(), m("tr", {
|
|
38
37
|
id: e.id,
|
|
39
|
-
class:
|
|
38
|
+
class: f(q.value),
|
|
40
39
|
"data-group": e.field.group,
|
|
41
40
|
onFocusin: s
|
|
42
41
|
}, [
|
|
43
|
-
|
|
42
|
+
v(
|
|
44
43
|
"td",
|
|
45
44
|
{
|
|
46
|
-
class:
|
|
47
|
-
onClick:
|
|
45
|
+
class: f(C.value),
|
|
46
|
+
onClick: i(s, ["prevent", "stop"])
|
|
48
47
|
},
|
|
49
48
|
[
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
)
|
|
49
|
+
h(y(I), {
|
|
50
|
+
for: y(p),
|
|
51
|
+
label: e.field.label,
|
|
52
|
+
required: u.value,
|
|
53
|
+
onClick: t[0] || (t[0] = i(() => {
|
|
54
|
+
}, ["stop"]))
|
|
55
|
+
}, null, 8, ["for", "label", "required"])
|
|
57
56
|
],
|
|
58
57
|
2
|
|
59
58
|
/* CLASS */
|
|
60
59
|
),
|
|
61
|
-
|
|
60
|
+
v("td", {
|
|
62
61
|
class: "q-property-list__cell",
|
|
63
|
-
onClick:
|
|
62
|
+
onClick: i(s, ["prevent", "stop"])
|
|
64
63
|
}, [
|
|
65
|
-
|
|
66
|
-
e.field.component ? (
|
|
67
|
-
(
|
|
68
|
-
modelValue:
|
|
64
|
+
N(o.$slots, "default", {}, () => [
|
|
65
|
+
e.field.component ? (d(), m("div", x, [
|
|
66
|
+
(d(), w(E(e.field.component), F(g.value, {
|
|
67
|
+
modelValue: r.value,
|
|
69
68
|
"onUpdate:modelValue": [
|
|
70
|
-
|
|
71
|
-
|
|
69
|
+
t[1] || (t[1] = (b) => r.value = b),
|
|
70
|
+
k
|
|
72
71
|
]
|
|
73
72
|
}), null, 16, ["modelValue"]))
|
|
74
|
-
])) :
|
|
73
|
+
])) : P("v-if", !0)
|
|
75
74
|
])
|
|
76
75
|
])
|
|
77
|
-
], 42,
|
|
76
|
+
], 42, Q));
|
|
78
77
|
}
|
|
79
78
|
});
|
|
80
79
|
export {
|
|
81
|
-
|
|
80
|
+
U as default
|
|
82
81
|
};
|
|
@@ -81,6 +81,7 @@ declare const QPropertyListRow: <T>(__VLS_props: NonNullable<Awaited<typeof __VL
|
|
|
81
81
|
class?: string | unknown[] | undefined;
|
|
82
82
|
field: import('./types').QPropertyListField;
|
|
83
83
|
readonly?: boolean | undefined;
|
|
84
|
+
required?: boolean | undefined;
|
|
84
85
|
} & import('vue').PublicProps;
|
|
85
86
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
86
87
|
attrs: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QPropertyList/index.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EACX,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,EACvB,MAAM,SAAS,CAAA;AAKhB,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAkC,CAAA;AACrD,QAAA,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QPropertyList/index.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EACX,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,EACvB,MAAM,SAAS,CAAA;AAKhB,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAkC,CAAA;AACrD,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;2BAc+zQ,KAAK;;;;;;;;;cAA4J,KAAK;SAAiB,CAAC;CAdl9Q,CAAA;AAC3D,QAAA,MAAM,kBAAkB;;;;;;6FAAuC,CAAA;AAC/D,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;EAAuC,CAAA;AAG/D,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,CAAA;AAGlF,YAAY,EACX,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,EACvB,CAAA"}
|
|
@@ -8,39 +8,57 @@ export type PanelPosition = 'bottom' | 'right';
|
|
|
8
8
|
export type QPropertyListProps = QBaseComponentProps & {
|
|
9
9
|
/**
|
|
10
10
|
* Array of field configurations that define the content and behavior
|
|
11
|
-
* of each property list item
|
|
11
|
+
* of each property list item.
|
|
12
|
+
*
|
|
13
|
+
* @category Content
|
|
12
14
|
*/
|
|
13
15
|
fields?: QPropertyListField[];
|
|
14
16
|
/**
|
|
15
17
|
* Configuration for property groups used to organize and categorize fields.
|
|
18
|
+
*
|
|
19
|
+
* @category Content
|
|
16
20
|
*/
|
|
17
21
|
groups?: QPropertyListGroup[];
|
|
18
22
|
/**
|
|
19
23
|
* Determines the layout position of the description panel.
|
|
24
|
+
*
|
|
25
|
+
* @category Presentation
|
|
20
26
|
*/
|
|
21
27
|
panelPosition?: PanelPosition;
|
|
22
|
-
/**
|
|
23
|
-
* When true, renders all fields in a read-only state preventing user interaction.
|
|
24
|
-
*/
|
|
25
|
-
readonly?: boolean;
|
|
26
28
|
/**
|
|
27
29
|
* If true, the property list spans the full width of its container.
|
|
30
|
+
*
|
|
31
|
+
* @category Presentation
|
|
28
32
|
*/
|
|
29
33
|
block?: boolean;
|
|
30
34
|
/**
|
|
31
35
|
* When true, hides the description panel that displays additional field information.
|
|
36
|
+
*
|
|
37
|
+
* @category Presentation
|
|
32
38
|
*/
|
|
33
39
|
noPanel?: boolean;
|
|
34
40
|
/**
|
|
35
41
|
* When true, disables the ability to expand/collapse property groups.
|
|
42
|
+
*
|
|
43
|
+
* @category Behavior
|
|
36
44
|
*/
|
|
37
45
|
noToggle?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* When true, renders all fields in a read-only state preventing user interaction.
|
|
48
|
+
*
|
|
49
|
+
* @category State
|
|
50
|
+
*/
|
|
51
|
+
readonly?: boolean;
|
|
38
52
|
/**
|
|
39
53
|
* Custom icon configurations.
|
|
54
|
+
*
|
|
55
|
+
* @category Configuration
|
|
40
56
|
*/
|
|
41
57
|
icons?: typeof DEFAULT_ICONS;
|
|
42
58
|
/**
|
|
43
59
|
* Custom text configurations.
|
|
60
|
+
*
|
|
61
|
+
* @category Configuration
|
|
44
62
|
*/
|
|
45
63
|
texts?: typeof DEFAULT_TEXTS;
|
|
46
64
|
};
|
|
@@ -64,14 +82,20 @@ export type QPropertyListGroupProps = QBaseComponentProps & Omit<QPropertyListGr
|
|
|
64
82
|
/**
|
|
65
83
|
* When true, disables the expand/collapse functionality for this specific group,
|
|
66
84
|
* keeping it permanently expanded.
|
|
85
|
+
*
|
|
86
|
+
* @category Behavior
|
|
67
87
|
*/
|
|
68
88
|
noToggle?: boolean;
|
|
69
89
|
/**
|
|
70
90
|
* Custom icon configurations.
|
|
91
|
+
*
|
|
92
|
+
* @category Configuration
|
|
71
93
|
*/
|
|
72
94
|
icons?: typeof DEFAULT_ICONS;
|
|
73
95
|
/**
|
|
74
96
|
* Custom text configurations.
|
|
97
|
+
*
|
|
98
|
+
* @category Configuration
|
|
75
99
|
*/
|
|
76
100
|
texts?: typeof DEFAULT_TEXTS;
|
|
77
101
|
};
|
|
@@ -112,12 +136,22 @@ export type QPropertyListField = {
|
|
|
112
136
|
export type QPropertyListRowProps = QBaseComponentProps & {
|
|
113
137
|
/**
|
|
114
138
|
* Configuration object for the field to be rendered within this row.
|
|
139
|
+
*
|
|
140
|
+
* @category Content
|
|
115
141
|
*/
|
|
116
142
|
field: QPropertyListField;
|
|
117
143
|
/**
|
|
118
144
|
* When true, renders the field in a read-only state preventing user interaction.
|
|
145
|
+
*
|
|
146
|
+
* @category State
|
|
119
147
|
*/
|
|
120
148
|
readonly?: boolean;
|
|
149
|
+
/**
|
|
150
|
+
* If true, indicates that the field is required, displaying a visual cue.
|
|
151
|
+
*
|
|
152
|
+
* @category State
|
|
153
|
+
*/
|
|
154
|
+
required?: boolean;
|
|
121
155
|
};
|
|
122
156
|
/**
|
|
123
157
|
* Props for the QPropertyListPanel component.
|
|
@@ -126,14 +160,20 @@ export type QPropertyListPanelProps = QBaseComponentProps & {
|
|
|
126
160
|
/**
|
|
127
161
|
* Configuration object for the currently selected field to display
|
|
128
162
|
* in the description panel.
|
|
163
|
+
*
|
|
164
|
+
* @category Content
|
|
129
165
|
*/
|
|
130
166
|
field?: QPropertyListField;
|
|
131
167
|
/**
|
|
132
168
|
* Custom icon configurations.
|
|
169
|
+
*
|
|
170
|
+
* @category Configuration
|
|
133
171
|
*/
|
|
134
172
|
icons?: typeof DEFAULT_ICONS;
|
|
135
173
|
/**
|
|
136
174
|
* Custom text configurations.
|
|
175
|
+
*
|
|
176
|
+
* @category Configuration
|
|
137
177
|
*/
|
|
138
178
|
texts?: typeof DEFAULT_TEXTS;
|
|
139
179
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QPropertyList/types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE;;;;GAIG;AACH,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,OAAO,CAAA;AAE9C,MAAM,MAAM,kBAAkB,GAAG,mBAAmB,GAAG;IACtD
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QPropertyList/types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE;;;;GAIG;AACH,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,OAAO,CAAA;AAE9C,MAAM,MAAM,kBAAkB,GAAG,mBAAmB,GAAG;IACtD;;;;;OAKG;IACH,MAAM,CAAC,EAAE,kBAAkB,EAAE,CAAA;IAE7B;;;;OAIG;IACH,MAAM,CAAC,EAAE,kBAAkB,EAAE,CAAA;IAE7B;;;;OAIG;IACH,aAAa,CAAC,EAAE,aAAa,CAAA;IAE7B;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;IAE5B;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAChC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;CACb,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,mBAAmB,GACxD,IAAI,CAAC,kBAAkB,EAAE,IAAI,CAAC,GAAG;IAChC;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;IAE5B;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAEF;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAChC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAC9B,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,mBAAmB,GAAG;IACzD;;;;OAIG;IACH,KAAK,EAAE,kBAAkB,CAAA;IAEzB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,mBAAmB,GAAG;IAC3D;;;;;OAKG;IACH,KAAK,CAAC,EAAE,kBAAkB,CAAA;IAE1B;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;IAE5B;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAED,eAAO,MAAM,aAAa;;CAEQ,CAAA;AAGlC,eAAO,MAAM,aAAa;;;;;;;CAOM,CAAA"}
|
|
@@ -9,16 +9,16 @@ const P = ["id", "checked", "name", "value", "disabled"], w = /* @__PURE__ */ m(
|
|
|
9
9
|
id: {},
|
|
10
10
|
class: {},
|
|
11
11
|
label: {},
|
|
12
|
-
for: {},
|
|
13
12
|
required: { type: Boolean },
|
|
13
|
+
for: {},
|
|
14
|
+
value: {},
|
|
15
|
+
name: {},
|
|
14
16
|
labelPlacement: { default: "end" },
|
|
15
|
-
disabled: { type: Boolean },
|
|
16
|
-
readonly: { type: Boolean },
|
|
17
17
|
color: { default: "primary" },
|
|
18
|
-
value: {},
|
|
19
18
|
size: { default: "regular" },
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
disabled: { type: Boolean },
|
|
20
|
+
readonly: { type: Boolean },
|
|
21
|
+
invalid: { type: Boolean }
|
|
22
22
|
},
|
|
23
23
|
setup(i) {
|
|
24
24
|
const e = i, n = k(b(e, "id")), t = z(e.value);
|
|
@@ -13,15 +13,15 @@ const M = ["id"], Q = {
|
|
|
13
13
|
id: {},
|
|
14
14
|
class: {},
|
|
15
15
|
label: {},
|
|
16
|
-
for: {},
|
|
17
16
|
required: { type: Boolean },
|
|
17
|
+
for: {},
|
|
18
|
+
name: {},
|
|
18
19
|
orientation: { default: "vertical" },
|
|
20
|
+
size: { default: "regular" },
|
|
21
|
+
columns: { default: 1 },
|
|
19
22
|
disabled: { type: Boolean },
|
|
20
23
|
readonly: { type: Boolean },
|
|
21
|
-
|
|
22
|
-
invalid: { type: Boolean },
|
|
23
|
-
name: {},
|
|
24
|
-
columns: { default: 1 }
|
|
24
|
+
invalid: { type: Boolean }
|
|
25
25
|
}, {
|
|
26
26
|
modelValue: {},
|
|
27
27
|
modelModifiers: {}
|
|
@@ -33,16 +33,16 @@ declare const QRadioGroup: {
|
|
|
33
33
|
modelValue?: any;
|
|
34
34
|
} & import('../../types/component').QBaseComponentProps & {
|
|
35
35
|
label?: string;
|
|
36
|
-
for?: string;
|
|
37
36
|
required?: boolean;
|
|
37
|
+
for?: string;
|
|
38
38
|
} & {
|
|
39
|
+
name?: string;
|
|
39
40
|
orientation?: import('./types').QRadioButtonOrientation;
|
|
41
|
+
size?: import('./types').QRadioButtonSize;
|
|
42
|
+
columns?: number;
|
|
40
43
|
disabled?: boolean;
|
|
41
44
|
readonly?: boolean;
|
|
42
|
-
size?: import('./types').QRadioButtonSize;
|
|
43
45
|
invalid?: boolean;
|
|
44
|
-
name?: string;
|
|
45
|
-
columns?: number;
|
|
46
46
|
}> & Readonly<{
|
|
47
47
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
48
48
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -62,16 +62,16 @@ declare const QRadioGroup: {
|
|
|
62
62
|
modelValue?: any;
|
|
63
63
|
} & import('../../types/component').QBaseComponentProps & {
|
|
64
64
|
label?: string;
|
|
65
|
-
for?: string;
|
|
66
65
|
required?: boolean;
|
|
66
|
+
for?: string;
|
|
67
67
|
} & {
|
|
68
|
+
name?: string;
|
|
68
69
|
orientation?: import('./types').QRadioButtonOrientation;
|
|
70
|
+
size?: import('./types').QRadioButtonSize;
|
|
71
|
+
columns?: number;
|
|
69
72
|
disabled?: boolean;
|
|
70
73
|
readonly?: boolean;
|
|
71
|
-
size?: import('./types').QRadioButtonSize;
|
|
72
74
|
invalid?: boolean;
|
|
73
|
-
name?: string;
|
|
74
|
-
columns?: number;
|
|
75
75
|
}> & Readonly<{
|
|
76
76
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
77
77
|
}>, {}, {}, {}, {}, {
|
|
@@ -86,16 +86,16 @@ declare const QRadioGroup: {
|
|
|
86
86
|
modelValue?: any;
|
|
87
87
|
} & import('../../types/component').QBaseComponentProps & {
|
|
88
88
|
label?: string;
|
|
89
|
-
for?: string;
|
|
90
89
|
required?: boolean;
|
|
90
|
+
for?: string;
|
|
91
91
|
} & {
|
|
92
|
+
name?: string;
|
|
92
93
|
orientation?: import('./types').QRadioButtonOrientation;
|
|
94
|
+
size?: import('./types').QRadioButtonSize;
|
|
95
|
+
columns?: number;
|
|
93
96
|
disabled?: boolean;
|
|
94
97
|
readonly?: boolean;
|
|
95
|
-
size?: import('./types').QRadioButtonSize;
|
|
96
98
|
invalid?: boolean;
|
|
97
|
-
name?: string;
|
|
98
|
-
columns?: number;
|
|
99
99
|
}> & Readonly<{
|
|
100
100
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
101
101
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -2,68 +2,98 @@ import { QLabelProps } from '../QLabel';
|
|
|
2
2
|
export type QRadioButtonOrientation = 'vertical' | 'horizontal';
|
|
3
3
|
export type QRadioButtonSize = 'small' | 'regular' | 'large';
|
|
4
4
|
export type QRadioGroupProps = QLabelProps & {
|
|
5
|
+
/**
|
|
6
|
+
* The name for each radio buttons in radio group.
|
|
7
|
+
*
|
|
8
|
+
* @category Identification
|
|
9
|
+
*/
|
|
10
|
+
name?: string;
|
|
5
11
|
/**
|
|
6
12
|
* The orientation of the radio button group shown.
|
|
13
|
+
*
|
|
14
|
+
* @category Presentation
|
|
7
15
|
*/
|
|
8
16
|
orientation?: QRadioButtonOrientation;
|
|
17
|
+
/**
|
|
18
|
+
* The size of the checkbox, either 'regular', 'small' or 'large'.
|
|
19
|
+
*
|
|
20
|
+
* @category Presentation
|
|
21
|
+
*/
|
|
22
|
+
size?: QRadioButtonSize;
|
|
23
|
+
/**
|
|
24
|
+
* Number of columns to divide the radio button group into.
|
|
25
|
+
*
|
|
26
|
+
* @category Behavior
|
|
27
|
+
*/
|
|
28
|
+
columns?: number;
|
|
9
29
|
/**
|
|
10
30
|
* If true, the radio button is disabled and cannot be interacted with.
|
|
31
|
+
*
|
|
32
|
+
* @category State
|
|
11
33
|
*/
|
|
12
34
|
disabled?: boolean;
|
|
13
35
|
/**
|
|
14
36
|
* If set to true, the radio button is read-only.
|
|
37
|
+
*
|
|
38
|
+
* @category State
|
|
15
39
|
*/
|
|
16
40
|
readonly?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* The size of the checkbox, either 'regular', 'small' or 'large'.
|
|
19
|
-
*/
|
|
20
|
-
size?: QRadioButtonSize;
|
|
21
41
|
/**
|
|
22
42
|
* Indicates whether the provided value fails the validation criteria.
|
|
43
|
+
*
|
|
44
|
+
* @category State
|
|
23
45
|
*/
|
|
24
46
|
invalid?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* The name for each radio buttons in radio group.
|
|
27
|
-
*/
|
|
28
|
-
name?: string;
|
|
29
|
-
/**
|
|
30
|
-
* Number of columns to divide the radio button group into.
|
|
31
|
-
*/
|
|
32
|
-
columns?: number;
|
|
33
47
|
};
|
|
34
48
|
export type QRadioButtonLabelPlacement = 'start' | 'end';
|
|
35
49
|
export type QRadioButtonProps = QLabelProps & {
|
|
36
50
|
/**
|
|
37
|
-
*
|
|
51
|
+
* Defined the value for the radio button.
|
|
52
|
+
*
|
|
53
|
+
* @category Identification
|
|
38
54
|
*/
|
|
39
|
-
|
|
55
|
+
value: string;
|
|
40
56
|
/**
|
|
41
|
-
*
|
|
57
|
+
* The name for each radio buttons in radio group.
|
|
58
|
+
*
|
|
59
|
+
* @category Identification
|
|
42
60
|
*/
|
|
43
|
-
|
|
61
|
+
name?: string;
|
|
44
62
|
/**
|
|
45
|
-
*
|
|
63
|
+
* The placement of the label shown.
|
|
64
|
+
*
|
|
65
|
+
* @category Presentation
|
|
46
66
|
*/
|
|
47
|
-
|
|
67
|
+
labelPlacement?: QRadioButtonLabelPlacement;
|
|
48
68
|
/**
|
|
49
|
-
* Applies specified color to the control
|
|
69
|
+
* Applies specified color to the control.
|
|
70
|
+
*
|
|
71
|
+
* @category Presentation
|
|
50
72
|
*/
|
|
51
73
|
color?: string;
|
|
52
|
-
/**
|
|
53
|
-
* Defined the value for the radio button.
|
|
54
|
-
*/
|
|
55
|
-
value: string;
|
|
56
74
|
/**
|
|
57
75
|
* The size of the checkbox, either 'regular', 'small' or 'large'.
|
|
76
|
+
*
|
|
77
|
+
* @category Presentation
|
|
58
78
|
*/
|
|
59
79
|
size?: QRadioButtonSize;
|
|
60
80
|
/**
|
|
61
|
-
*
|
|
81
|
+
* If true, the radio button is disabled and cannot be interacted with.
|
|
82
|
+
*
|
|
83
|
+
* @category State
|
|
62
84
|
*/
|
|
63
|
-
|
|
85
|
+
disabled?: boolean;
|
|
64
86
|
/**
|
|
65
|
-
*
|
|
87
|
+
* If set to true, the radio button is read-only.
|
|
88
|
+
*
|
|
89
|
+
* @category State
|
|
66
90
|
*/
|
|
67
|
-
|
|
91
|
+
readonly?: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* Indicates whether the provided value fails the validation criteria.
|
|
94
|
+
*
|
|
95
|
+
* @category State
|
|
96
|
+
*/
|
|
97
|
+
invalid?: boolean;
|
|
68
98
|
};
|
|
69
99
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QRadioGroup/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAE5C,MAAM,MAAM,uBAAuB,GAAG,UAAU,GAAG,YAAY,CAAA;AAE/D,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,CAAA;AAE5D,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG;IAC5C
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QRadioGroup/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAE5C,MAAM,MAAM,uBAAuB,GAAG,UAAU,GAAG,YAAY,CAAA;AAE/D,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,CAAA;AAE5D,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG;IAC5C;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;;;OAIG;IACH,WAAW,CAAC,EAAE,uBAAuB,CAAA;IAErC;;;;OAIG;IACH,IAAI,CAAC,EAAE,gBAAgB,CAAA;IAEvB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,0BAA0B,GAAG,OAAO,GAAG,KAAK,CAAA;AAExD,MAAM,MAAM,iBAAiB,GAAG,WAAW,GAAG;IAC7C;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;;;OAIG;IACH,cAAc,CAAC,EAAE,0BAA0B,CAAA;IAE3C;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;OAIG;IACH,IAAI,CAAC,EAAE,gBAAgB,CAAA;IAEvB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA"}
|
|
@@ -5,9 +5,9 @@ import { useStylesheet as S } from "./utils/stylesheet.js";
|
|
|
5
5
|
const R = /* @__PURE__ */ c({
|
|
6
6
|
__name: "QRemoveScrollBar",
|
|
7
7
|
props: {
|
|
8
|
+
gapMode: { default: "margin" },
|
|
8
9
|
noRelative: { type: Boolean },
|
|
9
|
-
noImportant: { type: Boolean }
|
|
10
|
-
gapMode: { default: "margin" }
|
|
10
|
+
noImportant: { type: Boolean }
|
|
11
11
|
},
|
|
12
12
|
setup(g) {
|
|
13
13
|
const n = g, a = S(), s = () => {
|