@ironsource/shared-ui 1.4.2-test.6 → 1.4.2-test.9
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/Banner.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/Dialog.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/FloatingToolbar.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/components/appIcon/AppIcon.vue.d.ts +1 -1
- package/components/appIcon/AppIcon.vue.js +3 -3
- package/components/appIcon/index.d.ts +1 -1
- package/components/appTrigger/AppTrigger.vue.d.ts +1 -1
- package/components/appTrigger/AppTrigger.vue.js +22 -25
- package/components/appTrigger/index.d.ts +1 -1
- package/components/autocompleteDropdown/AutocompleteDropdown.vue.d.ts +1 -1
- package/components/autocompleteDropdown/AutocompleteDropdown.vue.js +14 -16
- package/components/autocompleteDropdown/AutocompleteInput.vue.d.ts +1 -1
- package/components/autocompleteDropdown/AutocompleteInput.vue.js +7 -7
- package/components/autocompleteDropdown/GroupOption.vue.d.ts +1 -1
- package/components/autocompleteDropdown/GroupOption.vue.js +3 -4
- package/components/autocompleteDropdown/index.d.ts +1 -1
- package/components/banner/Banner.vue.d.ts +1 -1
- package/components/banner/Banner.vue.js +7 -7
- package/components/banner/index.d.ts +1 -1
- package/components/button/Button.vue.d.ts +1 -1
- package/components/button/Button.vue.js +12 -12
- package/components/button/ButtonBase.vue.d.ts +1 -1
- package/components/button/ButtonBase.vue.js +11 -12
- package/components/button/IconButton.vue.d.ts +1 -1
- package/components/button/IconButton.vue.js +5 -5
- package/components/button/ScrollButton.vue.d.ts +1 -1
- package/components/button/ScrollButton.vue.js +8 -9
- package/components/button/index.d.ts +3 -3
- package/components/checkbox/Checkbox.vue.d.ts +1 -1
- package/components/checkbox/Checkbox.vue.js +15 -16
- package/components/checkbox/index.d.ts +1 -1
- package/components/chip/Chip.vue.d.ts +1 -1
- package/components/chip/Chip.vue.js +5 -5
- package/components/chip/index.d.ts +1 -1
- package/components/datePicker/DatePicker.vue.d.ts +1 -1
- package/components/datePicker/DatePicker.vue.js +11 -11
- package/components/datePicker/DatePickerMonth.vue.d.ts +1 -1
- package/components/datePicker/DatePickerMonth.vue.js +4 -4
- package/components/datePicker/index.d.ts +1 -1
- package/components/dateRange/CalendarMonth.vue.d.ts +1 -1
- package/components/dateRange/CalendarMonth.vue.js +20 -21
- package/components/dateRange/DateRange.vue.d.ts +1 -1
- package/components/dateRange/DateRange.vue.js +26 -28
- package/components/dateRange/DateRangePicker.vue.d.ts +1 -1
- package/components/dateRange/index.d.ts +1 -1
- package/components/dialog/Dialog.vue.d.ts +1 -1
- package/components/dialog/Dialog.vue.js +17 -17
- package/components/dialog/index.d.ts +1 -1
- package/components/dropdown/Dropdown.vue.d.ts +1 -1
- package/components/dropdown/Dropdown.vue.js +57 -60
- package/components/dropdown/Label.vue.d.ts +1 -1
- package/components/dropdown/Label.vue.js +3 -4
- package/components/dropdown/Option.vue.d.ts +1 -1
- package/components/dropdown/Option.vue.js +16 -17
- package/components/dropdown/SearchInput.vue.d.ts +1 -1
- package/components/dropdown/SearchInput.vue.js +6 -6
- package/components/dropdown/index.d.ts +398 -1
- package/components/emptyState/EmptyState.vue.d.ts +1 -1
- package/components/emptyState/EmptyState.vue.js +19 -21
- package/components/emptyState/index.d.ts +1 -1
- package/components/filterDropdown/AddFilterButton.vue.d.ts +1 -1
- package/components/filterDropdown/AddFilterButton.vue.js +7 -7
- package/components/filterDropdown/FilterDropdown.vue.d.ts +1 -1
- package/components/filterDropdown/FilterDropdown.vue.js +15 -17
- package/components/filterDropdown/index.d.ts +2 -2
- package/components/filtersPanel/FilterSearchInput.vue.d.ts +1 -1
- package/components/filtersPanel/FilterSearchInput.vue.js +7 -7
- package/components/filtersPanel/FiltersPanel.vue.d.ts +1 -1
- package/components/filtersPanel/FiltersPanel.vue.js +8 -8
- package/components/filtersPanel/index.d.ts +1 -1
- package/components/floatingToolbar/FloatingToolbar.vue.d.ts +1 -1
- package/components/floatingToolbar/FloatingToolbar.vue.js +3 -3
- package/components/floatingToolbar/index.d.ts +1 -1
- package/components/icon/Icon.vue.d.ts +1 -1
- package/components/icon/Icon.vue.js +4 -4
- package/components/icon/index.d.ts +1 -1
- package/components/icon/storyComponents/Code.vue.d.ts +1 -1
- package/components/icon/storyComponents/IconWrapper.vue.d.ts +1 -1
- package/components/icon/storyComponents/Page.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExclude.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExclude.vue.js +57 -70
- package/components/includeExclude/IncludeExcludeAppHeader.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeAppHeader.vue.js +25 -26
- package/components/includeExclude/IncludeExcludeAppTrigger.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeAppTrigger.vue.js +19 -22
- package/components/includeExclude/IncludeExcludeChipFilter.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeChipFilter.vue.js +40 -42
- package/components/includeExclude/IncludeExcludeOption.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeOption.vue.js +21 -22
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.js +17 -18
- package/components/includeExclude/index.d.ts +5 -5
- package/components/input/DollarInput.vue.d.ts +1 -1
- package/components/input/DollarInput.vue.js +2 -3
- package/components/input/Input.vue.d.ts +1 -1
- package/components/input/Input.vue.js +30 -33
- package/components/input/PasswordInput.vue.d.ts +1 -1
- package/components/input/PasswordInput.vue.js +2 -3
- package/components/input/PercentageInput.vue.d.ts +1 -1
- package/components/input/PercentageInput.vue.js +2 -3
- package/components/input/index.d.ts +2 -2
- package/components/menu/Menu.vue.d.ts +1 -1
- package/components/menu/Menu.vue.js +4 -4
- package/components/menu/index.d.ts +1 -1
- package/components/menuItem/MenuItem.vue.d.ts +1 -1
- package/components/menuItem/MenuItem.vue.js +3 -4
- package/components/menuItem/index.d.ts +1 -1
- package/components/popover/Popover.vue.d.ts +1 -1
- package/components/popover/Popover.vue.js +7 -7
- package/components/popover/index.d.ts +1 -1
- package/components/radioButton/RadioButton.vue.d.ts +1 -1
- package/components/radioButton/RadioButton.vue.js +9 -9
- package/components/radioButton/RadioGroup.vue.d.ts +1 -1
- package/components/radioButton/RadioGroup.vue.js +3 -3
- package/components/radioButton/index.d.ts +2 -2
- package/components/radioButton/useRadio.d.ts +1 -1
- package/components/search/Search.vue.d.ts +1 -1
- package/components/search/Search.vue.js +15 -15
- package/components/search/index.d.ts +1 -1
- package/components/skeleton/Skeleton.vue.d.ts +1 -1
- package/components/skeleton/Skeleton.vue.js +2 -2
- package/components/skeleton/index.d.ts +1 -1
- package/components/snackbar/Snackbar.vue.d.ts +1 -1
- package/components/snackbar/Snackbar.vue.js +26 -26
- package/components/switch/Switch.vue.d.ts +1 -1
- package/components/switch/Switch.vue.js +9 -9
- package/components/switch/index.d.ts +1 -1
- package/components/table/Pagination.vue.d.ts +1 -1
- package/components/table/Table.vue.d.ts +1 -1
- package/components/table/Table.vue.js +32 -35
- package/components/table/TableHeaderSorter.vue.d.ts +1 -1
- package/components/table/TableHeaderSorter.vue.js +4 -4
- package/components/table/index.d.ts +1 -1
- package/components/table-cells/Editable.vue.d.ts +1 -1
- package/components/table-cells/Editable.vue.js +5 -5
- package/components/table-cells/index.d.ts +1 -1
- package/components/tabs/Tabs.vue.d.ts +1 -1
- package/components/tabs/Tabs.vue.js +15 -16
- package/components/tabs/index.d.ts +1 -1
- package/components/textArea/TextArea.vue.d.ts +1 -1
- package/components/textArea/TextArea.vue.js +12 -13
- package/components/textArea/index.d.ts +1 -1
- package/components/toggle/Toggle.vue.d.ts +1 -1
- package/components/toggle/Toggle.vue.js +14 -15
- package/components/toggle/index.d.ts +1 -1
- package/components/tooltip/TextWithTitleContent.vue.d.ts +1 -1
- package/components/tooltip/TextWithTitleContent.vue.js +7 -8
- package/components/tooltip/Tooltip.vue.d.ts +1 -1
- package/components/tooltip/Tooltip.vue.js +10 -11
- package/components/tooltip/index.d.ts +1 -1
- package/components/tooltip/storybookComponents/CustomTooltip.vue.d.ts +1 -1
- package/components/typography/Heading.vue.d.ts +1 -1
- package/components/typography/Heading.vue.js +4 -4
- package/components/typography/Text.vue.d.ts +1 -1
- package/components/typography/Text.vue.js +3 -3
- package/components/typography/index.d.ts +2 -2
- package/index.vue.js +3 -3
- package/package.json +1 -1
|
@@ -89,7 +89,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
89
89
|
rowHeight: number | ((index: number) => number);
|
|
90
90
|
loadingRowCount: number;
|
|
91
91
|
defaultScrollPosition: number;
|
|
92
|
-
}
|
|
92
|
+
}>;
|
|
93
93
|
export default _default;
|
|
94
94
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
95
95
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
import { defineComponent, useCssVars, ref, provide, computed, useSlots, onMounted, openBlock, createElementBlock, createElementVNode,
|
|
2
|
-
import '
|
|
1
|
+
import { defineComponent, useCssVars, unref, ref, provide, computed, useSlots, onMounted, openBlock, createElementBlock, createElementVNode, normalizeStyle, normalizeClass, renderSlot, createVNode, withCtx, createTextVNode, toDisplayString, createCommentVNode, Fragment, renderList, createBlock, mergeProps, withDirectives, vShow } from 'vue';
|
|
2
|
+
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
3
3
|
import Text from '../typography/Text.vue.js';
|
|
4
|
-
import '../button/
|
|
5
|
-
import '../button/IconButton.vue.js';
|
|
6
|
-
import ScrollButton from '../button/ScrollButton.vue.js';
|
|
4
|
+
/* empty css *//* empty css *//* empty css *//* empty css */import ScrollButton from '../button/ScrollButton.vue.js';
|
|
7
5
|
import Skeleton from '../skeleton/Skeleton.vue.js';
|
|
8
6
|
import EmptyState from '../emptyState/EmptyState.vue.js';
|
|
9
7
|
import TableHeaderSorter from './TableHeaderSorter.vue.js';
|
|
10
8
|
import { useVirtualList, useInfiniteScroll } from '@vueuse/core';
|
|
11
9
|
import { TableContext } from './TableContext.vue.js';
|
|
12
|
-
/* empty css *//* empty css */
|
|
13
|
-
|
|
10
|
+
/* empty css *//* empty css */
|
|
14
11
|
import "../../Table.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
15
12
|
const _hoisted_1 = { class: "table-title" };
|
|
16
13
|
const _hoisted_2 = { class: "table-header-actions" };
|
|
@@ -20,14 +17,14 @@ const _hoisted_5 = { class: "table-head-container" };
|
|
|
20
17
|
const _hoisted_6 = ["onMouseenter"];
|
|
21
18
|
const _hoisted_7 = { key: 1 };
|
|
22
19
|
const _hoisted_8 = { key: 1 };
|
|
23
|
-
const _sfc_main = defineComponent({
|
|
20
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
24
21
|
__name: "Table",
|
|
25
22
|
props: {
|
|
26
|
-
title:
|
|
27
|
-
columns:
|
|
28
|
-
rows:
|
|
23
|
+
title: null,
|
|
24
|
+
columns: null,
|
|
25
|
+
rows: null,
|
|
29
26
|
sections: { default: null },
|
|
30
|
-
sort:
|
|
27
|
+
sort: null,
|
|
31
28
|
isSticky: { type: Boolean, default: true },
|
|
32
29
|
isStickyHeader: { type: Boolean, default: false },
|
|
33
30
|
isLoading: { type: Boolean, default: false },
|
|
@@ -43,7 +40,7 @@ const _sfc_main = defineComponent({
|
|
|
43
40
|
setup(__props, { emit }) {
|
|
44
41
|
const props = __props;
|
|
45
42
|
useCssVars((_ctx) => ({
|
|
46
|
-
"3dbbd311": gridColumnTemplate
|
|
43
|
+
"3dbbd311": unref(gridColumnTemplate)
|
|
47
44
|
}));
|
|
48
45
|
const savingRows = ref([]);
|
|
49
46
|
provide(TableContext, {
|
|
@@ -162,12 +159,12 @@ const _sfc_main = defineComponent({
|
|
|
162
159
|
}, [
|
|
163
160
|
createElementVNode("table", {
|
|
164
161
|
ref: unref(containerProps).ref,
|
|
165
|
-
style: normalizeStyle(containerStyle
|
|
162
|
+
style: normalizeStyle(unref(containerStyle)),
|
|
166
163
|
onScrollPassive: onScroll
|
|
167
164
|
}, [
|
|
168
|
-
|
|
165
|
+
__props.title || _ctx.$slots["search"] ? (openBlock(), createElementBlock("div", {
|
|
169
166
|
key: 0,
|
|
170
|
-
class: normalizeClass(["table-header", { isStickyHeader:
|
|
167
|
+
class: normalizeClass(["table-header", { isStickyHeader: __props.isStickyHeader }])
|
|
171
168
|
}, [
|
|
172
169
|
createElementVNode("div", _hoisted_1, [
|
|
173
170
|
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
@@ -176,14 +173,14 @@ const _sfc_main = defineComponent({
|
|
|
176
173
|
strong: ""
|
|
177
174
|
}, {
|
|
178
175
|
default: withCtx(() => [
|
|
179
|
-
createTextVNode(toDisplayString(
|
|
176
|
+
createTextVNode(toDisplayString(__props.title), 1)
|
|
180
177
|
]),
|
|
181
178
|
_: 1
|
|
182
179
|
})
|
|
183
180
|
], true)
|
|
184
181
|
]),
|
|
185
182
|
createElementVNode("div", {
|
|
186
|
-
class: normalizeClass(["table-header-right", hasSearchSlot
|
|
183
|
+
class: normalizeClass(["table-header-right", unref(hasSearchSlot) ? "border-search" : ""])
|
|
187
184
|
}, [
|
|
188
185
|
renderSlot(_ctx.$slots, "search", {}, void 0, true)
|
|
189
186
|
], 2),
|
|
@@ -192,10 +189,10 @@ const _sfc_main = defineComponent({
|
|
|
192
189
|
])
|
|
193
190
|
], 2)) : createCommentVNode("", true),
|
|
194
191
|
createElementVNode("thead", {
|
|
195
|
-
class: normalizeClass({ sticky:
|
|
192
|
+
class: normalizeClass({ sticky: __props.isSticky, isStickyHeader: __props.isStickyHeader })
|
|
196
193
|
}, [
|
|
197
194
|
createElementVNode("div", _hoisted_3, [
|
|
198
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
195
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.sections, (section) => {
|
|
199
196
|
return openBlock(), createElementBlock("div", {
|
|
200
197
|
key: section.id,
|
|
201
198
|
class: normalizeClass(["section-container", { sticky: section.isSticky }])
|
|
@@ -217,7 +214,7 @@ const _sfc_main = defineComponent({
|
|
|
217
214
|
}), 128))
|
|
218
215
|
]),
|
|
219
216
|
createElementVNode("tr", null, [
|
|
220
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
217
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.columns, (column) => {
|
|
221
218
|
return openBlock(), createElementBlock("th", {
|
|
222
219
|
key: column.id,
|
|
223
220
|
class: normalizeClass({
|
|
@@ -226,7 +223,7 @@ const _sfc_main = defineComponent({
|
|
|
226
223
|
isTextRight: column.isTextRight,
|
|
227
224
|
isSortable: column.isSortable
|
|
228
225
|
}),
|
|
229
|
-
style: normalizeStyle(column.isSticky ? columnsStickyPositions
|
|
226
|
+
style: normalizeStyle(column.isSticky ? unref(columnsStickyPositions)[column.id] : null),
|
|
230
227
|
onClick: ($event) => toggleSortOrder(column)
|
|
231
228
|
}, [
|
|
232
229
|
createElementVNode("div", _hoisted_5, [
|
|
@@ -242,10 +239,10 @@ const _sfc_main = defineComponent({
|
|
|
242
239
|
_: 2
|
|
243
240
|
}, 1024)
|
|
244
241
|
], true),
|
|
245
|
-
column.id ===
|
|
242
|
+
column.id === __props.sort.sortBy ? (openBlock(), createBlock(TableHeaderSorter, {
|
|
246
243
|
key: 0,
|
|
247
244
|
class: "table-head-sorter",
|
|
248
|
-
"sort-order":
|
|
245
|
+
"sort-order": __props.sort.sortOrder
|
|
249
246
|
}, null, 8, ["sort-order"])) : createCommentVNode("", true)
|
|
250
247
|
])
|
|
251
248
|
], 14, _hoisted_4);
|
|
@@ -261,7 +258,7 @@ const _sfc_main = defineComponent({
|
|
|
261
258
|
return openBlock(), createElementBlock("tr", {
|
|
262
259
|
key: row.index,
|
|
263
260
|
class: normalizeClass(["table-row", {
|
|
264
|
-
loading:
|
|
261
|
+
loading: __props.isLoading || __props.isLoading && !row.data || savingRows.value.includes(row.index),
|
|
265
262
|
active: activeRow.value === row.index
|
|
266
263
|
}]),
|
|
267
264
|
onMouseenter: ($event) => activeRow.value = row.index
|
|
@@ -277,22 +274,22 @@ const _sfc_main = defineComponent({
|
|
|
277
274
|
], 4), [
|
|
278
275
|
[
|
|
279
276
|
vShow,
|
|
280
|
-
_ctx.$slots["floating-actions"] && activeRow.value === row.index && !
|
|
277
|
+
_ctx.$slots["floating-actions"] && activeRow.value === row.index && !__props.isLoading
|
|
281
278
|
]
|
|
282
279
|
]),
|
|
283
280
|
(openBlock(true), createElementBlock(Fragment, null, renderList(row.data, (cell, cellIndex) => {
|
|
284
281
|
return openBlock(), createElementBlock("td", {
|
|
285
282
|
key: cellIndex,
|
|
286
283
|
class: normalizeClass({
|
|
287
|
-
sticky:
|
|
288
|
-
bordered:
|
|
289
|
-
isTextRight:
|
|
284
|
+
sticky: __props.columns[cellIndex].isSticky,
|
|
285
|
+
bordered: __props.columns[cellIndex].isBordered,
|
|
286
|
+
isTextRight: __props.columns[cellIndex].isTextRight
|
|
290
287
|
}),
|
|
291
288
|
style: normalizeStyle(
|
|
292
|
-
|
|
289
|
+
__props.columns[cellIndex].isSticky ? unref(columnsStickyPositions)[__props.columns[cellIndex].id] : null
|
|
293
290
|
)
|
|
294
291
|
}, [
|
|
295
|
-
!
|
|
292
|
+
!__props.isLoading || __props.isLoading && !!cell ? (openBlock(), createElementBlock("div", {
|
|
296
293
|
key: 0,
|
|
297
294
|
class: normalizeClass({
|
|
298
295
|
last: cellIndex === row.data.length - 1,
|
|
@@ -300,7 +297,7 @@ const _sfc_main = defineComponent({
|
|
|
300
297
|
floating: _ctx.$slots["floating-actions"]
|
|
301
298
|
})
|
|
302
299
|
}, [
|
|
303
|
-
renderSlot(_ctx.$slots, `cell-${
|
|
300
|
+
renderSlot(_ctx.$slots, `cell-${__props.columns[cellIndex].id}`, {
|
|
304
301
|
cell,
|
|
305
302
|
isLoading: savingRows.value.includes(row.index),
|
|
306
303
|
cellIndex,
|
|
@@ -324,8 +321,8 @@ const _sfc_main = defineComponent({
|
|
|
324
321
|
], 16)) : (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
325
322
|
renderSlot(_ctx.$slots, "empty-state", {}, () => [
|
|
326
323
|
createVNode(unref(EmptyState), {
|
|
327
|
-
title:
|
|
328
|
-
subtitle:
|
|
324
|
+
title: __props.emptyStateTitle,
|
|
325
|
+
subtitle: __props.emptyStateSubtitle
|
|
329
326
|
}, null, 8, ["title", "subtitle"])
|
|
330
327
|
], true)
|
|
331
328
|
]))
|
|
@@ -333,7 +330,7 @@ const _sfc_main = defineComponent({
|
|
|
333
330
|
unref(list).length > 0 ? (openBlock(), createElementBlock("tfoot", _hoisted_8)) : createCommentVNode("", true)
|
|
334
331
|
], 36),
|
|
335
332
|
createVNode(unref(ScrollButton), {
|
|
336
|
-
show: showBackToTopButton
|
|
333
|
+
show: unref(showBackToTopButton),
|
|
337
334
|
onScrolled: scrollToTop
|
|
338
335
|
}, null, 8, ["show"])
|
|
339
336
|
], 32);
|
|
@@ -2,7 +2,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
2
2
|
sortOrder: 'asc' | 'desc';
|
|
3
3
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
4
|
sortOrder: 'asc' | 'desc';
|
|
5
|
-
}>>>, {}
|
|
5
|
+
}>>>, {}>;
|
|
6
6
|
export default _default;
|
|
7
7
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
8
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -4,21 +4,21 @@ import SortOrderIcon from './SortOrderIcon.vue.js';
|
|
|
4
4
|
|
|
5
5
|
import "../../TableHeaderSorter.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
6
6
|
const _hoisted_1 = { class: "table-head-sorter-container" };
|
|
7
|
-
const _sfc_main = defineComponent({
|
|
7
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
8
|
__name: "TableHeaderSorter",
|
|
9
9
|
props: {
|
|
10
|
-
sortOrder:
|
|
10
|
+
sortOrder: null
|
|
11
11
|
},
|
|
12
12
|
setup(__props) {
|
|
13
13
|
return (_ctx, _cache) => {
|
|
14
14
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
15
15
|
createVNode(SortOrderIcon, {
|
|
16
16
|
name: "sort-order",
|
|
17
|
-
class: normalizeClass({ "table-head-sorter-selected":
|
|
17
|
+
class: normalizeClass({ "table-head-sorter-selected": __props.sortOrder === "asc" })
|
|
18
18
|
}, null, 8, ["class"]),
|
|
19
19
|
createVNode(SortOrderIcon, {
|
|
20
20
|
name: "sort-order",
|
|
21
|
-
class: normalizeClass(["table-head-sorter-desc", { "table-head-sorter-selected":
|
|
21
|
+
class: normalizeClass(["table-head-sorter-desc", { "table-head-sorter-selected": __props.sortOrder === "desc" }])
|
|
22
22
|
}, null, 8, ["class"])
|
|
23
23
|
]);
|
|
24
24
|
};
|
|
@@ -174,7 +174,7 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("./TableConte
|
|
|
174
174
|
rowHeight: number | ((index: number) => number);
|
|
175
175
|
loadingRowCount: number;
|
|
176
176
|
defaultScrollPosition: number;
|
|
177
|
-
}
|
|
177
|
+
}>)[];
|
|
178
178
|
export { default as Table } from './Table.vue';
|
|
179
179
|
export { TableContext } from './TableContext';
|
|
180
180
|
export type { Column, Sort } from './Table.types';
|
|
@@ -27,7 +27,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
27
27
|
isLoading: boolean;
|
|
28
28
|
isEditing: boolean;
|
|
29
29
|
validateFunction: (value: unknown) => string | boolean;
|
|
30
|
-
}
|
|
30
|
+
}>;
|
|
31
31
|
export default _default;
|
|
32
32
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
33
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -11,15 +11,15 @@ const _hoisted_2 = {
|
|
|
11
11
|
key: 1,
|
|
12
12
|
class: "editable-content"
|
|
13
13
|
};
|
|
14
|
-
const _sfc_main = defineComponent({
|
|
14
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
15
15
|
__name: "Editable",
|
|
16
16
|
props: {
|
|
17
17
|
cell: { default: "" },
|
|
18
18
|
isEditing: { type: Boolean, default: false },
|
|
19
19
|
validateFunction: { type: Function, default: () => false },
|
|
20
20
|
isLoading: { type: Boolean, default: false },
|
|
21
|
-
rowIndex:
|
|
22
|
-
cellIndex:
|
|
21
|
+
rowIndex: null,
|
|
22
|
+
cellIndex: null
|
|
23
23
|
},
|
|
24
24
|
setup(__props) {
|
|
25
25
|
const props = __props;
|
|
@@ -73,7 +73,7 @@ const _sfc_main = defineComponent({
|
|
|
73
73
|
renderSlot(_ctx.$slots, "content", {}, () => [
|
|
74
74
|
createVNode(Text, { size: "sm" }, {
|
|
75
75
|
default: withCtx(() => [
|
|
76
|
-
createTextVNode(toDisplayString(
|
|
76
|
+
createTextVNode(toDisplayString(__props.cell), 1)
|
|
77
77
|
]),
|
|
78
78
|
_: 1
|
|
79
79
|
})
|
|
@@ -84,6 +84,6 @@ const _sfc_main = defineComponent({
|
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
86
|
});
|
|
87
|
-
var Editable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
87
|
+
var Editable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-73de8e4d"]]);
|
|
88
88
|
|
|
89
89
|
export { Editable as default };
|
|
@@ -61,7 +61,7 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("./Editabl
|
|
|
61
61
|
isLoading: boolean;
|
|
62
62
|
isEditing: boolean;
|
|
63
63
|
validateFunction: (value: unknown) => string | boolean;
|
|
64
|
-
}
|
|
64
|
+
}>)[];
|
|
65
65
|
export { default as Editable } from './Editable.vue';
|
|
66
66
|
export { EditableContext, useEditableContext } from './EditableContext';
|
|
67
67
|
export { EditableTypes };
|
|
@@ -39,7 +39,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
39
39
|
iconName: string;
|
|
40
40
|
disabled?: boolean;
|
|
41
41
|
}[];
|
|
42
|
-
}
|
|
42
|
+
}>;
|
|
43
43
|
export default _default;
|
|
44
44
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
45
45
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { defineComponent, useCssVars, ref, computed, openBlock, createElementBlock, normalizeClass, Fragment, renderList, renderSlot, createBlock,
|
|
2
|
-
import '
|
|
1
|
+
import { defineComponent, useCssVars, unref, ref, computed, openBlock, createElementBlock, normalizeClass, Fragment, renderList, renderSlot, createBlock, createCommentVNode, withCtx, createTextVNode, toDisplayString, pushScopeId, popScopeId, createElementVNode } from 'vue';
|
|
2
|
+
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
3
3
|
import Text from '../typography/Text.vue.js';
|
|
4
4
|
import Icon from '../icon/Icon.vue.js';
|
|
5
|
-
/* empty css */
|
|
6
|
-
|
|
5
|
+
/* empty css */
|
|
7
6
|
import "../../Tabs.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
8
7
|
const _withScopeId = (n) => (pushScopeId("data-v-43f1459d"), n = n(), popScopeId(), n);
|
|
9
8
|
const _hoisted_1 = ["onClick", "onMouseover"];
|
|
@@ -12,12 +11,11 @@ const _hoisted_3 = {
|
|
|
12
11
|
key: 0,
|
|
13
12
|
class: "tabs-border-line-hover"
|
|
14
13
|
};
|
|
15
|
-
const
|
|
16
|
-
const _sfc_main = defineComponent({
|
|
14
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
17
15
|
__name: "Tabs",
|
|
18
16
|
props: {
|
|
19
17
|
tabsList: { default: () => [] },
|
|
20
|
-
selectedTab:
|
|
18
|
+
selectedTab: null,
|
|
21
19
|
variant: { default: "fill" },
|
|
22
20
|
size: { default: "sm" }
|
|
23
21
|
},
|
|
@@ -25,13 +23,14 @@ const _sfc_main = defineComponent({
|
|
|
25
23
|
setup(__props, { emit }) {
|
|
26
24
|
const props = __props;
|
|
27
25
|
useCssVars((_ctx) => ({
|
|
28
|
-
"87ea7e12": selectedTabPosition
|
|
29
|
-
"fb546e90": selectedTabWidth
|
|
30
|
-
"b3e2e0ba": selectedTabCenter
|
|
31
|
-
"2213a50a": hoveredTabCenter
|
|
26
|
+
"87ea7e12": unref(selectedTabPosition),
|
|
27
|
+
"fb546e90": unref(selectedTabWidth),
|
|
28
|
+
"b3e2e0ba": unref(selectedTabCenter),
|
|
29
|
+
"2213a50a": unref(hoveredTabCenter)
|
|
32
30
|
}));
|
|
33
31
|
const tabsNewList = ref([]);
|
|
34
32
|
const hoveredTab = ref(null);
|
|
33
|
+
const fixUnderlineLength = 12;
|
|
35
34
|
const skipUnwrap = { tabsNewList };
|
|
36
35
|
const isHovered = computed(
|
|
37
36
|
() => hoveredTab.value && hoveredTab.value !== props.selectedTab
|
|
@@ -77,16 +76,16 @@ const _sfc_main = defineComponent({
|
|
|
77
76
|
};
|
|
78
77
|
return (_ctx, _cache) => {
|
|
79
78
|
return openBlock(), createElementBlock("ul", {
|
|
80
|
-
class: normalizeClass(["tabs-wrap", [
|
|
79
|
+
class: normalizeClass(["tabs-wrap", [__props.size, __props.variant]])
|
|
81
80
|
}, [
|
|
82
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
81
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.tabsList, (tab) => {
|
|
83
82
|
return openBlock(), createElementBlock("li", {
|
|
84
83
|
ref_for: true,
|
|
85
84
|
ref: skipUnwrap.tabsNewList,
|
|
86
85
|
key: tab.id,
|
|
87
86
|
class: normalizeClass(["tab-item", {
|
|
88
87
|
"disabled-tab": tab.disabled,
|
|
89
|
-
"selected-tab": tab.id ===
|
|
88
|
+
"selected-tab": tab.id === __props.selectedTab
|
|
90
89
|
}]),
|
|
91
90
|
onClick: ($event) => selectTab(tab),
|
|
92
91
|
onMouseover: ($event) => setHover(tab),
|
|
@@ -97,7 +96,7 @@ const _sfc_main = defineComponent({
|
|
|
97
96
|
key: 0,
|
|
98
97
|
name: tab.iconName,
|
|
99
98
|
class: normalizeClass(["tab-icon", {
|
|
100
|
-
size:
|
|
99
|
+
size: __props.size,
|
|
101
100
|
"lone-icon": !tab.name
|
|
102
101
|
}])
|
|
103
102
|
}, null, 8, ["name", "class"])) : createCommentVNode("", true),
|
|
@@ -115,7 +114,7 @@ const _sfc_main = defineComponent({
|
|
|
115
114
|
], 42, _hoisted_1);
|
|
116
115
|
}), 128)),
|
|
117
116
|
_hoisted_2,
|
|
118
|
-
isHovered
|
|
117
|
+
unref(isHovered) ? (openBlock(), createElementBlock("div", _hoisted_3)) : createCommentVNode("", true)
|
|
119
118
|
], 2);
|
|
120
119
|
};
|
|
121
120
|
}
|
|
@@ -37,7 +37,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
37
37
|
placeholder: string;
|
|
38
38
|
feedbackHelpText: string;
|
|
39
39
|
feedbackErrorText: string;
|
|
40
|
-
}
|
|
40
|
+
}>;
|
|
41
41
|
export default _default;
|
|
42
42
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
43
43
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, normalizeClass, createVNode, unref, withCtx, createTextVNode, toDisplayString, createCommentVNode, createElementVNode } from 'vue';
|
|
2
|
-
import '
|
|
2
|
+
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
3
3
|
import Text from '../typography/Text.vue.js';
|
|
4
|
-
/* empty css */
|
|
5
|
-
|
|
4
|
+
/* empty css */
|
|
6
5
|
import "../../TextArea.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
7
6
|
const _hoisted_1 = {
|
|
8
7
|
key: 0,
|
|
@@ -13,7 +12,7 @@ const _hoisted_3 = {
|
|
|
13
12
|
key: 1,
|
|
14
13
|
class: "extra-text-container"
|
|
15
14
|
};
|
|
16
|
-
const _sfc_main = defineComponent({
|
|
15
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
17
16
|
__name: "TextArea",
|
|
18
17
|
props: {
|
|
19
18
|
modelValue: { default: "" },
|
|
@@ -30,30 +29,30 @@ const _sfc_main = defineComponent({
|
|
|
30
29
|
};
|
|
31
30
|
return (_ctx, _cache) => {
|
|
32
31
|
return openBlock(), createElementBlock("div", {
|
|
33
|
-
class: normalizeClass({ "textarea-with-label-container": true, disabled:
|
|
32
|
+
class: normalizeClass({ "textarea-with-label-container": true, disabled: __props.disabled })
|
|
34
33
|
}, [
|
|
35
|
-
|
|
34
|
+
__props.label ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
36
35
|
createVNode(unref(Text), { class: "label" }, {
|
|
37
36
|
default: withCtx(() => [
|
|
38
|
-
createTextVNode(toDisplayString(
|
|
37
|
+
createTextVNode(toDisplayString(__props.label), 1)
|
|
39
38
|
]),
|
|
40
39
|
_: 1
|
|
41
40
|
})
|
|
42
41
|
])) : createCommentVNode("", true),
|
|
43
42
|
createElementVNode("textarea", {
|
|
44
43
|
class: "textarea",
|
|
45
|
-
value:
|
|
46
|
-
placeholder:
|
|
47
|
-
disabled:
|
|
44
|
+
value: __props.modelValue,
|
|
45
|
+
placeholder: __props.placeholder,
|
|
46
|
+
disabled: __props.disabled,
|
|
48
47
|
onInput: handleInput
|
|
49
48
|
}, null, 40, _hoisted_2),
|
|
50
|
-
|
|
49
|
+
__props.feedbackErrorText || __props.feedbackHelpText ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
51
50
|
createVNode(unref(Text), {
|
|
52
|
-
class: normalizeClass({ [
|
|
51
|
+
class: normalizeClass({ [__props.feedbackErrorText ? "error" : "help"]: true }),
|
|
53
52
|
size: "caption"
|
|
54
53
|
}, {
|
|
55
54
|
default: withCtx(() => [
|
|
56
|
-
createTextVNode(toDisplayString(
|
|
55
|
+
createTextVNode(toDisplayString(__props.feedbackErrorText || __props.feedbackHelpText), 1)
|
|
57
56
|
]),
|
|
58
57
|
_: 1
|
|
59
58
|
}, 8, ["class"])
|
|
@@ -39,7 +39,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
39
39
|
activeText: string;
|
|
40
40
|
inactiveText: string;
|
|
41
41
|
isDisabled: boolean;
|
|
42
|
-
}
|
|
42
|
+
}>;
|
|
43
43
|
export default _default;
|
|
44
44
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
45
45
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { defineComponent, useCssVars, openBlock, createElementBlock, createElementVNode, normalizeClass, createVNode, unref, withCtx, createTextVNode, toDisplayString, createBlock, createCommentVNode, pushScopeId, popScopeId } from 'vue';
|
|
2
|
-
import '
|
|
2
|
+
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
3
3
|
import Text from '../typography/Text.vue.js';
|
|
4
4
|
import { COLORS } from '../../consts/colors.vue.js';
|
|
5
|
-
/* empty css */
|
|
6
|
-
|
|
5
|
+
/* empty css */
|
|
7
6
|
import "../../Toggle.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
8
7
|
const _withScopeId = (n) => (pushScopeId("data-v-6627e5c5"), n = n(), popScopeId(), n);
|
|
9
8
|
const _hoisted_1 = { class: "toggle-wrap" };
|
|
@@ -12,7 +11,7 @@ const _hoisted_3 = [
|
|
|
12
11
|
_hoisted_2
|
|
13
12
|
];
|
|
14
13
|
const _hoisted_4 = ["disabled", "checked"];
|
|
15
|
-
const _sfc_main = defineComponent({
|
|
14
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
16
15
|
__name: "Toggle",
|
|
17
16
|
props: {
|
|
18
17
|
modelValue: { type: Boolean },
|
|
@@ -27,7 +26,7 @@ const _sfc_main = defineComponent({
|
|
|
27
26
|
setup(__props, { emit }) {
|
|
28
27
|
const props = __props;
|
|
29
28
|
useCssVars((_ctx) => ({
|
|
30
|
-
"a1fed734":
|
|
29
|
+
"a1fed734": __props.color
|
|
31
30
|
}));
|
|
32
31
|
const toggleValue = () => {
|
|
33
32
|
if (props.isDisabled)
|
|
@@ -38,44 +37,44 @@ const _sfc_main = defineComponent({
|
|
|
38
37
|
return openBlock(), createElementBlock("div", null, [
|
|
39
38
|
createElementVNode("div", _hoisted_1, [
|
|
40
39
|
createElementVNode("div", {
|
|
41
|
-
class: normalizeClass(["toggle-body", { "toggle-active":
|
|
40
|
+
class: normalizeClass(["toggle-body", { "toggle-active": __props.modelValue, "toggle-disabled": __props.isDisabled }]),
|
|
42
41
|
onClick: toggleValue
|
|
43
42
|
}, _hoisted_3, 2),
|
|
44
43
|
createElementVNode("input", {
|
|
45
44
|
type: "checkbox",
|
|
46
|
-
disabled:
|
|
47
|
-
checked:
|
|
45
|
+
disabled: __props.isDisabled,
|
|
46
|
+
checked: __props.modelValue,
|
|
48
47
|
class: "checkbox"
|
|
49
48
|
}, null, 8, _hoisted_4),
|
|
50
49
|
createVNode(unref(Text), {
|
|
51
50
|
size: "sm",
|
|
52
51
|
"is-truncated": "",
|
|
53
|
-
class: normalizeClass(["item-text", { "text-disabled":
|
|
52
|
+
class: normalizeClass(["item-text", { "text-disabled": __props.isDisabled }])
|
|
54
53
|
}, {
|
|
55
54
|
default: withCtx(() => [
|
|
56
|
-
createTextVNode(toDisplayString(
|
|
55
|
+
createTextVNode(toDisplayString(__props.modelValue ? __props.activeText : __props.inactiveText), 1)
|
|
57
56
|
]),
|
|
58
57
|
_: 1
|
|
59
58
|
}, 8, ["class"])
|
|
60
59
|
]),
|
|
61
60
|
createElementVNode("div", null, [
|
|
62
|
-
|
|
61
|
+
__props.helperText ? (openBlock(), createBlock(unref(Text), {
|
|
63
62
|
key: 0,
|
|
64
63
|
size: "caption",
|
|
65
64
|
class: "helper-text"
|
|
66
65
|
}, {
|
|
67
66
|
default: withCtx(() => [
|
|
68
|
-
createTextVNode(toDisplayString(
|
|
67
|
+
createTextVNode(toDisplayString(__props.helperText), 1)
|
|
69
68
|
]),
|
|
70
69
|
_: 1
|
|
71
70
|
})) : createCommentVNode("", true),
|
|
72
|
-
|
|
71
|
+
__props.errorText ? (openBlock(), createBlock(unref(Text), {
|
|
73
72
|
key: 1,
|
|
74
73
|
size: "caption",
|
|
75
|
-
class: normalizeClass(["error-text", { "error-and-help": !!
|
|
74
|
+
class: normalizeClass(["error-text", { "error-and-help": !!__props.helperText }])
|
|
76
75
|
}, {
|
|
77
76
|
default: withCtx(() => [
|
|
78
|
-
createTextVNode(toDisplayString(
|
|
77
|
+
createTextVNode(toDisplayString(__props.errorText), 1)
|
|
79
78
|
]),
|
|
80
79
|
_: 1
|
|
81
80
|
}, 8, ["class"])) : createCommentVNode("", true)
|
|
@@ -4,7 +4,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
4
4
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
5
|
text: string;
|
|
6
6
|
header: string;
|
|
7
|
-
}>>>, {}
|
|
7
|
+
}>>>, {}>;
|
|
8
8
|
export default _default;
|
|
9
9
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
10
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, createElementVNode, createVNode, unref, withCtx, createTextVNode, toDisplayString } from 'vue';
|
|
2
|
-
import '
|
|
2
|
+
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
3
3
|
import Text from '../typography/Text.vue.js';
|
|
4
|
-
/* empty css */
|
|
5
|
-
|
|
4
|
+
/* empty css */
|
|
6
5
|
import "../../TextWithTitleContent.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
7
6
|
const _hoisted_1 = { class: "content-wrap" };
|
|
8
7
|
const _hoisted_2 = { class: "content-header" };
|
|
9
8
|
const _hoisted_3 = { class: "content-body" };
|
|
10
|
-
const _sfc_main = defineComponent({
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
10
|
__name: "TextWithTitleContent",
|
|
12
11
|
props: {
|
|
13
|
-
text:
|
|
14
|
-
header:
|
|
12
|
+
text: null,
|
|
13
|
+
header: null
|
|
15
14
|
},
|
|
16
15
|
setup(__props) {
|
|
17
16
|
return (_ctx, _cache) => {
|
|
@@ -23,7 +22,7 @@ const _sfc_main = defineComponent({
|
|
|
23
22
|
strong: ""
|
|
24
23
|
}, {
|
|
25
24
|
default: withCtx(() => [
|
|
26
|
-
createTextVNode(toDisplayString(
|
|
25
|
+
createTextVNode(toDisplayString(__props.header), 1)
|
|
27
26
|
]),
|
|
28
27
|
_: 1
|
|
29
28
|
})
|
|
@@ -35,7 +34,7 @@ const _sfc_main = defineComponent({
|
|
|
35
34
|
strong: ""
|
|
36
35
|
}, {
|
|
37
36
|
default: withCtx(() => [
|
|
38
|
-
createTextVNode(toDisplayString(
|
|
37
|
+
createTextVNode(toDisplayString(__props.text), 1)
|
|
39
38
|
]),
|
|
40
39
|
_: 1
|
|
41
40
|
})
|