@ironsource/shared-ui 1.4.3-rc.4 → 1.4.3
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/AddFilterButton.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/AppTrigger.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/AutocompleteInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Banner.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Button.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/ButtonBase.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/CalendarMonth.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Chip.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/DateRange.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Dialog.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Dropdown.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Dropdown.vue_vue_type_style_index_1_lang.css +1 -1
- package/Editable.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/EmptyState.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/FilterSearchInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/FloatingToolbar.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/IconButton.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/IncludeExclude.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/IncludeExcludeAppTrigger.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/IncludeExcludeChipFilter.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/IncludeExcludeOptionDraggable.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/Input.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Menu.vue_vue_type_style_index_1_lang.css +1 -1
- package/MenuItem.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Popover.vue_vue_type_style_index_0_lang.css +1 -1
- package/README.md +36 -21
- package/ScrollButton.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Search.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/SearchInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Snackbar.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Switch.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Table.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Table.vue_vue_type_style_index_1_lang.css +1 -1
- package/Tabs.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/TextArea.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Toggle.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/components/appTrigger/AppTrigger.vue.js +3 -3
- package/components/autocompleteDropdown/AutocompleteDropdown.vue.js +1 -2
- package/components/button/{common/ButtonSuper.vue.js → Button.vue.js} +7 -7
- package/components/button/{common/ButtonBase.vue.d.ts → ButtonBase.vue.d.ts} +9 -9
- package/components/button/{common/ButtonBase.vue.js → ButtonBase.vue.js} +8 -8
- package/components/button/{v3/IconButton.vue.js → IconButton.vue.js} +7 -7
- package/components/button/{v3/ScrollButton.vue.js → ScrollButton.vue.js} +6 -6
- package/components/button/index.d.ts +126 -0
- package/components/checkbox/Checkbox.vue.d.ts +1 -1
- package/components/checkbox/index.d.ts +9 -9
- package/components/chip/{v3/Chip.vue.js → Chip.vue.js} +5 -5
- package/components/dateRange/CalendarMonth.vue.js +3 -3
- package/components/dateRange/DateRange.vue.js +4 -4
- package/components/dateRange/consts.d.ts +5 -0
- package/components/dateRange/consts.vue.js +8 -0
- package/components/dateRange/index.d.ts +3 -3
- package/components/dialog/Dialog.vue.d.ts +1 -1
- package/components/dialog/Dialog.vue.js +6 -7
- package/components/dialog/index.d.ts +11 -11
- package/components/dropdown/Dropdown.vue.d.ts +2 -2
- package/components/dropdown/Dropdown.vue.js +5 -5
- package/components/dropdown/SearchInput.vue.js +5 -6
- package/components/dropdown/index.d.ts +16 -16
- package/components/emptyState/EmptyState.vue.d.ts +1 -1
- package/components/emptyState/EmptyState.vue.js +4 -4
- package/components/emptyState/index.d.ts +14 -14
- package/components/filterDropdown/AddFilterButton.vue.js +2 -2
- package/components/filterDropdown/FilterDropdown.vue.js +1 -2
- package/components/filtersPanel/FilterSearchInput.vue.js +2 -2
- package/components/floatingToolbar/FloatingToolbar.vue.js +5 -6
- package/components/icon/Icon.vue.js +2 -0
- package/components/icon/icons/Hammer.vue.d.ts +2 -0
- package/components/icon/icons/Hammer.vue.js +26 -0
- package/components/icon/icons/TableEdit.vue.d.ts +2 -0
- package/components/icon/icons/TableEdit.vue.js +24 -0
- package/components/icon/icons/index.d.ts +6 -0
- package/components/icon/icons/index.vue.js +6 -0
- package/components/icon/index.d.ts +6 -0
- package/components/includeExclude/IncludeExclude.vue.js +5 -5
- package/components/includeExclude/IncludeExcludeAppHeader.vue.js +7 -4
- package/components/includeExclude/IncludeExcludeAppTrigger.vue.js +3 -3
- package/components/includeExclude/IncludeExcludeChipFilter.vue.js +8 -6
- package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +125 -0
- package/components/includeExclude/IncludeExcludeDragDrop.vue.js +610 -0
- package/components/{chip/v4/ChipV4.vue.d.ts → includeExclude/IncludeExcludeOptionDraggable.vue.d.ts} +18 -23
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.js +126 -0
- package/components/includeExclude/includeExcludeMocks.d.ts +12 -0
- package/components/includeExclude/index.d.ts +228 -7
- package/components/includeExclude/index.vue.js +6 -0
- package/components/input/Input.vue.d.ts +2 -2
- package/components/input/Input.vue.js +3 -3
- package/components/input/index.d.ts +16 -16
- package/components/menu/Menu.vue.d.ts +1 -1
- package/components/menu/index.d.ts +5 -5
- package/components/snackbar/Snackbar.vue.d.ts +1 -1
- package/components/snackbar/Snackbar.vue.js +5 -6
- package/components/switch/{v3/Switch.vue.js → Switch.vue.js} +5 -5
- package/components/table/Table.types.d.ts +1 -0
- package/components/table/Table.vue.d.ts +13 -0
- package/components/table/Table.vue.js +34 -12
- package/components/table/index.d.ts +25 -0
- package/components/table-cells/Editable.vue.js +1 -1
- package/components/tooltip/Tooltip.vue.d.ts +1 -1
- package/components/tooltip/index.d.ts +5 -5
- package/components/typography/index.d.ts +9 -9
- package/index.d.ts +3 -429
- package/index.vue.js +11 -18
- package/package.json +13 -21
- package/styleguide.scss +78 -77
- package/ButtonBase.vue_vue_type_style_index_1_scoped_true_lang.css +0 -1
- package/ButtonSuper.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/ButtonV4.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/ChipV4.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/SwitchV4.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/components/ThemeWrapper/ThemeStrore.d.ts +0 -4
- package/components/ThemeWrapper/ThemeWrapper.vue.d.ts +0 -15
- package/components/button/common/ButtonSuper.vue.d.ts +0 -42
- package/components/button/v3/Button.vue.js +0 -40
- package/components/button/v3/index.d.ts +0 -126
- package/components/button/v4/ButtonV4.vue.d.ts +0 -52
- package/components/button/v4/ButtonV4.vue.js +0 -44
- package/components/button/v4/index.d.ts +0 -72
- package/components/button/v4/index.vue.js +0 -6
- package/components/chip/v4/ChipV4.vue.js +0 -76
- package/components/chip/v4/index.d.ts +0 -63
- package/components/chip/v4/index.vue.js +0 -6
- package/components/switch/v4/SwitchV4.vue.d.ts +0 -37
- package/components/switch/v4/SwitchV4.vue.js +0 -87
- package/components/switch/v4/index.d.ts +0 -46
- package/components/switch/v4/index.vue.js +0 -6
- /package/components/button/{v3/Button.vue.d.ts → Button.vue.d.ts} +0 -0
- /package/components/button/{v3/IconButton.vue.d.ts → IconButton.vue.d.ts} +0 -0
- /package/components/button/{v3/ScrollButton.vue.d.ts → ScrollButton.vue.d.ts} +0 -0
- /package/components/button/{v3/index.vue.js → index.vue.js} +0 -0
- /package/components/chip/{v3/Chip.vue.d.ts → Chip.vue.d.ts} +0 -0
- /package/components/chip/{v3/index.d.ts → index.d.ts} +0 -0
- /package/components/chip/{v3/index.vue.js → index.vue.js} +0 -0
- /package/components/switch/{v3/Switch.vue.d.ts → Switch.vue.d.ts} +0 -0
- /package/components/switch/{v3/index.d.ts → index.d.ts} +0 -0
- /package/components/switch/{v3/index.vue.js → index.vue.js} +0 -0
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, openBlock, createElementBlock, unref, normalizeClass, createElementVNode, renderSlot, createCommentVNode, createVNode, withCtx, createTextVNode, toDisplayString, createBlock, withModifiers } from 'vue';
|
|
2
|
+
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
3
|
+
import Text from '../typography/Text.vue.js';
|
|
4
|
+
import { useIncludeExcludeContext } from './IncludeExcludeContext.vue.js';
|
|
5
|
+
import { useId } from '../../composables/useId.vue.js';
|
|
6
|
+
import _sfc_main$1 from '../tooltip/Tooltip.vue.js';
|
|
7
|
+
import Icon from '../icon/Icon.vue.js';
|
|
8
|
+
/* empty css */
|
|
9
|
+
import "../../IncludeExcludeOptionDraggable.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
10
|
+
const _hoisted_1 = ["id"];
|
|
11
|
+
const _hoisted_2 = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "image"
|
|
14
|
+
};
|
|
15
|
+
const _hoisted_3 = {
|
|
16
|
+
key: 1,
|
|
17
|
+
class: "start-icon"
|
|
18
|
+
};
|
|
19
|
+
const _hoisted_4 = { class: "text-container" };
|
|
20
|
+
const _hoisted_5 = { key: 0 };
|
|
21
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
22
|
+
__name: "IncludeExcludeOptionDraggable",
|
|
23
|
+
props: {
|
|
24
|
+
option: null,
|
|
25
|
+
subtitle: { default: "" },
|
|
26
|
+
disabled: { type: Boolean, default: false },
|
|
27
|
+
clearable: { type: Boolean, default: false },
|
|
28
|
+
titleText: { default: "" }
|
|
29
|
+
},
|
|
30
|
+
setup(__props) {
|
|
31
|
+
const props = __props;
|
|
32
|
+
const api = useIncludeExcludeContext("IncludeExcludeOption");
|
|
33
|
+
const id = useId().value;
|
|
34
|
+
const el = ref(null);
|
|
35
|
+
const isMulti = true;
|
|
36
|
+
const tooltipDelay = 200;
|
|
37
|
+
const active = computed(() => {
|
|
38
|
+
return api.activeIndex.value !== null ? api.activeOption.value === props.option : false;
|
|
39
|
+
});
|
|
40
|
+
const selected = computed(() => {
|
|
41
|
+
return api.selectedOption.value.includes(props.option);
|
|
42
|
+
});
|
|
43
|
+
return (_ctx, _cache) => {
|
|
44
|
+
return openBlock(), createElementBlock("div", {
|
|
45
|
+
id: unref(id).toString(),
|
|
46
|
+
ref_key: "el",
|
|
47
|
+
ref: el,
|
|
48
|
+
class: normalizeClass(["item-container-draggable", {
|
|
49
|
+
"item-container-draggable--disabled": __props.disabled,
|
|
50
|
+
"item-container-draggable--active": unref(active),
|
|
51
|
+
"item-container-draggable--selected": unref(selected),
|
|
52
|
+
"item-container-draggable--multi": isMulti,
|
|
53
|
+
"item-container-draggable--two-lines": __props.subtitle?.length
|
|
54
|
+
}])
|
|
55
|
+
}, [
|
|
56
|
+
createElementVNode("div", {
|
|
57
|
+
class: normalizeClass(["item", {
|
|
58
|
+
"item--multi": isMulti,
|
|
59
|
+
"item--with-icon": _ctx.$slots["icon-start"] || _ctx.$slots.image,
|
|
60
|
+
"item--without-icon": !_ctx.$slots["icon-start"] && !_ctx.$slots.image
|
|
61
|
+
}])
|
|
62
|
+
}, [
|
|
63
|
+
_ctx.$slots.image ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
64
|
+
renderSlot(_ctx.$slots, "image", {}, void 0, true)
|
|
65
|
+
])) : createCommentVNode("", true),
|
|
66
|
+
_ctx.$slots["icon-start"] ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
67
|
+
renderSlot(_ctx.$slots, "icon-start", {}, void 0, true)
|
|
68
|
+
])) : createCommentVNode("", true),
|
|
69
|
+
createElementVNode("div", _hoisted_4, [
|
|
70
|
+
createVNode(unref(_sfc_main$1), {
|
|
71
|
+
delay: tooltipDelay,
|
|
72
|
+
text: __props.titleText
|
|
73
|
+
}, {
|
|
74
|
+
default: withCtx(() => [
|
|
75
|
+
createVNode(unref(Text), {
|
|
76
|
+
size: "sm",
|
|
77
|
+
"is-truncated": ""
|
|
78
|
+
}, {
|
|
79
|
+
default: withCtx(() => [
|
|
80
|
+
createTextVNode(toDisplayString(__props.titleText), 1)
|
|
81
|
+
]),
|
|
82
|
+
_: 1
|
|
83
|
+
})
|
|
84
|
+
]),
|
|
85
|
+
_: 1
|
|
86
|
+
}, 8, ["text"]),
|
|
87
|
+
createVNode(unref(_sfc_main$1), {
|
|
88
|
+
delay: tooltipDelay,
|
|
89
|
+
text: __props.subtitle
|
|
90
|
+
}, {
|
|
91
|
+
default: withCtx(() => [
|
|
92
|
+
__props.subtitle ? (openBlock(), createBlock(unref(Text), {
|
|
93
|
+
key: 0,
|
|
94
|
+
class: "subtitle",
|
|
95
|
+
size: "caption",
|
|
96
|
+
"is-truncated": ""
|
|
97
|
+
}, {
|
|
98
|
+
default: withCtx(() => [
|
|
99
|
+
createTextVNode(toDisplayString(__props.subtitle), 1)
|
|
100
|
+
]),
|
|
101
|
+
_: 1
|
|
102
|
+
})) : createCommentVNode("", true)
|
|
103
|
+
]),
|
|
104
|
+
_: 1
|
|
105
|
+
}, 8, ["text"])
|
|
106
|
+
])
|
|
107
|
+
], 2),
|
|
108
|
+
__props.clearable && unref(selected) ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
109
|
+
createElementVNode("button", {
|
|
110
|
+
class: "clear-button",
|
|
111
|
+
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => unref(api).removeSelection(__props.option), ["prevent", "stop"]))
|
|
112
|
+
}, [
|
|
113
|
+
createVNode(unref(Icon), {
|
|
114
|
+
"font-size": "sm",
|
|
115
|
+
size: "sm",
|
|
116
|
+
name: "close-bold"
|
|
117
|
+
})
|
|
118
|
+
])
|
|
119
|
+
])) : createCommentVNode("", true)
|
|
120
|
+
], 10, _hoisted_1);
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
var IncludeExcludeOptionDraggable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-cc2c8ff8"]]);
|
|
125
|
+
|
|
126
|
+
export { IncludeExcludeOptionDraggable as default };
|
|
@@ -18,8 +18,20 @@ export type Platform = {
|
|
|
18
18
|
name: string;
|
|
19
19
|
icon: string;
|
|
20
20
|
};
|
|
21
|
+
export type groupOption = {
|
|
22
|
+
childOptionsIds: string[];
|
|
23
|
+
isCollapse: boolean;
|
|
24
|
+
};
|
|
25
|
+
export type EditColumns = {
|
|
26
|
+
name: string;
|
|
27
|
+
titleText: string;
|
|
28
|
+
icon: string;
|
|
29
|
+
disabled: boolean;
|
|
30
|
+
groupOption: groupOption;
|
|
31
|
+
};
|
|
21
32
|
export declare const apps: readonly Application[];
|
|
22
33
|
/** used to test performance (756 apps) */
|
|
23
34
|
export declare const applications: readonly Application[];
|
|
24
35
|
export declare const countries: readonly Country[];
|
|
25
36
|
export declare const platform: readonly Platform[];
|
|
37
|
+
export declare const editColumns: readonly EditColumns[];
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import IncludeExclude from './IncludeExclude.vue';
|
|
2
|
+
import IncludeExcludeDragDrop from './IncludeExcludeDragDrop.vue';
|
|
2
3
|
import IncludeExcludeOption from './IncludeExcludeOption.vue';
|
|
4
|
+
import IncludeExcludeOptionDraggable from './IncludeExcludeOptionDraggable.vue';
|
|
3
5
|
import IncludeExcludeAppTrigger from './IncludeExcludeAppTrigger.vue';
|
|
4
6
|
import IncludeExcludeAppHeader from './IncludeExcludeAppHeader.vue';
|
|
5
7
|
import IncludeExcludeChipFilter from './IncludeExcludeChipFilter.vue';
|
|
@@ -217,22 +219,171 @@ declare const IncludeExcludeTypes: () => (import("vue").DefineComponent<{
|
|
|
217
219
|
distanceOffset: number;
|
|
218
220
|
skiddingOffset: number;
|
|
219
221
|
}> | import("vue").DefineComponent<{
|
|
220
|
-
|
|
222
|
+
loading: {
|
|
223
|
+
type: import("vue").PropType<boolean>;
|
|
224
|
+
} & {
|
|
225
|
+
default: boolean;
|
|
226
|
+
};
|
|
227
|
+
placement: {
|
|
228
|
+
type: import("vue").PropType<import("floating-vue").Placement>;
|
|
229
|
+
} & {
|
|
230
|
+
default: string;
|
|
231
|
+
};
|
|
232
|
+
disabled: {
|
|
233
|
+
type: import("vue").PropType<boolean>;
|
|
234
|
+
} & {
|
|
235
|
+
default: boolean;
|
|
236
|
+
};
|
|
237
|
+
options: {
|
|
238
|
+
type: import("vue").PropType<unknown[]>;
|
|
239
|
+
required: true;
|
|
240
|
+
};
|
|
241
|
+
modelValue: {
|
|
221
242
|
type: import("vue").PropType<unknown>;
|
|
222
243
|
required: true;
|
|
223
244
|
};
|
|
245
|
+
searchPlaceholder: {
|
|
246
|
+
type: import("vue").PropType<string>;
|
|
247
|
+
} & {
|
|
248
|
+
default: string;
|
|
249
|
+
};
|
|
250
|
+
isOnTop: {
|
|
251
|
+
type: import("vue").PropType<boolean>;
|
|
252
|
+
} & {
|
|
253
|
+
default: boolean;
|
|
254
|
+
};
|
|
255
|
+
distance: {
|
|
256
|
+
type: import("vue").PropType<number>;
|
|
257
|
+
} & {
|
|
258
|
+
default: number;
|
|
259
|
+
};
|
|
260
|
+
autoFocus: {
|
|
261
|
+
type: import("vue").PropType<boolean>;
|
|
262
|
+
} & {
|
|
263
|
+
default: boolean;
|
|
264
|
+
};
|
|
265
|
+
defaultOpen: {
|
|
266
|
+
type: import("vue").PropType<boolean>;
|
|
267
|
+
} & {
|
|
268
|
+
default: boolean;
|
|
269
|
+
};
|
|
270
|
+
clearable: {
|
|
271
|
+
type: import("vue").PropType<boolean>;
|
|
272
|
+
};
|
|
273
|
+
onSearch: {
|
|
274
|
+
type: import("vue").PropType<(option: any, term: string) => boolean>;
|
|
275
|
+
} & {
|
|
276
|
+
default: () => true;
|
|
277
|
+
};
|
|
278
|
+
hasSubtitle: {
|
|
279
|
+
type: import("vue").PropType<boolean>;
|
|
280
|
+
} & {
|
|
281
|
+
default: boolean;
|
|
282
|
+
};
|
|
283
|
+
titleText: {
|
|
284
|
+
type: import("vue").PropType<string>;
|
|
285
|
+
} & {
|
|
286
|
+
default: string;
|
|
287
|
+
};
|
|
288
|
+
showClearAll: {
|
|
289
|
+
type: import("vue").PropType<boolean>;
|
|
290
|
+
} & {
|
|
291
|
+
default: boolean;
|
|
292
|
+
};
|
|
293
|
+
alwayesOpen: {
|
|
294
|
+
type: import("vue").PropType<boolean>;
|
|
295
|
+
} & {
|
|
296
|
+
default: boolean;
|
|
297
|
+
};
|
|
298
|
+
distanceOffset: {
|
|
299
|
+
type: import("vue").PropType<number>;
|
|
300
|
+
} & {
|
|
301
|
+
default: number;
|
|
302
|
+
};
|
|
303
|
+
skiddingOffset: {
|
|
304
|
+
type: import("vue").PropType<number>;
|
|
305
|
+
} & {
|
|
306
|
+
default: number;
|
|
307
|
+
};
|
|
308
|
+
keyField: {
|
|
309
|
+
type: import("vue").PropType<string>;
|
|
310
|
+
required: true;
|
|
311
|
+
};
|
|
312
|
+
isDraggable: {
|
|
313
|
+
type: import("vue").PropType<boolean>;
|
|
314
|
+
} & {
|
|
315
|
+
default: boolean;
|
|
316
|
+
};
|
|
317
|
+
draggableArgs: {
|
|
318
|
+
type: import("vue").PropType<object>;
|
|
319
|
+
} & {
|
|
320
|
+
default: any;
|
|
321
|
+
};
|
|
322
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
323
|
+
"update:modelValue": (value: unknown) => void;
|
|
324
|
+
} & {
|
|
325
|
+
changeDragDrop: (value: unknown) => void;
|
|
326
|
+
} & {
|
|
327
|
+
clickOutside: (value: unknown) => void;
|
|
328
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
329
|
+
loading: {
|
|
330
|
+
type: import("vue").PropType<boolean>;
|
|
331
|
+
} & {
|
|
332
|
+
default: boolean;
|
|
333
|
+
};
|
|
334
|
+
placement: {
|
|
335
|
+
type: import("vue").PropType<import("floating-vue").Placement>;
|
|
336
|
+
} & {
|
|
337
|
+
default: string;
|
|
338
|
+
};
|
|
224
339
|
disabled: {
|
|
225
340
|
type: import("vue").PropType<boolean>;
|
|
226
341
|
} & {
|
|
227
342
|
default: boolean;
|
|
228
343
|
};
|
|
229
|
-
|
|
344
|
+
options: {
|
|
345
|
+
type: import("vue").PropType<unknown[]>;
|
|
346
|
+
required: true;
|
|
347
|
+
};
|
|
348
|
+
modelValue: {
|
|
349
|
+
type: import("vue").PropType<unknown>;
|
|
350
|
+
required: true;
|
|
351
|
+
};
|
|
352
|
+
searchPlaceholder: {
|
|
230
353
|
type: import("vue").PropType<string>;
|
|
231
354
|
} & {
|
|
232
355
|
default: string;
|
|
233
356
|
};
|
|
357
|
+
isOnTop: {
|
|
358
|
+
type: import("vue").PropType<boolean>;
|
|
359
|
+
} & {
|
|
360
|
+
default: boolean;
|
|
361
|
+
};
|
|
362
|
+
distance: {
|
|
363
|
+
type: import("vue").PropType<number>;
|
|
364
|
+
} & {
|
|
365
|
+
default: number;
|
|
366
|
+
};
|
|
367
|
+
autoFocus: {
|
|
368
|
+
type: import("vue").PropType<boolean>;
|
|
369
|
+
} & {
|
|
370
|
+
default: boolean;
|
|
371
|
+
};
|
|
372
|
+
defaultOpen: {
|
|
373
|
+
type: import("vue").PropType<boolean>;
|
|
374
|
+
} & {
|
|
375
|
+
default: boolean;
|
|
376
|
+
};
|
|
234
377
|
clearable: {
|
|
235
378
|
type: import("vue").PropType<boolean>;
|
|
379
|
+
};
|
|
380
|
+
onSearch: {
|
|
381
|
+
type: import("vue").PropType<(option: any, term: string) => boolean>;
|
|
382
|
+
} & {
|
|
383
|
+
default: () => true;
|
|
384
|
+
};
|
|
385
|
+
hasSubtitle: {
|
|
386
|
+
type: import("vue").PropType<boolean>;
|
|
236
387
|
} & {
|
|
237
388
|
default: boolean;
|
|
238
389
|
};
|
|
@@ -241,12 +392,63 @@ declare const IncludeExcludeTypes: () => (import("vue").DefineComponent<{
|
|
|
241
392
|
} & {
|
|
242
393
|
default: string;
|
|
243
394
|
};
|
|
244
|
-
|
|
395
|
+
showClearAll: {
|
|
245
396
|
type: import("vue").PropType<boolean>;
|
|
246
397
|
} & {
|
|
247
398
|
default: boolean;
|
|
248
399
|
};
|
|
249
|
-
|
|
400
|
+
alwayesOpen: {
|
|
401
|
+
type: import("vue").PropType<boolean>;
|
|
402
|
+
} & {
|
|
403
|
+
default: boolean;
|
|
404
|
+
};
|
|
405
|
+
distanceOffset: {
|
|
406
|
+
type: import("vue").PropType<number>;
|
|
407
|
+
} & {
|
|
408
|
+
default: number;
|
|
409
|
+
};
|
|
410
|
+
skiddingOffset: {
|
|
411
|
+
type: import("vue").PropType<number>;
|
|
412
|
+
} & {
|
|
413
|
+
default: number;
|
|
414
|
+
};
|
|
415
|
+
keyField: {
|
|
416
|
+
type: import("vue").PropType<string>;
|
|
417
|
+
required: true;
|
|
418
|
+
};
|
|
419
|
+
isDraggable: {
|
|
420
|
+
type: import("vue").PropType<boolean>;
|
|
421
|
+
} & {
|
|
422
|
+
default: boolean;
|
|
423
|
+
};
|
|
424
|
+
draggableArgs: {
|
|
425
|
+
type: import("vue").PropType<object>;
|
|
426
|
+
} & {
|
|
427
|
+
default: any;
|
|
428
|
+
};
|
|
429
|
+
}>> & {
|
|
430
|
+
"onUpdate:modelValue"?: (value: unknown) => any;
|
|
431
|
+
onClickOutside?: (value: unknown) => any;
|
|
432
|
+
onChangeDragDrop?: (value: unknown) => any;
|
|
433
|
+
}, {
|
|
434
|
+
loading: boolean;
|
|
435
|
+
placement: import("floating-vue").Placement;
|
|
436
|
+
disabled: boolean;
|
|
437
|
+
searchPlaceholder: string;
|
|
438
|
+
isOnTop: boolean;
|
|
439
|
+
distance: number;
|
|
440
|
+
autoFocus: boolean;
|
|
441
|
+
defaultOpen: boolean;
|
|
442
|
+
onSearch: (option: any, term: string) => boolean;
|
|
443
|
+
hasSubtitle: boolean;
|
|
444
|
+
titleText: string;
|
|
445
|
+
showClearAll: boolean;
|
|
446
|
+
alwayesOpen: boolean;
|
|
447
|
+
distanceOffset: number;
|
|
448
|
+
skiddingOffset: number;
|
|
449
|
+
isDraggable: boolean;
|
|
450
|
+
draggableArgs: object;
|
|
451
|
+
}> | import("vue").DefineComponent<{
|
|
250
452
|
option: {
|
|
251
453
|
type: import("vue").PropType<unknown>;
|
|
252
454
|
required: true;
|
|
@@ -271,17 +473,36 @@ declare const IncludeExcludeTypes: () => (import("vue").DefineComponent<{
|
|
|
271
473
|
} & {
|
|
272
474
|
default: string;
|
|
273
475
|
};
|
|
274
|
-
|
|
476
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
477
|
+
option: {
|
|
478
|
+
type: import("vue").PropType<unknown>;
|
|
479
|
+
required: true;
|
|
480
|
+
};
|
|
481
|
+
disabled: {
|
|
482
|
+
type: import("vue").PropType<boolean>;
|
|
483
|
+
} & {
|
|
484
|
+
default: boolean;
|
|
485
|
+
};
|
|
486
|
+
subtitle: {
|
|
487
|
+
type: import("vue").PropType<string>;
|
|
488
|
+
} & {
|
|
489
|
+
default: string;
|
|
490
|
+
};
|
|
491
|
+
clearable: {
|
|
275
492
|
type: import("vue").PropType<boolean>;
|
|
276
493
|
} & {
|
|
277
494
|
default: boolean;
|
|
278
495
|
};
|
|
496
|
+
titleText: {
|
|
497
|
+
type: import("vue").PropType<string>;
|
|
498
|
+
} & {
|
|
499
|
+
default: string;
|
|
500
|
+
};
|
|
279
501
|
}>>, {
|
|
280
502
|
disabled: boolean;
|
|
281
503
|
subtitle: string;
|
|
282
504
|
clearable: boolean;
|
|
283
505
|
titleText: string;
|
|
284
|
-
showCheckbox: boolean;
|
|
285
506
|
}> | import("vue").DefineComponent<{
|
|
286
507
|
loading: {
|
|
287
508
|
type: import("vue").PropType<boolean>;
|
|
@@ -700,4 +921,4 @@ declare const IncludeExcludeTypes: () => (import("vue").DefineComponent<{
|
|
|
700
921
|
showImage: boolean;
|
|
701
922
|
triggerTextFunc: (option: unknown) => string;
|
|
702
923
|
}>)[];
|
|
703
|
-
export { IncludeExclude, IncludeExcludeOption, IncludeExcludeAppTrigger, IncludeExcludeAppHeader, IncludeExcludeChipFilter, IncludeExcludeTypes, };
|
|
924
|
+
export { IncludeExclude, IncludeExcludeDragDrop, IncludeExcludeOption, IncludeExcludeOptionDraggable, IncludeExcludeAppTrigger, IncludeExcludeAppHeader, IncludeExcludeChipFilter, IncludeExcludeTypes, };
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import IncludeExclude from './IncludeExclude.vue.js';
|
|
2
2
|
export { default as IncludeExclude } from './IncludeExclude.vue.js';
|
|
3
|
+
import IncludeExcludeDragDrop from './IncludeExcludeDragDrop.vue.js';
|
|
4
|
+
export { default as IncludeExcludeDragDrop } from './IncludeExcludeDragDrop.vue.js';
|
|
3
5
|
import IncludeExcludeOption from './IncludeExcludeOption.vue.js';
|
|
4
6
|
export { default as IncludeExcludeOption } from './IncludeExcludeOption.vue.js';
|
|
7
|
+
import IncludeExcludeOptionDraggable from './IncludeExcludeOptionDraggable.vue.js';
|
|
8
|
+
export { default as IncludeExcludeOptionDraggable } from './IncludeExcludeOptionDraggable.vue.js';
|
|
5
9
|
import IncludeExcludeAppTrigger from './IncludeExcludeAppTrigger.vue.js';
|
|
6
10
|
export { default as IncludeExcludeAppTrigger } from './IncludeExcludeAppTrigger.vue.js';
|
|
7
11
|
import IncludeExcludeAppHeader from './IncludeExcludeAppHeader.vue.js';
|
|
@@ -11,7 +15,9 @@ export { default as IncludeExcludeChipFilter } from './IncludeExcludeChipFilter.
|
|
|
11
15
|
|
|
12
16
|
const IncludeExcludeTypes = () => [
|
|
13
17
|
IncludeExclude,
|
|
18
|
+
IncludeExcludeDragDrop,
|
|
14
19
|
IncludeExcludeOption,
|
|
20
|
+
IncludeExcludeOptionDraggable,
|
|
15
21
|
IncludeExcludeAppTrigger,
|
|
16
22
|
IncludeExcludeAppHeader,
|
|
17
23
|
IncludeExcludeChipFilter
|
|
@@ -79,9 +79,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
79
79
|
}>>> & {
|
|
80
80
|
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
81
81
|
}, {
|
|
82
|
-
type: 'text' | 'number' | 'password';
|
|
83
|
-
label: string;
|
|
84
82
|
size: 'sm' | 'lg';
|
|
83
|
+
label: string;
|
|
84
|
+
type: 'text' | 'number' | 'password';
|
|
85
85
|
testId: string;
|
|
86
86
|
disabled: boolean;
|
|
87
87
|
modelValue: string | number;
|
|
@@ -3,9 +3,9 @@ import Icon from '../icon/Icon.vue.js';
|
|
|
3
3
|
import { InputTestIdModifiers } from '../../testids/index.vue.js';
|
|
4
4
|
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
5
5
|
import Text from '../typography/Text.vue.js';
|
|
6
|
-
/* empty css
|
|
6
|
+
/* empty css *//* empty css */import IconButton from '../button/IconButton.vue.js';
|
|
7
7
|
import _sfc_main$1 from '../tooltip/Tooltip.vue.js';
|
|
8
|
-
/* empty css
|
|
8
|
+
/* empty css */import { useEditableContext } from '../table-cells/EditableContext.vue.js';
|
|
9
9
|
import '@vueuse/core';
|
|
10
10
|
/* empty css */import { REGEX_NUMBER_INPUT } from '../../consts/regex.vue.js';
|
|
11
11
|
/* empty css */
|
|
@@ -254,6 +254,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
254
254
|
};
|
|
255
255
|
}
|
|
256
256
|
});
|
|
257
|
-
var Input = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
257
|
+
var Input = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1ccecdef"]]);
|
|
258
258
|
|
|
259
259
|
export { Input as default };
|
|
@@ -3,8 +3,8 @@ import DollarInput from './DollarInput.vue';
|
|
|
3
3
|
import PercentageInput from './PercentageInput.vue';
|
|
4
4
|
import PasswordInput from './PasswordInput.vue';
|
|
5
5
|
declare const InputTypes: () => (import("vue").DefineComponent<{
|
|
6
|
-
|
|
7
|
-
type: import("vue").PropType<"
|
|
6
|
+
size: {
|
|
7
|
+
type: import("vue").PropType<"sm" | "lg">;
|
|
8
8
|
} & {
|
|
9
9
|
default: string;
|
|
10
10
|
};
|
|
@@ -13,8 +13,8 @@ declare const InputTypes: () => (import("vue").DefineComponent<{
|
|
|
13
13
|
} & {
|
|
14
14
|
default: string;
|
|
15
15
|
};
|
|
16
|
-
|
|
17
|
-
type: import("vue").PropType<"
|
|
16
|
+
type: {
|
|
17
|
+
type: import("vue").PropType<"number" | "text" | "password">;
|
|
18
18
|
} & {
|
|
19
19
|
default: string;
|
|
20
20
|
};
|
|
@@ -96,8 +96,8 @@ declare const InputTypes: () => (import("vue").DefineComponent<{
|
|
|
96
96
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
97
97
|
"update:modelValue": (value: string | number) => void;
|
|
98
98
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
99
|
-
|
|
100
|
-
type: import("vue").PropType<"
|
|
99
|
+
size: {
|
|
100
|
+
type: import("vue").PropType<"sm" | "lg">;
|
|
101
101
|
} & {
|
|
102
102
|
default: string;
|
|
103
103
|
};
|
|
@@ -106,8 +106,8 @@ declare const InputTypes: () => (import("vue").DefineComponent<{
|
|
|
106
106
|
} & {
|
|
107
107
|
default: string;
|
|
108
108
|
};
|
|
109
|
-
|
|
110
|
-
type: import("vue").PropType<"
|
|
109
|
+
type: {
|
|
110
|
+
type: import("vue").PropType<"number" | "text" | "password">;
|
|
111
111
|
} & {
|
|
112
112
|
default: string;
|
|
113
113
|
};
|
|
@@ -189,9 +189,9 @@ declare const InputTypes: () => (import("vue").DefineComponent<{
|
|
|
189
189
|
}>> & {
|
|
190
190
|
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
191
191
|
}, {
|
|
192
|
-
type: "number" | "text" | "password";
|
|
193
|
-
label: string;
|
|
194
192
|
size: "sm" | "lg";
|
|
193
|
+
label: string;
|
|
194
|
+
type: "number" | "text" | "password";
|
|
195
195
|
testId: string;
|
|
196
196
|
disabled: boolean;
|
|
197
197
|
modelValue: string | number;
|
|
@@ -211,15 +211,15 @@ declare const InputTypes: () => (import("vue").DefineComponent<{
|
|
|
211
211
|
ref: {
|
|
212
212
|
type: import("vue").PropType<import("vue").VNodeRef>;
|
|
213
213
|
};
|
|
214
|
+
size: {
|
|
215
|
+
type: import("vue").PropType<"sm" | "lg">;
|
|
216
|
+
};
|
|
214
217
|
label: {
|
|
215
218
|
type: import("vue").PropType<string>;
|
|
216
219
|
};
|
|
217
220
|
style: {
|
|
218
221
|
type: import("vue").PropType<unknown>;
|
|
219
222
|
};
|
|
220
|
-
size: {
|
|
221
|
-
type: import("vue").PropType<"sm" | "lg">;
|
|
222
|
-
};
|
|
223
223
|
testId: {
|
|
224
224
|
type: import("vue").PropType<string>;
|
|
225
225
|
};
|
|
@@ -330,15 +330,15 @@ declare const InputTypes: () => (import("vue").DefineComponent<{
|
|
|
330
330
|
ref: {
|
|
331
331
|
type: import("vue").PropType<import("vue").VNodeRef>;
|
|
332
332
|
};
|
|
333
|
+
size: {
|
|
334
|
+
type: import("vue").PropType<"sm" | "lg">;
|
|
335
|
+
};
|
|
333
336
|
label: {
|
|
334
337
|
type: import("vue").PropType<string>;
|
|
335
338
|
};
|
|
336
339
|
style: {
|
|
337
340
|
type: import("vue").PropType<unknown>;
|
|
338
341
|
};
|
|
339
|
-
size: {
|
|
340
|
-
type: import("vue").PropType<"sm" | "lg">;
|
|
341
|
-
};
|
|
342
342
|
testId: {
|
|
343
343
|
type: import("vue").PropType<string>;
|
|
344
344
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
declare const MenuTypes: () => import("vue").DefineComponent<{
|
|
2
|
-
|
|
2
|
+
testId: {
|
|
3
3
|
type: import("vue").PropType<string>;
|
|
4
4
|
} & {
|
|
5
5
|
default: string;
|
|
6
6
|
};
|
|
7
|
-
|
|
7
|
+
theme: {
|
|
8
8
|
type: import("vue").PropType<string>;
|
|
9
9
|
} & {
|
|
10
10
|
default: string;
|
|
@@ -30,12 +30,12 @@ declare const MenuTypes: () => import("vue").DefineComponent<{
|
|
|
30
30
|
default: string;
|
|
31
31
|
};
|
|
32
32
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
33
|
-
|
|
33
|
+
testId: {
|
|
34
34
|
type: import("vue").PropType<string>;
|
|
35
35
|
} & {
|
|
36
36
|
default: string;
|
|
37
37
|
};
|
|
38
|
-
|
|
38
|
+
theme: {
|
|
39
39
|
type: import("vue").PropType<string>;
|
|
40
40
|
} & {
|
|
41
41
|
default: string;
|
|
@@ -61,8 +61,8 @@ declare const MenuTypes: () => import("vue").DefineComponent<{
|
|
|
61
61
|
default: string;
|
|
62
62
|
};
|
|
63
63
|
}>>, {
|
|
64
|
-
theme: string;
|
|
65
64
|
testId: string;
|
|
65
|
+
theme: string;
|
|
66
66
|
isOnTop: boolean;
|
|
67
67
|
distance: number;
|
|
68
68
|
skidding: number;
|
|
@@ -46,8 +46,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
46
46
|
}>>> & {
|
|
47
47
|
onDestroy?: (...args: any[]) => any;
|
|
48
48
|
}, {
|
|
49
|
-
type: 'success' | 'error' | 'info';
|
|
50
49
|
title: string;
|
|
50
|
+
type: 'success' | 'error' | 'info';
|
|
51
51
|
position: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
|
|
52
52
|
zIndex: number;
|
|
53
53
|
duration: number;
|
|
@@ -3,11 +3,10 @@ import { useEventListener, useTimeoutFn } from '@vueuse/core';
|
|
|
3
3
|
import Icon from '../icon/Icon.vue.js';
|
|
4
4
|
import Close from '../icon/icons/Close.vue.js';
|
|
5
5
|
import Check from '../icon/icons/Check.vue.js';
|
|
6
|
-
|
|
6
|
+
import IconButton from '../button/IconButton.vue.js';
|
|
7
7
|
import Text from '../typography/Text.vue.js';
|
|
8
|
-
/* empty css
|
|
9
|
-
|
|
10
|
-
/* empty css *//* empty css *//* empty css */
|
|
8
|
+
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
9
|
+
|
|
11
10
|
import "../../Snackbar.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
12
11
|
const _hoisted_1 = ["id"];
|
|
13
12
|
const _hoisted_2 = { class: "container" };
|
|
@@ -149,7 +148,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
149
148
|
[vShow, __props.message]
|
|
150
149
|
])
|
|
151
150
|
]),
|
|
152
|
-
__props.showClose ? (openBlock(), createBlock(
|
|
151
|
+
__props.showClose ? (openBlock(), createBlock(IconButton, {
|
|
153
152
|
key: 0,
|
|
154
153
|
theme: "third",
|
|
155
154
|
size: "sm",
|
|
@@ -177,6 +176,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
177
176
|
};
|
|
178
177
|
}
|
|
179
178
|
});
|
|
180
|
-
var SnackbarConstructor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
179
|
+
var SnackbarConstructor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-764ab56b"]]);
|
|
181
180
|
|
|
182
181
|
export { SnackbarConstructor as default };
|