@ironsource/shared-ui 1.4.2-test.9 → 1.4.2
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/AutocompleteDropdown.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/CalendarMonth.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Checkbox.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/DatePicker.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/DatePickerMonth.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/DollarInput.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/Editable.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/FilterDropdown.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/FiltersPanel.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Heading.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/Input.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Menu.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/PasswordInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/PercentageInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/README.md +1 -1
- package/RadioButton.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/RadioGroup.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/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/Tabs.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Text.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/TextWithTitleContent.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.d.ts +5 -0
- package/components/appTrigger/AppTrigger.vue.js +29 -16
- package/components/appTrigger/index.d.ts +11 -0
- package/components/autocompleteDropdown/AutocompleteDropdown.vue.d.ts +5 -0
- package/components/autocompleteDropdown/AutocompleteDropdown.vue.js +7 -4
- package/components/autocompleteDropdown/AutocompleteInput.vue.d.ts +5 -0
- package/components/autocompleteDropdown/AutocompleteInput.vue.js +12 -6
- package/components/autocompleteDropdown/index.d.ts +11 -0
- package/components/banner/Banner.vue.d.ts +9 -0
- package/components/banner/Banner.vue.js +20 -9
- package/components/banner/index.d.ts +9 -0
- package/components/button/Button.vue.d.ts +5 -0
- package/components/button/Button.vue.js +6 -4
- package/components/button/index.d.ts +17 -6
- package/components/checkbox/Checkbox.vue.d.ts +5 -0
- package/components/checkbox/Checkbox.vue.js +20 -14
- package/components/checkbox/index.d.ts +11 -0
- package/components/chip/Chip.vue.d.ts +5 -0
- package/components/chip/Chip.vue.js +12 -7
- package/components/chip/index.d.ts +11 -0
- package/components/datePicker/DatePicker.vue.d.ts +5 -0
- package/components/datePicker/DatePicker.vue.js +11 -6
- package/components/datePicker/DatePickerMonth.vue.d.ts +5 -0
- package/components/datePicker/DatePickerMonth.vue.js +5 -3
- package/components/datePicker/index.d.ts +11 -0
- package/components/dateRange/CalendarMonth.vue.d.ts +5 -0
- package/components/dateRange/CalendarMonth.vue.js +39 -21
- package/components/dateRange/DateRange.vue.d.ts +5 -0
- package/components/dateRange/DateRange.vue.js +49 -36
- package/components/dateRange/DateRangePicker.vue.d.ts +5 -0
- package/components/dateRange/index.d.ts +11 -0
- package/components/dialog/Dialog.vue.d.ts +5 -0
- package/components/dialog/Dialog.vue.js +38 -23
- package/components/dialog/index.d.ts +11 -0
- package/components/dropdown/Dropdown.vue.d.ts +5 -0
- package/components/dropdown/Dropdown.vue.js +62 -35
- package/components/dropdown/index.d.ts +11 -0
- package/components/emptyState/index.d.ts +3 -3
- package/components/filterDropdown/AddFilterButton.vue.d.ts +2 -0
- package/components/filterDropdown/AddFilterButton.vue.js +6 -4
- package/components/filterDropdown/FilterDropdown.vue.d.ts +5 -0
- package/components/filterDropdown/FilterDropdown.vue.js +8 -5
- package/components/filterDropdown/index.d.ts +17 -0
- package/components/filtersPanel/FiltersPanel.vue.d.ts +5 -0
- package/components/filtersPanel/FiltersPanel.vue.js +7 -4
- package/components/icon/Icon.vue.js +0 -1
- package/components/icon/icons/index.d.ts +0 -3
- package/components/icon/icons/index.vue.js +0 -3
- package/components/icon/index.d.ts +0 -3
- package/components/includeExclude/IncludeExclude.vue.d.ts +5 -13
- package/components/includeExclude/IncludeExclude.vue.js +86 -134
- package/components/includeExclude/IncludeExcludeAppHeader.vue.js +3 -4
- package/components/includeExclude/IncludeExcludeChipFilter.vue.js +2 -2
- package/components/includeExclude/includeExcludeMocks.d.ts +0 -12
- package/components/includeExclude/index.d.ts +23 -27
- package/components/includeExclude/index.vue.js +0 -3
- package/components/input/DollarInput.vue.d.ts +1 -1
- package/components/input/DollarInput.vue.js +1 -1
- package/components/input/Input.vue.d.ts +10 -0
- package/components/input/Input.vue.js +61 -35
- package/components/input/PasswordInput.vue.d.ts +1 -1
- package/components/input/PasswordInput.vue.js +1 -1
- package/components/input/PercentageInput.vue.d.ts +1 -1
- package/components/input/PercentageInput.vue.js +1 -1
- package/components/input/index.d.ts +34 -0
- package/components/menu/Menu.vue.d.ts +5 -0
- package/components/menu/Menu.vue.js +6 -4
- package/components/menu/index.d.ts +11 -0
- package/components/popover/Popover.vue.d.ts +5 -0
- package/components/popover/Popover.vue.js +5 -3
- package/components/popover/index.d.ts +11 -0
- package/components/radioButton/RadioButton.vue.d.ts +5 -0
- package/components/radioButton/RadioButton.vue.js +15 -8
- package/components/radioButton/RadioGroup.vue.d.ts +5 -0
- package/components/radioButton/RadioGroup.vue.js +9 -5
- package/components/radioButton/index.d.ts +22 -0
- package/components/search/Search.vue.d.ts +5 -0
- package/components/search/Search.vue.js +13 -7
- package/components/search/index.d.ts +11 -0
- package/components/switch/Switch.vue.d.ts +5 -0
- package/components/switch/Switch.vue.js +17 -9
- package/components/switch/index.d.ts +11 -0
- package/components/table/Table.types.d.ts +0 -1
- package/components/table/Table.vue.d.ts +5 -10
- package/components/table/Table.vue.js +56 -52
- package/components/table/index.d.ts +11 -22
- package/components/table-cells/Editable.vue.js +1 -1
- package/components/tabs/Tabs.vue.d.ts +5 -0
- package/components/tabs/Tabs.vue.js +20 -15
- package/components/tabs/index.d.ts +11 -0
- package/components/textArea/TextArea.vue.d.ts +5 -0
- package/components/textArea/TextArea.vue.js +23 -16
- package/components/textArea/index.d.ts +11 -0
- package/components/toggle/Toggle.vue.d.ts +10 -0
- package/components/toggle/Toggle.vue.js +37 -20
- package/components/toggle/index.d.ts +22 -0
- package/components/tooltip/TextWithTitleContent.vue.d.ts +16 -3
- package/components/tooltip/TextWithTitleContent.vue.js +11 -6
- package/components/tooltip/Tooltip.vue.d.ts +5 -0
- package/components/tooltip/Tooltip.vue.js +8 -4
- package/components/tooltip/index.d.ts +11 -0
- package/components/typography/Heading.vue.d.ts +5 -0
- package/components/typography/Heading.vue.js +7 -4
- package/components/typography/Text.vue.d.ts +5 -0
- package/components/typography/Text.vue.js +8 -4
- package/components/typography/index.d.ts +22 -0
- package/consts/regex.d.ts +1 -0
- package/consts/regex.vue.js +3 -0
- package/consts/style.d.ts +1 -0
- package/consts/style.vue.js +3 -0
- package/index.vue.js +1 -2
- package/package.json +4 -5
- package/testids/index.d.ts +146 -0
- package/testids/index.vue.js +170 -0
- package/utils/style.d.ts +1 -0
- package/utils/style.vue.js +5 -0
- package/IncludeExcludeOptionDraggable.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/components/icon/icons/TableEdit.vue.d.ts +0 -2
- package/components/icon/icons/TableEdit.vue.js +0 -24
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.d.ts +0 -43
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.js +0 -122
- package/components/table/Pagination.vue.d.ts +0 -43
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ironsource/shared-ui",
|
|
3
|
-
"version": "1.4.2
|
|
3
|
+
"version": "1.4.2",
|
|
4
4
|
"engines": {
|
|
5
5
|
"npm": ">=7.0.0",
|
|
6
6
|
"node": ">=16.0.0"
|
|
@@ -48,8 +48,7 @@
|
|
|
48
48
|
"date-fns": "^2.29.1",
|
|
49
49
|
"floating-vue": "2.0.0-beta.20",
|
|
50
50
|
"focus-trap": "^6.9.4",
|
|
51
|
-
"vue": "^3.2.31"
|
|
52
|
-
"vuedraggable": "^4.1.0"
|
|
51
|
+
"vue": "^3.2.31"
|
|
53
52
|
},
|
|
54
53
|
"peerDependencies": {
|
|
55
54
|
"@vueuse/core": "^8.7.5",
|
|
@@ -63,8 +62,6 @@
|
|
|
63
62
|
"@babel/core": "7.17.9",
|
|
64
63
|
"@babel/node": "7.16.8",
|
|
65
64
|
"@commitlint/cli": "^17.0.3",
|
|
66
|
-
"i": "^0.3.7",
|
|
67
|
-
"npm": "^8.19.2",
|
|
68
65
|
"@commitlint/config-conventional": "^17.0.3",
|
|
69
66
|
"@figus/cli": "^2.0.8",
|
|
70
67
|
"@mdx-js/react": "^2.1.2",
|
|
@@ -104,6 +101,7 @@
|
|
|
104
101
|
"happy-dom": "^2.49.0",
|
|
105
102
|
"http-server": "^14.1.1",
|
|
106
103
|
"husky": "^8.0.1",
|
|
104
|
+
"i": "^0.3.7",
|
|
107
105
|
"jest": "^27.5.1",
|
|
108
106
|
"jest-image-snapshot": "^6.1.0",
|
|
109
107
|
"jest-puppeteer": "^6.2.0",
|
|
@@ -111,6 +109,7 @@
|
|
|
111
109
|
"lodash.kebabcase": "^4.1.1",
|
|
112
110
|
"mustache": "^4.2.0",
|
|
113
111
|
"nodejs-file-downloader": "^4.10.1",
|
|
112
|
+
"npm": "^8.19.2",
|
|
114
113
|
"postcss": "^8.4.14",
|
|
115
114
|
"prettier": "^2.6.0",
|
|
116
115
|
"prismjs": "^1.29.0",
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
export declare enum IncludeExcludeTestIdModifiers {
|
|
2
|
+
TRIGGER = "ie-trigger",
|
|
3
|
+
CONTENT = "ie-content",
|
|
4
|
+
SEARCH = "ie-search",
|
|
5
|
+
LIST = "ie-list",
|
|
6
|
+
LIST_SELECTED = "ie-list-selected",
|
|
7
|
+
ACTION_CANCEL = "ie-action-cancel",
|
|
8
|
+
ACTION_APPLY = "ie-action-apply",
|
|
9
|
+
SELECT_ALL = "ie-select-all",
|
|
10
|
+
CLEAR_ALL = "ie-clear-all"
|
|
11
|
+
}
|
|
12
|
+
export declare enum DropdownTestIdModifiers {
|
|
13
|
+
TRIGGER = "dd-trigger",
|
|
14
|
+
WRAPPER = "dd-wrapper",
|
|
15
|
+
LABEL = "dd-label",
|
|
16
|
+
LIST_CONTAINER = "dd-list-container",
|
|
17
|
+
SEARCH = "dd-search",
|
|
18
|
+
TITLE = "dd-title",
|
|
19
|
+
ACTION_CANCEL = "dd-action-cancel",
|
|
20
|
+
ACTION_APPLY = "dd-action-apply",
|
|
21
|
+
HELPER_TEXT = "dd-helper-text",
|
|
22
|
+
HELPER_TEXT_ERROR = "dd-helper-text-error"
|
|
23
|
+
}
|
|
24
|
+
export declare enum BannerTestIdModifiers {
|
|
25
|
+
WRAPPER = "banner-wrapper",
|
|
26
|
+
CONTENT = "banner-content"
|
|
27
|
+
}
|
|
28
|
+
export declare enum DialogTestIdModifiers {
|
|
29
|
+
WRAPPER = "dialog-wrapper",
|
|
30
|
+
HEADER = "dialog-header",
|
|
31
|
+
ACTION_CLOSE = "dialog-action-close",
|
|
32
|
+
HEADER_SECONDARY = "dialog-header-secondary",
|
|
33
|
+
CONTENT = "dialog-content",
|
|
34
|
+
ACTION_BUTTONS_WRAPPER = "dialog-action-buttons-wrapper",
|
|
35
|
+
BACKDROP = "dialog-backdrop"
|
|
36
|
+
}
|
|
37
|
+
export declare enum InputTestIdModifiers {
|
|
38
|
+
WRAPPER = "input-wrapper",
|
|
39
|
+
TOOLTIP = "input-tooltip",
|
|
40
|
+
MANDATORY = "input-mandatory",
|
|
41
|
+
LABEL_CONTAINER = "input-label-container",
|
|
42
|
+
LABEL_TEXT = "input-label-text",
|
|
43
|
+
FIELD = "input-field",
|
|
44
|
+
EXTRA_TEXT = "input-extra-text"
|
|
45
|
+
}
|
|
46
|
+
export declare enum CheckboxTestIdModifiers {
|
|
47
|
+
WRAPPER = "cb-wrapper",
|
|
48
|
+
LABEL = "cb-label",
|
|
49
|
+
FIELD = "cb-field"
|
|
50
|
+
}
|
|
51
|
+
export declare enum RadioTestIdModifiers {
|
|
52
|
+
FIELD = "radio-field",
|
|
53
|
+
LABEL = "radio-label",
|
|
54
|
+
ERROR_TEXT = "radio-error-text",
|
|
55
|
+
GROUP = "radio-group"
|
|
56
|
+
}
|
|
57
|
+
export declare enum SwitchTestIdModifiers {
|
|
58
|
+
WRAPPER = "swicth-wrapper",
|
|
59
|
+
BUTTON = "swicth-button",
|
|
60
|
+
TEXT = "swicth-text"
|
|
61
|
+
}
|
|
62
|
+
export declare enum TextAreaTestIdModifiers {
|
|
63
|
+
WRAPPER = "ta-wrapper",
|
|
64
|
+
LABEL = "ta-label",
|
|
65
|
+
FIELD = "ta-field",
|
|
66
|
+
TEXT = "ta-text"
|
|
67
|
+
}
|
|
68
|
+
export declare enum SearchTestIdModifiers {
|
|
69
|
+
CONTAINER = "search-container",
|
|
70
|
+
FIELD = "search-field",
|
|
71
|
+
CLOSE = "search-close"
|
|
72
|
+
}
|
|
73
|
+
export declare enum TableTestIdModifiers {
|
|
74
|
+
CONTAINER = "tbl-container",
|
|
75
|
+
TABLE = "tbl-table",
|
|
76
|
+
HEADER = "tbl-header",
|
|
77
|
+
TITLE = "tbl-title",
|
|
78
|
+
HEADER_RIGHT = "tbl-header-right",
|
|
79
|
+
ACTIONS = "tbl-actions",
|
|
80
|
+
SECTIONS = "tbl-sections",
|
|
81
|
+
BODY_WRAPPER = "tbl-body-wrapper",
|
|
82
|
+
EMPTY_STATE = "tbl-empty-state"
|
|
83
|
+
}
|
|
84
|
+
export declare enum ToggleTestIdModifiers {
|
|
85
|
+
WRAPPER = "toggle-wrapper",
|
|
86
|
+
BODY = "toggle-body",
|
|
87
|
+
FIELD = "toggle-field",
|
|
88
|
+
TEXT = "toggle-text",
|
|
89
|
+
HELPER_TEXT = "toggle-helper-text",
|
|
90
|
+
ERROR_TEXT = "toggle-error-text"
|
|
91
|
+
}
|
|
92
|
+
export declare enum TooltipTestIdModifiers {
|
|
93
|
+
TEXT = "tt-text",
|
|
94
|
+
TRIGGER = "tt-trigger"
|
|
95
|
+
}
|
|
96
|
+
export declare enum AppTriggerTestIdModifiers {
|
|
97
|
+
WRAPPER = "at-wrapper",
|
|
98
|
+
TITLE_TEXT = "at-title-text",
|
|
99
|
+
TITLE_TOOLTIP_TEXT = "at-tooltip-text",
|
|
100
|
+
DESCRIPTION_TOOLTIP_TEXT = "at-description-tooltip-text",
|
|
101
|
+
DESCRIPTION_TEXT = "at-description-text",
|
|
102
|
+
TRIGGER_BUTTON = "at-trigger-button"
|
|
103
|
+
}
|
|
104
|
+
export declare enum AutocompleteInputTestIdModifiers {
|
|
105
|
+
WRAPPER = "ai-wrapper",
|
|
106
|
+
SELECTED_OPTION = "ai-selected-option",
|
|
107
|
+
SEARCH_FIELD = "ai-search-field"
|
|
108
|
+
}
|
|
109
|
+
export declare enum ChipTestIdModifiers {
|
|
110
|
+
WRAPPER = "chip-wrapper",
|
|
111
|
+
CLEAR = "chip-clear"
|
|
112
|
+
}
|
|
113
|
+
export declare enum DatePickerTestIdModifiers {
|
|
114
|
+
WRAPPER = "dp-wrapper",
|
|
115
|
+
INPUT = "dp-input"
|
|
116
|
+
}
|
|
117
|
+
export declare enum CalendarMonthTestIdModifiers {
|
|
118
|
+
WRAPPER = "cm-wrapper",
|
|
119
|
+
DAYS_HEADER = "cm-days-header",
|
|
120
|
+
PREVIOUS = "cm-previous",
|
|
121
|
+
NEXT = "cm-next",
|
|
122
|
+
DAYS_WRAPPER = "cm-days-wrapper",
|
|
123
|
+
DAY = "cm-day",
|
|
124
|
+
MONTH_HEADER_TEXT = "cm-month-header-text",
|
|
125
|
+
MONTH_HEADER = "cm-month-header"
|
|
126
|
+
}
|
|
127
|
+
export declare enum DateRangeTestIdModifiers {
|
|
128
|
+
WRAPPER = "dr-wrapper",
|
|
129
|
+
FIELD = "dr-field",
|
|
130
|
+
TRIGGER = "dr-trigger",
|
|
131
|
+
CONTAINER = "dr-container",
|
|
132
|
+
MENU = "dr-menu",
|
|
133
|
+
MESSAGE = "dr-message",
|
|
134
|
+
ACTION_APPLY = "dr-action-apply",
|
|
135
|
+
ACTION_CANCEL = "dr-action-cancel"
|
|
136
|
+
}
|
|
137
|
+
export declare enum TabsTestIdModifiers {
|
|
138
|
+
WRAPPER = "tabs-wrapper",
|
|
139
|
+
TAB = "tabs-tab"
|
|
140
|
+
}
|
|
141
|
+
export declare enum TextTestIdModifiers {
|
|
142
|
+
TEXT = "t-text"
|
|
143
|
+
}
|
|
144
|
+
export declare enum HeaderTestIdModifiers {
|
|
145
|
+
HEADER = "h-header"
|
|
146
|
+
}
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
var IncludeExcludeTestIdModifiers = /* @__PURE__ */ ((IncludeExcludeTestIdModifiers2) => {
|
|
2
|
+
IncludeExcludeTestIdModifiers2["TRIGGER"] = "ie-trigger";
|
|
3
|
+
IncludeExcludeTestIdModifiers2["CONTENT"] = "ie-content";
|
|
4
|
+
IncludeExcludeTestIdModifiers2["SEARCH"] = "ie-search";
|
|
5
|
+
IncludeExcludeTestIdModifiers2["LIST"] = "ie-list";
|
|
6
|
+
IncludeExcludeTestIdModifiers2["LIST_SELECTED"] = "ie-list-selected";
|
|
7
|
+
IncludeExcludeTestIdModifiers2["ACTION_CANCEL"] = "ie-action-cancel";
|
|
8
|
+
IncludeExcludeTestIdModifiers2["ACTION_APPLY"] = "ie-action-apply";
|
|
9
|
+
IncludeExcludeTestIdModifiers2["SELECT_ALL"] = "ie-select-all";
|
|
10
|
+
IncludeExcludeTestIdModifiers2["CLEAR_ALL"] = "ie-clear-all";
|
|
11
|
+
return IncludeExcludeTestIdModifiers2;
|
|
12
|
+
})(IncludeExcludeTestIdModifiers || {});
|
|
13
|
+
var DropdownTestIdModifiers = /* @__PURE__ */ ((DropdownTestIdModifiers2) => {
|
|
14
|
+
DropdownTestIdModifiers2["TRIGGER"] = "dd-trigger";
|
|
15
|
+
DropdownTestIdModifiers2["WRAPPER"] = "dd-wrapper";
|
|
16
|
+
DropdownTestIdModifiers2["LABEL"] = "dd-label";
|
|
17
|
+
DropdownTestIdModifiers2["LIST_CONTAINER"] = "dd-list-container";
|
|
18
|
+
DropdownTestIdModifiers2["SEARCH"] = "dd-search";
|
|
19
|
+
DropdownTestIdModifiers2["TITLE"] = "dd-title";
|
|
20
|
+
DropdownTestIdModifiers2["ACTION_CANCEL"] = "dd-action-cancel";
|
|
21
|
+
DropdownTestIdModifiers2["ACTION_APPLY"] = "dd-action-apply";
|
|
22
|
+
DropdownTestIdModifiers2["HELPER_TEXT"] = "dd-helper-text";
|
|
23
|
+
DropdownTestIdModifiers2["HELPER_TEXT_ERROR"] = "dd-helper-text-error";
|
|
24
|
+
return DropdownTestIdModifiers2;
|
|
25
|
+
})(DropdownTestIdModifiers || {});
|
|
26
|
+
var BannerTestIdModifiers = /* @__PURE__ */ ((BannerTestIdModifiers2) => {
|
|
27
|
+
BannerTestIdModifiers2["WRAPPER"] = "banner-wrapper";
|
|
28
|
+
BannerTestIdModifiers2["CONTENT"] = "banner-content";
|
|
29
|
+
return BannerTestIdModifiers2;
|
|
30
|
+
})(BannerTestIdModifiers || {});
|
|
31
|
+
var DialogTestIdModifiers = /* @__PURE__ */ ((DialogTestIdModifiers2) => {
|
|
32
|
+
DialogTestIdModifiers2["WRAPPER"] = "dialog-wrapper";
|
|
33
|
+
DialogTestIdModifiers2["HEADER"] = "dialog-header";
|
|
34
|
+
DialogTestIdModifiers2["ACTION_CLOSE"] = "dialog-action-close";
|
|
35
|
+
DialogTestIdModifiers2["HEADER_SECONDARY"] = "dialog-header-secondary";
|
|
36
|
+
DialogTestIdModifiers2["CONTENT"] = "dialog-content";
|
|
37
|
+
DialogTestIdModifiers2["ACTION_BUTTONS_WRAPPER"] = "dialog-action-buttons-wrapper";
|
|
38
|
+
DialogTestIdModifiers2["BACKDROP"] = "dialog-backdrop";
|
|
39
|
+
return DialogTestIdModifiers2;
|
|
40
|
+
})(DialogTestIdModifiers || {});
|
|
41
|
+
var InputTestIdModifiers = /* @__PURE__ */ ((InputTestIdModifiers2) => {
|
|
42
|
+
InputTestIdModifiers2["WRAPPER"] = "input-wrapper";
|
|
43
|
+
InputTestIdModifiers2["TOOLTIP"] = "input-tooltip";
|
|
44
|
+
InputTestIdModifiers2["MANDATORY"] = "input-mandatory";
|
|
45
|
+
InputTestIdModifiers2["LABEL_CONTAINER"] = "input-label-container";
|
|
46
|
+
InputTestIdModifiers2["LABEL_TEXT"] = "input-label-text";
|
|
47
|
+
InputTestIdModifiers2["FIELD"] = "input-field";
|
|
48
|
+
InputTestIdModifiers2["EXTRA_TEXT"] = "input-extra-text";
|
|
49
|
+
return InputTestIdModifiers2;
|
|
50
|
+
})(InputTestIdModifiers || {});
|
|
51
|
+
var CheckboxTestIdModifiers = /* @__PURE__ */ ((CheckboxTestIdModifiers2) => {
|
|
52
|
+
CheckboxTestIdModifiers2["WRAPPER"] = "cb-wrapper";
|
|
53
|
+
CheckboxTestIdModifiers2["LABEL"] = "cb-label";
|
|
54
|
+
CheckboxTestIdModifiers2["FIELD"] = "cb-field";
|
|
55
|
+
return CheckboxTestIdModifiers2;
|
|
56
|
+
})(CheckboxTestIdModifiers || {});
|
|
57
|
+
var RadioTestIdModifiers = /* @__PURE__ */ ((RadioTestIdModifiers2) => {
|
|
58
|
+
RadioTestIdModifiers2["FIELD"] = "radio-field";
|
|
59
|
+
RadioTestIdModifiers2["LABEL"] = "radio-label";
|
|
60
|
+
RadioTestIdModifiers2["ERROR_TEXT"] = "radio-error-text";
|
|
61
|
+
RadioTestIdModifiers2["GROUP"] = "radio-group";
|
|
62
|
+
return RadioTestIdModifiers2;
|
|
63
|
+
})(RadioTestIdModifiers || {});
|
|
64
|
+
var SwitchTestIdModifiers = /* @__PURE__ */ ((SwitchTestIdModifiers2) => {
|
|
65
|
+
SwitchTestIdModifiers2["WRAPPER"] = "swicth-wrapper";
|
|
66
|
+
SwitchTestIdModifiers2["BUTTON"] = "swicth-button";
|
|
67
|
+
SwitchTestIdModifiers2["TEXT"] = "swicth-text";
|
|
68
|
+
return SwitchTestIdModifiers2;
|
|
69
|
+
})(SwitchTestIdModifiers || {});
|
|
70
|
+
var TextAreaTestIdModifiers = /* @__PURE__ */ ((TextAreaTestIdModifiers2) => {
|
|
71
|
+
TextAreaTestIdModifiers2["WRAPPER"] = "ta-wrapper";
|
|
72
|
+
TextAreaTestIdModifiers2["LABEL"] = "ta-label";
|
|
73
|
+
TextAreaTestIdModifiers2["FIELD"] = "ta-field";
|
|
74
|
+
TextAreaTestIdModifiers2["TEXT"] = "ta-text";
|
|
75
|
+
return TextAreaTestIdModifiers2;
|
|
76
|
+
})(TextAreaTestIdModifiers || {});
|
|
77
|
+
var SearchTestIdModifiers = /* @__PURE__ */ ((SearchTestIdModifiers2) => {
|
|
78
|
+
SearchTestIdModifiers2["CONTAINER"] = "search-container";
|
|
79
|
+
SearchTestIdModifiers2["FIELD"] = "search-field";
|
|
80
|
+
SearchTestIdModifiers2["CLOSE"] = "search-close";
|
|
81
|
+
return SearchTestIdModifiers2;
|
|
82
|
+
})(SearchTestIdModifiers || {});
|
|
83
|
+
var TableTestIdModifiers = /* @__PURE__ */ ((TableTestIdModifiers2) => {
|
|
84
|
+
TableTestIdModifiers2["CONTAINER"] = "tbl-container";
|
|
85
|
+
TableTestIdModifiers2["TABLE"] = "tbl-table";
|
|
86
|
+
TableTestIdModifiers2["HEADER"] = "tbl-header";
|
|
87
|
+
TableTestIdModifiers2["TITLE"] = "tbl-title";
|
|
88
|
+
TableTestIdModifiers2["HEADER_RIGHT"] = "tbl-header-right";
|
|
89
|
+
TableTestIdModifiers2["ACTIONS"] = "tbl-actions";
|
|
90
|
+
TableTestIdModifiers2["SECTIONS"] = "tbl-sections";
|
|
91
|
+
TableTestIdModifiers2["BODY_WRAPPER"] = "tbl-body-wrapper";
|
|
92
|
+
TableTestIdModifiers2["EMPTY_STATE"] = "tbl-empty-state";
|
|
93
|
+
return TableTestIdModifiers2;
|
|
94
|
+
})(TableTestIdModifiers || {});
|
|
95
|
+
var ToggleTestIdModifiers = /* @__PURE__ */ ((ToggleTestIdModifiers2) => {
|
|
96
|
+
ToggleTestIdModifiers2["WRAPPER"] = "toggle-wrapper";
|
|
97
|
+
ToggleTestIdModifiers2["BODY"] = "toggle-body";
|
|
98
|
+
ToggleTestIdModifiers2["FIELD"] = "toggle-field";
|
|
99
|
+
ToggleTestIdModifiers2["TEXT"] = "toggle-text";
|
|
100
|
+
ToggleTestIdModifiers2["HELPER_TEXT"] = "toggle-helper-text";
|
|
101
|
+
ToggleTestIdModifiers2["ERROR_TEXT"] = "toggle-error-text";
|
|
102
|
+
return ToggleTestIdModifiers2;
|
|
103
|
+
})(ToggleTestIdModifiers || {});
|
|
104
|
+
var TooltipTestIdModifiers = /* @__PURE__ */ ((TooltipTestIdModifiers2) => {
|
|
105
|
+
TooltipTestIdModifiers2["TEXT"] = "tt-text";
|
|
106
|
+
TooltipTestIdModifiers2["TRIGGER"] = "tt-trigger";
|
|
107
|
+
return TooltipTestIdModifiers2;
|
|
108
|
+
})(TooltipTestIdModifiers || {});
|
|
109
|
+
var AppTriggerTestIdModifiers = /* @__PURE__ */ ((AppTriggerTestIdModifiers2) => {
|
|
110
|
+
AppTriggerTestIdModifiers2["WRAPPER"] = "at-wrapper";
|
|
111
|
+
AppTriggerTestIdModifiers2["TITLE_TEXT"] = "at-title-text";
|
|
112
|
+
AppTriggerTestIdModifiers2["TITLE_TOOLTIP_TEXT"] = "at-tooltip-text";
|
|
113
|
+
AppTriggerTestIdModifiers2["DESCRIPTION_TOOLTIP_TEXT"] = "at-description-tooltip-text";
|
|
114
|
+
AppTriggerTestIdModifiers2["DESCRIPTION_TEXT"] = "at-description-text";
|
|
115
|
+
AppTriggerTestIdModifiers2["TRIGGER_BUTTON"] = "at-trigger-button";
|
|
116
|
+
return AppTriggerTestIdModifiers2;
|
|
117
|
+
})(AppTriggerTestIdModifiers || {});
|
|
118
|
+
var AutocompleteInputTestIdModifiers = /* @__PURE__ */ ((AutocompleteInputTestIdModifiers2) => {
|
|
119
|
+
AutocompleteInputTestIdModifiers2["WRAPPER"] = "ai-wrapper";
|
|
120
|
+
AutocompleteInputTestIdModifiers2["SELECTED_OPTION"] = "ai-selected-option";
|
|
121
|
+
AutocompleteInputTestIdModifiers2["SEARCH_FIELD"] = "ai-search-field";
|
|
122
|
+
return AutocompleteInputTestIdModifiers2;
|
|
123
|
+
})(AutocompleteInputTestIdModifiers || {});
|
|
124
|
+
var ChipTestIdModifiers = /* @__PURE__ */ ((ChipTestIdModifiers2) => {
|
|
125
|
+
ChipTestIdModifiers2["WRAPPER"] = "chip-wrapper";
|
|
126
|
+
ChipTestIdModifiers2["CLEAR"] = "chip-clear";
|
|
127
|
+
return ChipTestIdModifiers2;
|
|
128
|
+
})(ChipTestIdModifiers || {});
|
|
129
|
+
var DatePickerTestIdModifiers = /* @__PURE__ */ ((DatePickerTestIdModifiers2) => {
|
|
130
|
+
DatePickerTestIdModifiers2["WRAPPER"] = "dp-wrapper";
|
|
131
|
+
DatePickerTestIdModifiers2["INPUT"] = "dp-input";
|
|
132
|
+
return DatePickerTestIdModifiers2;
|
|
133
|
+
})(DatePickerTestIdModifiers || {});
|
|
134
|
+
var CalendarMonthTestIdModifiers = /* @__PURE__ */ ((CalendarMonthTestIdModifiers2) => {
|
|
135
|
+
CalendarMonthTestIdModifiers2["WRAPPER"] = "cm-wrapper";
|
|
136
|
+
CalendarMonthTestIdModifiers2["DAYS_HEADER"] = "cm-days-header";
|
|
137
|
+
CalendarMonthTestIdModifiers2["PREVIOUS"] = "cm-previous";
|
|
138
|
+
CalendarMonthTestIdModifiers2["NEXT"] = "cm-next";
|
|
139
|
+
CalendarMonthTestIdModifiers2["DAYS_WRAPPER"] = "cm-days-wrapper";
|
|
140
|
+
CalendarMonthTestIdModifiers2["DAY"] = "cm-day";
|
|
141
|
+
CalendarMonthTestIdModifiers2["MONTH_HEADER_TEXT"] = "cm-month-header-text";
|
|
142
|
+
CalendarMonthTestIdModifiers2["MONTH_HEADER"] = "cm-month-header";
|
|
143
|
+
return CalendarMonthTestIdModifiers2;
|
|
144
|
+
})(CalendarMonthTestIdModifiers || {});
|
|
145
|
+
var DateRangeTestIdModifiers = /* @__PURE__ */ ((DateRangeTestIdModifiers2) => {
|
|
146
|
+
DateRangeTestIdModifiers2["WRAPPER"] = "dr-wrapper";
|
|
147
|
+
DateRangeTestIdModifiers2["FIELD"] = "dr-field";
|
|
148
|
+
DateRangeTestIdModifiers2["TRIGGER"] = "dr-trigger";
|
|
149
|
+
DateRangeTestIdModifiers2["CONTAINER"] = "dr-container";
|
|
150
|
+
DateRangeTestIdModifiers2["MENU"] = "dr-menu";
|
|
151
|
+
DateRangeTestIdModifiers2["MESSAGE"] = "dr-message";
|
|
152
|
+
DateRangeTestIdModifiers2["ACTION_APPLY"] = "dr-action-apply";
|
|
153
|
+
DateRangeTestIdModifiers2["ACTION_CANCEL"] = "dr-action-cancel";
|
|
154
|
+
return DateRangeTestIdModifiers2;
|
|
155
|
+
})(DateRangeTestIdModifiers || {});
|
|
156
|
+
var TabsTestIdModifiers = /* @__PURE__ */ ((TabsTestIdModifiers2) => {
|
|
157
|
+
TabsTestIdModifiers2["WRAPPER"] = "tabs-wrapper";
|
|
158
|
+
TabsTestIdModifiers2["TAB"] = "tabs-tab";
|
|
159
|
+
return TabsTestIdModifiers2;
|
|
160
|
+
})(TabsTestIdModifiers || {});
|
|
161
|
+
var TextTestIdModifiers = /* @__PURE__ */ ((TextTestIdModifiers2) => {
|
|
162
|
+
TextTestIdModifiers2["TEXT"] = "t-text";
|
|
163
|
+
return TextTestIdModifiers2;
|
|
164
|
+
})(TextTestIdModifiers || {});
|
|
165
|
+
var HeaderTestIdModifiers = /* @__PURE__ */ ((HeaderTestIdModifiers2) => {
|
|
166
|
+
HeaderTestIdModifiers2["HEADER"] = "h-header";
|
|
167
|
+
return HeaderTestIdModifiers2;
|
|
168
|
+
})(HeaderTestIdModifiers || {});
|
|
169
|
+
|
|
170
|
+
export { AppTriggerTestIdModifiers, AutocompleteInputTestIdModifiers, BannerTestIdModifiers, CalendarMonthTestIdModifiers, CheckboxTestIdModifiers, ChipTestIdModifiers, DatePickerTestIdModifiers, DateRangeTestIdModifiers, DialogTestIdModifiers, DropdownTestIdModifiers, HeaderTestIdModifiers, IncludeExcludeTestIdModifiers, InputTestIdModifiers, RadioTestIdModifiers, SearchTestIdModifiers, SwitchTestIdModifiers, TableTestIdModifiers, TabsTestIdModifiers, TextAreaTestIdModifiers, TextTestIdModifiers, ToggleTestIdModifiers, TooltipTestIdModifiers };
|
package/utils/style.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const pxToRem: (value: number) => number;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.label[data-v-fcdeb5c8]{color:#41454d}.item-container-draggable[data-v-fcdeb5c8]{display:flex;align-items:center;cursor:grabbing;overflow-x:hidden;overflow:hidden;border:1px solid #DDDFE1;margin:.25rem 0;border-radius:.5rem;padding:.5rem .25rem .5rem .5rem}.item-container-draggable--disabled[data-v-fcdeb5c8]{cursor:not-allowed;opacity:.7}.item-container-draggable[data-v-fcdeb5c8]:focus{outline:none}.item-container-draggable[data-v-fcdeb5c8]:hover,.item-container-draggable--active[data-v-fcdeb5c8],.item-container-draggable[data-v-fcdeb5c8]:active{background-color:#f7f8f9}.item-container-draggable:not(.item-container-draggable--multi).item-container-draggable--selected[data-v-fcdeb5c8]{color:#3083ff;background-color:#e2eeff;height:2rem}.item-container-draggable--multi[data-v-fcdeb5c8]{height:2rem}.item-container-draggable--two-lines[data-v-fcdeb5c8]{height:3rem}.text-container[data-v-fcdeb5c8]{color:#53575b;display:flex;flex-direction:column;line-height:normal;max-width:10.5rem;height:100%}.subtitle[data-v-fcdeb5c8]{margin-top:.125rem;color:#7b838c}.clear-button[data-v-fcdeb5c8]{padding:0 .25rem;display:flex;align-items:center;height:auto;background-image:none;min-width:auto;border:none;cursor:pointer;background-color:transparent;color:#d2d5d8}.clear-button[data-v-fcdeb5c8]:hover{color:#a9afb4}.item[data-v-fcdeb5c8]{width:100%;display:flex;flex-direction:column;justify-content:center;gap:.5rem;justify-content:flex-start}.item--with-icon[data-v-fcdeb5c8],.item--multi[data-v-fcdeb5c8]{display:flex;flex-direction:row;align-items:center;justify-content:start}.item--without-icon[data-v-fcdeb5c8]{gap:.25rem}.checkbox[data-v-fcdeb5c8]{display:block;margin-right:.25rem}.image[data-v-fcdeb5c8]{align-items:center;justify-content:center;display:flex}.start-icon[data-v-fcdeb5c8]{display:flex;align-items:center;color:#a9afb4}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { openBlock, createElementBlock, createElementVNode } from 'vue';
|
|
2
|
-
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.vue.js';
|
|
3
|
-
|
|
4
|
-
////import "../../TableEdit.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
5
|
-
const _sfc_main = {};
|
|
6
|
-
|
|
7
|
-
const _hoisted_1 = {
|
|
8
|
-
fill: "currentColor",
|
|
9
|
-
viewBox: "0 0 17 16"
|
|
10
|
-
};
|
|
11
|
-
const _hoisted_2 = /*#__PURE__*/createElementVNode("path", {
|
|
12
|
-
d: "M14.6667 0.5H2.16667C1.25 0.5 0.5 1.25 0.5 2.16667V13.8333C0.5 14.75 1.25 15.5 2.16667 15.5H14.6667C15.5833 15.5 16.3333 14.75 16.3333 13.8333V2.16667C16.3333 1.25 15.5833 0.5 14.6667 0.5ZM14.6667 2.16667V4.66667H2.16667V2.16667H14.6667ZM10.5 13.8333H6.33333V6.33333H10.5V13.8333ZM2.16667 6.33333H4.66667V13.8333H2.16667V6.33333ZM12.1667 13.8333V6.33333H14.6667V13.8333H12.1667Z",
|
|
13
|
-
fill: "#53575B"
|
|
14
|
-
}, null, -1);
|
|
15
|
-
const _hoisted_3 = [
|
|
16
|
-
_hoisted_2
|
|
17
|
-
];
|
|
18
|
-
|
|
19
|
-
function _sfc_render(_ctx, _cache) {
|
|
20
|
-
return (openBlock(), createElementBlock("svg", _hoisted_1, _hoisted_3))
|
|
21
|
-
}
|
|
22
|
-
var TableEdit = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render]]);
|
|
23
|
-
|
|
24
|
-
export { TableEdit as default };
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
-
option: unknown;
|
|
3
|
-
subtitle?: string;
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
clearable?: boolean;
|
|
6
|
-
titleText?: string;
|
|
7
|
-
}>, {
|
|
8
|
-
subtitle: string;
|
|
9
|
-
disabled: boolean;
|
|
10
|
-
clearable: boolean;
|
|
11
|
-
titleText: string;
|
|
12
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
-
option: unknown;
|
|
14
|
-
subtitle?: string;
|
|
15
|
-
disabled?: boolean;
|
|
16
|
-
clearable?: boolean;
|
|
17
|
-
titleText?: string;
|
|
18
|
-
}>, {
|
|
19
|
-
subtitle: string;
|
|
20
|
-
disabled: boolean;
|
|
21
|
-
clearable: boolean;
|
|
22
|
-
titleText: string;
|
|
23
|
-
}>>>, {
|
|
24
|
-
disabled: boolean;
|
|
25
|
-
subtitle: string;
|
|
26
|
-
clearable: boolean;
|
|
27
|
-
titleText: string;
|
|
28
|
-
}>;
|
|
29
|
-
export default _default;
|
|
30
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
31
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
32
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
33
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
34
|
-
} : {
|
|
35
|
-
type: import('vue').PropType<T[K]>;
|
|
36
|
-
required: true;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
type __VLS_WithDefaults<P, D> = {
|
|
40
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
41
|
-
default: D[K];
|
|
42
|
-
} : P[K];
|
|
43
|
-
};
|
|
@@ -1,122 +0,0 @@
|
|
|
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), { name: "close-bold" })
|
|
114
|
-
])
|
|
115
|
-
])) : createCommentVNode("", true)
|
|
116
|
-
], 10, _hoisted_1);
|
|
117
|
-
};
|
|
118
|
-
}
|
|
119
|
-
});
|
|
120
|
-
var IncludeExcludeOptionDraggable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-fcdeb5c8"]]);
|
|
121
|
-
|
|
122
|
-
export { IncludeExcludeOptionDraggable as default };
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
-
currentPage?: number;
|
|
3
|
-
totalPages?: number;
|
|
4
|
-
totalItems?: number | string;
|
|
5
|
-
itemsPerPage?: number;
|
|
6
|
-
}>, {
|
|
7
|
-
currentPage: any;
|
|
8
|
-
totalPages: any;
|
|
9
|
-
totalItems: any;
|
|
10
|
-
itemsPerPage: number;
|
|
11
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "page-change"[], "page-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
-
currentPage?: number;
|
|
13
|
-
totalPages?: number;
|
|
14
|
-
totalItems?: number | string;
|
|
15
|
-
itemsPerPage?: number;
|
|
16
|
-
}>, {
|
|
17
|
-
currentPage: any;
|
|
18
|
-
totalPages: any;
|
|
19
|
-
totalItems: any;
|
|
20
|
-
itemsPerPage: number;
|
|
21
|
-
}>>> & {
|
|
22
|
-
"onPage-change"?: (...args: any[]) => any;
|
|
23
|
-
}, {
|
|
24
|
-
currentPage: number;
|
|
25
|
-
totalPages: number;
|
|
26
|
-
totalItems: number | string;
|
|
27
|
-
itemsPerPage: number;
|
|
28
|
-
}>;
|
|
29
|
-
export default _default;
|
|
30
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
31
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
32
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
33
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
34
|
-
} : {
|
|
35
|
-
type: import('vue').PropType<T[K]>;
|
|
36
|
-
required: true;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
type __VLS_WithDefaults<P, D> = {
|
|
40
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
41
|
-
default: D[K];
|
|
42
|
-
} : P[K];
|
|
43
|
-
};
|