eco-vue-js 0.11.32 → 0.11.33
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/components/ActionsBar/WActionsBar.vue.d.ts.map +1 -1
- package/dist/components/ActionsBar/WActionsBar.vue.js +8 -5
- package/dist/components/Button/WButtonMore.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonMore.vue.js +4 -1
- package/dist/components/Button/WButtonSelectionState.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonSelectionState.vue.js +1 -0
- package/dist/components/Button/WButtonUnselect.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonUnselect.vue.js +5 -1
- package/dist/components/Checkbox/WCheckbox.vue.d.ts.map +1 -1
- package/dist/components/Checkbox/WCheckbox.vue.js +10 -5
- package/dist/components/Dismissable/WDismissable.vue.d.ts.map +1 -1
- package/dist/components/Dismissable/WDismissable.vue.js +1 -0
- package/dist/components/FieldWrapper/components/FilterButton.vue.d.ts.map +1 -1
- package/dist/components/FieldWrapper/components/FilterButton.vue.js +4 -1
- package/dist/components/FilePicker/components/FilePickerItem.vue.d.ts.map +1 -1
- package/dist/components/FilePicker/components/FilePickerItem.vue.js +1 -0
- package/dist/components/HeaderBar/WHeaderBar.vue.d.ts.map +1 -1
- package/dist/components/HeaderBar/WHeaderBar.vue.js +1 -0
- package/dist/components/ImageViewer/WImageViewer.vue.d.ts.map +1 -1
- package/dist/components/ImageViewer/WImageViewer.vue.js +1 -0
- package/dist/components/ImageViewer/components/ImageModal.vue.d.ts.map +1 -1
- package/dist/components/ImageViewer/components/ImageModal.vue2.js +1 -0
- package/dist/components/Input/WInput.vue.d.ts +4 -2
- package/dist/components/Input/WInput.vue.d.ts.map +1 -1
- package/dist/components/Input/WInput.vue.js +5 -12
- package/dist/components/Input/WInputSuggest.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputSuggest.vue.js +16 -7
- package/dist/components/Input/WInputToolbarButton.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputToolbarButton.vue.js +8 -4
- package/dist/components/Input/components/InputActions.vue.d.ts +4 -3
- package/dist/components/Input/components/InputActions.vue.d.ts.map +1 -1
- package/dist/components/Input/components/InputActions.vue.js +7 -12
- package/dist/components/Input/components/InputActionsButton.vue.d.ts +10 -1
- package/dist/components/Input/components/InputActionsButton.vue.d.ts.map +1 -1
- package/dist/components/Input/components/InputActionsButton.vue.js +18 -11
- package/dist/components/Input/components/InputToolbarButton.vue.d.ts +1 -0
- package/dist/components/Input/components/InputToolbarButton.vue.d.ts.map +1 -1
- package/dist/components/Input/components/InputToolbarButton.vue.js +6 -3
- package/dist/components/Input/models/toolbarActions.d.ts.map +1 -1
- package/dist/components/Input/models/toolbarActions.js +4 -2
- package/dist/components/Input/types.d.ts +2 -0
- package/dist/components/Input/types.d.ts.map +1 -1
- package/dist/components/List/components/HeaderItemResizer.vue.d.ts.map +1 -1
- package/dist/components/List/components/HeaderItemResizer.vue.js +1 -0
- package/dist/components/List/components/HeaderSettings.vue.d.ts.map +1 -1
- package/dist/components/List/components/HeaderSettings.vue.js +6 -3
- package/dist/components/List/components/HeaderSettingsList.vue.d.ts.map +1 -1
- package/dist/components/List/components/HeaderSettingsList.vue.js +7 -2
- package/dist/components/List/components/HeaderSettingsModeButton.vue.d.ts +1 -0
- package/dist/components/List/components/HeaderSettingsModeButton.vue.d.ts.map +1 -1
- package/dist/components/List/components/HeaderSettingsModeButton.vue.js +5 -1
- package/dist/components/List/use/useListConfig.d.ts +1 -0
- package/dist/components/List/use/useListConfig.d.ts.map +1 -1
- package/dist/components/List/use/useListConfig.js +5 -1
- package/dist/components/Modal/components/ModalCloseButton.vue.js +1 -1
- package/dist/components/Tabs/WTabs.vue.d.ts.map +1 -1
- package/dist/components/Tabs/WTabs.vue.js +1 -0
- package/dist/components/Toggle/WToggle.vue.d.ts.map +1 -1
- package/dist/components/Toggle/WToggle.vue.js +5 -1
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WActionsBar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ActionsBar/WActionsBar.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WActionsBar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ActionsBar/WActionsBar.vue"],"names":[],"mappings":"AAgFA;AAuIA,OAAO,EAAC,KAAK,SAAS,EAAE,KAAK,KAAK,EAAsD,MAAM,KAAK,CAAA;AAYnG,KAAK,WAAW,GAAG;IACjB,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAC;AAuCF,iBAAS,cAAc;WAmHT,OAAO,IAA6B;;cA1H1C,MAAM,KAAK,EAAE;iBACV,MAAM,KAAK,EAAE;iBACb,MAAM,KAAK,EAAE;;cAFhB,MAAM,KAAK,EAAE;iBACV,MAAM,KAAK,EAAE;iBACb,MAAM,KAAK,EAAE;;;;EA6HvB;AAmBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -9,8 +9,9 @@ import { useActionBarFilter } from './use/useActionsBarFilter.js';
|
|
9
9
|
const _hoisted_1 = { class: "no-scrollbar relative col-start-1 row-span-2 grid grid-cols-[--actions-bar-filter-width] justify-self-end overflow-y-auto overflow-x-hidden overscroll-contain" };
|
10
10
|
const _hoisted_2 = { class: "pb-16" };
|
11
11
|
const _hoisted_3 = { class: "relative row-span-2 grid h-full grid-cols-1 grid-rows-subgrid overflow-x-hidden overscroll-contain" };
|
12
|
-
const _hoisted_4 =
|
13
|
-
const _hoisted_5 = {
|
12
|
+
const _hoisted_4 = ["aria-expanded"];
|
13
|
+
const _hoisted_5 = { class: "row-start-2 grid grid-rows-[1fr,auto]" };
|
14
|
+
const _hoisted_6 = {
|
14
15
|
key: 0,
|
15
16
|
class: "mx-1 my-2 h-0.5 rounded bg-gray-200 md:my-4 dark:bg-gray-700"
|
16
17
|
};
|
@@ -58,16 +59,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
58
59
|
hasFilter.value ? (openBlock(), createElementBlock("button", {
|
59
60
|
key: 0,
|
60
61
|
class: "w-ripple w-ripple-hover relative row-start-1 flex cursor-pointer select-none items-center justify-center",
|
62
|
+
"aria-expanded": isOpen.value,
|
63
|
+
"aria-label": "Toggle filters",
|
61
64
|
onClick: toggle
|
62
65
|
}, [
|
63
66
|
createVNode(unref(IconBack), {
|
64
67
|
class: normalizeClass(["text-description square-4 transition-transform", { "[transform:rotateY(180deg)]": isOpen.value }])
|
65
68
|
}, null, 8, ["class"])
|
66
|
-
])) : createCommentVNode("", true),
|
67
|
-
createElementVNode("div",
|
69
|
+
], 8, _hoisted_4)) : createCommentVNode("", true),
|
70
|
+
createElementVNode("div", _hoisted_5, [
|
68
71
|
createElementVNode("div", null, [
|
69
72
|
renderSlot(_ctx.$slots, "top"),
|
70
|
-
_ctx.$slots.top && (hasFilter.value || _ctx.bottom || _ctx.$slots.bottom) ? (openBlock(), createElementBlock("div",
|
73
|
+
_ctx.$slots.top && (hasFilter.value || _ctx.bottom || _ctx.$slots.bottom) ? (openBlock(), createElementBlock("div", _hoisted_6)) : createCommentVNode("", true),
|
71
74
|
hasFilter.value ? (openBlock(), createBlock(_sfc_main$1, {
|
72
75
|
key: 1,
|
73
76
|
title: _ctx.textFilter ?? "Filters",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WButtonMore.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonMore.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WButtonMore.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonMore.vue"],"names":[],"mappings":"AA0DA;AA2GA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAA;AAWpD,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,aAAa,CAAC,eAAe,CAAC,CAAA;CACxC,CAAC;AAuCF,iBAAS,cAAc;WA+GT,OAAO,IAA6B;;yBAXpB,GAAG;;;;EAgBhC;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;gGASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -4,7 +4,7 @@ import _sfc_main$1 from '../DropdownMenu/WDropdownMenu.vue.js';
|
|
4
4
|
import IconMore from '../../assets/icons/IconMore.svg.js';
|
5
5
|
import { HorizontalAlign } from '../../utils/HorizontalAlign.js';
|
6
6
|
|
7
|
-
const _hoisted_1 = ["disabled"];
|
7
|
+
const _hoisted_1 = ["disabled", "aria-expanded", "aria-disabled"];
|
8
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
9
9
|
__name: "WButtonMore",
|
10
10
|
props: {
|
@@ -40,6 +40,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
40
40
|
"w-hover-circle-trigger cursor-pointer": !_ctx.disabled,
|
41
41
|
"cursor-not-allowed opacity-50": _ctx.disabled
|
42
42
|
}, "flex justify-center outline-none"],
|
43
|
+
"aria-expanded": isOpen.value,
|
44
|
+
"aria-disabled": _ctx.disabled,
|
45
|
+
"aria-label": "More options",
|
43
46
|
onClick: toggle
|
44
47
|
}), [
|
45
48
|
createVNode(_sfc_main$1, {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WButtonSelectionState.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonSelectionState.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WButtonSelectionState.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonSelectionState.vue"],"names":[],"mappings":"AAeA;AAiCA,iBAAS,cAAc;WA2CT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;4FAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -14,6 +14,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
14
14
|
]),
|
15
15
|
createElementVNode("button", {
|
16
16
|
class: "text-description w-ripple w-ripple-hover relative flex cursor-pointer select-none items-center justify-self-end",
|
17
|
+
"aria-label": "Remove selection",
|
17
18
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("click", $event))
|
18
19
|
}, [
|
19
20
|
createVNode(unref(IconCancel), { class: "square-[1.25em] mx-[--w-list-padding,1rem]" })
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WButtonUnselect.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonUnselect.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WButtonUnselect.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonUnselect.vue"],"names":[],"mappings":"AAiBA;AAkCA,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAC;;;;;;;;AAuEF,wBAQG"}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, normalizeClass, createVNode, unref } from 'vue';
|
2
2
|
import IconCancel from '../../assets/icons/IconCancel.svg.js';
|
3
3
|
|
4
|
+
const _hoisted_1 = ["disabled", "aria-disabled"];
|
4
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
5
6
|
__name: "WButtonUnselect",
|
6
7
|
props: {
|
@@ -16,11 +17,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
16
17
|
"cursor-progress": _ctx.loading,
|
17
18
|
"w-ripple w-ripple-hover cursor-pointer ": !_ctx.loading && !_ctx.disabled
|
18
19
|
}]),
|
20
|
+
disabled: _ctx.disabled,
|
21
|
+
"aria-disabled": _ctx.disabled || _ctx.loading,
|
22
|
+
"aria-label": "Clear selection",
|
19
23
|
onClick: _cache[0] || (_cache[0] = ($event) => !_ctx.loading && !_ctx.disabled && _ctx.$emit("click", $event)),
|
20
24
|
onMousedown: _cache[1] || (_cache[1] = ($event) => !_ctx.loading && !_ctx.disabled && _ctx.$emit("mousedown", $event))
|
21
25
|
}, [
|
22
26
|
createVNode(unref(IconCancel), { class: "square-[0.75em]" })
|
23
|
-
],
|
27
|
+
], 42, _hoisted_1);
|
24
28
|
};
|
25
29
|
}
|
26
30
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Checkbox/WCheckbox.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Checkbox/WCheckbox.vue"],"names":[],"mappings":"AAgGA;AAwIA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,SAAS,CAAA;AA6C1C,iBAAS,cAAc;WAuJT,OAAO,IAA6B;;yBAXpB,GAAG;;;;;;EAgBhC;AAiBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;OASnB,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"}
|
@@ -4,8 +4,9 @@ import _sfc_main$1 from '../Tooltip/WTooltip.vue.js';
|
|
4
4
|
import IconCheck from '../../assets/icons/IconCheck.svg.js';
|
5
5
|
import { useComponentStates } from '../../utils/useComponentStates.js';
|
6
6
|
|
7
|
-
const _hoisted_1 = ["
|
8
|
-
const _hoisted_2 =
|
7
|
+
const _hoisted_1 = ["role", "aria-checked", "aria-disabled", "aria-readonly"];
|
8
|
+
const _hoisted_2 = ["onKeypress"];
|
9
|
+
const _hoisted_3 = {
|
9
10
|
key: 0,
|
10
11
|
class: "text-accent flex items-center gap-1"
|
11
12
|
};
|
@@ -48,6 +49,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
48
49
|
"items-start": _ctx.alignTop,
|
49
50
|
"items-center": !_ctx.alignTop
|
50
51
|
}],
|
52
|
+
role: _ctx.radio ? "radio" : "checkbox",
|
53
|
+
"aria-checked": _ctx.modelValue === null ? "mixed" : _ctx.modelValue,
|
54
|
+
"aria-disabled": unref(isDisabled) || unref(isSkeleton),
|
55
|
+
"aria-readonly": unref(isReadonly),
|
51
56
|
onClick: toggle
|
52
57
|
}), [
|
53
58
|
createElementVNode("div", {
|
@@ -108,13 +113,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
108
113
|
"no-touch": "",
|
109
114
|
class: "pointer-events-none"
|
110
115
|
}, null, 8, ["text", "trigger"])) : createCommentVNode("", true)
|
111
|
-
], 42,
|
112
|
-
_ctx.$slots.default || _ctx.title ? (openBlock(), createElementBlock("div",
|
116
|
+
], 42, _hoisted_2),
|
117
|
+
_ctx.$slots.default || _ctx.title ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
113
118
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
114
119
|
createTextVNode(toDisplayString(_ctx.title), 1)
|
115
120
|
])
|
116
121
|
])) : createCommentVNode("", true)
|
117
|
-
], 16);
|
122
|
+
], 16, _hoisted_1);
|
118
123
|
};
|
119
124
|
}
|
120
125
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WDismissable.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Dismissable/WDismissable.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WDismissable.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Dismissable/WDismissable.vue"],"names":[],"mappings":"AA+BA;AA8FA,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,OAAO,CAAA;IACf,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAC;AAwDF,iBAAS,cAAc;WAuET,OAAO,IAA6B;;;;YAZrB,GAAG;;;;;;;EAiB/B;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;OASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -62,6 +62,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
62
62
|
_ctx.isOpen ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
63
63
|
createElementVNode("button", {
|
64
64
|
class: "square-full snap-start",
|
65
|
+
"aria-label": "Close",
|
65
66
|
onClick: hide
|
66
67
|
}),
|
67
68
|
createElementVNode("div", {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"FilterButton.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/FieldWrapper/components/FilterButton.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"FilterButton.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/FieldWrapper/components/FilterButton.vue"],"names":[],"mappings":"AAoBA;AAiCA,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,iBAAiB,EAAE,gBAAgB,CAAC,OAAO,CAAC,GAAG,SAAS,CAAA;IACxD,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;;AAmEF,wBAMG"}
|
@@ -5,6 +5,7 @@ const _hoisted_1 = {
|
|
5
5
|
key: 0,
|
6
6
|
class: "square-[1.5em]"
|
7
7
|
};
|
8
|
+
const _hoisted_2 = ["aria-pressed"];
|
8
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
9
10
|
__name: "FilterButton",
|
10
11
|
props: {
|
@@ -20,10 +21,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
20
21
|
"text-description": _ctx.$route.query[_ctx.filterField] !== _ctx.encodedQueryParam,
|
21
22
|
"bg-primary dark:bg-primary-dark text-default": _ctx.$route.query[_ctx.filterField] === _ctx.encodedQueryParam
|
22
23
|
}]),
|
24
|
+
"aria-pressed": _ctx.$route.query[_ctx.filterField] === _ctx.encodedQueryParam,
|
25
|
+
"aria-label": "Toggle filter",
|
23
26
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$router.replace({ query: { ..._ctx.$route.query, [_ctx.filterField]: _ctx.$route.query[_ctx.filterField] === _ctx.encodedQueryParam ? void 0 : _ctx.encodedQueryParam } }))
|
24
27
|
}, [
|
25
28
|
createVNode(unref(IconFilter), { class: "square-[1.25em]" })
|
26
|
-
],
|
29
|
+
], 10, _hoisted_2));
|
27
30
|
};
|
28
31
|
}
|
29
32
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"FilePickerItem.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/FilePicker/components/FilePickerItem.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"FilePickerItem.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/FilePicker/components/FilePickerItem.vue"],"names":[],"mappings":"AA+BA;AAoDA,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AAUF,iBAAS,cAAc;WAwET,OAAO,IAA6B;;0BAXpB,GAAG;0BACH,GAAG;;;;EAehC;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;6FAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -24,6 +24,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
24
24
|
]),
|
25
25
|
createElementVNode("button", {
|
26
26
|
class: "w-ripple square-5 hover:bg-black-default absolute right-0 top-0 flex items-center justify-center rounded-full outline-none hover:bg-opacity-5",
|
27
|
+
"aria-label": "Remove file",
|
27
28
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.$emit("click:cancel"), ["stop", "prevent"]))
|
28
29
|
}, [
|
29
30
|
createVNode(unref(IconCancel), { class: "square-3 text-description" })
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WHeaderBar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/HeaderBar/WHeaderBar.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WHeaderBar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/HeaderBar/WHeaderBar.vue"],"names":[],"mappings":"AAqDA;AAgHA,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAqCF,iBAAS,cAAc;WAsFT,OAAO,IAA6B;;uBAXvB,GAAG;;;;;;EAgB7B;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;kBASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -63,6 +63,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
63
63
|
unref(search) ? (openBlock(), createElementBlock("button", {
|
64
64
|
key: 0,
|
65
65
|
class: "w-ripple-trigger sm:-pr--inner-margin h-full select-none",
|
66
|
+
"aria-label": "Open search",
|
66
67
|
onClick: _cache[0] || (_cache[0] = ($event) => unref(updateVisible)(true))
|
67
68
|
}, [
|
68
69
|
createElementVNode("div", _hoisted_2, [
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WImageViewer.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ImageViewer/WImageViewer.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WImageViewer.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ImageViewer/WImageViewer.vue"],"names":[],"mappings":"AA8CA;AAuFA,KAAK,WAAW,GAAG;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;;AAuGF,wBAOG"}
|
@@ -41,6 +41,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
41
41
|
key: 1,
|
42
42
|
class: "w-ripple w-ripple-hover text-black-default w-ripple-opacity-20 dark:w-ripple-opacity-30 group/image-button relative isolate h-28 w-40 cursor-pointer overflow-hidden rounded-lg border border-solid border-gray-100 bg-cover bg-center outline-none dark:border-gray-800",
|
43
43
|
style: normalizeStyle({ backgroundImage: `url(${_ctx.modelValue})` }),
|
44
|
+
"aria-label": "View image",
|
44
45
|
onClick: openModal
|
45
46
|
}, [
|
46
47
|
createElementVNode("div", _hoisted_2, [
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ImageModal.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageViewer/components/ImageModal.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"ImageModal.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageViewer/components/ImageModal.vue"],"names":[],"mappings":"AAsBA;AA4CA,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB,CAAC;;;;;;AA8EF,wBAQG"}
|
@@ -20,6 +20,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
20
20
|
createElementVNode("div", _hoisted_2, [
|
21
21
|
createElementVNode("button", {
|
22
22
|
class: "w-ripple w-ripple-hover absolute -top-14 right-3 rounded-full p-3 outline-none sm:-right-14",
|
23
|
+
"aria-label": "Close image viewer",
|
23
24
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close:modal"))
|
24
25
|
}, [
|
25
26
|
createVNode(unref(IconCancel), { class: "text-description" })
|
@@ -31,7 +31,10 @@ declare const _default: <Type extends InputType = "text">(__VLS_props: NonNullab
|
|
31
31
|
wrapSelection: (value: WrapSelection) => void;
|
32
32
|
}): any;
|
33
33
|
after?(_: {}): any;
|
34
|
-
suffix?(_: {
|
34
|
+
suffix?(_: {
|
35
|
+
loading: boolean | undefined;
|
36
|
+
disabled: boolean | undefined;
|
37
|
+
}): any;
|
35
38
|
inner?(_: {}): any;
|
36
39
|
right?(_: {}): any;
|
37
40
|
bottom?(_: {}): any;
|
@@ -48,7 +51,6 @@ declare const _default: <Type extends InputType = "text">(__VLS_props: NonNullab
|
|
48
51
|
(e: "blur", value: FocusEvent): void;
|
49
52
|
(e: "click", value: MouseEvent): void;
|
50
53
|
(e: "mousedown", value: MouseEvent): void;
|
51
|
-
(e: "click:suffix", value: MouseEvent): void;
|
52
54
|
(e: "select:input", value: Event): void;
|
53
55
|
(e: "paste"): void;
|
54
56
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInput.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInput.vue"],"names":[],"mappings":"AA2PA;AA2iBA,OAAO,KAAK,EAAC,UAAU,EAAE,aAAa,EAAC,MAAM,SAAS,CAAA;AAatD,OAAO,EAAC,KAAK,WAAW,EAAC,MAAM,gBAAgB,CAAA;yBAE9B,IAAI,SAAS,SAAS,GAAG,MAAM,EAC/C,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WAqyBO,mBAAmB,CAAC,oCAAkE,CAAC,4BAA2B;oB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
|
67
|
-
emits: ["update:model-value", "keypress:enter", "keypress:up", "keypress:down", "keypress:delete", "keypress:backspace", "click:clear", "focus", "blur", "click", "mousedown", "
|
67
|
+
emits: ["update:model-value", "keypress:enter", "keypress:up", "keypress:down", "keypress:delete", "keypress:backspace", "click:clear", "focus", "blur", "click", "mousedown", "select:input", "paste"],
|
68
68
|
setup(__props, { expose: __expose, emit: __emit }) {
|
69
69
|
const ContentEditable = defineAsyncComponent(() => import('./components/ContentEditable.vue.js'));
|
70
70
|
const InputToolbar = defineAsyncComponent(() => import('./components/InputToolbar.vue.js'));
|
@@ -266,10 +266,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
266
266
|
class: [_ctx.$attrs.class, {
|
267
267
|
"group/seamless": _ctx.seamless
|
268
268
|
}],
|
269
|
-
onClick: _cache[9] || (_cache[9] = ($event) =>
|
270
|
-
_ctx.$emit("click:suffix", $event);
|
271
|
-
_ctx.seamless && focus();
|
272
|
-
})
|
269
|
+
onClick: _cache[9] || (_cache[9] = ($event) => _ctx.seamless && focus())
|
273
270
|
}), createSlots({ _: 2 }, [
|
274
271
|
_ctx.$slots.title ? {
|
275
272
|
name: "title",
|
@@ -452,10 +449,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
452
449
|
"allow-copy": _ctx.allowCopy,
|
453
450
|
focused,
|
454
451
|
"onClick:clear": clearValue,
|
455
|
-
"onClick:slot": ($event) => {
|
456
|
-
focused ? blur() : focus();
|
457
|
-
_ctx.$emit("click:suffix", $event);
|
458
|
-
},
|
459
452
|
"onShow:secure": _cache[7] || (_cache[7] = ($event) => {
|
460
453
|
isSecureVisible.value = true;
|
461
454
|
_ctx.$emit("click", $event);
|
@@ -465,12 +458,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
465
458
|
}, createSlots({ _: 2 }, [
|
466
459
|
_ctx.$slots.suffix ? {
|
467
460
|
name: "default",
|
468
|
-
fn: withCtx(() => [
|
469
|
-
renderSlot(_ctx.$slots, "suffix")
|
461
|
+
fn: withCtx((scope) => [
|
462
|
+
renderSlot(_ctx.$slots, "suffix", normalizeProps(guardReactiveProps(scope)))
|
470
463
|
]),
|
471
464
|
key: "0"
|
472
465
|
} : void 0
|
473
|
-
]), 1032, ["model-value", "loading", "allow-clear", "disabled", "readonly", "text-secure", "is-secure-visible", "allow-paste", "allow-copy", "focused"
|
466
|
+
]), 1032, ["model-value", "loading", "allow-clear", "disabled", "readonly", "text-secure", "is-secure-visible", "allow-paste", "allow-copy", "focused"])) : createCommentVNode("", true),
|
474
467
|
renderSlot(_ctx.$slots, "inner")
|
475
468
|
], 2)
|
476
469
|
]),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WInputSuggest.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInputSuggest.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WInputSuggest.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInputSuggest.vue"],"names":[],"mappings":"AAkIA;AA+OA,OAAO,KAAK,EAAC,iBAAiB,EAAE,aAAa,EAAC,MAAM,SAAS,CAAA;AAE7D,OAAO,EAAC,KAAK,KAAK,EAAgC,MAAM,KAAK,CAAA;yBAgB5C,IAAI,SAAS,SAAS,GAAG,MAAM,EAC/C,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WAubO,mBAAmB,CAAC,2CAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB;;;;;;+BAzXjB,aAAa;+BACb,MAAM,aAAa,MAAM;;MAwXc,GAAG,I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eProps, createSlots, withCtx, createVNode, createCommentVNode, normalizeClass, renderSlot, normalizeProps, guardReactiveProps, createElementBlock, Fragment, createElementVNode } from 'vue';
|
2
2
|
import _sfc_main$1 from '../BottomSheet/WBottomSheet.vue.js';
|
3
3
|
import _sfc_main$2 from '../DropdownMenu/WDropdownMenu.vue.js';
|
4
|
-
import _sfc_main$
|
4
|
+
import _sfc_main$5 from '../InfiniteList/WInfiniteListScrollingElement.vue.js';
|
5
5
|
import _sfc_main$3 from './WInput.vue.js';
|
6
6
|
import IconArrow from '../../assets/icons/IconArrow.svg.js';
|
7
7
|
import { HorizontalAlign } from '../../utils/HorizontalAlign.js';
|
8
8
|
import { useIsMobile } from '../../utils/mobile.js';
|
9
9
|
import { useComponentStates } from '../../utils/useComponentStates.js';
|
10
|
+
import _sfc_main$4 from './components/InputActionsButton.vue.js';
|
10
11
|
import InputSuggestStatic from './components/InputSuggestStatic.vue.js';
|
11
12
|
|
12
13
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -152,7 +153,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
152
153
|
!toggleScope?.unclickable && _ctx.$emit("blur", $event);
|
153
154
|
},
|
154
155
|
onClick: ($event) => unref(isMobile) && toggleScope?.unclickable && open(),
|
155
|
-
"onClick:suffix": ($event) => unref(isMobile) && toggleScope?.unclickable && open(),
|
156
156
|
"onClick:clear": _cache[5] || (_cache[5] = ($event) => {
|
157
157
|
_ctx.$emit("click:clear");
|
158
158
|
_ctx.closeOnClear && close();
|
@@ -164,10 +164,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
164
164
|
})
|
165
165
|
]),
|
166
166
|
suffix: withCtx(() => [
|
167
|
-
!unref(isDisabled) ? (openBlock(), createBlock(
|
167
|
+
!unref(isDisabled) ? (openBlock(), createBlock(_sfc_main$4, {
|
168
168
|
key: 0,
|
169
|
-
|
170
|
-
|
169
|
+
label: "Show suggest",
|
170
|
+
expanded: isOpen.value,
|
171
|
+
onClick: ($event) => isOpen.value ? toggleScope.unclickable === false ? close() : blur() : focus()
|
172
|
+
}, {
|
173
|
+
default: withCtx(() => [
|
174
|
+
createVNode(unref(IconArrow), {
|
175
|
+
class: normalizeClass(["square-3 text-description transition-transform", { "rotate-180": isOpen.value }])
|
176
|
+
}, null, 8, ["class"])
|
177
|
+
]),
|
178
|
+
_: 2
|
179
|
+
}, 1032, ["expanded", "onClick"])) : createCommentVNode("", true)
|
171
180
|
]),
|
172
181
|
_: 2
|
173
182
|
}, [
|
@@ -210,14 +219,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
210
219
|
]),
|
211
220
|
key: "4"
|
212
221
|
} : void 0
|
213
|
-
]), 1040, ["class", "onFocus", "onBlur", "onClick"
|
222
|
+
]), 1040, ["class", "onFocus", "onBlur", "onClick"])
|
214
223
|
]),
|
215
224
|
_: 2
|
216
225
|
}, [
|
217
226
|
!_ctx.static ? {
|
218
227
|
name: "content",
|
219
228
|
fn: withCtx((contentScope) => [
|
220
|
-
createVNode(_sfc_main$
|
229
|
+
createVNode(_sfc_main$5, {
|
221
230
|
parent: unref(isMobile),
|
222
231
|
class: normalizeClass(["bg-default dark:bg-default-dark w-full", {
|
223
232
|
"pb-[50vh]": unref(isMobile),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WInputToolbarButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInputToolbarButton.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WInputToolbarButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInputToolbarButton.vue"],"names":[],"mappings":"AAsDA;AAkGA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,SAAS,CAAA;;;;;;AAiN1C,wBAOG"}
|
@@ -10,7 +10,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
10
|
icon: {},
|
11
11
|
value: {},
|
12
12
|
tooltip: {},
|
13
|
-
disabled: { type: Boolean }
|
13
|
+
disabled: { type: Boolean },
|
14
|
+
label: {}
|
14
15
|
},
|
15
16
|
emits: ["click"],
|
16
17
|
setup(__props) {
|
@@ -47,9 +48,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
47
48
|
tooltip: _ctx.tooltip,
|
48
49
|
disabled: _ctx.disabled,
|
49
50
|
active: isOpen.value,
|
51
|
+
label: _ctx.label,
|
50
52
|
onMouseenter: enter,
|
51
53
|
onMouseleave: leave
|
52
|
-
}, null, 8, ["title", "icon", "tooltip", "disabled", "active"])
|
54
|
+
}, null, 8, ["title", "icon", "tooltip", "disabled", "active", "label"])
|
53
55
|
]),
|
54
56
|
content: withCtx(() => [
|
55
57
|
createElementVNode("div", {
|
@@ -66,8 +68,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
66
68
|
title: item.title,
|
67
69
|
disabled: _ctx.disabled,
|
68
70
|
tooltip: void 0,
|
71
|
+
label: item.label,
|
69
72
|
onClick: ($event) => _ctx.$emit("click", index)
|
70
|
-
}, null, 8, ["icon", "title", "disabled", "onClick"]);
|
73
|
+
}, null, 8, ["icon", "title", "disabled", "label", "onClick"]);
|
71
74
|
}), 128))
|
72
75
|
], 32)
|
73
76
|
]),
|
@@ -78,8 +81,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
78
81
|
icon: _ctx.icon,
|
79
82
|
tooltip: _ctx.tooltip,
|
80
83
|
disabled: _ctx.disabled,
|
84
|
+
label: _ctx.label,
|
81
85
|
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("click", void 0))
|
82
|
-
}, null, 8, ["title", "icon", "tooltip", "disabled"]));
|
86
|
+
}, null, 8, ["title", "icon", "tooltip", "disabled", "label"]));
|
83
87
|
};
|
84
88
|
}
|
85
89
|
});
|
@@ -13,7 +13,10 @@ type __VLS_Props = {
|
|
13
13
|
declare function __VLS_template(): {
|
14
14
|
attrs: Partial<{}>;
|
15
15
|
slots: {
|
16
|
-
default?(_: {
|
16
|
+
default?(_: {
|
17
|
+
loading: boolean | undefined;
|
18
|
+
disabled: boolean | undefined;
|
19
|
+
}): any;
|
17
20
|
};
|
18
21
|
refs: {};
|
19
22
|
rootEl: any;
|
@@ -24,13 +27,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
24
27
|
"show:secure": (value: MouseEvent) => any;
|
25
28
|
"hide:secure": (value: MouseEvent) => any;
|
26
29
|
"click:clear": () => any;
|
27
|
-
"click:slot": (value: MouseEvent) => any;
|
28
30
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
29
31
|
"onClick:paste"?: (() => any) | undefined;
|
30
32
|
"onShow:secure"?: ((value: MouseEvent) => any) | undefined;
|
31
33
|
"onHide:secure"?: ((value: MouseEvent) => any) | undefined;
|
32
34
|
"onClick:clear"?: (() => any) | undefined;
|
33
|
-
"onClick:slot"?: ((value: MouseEvent) => any) | undefined;
|
34
35
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
35
36
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
36
37
|
export default _default;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"InputActions.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/components/InputActions.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"InputActions.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/components/InputActions.vue"],"names":[],"mappings":"AAoDA;AAuGA,KAAK,WAAW,GAAG;IACjB,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAC;AAeF,iBAAS,cAAc;WAoJT,OAAO,IAA6B;;;;;YAVpB,GAAG;;;;EAehC;AAkBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;kFAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent, toRef, createElementBlock, createCommentVNode, openBlock, createBlock, markRaw, unref, createVNode
|
1
|
+
import { defineComponent, toRef, createElementBlock, createCommentVNode, openBlock, createBlock, renderSlot, markRaw, unref, createVNode } from 'vue';
|
2
2
|
import WSpinner from '../../Spinner/WSpinner.vue.js';
|
3
3
|
import IconClose from '../../../assets/icons/IconClose.svg.js';
|
4
4
|
import IconEye from '../../../assets/icons/IconEye.svg.js';
|
@@ -29,7 +29,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
29
29
|
isSecureVisible: { type: Boolean },
|
30
30
|
focused: { type: Boolean }
|
31
31
|
},
|
32
|
-
emits: ["click:paste", "show:secure", "hide:secure", "click:clear"
|
32
|
+
emits: ["click:paste", "show:secure", "hide:secure", "click:clear"],
|
33
33
|
setup(__props) {
|
34
34
|
const props = __props;
|
35
35
|
const { doCopy, iconCopy } = useCopy(toRef(props, "modelValue"));
|
@@ -66,16 +66,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
66
66
|
}, null, 8, ["icon", "tooltip-text", "disabled"])) : createCommentVNode("", true),
|
67
67
|
_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
68
68
|
createVNode(WSpinner, { class: "w-spinner-size-[1.125em]" })
|
69
|
-
])) :
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
}
|
74
|
-
default: withCtx(() => [
|
75
|
-
renderSlot(_ctx.$slots, "default")
|
76
|
-
]),
|
77
|
-
_: 3
|
78
|
-
}, 8, ["disabled"])) : createCommentVNode("", true)
|
69
|
+
])) : createCommentVNode("", true),
|
70
|
+
renderSlot(_ctx.$slots, "default", {
|
71
|
+
loading: _ctx.loading,
|
72
|
+
disabled: _ctx.disabled
|
73
|
+
})
|
79
74
|
])) : createCommentVNode("", true);
|
80
75
|
};
|
81
76
|
}
|
@@ -3,6 +3,9 @@ type __VLS_Props = {
|
|
3
3
|
disabled?: boolean;
|
4
4
|
icon?: SVGComponent;
|
5
5
|
top?: boolean;
|
6
|
+
label?: string;
|
7
|
+
pressed?: boolean;
|
8
|
+
expanded?: boolean;
|
6
9
|
};
|
7
10
|
declare function __VLS_template(): {
|
8
11
|
attrs: Partial<{}>;
|
@@ -17,7 +20,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
17
20
|
click: (value: MouseEvent) => any;
|
18
21
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
19
22
|
onClick?: ((value: MouseEvent) => any) | undefined;
|
20
|
-
}>, {
|
23
|
+
}>, {
|
24
|
+
label: string;
|
25
|
+
icon: SVGComponent;
|
26
|
+
tooltipText: string;
|
27
|
+
pressed: boolean;
|
28
|
+
expanded: boolean;
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
21
30
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
22
31
|
export default _default;
|
23
32
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"InputActionsButton.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/components/InputActionsButton.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"InputActionsButton.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/components/InputActionsButton.vue"],"names":[],"mappings":"AA+BA;AA6DA,KAAK,WAAW,GAAG;IACf,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,GAAG,CAAC,EAAE,OAAO,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AA0BJ,iBAAS,cAAc;WA4DT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;WA1GT,MAAM;UAFP,YAAY;iBAFL,MAAM;aAKV,OAAO;cACN,OAAO;2FAiHpB,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,14 +1,17 @@
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, withModifiers, normalizeClass, renderSlot, createBlock, createCommentVNode, resolveDynamicComponent } from 'vue';
|
2
2
|
import _sfc_main$1 from '../../Tooltip/WTooltip.vue.js';
|
3
3
|
|
4
|
-
const _hoisted_1 = ["disabled"];
|
4
|
+
const _hoisted_1 = ["disabled", "aria-label", "aria-disabled", "aria-pressed", "aria-expanded"];
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
6
6
|
__name: "InputActionsButton",
|
7
7
|
props: {
|
8
|
-
tooltipText: {},
|
8
|
+
tooltipText: { default: void 0 },
|
9
9
|
disabled: { type: Boolean },
|
10
|
-
icon: {},
|
11
|
-
top: { type: Boolean }
|
10
|
+
icon: { default: void 0 },
|
11
|
+
top: { type: Boolean },
|
12
|
+
label: { default: void 0 },
|
13
|
+
pressed: { type: Boolean, default: void 0 },
|
14
|
+
expanded: { type: Boolean, default: void 0 }
|
12
15
|
},
|
13
16
|
emits: ["click"],
|
14
17
|
setup(__props) {
|
@@ -21,18 +24,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
21
24
|
"h-[calc(var(--w-input-height,2.75rem)-2px)]": _ctx.top,
|
22
25
|
"h-full": !_ctx.top
|
23
26
|
}, "text-description relative flex w-[calc(var(--w-input-height,2.75rem)-2px)] select-none items-center justify-center"]),
|
27
|
+
"aria-label": _ctx.label ?? _ctx.tooltipText,
|
28
|
+
"aria-disabled": _ctx.disabled,
|
29
|
+
"aria-pressed": _ctx.pressed,
|
30
|
+
"aria-expanded": _ctx.expanded,
|
24
31
|
onMousedown: _cache[0] || (_cache[0] = withModifiers(() => {
|
25
32
|
}, ["prevent", "stop"])),
|
26
33
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => _ctx.$emit("click", $event), ["stop"]))
|
27
34
|
}, [
|
28
35
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
29
|
-
(openBlock(), createBlock(resolveDynamicComponent(_ctx.icon), { class: "square-[1.125em]" }))
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
])
|
36
|
+
(openBlock(), createBlock(resolveDynamicComponent(_ctx.icon), { class: "square-[1.125em]" }))
|
37
|
+
]),
|
38
|
+
_ctx.tooltipText && !_ctx.disabled ? (openBlock(), createBlock(_sfc_main$1, {
|
39
|
+
key: 0,
|
40
|
+
text: _ctx.tooltipText,
|
41
|
+
"no-touch": ""
|
42
|
+
}, null, 8, ["text"])) : createCommentVNode("", true)
|
36
43
|
], 42, _hoisted_1);
|
37
44
|
};
|
38
45
|
}
|
@@ -3,6 +3,7 @@ type __VLS_Props = {
|
|
3
3
|
icon: SVGComponent | undefined;
|
4
4
|
tooltip: string | undefined;
|
5
5
|
disabled: boolean | undefined;
|
6
|
+
label: string | undefined;
|
6
7
|
active?: boolean;
|
7
8
|
};
|
8
9
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"InputToolbarButton.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/components/InputToolbarButton.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"InputToolbarButton.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/components/InputToolbarButton.vue"],"names":[],"mappings":"AA2BA;AAiDA,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,IAAI,EAAE,YAAY,GAAG,SAAS,CAAA;IAC9B,OAAO,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3B,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAA;IAC7B,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAC;;;;;;;;;;AAyFF,wBAQG"}
|
@@ -1,7 +1,8 @@
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, normalizeClass, createElementVNode, createBlock, createCommentVNode, createTextVNode, resolveDynamicComponent, toDisplayString } from 'vue';
|
2
2
|
import _sfc_main$1 from '../../Tooltip/WTooltip.vue.js';
|
3
3
|
|
4
|
-
const _hoisted_1 =
|
4
|
+
const _hoisted_1 = ["aria-label"];
|
5
|
+
const _hoisted_2 = { class: "border-r border-solid border-gray-300 px-2 group-last/toolbar:border-r-0 dark:border-gray-600" };
|
5
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
6
7
|
__name: "InputToolbarButton",
|
7
8
|
props: {
|
@@ -9,6 +10,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
10
|
icon: {},
|
10
11
|
tooltip: {},
|
11
12
|
disabled: { type: Boolean },
|
13
|
+
label: {},
|
12
14
|
active: { type: Boolean }
|
13
15
|
},
|
14
16
|
emits: ["click", "mouseenter", "mouseleave"],
|
@@ -20,11 +22,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
20
22
|
"w-ripple w-ripple-hover cursor-pointer": !_ctx.disabled,
|
21
23
|
"before:opacity-10": !_ctx.disabled && _ctx.active
|
22
24
|
}]),
|
25
|
+
"aria-label": _ctx.label ?? _ctx.tooltip ?? _ctx.title,
|
23
26
|
onClick: _cache[0] || (_cache[0] = ($event) => !_ctx.disabled && _ctx.$emit("click", $event)),
|
24
27
|
onMouseenter: _cache[1] || (_cache[1] = ($event) => !_ctx.disabled && _ctx.$emit("mouseenter", $event)),
|
25
28
|
onMouseleave: _cache[2] || (_cache[2] = ($event) => !_ctx.disabled && _ctx.$emit("mouseleave", $event))
|
26
29
|
}, [
|
27
|
-
createElementVNode("div",
|
30
|
+
createElementVNode("div", _hoisted_2, [
|
28
31
|
(openBlock(), createBlock(resolveDynamicComponent(_ctx.icon), { class: "square-[1.25em] -mt-[0.25em] inline" })),
|
29
32
|
createTextVNode(" " + toDisplayString(_ctx.title ?? ""), 1)
|
30
33
|
]),
|
@@ -33,7 +36,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
33
36
|
text: _ctx.tooltip,
|
34
37
|
top: ""
|
35
38
|
}, null, 8, ["text"])) : createCommentVNode("", true)
|
36
|
-
],
|
39
|
+
], 42, _hoisted_1);
|
37
40
|
};
|
38
41
|
}
|
39
42
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"toolbarActions.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/models/toolbarActions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,UAAU,CAAA;AAuB3C,eAAO,MAAM,eAAe,QAA0C,CAAA;AACtE,eAAO,MAAM,WAAW,QAAW,CAAA;AAGnC,eAAO,MAAM,mBAAmB,GAAI,MAAM,MAAM,EAAE,WAAW,MAAM,KAAG,MAGrE,CAAA;AAgDD,eAAO,MAAM,iBAAiB,EAAE,aAAa,
|
1
|
+
{"version":3,"file":"toolbarActions.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/models/toolbarActions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,UAAU,CAAA;AAuB3C,eAAO,MAAM,eAAe,QAA0C,CAAA;AACtE,eAAO,MAAM,WAAW,QAAW,CAAA;AAGnC,eAAO,MAAM,mBAAmB,GAAI,MAAM,MAAM,EAAE,WAAW,MAAM,KAAG,MAGrE,CAAA;AAgDD,eAAO,MAAM,iBAAiB,EAAE,aAAa,EAyF5C,CAAA"}
|
@@ -137,8 +137,10 @@ const toolbarActionList = [
|
|
137
137
|
icon: markRaw(IconHeading),
|
138
138
|
value: Array(6).fill(null).map((_, index) => ({
|
139
139
|
title: `H${index + 1}`,
|
140
|
-
value: { type: WrapSelectionType.LINE_PREFIX, linePrefix: `${"#".repeat(index + 1)} ` }
|
141
|
-
|
140
|
+
value: { type: WrapSelectionType.LINE_PREFIX, linePrefix: `${"#".repeat(index + 1)} ` },
|
141
|
+
label: `Heading ${index + 1}`
|
142
|
+
})),
|
143
|
+
label: "Heading"
|
142
144
|
}
|
143
145
|
];
|
144
146
|
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,uBAAuB,CAAA;AAC5D,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iCAAiC,CAAA;AACtE,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,CAAA;IACxB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB,GAAG;IACF,IAAI,EAAE,iBAAiB,CAAC,WAAW,CAAA;IACnC,UAAU,CAAC,EAAE,KAAK,CAAA;IAClB,aAAa,CAAC,EAAE,KAAK,CAAA;IACrB,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,MAAM,CAAA;IAC7C,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,KAAK,CAAC,EAAE,aAAa,GAAG;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,YAAY,CAAC;QAAC,KAAK,CAAC,EAAE,aAAa,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAC,EAAE,CAAA;IACtG,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,qBAAqB,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAC,GAAG,MAAM,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"HeaderItemResizer.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/List/components/HeaderItemResizer.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"HeaderItemResizer.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/List/components/HeaderItemResizer.vue"],"names":[],"mappings":"AAiBA;yBA+FiB,KAAK,EACrB,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WAmIO,mBAAmB,CAAC;;;;kBA9HhB,OAAO;mBA8H2E,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;yBA/BkB,GAAG;;;YA5F1B,cAAc,SAAS,MAAM,GAAG,IAAI;YACpC,YAAY,GAAG,IAAI;;EA8HrB,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AA9IzE,wBA8I4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -58,6 +58,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
58
58
|
renderSlot(_ctx.$slots, "default"),
|
59
59
|
createElementVNode("button", {
|
60
60
|
class: "absolute -right-2 top-0 flex h-full w-6 cursor-col-resize items-center opacity-50 hover:opacity-100",
|
61
|
+
"aria-label": "Resize column",
|
61
62
|
onMousedown: withModifiers(startDrag, ["stop", "prevent"]),
|
62
63
|
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
63
64
|
}, ["stop", "prevent"]))
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"HeaderSettings.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/List/components/HeaderSettings.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"HeaderSettings.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/List/components/HeaderSett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import { isField } from '../models/utils.js';
|
8
8
|
import _sfc_main$4 from './HeaderSettingsList.vue.js';
|
9
9
|
import _sfc_main$3 from './HeaderSettingsModeButton.vue.js';
|
10
|
-
import { listModeList, listModeIconMap, sortFields } from '../use/useListConfig.js';
|
10
|
+
import { listModeList, listModeLabelMap, listModeIconMap, sortFields } from '../use/useListConfig.js';
|
11
11
|
|
12
12
|
const _hoisted_1 = { class: "p-4" };
|
13
13
|
const _hoisted_2 = { class: "grid grid-cols-[auto,auto,auto] items-start" };
|
@@ -20,7 +20,7 @@ const _hoisted_4 = {
|
|
20
20
|
class: "mx-4 h-full border-r border-solid border-gray-200 dark:border-gray-700"
|
21
21
|
};
|
22
22
|
const _hoisted_5 = { class: "flex justify-end" };
|
23
|
-
const _hoisted_6 = ["disabled"];
|
23
|
+
const _hoisted_6 = ["disabled", "aria-disabled"];
|
24
24
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
25
25
|
__name: "HeaderSettings",
|
26
26
|
props: {
|
@@ -89,9 +89,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
89
89
|
return openBlock(), createBlock(_sfc_main$3, {
|
90
90
|
key: item,
|
91
91
|
icon: unref(listModeIconMap)[item],
|
92
|
+
label: unref(listModeLabelMap)[item],
|
92
93
|
active: _ctx.mode === item,
|
93
94
|
onClick: ($event) => _ctx.$emit("update:mode", item)
|
94
|
-
}, null, 8, ["icon", "active", "onClick"]);
|
95
|
+
}, null, 8, ["icon", "label", "active", "onClick"]);
|
95
96
|
}), 128))
|
96
97
|
])) : createCommentVNode("", true),
|
97
98
|
!_ctx.mobile ? (openBlock(), createElementBlock("div", _hoisted_4)) : createCommentVNode("", true),
|
@@ -112,6 +113,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
112
113
|
"cursor-not-allowed opacity-50": !_ctx.hasSaved
|
113
114
|
}]),
|
114
115
|
disabled: !_ctx.hasSaved,
|
116
|
+
"aria-disabled": !_ctx.hasSaved,
|
117
|
+
"aria-label": "Reset column settings",
|
115
118
|
onClick: _cache[2] || (_cache[2] = ($event) => _ctx.hasSaved && _ctx.$emit("click:reset"))
|
116
119
|
}, " Reset ", 10, _hoisted_6)
|
117
120
|
])
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"HeaderSettingsList.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/List/components/HeaderSettingsList.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"HeaderSettingsList.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/List/components/HeaderSettingsList.vue"],"names":[],"mappings":"AAmFA;AA+GA,OAAO,KAAK,EAAC,WAAW,EAAE,UAAU,EAAC,MAAM,UAAU,CAAA;yBAYpC,IAAI,SAAS,WAAW,EAAE,WAAW,EACrD,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WA4NO,mBAAmB,CAAC;;;;gBA1NlB,UAAU,CAAC,IAAI,EAAE,WAAW,CAAC;wBACrB,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC;qBAC9B,WAAW;mBACb,OAAO;iBACT,OAAO;mBAsN4E,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;YAnNL,aAAa,SAAS,UAAU,CAAC,IAAI,EAAE,WAAW,CAAC,GAAG,IAAI;YAC1D,yBAAyB,SAAS,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,GAAG,IAAI;;EAsNtE,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAvOzE,wBAuO4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -9,8 +9,8 @@ import { sortFields } from '../use/useListConfig.js';
|
|
9
9
|
|
10
10
|
const _hoisted_1 = ["onMousedown"];
|
11
11
|
const _hoisted_2 = { class: "col-start-2 self-center truncate px-2 py-1 font-semibold" };
|
12
|
-
const _hoisted_3 = ["onClick"];
|
13
|
-
const _hoisted_4 = ["onClick"];
|
12
|
+
const _hoisted_3 = ["aria-pressed", "onClick"];
|
13
|
+
const _hoisted_4 = ["aria-pressed", "onClick"];
|
14
14
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
15
15
|
__name: "HeaderSettingsList",
|
16
16
|
props: {
|
@@ -54,6 +54,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
54
54
|
!_ctx.disabled ? (openBlock(), createElementBlock("button", {
|
55
55
|
key: 0,
|
56
56
|
class: "w-ripple w-ripple-hover relative flex cursor-grab items-center justify-center active:cursor-grabbing",
|
57
|
+
"aria-label": "Reorder field",
|
57
58
|
onMousedown: initDrag
|
58
59
|
}, [
|
59
60
|
createVNode(unref(IconDrag), { class: "rotate-90" })
|
@@ -61,6 +62,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
61
62
|
createElementVNode("div", _hoisted_2, toDisplayString(typeof item.meta.title === "string" ? item.meta.title : item.meta.title(_ctx.queryParams)), 1),
|
62
63
|
createElementVNode("button", {
|
63
64
|
class: "w-ripple w-ripple-hover group relative flex items-center justify-center",
|
65
|
+
"aria-pressed": !_ctx.fieldConfigMap[item.meta.label].visible,
|
66
|
+
"aria-label": "Hide field",
|
64
67
|
onClick: ($event) => _ctx.$emit("update:field-config-map", { [item.meta.label]: { ..._ctx.fieldConfigMap[item.meta.label], visible: !_ctx.fieldConfigMap[item.meta.label].visible } })
|
65
68
|
}, [
|
66
69
|
(openBlock(), createBlock(resolveDynamicComponent(_ctx.fieldConfigMap[item.meta.label].visible ? unref(IconEye) : unref(IconEyeSlash)), {
|
@@ -72,6 +75,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
72
75
|
!_ctx.nested ? (openBlock(), createElementBlock("button", {
|
73
76
|
key: 1,
|
74
77
|
class: "w-ripple w-ripple-hover group relative flex items-center justify-center",
|
78
|
+
"aria-pressed": _ctx.fieldConfigMap[item.meta.label].sticky,
|
79
|
+
"aria-label": "Pin column",
|
75
80
|
onClick: ($event) => _ctx.$emit("update:field-config-map", { [item.meta.label]: { ..._ctx.fieldConfigMap[item.meta.label], sticky: !_ctx.fieldConfigMap[item.meta.label].sticky } })
|
76
81
|
}, [
|
77
82
|
(openBlock(), createBlock(resolveDynamicComponent(_ctx.fieldConfigMap[item.meta.label].sticky ? unref(IconLock) : unref(IconLockOff)), {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"HeaderSettingsModeButton.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/List/components/HeaderSettingsModeButton.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"HeaderSettingsModeButton.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/List/components/HeaderSettingsModeButton.vue"],"names":[],"mappings":"AAiBA;AA8BA,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,YAAY,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,OAAO,CAAA;CAChB,CAAC;;;;;;AA+DF,wBAQG"}
|
@@ -1,9 +1,11 @@
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, normalizeClass, createBlock, resolveDynamicComponent } from 'vue';
|
2
2
|
|
3
|
+
const _hoisted_1 = ["aria-pressed", "aria-label"];
|
3
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
5
|
__name: "HeaderSettingsModeButton",
|
5
6
|
props: {
|
6
7
|
icon: {},
|
8
|
+
label: {},
|
7
9
|
active: { type: Boolean }
|
8
10
|
},
|
9
11
|
emits: ["click"],
|
@@ -14,10 +16,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
14
16
|
"text-primary dark:text-primary-dark bg-primary/10 dark:bg-primary-dark/10": _ctx.active,
|
15
17
|
"text-description": !_ctx.active
|
16
18
|
}]),
|
19
|
+
"aria-pressed": _ctx.active,
|
20
|
+
"aria-label": _ctx.label,
|
17
21
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("click", $event))
|
18
22
|
}, [
|
19
23
|
(openBlock(), createBlock(resolveDynamicComponent(_ctx.icon), { class: "square-6" }))
|
20
|
-
],
|
24
|
+
], 10, _hoisted_1);
|
21
25
|
};
|
22
26
|
}
|
23
27
|
});
|
@@ -3,6 +3,7 @@ import { ListMode } from '../../../utils/utils';
|
|
3
3
|
import { FieldConfig, FieldConfigMap, ListConfig, ListField, ListFields } from '../types';
|
4
4
|
export declare const listModeList: ListMode[];
|
5
5
|
export declare const listModeIconMap: Record<ListMode, SVGComponent>;
|
6
|
+
export declare const listModeLabelMap: Record<ListMode, string>;
|
6
7
|
export declare const filterFields: <F extends ListFields<any, any>>(fields: F, method: (field: ListField<unknown>) => boolean) => F;
|
7
8
|
export declare const getFirstFieldLabel: <F extends ListFields<any, any>[number]>(field: F) => string;
|
8
9
|
export declare const useListConfig: <Fields extends ListFields<any, any>>(key: MaybeRef<string>, fields: MaybeRef<Fields>, defaultConfigMap: MaybeRef<FieldConfigMap<Fields>>, defailtMode: MaybeRef<ListMode>, disable?: boolean) => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useListConfig.d.ts","sourceRoot":"","sources":["../../../../../src/components/List/use/useListConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,QAAQ,EAA8C,MAAM,KAAK,CAAA;AAM9E,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAA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AE,GAAG,CAAC,EAAE,QAAQ,MAAM,EAAE,gBAAgB,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,KAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAU3J,CAAA;AAGD,eAAO,MAAM,mBAAmB,GAAI,MAAM,SAAS,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,QAAQ,MAAM,EAAE,gBAAgB,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,KAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAoB3J,CAAA"}
|
@@ -18,6 +18,10 @@ const listModeIconMap = {
|
|
18
18
|
[ListMode.TABLE]: markRaw(IconList),
|
19
19
|
[ListMode.GRID]: markRaw(IconGrid)
|
20
20
|
};
|
21
|
+
const listModeLabelMap = {
|
22
|
+
[ListMode.TABLE]: "Table mode",
|
23
|
+
[ListMode.GRID]: "Grid mode"
|
24
|
+
};
|
21
25
|
const fieldConfigKeyLength = 4;
|
22
26
|
const isFieldConfig = (value) => {
|
23
27
|
return value instanceof Object && Object.keys(value).length <= fieldConfigKeyLength && (!("width" in value) || value.width === null || typeof value.width === "number") && (!("visible" in value) || typeof value.visible === "boolean") && (!("order" in value) || typeof value.order === "number");
|
@@ -171,4 +175,4 @@ const getFieldStylesFixed = (fields, fieldConfigMap) => {
|
|
171
175
|
return styles;
|
172
176
|
};
|
173
177
|
|
174
|
-
export { filterFields, forEachField, getFieldStylesFixed, getFieldStylesWidth, getFieldVariable, getFirstFieldLabel, listModeIconMap, listModeList, sortFields, useListConfig };
|
178
|
+
export { filterFields, forEachField, getFieldStylesFixed, getFieldStylesWidth, getFieldVariable, getFirstFieldLabel, listModeIconMap, listModeLabelMap, listModeList, sortFields, useListConfig };
|
@@ -12,7 +12,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
12
12
|
return openBlock(), createElementBlock("button", {
|
13
13
|
ref: "closeButton",
|
14
14
|
class: "absolute left-0 top-0 -z-10 size-full cursor-pointer outline-none",
|
15
|
-
|
15
|
+
"aria-label": "Close modal",
|
16
16
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("click", $event))
|
17
17
|
}, null, 512);
|
18
18
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WTabs.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/WTabs.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WTabs.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/WTabs.vue"],"names":[],"mappings":"AAsIA;AAAA,OA4ZO,KAAK,EAAgB,SAAS,EAAC,MAAM,SAAS,CAAA;AAIrD,OAAO,KAAK,MAAM,6BAA6B,CAAA;AA6R/C,iBAAS,cAAc;WAqST,OAAO,IAA6B;;iBA1SvC,MAAM,IAAI;;iBAAV,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA0EE,GAAG,8CAGpB,GAAG,yBACD,GAAG,6DACV,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCALmB,GAAG,8CAGpB,GAAG,yBACD,GAAG,6DACV,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDALmB,GAAG,8CAGpB,GAAG,yBACD,GAAG,6DACV,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCALmB,GAAG,8CAGpB,GAAG,yBACD,GAAG,6DACV,GAAG;;;;;;;;;;;;;;;;;;;;EAgO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,yBACD,GAAG,6DACV,GAAG;;;;;;;;;;;;;;;;;;OAqQF,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -274,6 +274,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
274
274
|
"onClose" in slot.props ? (openBlock(), createElementBlock("button", {
|
275
275
|
key: 0,
|
276
276
|
class: "w-ripple-trigger text-description sm-not:mx-3 flex h-full items-center justify-center px-1",
|
277
|
+
"aria-label": "Close tab",
|
277
278
|
onClick: ($event) => slot.props.onClose?.()
|
278
279
|
}, [
|
279
280
|
createElementVNode("div", _hoisted_2, [
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WToggle.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Toggle/WToggle.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WToggle.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Toggle/WToggle.vue"],"names":[],"mappings":"AAoFA;AA8JA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,SAAS,CAAA;yBAUvB,KAAK,SAAS,OAAO,GAAG,IAAI,GAAG,OAAO,EACtD,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WAmNO,mBAAmB,CAAC;;+KAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;uBArCgB,GAAG;;cA/JxB,oBAAoB,SAAS,KAAK,KAAG,IAAI;EAwM3C,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AA9NzE,wBA8N4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -4,7 +4,7 @@ import { Notify } from '../../utils/Notify.js';
|
|
4
4
|
import { useSemanticTypeBackgroundMap, SemanticType } from '../../utils/SemanticType.js';
|
5
5
|
import { useComponentStates } from '../../utils/useComponentStates.js';
|
6
6
|
|
7
|
-
const _hoisted_1 = ["disabled"];
|
7
|
+
const _hoisted_1 = ["disabled", "aria-checked", "aria-disabled", "aria-readonly"];
|
8
8
|
const _hoisted_2 = { class: "-h--w-input-height py-0.75" };
|
9
9
|
const _hoisted_3 = { class: "relative grid size-full grid-cols-3" };
|
10
10
|
const _hoisted_4 = {
|
@@ -86,6 +86,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
86
86
|
"justify-center": _ctx.center
|
87
87
|
}]),
|
88
88
|
disabled: unref(isDisabled) || unref(isReadonly) || unref(isSkeleton),
|
89
|
+
role: "switch",
|
90
|
+
"aria-checked": value.value === null ? "mixed" : value.value,
|
91
|
+
"aria-disabled": unref(isDisabled) || unref(isSkeleton),
|
92
|
+
"aria-readonly": unref(isReadonly),
|
89
93
|
onClick: updateModelValue
|
90
94
|
}, [
|
91
95
|
_ctx.title || _ctx.$slots.title ? (openBlock(), createElementBlock("div", {
|