eco-vue-js 0.10.32 → 0.10.34
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/assets/icons/sax/IconAddSquare.svg.js +2 -2
- package/dist/assets/icons/sax/{IconOutlineEdit.svg.js → IconEditSquare.svg.js} +6 -6
- package/dist/assets/icons/sax/IconFilter.svg.js +2 -2
- package/dist/assets/icons/sax/{IconOutlineFolderAdd.svg.js → IconFolderAdd.svg.js} +5 -5
- package/dist/assets/icons/sax/{IconOutlineCloseCircle.svg.js → IconMoon.svg.js} +4 -4
- package/dist/assets/icons/sax/IconSettings.svg.js +3 -3
- package/dist/assets/icons/sax/{IconOutlineCheckCircle.svg.js → IconSun.svg.js} +6 -6
- package/dist/components/ActionsBar/WActionsBar.vue.d.ts +2 -0
- package/dist/components/ActionsBar/WActionsBar.vue.d.ts.map +1 -1
- package/dist/components/ActionsBar/WActionsBar.vue.js +37 -16
- package/dist/components/BottomSheet/WBottomSheet.vue.js +1 -1
- package/dist/components/Button/WButton.vue.d.ts +0 -1
- package/dist/components/Button/WButton.vue.d.ts.map +1 -1
- package/dist/components/Button/WButton.vue.js +9 -7
- package/dist/components/Button/WButtonAction.vue.d.ts +1 -1
- package/dist/components/Button/WButtonAction.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonAction.vue.js +38 -51
- package/dist/components/Button/WButtonCopy.vue.js +1 -1
- package/dist/components/Button/WButtonDropdown.vue.js +1 -0
- package/dist/components/Button/WButtonGroup.vue.js +0 -1
- package/dist/components/Button/WButtonMore.vue.d.ts +11 -4
- package/dist/components/Button/WButtonMore.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonMore.vue.js +36 -16
- package/dist/components/Button/WButtonMoreItem.vue.d.ts +5 -6
- package/dist/components/Button/WButtonMoreItem.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonMoreItem.vue.js +11 -6
- package/dist/components/Button/WButtonSelection.vue.js +1 -1
- package/dist/components/Button/WButtonSelectionAction.vue.js +2 -2
- package/dist/components/Button/types.d.ts +0 -1
- package/dist/components/Button/types.d.ts.map +1 -1
- package/dist/components/Checkbox/WCheckbox.vue.js +3 -3
- package/dist/components/Chip/WChip.vue.js +1 -1
- package/dist/components/ClickOutside/WClickOutside.vue.d.ts +6 -3
- package/dist/components/ClickOutside/WClickOutside.vue.d.ts.map +1 -1
- package/dist/components/ClickOutside/WClickOutside.vue.js +9 -1
- package/dist/components/DatePicker/components/CalendarDay.vue.js +3 -3
- package/dist/components/DatePicker/components/CalendarToggle.vue.js +2 -2
- package/dist/components/DatePicker/components/CalendarValue.vue.js +1 -1
- package/dist/components/Dropdown/WDropdown.vue.d.ts +2 -0
- package/dist/components/Dropdown/WDropdown.vue.d.ts.map +1 -1
- package/dist/components/Dropdown/WDropdown.vue.js +15 -5
- package/dist/components/Dropdown/utils/DropdownStyle.d.ts +69 -0
- package/dist/components/Dropdown/utils/DropdownStyle.d.ts.map +1 -1
- package/dist/components/Dropdown/utils/DropdownStyle.js +23 -1
- package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts +6 -0
- package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts.map +1 -1
- package/dist/components/DropdownMenu/WDropdownMenu.vue.js +20 -29
- package/dist/components/DropdownMenu/types.d.ts +1 -0
- package/dist/components/DropdownMenu/types.d.ts.map +1 -1
- package/dist/components/FieldWrapper/WFieldWrapper.vue.js +1 -1
- package/dist/components/FieldWrapper/components/FilterButton.vue.js +1 -1
- package/dist/components/FilePicker/components/FilePickerSvg.vue.js +1 -1
- package/dist/components/FormAsync/WFormAsyncButtonGroup.vue.js +0 -1
- package/dist/components/FormAsync/WFormAsyncSelect.vue.js +1 -0
- package/dist/components/FormAsync/WFormAsyncSelectInfiniteSingle.vue.js +1 -0
- package/dist/components/FormAsync/WFormAsyncSelectSingle.vue.js +1 -0
- package/dist/components/FormAsync/WFormAsyncSelectStringified.vue.js +1 -0
- package/dist/components/FormAsync/WFormAsyncToggle.vue.js +2 -0
- package/dist/components/InfoCard/WInfoCardNegative.vue.js +1 -1
- package/dist/components/InfoCard/models/utils.js +2 -2
- package/dist/components/Input/WInput.vue.js +2 -2
- package/dist/components/Input/WInputAsync.vue.js +2 -2
- package/dist/components/Input/WInputDate.vue.js +1 -0
- package/dist/components/Input/WInputOptions.vue.js +1 -0
- package/dist/components/Input/WInputSuggest.vue.js +1 -0
- package/dist/components/Link/WLink.vue.d.ts.map +1 -1
- package/dist/components/Link/WLink.vue.js +5 -4
- package/dist/components/Link/WLinkArrow.vue.js +1 -1
- package/dist/components/List/WList.vue.d.ts +9 -4
- package/dist/components/List/WList.vue.d.ts.map +1 -1
- package/dist/components/List/WList.vue.js +7 -4
- package/dist/components/List/WListCard.vue.d.ts +143 -0
- package/dist/components/List/WListCard.vue.d.ts.map +1 -1
- package/dist/components/List/WListCard.vue.js +49 -23
- package/dist/components/List/components/HeaderSettingsModeButton.vue.js +1 -1
- package/dist/components/List/types.d.ts +8 -0
- package/dist/components/List/types.d.ts.map +1 -1
- package/dist/components/MenuItem/WMenuItem.vue.d.ts +5 -5
- package/dist/components/MenuItem/WMenuItem.vue.d.ts.map +1 -1
- package/dist/components/MenuItem/WMenuItem.vue.js +16 -8
- package/dist/components/Modal/WModal.vue.d.ts.map +1 -1
- package/dist/components/Modal/WModal.vue.js +6 -5
- package/dist/components/Modal/WModalExport.vue.js +1 -1
- package/dist/components/Modal/WModalImport.vue.js +1 -1
- package/dist/components/Modal/use/useIsBackdrop.d.ts +2 -0
- package/dist/components/Modal/use/useIsBackdrop.d.ts.map +1 -0
- package/dist/components/Modal/use/useIsBackdrop.js +8 -0
- package/dist/components/Nav/WNavBar.vue.js +1 -1
- package/dist/components/Nav/WNavItem.vue.js +2 -2
- package/dist/components/Progress/WProgress.vue.js +1 -1
- package/dist/components/Select/WSelect.vue.js +1 -0
- package/dist/components/Select/WSelectAsync.vue.js +1 -0
- package/dist/components/Select/WSelectAsyncSingle.vue.js +1 -0
- package/dist/components/Select/WSelectSingle.vue.js +1 -0
- package/dist/components/Select/WSelectStringified.vue.js +1 -0
- package/dist/components/Select/components/SelectOption.vue.js +1 -1
- package/dist/components/Shine/WShine.vue.d.ts +5 -0
- package/dist/components/Shine/WShine.vue.d.ts.map +1 -0
- package/dist/components/Shine/WShine.vue.js +28 -0
- package/dist/components/Shine/WShine.vue2.js +5 -0
- package/dist/components/Shine/WShineEffect.vue.d.ts +3 -0
- package/dist/components/Shine/WShineEffect.vue.d.ts.map +1 -0
- package/dist/components/Shine/WShineEffect.vue.js +42 -0
- package/dist/components/Shine/WShineEffect.vue2.js +5 -0
- package/dist/components/Shine/use/useShine.d.ts +4 -0
- package/dist/components/Shine/use/useShine.d.ts.map +1 -0
- package/dist/components/Shine/use/useShine.js +8 -0
- package/dist/components/Tabs/WTabs.vue.d.ts +16 -8
- package/dist/components/Tabs/WTabs.vue.d.ts.map +1 -1
- package/dist/components/Tabs/WTabs.vue.js +1 -1
- package/dist/components/Tabs/components/TabTitleButton.vue.js +1 -1
- package/dist/components/Toggle/WToggle.vue.d.ts.map +1 -1
- package/dist/components/Toggle/WToggle.vue.js +38 -25
- package/dist/components/Toggle/WToggleTheme.vue.d.ts +9 -0
- package/dist/components/Toggle/WToggleTheme.vue.d.ts.map +1 -0
- package/dist/components/Toggle/WToggleTheme.vue.js +37 -0
- package/dist/components/Toggle/WToggleTheme.vue2.js +5 -0
- package/dist/components/Toggle/types.d.ts +6 -0
- package/dist/components/Toggle/types.d.ts.map +1 -1
- package/dist/components/Tooltip/WTooltipContainer.vue.js +3 -3
- package/dist/components/Tooltip/components/TooltipContainer.vue.js +1 -1
- package/dist/imports/componentsPlugin.d.ts +4 -1
- package/dist/imports/componentsPlugin.d.ts.map +1 -1
- package/dist/imports/iconsSax.d.ts +4 -6
- package/dist/imports/iconsSax.d.ts.map +1 -1
- package/dist/imports/iconsSax.js +4 -6
- package/dist/main.js +5 -2
- package/dist/utils/HorizontalAlign.d.ts +2 -0
- package/dist/utils/HorizontalAlign.d.ts.map +1 -1
- package/dist/utils/HorizontalAlign.js +2 -0
- package/dist/utils/SemanticType.d.ts +36 -0
- package/dist/utils/SemanticType.d.ts.map +1 -1
- package/dist/utils/SemanticType.js +55 -1
- package/dist/utils/useDefaultQuery.d.ts.map +1 -1
- package/dist/utils/useDefaultQuery.js +0 -1
- package/dist/utils/utils.d.ts +4 -0
- package/dist/utils/utils.d.ts.map +1 -1
- package/dist/utils/utils.js +6 -1
- package/package.json +10 -1
- package/tailwind-base/index.ts +4 -10
- package/tailwind-base/plugins/default.ts +15 -0
- package/tailwind-base/theme/animations.ts +9 -0
- package/tailwind-base/theme/sizes.ts +1 -0
- package/dist/assets/icons/sax/IconOutlineRefresh.svg.js +0 -24
- package/dist/assets/icons/sax/IconOutlineStar.svg.js +0 -24
- package/dist/components/Button/models/semanticTypeStylesMap.d.ts +0 -6
- package/dist/components/Button/models/semanticTypeStylesMap.d.ts.map +0 -1
- package/dist/components/Button/models/semanticTypeStylesMap.js +0 -32
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent, useTemplateRef, createElementBlock, openBlock, renderSlot, createBlock, Teleport,
|
1
|
+
import { defineComponent, useTemplateRef, createElementBlock, openBlock, renderSlot, createBlock, Teleport, createCommentVNode, unref, normalizeStyle, normalizeClass, withCtx, normalizeProps, guardReactiveProps } from 'vue';
|
2
2
|
import _sfc_main$1 from '../Dropdown/WDropdown.vue.js';
|
3
3
|
|
4
4
|
const _hoisted_1 = { ref: "container" };
|
@@ -9,6 +9,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
9
|
teleport: { type: Boolean },
|
10
10
|
noZIndex: { type: Boolean },
|
11
11
|
zIndex: {},
|
12
|
+
parentElement: {},
|
12
13
|
maxHeight: {},
|
13
14
|
maxWidth: {},
|
14
15
|
horizontalAlign: {},
|
@@ -31,37 +32,27 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
31
32
|
to: "body",
|
32
33
|
disabled: !_ctx.teleport || !_ctx.isOpen
|
33
34
|
}, [
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
"
|
38
|
-
"
|
35
|
+
unref(containerRef) && _ctx.isOpen ? (openBlock(), createBlock(_sfc_main$1, {
|
36
|
+
key: 0,
|
37
|
+
ref: "dropdown",
|
38
|
+
"parent-element": _ctx.parentElement ?? unref(containerRef),
|
39
|
+
"horizontal-align": _ctx.horizontalAlign,
|
40
|
+
"update-align": _ctx.updateAlign,
|
41
|
+
"max-height": _ctx.maxHeight,
|
42
|
+
"max-width": _ctx.maxWidth,
|
43
|
+
"emit-update": _ctx.emitUpdate,
|
44
|
+
class: normalizeClass({
|
45
|
+
"z-[2]": !_ctx.teleport && !_ctx.noZIndex,
|
46
|
+
"z-30": _ctx.teleport && !_ctx.noZIndex
|
47
|
+
}),
|
48
|
+
style: normalizeStyle({ zIndex: _ctx.zIndex }),
|
49
|
+
"onUpdate:rect": _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:rect"))
|
39
50
|
}, {
|
40
|
-
default: withCtx(() => [
|
41
|
-
|
42
|
-
key: 0,
|
43
|
-
ref: "dropdown",
|
44
|
-
"parent-element": unref(containerRef),
|
45
|
-
"horizontal-align": _ctx.horizontalAlign,
|
46
|
-
"update-align": _ctx.updateAlign,
|
47
|
-
"max-height": _ctx.maxHeight,
|
48
|
-
"max-width": _ctx.maxWidth,
|
49
|
-
"emit-update": _ctx.emitUpdate,
|
50
|
-
class: normalizeClass([{
|
51
|
-
"z-[2]": !_ctx.teleport && !_ctx.noZIndex,
|
52
|
-
"z-30": _ctx.teleport && !_ctx.noZIndex
|
53
|
-
}, "will-change-[top,bottom]"]),
|
54
|
-
style: normalizeStyle({ zIndex: _ctx.zIndex }),
|
55
|
-
"onUpdate:rect": _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:rect"))
|
56
|
-
}, {
|
57
|
-
default: withCtx((defaultScope) => [
|
58
|
-
renderSlot(_ctx.$slots, "content", normalizeProps(guardReactiveProps(defaultScope)))
|
59
|
-
]),
|
60
|
-
_: 3
|
61
|
-
}, 8, ["parent-element", "horizontal-align", "update-align", "max-height", "max-width", "emit-update", "class", "style"])) : createCommentVNode("", true)
|
51
|
+
default: withCtx((defaultScope) => [
|
52
|
+
renderSlot(_ctx.$slots, "content", normalizeProps(guardReactiveProps(defaultScope)))
|
62
53
|
]),
|
63
54
|
_: 3
|
64
|
-
})
|
55
|
+
}, 8, ["parent-element", "horizontal-align", "update-align", "max-height", "max-width", "emit-update", "class", "style"])) : createCommentVNode("", true)
|
65
56
|
], 8, ["disabled"]))
|
66
57
|
], 512);
|
67
58
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/DropdownMenu/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAA;AAEpD,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,aAAa,EAAE,eAAe,CAAC;IAC7E,MAAM,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/DropdownMenu/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAA;AAEpD,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,aAAa,EAAE,eAAe,CAAC;IAC7E,MAAM,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,aAAa,CAAC,EAAE,aAAa,CAAC,eAAe,CAAC,CAAA;CAC/C"}
|
@@ -73,7 +73,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
73
73
|
_ctx.title || _ctx.$slots.title ? (openBlock(), createElementBlock("label", {
|
74
74
|
key: 0,
|
75
75
|
for: unref(id),
|
76
|
-
class: normalizeClass(["text-accent relative block pr-6 text-xs font-semibold leading-loose
|
76
|
+
class: normalizeClass(["text-accent relative block pr-6 text-xs font-semibold leading-loose", {
|
77
77
|
"cursor-not-allowed opacity-50": _ctx.disabled && !_ctx.readonly && !_ctx.skeleton,
|
78
78
|
"col-start-1": _ctx.subgrid
|
79
79
|
}])
|
@@ -18,7 +18,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
18
18
|
key: 1,
|
19
19
|
class: normalizeClass(["w-ripple w-ripple-hover rounded p-0.5", {
|
20
20
|
"text-description": _ctx.$route.query[_ctx.filterField] !== _ctx.encodedQueryParam,
|
21
|
-
"bg-primary
|
21
|
+
"bg-primary dark:bg-primary-dark text-default dark:text-default-dark": _ctx.$route.query[_ctx.filterField] === _ctx.encodedQueryParam
|
22
22
|
}]),
|
23
23
|
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
24
|
}, [
|
@@ -48,7 +48,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
48
48
|
"opacity-50": !_ctx.isActive,
|
49
49
|
"opacity-100": _ctx.isActive,
|
50
50
|
"text-negative dark:text-negative-dark": _ctx.hasError,
|
51
|
-
"text-primary
|
51
|
+
"text-primary dark:text-primary-dark": !_ctx.hasError
|
52
52
|
}),
|
53
53
|
width: _ctx.svgWidth,
|
54
54
|
height: _ctx.svgHeight
|
@@ -6,6 +6,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "WFormAsyncToggle",
|
7
7
|
props: {
|
8
8
|
title: {},
|
9
|
+
icon: {},
|
9
10
|
small: { type: Boolean },
|
10
11
|
disabled: { type: Boolean },
|
11
12
|
loading: { type: Boolean },
|
@@ -16,6 +17,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
16
17
|
intermediate: { type: Boolean },
|
17
18
|
negate: { type: Boolean },
|
18
19
|
validate: {},
|
20
|
+
center: { type: Boolean },
|
19
21
|
useQueryFn: {},
|
20
22
|
noParams: { type: Boolean },
|
21
23
|
queryParams: {},
|
@@ -13,7 +13,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
13
13
|
},
|
14
14
|
setup(__props) {
|
15
15
|
const stylesMap = {
|
16
|
-
[SemanticType.PRIMARY]: "text-primary
|
16
|
+
[SemanticType.PRIMARY]: "text-primary dark:text-primary-dark",
|
17
17
|
[SemanticType.SECONDARY]: "text-description",
|
18
18
|
[SemanticType.NEGARIVE]: "text-negative dark:text-negative-dark",
|
19
19
|
[SemanticType.POSITIVE]: "text-positive dark:text-positive-dark",
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { SemanticType } from '../../../utils/SemanticType.js';
|
2
2
|
|
3
3
|
const infoCardSemanticTypeMap = {
|
4
|
-
[SemanticType.PRIMARY]: "bg-primary
|
4
|
+
[SemanticType.PRIMARY]: "bg-primary/10 dark:bg-primary-dark/10",
|
5
5
|
[SemanticType.SECONDARY]: "bg-gray-100 dark:bg-gray-800",
|
6
6
|
[SemanticType.POSITIVE]: "bg-positive/10 dark:bg-positive-dark/10",
|
7
7
|
[SemanticType.NEGARIVE]: "bg-negative/10 dark:bg-negative-dark/10",
|
@@ -9,7 +9,7 @@ const infoCardSemanticTypeMap = {
|
|
9
9
|
[SemanticType.INFO]: "bg-info/10 dark:bg-info-dark/10"
|
10
10
|
};
|
11
11
|
const infoCardIconSemanticTypeMap = {
|
12
|
-
[SemanticType.PRIMARY]: "text-primary
|
12
|
+
[SemanticType.PRIMARY]: "text-primary dark:text-primary-dark",
|
13
13
|
[SemanticType.SECONDARY]: "text-description",
|
14
14
|
[SemanticType.POSITIVE]: "text-positive dark:text-positive-dark",
|
15
15
|
[SemanticType.NEGARIVE]: "text-negative dark:text-negative-dark",
|
@@ -214,7 +214,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
214
214
|
fn: withCtx(({ id, setFocused, focused }) => [
|
215
215
|
createElementVNode("div", {
|
216
216
|
class: normalizeClass(["bg-default dark:bg-default-dark relative grid min-h-[--w-input-height,2.75rem] grid-cols-[auto,1fr,auto] overflow-hidden rounded-[--w-input-rounded,0.75rem] border border-solid transition-colors duration-75", {
|
217
|
-
"focus-within:border-primary
|
217
|
+
"focus-within:border-primary dark:focus-within:border-primary-dark focus-within:outline-primary/20 dark:focus-within:outline-primary-dark/20 focus-within:outline focus-within:outline-2": !_ctx.disabled && !_ctx.readonly && !_ctx.unclickable,
|
218
218
|
"cursor-text": !_ctx.disabled,
|
219
219
|
"border-negative dark:border-negative-dark": _ctx.errorMessage,
|
220
220
|
"border-gray-300 dark:border-gray-700": !_ctx.disabled,
|
@@ -228,7 +228,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
228
228
|
key: 0,
|
229
229
|
class: normalizeClass(["flex h-full w-[--w-input-height,2.75rem] select-none items-center justify-center", {
|
230
230
|
"text-description": !focused,
|
231
|
-
"text-primary
|
231
|
+
"text-primary dark:text-primary-dark": focused
|
232
232
|
}])
|
233
233
|
}, [
|
234
234
|
(openBlock(), createBlock(resolveDynamicComponent(_ctx.icon), { class: "square-[1.125em]" }))
|
@@ -226,7 +226,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
226
226
|
skeleton: _ctx.skeleton,
|
227
227
|
disabled: _ctx.disabled,
|
228
228
|
class: normalizeClass({
|
229
|
-
"bg-primary
|
229
|
+
"bg-primary dark:bg-primary-dark text-default dark:text-default-dark": canSave.value
|
230
230
|
}),
|
231
231
|
onClick: toggle
|
232
232
|
}, null, 8, ["icon", "tooltip-text", "loading", "skeleton", "disabled", "class"])) : createCommentVNode("", true)
|
@@ -257,7 +257,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
257
257
|
default: withCtx(() => [
|
258
258
|
timeout.value ? (openBlock(), createElementBlock("div", {
|
259
259
|
key: timeout.value.toString(),
|
260
|
-
class: "bg-primary
|
260
|
+
class: "bg-primary dark:bg-primary-dark relative h-full rounded-sm",
|
261
261
|
style: normalizeStyle({ "--debounce-duration": _ctx.debounce + "ms" })
|
262
262
|
}, null, 4)) : createCommentVNode("", true)
|
263
263
|
]),
|
@@ -58,6 +58,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
58
58
|
teleport: { type: Boolean },
|
59
59
|
noZIndex: { type: Boolean },
|
60
60
|
zIndex: {},
|
61
|
+
parentElement: {},
|
61
62
|
maxHeight: { default: 440 },
|
62
63
|
maxWidth: { default: 480 },
|
63
64
|
horizontalAlign: { default: HorizontalAlign.RIGHT_INNER }
|
@@ -59,6 +59,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
59
59
|
teleport: { type: Boolean },
|
60
60
|
noZIndex: { type: Boolean },
|
61
61
|
zIndex: {},
|
62
|
+
parentElement: {},
|
62
63
|
maxHeight: { default: 320 },
|
63
64
|
maxWidth: { default: 600 },
|
64
65
|
horizontalAlign: { default: HorizontalAlign.FILL }
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WLink.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Link/WLink.vue"],"names":[],"mappings":"AAcA;
|
1
|
+
{"version":3,"file":"WLink.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Link/WLink.vue"],"names":[],"mappings":"AAcA;AAiDA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAM5C,OAAO,EAAC,YAAY,EAAiD,MAAM,sBAAsB,CAAA;AAEjG,UAAU,KAAM,SAAQ,OAAO,CAAC,SAAS,CAAC;IACxC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAA;IAChD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,IAAI,CAAC,EAAE,YAAY,CAAA;CACpB;AA4BD,iBAAS,cAAc;WAgDT,OAAO,IAA6B;;yBAVpB,GAAG;;;;EAehC;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;UAlGZ,MAAM;eAXf,YA/C8B;UA4DrB,YAAY;kBADJ,YAAY;YAFlB,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM;UADzC,MAAM;6EA4Gb,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,8 +1,7 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, resolveDynamicComponent, unref, mergeProps, withCtx, renderSlot, normalizeClass, createTextVNode, toDisplayString } from 'vue';
|
2
2
|
import { RouterLink } from 'vue-router';
|
3
3
|
import IconLink from '../../assets/icons/sax/IconLink.svg.js';
|
4
|
-
import {
|
5
|
-
import { SemanticType } from '../../utils/SemanticType.js';
|
4
|
+
import { SemanticType, useSemanticTypeTextMap, useSemanticTypeChipMap } from '../../utils/SemanticType.js';
|
6
5
|
|
7
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
8
7
|
__name: "WLink",
|
@@ -15,13 +14,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
15
14
|
to: { default: void 0 }
|
16
15
|
},
|
17
16
|
setup(__props) {
|
17
|
+
const semanticTypeChipMap = useSemanticTypeChipMap();
|
18
|
+
const semanticTypeTextMap = useSemanticTypeTextMap();
|
18
19
|
return (_ctx, _cache) => {
|
19
20
|
return openBlock(), createBlock(resolveDynamicComponent(_ctx.to ? unref(RouterLink) : "a"), mergeProps(!_ctx.to ? { target: _ctx.target, href: _ctx.href } : { to: _ctx.to }, {
|
20
|
-
class: ["cursor-pointer overflow-hidden truncate whitespace-normal font-normal no-underline hover:underline", unref(
|
21
|
+
class: ["cursor-pointer overflow-hidden truncate whitespace-normal font-normal no-underline hover:underline", unref(semanticTypeTextMap)[_ctx.semanticType]]
|
21
22
|
}), {
|
22
23
|
default: withCtx(() => [
|
23
24
|
(openBlock(), createBlock(resolveDynamicComponent(_ctx.icon ?? unref(IconLink)), {
|
24
|
-
class: normalizeClass(["square-[1.25em] mr-[0.25em] mt-[-0.25em] inline rounded-[0.5em] p-px", unref(
|
25
|
+
class: normalizeClass(["square-[1.25em] mr-[0.25em] mt-[-0.25em] inline rounded-[0.5em] p-px", unref(semanticTypeChipMap)[_ctx.semanticType]])
|
25
26
|
}, null, 8, ["class"])),
|
26
27
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
27
28
|
createTextVNode(toDisplayString(_ctx.text), 1)
|
@@ -12,7 +12,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
12
12
|
return (_ctx, _cache) => {
|
13
13
|
return openBlock(), createBlock(unref(RouterLink), {
|
14
14
|
to: _ctx.to,
|
15
|
-
class: "text-description hover:text-primary
|
15
|
+
class: "text-description hover:text-primary dark:hover:text-primary-dark flex cursor-pointer select-none items-center gap-2 self-end py-2 font-normal no-underline"
|
16
16
|
}, {
|
17
17
|
default: withCtx(() => [
|
18
18
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { BulkComponent, CardAreas, FieldComponent, FieldConfigMap, GridCol, ListFields, MenuComponent } from './types';
|
1
|
+
import { BulkComponent, CardActionParams, CardAreas, FieldComponent, FieldConfigMap, GridCol, ListFields, MenuComponent } from './types';
|
2
2
|
import { LinkProps } from '../../types/types';
|
3
3
|
import { ApiError } from '../../utils/api';
|
4
4
|
import { ListMode } from '../../utils/utils';
|
@@ -8,7 +8,8 @@ declare const _default: <Data extends DefaultData, QueryParams, Fields extends L
|
|
8
8
|
detail?: string | undefined;
|
9
9
|
non_field_errors?: string[] | undefined;
|
10
10
|
}>) => any) | undefined;
|
11
|
-
|
11
|
+
readonly "onClick:action"?: ((value: CardActionParams<Data>) => any) | undefined;
|
12
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:error" | "onClick:action"> & {
|
12
13
|
count?: number;
|
13
14
|
fields: Fields;
|
14
15
|
expansion?: FieldComponent<Data>;
|
@@ -36,7 +37,8 @@ declare const _default: <Data extends DefaultData, QueryParams, Fields extends L
|
|
36
37
|
groupBy?: (a: Data, b: Data) => boolean;
|
37
38
|
cardColumns: CardColumns;
|
38
39
|
cardAreas: CardAreas<Fields, CardColumns["length"]>;
|
39
|
-
cardTo?: (item: Data) => LinkProps["to"];
|
40
|
+
cardTo?: (item: Data) => LinkProps["to"] | undefined;
|
41
|
+
hasAction?: boolean;
|
40
42
|
} & Partial<{}>> & import('vue').PublicProps;
|
41
43
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
42
44
|
attrs: any;
|
@@ -51,7 +53,10 @@ declare const _default: <Data extends DefaultData, QueryParams, Fields extends L
|
|
51
53
|
skeleton: boolean;
|
52
54
|
}): any;
|
53
55
|
};
|
54
|
-
emit:
|
56
|
+
emit: {
|
57
|
+
(e: "update:error", value: ApiError): void;
|
58
|
+
(e: "click:action", value: CardActionParams<Data>): void;
|
59
|
+
};
|
55
60
|
}>) => import('vue').VNode & {
|
56
61
|
__ctx?: Awaited<typeof __VLS_setup>;
|
57
62
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/List/WList.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/List/WList.vue"],"names":[],"mappings":"AAuPA;AAyYA,OAAO,KAAK,EAAC,aAAa,EAAE,gBAAgB,EAAE,SAAS,EAAE,cAAc,EAAE,cAAc,EAAE,OAAO,EAAE,UAAU,EAAE,aAAa,EAAC,MAAM,SAAS,CAAA;AAC3I,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAC5C,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,aAAa,CAAA;AAWzC,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAA;yBAWrB,IAAI,SAAS,WAAW,EAAE,WAAW,EAAE,MAAM,SAAS,UAAU,CAAC,IAAI,EAAE,WAAW,CAAC,EAAE,WAAW,SAAS,SAAS,OAAO,EAAE,EAC3I,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;WAwuBO,mBAAmB,CAAC;;;;;;;gBAtuBlB,MAAM;gBACN,MAAM;oBACF,cAAc,CAAC,IAAI,CAAC;oBACpB,iBAAiB,CAAC,IAAI,EAAE,WAAW,CAAC;qBACnC,WAAW;uBACT,OAAO,CAAC,YAAY,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC;6BACxC,MAAM;wBACX,MAAM;eACf,aAAa,CAAC,WAAW,CAAC,EAAE;mBACxB,aAAa,CAAC,WAAW,CAAC,EAAE;eAChC,aAAa,CAAC,IAAI,CAAC,EAAE;yBACX,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO;oBAC5B,MAAM;2BACC,MAAM;6BACJ,CAAC,UAAU,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM;oBACvD,OAAO;mBACR,MAAM;0BACC,cAAc,CAAC,MAAM,CAAC;sBAC1B,QAAQ;mBACX,OAAO;sBACJ,OAAO;mBACV,OAAO;qBACL,OAAO;yBACH,CAAC,IAAI,EAAE,IAAI,KAAK,MAAM,GAAG,SAAS;kBACzC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,KAAK,OAAO;qBAC1B,WAAW;mBACb,SAAS,CAAC,MAAM,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;iBAC1C,CAAC,IAAI,EAAE,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,GAAG,SAAS;oBACxC,OAAO;mBA0sByE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;;YAjEiB,GAAG;2BACC,GAAG;;;;;YACP,GAAG;;;YAxoBzB,cAAc,SAAS,QAAQ,GAAG,IAAI;YACtC,cAAc,SAAS,gBAAgB,CAAC,IAAI,CAAC,GAAG,IAAI;;EA0sBtD,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAnvBzE,wBAmvB4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -48,9 +48,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
48
48
|
groupBy: { type: Function },
|
49
49
|
cardColumns: {},
|
50
50
|
cardAreas: {},
|
51
|
-
cardTo: { type: Function }
|
51
|
+
cardTo: { type: Function },
|
52
|
+
hasAction: { type: Boolean }
|
52
53
|
},
|
53
|
-
emits: ["update:error"],
|
54
|
+
emits: ["update:error", "click:action"],
|
54
55
|
setup(__props) {
|
55
56
|
const props = __props;
|
56
57
|
const { isMobile } = useIsMobile();
|
@@ -254,12 +255,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
254
255
|
"form-name": skeleton ? void 0 : _ctx.formNameGetter?.(item),
|
255
256
|
card: unref(isGrid),
|
256
257
|
to: skeleton ? void 0 : _ctx.cardTo?.(item),
|
258
|
+
"has-action": _ctx.hasAction,
|
257
259
|
skeleton,
|
258
260
|
selected: skeleton ? false : unref(getIsSelected)(value, position),
|
259
261
|
"allow-select": allowSelect.value,
|
260
262
|
"allow-select-hover": unref(allowSelectHover),
|
261
263
|
"onToggle:selected": ($event) => unref(toggleSelected)(value, position),
|
262
|
-
"onHover:selected": ($event) => unref(hoverSelected)(position)
|
264
|
+
"onHover:selected": ($event) => unref(hoverSelected)(position),
|
265
|
+
"onClick:action": ($event) => _ctx.$emit("click:action", { item, setter })
|
263
266
|
}, createSlots({
|
264
267
|
default: withCtx(({ validate }) => [
|
265
268
|
createVNode(_sfc_main$3, {
|
@@ -334,7 +337,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
334
337
|
]),
|
335
338
|
key: "1"
|
336
339
|
} : void 0
|
337
|
-
]), 1032, ["disabled", "disable-more", "mobile", "card-class", "card-wrapper-class", "has-border", "allow-open", "align-top", "form-name", "card", "to", "skeleton", "selected", "allow-select", "allow-select-hover", "onToggle:selected", "onHover:selected"])
|
340
|
+
]), 1032, ["disabled", "disable-more", "mobile", "card-class", "card-wrapper-class", "has-border", "allow-open", "align-top", "form-name", "card", "to", "has-action", "skeleton", "selected", "allow-select", "allow-select-hover", "onToggle:selected", "onHover:selected", "onClick:action"])
|
338
341
|
]),
|
339
342
|
_: 3
|
340
343
|
}, 8, ["use-query-fn", "query-params", "query-options", "skeleton-length", "page-length", "count", "page-class", "style", "class"])
|
@@ -11,6 +11,7 @@ type __VLS_Props = {
|
|
11
11
|
formName: string | undefined;
|
12
12
|
card: boolean;
|
13
13
|
to: LinkProps['to'] | undefined;
|
14
|
+
hasAction: boolean | undefined;
|
14
15
|
skeleton: boolean;
|
15
16
|
selected: boolean;
|
16
17
|
allowSelect: boolean;
|
@@ -29,7 +30,77 @@ declare function __VLS_template(): {
|
|
29
30
|
expansion?(_: {}): any;
|
30
31
|
};
|
31
32
|
refs: {
|
33
|
+
container: HTMLDivElement;
|
32
34
|
form: unknown;
|
35
|
+
more: ({
|
36
|
+
$: import('vue').ComponentInternalInstance;
|
37
|
+
$data: {};
|
38
|
+
$props: {
|
39
|
+
readonly icon?: SVGComponent | undefined;
|
40
|
+
readonly disabled?: boolean | undefined;
|
41
|
+
readonly anchor?: import('../Dropdown/types').DropdownProps["parentElement"] | undefined;
|
42
|
+
readonly onClose?: (() => any) | undefined;
|
43
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
44
|
+
$attrs: {
|
45
|
+
[x: string]: unknown;
|
46
|
+
};
|
47
|
+
$refs: {
|
48
|
+
[x: string]: unknown;
|
49
|
+
};
|
50
|
+
$slots: Readonly<{
|
51
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
52
|
+
}>;
|
53
|
+
$root: import('vue').ComponentPublicInstance | null;
|
54
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
55
|
+
$host: Element | null;
|
56
|
+
$emit: (event: "close") => void;
|
57
|
+
$el: HTMLButtonElement;
|
58
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
59
|
+
icon?: SVGComponent;
|
60
|
+
disabled?: boolean;
|
61
|
+
anchor?: import('../Dropdown/types').DropdownProps["parentElement"];
|
62
|
+
}> & Readonly<{
|
63
|
+
onClose?: (() => any) | undefined;
|
64
|
+
}>, {
|
65
|
+
open: () => void;
|
66
|
+
isOpen: Readonly<import('vue').Ref<boolean, boolean>>;
|
67
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
68
|
+
close: () => any;
|
69
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
70
|
+
beforeCreate?: (() => void) | (() => void)[];
|
71
|
+
created?: (() => void) | (() => void)[];
|
72
|
+
beforeMount?: (() => void) | (() => void)[];
|
73
|
+
mounted?: (() => void) | (() => void)[];
|
74
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
75
|
+
updated?: (() => void) | (() => void)[];
|
76
|
+
activated?: (() => void) | (() => void)[];
|
77
|
+
deactivated?: (() => void) | (() => void)[];
|
78
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
79
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
80
|
+
destroyed?: (() => void) | (() => void)[];
|
81
|
+
unmounted?: (() => void) | (() => void)[];
|
82
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
83
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
84
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
85
|
+
};
|
86
|
+
$forceUpdate: () => void;
|
87
|
+
$nextTick: typeof import('vue').nextTick;
|
88
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
89
|
+
} & Readonly<{}> & Omit<Readonly<{
|
90
|
+
icon?: SVGComponent;
|
91
|
+
disabled?: boolean;
|
92
|
+
anchor?: import('../Dropdown/types').DropdownProps["parentElement"];
|
93
|
+
}> & Readonly<{
|
94
|
+
onClose?: (() => any) | undefined;
|
95
|
+
}>, "isOpen" | "open"> & import('vue').ShallowUnwrapRef<{
|
96
|
+
open: () => void;
|
97
|
+
isOpen: Readonly<import('vue').Ref<boolean, boolean>>;
|
98
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
99
|
+
$slots: {
|
100
|
+
default?(_: {}): any;
|
101
|
+
};
|
102
|
+
}) | null;
|
103
|
+
anchor: HTMLDivElement;
|
33
104
|
};
|
34
105
|
rootEl: any;
|
35
106
|
};
|
@@ -37,11 +108,83 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
37
108
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
38
109
|
"toggle:selected": () => any;
|
39
110
|
"hover:selected": () => any;
|
111
|
+
"click:action": () => any;
|
40
112
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
41
113
|
"onToggle:selected"?: (() => any) | undefined;
|
42
114
|
"onHover:selected"?: (() => any) | undefined;
|
115
|
+
"onClick:action"?: (() => any) | undefined;
|
43
116
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
117
|
+
container: HTMLDivElement;
|
44
118
|
form: unknown;
|
119
|
+
more: ({
|
120
|
+
$: import('vue').ComponentInternalInstance;
|
121
|
+
$data: {};
|
122
|
+
$props: {
|
123
|
+
readonly icon?: SVGComponent | undefined;
|
124
|
+
readonly disabled?: boolean | undefined;
|
125
|
+
readonly anchor?: import('../Dropdown/types').DropdownProps["parentElement"] | undefined;
|
126
|
+
readonly onClose?: (() => any) | undefined;
|
127
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
128
|
+
$attrs: {
|
129
|
+
[x: string]: unknown;
|
130
|
+
};
|
131
|
+
$refs: {
|
132
|
+
[x: string]: unknown;
|
133
|
+
};
|
134
|
+
$slots: Readonly<{
|
135
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
136
|
+
}>;
|
137
|
+
$root: import('vue').ComponentPublicInstance | null;
|
138
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
139
|
+
$host: Element | null;
|
140
|
+
$emit: (event: "close") => void;
|
141
|
+
$el: HTMLButtonElement;
|
142
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
143
|
+
icon?: SVGComponent;
|
144
|
+
disabled?: boolean;
|
145
|
+
anchor?: import('../Dropdown/types').DropdownProps["parentElement"];
|
146
|
+
}> & Readonly<{
|
147
|
+
onClose?: (() => any) | undefined;
|
148
|
+
}>, {
|
149
|
+
open: () => void;
|
150
|
+
isOpen: Readonly<import('vue').Ref<boolean, boolean>>;
|
151
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
152
|
+
close: () => any;
|
153
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
154
|
+
beforeCreate?: (() => void) | (() => void)[];
|
155
|
+
created?: (() => void) | (() => void)[];
|
156
|
+
beforeMount?: (() => void) | (() => void)[];
|
157
|
+
mounted?: (() => void) | (() => void)[];
|
158
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
159
|
+
updated?: (() => void) | (() => void)[];
|
160
|
+
activated?: (() => void) | (() => void)[];
|
161
|
+
deactivated?: (() => void) | (() => void)[];
|
162
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
163
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
164
|
+
destroyed?: (() => void) | (() => void)[];
|
165
|
+
unmounted?: (() => void) | (() => void)[];
|
166
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
167
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
168
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
169
|
+
};
|
170
|
+
$forceUpdate: () => void;
|
171
|
+
$nextTick: typeof import('vue').nextTick;
|
172
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
173
|
+
} & Readonly<{}> & Omit<Readonly<{
|
174
|
+
icon?: SVGComponent;
|
175
|
+
disabled?: boolean;
|
176
|
+
anchor?: import('../Dropdown/types').DropdownProps["parentElement"];
|
177
|
+
}> & Readonly<{
|
178
|
+
onClose?: (() => any) | undefined;
|
179
|
+
}>, "isOpen" | "open"> & import('vue').ShallowUnwrapRef<{
|
180
|
+
open: () => void;
|
181
|
+
isOpen: Readonly<import('vue').Ref<boolean, boolean>>;
|
182
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
183
|
+
$slots: {
|
184
|
+
default?(_: {}): any;
|
185
|
+
};
|
186
|
+
}) | null;
|
187
|
+
anchor: HTMLDivElement;
|
45
188
|
}, any>;
|
46
189
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
47
190
|
export default _default;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WListCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/List/WListCard.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WListCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/List/WListCard.vue"],"names":[],"mappings":"AAwMA;AAkRA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAgB5C,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAA;IAC7B,MAAM,EAAE,OAAO,GAAG,SAAS,CAAA;IAC3B,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAA;IAC7B,SAAS,EAAE,OAAO,GAAG,SAAS,CAAA;IAC9B,SAAS,EAAE,MAAM,GAAG,SAAS,CAAA;IAC7B,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAA;IACpC,SAAS,EAAE,OAAO,GAAG,SAAS,CAAA;IAC9B,WAAW,EAAE,OAAO,GAAG,SAAS,CAAA;IAChC,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5B,IAAI,EAAE,OAAO,CAAA;IACb,EAAE,EAAE,SAAS,CAAC,IAAI,CAAC,GAAG,SAAS,CAAA;IAC/B,SAAS,EAAE,OAAO,GAAG,SAAS,CAAA;IAC9B,QAAQ,EAAE,OAAO,CAAA;IAEjB,QAAQ,EAAE,OAAO,CAAA;IACjB,WAAW,EAAE,OAAO,CAAA;IACpB,gBAAgB,EAAE,OAAO,CAAA;CAC1B,CAAC;AAwCF,iBAAS,cAAc;WAoYT,OAAO,IAA6B;;;;;;YAjBpB,GAAG;sBACN,GAAG;sBACH,GAAG;2BACE,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA5EL,GAAG,8CAE7B,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;EA6FxE;AA2BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA3HS,GAAG,8CAE7B,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;OAiIvE,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"}
|