@leaflink/stash 44.0.0-beta.6 → 44.0.0-beta.8
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/Carousel.js +258 -246
- package/dist/Carousel.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 +9 -9
- 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-5fe03d51.js → Expand.vue_vue_type_script_setup_true_lang-1751f4a6.js} +14 -15
- 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 +27 -27
- package/dist/FilterSelect.js.map +1 -1
- 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 +55 -52
- 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/PageNavigation.js +3 -3
- package/dist/PageNavigation.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/QuickAction.js +22 -19
- package/dist/QuickAction.js.map +1 -1
- package/dist/Radio.js +30 -15
- package/dist/Radio.js.map +1 -1
- package/dist/RadioGroup.js +135 -106
- package/dist/RadioGroup.js.map +1 -1
- package/dist/RadioNew.js +118 -91
- package/dist/RadioNew.js.map +1 -1
- package/dist/SearchBar.js +32 -32
- package/dist/SearchBar.js.map +1 -1
- package/dist/Select.js +7 -7
- 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/Tab.js +2 -2
- package/dist/{Tab.vue_vue_type_script_setup_true_lang-4a40f015.js → Tab.vue_vue_type_script_setup_true_lang-69d1b046.js} +2 -2
- package/dist/{Tab.vue_vue_type_script_setup_true_lang-4a40f015.js.map → Tab.vue_vue_type_script_setup_true_lang-69d1b046.js.map} +1 -1
- package/dist/Table.js +6 -6
- package/dist/Table.keys-cf93df19.js +27 -0
- package/dist/{Table.keys-1ebe4ecb.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 +42 -41
- package/dist/TableRow.js.map +1 -1
- package/dist/Tabs.js +2 -2
- package/dist/{Tabs.vue_used_vue_type_style_index_0_lang.module-0af1e1cf.js → Tabs.vue_used_vue_type_style_index_0_lang.module-2a131332.js} +25 -25
- package/dist/Tabs.vue_used_vue_type_style_index_0_lang.module-2a131332.js.map +1 -0
- 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 +16 -6
- package/dist/tailwind-base.js.map +1 -1
- package/package.json +2 -2
- package/styles/backwards-compat.css +41 -104
- package/styles/base.css +258 -112
- package/tailwind-base.ts +6 -1
- 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-5fe03d51.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-1ebe4ecb.js +0 -27
- package/dist/Tabs.vue_used_vue_type_style_index_0_lang.module-0af1e1cf.js.map +0 -1
- 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/Label.vue.d.ts
CHANGED
|
@@ -57,13 +57,24 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
57
57
|
export default _default;
|
|
58
58
|
|
|
59
59
|
export declare interface LabelProps {
|
|
60
|
+
/**
|
|
61
|
+
* The `id` of the input element that this label is associated with.
|
|
62
|
+
*/
|
|
60
63
|
for?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Indicates whether the label should be styled as an error.
|
|
66
|
+
*/
|
|
61
67
|
hasError?: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Indicates whether the input element that this label is associated with is required.
|
|
70
|
+
*/
|
|
62
71
|
isRequired?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Indicates whether the label should show that the input is optional.
|
|
74
|
+
*/
|
|
63
75
|
showOptional?: boolean;
|
|
64
76
|
/**
|
|
65
|
-
* Indicates whether the wrapper element to be rendered
|
|
66
|
-
* should be a label or a legend.
|
|
77
|
+
* Indicates whether the wrapper element to be rendered should be a label or a legend.
|
|
67
78
|
*/
|
|
68
79
|
legend?: boolean;
|
|
69
80
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as r, computed as n, openBlock as t, createBlock as i, resolveDynamicComponent as d, normalizeClass as c, withCtx as f, renderSlot as p, createElementBlock as o, toDisplayString as u, unref as m, createCommentVNode as w } from "vue";
|
|
2
2
|
import { t as h } from "./locale.js";
|
|
3
3
|
const _ = {
|
|
4
4
|
key: 0,
|
|
5
|
-
class: "font-
|
|
5
|
+
class: "tw-font-semibold tw-text-red-500",
|
|
6
6
|
title: "Required",
|
|
7
7
|
"aria-label": "required"
|
|
8
8
|
}, y = {
|
|
9
9
|
key: 1,
|
|
10
10
|
class: "tw-text-ice-700"
|
|
11
|
-
},
|
|
11
|
+
}, x = /* @__PURE__ */ r({
|
|
12
12
|
__name: "Label",
|
|
13
13
|
props: {
|
|
14
14
|
for: { default: void 0 },
|
|
@@ -19,19 +19,20 @@ const _ = {
|
|
|
19
19
|
},
|
|
20
20
|
setup(a) {
|
|
21
21
|
const e = a, l = n(() => e.legend ? "legend" : "label");
|
|
22
|
-
return (
|
|
23
|
-
class: c(["stash-label tw-block tw-truncate tw-text-sm tw-font-medium tw-leading-6 tw-text-ice-900", { "animate-shake": e.hasError }]),
|
|
24
|
-
for: e.for
|
|
22
|
+
return (s, b) => (t(), i(d(l.value), {
|
|
23
|
+
class: c(["stash-label tw-block tw-truncate tw-text-sm tw-font-medium tw-leading-6 tw-text-ice-900", { "tw-animate-shake": e.hasError }]),
|
|
24
|
+
for: e.for,
|
|
25
|
+
"data-test": "stash-label"
|
|
25
26
|
}, {
|
|
26
|
-
default:
|
|
27
|
-
|
|
28
|
-
e.isRequired ? (t(), o("span", _, " * ")) : e.showOptional ? (t(), o("span", y, " (" + u(m(h)("ll.optional")) + ")
|
|
27
|
+
default: f(() => [
|
|
28
|
+
p(s.$slots, "default"),
|
|
29
|
+
e.isRequired ? (t(), o("span", _, " * ")) : e.showOptional ? (t(), o("span", y, " (" + u(m(h)("ll.optional")) + ")", 1)) : w("", !0)
|
|
29
30
|
]),
|
|
30
31
|
_: 3
|
|
31
32
|
}, 8, ["class", "for"]));
|
|
32
33
|
}
|
|
33
34
|
});
|
|
34
35
|
export {
|
|
35
|
-
|
|
36
|
+
x as _
|
|
36
37
|
};
|
|
37
|
-
//# sourceMappingURL=Label.vue_vue_type_script_setup_true_lang-
|
|
38
|
+
//# sourceMappingURL=Label.vue_vue_type_script_setup_true_lang-4b02087f.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Label.vue_vue_type_script_setup_true_lang-4b02087f.js","sources":["../src/components/Label/Label.vue"],"sourcesContent":["<script setup lang=\"ts\">\n import { computed } from 'vue';\n\n import { t } from '../../locale';\n\n export interface LabelProps {\n /**\n * The `id` of the input element that this label is associated with.\n */\n for?: string;\n\n /**\n * Indicates whether the label should be styled as an error.\n */\n hasError?: boolean;\n\n /**\n * Indicates whether the input element that this label is associated with is required.\n */\n isRequired?: boolean;\n\n /**\n * Indicates whether the label should show that the input is optional.\n */\n showOptional?: boolean;\n\n /**\n * Indicates whether the wrapper element to be rendered should be a label or a legend.\n */\n legend?: boolean;\n }\n\n const props = withDefaults(defineProps<LabelProps>(), {\n for: undefined,\n hasError: false,\n isRequired: false,\n showOptional: false,\n legend: false,\n });\n\n const is = computed(() => {\n return props.legend ? 'legend' : 'label';\n });\n</script>\n\n<template>\n <component\n :is=\"is\"\n class=\"stash-label tw-block tw-truncate tw-text-sm tw-font-medium tw-leading-6 tw-text-ice-900\"\n :class=\"{ 'tw-animate-shake': props.hasError }\"\n :for=\"props.for\"\n data-test=\"stash-label\"\n >\n <!-- @slot The label text -->\n <slot></slot>\n <span v-if=\"props.isRequired\" class=\"tw-font-semibold tw-text-red-500\" title=\"Required\" aria-label=\"required\">\n *\n </span>\n <span v-else-if=\"props.showOptional\" class=\"tw-text-ice-700\"> ({{ t('ll.optional') }})</span>\n </component>\n</template>\n"],"names":["is","computed","props"],"mappings":";;;;;;;;;;;;;;;;;;;;iBAwCQA,IAAKC,EAAS,MACXC,EAAM,SAAS,WAAW,OAClC;;;;;;;;;;;;;;"}
|
package/dist/ListItem.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import a from "./Checkbox.js";
|
|
2
|
-
import { resolveComponent as n, openBlock as l, createElementBlock as i, normalizeClass as
|
|
2
|
+
import { resolveComponent as n, openBlock as l, createElementBlock as i, normalizeClass as c, createBlock as d, createCommentVNode as m, renderSlot as b } from "vue";
|
|
3
3
|
import { _ as r } from "./_plugin-vue_export-helper-dad06003.js";
|
|
4
4
|
import "@leaflink/snitch";
|
|
5
5
|
import "lodash-es/uniqueId";
|
|
6
|
-
import "./Checkbox.
|
|
7
|
-
const
|
|
8
|
-
item:
|
|
9
|
-
"is-selectable": "_is-
|
|
10
|
-
"not-actionable": "_not-
|
|
11
|
-
checkbox:
|
|
6
|
+
import "./Checkbox.vue_used_vue_type_style_index_0_lang.module-fa8d9c06.js";
|
|
7
|
+
const f = "_item_1v8cf_2", _ = "_checkbox_1v8cf_56", h = {
|
|
8
|
+
item: f,
|
|
9
|
+
"is-selectable": "_is-selectable_1v8cf_41",
|
|
10
|
+
"not-actionable": "_not-actionable_1v8cf_46",
|
|
11
|
+
checkbox: _
|
|
12
12
|
}, k = {
|
|
13
13
|
name: "ll-list-item",
|
|
14
14
|
components: {
|
|
@@ -71,15 +71,15 @@ const _ = "_item_1ivse_2", f = "_checkbox_1ivse_56", h = {
|
|
|
71
71
|
}
|
|
72
72
|
};
|
|
73
73
|
function u(e, y, t, B, x, o) {
|
|
74
|
-
const
|
|
74
|
+
const s = n("ll-checkbox");
|
|
75
75
|
return l(), i("li", {
|
|
76
|
-
class:
|
|
76
|
+
class: c(["shadow-low", [e.$style.item, { [e.$style["is-selectable"]]: t.isSelectable, [e.$style["not-actionable"]]: t.notActionable }]])
|
|
77
77
|
}, [
|
|
78
|
-
t.isSelectable ? (l(), d(
|
|
78
|
+
t.isSelectable ? (l(), d(s, {
|
|
79
79
|
key: 0,
|
|
80
80
|
"data-test": "checkbox|select-item",
|
|
81
81
|
checked: t.selected,
|
|
82
|
-
class:
|
|
82
|
+
class: c(e.$style.checkbox),
|
|
83
83
|
disabled: t.disabled || null,
|
|
84
84
|
indeterminate: t.isIndeterminate,
|
|
85
85
|
"onUpdate:checked": o.onSelect
|
package/dist/ListItem.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItem.js","sources":["../src/components/ListItem/ListItem.vue"],"sourcesContent":["<script>\n import Checkbox from '../Checkbox/Checkbox.vue';\n\n export default {\n name: 'll-list-item',\n\n components: {\n 'll-checkbox': Checkbox,\n },\n\n props: {\n /**\n * The item to be selected\n */\n item: {\n type: Object,\n default: () => ({}),\n },\n\n /**\n * Whether this row can be selected.\n */\n isSelectable: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Whether this row's checkbox should be indeterminite\n */\n isIndeterminate: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Whether this row has an actions column or not. By default list items will\n * be styled to include actions. Use `not-actionable` to restyle a row that\n * has no actions.\n */\n notActionable: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Whether this row is selected.\n */\n selected: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Disables the checkbox\n */\n disabled: {\n type: Boolean,\n default: false,\n },\n },\n\n emits: ['select'],\n\n methods: {\n /**\n * @param {boolean} value emit change event when item is selected\n */\n onSelect(value) {\n this.$emit('select', { item: this.item, value });\n },\n },\n };\n</script>\n\n<template>\n <li\n class=\"shadow-low\"\n :class=\"[$style.item, { [$style['is-selectable']]: isSelectable, [$style['not-actionable']]: notActionable }]\"\n >\n <ll-checkbox\n v-if=\"isSelectable\"\n data-test=\"checkbox|select-item\"\n :checked=\"selected\"\n :class=\"$style.checkbox\"\n :disabled=\"disabled || null\"\n :indeterminate=\"isIndeterminate\"\n @update:checked=\"onSelect\"\n />\n <slot></slot>\n </li>\n</template>\n\n<style module>\n .item {\n background: var(--color-white);\n border-radius:
|
|
1
|
+
{"version":3,"file":"ListItem.js","sources":["../src/components/ListItem/ListItem.vue"],"sourcesContent":["<script>\n import Checkbox from '../Checkbox/Checkbox.vue';\n\n export default {\n name: 'll-list-item',\n\n components: {\n 'll-checkbox': Checkbox,\n },\n\n props: {\n /**\n * The item to be selected\n */\n item: {\n type: Object,\n default: () => ({}),\n },\n\n /**\n * Whether this row can be selected.\n */\n isSelectable: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Whether this row's checkbox should be indeterminite\n */\n isIndeterminate: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Whether this row has an actions column or not. By default list items will\n * be styled to include actions. Use `not-actionable` to restyle a row that\n * has no actions.\n */\n notActionable: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Whether this row is selected.\n */\n selected: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Disables the checkbox\n */\n disabled: {\n type: Boolean,\n default: false,\n },\n },\n\n emits: ['select'],\n\n methods: {\n /**\n * @param {boolean} value emit change event when item is selected\n */\n onSelect(value) {\n this.$emit('select', { item: this.item, value });\n },\n },\n };\n</script>\n\n<template>\n <li\n class=\"shadow-low\"\n :class=\"[$style.item, { [$style['is-selectable']]: isSelectable, [$style['not-actionable']]: notActionable }]\"\n >\n <ll-checkbox\n v-if=\"isSelectable\"\n data-test=\"checkbox|select-item\"\n :checked=\"selected\"\n :class=\"$style.checkbox\"\n :disabled=\"disabled || null\"\n :indeterminate=\"isIndeterminate\"\n @update:checked=\"onSelect\"\n />\n <slot></slot>\n </li>\n</template>\n\n<style module>\n .item {\n background: var(--color-white);\n border-radius: theme('borderRadius.DEFAULT');\n column-gap: var(--grid-gutter);\n display: grid;\n grid-template-columns: repeat(4, 1fr);\n margin-bottom: theme('spacing.6');\n padding: theme('spacing.3');\n padding-top: theme('spacing.12');\n position: relative;\n row-gap: var(--grid-gutter);\n }\n\n @media screen('md') {\n .item {\n grid-template-columns: repeat(8, 1fr);\n }\n }\n\n @media screen('lg') {\n .item {\n align-items: center;\n border-bottom: 1px solid var(--color-ice-200);\n border-radius: 0;\n box-shadow: none;\n grid-template-columns: repeat(12, 1fr);\n margin-bottom: 0;\n padding: theme('spacing.6');\n row-gap: 0;\n }\n\n .item:last-child {\n border: 0;\n border-bottom-left-radius: theme('borderRadius.DEFAULT');\n border-bottom-right-radius: theme('borderRadius.DEFAULT');\n }\n }\n\n @media screen('lg') {\n .is-selectable {\n grid-template-columns: theme('spacing[1.5]') repeat(12, 1fr);\n }\n }\n\n .not-actionable {\n padding-top: theme('spacing.3');\n }\n\n @media screen('lg') {\n .not-actionable {\n padding-top: theme('spacing.6');\n }\n }\n\n .checkbox {\n left: theme('spacing.3');\n position: absolute !important;\n top: 0;\n }\n\n @media screen('lg') {\n .checkbox {\n left: 0;\n position: relative !important;\n }\n\n .checkbox label {\n padding: 10px;\n }\n\n .checkbox label::before,\n .checkbox input:checked + label::after {\n top: 0;\n }\n }\n</style>\n"],"names":["_sfc_main","Checkbox","value","_createElementBlock","_normalizeClass","_ctx","$props","_createBlock","_component_ll_checkbox","$options","_renderSlot"],"mappings":";;;;;;;;;;;GAGOA,IAAU;AAAA,EACb,MAAM;AAAA,EAEN,YAAY;AAAA,IACV,eAAeC;AAAA,EAChB;AAAA,EAED,OAAO;AAAA;AAAA;AAAA;AAAA,IAIL,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,SAAS,OAAO,CAAA;AAAA,IACjB;AAAA;AAAA;AAAA;AAAA,IAKD,cAAc;AAAA,MACZ,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA;AAAA;AAAA;AAAA,IAKD,iBAAiB;AAAA,MACf,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOD,eAAe;AAAA,MACb,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA;AAAA;AAAA;AAAA,IAKD,UAAU;AAAA,MACR,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA;AAAA;AAAA;AAAA,IAKD,UAAU;AAAA,MACR,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA,EACF;AAAA,EAED,OAAO,CAAC,QAAQ;AAAA,EAEhB,SAAS;AAAA;AAAA;AAAA;AAAA,IAIP,SAASC,GAAO;AACd,WAAK,MAAM,UAAU,EAAE,MAAM,KAAK,MAAM,OAAAA,EAAI,CAAG;AAAA,IAChD;AAAA,EACF;;;;cAKHC,EAcK,MAAA;AAAA,IAbH,OAAMC,EAAA,CAAA,cACG,CAAAC,EAAA,OAAO,MAAS,EAAA,CAAAA,EAAA,OAA0B,eAAA,CAAA,GAAAC,EAAA,cAAe,CAAAD,EAAA,2BAA2BC,EAAa,cAAA,CAAA,CAAA,CAAA;AAAA;IAGlGA,EAAY,qBADpBC,EAQEC,GAAA;AAAA;MANA,aAAU;AAAA,MACT,SAASF,EAAQ;AAAA,MACjB,OAAKF,EAAEC,EAAM,OAAC,QAAQ;AAAA,MACtB,UAAUC,EAAQ,YAAA;AAAA,MAClB,eAAeA,EAAe;AAAA,MAC9B,oBAAgBG,EAAQ;AAAA;IAE3BC,EAAaL,EAAA,QAAA,SAAA;AAAA;;;;;"}
|
package/dist/ListItemCell.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { openBlock as
|
|
1
|
+
import { openBlock as s, createElementBlock as t, normalizeClass as l, renderSlot as c } from "vue";
|
|
2
2
|
import { _ as n } from "./_plugin-vue_export-helper-dad06003.js";
|
|
3
|
-
const
|
|
4
|
-
cell:
|
|
5
|
-
action:
|
|
3
|
+
const a = "_cell_3gkxo_2", i = "_action_3gkxo_21", r = {
|
|
4
|
+
cell: a,
|
|
5
|
+
action: i
|
|
6
6
|
}, _ = {
|
|
7
7
|
name: "ll-list-item-cell",
|
|
8
8
|
props: {
|
|
@@ -12,17 +12,17 @@ const i = "_cell_1izqq_176", a = "_action_1izqq_194", r = {
|
|
|
12
12
|
isAction: Boolean
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
|
-
function m(e, p,
|
|
16
|
-
return
|
|
17
|
-
class: o
|
|
15
|
+
function m(e, p, o, f, u, $) {
|
|
16
|
+
return s(), t("div", {
|
|
17
|
+
class: l(o.isAction ? e.$style.action : e.$style.cell)
|
|
18
18
|
}, [
|
|
19
19
|
c(e.$slots, "default")
|
|
20
20
|
], 2);
|
|
21
21
|
}
|
|
22
22
|
const d = {
|
|
23
23
|
$style: r
|
|
24
|
-
},
|
|
24
|
+
}, B = /* @__PURE__ */ n(_, [["render", m], ["__cssModules", d]]);
|
|
25
25
|
export {
|
|
26
|
-
|
|
26
|
+
B as default
|
|
27
27
|
};
|
|
28
28
|
//# sourceMappingURL=ListItemCell.js.map
|
package/dist/ListItemCell.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItemCell.js","sources":["../src/components/ListItemCell/ListItemCell.vue"],"sourcesContent":["<script>\n export default {\n name: 'll-list-item-cell',\n\n props: {\n /**\n * Is this cell for the Action column\n */\n isAction: Boolean,\n },\n };\n</script>\n\n<template>\n <div :class=\"isAction ? $style.action : $style.cell\">\n <slot></slot>\n </div>\n</template>\n\n<style
|
|
1
|
+
{"version":3,"file":"ListItemCell.js","sources":["../src/components/ListItemCell/ListItemCell.vue"],"sourcesContent":["<script>\n export default {\n name: 'll-list-item-cell',\n\n props: {\n /**\n * Is this cell for the Action column\n */\n isAction: Boolean,\n },\n };\n</script>\n\n<template>\n <div :class=\"isAction ? $style.action : $style.cell\">\n <slot></slot>\n </div>\n</template>\n\n<style module>\n .cell {\n background-color: var(--color-ice-100);\n border-radius: theme('borderRadius.DEFAULT');\n padding: theme('spacing[1.5]');\n\n :global(.stash-label) {\n font-size: theme('fontSize.xs');\n }\n\n @media screen('lg') {\n background: none;\n padding: 0;\n\n :global(.stash-label) {\n display: none !important;\n }\n }\n }\n\n .action {\n position: absolute;\n right: 0;\n top: 0;\n\n @media screen('lg') {\n position: initial;\n }\n }\n</style>\n"],"names":["_sfc_main","_createElementBlock","_normalizeClass","$props","_ctx","_renderSlot"],"mappings":";;;;;GACOA,IAAU;AAAA,EACb,MAAM;AAAA,EAEN,OAAO;AAAA;AAAA;AAAA;AAAA,IAIL,UAAU;AAAA,EACX;;;cAKHC,EAEM,OAAA;AAAA,IAFA,OAAKC,EAAEC,aAAWC,EAAA,OAAO,SAASA,EAAM,OAAC,IAAI;AAAA;IACjDC,EAAaD,EAAA,QAAA,SAAA;AAAA;;;;;"}
|
package/dist/ListView.js
CHANGED
|
@@ -10,7 +10,7 @@ import le from "./Badge.js";
|
|
|
10
10
|
import v from "./Button.js";
|
|
11
11
|
import R from "./Checkbox.js";
|
|
12
12
|
import ie from "./Dropdown.js";
|
|
13
|
-
import { _ as N } from "./Expand.vue_vue_type_script_setup_true_lang-
|
|
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,11 +57,11 @@ 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 = {
|
|
@@ -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: {
|
|
@@ -241,13 +241,13 @@ function ke(e, l, s, w, i, t) {
|
|
|
241
241
|
const Ce = {
|
|
242
242
|
$style: _e
|
|
243
243
|
}, Te = /* @__PURE__ */ k(be, [["render", ke], ["__cssModules", Ce]]), Ie = {
|
|
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-
|
|
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
251
|
}, xe = {
|
|
252
252
|
name: "list-group",
|
|
253
253
|
components: {
|
|
@@ -475,25 +475,25 @@ function Le(e, l, s, w, i, t) {
|
|
|
475
475
|
}
|
|
476
476
|
const Ve = {
|
|
477
477
|
$style: Oe
|
|
478
|
-
}, ls = /* @__PURE__ */ k(Ee, [["render", Le], ["__cssModules", Ve]]), De = "
|
|
479
|
-
"list-items": "_list-
|
|
480
|
-
"legacy-box": "_legacy-
|
|
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
481
|
header: De,
|
|
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-
|
|
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
492
|
separator: Re,
|
|
493
|
-
"filters-half-width": "_filters-half-
|
|
493
|
+
"filters-half-width": "_filters-half-width_c8ut0_191",
|
|
494
494
|
dropdown: Ne,
|
|
495
|
-
"sort-option": "_sort-
|
|
496
|
-
"select-all": "_select-
|
|
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",
|
|
@@ -1069,12 +1069,12 @@ const Ve = {
|
|
|
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"), I = d("Input"), x = d("Badge"), C = d("Filters"), z = d("Expand"), H = d("Dropdown"),
|
|
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",
|
|
1089
|
+
u("div", je, [
|
|
1090
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,7 +1129,7 @@ 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
|
]])
|
|
@@ -1138,7 +1138,7 @@ function Ke(e, l, s, w, i, t) {
|
|
|
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"
|
|
@@ -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
|