@leaflink/stash 44.0.0-beta.7 → 44.0.0-beta.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/README.md +107 -39
- package/dist/ActionsDropdown.js +2 -2
- package/dist/ActionsDropdown.js.map +1 -1
- package/dist/AddressSelect.js +2 -2
- package/dist/AppNavigationItem.js +1 -1
- package/dist/AppSidebar.js +13 -13
- package/dist/AppSidebar.js.map +1 -1
- package/dist/Badge.vue.d.ts +1 -1
- package/dist/Button.js +1 -1
- package/dist/Button.js.map +1 -1
- package/dist/Button.vue_used_vue_type_style_index_0_lang.module-63d31dc0.js +17 -0
- package/dist/Button.vue_used_vue_type_style_index_0_lang.module-63d31dc0.js.map +1 -0
- package/dist/ButtonGroup.js +19 -19
- package/dist/ButtonGroup.js.map +1 -1
- package/dist/Checkbox.js +57 -46
- package/dist/Checkbox.js.map +1 -1
- package/dist/Checkbox.vue.d.ts +2 -0
- package/dist/Checkbox.vue_used_vue_type_style_index_0_lang.module-fa8d9c06.js +9 -0
- package/dist/Checkbox.vue_used_vue_type_style_index_0_lang.module-fa8d9c06.js.map +1 -0
- package/dist/ChevronToggle.js +1 -1
- package/dist/Copy.js +1 -1
- package/dist/CurrencyInput.js +2 -2
- package/dist/DataView.js +1 -1
- package/dist/DataViewFilters.js +4 -4
- package/dist/DataViewSortButton.js +47 -38
- package/dist/DataViewSortButton.js.map +1 -1
- package/dist/DataViewToolbar.js +2 -2
- package/dist/DatePicker.js +8 -8
- package/dist/DatePicker.js.map +1 -1
- package/dist/DescriptionListTerm.js +1 -1
- package/dist/DescriptionListTerm.js.map +1 -1
- package/dist/Dialog.js +33 -33
- package/dist/Dialog.js.map +1 -1
- package/dist/Divider.js +4 -4
- package/dist/Divider.js.map +1 -1
- package/dist/Expand.js +1 -1
- package/dist/{Expand.vue_vue_type_script_setup_true_lang-b6a57ae9.js → Expand.vue_vue_type_script_setup_true_lang-1751f4a6.js} +12 -13
- package/dist/Expand.vue_vue_type_script_setup_true_lang-1751f4a6.js.map +1 -0
- package/dist/Field.js +2 -2
- package/dist/Field.vue.d.ts +1 -1
- package/dist/{Field.vue_vue_type_script_setup_true_lang-4483019d.js → Field.vue_vue_type_script_setup_true_lang-42ba3c5a.js} +2 -2
- package/dist/Field.vue_vue_type_script_setup_true_lang-42ba3c5a.js.map +1 -0
- package/dist/FileUpload.js +7 -7
- package/dist/FileUpload.js.map +1 -1
- package/dist/FilterChip.js +30 -30
- package/dist/FilterChip.js.map +1 -1
- package/dist/FilterDropdown.js +2 -2
- package/dist/FilterSelect.js +2 -2
- package/dist/Filters.js +39 -39
- package/dist/Filters.js.map +1 -1
- package/dist/HttpError.js +6 -6
- package/dist/IconLabel.js +6 -6
- package/dist/IconLabel.js.map +1 -1
- package/dist/IconLabel.vue.d.ts +1 -1
- package/dist/Illustration.js +10 -60
- package/dist/Illustration.js.map +1 -1
- package/dist/Illustration.vue_vue_type_script_setup_true_lang-d6a94e17.js +56 -0
- package/dist/Illustration.vue_vue_type_script_setup_true_lang-d6a94e17.js.map +1 -0
- package/dist/Image.js +67 -72
- package/dist/Image.js.map +1 -1
- package/dist/InlineEdit.js +2 -2
- package/dist/Input.js +53 -53
- package/dist/Input.js.map +1 -1
- package/dist/InputOptions.js +2 -2
- package/dist/Label.js +1 -1
- package/dist/Label.vue.d.ts +13 -2
- package/dist/{Label.vue_vue_type_script_setup_true_lang-2de35913.js → Label.vue_vue_type_script_setup_true_lang-4b02087f.js} +12 -11
- package/dist/Label.vue_vue_type_script_setup_true_lang-4b02087f.js.map +1 -0
- package/dist/ListItem.js +11 -11
- package/dist/ListItem.js.map +1 -1
- package/dist/ListItemCell.js +9 -9
- package/dist/ListItemCell.js.map +1 -1
- package/dist/ListView.js +83 -80
- package/dist/ListView.js.map +1 -1
- package/dist/Loading.js +17 -10
- package/dist/Loading.js.map +1 -1
- package/dist/Loading.vue_used_vue_type_style_index_0_lang.module-ef5a3bc6.js +8 -0
- package/dist/Loading.vue_used_vue_type_style_index_0_lang.module-ef5a3bc6.js.map +1 -0
- package/dist/MenuItem.js +20 -14
- package/dist/MenuItem.js.map +1 -1
- package/dist/Modal.js +2 -2
- package/dist/Modal.js.map +1 -1
- package/dist/ObfuscateText.js +30 -32
- package/dist/ObfuscateText.js.map +1 -1
- package/dist/ObfuscateText.vue.d.ts +1 -1
- package/dist/PageContent.js +9 -9
- package/dist/PageContent.js.map +1 -1
- package/dist/PageHeader.js +22 -22
- package/dist/PageHeader.js.map +1 -1
- package/dist/Paginate.js +1 -1
- package/dist/Paginate.js.map +1 -1
- package/dist/Paginate.vue_used_vue_type_style_index_0_lang.module-18343da7.js +11 -0
- package/dist/Paginate.vue_used_vue_type_style_index_0_lang.module-18343da7.js.map +1 -0
- package/dist/Radio.js +24 -19
- package/dist/Radio.js.map +1 -1
- package/dist/RadioGroup.js +43 -43
- package/dist/RadioGroup.js.map +1 -1
- package/dist/SearchBar.js +32 -32
- package/dist/SearchBar.js.map +1 -1
- package/dist/Select.js +5 -5
- package/dist/Select.js.map +1 -1
- package/dist/SelectStatus.js +2 -2
- package/dist/Switch.js +41 -34
- package/dist/Switch.js.map +1 -1
- package/dist/Table.js +6 -6
- package/dist/Table.keys-cf93df19.js +27 -0
- package/dist/{Table.keys-75e99266.js.map → Table.keys-cf93df19.js.map} +1 -1
- package/dist/TableCell.js +5 -5
- package/dist/TableCell.js.map +1 -1
- package/dist/TableHeaderCell.js +32 -32
- package/dist/TableHeaderCell.js.map +1 -1
- package/dist/TableHeaderRow.js +10 -10
- package/dist/TableHeaderRow.js.map +1 -1
- package/dist/TableRow.js +6 -6
- package/dist/TableRow.js.map +1 -1
- package/dist/Textarea.js +49 -41
- package/dist/Textarea.js.map +1 -1
- package/dist/Toast.js +23 -23
- package/dist/Toast.js.map +1 -1
- package/dist/components.css +1 -1
- package/dist/constants.d.ts +26 -19
- package/dist/constants.js +41 -26
- package/dist/constants.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/tailwind-base.d.ts +16 -16
- package/dist/tailwind-base.js +7 -4
- package/dist/tailwind-base.js.map +1 -1
- package/package.json +1 -1
- package/styles/backwards-compat.css +41 -104
- package/styles/base.css +258 -112
- package/tailwind-base.ts +3 -0
- package/dist/Button.vue_used_vue_type_style_index_0_lang.module-b2ee90e6.js +0 -17
- package/dist/Button.vue_used_vue_type_style_index_0_lang.module-b2ee90e6.js.map +0 -1
- package/dist/Checkbox.vue_vue_type_style_index_0_scoped_dbd26d7f_lang-4ed993c7.js +0 -2
- package/dist/Checkbox.vue_vue_type_style_index_0_scoped_dbd26d7f_lang-4ed993c7.js.map +0 -1
- package/dist/Expand.vue_vue_type_script_setup_true_lang-b6a57ae9.js.map +0 -1
- package/dist/Field.vue_vue_type_script_setup_true_lang-4483019d.js.map +0 -1
- package/dist/Label.vue_vue_type_script_setup_true_lang-2de35913.js.map +0 -1
- package/dist/Loading.vue_vue_type_style_index_0_scoped_bb8d5f15_lang-4ed993c7.js +0 -2
- package/dist/Loading.vue_vue_type_style_index_0_scoped_bb8d5f15_lang-4ed993c7.js.map +0 -1
- package/dist/Paginate.vue_used_vue_type_style_index_0_lang.module-1a2084f9.js +0 -11
- package/dist/Paginate.vue_used_vue_type_style_index_0_lang.module-1a2084f9.js.map +0 -1
- package/dist/Table.keys-75e99266.js +0 -27
- package/styles/_base.scss +0 -493
- package/styles/elements/_links.scss +0 -32
- package/styles/elements/_lists.scss +0 -31
- package/styles/elements/_misc.scss +0 -16
- package/styles/main.scss +0 -38
package/dist/ListView.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import W from "lodash-es/cloneDeep";
|
|
2
2
|
import { resolveComponent as d, openBlock as a, createElementBlock as o, normalizeClass as r, createElementVNode as u, createVNode as p, toDisplayString as _, createCommentVNode as n, createBlock as h, withCtx as m, createTextVNode as T, renderSlot as f, TransitionGroup as F, resolveDirective as O, withDirectives as E, computed as q, withKeys as Y, normalizeStyle as J, Fragment as Q, renderList as X, mergeProps as Z, resolveDynamicComponent as $ } from "vue";
|
|
3
3
|
import ee from "./useSearch.js";
|
|
4
|
-
import { CSS_VARS as
|
|
5
|
-
import
|
|
4
|
+
import { CSS_VARS as L, LLLV_CHANGE_TRIGGERS as b } from "./constants.js";
|
|
5
|
+
import V from "./sticky.js";
|
|
6
6
|
import { t as y } from "./locale.js";
|
|
7
7
|
import { persistentStorage as A } from "./storage.js";
|
|
8
|
-
import { getCssVar as
|
|
8
|
+
import { getCssVar as D, filterItems as te, sortItems as se } from "./utils/helpers.js";
|
|
9
9
|
import le from "./Badge.js";
|
|
10
10
|
import v from "./Button.js";
|
|
11
|
-
import
|
|
11
|
+
import R from "./Checkbox.js";
|
|
12
12
|
import ie from "./Dropdown.js";
|
|
13
|
-
import { _ as
|
|
13
|
+
import { _ as N } from "./Expand.vue_vue_type_script_setup_true_lang-1751f4a6.js";
|
|
14
14
|
import re from "./Filters.js";
|
|
15
15
|
import B from "./Icon.js";
|
|
16
16
|
import ae from "./Input.js";
|
|
@@ -26,9 +26,9 @@ import "lodash-es/camelCase";
|
|
|
26
26
|
import "lodash-es/isFinite";
|
|
27
27
|
import "./utils/storage.js";
|
|
28
28
|
import "@leaflink/snitch";
|
|
29
|
-
import "./Button.vue_used_vue_type_style_index_0_lang.module-
|
|
29
|
+
import "./Button.vue_used_vue_type_style_index_0_lang.module-63d31dc0.js";
|
|
30
30
|
import "lodash-es/uniqueId";
|
|
31
|
-
import "./Checkbox.
|
|
31
|
+
import "./Checkbox.vue_used_vue_type_style_index_0_lang.module-fa8d9c06.js";
|
|
32
32
|
import "./clickoutside.js";
|
|
33
33
|
import "./utils/calculateElementOverflow.js";
|
|
34
34
|
import "./index-79ce320f.js";
|
|
@@ -46,8 +46,8 @@ import "./utils/formatDateTime.js";
|
|
|
46
46
|
import "./utils/normalizeDate.js";
|
|
47
47
|
import "./toTimeZone-e6e9ab75.js";
|
|
48
48
|
import "./InputOptions.js";
|
|
49
|
-
import "./Field.vue_vue_type_script_setup_true_lang-
|
|
50
|
-
import "./Label.vue_vue_type_script_setup_true_lang-
|
|
49
|
+
import "./Field.vue_vue_type_script_setup_true_lang-42ba3c5a.js";
|
|
50
|
+
import "./Label.vue_vue_type_script_setup_true_lang-4b02087f.js";
|
|
51
51
|
import "./Select.js";
|
|
52
52
|
import "lodash-es/isEmpty";
|
|
53
53
|
import "lodash-es/isEqual";
|
|
@@ -57,18 +57,18 @@ import "./utils/colorScheme.js";
|
|
|
57
57
|
import "lodash-es/isNil";
|
|
58
58
|
import "./utils/i18n.js";
|
|
59
59
|
import "./Radio.js";
|
|
60
|
-
import "./Paginate.vue_used_vue_type_style_index_0_lang.module-
|
|
60
|
+
import "./Paginate.vue_used_vue_type_style_index_0_lang.module-18343da7.js";
|
|
61
61
|
import "./EmptyState.vue_used_vue_type_style_index_0_lang.module-f5d89366.js";
|
|
62
|
-
import "./Loading.
|
|
63
|
-
const de = "
|
|
64
|
-
"select-bar": "_select-
|
|
62
|
+
import "./Loading.vue_used_vue_type_style_index_0_lang.module-ef5a3bc6.js";
|
|
63
|
+
const de = "_checkbox_hsxyw_10", he = "_actions_hsxyw_14", ue = {
|
|
64
|
+
"select-bar": "_select-bar_hsxyw_2",
|
|
65
65
|
checkbox: de,
|
|
66
66
|
actions: he
|
|
67
67
|
}, me = {
|
|
68
68
|
name: "bulk-actions",
|
|
69
69
|
components: {
|
|
70
70
|
"ll-button": v,
|
|
71
|
-
"ll-checkbox":
|
|
71
|
+
"ll-checkbox": R
|
|
72
72
|
},
|
|
73
73
|
props: {
|
|
74
74
|
allowSelectAll: Boolean,
|
|
@@ -133,18 +133,18 @@ const de = "_checkbox_7isy5_185", he = "_actions_7isy5_189", ue = {
|
|
|
133
133
|
class: "tw-text-xs"
|
|
134
134
|
}, pe = {
|
|
135
135
|
key: 1,
|
|
136
|
-
class: "
|
|
136
|
+
class: "tw-ml-1.5 lg:tw-hidden"
|
|
137
137
|
};
|
|
138
138
|
function Se(e, l, s, w, i, t) {
|
|
139
139
|
const c = d("ll-checkbox"), g = d("ll-button");
|
|
140
140
|
return a(), o("div", {
|
|
141
|
-
class: r([
|
|
141
|
+
class: r(["lg:tw-flex", [
|
|
142
142
|
e.$style["select-bar"],
|
|
143
143
|
{
|
|
144
|
-
"lg:hidden": s.hideBulkActionOptions
|
|
144
|
+
"lg:tw-hidden": s.hideBulkActionOptions
|
|
145
145
|
},
|
|
146
146
|
"tw-p-3"
|
|
147
|
-
])
|
|
147
|
+
]])
|
|
148
148
|
}, [
|
|
149
149
|
u("div", {
|
|
150
150
|
class: r(["tw-flex tw-items-center", {
|
|
@@ -153,7 +153,7 @@ function Se(e, l, s, w, i, t) {
|
|
|
153
153
|
}, [
|
|
154
154
|
p(c, {
|
|
155
155
|
"data-test": "checkbox|bulk-actions",
|
|
156
|
-
class: r([e.$style.checkbox, "
|
|
156
|
+
class: r([e.$style.checkbox, "tw-m-0 lg:tw-hidden"]),
|
|
157
157
|
checked: s.isSomePageChecked && !!s.totalCount,
|
|
158
158
|
indeterminate: s.isSomePageChecked && !s.isAllPageChecked,
|
|
159
159
|
label: s.totalSelectedCount ? "" : e.selectAllText,
|
|
@@ -199,7 +199,7 @@ function Se(e, l, s, w, i, t) {
|
|
|
199
199
|
const ye = {
|
|
200
200
|
$style: ue
|
|
201
201
|
}, we = /* @__PURE__ */ k(me, [["render", Se], ["__cssModules", ye]]), _e = {
|
|
202
|
-
"empty-state": "_empty-
|
|
202
|
+
"empty-state": "_empty-state_12gjn_2"
|
|
203
203
|
}, be = {
|
|
204
204
|
name: "loading-manager",
|
|
205
205
|
components: {
|
|
@@ -240,23 +240,23 @@ function ke(e, l, s, w, i, t) {
|
|
|
240
240
|
}
|
|
241
241
|
const Ce = {
|
|
242
242
|
$style: _e
|
|
243
|
-
}, Te = /* @__PURE__ */ k(be, [["render", ke], ["__cssModules", Ce]]),
|
|
244
|
-
"main-header": "_main-
|
|
245
|
-
"expanded-content-wrapper": "_expanded-content-
|
|
246
|
-
"expanded-content-header": "_expanded-content-
|
|
247
|
-
"expanded-content-header-grid": "_expanded-content-header-
|
|
248
|
-
"expansion-toggle-button": "_expansion-toggle-
|
|
249
|
-
"list-group": "_list-
|
|
250
|
-
"expanded-content-list-items-wrapper": "_expanded-content-list-items-
|
|
251
|
-
},
|
|
243
|
+
}, Te = /* @__PURE__ */ k(be, [["render", ke], ["__cssModules", Ce]]), Ie = {
|
|
244
|
+
"main-header": "_main-header_1wlsh_2",
|
|
245
|
+
"expanded-content-wrapper": "_expanded-content-wrapper_1wlsh_18",
|
|
246
|
+
"expanded-content-header": "_expanded-content-header_1wlsh_29",
|
|
247
|
+
"expanded-content-header-grid": "_expanded-content-header-grid_1wlsh_52",
|
|
248
|
+
"expansion-toggle-button": "_expansion-toggle-button_1wlsh_70",
|
|
249
|
+
"list-group": "_list-group_1wlsh_74",
|
|
250
|
+
"expanded-content-list-items-wrapper": "_expanded-content-list-items-wrapper_1wlsh_81"
|
|
251
|
+
}, xe = {
|
|
252
252
|
name: "list-group",
|
|
253
253
|
components: {
|
|
254
|
-
Expand:
|
|
254
|
+
Expand: N,
|
|
255
255
|
"ll-button": v,
|
|
256
256
|
Icon: B
|
|
257
257
|
},
|
|
258
258
|
directives: {
|
|
259
|
-
sticky:
|
|
259
|
+
sticky: V
|
|
260
260
|
},
|
|
261
261
|
props: {
|
|
262
262
|
/**
|
|
@@ -291,7 +291,7 @@ const Ce = {
|
|
|
291
291
|
},
|
|
292
292
|
computed: {
|
|
293
293
|
headerOffset() {
|
|
294
|
-
return parseFloat(
|
|
294
|
+
return parseFloat(D(L.TOP_HEADER_HEIGHT));
|
|
295
295
|
}
|
|
296
296
|
},
|
|
297
297
|
methods: {
|
|
@@ -304,7 +304,7 @@ const Ce = {
|
|
|
304
304
|
}
|
|
305
305
|
}, ve = { class: "tw-flex-auto" }, Be = { ref: "actionsContainer" };
|
|
306
306
|
function Ae(e, l, s, w, i, t) {
|
|
307
|
-
const c = d("Icon"), g = d("ll-button"),
|
|
307
|
+
const c = d("Icon"), g = d("ll-button"), I = d("Expand"), x = O("sticky");
|
|
308
308
|
return a(), o("div", {
|
|
309
309
|
class: r([
|
|
310
310
|
e.$style["list-group"],
|
|
@@ -338,7 +338,7 @@ function Ae(e, l, s, w, i, t) {
|
|
|
338
338
|
f(e.$slots, "actions")
|
|
339
339
|
], 512)
|
|
340
340
|
], 2),
|
|
341
|
-
p(
|
|
341
|
+
p(I, {
|
|
342
342
|
"is-expanded": i.isExpanded,
|
|
343
343
|
onAfterExpand: l[1] || (l[1] = (C) => i.isDoneExpanding = !0)
|
|
344
344
|
}, {
|
|
@@ -356,7 +356,7 @@ function Ae(e, l, s, w, i, t) {
|
|
|
356
356
|
f(e.$slots, "expanded-content-list-header")
|
|
357
357
|
], 2)
|
|
358
358
|
], 2)), [
|
|
359
|
-
[
|
|
359
|
+
[x, i.isExpanded && i.isDoneExpanding ? t.headerOffset : 0]
|
|
360
360
|
]) : n("", !0),
|
|
361
361
|
u("div", {
|
|
362
362
|
class: r(e.$style["expanded-content-list-items-wrapper"])
|
|
@@ -378,8 +378,8 @@ function Ae(e, l, s, w, i, t) {
|
|
|
378
378
|
], 2);
|
|
379
379
|
}
|
|
380
380
|
const Pe = {
|
|
381
|
-
$style:
|
|
382
|
-
}, ss = /* @__PURE__ */ k(
|
|
381
|
+
$style: Ie
|
|
382
|
+
}, ss = /* @__PURE__ */ k(xe, [["render", Ae], ["__cssModules", Pe]]), Fe = "_caret_1147a_2", Oe = {
|
|
383
383
|
"caret-up": "_caret-up_1147a_2",
|
|
384
384
|
"caret-down": "_caret-down_1147a_6",
|
|
385
385
|
caret: Fe
|
|
@@ -448,7 +448,7 @@ const Pe = {
|
|
|
448
448
|
}
|
|
449
449
|
}
|
|
450
450
|
};
|
|
451
|
-
function
|
|
451
|
+
function Le(e, l, s, w, i, t) {
|
|
452
452
|
const c = d("ll-icon");
|
|
453
453
|
return a(), o("div", {
|
|
454
454
|
class: r(["tw-cursor-pointer", { "tw-bg-blue-100": t.isSorted }]),
|
|
@@ -473,27 +473,27 @@ function ze(e, l, s, w, i, t) {
|
|
|
473
473
|
], 2)
|
|
474
474
|
], 2);
|
|
475
475
|
}
|
|
476
|
-
const
|
|
476
|
+
const Ve = {
|
|
477
477
|
$style: Oe
|
|
478
|
-
}, ls = /* @__PURE__ */ k(Ee, [["render",
|
|
479
|
-
"list-items": "_list-
|
|
480
|
-
"legacy-box": "_legacy-
|
|
481
|
-
header:
|
|
482
|
-
"header-grid-container": "_header-grid-
|
|
483
|
-
"header-grid": "_header-
|
|
484
|
-
"search-input": "_search-
|
|
485
|
-
"clear-button": "_clear-
|
|
486
|
-
"search-button": "_search-
|
|
487
|
-
"total-sort": "_total-
|
|
488
|
-
"filter-toggle-btn": "_filter-toggle-
|
|
489
|
-
"filter-toggle-btn-with-hint-text": "_filter-toggle-btn-with-hint-
|
|
490
|
-
"filters-expand": "_filters-
|
|
491
|
-
"filters-wrapper": "_filters-
|
|
492
|
-
separator:
|
|
493
|
-
"filters-half-width": "_filters-half-
|
|
494
|
-
dropdown:
|
|
495
|
-
"sort-option": "_sort-
|
|
496
|
-
"select-all": "_select-
|
|
478
|
+
}, ls = /* @__PURE__ */ k(Ee, [["render", Le], ["__cssModules", Ve]]), De = "_header_c8ut0_25", Re = "_separator_c8ut0_1", Ne = "_dropdown_c8ut0_199", ze = {
|
|
479
|
+
"list-items": "_list-items_c8ut0_2",
|
|
480
|
+
"legacy-box": "_legacy-box_c8ut0_16",
|
|
481
|
+
header: De,
|
|
482
|
+
"header-grid-container": "_header-grid-container_c8ut0_75",
|
|
483
|
+
"header-grid": "_header-grid_c8ut0_75",
|
|
484
|
+
"search-input": "_search-input_c8ut0_109",
|
|
485
|
+
"clear-button": "_clear-button_c8ut0_120",
|
|
486
|
+
"search-button": "_search-button_c8ut0_134",
|
|
487
|
+
"total-sort": "_total-sort_c8ut0_151",
|
|
488
|
+
"filter-toggle-btn": "_filter-toggle-btn_c8ut0_158",
|
|
489
|
+
"filter-toggle-btn-with-hint-text": "_filter-toggle-btn-with-hint-text_c8ut0_162",
|
|
490
|
+
"filters-expand": "_filters-expand_c8ut0_177",
|
|
491
|
+
"filters-wrapper": "_filters-wrapper_c8ut0_178",
|
|
492
|
+
separator: Re,
|
|
493
|
+
"filters-half-width": "_filters-half-width_c8ut0_191",
|
|
494
|
+
dropdown: Ne,
|
|
495
|
+
"sort-option": "_sort-option_c8ut0_203",
|
|
496
|
+
"select-all": "_select-all_c8ut0_207"
|
|
497
497
|
}, P = {
|
|
498
498
|
isSearchable: !0,
|
|
499
499
|
placeholder: "Search",
|
|
@@ -509,12 +509,12 @@ const Le = {
|
|
|
509
509
|
Button: v,
|
|
510
510
|
Icon: B,
|
|
511
511
|
Dropdown: ie,
|
|
512
|
-
Expand:
|
|
513
|
-
Checkbox:
|
|
512
|
+
Expand: N,
|
|
513
|
+
Checkbox: R,
|
|
514
514
|
Input: ae
|
|
515
515
|
},
|
|
516
516
|
directives: {
|
|
517
|
-
sticky:
|
|
517
|
+
sticky: V
|
|
518
518
|
},
|
|
519
519
|
inject: {
|
|
520
520
|
trackSearch: { default: () => () => {
|
|
@@ -837,7 +837,7 @@ const Le = {
|
|
|
837
837
|
return this.selectedItems.length;
|
|
838
838
|
},
|
|
839
839
|
headerOffset() {
|
|
840
|
-
return this.disableStickyHeader ? null : this.stickyHeaderOffset ?? parseFloat(
|
|
840
|
+
return this.disableStickyHeader ? null : this.stickyHeaderOffset ?? parseFloat(D(L.TOP_HEADER_HEIGHT));
|
|
841
841
|
}
|
|
842
842
|
},
|
|
843
843
|
watch: {
|
|
@@ -1069,12 +1069,12 @@ const Le = {
|
|
|
1069
1069
|
return e.reduce((l, s) => this.isItemDisabled(s) ? l : [...l, s], []);
|
|
1070
1070
|
}
|
|
1071
1071
|
}
|
|
1072
|
-
},
|
|
1072
|
+
}, je = { class: "ll-grid tw-grid-cols-4 md:tw-grid-cols-8 lg:tw-grid-cols-12" }, Me = ["disabled"], Ge = { class: "button-grid tw-col-span-1 tw-items-end tw-justify-end lg:tw-col-span-3" }, Ue = {
|
|
1073
1073
|
key: 0,
|
|
1074
1074
|
class: "tw-text-xs"
|
|
1075
1075
|
};
|
|
1076
1076
|
function Ke(e, l, s, w, i, t) {
|
|
1077
|
-
const c = d("Icon"), g = d("Button"),
|
|
1077
|
+
const c = d("Icon"), g = d("Button"), I = d("Input"), x = d("Badge"), C = d("Filters"), z = d("Expand"), H = d("Dropdown"), j = d("Checkbox"), M = d("BulkActions"), G = d("Paginate"), U = O("sticky");
|
|
1078
1078
|
return a(), o("div", null, [
|
|
1079
1079
|
t.showPrimaryControls || t.showSecondaryControls ? (a(), o("div", {
|
|
1080
1080
|
key: 0,
|
|
@@ -1083,16 +1083,16 @@ function Ke(e, l, s, w, i, t) {
|
|
|
1083
1083
|
}, [
|
|
1084
1084
|
t.showPrimaryControls ? (a(), o("div", {
|
|
1085
1085
|
key: 0,
|
|
1086
|
-
class: r(["controls", [e.$style["legacy-box"], { "col-span-12 lg:col-span-6": t.showSecondaryControls }]]),
|
|
1086
|
+
class: r(["controls", [e.$style["legacy-box"], { "tw-col-span-12 lg:tw-col-span-6": t.showSecondaryControls }]]),
|
|
1087
1087
|
"data-test": "filters|controls"
|
|
1088
1088
|
}, [
|
|
1089
|
-
u("div",
|
|
1090
|
-
t.internalSearchSchema.isSearchable ? (a(), h(
|
|
1089
|
+
u("div", je, [
|
|
1090
|
+
t.internalSearchSchema.isSearchable ? (a(), h(I, {
|
|
1091
1091
|
key: 0,
|
|
1092
1092
|
ref: "search-input",
|
|
1093
1093
|
modelValue: i.searchTerm,
|
|
1094
1094
|
"onUpdate:modelValue": l[1] || (l[1] = (S) => i.searchTerm = S),
|
|
1095
|
-
class: r(["col-span-3 md:col-span-4", [e.$style["search-input"], { "lg:col-span-8": t.showSecondaryControls }]]),
|
|
1095
|
+
class: r(["tw-col-span-3 md:tw-col-span-4", [e.$style["search-input"], { "lg:tw-col-span-8": t.showSecondaryControls }]]),
|
|
1096
1096
|
"data-test": "input|search-input",
|
|
1097
1097
|
"hint-text": t.internalSearchSchema.hintText,
|
|
1098
1098
|
label: i.searchText,
|
|
@@ -1109,7 +1109,7 @@ function Ke(e, l, s, w, i, t) {
|
|
|
1109
1109
|
onClick: l[0] || (l[0] = (...S) => t.clearSearchTerm && t.clearSearchTerm(...S))
|
|
1110
1110
|
}, [
|
|
1111
1111
|
p(c, { name: "close" })
|
|
1112
|
-
], 10,
|
|
1112
|
+
], 10, Me)) : n("", !0),
|
|
1113
1113
|
p(g, {
|
|
1114
1114
|
"data-test": "button|search-button",
|
|
1115
1115
|
disabled: t.isLoading,
|
|
@@ -1118,7 +1118,7 @@ function Ke(e, l, s, w, i, t) {
|
|
|
1118
1118
|
}, {
|
|
1119
1119
|
default: m(() => [
|
|
1120
1120
|
p(c, {
|
|
1121
|
-
class: r({ "
|
|
1121
|
+
class: r({ "tw-animate-spin tw-text-teal-500": i.isFiltering }),
|
|
1122
1122
|
name: i.isFiltering ? "working" : "search"
|
|
1123
1123
|
}, null, 8, ["class", "name"])
|
|
1124
1124
|
]),
|
|
@@ -1129,16 +1129,16 @@ function Ke(e, l, s, w, i, t) {
|
|
|
1129
1129
|
}, 8, ["modelValue", "class", "hint-text", "label", "placeholder", "onChange"])) : n("", !0),
|
|
1130
1130
|
s.filterSchema.length ? (a(), o("div", {
|
|
1131
1131
|
key: 1,
|
|
1132
|
-
class: r(["col-span-1 tw-flex tw-items-end", [
|
|
1132
|
+
class: r(["tw-col-span-1 tw-flex tw-items-end", [
|
|
1133
1133
|
e.$style["filter-toggle-btn"],
|
|
1134
1134
|
{ [e.$style["filter-toggle-btn-with-hint-text"]]: !!t.internalSearchSchema.hintText }
|
|
1135
1135
|
]])
|
|
1136
1136
|
}, [
|
|
1137
|
-
p(
|
|
1137
|
+
p(x, { content: t.numberOfFilters }, {
|
|
1138
1138
|
default: m(() => [
|
|
1139
1139
|
p(g, {
|
|
1140
1140
|
secondary: "",
|
|
1141
|
-
class: "
|
|
1141
|
+
class: "tw-relative tw-w-full tw-min-w-auto",
|
|
1142
1142
|
color: "blue",
|
|
1143
1143
|
"data-test": "button|toggle-filters",
|
|
1144
1144
|
disabled: i.isFiltering,
|
|
@@ -1148,7 +1148,10 @@ function Ke(e, l, s, w, i, t) {
|
|
|
1148
1148
|
i.isFiltering ? (a(), h(c, {
|
|
1149
1149
|
key: 0,
|
|
1150
1150
|
name: "working",
|
|
1151
|
-
class: r([
|
|
1151
|
+
class: r([
|
|
1152
|
+
{ "tw-animate-spin": i.isFiltering },
|
|
1153
|
+
i.isShowingFilters ? "tw-text-teal-500" : "tw-text-ice-700"
|
|
1154
|
+
])
|
|
1152
1155
|
}, null, 8, ["class"])) : (a(), h(c, {
|
|
1153
1156
|
key: 1,
|
|
1154
1157
|
name: "filter-line"
|
|
@@ -1165,7 +1168,7 @@ function Ke(e, l, s, w, i, t) {
|
|
|
1165
1168
|
f(e.$slots, "actions")
|
|
1166
1169
|
])
|
|
1167
1170
|
]),
|
|
1168
|
-
p(
|
|
1171
|
+
p(z, {
|
|
1169
1172
|
"data-test": "filters|content",
|
|
1170
1173
|
class: r(e.$style["filters-expand"]),
|
|
1171
1174
|
"is-expanded": i.isShowingFilters
|
|
@@ -1193,7 +1196,7 @@ function Ke(e, l, s, w, i, t) {
|
|
|
1193
1196
|
], 2)) : n("", !0),
|
|
1194
1197
|
t.showSecondaryControls ? (a(), o("div", {
|
|
1195
1198
|
key: 1,
|
|
1196
|
-
class: r(["secondary-controls", [e.$style["legacy-box"], { "col-span-12 lg:col-span-6
|
|
1199
|
+
class: r(["secondary-controls", [e.$style["legacy-box"], { "tw-col-span-12 tw-mt-0 lg:tw-col-span-6": t.showPrimaryControls }]])
|
|
1197
1200
|
}, [
|
|
1198
1201
|
f(e.$slots, "secondary-controls")
|
|
1199
1202
|
], 2)) : n("", !0)
|
|
@@ -1257,7 +1260,7 @@ function Ke(e, l, s, w, i, t) {
|
|
|
1257
1260
|
u("div", {
|
|
1258
1261
|
class: r([e.$style["header-grid-container"], "tw-border-b tw-border-ice-200 tw-px-3"])
|
|
1259
1262
|
}, [
|
|
1260
|
-
s.isSelectable ? (a(), h(
|
|
1263
|
+
s.isSelectable ? (a(), h(j, {
|
|
1261
1264
|
key: 0,
|
|
1262
1265
|
class: r(["tw-ml-3", e.$style["select-all"]]),
|
|
1263
1266
|
checked: t.isSomePageChecked,
|
|
@@ -1270,7 +1273,7 @@ function Ke(e, l, s, w, i, t) {
|
|
|
1270
1273
|
f(e.$slots, "list-header")
|
|
1271
1274
|
], 2)
|
|
1272
1275
|
], 2),
|
|
1273
|
-
s.isSelectable ? (a(), h(
|
|
1276
|
+
s.isSelectable ? (a(), h(M, Z({ key: 0 }, {
|
|
1274
1277
|
allowSelectAll: !s.hideSelectAll && !s.isServerSide,
|
|
1275
1278
|
isAllPageChecked: t.isAllPageChecked,
|
|
1276
1279
|
isSomePageChecked: t.isSomePageChecked,
|
|
@@ -1279,7 +1282,7 @@ function Ke(e, l, s, w, i, t) {
|
|
|
1279
1282
|
hideBulkActionOptions: s.hideBulkActionOptions,
|
|
1280
1283
|
hideNumberOfTotalSelected: s.hideNumberOfTotalSelected
|
|
1281
1284
|
}, {
|
|
1282
|
-
class: !t.isSelectBarVisible && "hidden
|
|
1285
|
+
class: !t.isSelectBarVisible && "lg:tw-hidden",
|
|
1283
1286
|
"onChange:clearSelected": t.clearSelected,
|
|
1284
1287
|
"onChange:selectCurrent": t.onSelectPage,
|
|
1285
1288
|
"onChange:selectAll": t.selectAll
|
|
@@ -1331,7 +1334,7 @@ function Ke(e, l, s, w, i, t) {
|
|
|
1331
1334
|
]);
|
|
1332
1335
|
}
|
|
1333
1336
|
const We = {
|
|
1334
|
-
$style:
|
|
1337
|
+
$style: ze
|
|
1335
1338
|
}, is = /* @__PURE__ */ k(He, [["render", Ke], ["__cssModules", We]]);
|
|
1336
1339
|
export {
|
|
1337
1340
|
we as BulkActions,
|