@quidgest/ui 0.14.11 → 0.14.12
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/manifest/components.json +1 -0
- package/dist/ui.css +74 -39
- package/dist/ui.esm.js +1731 -1578
- package/dist/ui.js +24 -24
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +170 -163
- package/dist/ui.scss +61 -40
- package/esm/components/QAccordion/QAccordion.d.ts.map +1 -1
- package/esm/components/QAccordion/QAccordion.vue.js +2 -2
- package/esm/components/QAccordion/index.d.ts +33 -2
- package/esm/components/QAccordion/index.d.ts.map +1 -1
- package/esm/components/QBadge/QBadge.d.ts.map +1 -1
- package/esm/components/QBadge/QBadge.vue.js +7 -7
- package/esm/components/QBadge/index.d.ts +39 -2
- package/esm/components/QBadge/index.d.ts.map +1 -1
- package/esm/components/QBadge/types.d.ts.map +1 -1
- package/esm/components/QButton/QButton.d.ts +0 -2
- package/esm/components/QButton/QButton.d.ts.map +1 -1
- package/esm/components/QButton/QButton.vue.js +18 -18
- package/esm/components/QButton/index.d.ts +36 -2
- package/esm/components/QButton/index.d.ts.map +1 -1
- package/esm/components/QButtonGroup/QButtonGroup.d.ts +1 -3
- package/esm/components/QButtonGroup/QButtonGroup.d.ts.map +1 -1
- package/esm/components/QButtonGroup/QButtonGroup.vue.js +7 -7
- package/esm/components/QButtonGroup/index.d.ts +17 -2
- package/esm/components/QButtonGroup/index.d.ts.map +1 -1
- package/esm/components/QButtonToggle/QButtonToggle.d.ts.map +1 -1
- package/esm/components/QButtonToggle/QButtonToggle.vue.js +1 -1
- package/esm/components/QButtonToggle/index.d.ts +31 -2
- package/esm/components/QButtonToggle/index.d.ts.map +1 -1
- package/esm/components/QCard/QCard.d.ts +4 -9
- package/esm/components/QCard/QCard.d.ts.map +1 -1
- package/esm/components/QCard/QCard.vue.js +34 -34
- package/esm/components/QCard/index.d.ts +34 -2
- package/esm/components/QCard/index.d.ts.map +1 -1
- package/esm/components/QCheckbox/QCheckbox.d.ts +0 -3
- package/esm/components/QCheckbox/QCheckbox.d.ts.map +1 -1
- package/esm/components/QCheckbox/QCheckbox.vue.js +19 -19
- package/esm/components/QCheckbox/QCheckboxLabel.d.ts +1 -3
- package/esm/components/QCheckbox/QCheckboxLabel.d.ts.map +1 -1
- package/esm/components/QCheckbox/QCheckboxLabel.vue.js +7 -7
- package/esm/components/QCheckbox/index.d.ts +79 -2
- package/esm/components/QCheckbox/index.d.ts.map +1 -1
- package/esm/components/QCheckbox/types.d.ts +8 -4
- package/esm/components/QCheckbox/types.d.ts.map +1 -1
- package/esm/components/QCollapsible/QCollapsible.d.ts +2 -3
- package/esm/components/QCollapsible/QCollapsible.d.ts.map +1 -1
- package/esm/components/QCollapsible/QCollapsible.vue.js +54 -60
- package/esm/components/QCollapsible/index.d.ts +47 -2
- package/esm/components/QCollapsible/index.d.ts.map +1 -1
- package/esm/components/QCollapsible/types.d.ts +5 -4
- package/esm/components/QCollapsible/types.d.ts.map +1 -1
- package/esm/components/QCollapsible/types.js +4 -5
- package/esm/components/QColorPicker/QColorPicker.d.ts +34 -0
- package/esm/components/QColorPicker/QColorPicker.d.ts.map +1 -0
- package/esm/components/QColorPicker/QColorPicker.vue.js +97 -0
- package/esm/components/QColorPicker/QColorPicker.vue2.js +4 -0
- package/esm/components/QColorPicker/index.d.ts +48 -0
- package/esm/components/QColorPicker/index.d.ts.map +1 -0
- package/esm/components/QColorPicker/index.js +6 -0
- package/esm/components/QColorPicker/types.d.ts +44 -0
- package/esm/components/QColorPicker/types.d.ts.map +1 -0
- package/esm/components/QColorPicker/types.js +6 -0
- package/esm/components/QCombobox/QCombobox.d.ts +682 -82
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.vue.js +156 -174
- package/esm/components/QCombobox/index.d.ts +1395 -2
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QCombobox/types.d.ts +14 -6
- package/esm/components/QCombobox/types.d.ts.map +1 -1
- package/esm/components/QCombobox/types.js +9 -11
- package/esm/components/QDialog/QDialog.d.ts +3 -7
- package/esm/components/QDialog/QDialog.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.vue.js +33 -33
- package/esm/components/QDialog/index.d.ts +56 -2
- package/esm/components/QDialog/index.d.ts.map +1 -1
- package/esm/components/QDialog/types.d.ts +5 -3
- 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 +2 -2
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +232 -11
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +5 -5
- package/esm/components/QDropdownMenu/index.d.ts +12 -2
- package/esm/components/QDropdownMenu/index.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/types.d.ts +5 -4
- package/esm/components/QDropdownMenu/types.d.ts.map +1 -1
- package/esm/components/QField/QField.d.ts +5 -7
- package/esm/components/QField/QField.d.ts.map +1 -1
- package/esm/components/QField/QField.vue.js +25 -25
- package/esm/components/QField/index.d.ts +37 -2
- package/esm/components/QField/index.d.ts.map +1 -1
- package/esm/components/QIcon/QIcon.d.ts +0 -2
- package/esm/components/QIcon/QIcon.d.ts.map +1 -1
- package/esm/components/QIcon/QIcon.vue.js +8 -8
- package/esm/components/QIcon/QIconFont.d.ts +0 -3
- package/esm/components/QIcon/QIconFont.d.ts.map +1 -1
- package/esm/components/QIcon/QIconFont.vue.js +10 -10
- package/esm/components/QIcon/QIconImg.d.ts.map +1 -1
- package/esm/components/QIcon/QIconImg.vue.js +4 -4
- package/esm/components/QIcon/QIconSvg.d.ts +0 -2
- package/esm/components/QIcon/QIconSvg.d.ts.map +1 -1
- package/esm/components/QIcon/QIconSvg.vue.js +10 -10
- package/esm/components/QIcon/index.d.ts +16 -8
- package/esm/components/QIcon/index.d.ts.map +1 -1
- package/esm/components/QInputGroup/QInputGroup.d.ts +0 -5
- package/esm/components/QInputGroup/QInputGroup.d.ts.map +1 -1
- package/esm/components/QInputGroup/QInputGroup.vue.js +24 -24
- package/esm/components/QInputGroup/index.d.ts +26 -2
- package/esm/components/QInputGroup/index.d.ts.map +1 -1
- package/esm/components/QLineLoader/QLineLoader.d.ts +1 -3
- package/esm/components/QLineLoader/QLineLoader.d.ts.map +1 -1
- package/esm/components/QLineLoader/QLineLoader.vue.js +3 -3
- package/esm/components/QLineLoader/index.d.ts +1 -2
- package/esm/components/QLineLoader/index.d.ts.map +1 -1
- package/esm/components/QList/QList.d.ts +70 -9
- package/esm/components/QList/QList.d.ts.map +1 -1
- package/esm/components/QList/QList.vue.js +21 -21
- package/esm/components/QList/QListItem.d.ts +0 -2
- package/esm/components/QList/QListItem.d.ts.map +1 -1
- package/esm/components/QList/QListItem.vue.js +20 -20
- package/esm/components/QList/QListItemGroup.d.ts +1 -3
- package/esm/components/QList/QListItemGroup.d.ts.map +1 -1
- package/esm/components/QList/QListItemGroup.vue.js +6 -6
- package/esm/components/QList/index.d.ts +189 -6
- package/esm/components/QList/index.d.ts.map +1 -1
- package/esm/components/QList/types.d.ts +8 -3
- package/esm/components/QList/types.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.d.ts +4 -4
- package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.vue.js +125 -115
- package/esm/components/QOverlay/index.d.ts +78 -2
- package/esm/components/QOverlay/index.d.ts.map +1 -1
- package/esm/components/QPopover/QPopover.d.ts +0 -1
- package/esm/components/QPopover/QPopover.d.ts.map +1 -1
- package/esm/components/QPopover/QPopover.vue.js +6 -6
- package/esm/components/QPopover/index.d.ts +49 -2
- package/esm/components/QPopover/index.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyList.d.ts +8 -5
- package/esm/components/QPropertyList/QPropertyList.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyList.vue.js +42 -41
- package/esm/components/QPropertyList/QPropertyListGroup.d.ts +0 -1
- package/esm/components/QPropertyList/QPropertyListGroup.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyListGroup.vue.js +9 -9
- package/esm/components/QPropertyList/QPropertyListPanel.d.ts +0 -1
- package/esm/components/QPropertyList/QPropertyListPanel.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyListPanel.vue.js +9 -9
- package/esm/components/QPropertyList/QPropertyListRow.d.ts +15 -18
- package/esm/components/QPropertyList/QPropertyListRow.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyListRow.vue.js +59 -54
- package/esm/components/QPropertyList/index.d.ts +117 -8
- package/esm/components/QPropertyList/index.d.ts.map +1 -1
- package/esm/components/QPropertyList/types.d.ts +8 -4
- package/esm/components/QPropertyList/types.d.ts.map +1 -1
- package/esm/components/QRemoveScrollBar/QRemoveScrollBar.d.ts +0 -2
- package/esm/components/QRemoveScrollBar/QRemoveScrollBar.d.ts.map +1 -1
- package/esm/components/QRemoveScrollBar/QRemoveScrollBar.vue.js +11 -11
- package/esm/components/QRemoveScrollBar/index.d.ts +23 -2
- package/esm/components/QRemoveScrollBar/index.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.d.ts +309 -29
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +112 -129
- package/esm/components/QSelect/index.d.ts +314 -2
- package/esm/components/QSelect/index.d.ts.map +1 -1
- package/esm/components/QSelect/types.d.ts +13 -5
- package/esm/components/QSelect/types.d.ts.map +1 -1
- package/esm/components/QSelect/types.js +9 -11
- package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts +1 -5
- package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts.map +1 -1
- package/esm/components/QSkeletonLoader/QSkeletonLoader.vue.js +13 -13
- package/esm/components/QSkeletonLoader/index.d.ts +1 -2
- package/esm/components/QSkeletonLoader/index.d.ts.map +1 -1
- package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts +0 -1
- package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts.map +1 -1
- package/esm/components/QSpinnerLoader/QSpinnerLoader.vue.js +8 -8
- package/esm/components/QSpinnerLoader/index.d.ts +3 -2
- package/esm/components/QSpinnerLoader/index.d.ts.map +1 -1
- package/esm/components/QTextField/QTextField.d.ts +79 -22
- package/esm/components/QTextField/QTextField.d.ts.map +1 -1
- package/esm/components/QTextField/QTextField.vue.js +18 -18
- package/esm/components/QTextField/index.d.ts +122 -2
- package/esm/components/QTextField/index.d.ts.map +1 -1
- package/esm/components/QThemeProvider/QThemeProvider.d.ts.map +1 -1
- package/esm/components/QThemeProvider/QThemeProvider.vue.js +9 -8
- package/esm/components/QThemeProvider/index.d.ts +17 -2
- package/esm/components/QThemeProvider/index.d.ts.map +1 -1
- package/esm/components/QThemeProvider/types.d.ts +1 -1
- package/esm/components/QTooltip/QTooltip.d.ts +0 -4
- package/esm/components/QTooltip/QTooltip.d.ts.map +1 -1
- package/esm/components/QTooltip/QTooltip.vue.js +17 -17
- package/esm/components/QTooltip/index.d.ts +62 -2
- package/esm/components/QTooltip/index.d.ts.map +1 -1
- package/esm/components/__internal__/QChevron/QChevron.d.ts +14 -0
- package/esm/components/__internal__/QChevron/QChevron.d.ts.map +1 -0
- package/esm/components/__internal__/QChevron/QChevron.vue.js +23 -0
- package/esm/components/__internal__/QChevron/QChevron.vue2.js +4 -0
- package/esm/components/__internal__/QChevron/index.d.ts +13 -0
- package/esm/components/__internal__/QChevron/index.d.ts.map +1 -0
- package/esm/components/__internal__/QChevron/index.js +6 -0
- package/esm/components/__internal__/QChevron/types.d.ts +16 -0
- package/esm/components/__internal__/QChevron/types.d.ts.map +1 -0
- package/esm/components/__internal__/QChevron/types.js +8 -0
- package/esm/components/__internal__/QClearButton/QClearButton.d.ts +11 -0
- package/esm/components/__internal__/QClearButton/QClearButton.d.ts.map +1 -0
- package/esm/components/__internal__/QClearButton/QClearButton.vue.js +39 -0
- package/esm/components/__internal__/QClearButton/QClearButton.vue2.js +4 -0
- package/esm/components/__internal__/QClearButton/index.d.ts +12 -0
- package/esm/components/__internal__/QClearButton/index.d.ts.map +1 -0
- package/esm/components/__internal__/QClearButton/index.js +6 -0
- package/esm/components/__internal__/QClearButton/types.d.ts +23 -0
- package/esm/components/__internal__/QClearButton/types.d.ts.map +1 -0
- package/esm/components/__internal__/QClearButton/types.js +11 -0
- package/esm/components/index.d.ts +1 -0
- package/esm/components/index.d.ts.map +1 -1
- package/esm/components/index.js +48 -46
- package/esm/composables/group.js +5 -5
- package/esm/composables/theme.d.ts +54 -6
- package/esm/composables/theme.d.ts.map +1 -1
- package/esm/composables/theme.js +10 -12
- package/esm/framework.d.ts +17 -20
- package/esm/framework.d.ts.map +1 -1
- package/esm/framework.js +22 -25
- package/esm/index.d.ts +1 -0
- package/esm/templates/theme.js +16 -16
- package/esm/utils/color.d.ts +2 -1
- package/esm/utils/color.d.ts.map +1 -1
- package/esm/utils/color.js +19 -19
- package/esm/utils/setupPropsProxy.d.ts +22 -9
- package/esm/utils/setupPropsProxy.d.ts.map +1 -1
- package/esm/utils/setupPropsProxy.js +22 -22
- package/esm/utils/theme.d.ts +13 -1
- package/esm/utils/theme.d.ts.map +1 -1
- package/esm/utils/theme.js +40 -24
- package/package.json +18 -22
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { QPropertyListGroup as
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as G, ref as d, computed as v, createElementBlock as u, openBlock as r, normalizeClass as _, createElementVNode as i, createBlock as p, createCommentVNode as c, Fragment as f, renderList as h, unref as m, withCtx as F, renderSlot as k } from "vue";
|
|
2
|
+
import { QPropertyListGroup as V, QPropertyListRow as Q, QPropertyListPanel as S } from "./index.js";
|
|
3
|
+
import { DEFAULT_TEXTS as U, DEFAULT_ICONS as A } from "./types.js";
|
|
4
|
+
const N = { class: "q-property-list__table" }, z = /* @__PURE__ */ G({
|
|
5
5
|
__name: "QPropertyList",
|
|
6
6
|
props: {
|
|
7
7
|
fields: { default: () => [] },
|
|
@@ -10,15 +10,15 @@ const O = { class: "q-property-list__table" }, $ = /* @__PURE__ */ w({
|
|
|
10
10
|
panelPosition: { default: "bottom" },
|
|
11
11
|
groups: { default: () => [] },
|
|
12
12
|
readonly: { type: Boolean },
|
|
13
|
-
class: {
|
|
13
|
+
class: {},
|
|
14
14
|
icons: { default: () => A },
|
|
15
|
-
texts: { default: () =>
|
|
15
|
+
texts: { default: () => U }
|
|
16
16
|
},
|
|
17
|
-
emits: ["field-change"],
|
|
18
|
-
setup(
|
|
19
|
-
const t =
|
|
17
|
+
emits: ["field-change", "select-field"],
|
|
18
|
+
setup(P, { emit: x }) {
|
|
19
|
+
const t = P, y = x, a = d(t.groups.map((e) => e.id)), s = d(void 0), g = d(null), C = v(() => t.groups.length ? t.groups.filter(
|
|
20
20
|
(e) => t.fields.some((o) => o.group === e.id)
|
|
21
|
-
) : [{ id: "", title: "" }]), L =
|
|
21
|
+
) : [{ id: "", title: "" }]), L = v(() => [
|
|
22
22
|
t.class,
|
|
23
23
|
{
|
|
24
24
|
"q-property-list--side-panel": t.panelPosition === "right"
|
|
@@ -26,18 +26,18 @@ const O = { class: "q-property-list__table" }, $ = /* @__PURE__ */ w({
|
|
|
26
26
|
]);
|
|
27
27
|
function T() {
|
|
28
28
|
var e;
|
|
29
|
-
(e =
|
|
29
|
+
(e = g.value) != null && e.contains(document.activeElement) || (s.value = void 0);
|
|
30
30
|
}
|
|
31
31
|
function q(e) {
|
|
32
32
|
return e ? t.fields.filter((o) => o.group === e) : t.fields;
|
|
33
33
|
}
|
|
34
34
|
function B(e) {
|
|
35
|
-
const o =
|
|
36
|
-
o === -1 ?
|
|
35
|
+
const o = a.value.indexOf(e);
|
|
36
|
+
o === -1 ? a.value.push(e) : a.value.splice(o, 1);
|
|
37
37
|
}
|
|
38
38
|
function E(e) {
|
|
39
39
|
var l;
|
|
40
|
-
const o = e.group && !
|
|
40
|
+
const o = e.group && !a.value.includes(e.group), n = ((l = s.value) == null ? void 0 : l.id) === e.id;
|
|
41
41
|
return [
|
|
42
42
|
{
|
|
43
43
|
"q-property-list__row--closed": o,
|
|
@@ -46,22 +46,22 @@ const O = { class: "q-property-list__table" }, $ = /* @__PURE__ */ w({
|
|
|
46
46
|
];
|
|
47
47
|
}
|
|
48
48
|
function R(e) {
|
|
49
|
-
|
|
49
|
+
s.value = e, y("select-field", s.value.id);
|
|
50
50
|
}
|
|
51
51
|
function b(e, o) {
|
|
52
|
-
t.readonly || (e.props.readonly ?? !1) || (
|
|
52
|
+
t.readonly || (e.props.readonly ?? !1) || y("field-change", e, o);
|
|
53
53
|
}
|
|
54
|
-
return (e, o) => (
|
|
54
|
+
return (e, o) => (r(), u(
|
|
55
55
|
"div",
|
|
56
56
|
{
|
|
57
57
|
ref_key: "componentRoot",
|
|
58
|
-
ref:
|
|
58
|
+
ref: g,
|
|
59
59
|
tabindex: "0",
|
|
60
|
-
class:
|
|
60
|
+
class: _(["q-property-list", L.value]),
|
|
61
61
|
onFocusout: T
|
|
62
62
|
},
|
|
63
63
|
[
|
|
64
|
-
i("table",
|
|
64
|
+
i("table", N, [
|
|
65
65
|
o[0] || (o[0] = i(
|
|
66
66
|
"thead",
|
|
67
67
|
{ class: "q-property-list__header" },
|
|
@@ -74,40 +74,41 @@ const O = { class: "q-property-list__table" }, $ = /* @__PURE__ */ w({
|
|
|
74
74
|
/* HOISTED */
|
|
75
75
|
)),
|
|
76
76
|
i("tbody", null, [
|
|
77
|
-
(
|
|
78
|
-
|
|
77
|
+
(r(!0), u(
|
|
78
|
+
f,
|
|
79
79
|
null,
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
h(C.value, (n) => (r(), u(
|
|
81
|
+
f,
|
|
82
82
|
{
|
|
83
83
|
key: n.id
|
|
84
84
|
},
|
|
85
85
|
[
|
|
86
|
-
n.title ? (
|
|
86
|
+
n.title ? (r(), p(m(V), {
|
|
87
87
|
key: 0,
|
|
88
88
|
id: n.id,
|
|
89
89
|
title: n.title,
|
|
90
90
|
icons: t.icons,
|
|
91
91
|
"no-toggle": t.noToggle,
|
|
92
92
|
onToggleGroup: B
|
|
93
|
-
}, null, 8, ["id", "title", "icons", "no-toggle"])) :
|
|
94
|
-
(
|
|
95
|
-
|
|
93
|
+
}, null, 8, ["id", "title", "icons", "no-toggle"])) : c("v-if", !0),
|
|
94
|
+
(r(!0), u(
|
|
95
|
+
f,
|
|
96
96
|
null,
|
|
97
|
-
|
|
97
|
+
h(q(n.id), (l) => (r(), p(m(Q), {
|
|
98
98
|
key: l.id,
|
|
99
|
-
class:
|
|
99
|
+
class: _(E(l)),
|
|
100
100
|
field: l,
|
|
101
|
+
"model-value": l.props.modelValue,
|
|
101
102
|
readonly: t.readonly,
|
|
102
103
|
onFocus: R,
|
|
103
|
-
|
|
104
|
+
"onUpdate:modelValue": (w) => b(l, w)
|
|
104
105
|
}, {
|
|
105
|
-
default:
|
|
106
|
-
|
|
106
|
+
default: F(() => [
|
|
107
|
+
k(e.$slots, l.id, { field: l })
|
|
107
108
|
]),
|
|
108
109
|
_: 2
|
|
109
110
|
/* DYNAMIC */
|
|
110
|
-
}, 1032, ["class", "field", "readonly"]))),
|
|
111
|
+
}, 1032, ["class", "field", "model-value", "readonly", "onUpdate:modelValue"]))),
|
|
111
112
|
128
|
|
112
113
|
/* KEYED_FRAGMENT */
|
|
113
114
|
))
|
|
@@ -120,16 +121,16 @@ const O = { class: "q-property-list__table" }, $ = /* @__PURE__ */ w({
|
|
|
120
121
|
))
|
|
121
122
|
])
|
|
122
123
|
]),
|
|
123
|
-
t.noPanel ?
|
|
124
|
+
t.noPanel ? c("v-if", !0) : (r(), p(m(S), {
|
|
124
125
|
key: 0,
|
|
125
|
-
field:
|
|
126
|
+
field: s.value,
|
|
126
127
|
texts: t.texts
|
|
127
128
|
}, {
|
|
128
|
-
default:
|
|
129
|
-
|
|
129
|
+
default: F(() => [
|
|
130
|
+
s.value ? k(e.$slots, "panel", {
|
|
130
131
|
key: 0,
|
|
131
|
-
field:
|
|
132
|
-
}) :
|
|
132
|
+
field: s.value
|
|
133
|
+
}) : c("v-if", !0)
|
|
133
134
|
]),
|
|
134
135
|
_: 3
|
|
135
136
|
/* FORWARDED */
|
|
@@ -141,5 +142,5 @@ const O = { class: "q-property-list__table" }, $ = /* @__PURE__ */ w({
|
|
|
141
142
|
}
|
|
142
143
|
});
|
|
143
144
|
export {
|
|
144
|
-
|
|
145
|
+
z as default
|
|
145
146
|
};
|
|
@@ -5,7 +5,6 @@ declare const _default: import('vue').DefineComponent<QPropertyListGroupProps, {
|
|
|
5
5
|
"onToggle-group"?: ((id: string) => any) | undefined;
|
|
6
6
|
}>, {
|
|
7
7
|
icons: typeof DEFAULT_ICONS;
|
|
8
|
-
noToggle: boolean;
|
|
9
8
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLTableRowElement>;
|
|
10
9
|
export default _default;
|
|
11
10
|
//# sourceMappingURL=QPropertyListGroup.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QPropertyListGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QPropertyList/QPropertyListGroup.vue"],"names":[],"mappings":"AAuBA;
|
|
1
|
+
{"version":3,"file":"QPropertyListGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QPropertyList/QPropertyListGroup.vue"],"names":[],"mappings":"AAuBA;AAwEC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAA;AAGtD,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;;;;;;;;AA2HxC,wBASG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as m, ref as g, computed as n,
|
|
1
|
+
import { defineComponent as m, ref as g, computed as n, createElementBlock as _, openBlock as i, unref as o, normalizeClass as f, createElementVNode as s, createBlock as y, createCommentVNode as k, createTextVNode as v, withCtx as C, createVNode as b, normalizeProps as T, guardReactiveProps as h, toDisplayString as x } from "vue";
|
|
2
2
|
import { QButton as B } from "../QButton/index.js";
|
|
3
3
|
import { QIcon as N } from "../QIcon/index.js";
|
|
4
4
|
import { useId as V } from "../../composables/uid.js";
|
|
@@ -8,7 +8,7 @@ const E = ["data-key", "aria-labelledby"], I = ["id"], P = { class: "q-property-
|
|
|
8
8
|
props: {
|
|
9
9
|
id: {},
|
|
10
10
|
title: {},
|
|
11
|
-
noToggle: { type: Boolean
|
|
11
|
+
noToggle: { type: Boolean },
|
|
12
12
|
icons: { default: () => q },
|
|
13
13
|
texts: {}
|
|
14
14
|
},
|
|
@@ -23,8 +23,8 @@ const E = ["data-key", "aria-labelledby"], I = ["id"], P = { class: "q-property-
|
|
|
23
23
|
function l() {
|
|
24
24
|
e.noToggle || (t.value = !t.value, p("toggle-group", e.id));
|
|
25
25
|
}
|
|
26
|
-
return (Q, z) => (i(),
|
|
27
|
-
class:
|
|
26
|
+
return (Q, z) => (i(), _("tr", {
|
|
27
|
+
class: f(d.value),
|
|
28
28
|
role: "group",
|
|
29
29
|
"data-key": e.id,
|
|
30
30
|
"aria-labelledby": o(r),
|
|
@@ -35,16 +35,16 @@ const E = ["data-key", "aria-labelledby"], I = ["id"], P = { class: "q-property-
|
|
|
35
35
|
colspan: "2"
|
|
36
36
|
}, [
|
|
37
37
|
s("div", P, [
|
|
38
|
-
e.noToggle ?
|
|
38
|
+
e.noToggle ? k("v-if", !0) : (i(), y(o(B), {
|
|
39
39
|
key: 0,
|
|
40
40
|
"b-style": "tertiary",
|
|
41
41
|
borderless: "",
|
|
42
42
|
onClick: l
|
|
43
43
|
}, {
|
|
44
|
-
default:
|
|
45
|
-
|
|
44
|
+
default: C(() => [
|
|
45
|
+
b(
|
|
46
46
|
o(N),
|
|
47
|
-
|
|
47
|
+
T(h(u.value)),
|
|
48
48
|
null,
|
|
49
49
|
16
|
|
50
50
|
/* FULL_PROPS */
|
|
@@ -53,7 +53,7 @@ const E = ["data-key", "aria-labelledby"], I = ["id"], P = { class: "q-property-
|
|
|
53
53
|
_: 1
|
|
54
54
|
/* STABLE */
|
|
55
55
|
})),
|
|
56
|
-
|
|
56
|
+
v(
|
|
57
57
|
" " + x(e.title),
|
|
58
58
|
1
|
|
59
59
|
/* TEXT */
|
|
@@ -10,7 +10,6 @@ declare function __VLS_template(): {
|
|
|
10
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
11
|
declare const __VLS_component: import('vue').DefineComponent<QPropertyListPanelProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<QPropertyListPanelProps> & Readonly<{}>, {
|
|
12
12
|
texts: typeof DEFAULT_TEXTS;
|
|
13
|
-
field: import('./types').QPropertyListField;
|
|
14
13
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
14
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
15
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QPropertyListPanel.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QPropertyList/QPropertyListPanel.vue"],"names":[],"mappings":"AAeA;
|
|
1
|
+
{"version":3,"file":"QPropertyListPanel.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QPropertyList/QPropertyListPanel.vue"],"names":[],"mappings":"AAeA;AA8BC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAA;AAGtD,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAYxC,iBAAS,cAAc;WAwCT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;wFAQnB,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,34 +1,34 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as n, createElementBlock as s, openBlock as o, renderSlot as p, createElementVNode as l, toDisplayString as t } from "vue";
|
|
2
2
|
import { DEFAULT_TEXTS as a } from "./types.js";
|
|
3
|
-
const
|
|
3
|
+
const _ = { class: "q-property-list-panel__container" }, c = { class: "q-property-list-panel__label" }, d = { class: "q-property-list-panel__description" }, f = {
|
|
4
4
|
key: 1,
|
|
5
5
|
class: "q-property-list-panel__empty"
|
|
6
|
-
}, h = /* @__PURE__ */
|
|
6
|
+
}, h = /* @__PURE__ */ n({
|
|
7
7
|
__name: "QPropertyListPanel",
|
|
8
8
|
props: {
|
|
9
|
-
field: {
|
|
9
|
+
field: {},
|
|
10
10
|
icons: {},
|
|
11
11
|
texts: { default: () => a }
|
|
12
12
|
},
|
|
13
13
|
setup(i) {
|
|
14
14
|
const e = i;
|
|
15
|
-
return (
|
|
16
|
-
e.field ? p(
|
|
15
|
+
return (r, m) => (o(), s("div", _, [
|
|
16
|
+
e.field ? p(r.$slots, "default", { key: 0 }, () => [
|
|
17
17
|
l(
|
|
18
18
|
"div",
|
|
19
|
-
|
|
19
|
+
c,
|
|
20
20
|
t(e.field.label),
|
|
21
21
|
1
|
|
22
22
|
/* TEXT */
|
|
23
23
|
),
|
|
24
24
|
l(
|
|
25
25
|
"div",
|
|
26
|
-
|
|
26
|
+
d,
|
|
27
27
|
t(e.field.description),
|
|
28
28
|
1
|
|
29
29
|
/* TEXT */
|
|
30
30
|
)
|
|
31
|
-
]) : (
|
|
31
|
+
]) : (o(), s(
|
|
32
32
|
"div",
|
|
33
33
|
f,
|
|
34
34
|
t(e.texts.emptyMessage),
|
|
@@ -1,25 +1,22 @@
|
|
|
1
1
|
import { QPropertyListField, QPropertyListRowProps } from './types';
|
|
2
|
-
declare
|
|
3
|
-
|
|
2
|
+
declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
4
|
+
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
5
|
+
readonly onFocus?: ((field: QPropertyListField) => any) | undefined;
|
|
6
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue" | "onFocus"> & ({
|
|
7
|
+
modelValue?: T;
|
|
8
|
+
} & QPropertyListRowProps) & Partial<{}>> & import('vue').PublicProps;
|
|
9
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
10
|
+
attrs: any;
|
|
4
11
|
slots: {
|
|
5
12
|
default?(_: {}): any;
|
|
6
13
|
};
|
|
7
|
-
|
|
8
|
-
|
|
14
|
+
emit: ((e: "focus", field: QPropertyListField) => void) & ((evt: "update:modelValue", value: T) => void);
|
|
15
|
+
}>) => import('vue').VNode & {
|
|
16
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
9
17
|
};
|
|
10
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
-
declare const __VLS_component: import('vue').DefineComponent<QPropertyListRowProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
12
|
-
focus: (field: QPropertyListField) => any;
|
|
13
|
-
"field-change": (field: QPropertyListField, value: unknown) => any;
|
|
14
|
-
}, string, import('vue').PublicProps, Readonly<QPropertyListRowProps> & Readonly<{
|
|
15
|
-
onFocus?: ((field: QPropertyListField) => any) | undefined;
|
|
16
|
-
"onField-change"?: ((field: QPropertyListField, value: unknown) => any) | undefined;
|
|
17
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLTableRowElement>;
|
|
18
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
18
|
export default _default;
|
|
20
|
-
type
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
};
|
|
24
|
-
};
|
|
19
|
+
type __VLS_PrettifyLocal<T> = {
|
|
20
|
+
[K in keyof T]: T[K];
|
|
21
|
+
} & {};
|
|
25
22
|
//# sourceMappingURL=QPropertyListRow.vue.d.ts.map
|
|
@@ -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":"AA2BA;AAoFC,OAAO,KAAK,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,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;WAiJ1D,mBAAmB,CAAC;;;;qBAtFf,CAAC;4CAsFgF,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;yBAlCkB,GAAG;;UAoCzB,KA/ID,OAAO,SAAS,kBAAkB,KAAG,IAAI,kDA+IJ;OAG/B,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AA3JxE,wBA2J2E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -1,67 +1,72 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as g, mergeModels as i, useModel as k, computed as l, createElementBlock as d, openBlock as r, normalizeClass as p, createElementVNode as c, withModifiers as u, toDisplayString as B, renderSlot as M, createCommentVNode as b, createBlock as h, resolveDynamicComponent as w, mergeProps as P } from "vue";
|
|
2
|
+
const D = ["data-group"], E = {
|
|
3
3
|
key: 0,
|
|
4
4
|
class: "q-property-list-field__container"
|
|
5
|
-
},
|
|
5
|
+
}, N = /* @__PURE__ */ g({
|
|
6
6
|
__name: "QPropertyListRow",
|
|
7
|
-
props: {
|
|
7
|
+
props: /* @__PURE__ */ i({
|
|
8
8
|
field: {},
|
|
9
9
|
class: {},
|
|
10
10
|
readonly: { type: Boolean }
|
|
11
|
-
},
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
11
|
+
}, {
|
|
12
|
+
modelValue: {},
|
|
13
|
+
modelModifiers: {}
|
|
14
|
+
}),
|
|
15
|
+
emits: /* @__PURE__ */ i(["focus"], ["update:modelValue"]),
|
|
16
|
+
setup(n, { emit: m }) {
|
|
17
|
+
const e = n, f = m, t = k(n, "modelValue"), _ = l(() => ["q-property-list__row", e.class]), y = l(() => {
|
|
18
|
+
var o;
|
|
19
|
+
return [
|
|
20
|
+
"q-property-list__cell",
|
|
21
|
+
"q-property-list__cell-label",
|
|
22
|
+
{
|
|
23
|
+
"q-property-list__cell--required": (o = e.field.props) == null ? void 0 : o.required
|
|
24
|
+
}
|
|
25
|
+
];
|
|
26
|
+
}), v = l(() => e.readonly || (e.field.props.readonly ?? !1)), V = l(() => ({
|
|
26
27
|
...e.field.props,
|
|
27
|
-
readonly:
|
|
28
|
+
readonly: v.value
|
|
28
29
|
}));
|
|
29
|
-
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
30
|
+
function s() {
|
|
31
|
+
f("focus", e.field);
|
|
32
|
+
}
|
|
33
|
+
function q(o) {
|
|
34
|
+
t.value = o;
|
|
35
|
+
}
|
|
36
|
+
return (o, a) => (r(), d("tr", {
|
|
37
|
+
class: p(_.value),
|
|
38
|
+
"data-group": e.field.group,
|
|
39
|
+
onFocusin: s
|
|
40
|
+
}, [
|
|
41
|
+
c(
|
|
42
|
+
"td",
|
|
43
|
+
{
|
|
44
|
+
class: p(y.value),
|
|
45
|
+
onClick: u(s, ["prevent", "stop"])
|
|
46
|
+
},
|
|
47
|
+
B(e.field.label),
|
|
48
|
+
3
|
|
49
|
+
/* TEXT, CLASS */
|
|
50
|
+
),
|
|
51
|
+
c("td", {
|
|
52
|
+
class: "q-property-list__cell",
|
|
53
|
+
onClick: u(s, ["prevent", "stop"])
|
|
54
|
+
}, [
|
|
55
|
+
M(o.$slots, "default", {}, () => [
|
|
56
|
+
e.field.component ? (r(), d("div", E, [
|
|
57
|
+
(r(), h(w(e.field.component), P(V.value, {
|
|
58
|
+
modelValue: t.value,
|
|
59
|
+
"onUpdate:modelValue": [
|
|
60
|
+
a[0] || (a[0] = (C) => t.value = C),
|
|
61
|
+
q
|
|
62
|
+
]
|
|
63
|
+
}), null, 16, ["modelValue"]))
|
|
64
|
+
])) : b("v-if", !0)
|
|
58
65
|
])
|
|
59
|
-
]
|
|
60
|
-
|
|
61
|
-
/* CLASS, NEED_HYDRATION */
|
|
62
|
-
));
|
|
66
|
+
])
|
|
67
|
+
], 42, D));
|
|
63
68
|
}
|
|
64
69
|
});
|
|
65
70
|
export {
|
|
66
|
-
|
|
71
|
+
N as default
|
|
67
72
|
};
|
|
@@ -1,12 +1,121 @@
|
|
|
1
|
-
import { default as _QPropertyList } from './QPropertyList';
|
|
2
|
-
import { default as _QPropertyListRow } from './QPropertyListRow';
|
|
3
|
-
import { default as _QPropertyListGroup } from './QPropertyListGroup';
|
|
4
|
-
import { default as _QPropertyListPanel } from './QPropertyListPanel';
|
|
5
1
|
import { QPropertyListProps, QPropertyListRowProps, QPropertyListGroupProps, QPropertyListPanelProps } from './types';
|
|
6
|
-
declare const QPropertyList:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
declare const QPropertyList: {
|
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<QPropertyListProps> & Readonly<{
|
|
4
|
+
"onField-change"?: ((field: import('./types').QPropertyListField, value: unknown) => any) | undefined;
|
|
5
|
+
"onSelect-field"?: ((fieldId: string) => any) | undefined;
|
|
6
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
7
|
+
"field-change": (field: import('./types').QPropertyListField, value: unknown) => any;
|
|
8
|
+
"select-field": (fieldId: string) => any;
|
|
9
|
+
}, import('vue').PublicProps, {
|
|
10
|
+
icons: typeof import('./types').DEFAULT_ICONS;
|
|
11
|
+
texts: typeof import('./types').DEFAULT_TEXTS;
|
|
12
|
+
groups: QPropertyListGroupProps[];
|
|
13
|
+
fields: import('./types').QPropertyListField[];
|
|
14
|
+
panelPosition: import('./types').PanelPosition;
|
|
15
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
16
|
+
componentRoot: HTMLDivElement;
|
|
17
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
18
|
+
P: {};
|
|
19
|
+
B: {};
|
|
20
|
+
D: {};
|
|
21
|
+
C: {};
|
|
22
|
+
M: {};
|
|
23
|
+
Defaults: {};
|
|
24
|
+
}, Readonly<QPropertyListProps> & Readonly<{
|
|
25
|
+
"onField-change"?: ((field: import('./types').QPropertyListField, value: unknown) => any) | undefined;
|
|
26
|
+
"onSelect-field"?: ((fieldId: string) => any) | undefined;
|
|
27
|
+
}>, {}, {}, {}, {}, {
|
|
28
|
+
icons: typeof import('./types').DEFAULT_ICONS;
|
|
29
|
+
texts: typeof import('./types').DEFAULT_TEXTS;
|
|
30
|
+
groups: QPropertyListGroupProps[];
|
|
31
|
+
fields: import('./types').QPropertyListField[];
|
|
32
|
+
panelPosition: import('./types').PanelPosition;
|
|
33
|
+
}>;
|
|
34
|
+
__isFragment?: never;
|
|
35
|
+
__isTeleport?: never;
|
|
36
|
+
__isSuspense?: never;
|
|
37
|
+
} & import('vue').ComponentOptionsBase<Readonly<QPropertyListProps> & Readonly<{
|
|
38
|
+
"onField-change"?: ((field: import('./types').QPropertyListField, value: unknown) => any) | undefined;
|
|
39
|
+
"onSelect-field"?: ((fieldId: string) => any) | undefined;
|
|
40
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
41
|
+
"field-change": (field: import('./types').QPropertyListField, value: unknown) => any;
|
|
42
|
+
"select-field": (fieldId: string) => any;
|
|
43
|
+
}, string, {
|
|
44
|
+
icons: typeof import('./types').DEFAULT_ICONS;
|
|
45
|
+
texts: typeof import('./types').DEFAULT_TEXTS;
|
|
46
|
+
groups: QPropertyListGroupProps[];
|
|
47
|
+
fields: import('./types').QPropertyListField[];
|
|
48
|
+
panelPosition: import('./types').PanelPosition;
|
|
49
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
50
|
+
$slots: Partial<Record<string, (_: {
|
|
51
|
+
field: import('./types').QPropertyListField;
|
|
52
|
+
}) => any>> & {
|
|
53
|
+
panel?(_: {
|
|
54
|
+
field: {
|
|
55
|
+
id: string;
|
|
56
|
+
group?: string | undefined;
|
|
57
|
+
label: string;
|
|
58
|
+
description?: string | undefined;
|
|
59
|
+
component?: string | undefined;
|
|
60
|
+
props: Record<string, unknown>;
|
|
61
|
+
};
|
|
62
|
+
}): any;
|
|
63
|
+
};
|
|
64
|
+
});
|
|
65
|
+
declare const QPropertyListRow: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
66
|
+
slots: {
|
|
67
|
+
default?(_: {}): any;
|
|
68
|
+
};
|
|
69
|
+
attrs: any;
|
|
70
|
+
emit: ((e: "focus", field: import('./types').QPropertyListField) => void) & ((evt: "update:modelValue", value: T) => void);
|
|
71
|
+
}, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
72
|
+
props: {
|
|
73
|
+
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
74
|
+
readonly onFocus?: ((field: import('./types').QPropertyListField) => any) | undefined;
|
|
75
|
+
modelValue?: T | undefined;
|
|
76
|
+
field: import('./types').QPropertyListField;
|
|
77
|
+
class?: string | unknown[] | undefined;
|
|
78
|
+
readonly?: boolean | undefined;
|
|
79
|
+
} & import('vue').PublicProps;
|
|
80
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
81
|
+
attrs: any;
|
|
82
|
+
slots: {
|
|
83
|
+
default?(_: {}): any;
|
|
84
|
+
};
|
|
85
|
+
emit: ((e: "focus", field: import('./types').QPropertyListField) => void) & ((evt: "update:modelValue", value: T) => void);
|
|
86
|
+
}>) => import('vue').VNode & {
|
|
87
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
88
|
+
};
|
|
89
|
+
declare const QPropertyListGroup: import('vue').DefineComponent<QPropertyListGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
90
|
+
"toggle-group": (id: string) => any;
|
|
91
|
+
}, string, import('vue').PublicProps, Readonly<QPropertyListGroupProps> & Readonly<{
|
|
92
|
+
"onToggle-group"?: ((id: string) => any) | undefined;
|
|
93
|
+
}>, {
|
|
94
|
+
icons: typeof import('./types').DEFAULT_ICONS;
|
|
95
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLTableRowElement>;
|
|
96
|
+
declare const QPropertyListPanel: {
|
|
97
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<QPropertyListPanelProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
98
|
+
texts: typeof import('./types').DEFAULT_TEXTS;
|
|
99
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
100
|
+
P: {};
|
|
101
|
+
B: {};
|
|
102
|
+
D: {};
|
|
103
|
+
C: {};
|
|
104
|
+
M: {};
|
|
105
|
+
Defaults: {};
|
|
106
|
+
}, Readonly<QPropertyListPanelProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
107
|
+
texts: typeof import('./types').DEFAULT_TEXTS;
|
|
108
|
+
}>;
|
|
109
|
+
__isFragment?: never;
|
|
110
|
+
__isTeleport?: never;
|
|
111
|
+
__isSuspense?: never;
|
|
112
|
+
} & import('vue').ComponentOptionsBase<Readonly<QPropertyListPanelProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
113
|
+
texts: typeof import('./types').DEFAULT_TEXTS;
|
|
114
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
115
|
+
$slots: {
|
|
116
|
+
default?(_: {}): any;
|
|
117
|
+
};
|
|
118
|
+
});
|
|
10
119
|
export { QPropertyList, QPropertyListRow, QPropertyListGroup, QPropertyListPanel };
|
|
11
120
|
export type { QPropertyListProps, QPropertyListRowProps, QPropertyListGroupProps, QPropertyListPanelProps };
|
|
12
121
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QPropertyList/index.ts"],"names":[],"mappings":"
|
|
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;;;;;;;;;;;;;;;2BAcq6M,KAAK;;;;;;cAA4J,KAAK;SAAiB,CAAC;CAdxjN,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"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Icon } from '../QIcon';
|
|
2
1
|
/**
|
|
3
2
|
* Position where the panel should be rendered relative to the main content
|
|
4
3
|
* @value 'bottom' - Panel appears below the main content
|
|
@@ -127,7 +126,12 @@ export type QPropertyListPanelProps = {
|
|
|
127
126
|
export declare const DEFAULT_TEXTS: {
|
|
128
127
|
emptyMessage: string;
|
|
129
128
|
};
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
129
|
+
export declare const DEFAULT_ICONS: {
|
|
130
|
+
open: {
|
|
131
|
+
icon: string;
|
|
132
|
+
};
|
|
133
|
+
close: {
|
|
134
|
+
icon: string;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
133
137
|
//# sourceMappingURL=types.d.ts.map
|