bt-core-app 2.2.5 → 2.2.6
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/dist/_virtual/VCheckbox.sass.mjs +1 -0
- package/dist/_virtual/VChip.sass.mjs +1 -0
- package/dist/_virtual/VChipGroup.sass.mjs +1 -0
- package/dist/_virtual/VColorPicker.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerCanvas.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerEdit.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerPreview.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerSwatches.sass.mjs +1 -0
- package/dist/_virtual/VCombobox.sass.mjs +1 -0
- package/dist/_virtual/VContainer.sass.mjs +1 -0
- package/dist/_virtual/VCounter.sass.mjs +1 -0
- package/dist/_virtual/VDialog.sass.mjs +1 -0
- package/dist/_virtual/VField.sass.mjs +1 -0
- package/dist/_virtual/VGrid.sass.mjs +1 -0
- package/dist/_virtual/VInput.sass.mjs +1 -0
- package/dist/_virtual/VLabel.sass.mjs +1 -0
- package/dist/_virtual/VMessages.sass.mjs +1 -0
- package/dist/_virtual/VNavigationDrawer.sass.mjs +1 -0
- package/dist/_virtual/VPagination.sass.mjs +1 -0
- package/dist/_virtual/VPicker.sass.mjs +1 -0
- package/dist/_virtual/VRating.sass.mjs +1 -0
- package/dist/_virtual/VSelect.sass.mjs +1 -0
- package/dist/_virtual/VSelectionControl.sass.mjs +1 -0
- package/dist/_virtual/VSelectionControlGroup.sass.mjs +1 -0
- package/dist/_virtual/VSheet.sass.mjs +1 -0
- package/dist/_virtual/VSlideGroup.sass.mjs +1 -0
- package/dist/_virtual/VSlider.sass.mjs +1 -0
- package/dist/_virtual/VSliderThumb.sass.mjs +1 -0
- package/dist/_virtual/VSliderTrack.sass.mjs +1 -0
- package/dist/_virtual/VSpacer.sass.mjs +1 -0
- package/dist/_virtual/VSwitch.sass.mjs +1 -0
- package/dist/_virtual/VTab.sass.mjs +1 -0
- package/dist/_virtual/VTable.sass.mjs +1 -0
- package/dist/_virtual/VTabs.sass.mjs +1 -0
- package/dist/_virtual/VTextField.sass.mjs +1 -0
- package/dist/_virtual/VTextarea.sass.mjs +1 -0
- package/dist/_virtual/VVirtualScroll.sass.mjs +1 -0
- package/dist/_virtual/VWindow.sass.mjs +1 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnToggle/VBtnToggle.mjs +14 -14
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCheckbox/VCheckbox.mjs +74 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCheckbox/VCheckboxBtn.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VChip/VChip.mjs +263 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VChipGroup/VChipGroup.mjs +87 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPicker.mjs +161 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerCanvas.mjs +166 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerEdit.mjs +97 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerPreview.mjs +123 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerSwatches.mjs +72 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/util/index.mjs +193 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCombobox/VCombobox.mjs +501 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCounter/VCounter.mjs +51 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VDialog/VDialog.mjs +103 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VField/VField.mjs +295 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VField/VFieldLabel.mjs +28 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VForm/VForm.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VCol.mjs +98 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VContainer.mjs +41 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VRow.mjs +104 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VSpacer.mjs +6 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VHover/VHover.mjs +41 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VInput/InputIcon.mjs +40 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VInput/VInput.mjs +154 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VLabel/VLabel.mjs +36 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VMessages/VMessages.mjs +55 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +247 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/sticky.mjs +44 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/touch.mjs +100 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VPagination/VPagination.mjs +315 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VRating/VRating.mjs +217 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelect/VSelect.mjs +475 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelect/useScrolling.mjs +57 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelectionControl/VSelectionControl.mjs +183 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +106 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSheet/VSheet.mjs +61 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlideGroup/VSlideGroup.mjs +287 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlideGroup/helpers.mjs +54 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSlider.mjs +159 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSliderThumb.mjs +176 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSliderTrack.mjs +109 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/slider.mjs +242 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSwitch/VSwitch.mjs +172 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTable/VTable.mjs +66 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTab.mjs +126 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabs.mjs +153 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabsWindow.mjs +48 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabsWindowItem.mjs +29 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/shared.mjs +4 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTextField/VTextField.mjs +204 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTextarea/VTextarea.mjs +258 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarItems.mjs +38 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VVirtualScroll/VVirtualScroll.mjs +106 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VVirtualScroll/VVirtualScrollItem.mjs +47 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindow.mjs +211 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindowItem.mjs +93 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs +21 -19
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/autocomplete.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/autofocus.mjs +14 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/display.mjs +21 -12
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/filter.mjs +125 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/focus.mjs +31 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/focusGroups.mjs +54 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/form.mjs +112 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/goto.mjs +86 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/icons.mjs +4 -4
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/layout.mjs +43 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/list-items.mjs +92 -5
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/menuActivator.mjs +24 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/nested.mjs +1 -1
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/refs.mjs +15 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/touch.mjs +73 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/validation.mjs +139 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/virtual.mjs +164 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/touch/index.mjs +89 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/VPicker/VPicker.mjs +77 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/VPicker/VPickerTitle.mjs +5 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/rules/rules.mjs +15 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/color/transformSRGB.mjs +16 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/colorUtils.mjs +133 -50
- package/dist/bt-core/core/node_modules/vuetify/lib/util/easing.mjs +20 -4
- package/dist/bt-core/core/node_modules/vuetify/lib/util/globals.mjs +2 -1
- package/dist/bt-core/core/node_modules/vuetify/lib/util/helpers.mjs +248 -141
- package/dist/components/BT-Assistant-Menu.vue.mjs +226 -211
- package/dist/components/BT-Avatar.vue.mjs +31 -31
- package/dist/components/BT-Background-Task.vue.mjs +30 -28
- package/dist/components/BT-Blade-Item.vue.mjs +111 -102
- package/dist/components/BT-Blade-Items.vue.mjs +2 -2
- package/dist/components/BT-Blade-Items.vue2.mjs +413 -402
- package/dist/components/BT-Blade-Steps.vue.mjs +1 -1
- package/dist/components/BT-Blade-Steps.vue2.mjs +597 -583
- package/dist/components/BT-Blade.vue.mjs +19 -19
- package/dist/components/BT-Btn.vue.mjs +23 -25
- package/dist/components/BT-Camera-Overlay.vue.mjs +72 -68
- package/dist/components/BT-Col.vue.mjs +17 -19
- package/dist/components/BT-Color-Picker-Menu.vue.mjs +51 -49
- package/dist/components/BT-Cosmetics-Menu.vue.mjs +180 -173
- package/dist/components/BT-Cron.vue.mjs +249 -235
- package/dist/components/BT-Date-Select.vue.mjs +46 -47
- package/dist/components/BT-Demo-Profile-Select.vue.mjs +40 -40
- package/dist/components/BT-Dialog-Confirm.vue.mjs +39 -39
- package/dist/components/BT-Dialog-Date.vue.mjs +22 -19
- package/dist/components/BT-Dialog-Number.vue.mjs +125 -121
- package/dist/components/BT-Dialog-Select.vue.mjs +107 -97
- package/dist/components/BT-Divider.vue.mjs +20 -21
- package/dist/components/BT-Drag-Counter.vue.mjs +2 -2
- package/dist/components/BT-Drag-Counter.vue2.mjs +58 -56
- package/dist/components/BT-Entity.vue.mjs +50 -48
- package/dist/components/BT-Error.vue.mjs +16 -15
- package/dist/components/BT-Field-Checkbox.vue.mjs +30 -31
- package/dist/components/BT-Field-Date.vue.mjs +87 -84
- package/dist/components/BT-Field-Entity.vue.mjs +20 -16
- package/dist/components/BT-Field-Select-Simple.vue.mjs +24 -26
- package/dist/components/BT-Field-Select.vue.mjs +32 -34
- package/dist/components/BT-Field-String.vue.mjs +54 -52
- package/dist/components/BT-Field-Switch.vue.mjs +44 -43
- package/dist/components/BT-Field-Tags.vue.mjs +57 -55
- package/dist/components/BT-Field-Textarea.vue.mjs +44 -43
- package/dist/components/BT-Field-Trigger.vue.mjs +276 -270
- package/dist/components/BT-Field.vue.mjs +39 -38
- package/dist/components/BT-Form-Builder.vue.mjs +342 -322
- package/dist/components/BT-Form-Field.vue.mjs +81 -75
- package/dist/components/BT-Form.vue.mjs +263 -253
- package/dist/components/BT-Header-Option.vue.mjs +10 -9
- package/dist/components/BT-Image-Select.vue.mjs +186 -177
- package/dist/components/BT-Json.vue.mjs +29 -30
- package/dist/components/BT-Loader.vue.mjs +32 -31
- package/dist/components/BT-Nav-Sidebar.vue.mjs +130 -124
- package/dist/components/BT-Number.vue.mjs +2 -2
- package/dist/components/BT-Number.vue2.mjs +17 -19
- package/dist/components/BT-Numpad.vue.mjs +71 -66
- package/dist/components/BT-Select-List-Box.vue.mjs +157 -144
- package/dist/components/BT-Select-Simple.vue.mjs +21 -23
- package/dist/components/BT-Select.vue.mjs +36 -37
- package/dist/components/BT-Signature-Overlay.vue.mjs +63 -60
- package/dist/components/BT-Signature.vue.mjs +66 -64
- package/dist/components/BT-Slider.vue.mjs +69 -61
- package/dist/components/BT-Square-Check.vue.mjs +24 -22
- package/dist/components/BT-Status-Item.vue.mjs +18 -16
- package/dist/components/BT-Tags.vue.mjs +21 -22
- package/dist/components/BT-Tour.vue.mjs +69 -65
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,17 +1,28 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { isLengthyArray as
|
|
3
|
-
import { useAuth as
|
|
4
|
-
import { useList as
|
|
5
|
-
import { useNavigation as
|
|
6
|
-
import { useNested as
|
|
7
|
-
import { usePresets as
|
|
8
|
-
import { useRoute as
|
|
9
|
-
import { useHeights as
|
|
10
|
-
import { useDisplay as
|
|
11
|
-
|
|
1
|
+
import { defineComponent as Ce, ref as X, computed as S, watch as Be, onMounted as Ie, resolveComponent as T, openBlock as i, createBlock as d, unref as e, withCtx as o, renderSlot as v, createElementBlock as p, createVNode as r, withKeys as se, withModifiers as f, createCommentVNode as c, normalizeStyle as U, mergeProps as R, Fragment as k, renderList as b, createTextVNode as G, toDisplayString as Z, createElementVNode as K, normalizeClass as F, createSlots as Ae, nextTick as we } from "vue";
|
|
2
|
+
import { isLengthyArray as B, isNullOrEmpty as oe, capitalizeWords as re } from "../composables/helpers.mjs";
|
|
3
|
+
import { useAuth as Ve } from "../composables/auth.mjs";
|
|
4
|
+
import { useList as Ee } from "../composables/list.mjs";
|
|
5
|
+
import { useNavigation as Pe } from "../composables/navigation.mjs";
|
|
6
|
+
import { useNested as Te } from "../composables/nested.mjs";
|
|
7
|
+
import { usePresets as Fe } from "../composables/presets.mjs";
|
|
8
|
+
import { useRoute as Me, useRouter as He } from "vue-router";
|
|
9
|
+
import { useHeights as Ne } from "../composables/heights.mjs";
|
|
10
|
+
import { useDisplay as Ue } from "vuetify";
|
|
11
|
+
import { VTextField as ue } from "../bt-core/core/node_modules/vuetify/lib/components/VTextField/VTextField.mjs";
|
|
12
|
+
import { VListItem as V } from "../bt-core/core/node_modules/vuetify/lib/components/VList/VListItem.mjs";
|
|
13
|
+
import { VRow as de } from "../bt-core/core/node_modules/vuetify/lib/components/VGrid/VRow.mjs";
|
|
14
|
+
import { VDivider as De } from "../bt-core/core/node_modules/vuetify/lib/components/VDivider/VDivider.mjs";
|
|
15
|
+
import { VTable as Le } from "../bt-core/core/node_modules/vuetify/lib/components/VTable/VTable.mjs";
|
|
16
|
+
import { VPagination as Oe } from "../bt-core/core/node_modules/vuetify/lib/components/VPagination/VPagination.mjs";
|
|
17
|
+
import { VBtn as m } from "../bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs";
|
|
18
|
+
import { VMenu as q } from "../bt-core/core/node_modules/vuetify/lib/components/VMenu/VMenu.mjs";
|
|
19
|
+
import { VList as D } from "../bt-core/core/node_modules/vuetify/lib/components/VList/VList.mjs";
|
|
20
|
+
import { VSpacer as ce } from "../bt-core/core/node_modules/vuetify/lib/components/VGrid/VSpacer.mjs";
|
|
21
|
+
import { VIcon as pe } from "../bt-core/core/node_modules/vuetify/lib/components/VIcon/VIcon.mjs";
|
|
22
|
+
const Re = {
|
|
12
23
|
key: 0,
|
|
13
24
|
class: "d-flex"
|
|
14
|
-
},
|
|
25
|
+
}, Ge = {
|
|
15
26
|
key: 0,
|
|
16
27
|
class: "d-flex align-center mr-2"
|
|
17
28
|
}, Ke = { key: "0" }, qe = {
|
|
@@ -23,7 +34,7 @@ const Ge = {
|
|
|
23
34
|
}, Qe = ["onClick"], We = { key: "0" }, je = {
|
|
24
35
|
class: "d-flex",
|
|
25
36
|
key: "a1"
|
|
26
|
-
}, Je = { key: 0 },
|
|
37
|
+
}, Je = { key: 0 }, ft = /* @__PURE__ */ Ce({
|
|
27
38
|
__name: "BT-Blade-Items",
|
|
28
39
|
props: {
|
|
29
40
|
actionButtonSize: { default: "x-small" },
|
|
@@ -154,201 +165,201 @@ const Ge = {
|
|
|
154
165
|
variant: { default: "page" }
|
|
155
166
|
},
|
|
156
167
|
emits: ["update:selected", "change", "deleted", "fetched", "input", "select", "confirm", "mouse-over-item"],
|
|
157
|
-
setup(ve, { emit:
|
|
158
|
-
const
|
|
168
|
+
setup(ve, { emit: ye }) {
|
|
169
|
+
const Y = ye, s = ve, x = X(null), _ = X(null), { getValue: ee } = Te(), { xs: he } = Ue(), L = Me(), P = Fe(s.preset), { findDisplay: me } = Pe(), E = Ve(), te = Ne(), l = Ee(s, Y, {
|
|
159
170
|
hideActions: !0,
|
|
160
|
-
onError: (
|
|
161
|
-
if (
|
|
162
|
-
|
|
171
|
+
onError: (t) => {
|
|
172
|
+
if (t.code == 401)
|
|
173
|
+
E.logout(), E.login(location.pathname);
|
|
163
174
|
else
|
|
164
|
-
return
|
|
175
|
+
return t;
|
|
165
176
|
},
|
|
166
|
-
router:
|
|
167
|
-
route:
|
|
168
|
-
}),
|
|
169
|
-
const
|
|
170
|
-
return
|
|
171
|
-
}), ge =
|
|
172
|
-
var n,
|
|
173
|
-
let
|
|
174
|
-
return s.showCount && (s.paginate == "server" ?
|
|
175
|
-
}),
|
|
176
|
-
let
|
|
177
|
+
router: He(),
|
|
178
|
+
route: L
|
|
179
|
+
}), g = S(() => s.actionButtonSize ?? s.size), fe = S(() => P.canAdd ?? s.canAdd), le = S(() => {
|
|
180
|
+
const t = P.fadingActions ?? s.fadingActions;
|
|
181
|
+
return l.currentExternalParty.value == null && (t ?? !he.value);
|
|
182
|
+
}), ge = S(() => P.hideColumns ?? s.hideColumns), Se = S(() => P.hideFilters ?? s.hideFilters), Q = S(() => (P.hideIntegrations ?? s.hideIntegrations) || l.proxyID.value != null), ke = S(() => P.hideRefresh ?? s.hideRefresh), ne = S(() => !!s.hideSubtoolbar || s.variant == "inline"), $e = S(() => {
|
|
183
|
+
var n, h, $;
|
|
184
|
+
let t = s.label ?? (s.variant == "page" ? (n = L == null ? void 0 : L.meta) == null ? void 0 : n.displayName : void 0) ?? me(s.nav);
|
|
185
|
+
return s.showCount && (s.paginate == "server" ? l.totalCount.value != null && (t = `${t} (${l.totalCount.value})`) : ((h = l.filteredItems.value) == null ? void 0 : h.length) != null && (($ = l.asyncItems.value) == null ? void 0 : $.length) != null && (t = `${t} (${l.filteredItems.value.length} of ${l.asyncItems.value.length})`)), t;
|
|
186
|
+
}), W = S(() => s.variant == "inline" && (s.canSearch || B(s.searchProps))), M = S(() => {
|
|
187
|
+
let t = s.opacity != null ? `opacity: ${s.opacity};` : "";
|
|
177
188
|
if (s.actualHeight != null)
|
|
178
|
-
return `${
|
|
189
|
+
return `${t} ${s.heightStrat == "upto" ? "max-height" : "height"}: calc(${s.actualHeight})`;
|
|
179
190
|
if (s.actualUsedHeight != null)
|
|
180
|
-
return `${
|
|
191
|
+
return `${t} ${s.heightStrat == "upto" ? "max-height" : "height"}: calc(100vh - ${te.getUsedHeight(s.actualUsedHeight)}px)`;
|
|
181
192
|
{
|
|
182
193
|
let n = 154;
|
|
183
|
-
return s.bordered ? n += 26 : s.variant == "page" && (n += 16), s.variant == "pure" && (n -= 96),
|
|
194
|
+
return s.bordered ? n += 26 : s.variant == "page" && (n += 16), s.variant == "pure" && (n -= 96), ne.value && (n -= 48), s.hideToolbar == !0 && (n -= 48), oe(s.paginate) && (n -= 58), `${t} ${s.heightStrat == "upto" ? "max-height" : "height"}: calc(100vh - ${te.getUsedHeight(n)}px)`;
|
|
184
195
|
}
|
|
185
|
-
}),
|
|
196
|
+
}), H = X([]), ae = S({
|
|
186
197
|
get() {
|
|
187
|
-
const
|
|
188
|
-
let n = s.returnCSV ?
|
|
198
|
+
const t = s.selected ?? H.value;
|
|
199
|
+
let n = s.returnCSV ? t.split(",") : t;
|
|
189
200
|
if (s.selectSingle && !Array.isArray(n) && (n = [n]), s.returnIndex && s.returnCSV)
|
|
190
|
-
return n.map((
|
|
191
|
-
let
|
|
192
|
-
return s.itemValue != null &&
|
|
193
|
-
const
|
|
194
|
-
n.some((
|
|
195
|
-
}) : s.itemValue == null &&
|
|
201
|
+
return n.map(($) => Number.parseInt($));
|
|
202
|
+
let h = [];
|
|
203
|
+
return s.itemValue != null && B(n) ? l.filteredItems.value.forEach(($) => {
|
|
204
|
+
const O = ee($, s.itemValue);
|
|
205
|
+
n.some((N) => N == O) && h.push($);
|
|
206
|
+
}) : s.itemValue == null && h.push(...n), s.selectSingle ? B(h) ? [h[0]] : [] : h;
|
|
196
207
|
},
|
|
197
|
-
set(
|
|
198
|
-
if (
|
|
199
|
-
|
|
208
|
+
set(t) {
|
|
209
|
+
if (t == null)
|
|
210
|
+
Y("update:selected", t), H.value = [];
|
|
200
211
|
else {
|
|
201
|
-
let n =
|
|
202
|
-
s.returnIndex ? n =
|
|
212
|
+
let n = t;
|
|
213
|
+
s.returnIndex ? n = t.map((h) => l.filteredItems.value.indexOf(($) => $ === h)) : s.itemValue != null && (n = t.map((h) => ee(h, s.itemValue))), s.selectSingle ? (n = B(n) ? n[0] : void 0, H.value = n != null ? [n] : []) : H.value = n, s.returnCSV && n != null && (n = n.toString()), Y("update:selected", n), H.value = n;
|
|
203
214
|
}
|
|
204
215
|
}
|
|
205
216
|
});
|
|
206
|
-
function
|
|
207
|
-
s.onFocusSearch != null ? s.onFocusSearch() :
|
|
208
|
-
var n,
|
|
209
|
-
let
|
|
210
|
-
|
|
217
|
+
function ie() {
|
|
218
|
+
s.onFocusSearch != null ? s.onFocusSearch() : we(() => {
|
|
219
|
+
var n, h;
|
|
220
|
+
let t;
|
|
221
|
+
W.value ? t = (n = _.value) == null ? void 0 : n.$el.querySelector("input:not([type=hidden]),textarea:not([type=hidden])") : l.showSearch.value && (t = (h = x.value) == null ? void 0 : h.$el.querySelector("input:not([type=hidden]),textarea:not([type=hidden])")), t == null || t.focus();
|
|
211
222
|
});
|
|
212
223
|
}
|
|
213
|
-
function
|
|
214
|
-
(s.canSearch !== !1 ||
|
|
224
|
+
function ze() {
|
|
225
|
+
(s.canSearch !== !1 || B(s.searchProps)) && !l.showSearch.value && l.toggleSearch();
|
|
215
226
|
}
|
|
216
|
-
return
|
|
217
|
-
|
|
218
|
-
}),
|
|
219
|
-
|
|
220
|
-
}), (
|
|
221
|
-
const
|
|
222
|
-
return i(),
|
|
223
|
-
onTitled:
|
|
227
|
+
return Be(l.showSearch, (t) => {
|
|
228
|
+
t && ie();
|
|
229
|
+
}), Ie(() => {
|
|
230
|
+
ie();
|
|
231
|
+
}), (t, n) => {
|
|
232
|
+
const h = T("v-slide-x-transition"), $ = T("v-slide-y-transition"), O = T("v-fade-transition"), N = T("v-slide-y-reverse-transition"), j = T("bt-header-option"), be = T("bt-blade");
|
|
233
|
+
return i(), d(be, {
|
|
234
|
+
onTitled: ze,
|
|
224
235
|
bladeBasic: "",
|
|
225
|
-
bladeName:
|
|
226
|
-
bladeStartShowing:
|
|
227
|
-
bordered:
|
|
228
|
-
density:
|
|
229
|
-
flat:
|
|
230
|
-
errorMsg: l
|
|
231
|
-
hideSubtoolbar:
|
|
232
|
-
hideToolbar:
|
|
233
|
-
label:
|
|
234
|
-
loadingMsg: l
|
|
235
|
-
opacity:
|
|
236
|
-
preset:
|
|
237
|
-
showOnlyTitleLeft:
|
|
238
|
-
size:
|
|
239
|
-
transparent:
|
|
240
|
-
variant:
|
|
236
|
+
bladeName: t.bladeName,
|
|
237
|
+
bladeStartShowing: t.bladeStartShowing,
|
|
238
|
+
bordered: t.bordered,
|
|
239
|
+
density: t.density,
|
|
240
|
+
flat: t.flat,
|
|
241
|
+
errorMsg: e(l).errorMsg.value,
|
|
242
|
+
hideSubtoolbar: ne.value,
|
|
243
|
+
hideToolbar: t.hideToolbar,
|
|
244
|
+
label: $e.value,
|
|
245
|
+
loadingMsg: e(l).loadingMsg.value,
|
|
246
|
+
opacity: t.opacity,
|
|
247
|
+
preset: t.preset,
|
|
248
|
+
showOnlyTitleLeft: W.value && e(l).showSearch.value,
|
|
249
|
+
size: t.size,
|
|
250
|
+
transparent: t.transparent,
|
|
251
|
+
variant: t.variant
|
|
241
252
|
}, {
|
|
242
253
|
"blade-toolbar": o(() => [
|
|
243
|
-
|
|
244
|
-
refresh: l
|
|
245
|
-
searchString: l
|
|
246
|
-
showSearch: l
|
|
247
|
-
toggleSearch: l
|
|
248
|
-
ui: l
|
|
254
|
+
v(t.$slots, "blade-toolbar", {
|
|
255
|
+
refresh: e(l).refresh,
|
|
256
|
+
searchString: e(l).searchString,
|
|
257
|
+
showSearch: e(l).showSearch,
|
|
258
|
+
toggleSearch: e(l).toggleSearch,
|
|
259
|
+
ui: e(l)
|
|
249
260
|
}, void 0, !0)
|
|
250
261
|
]),
|
|
251
262
|
"blade-toolbar-left": o(() => [
|
|
252
|
-
|
|
263
|
+
v(t.$slots, "toolbar-left", { ui: e(l) }, void 0, !0)
|
|
253
264
|
]),
|
|
254
265
|
"blade-title-left": o(() => [
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
icon: l
|
|
259
|
-
size:
|
|
260
|
-
onClick: l
|
|
266
|
+
W.value ? (i(), p("div", Re, [
|
|
267
|
+
v(t.$slots, "search-box", { ui: e(l) }, () => [
|
|
268
|
+
r(e(m), {
|
|
269
|
+
icon: e(l).showSearch.value ? "$close" : "$magnify",
|
|
270
|
+
size: t.size,
|
|
271
|
+
onClick: e(l).toggleSearch,
|
|
261
272
|
variant: "text"
|
|
262
273
|
}, null, 8, ["icon", "size", "onClick"]),
|
|
263
|
-
|
|
274
|
+
r(h, { "hide-on-leave": "" }, {
|
|
264
275
|
default: o(() => [
|
|
265
|
-
l
|
|
276
|
+
e(l).showSearch.value ? (i(), d(e(ue), {
|
|
266
277
|
key: 0,
|
|
267
|
-
"onClick:appendInner": n[0] || (n[0] = () => l
|
|
268
|
-
onKeyup: n[1] || (n[1] =
|
|
278
|
+
"onClick:appendInner": n[0] || (n[0] = () => e(l).refresh({ deepRefresh: !0 })),
|
|
279
|
+
onKeyup: n[1] || (n[1] = se(f(() => {
|
|
269
280
|
console.log("kk");
|
|
270
281
|
}, ["stop"]), ["native", "enter"])),
|
|
271
282
|
"append-inner-icon": "$magnify",
|
|
272
283
|
autofocus: "",
|
|
273
|
-
density:
|
|
284
|
+
density: t.density,
|
|
274
285
|
flat: "",
|
|
275
286
|
"hide-details": "",
|
|
276
287
|
placeholder: "Find",
|
|
277
288
|
ref_key: "inlineSearchEl",
|
|
278
|
-
ref:
|
|
289
|
+
ref: _,
|
|
279
290
|
style: { width: "200px" },
|
|
280
291
|
variant: "solo",
|
|
281
|
-
modelValue: l
|
|
282
|
-
"onUpdate:modelValue": n[2] || (n[2] = (
|
|
283
|
-
}, null, 8, ["density", "modelValue"])) :
|
|
292
|
+
modelValue: e(l).searchString.value,
|
|
293
|
+
"onUpdate:modelValue": n[2] || (n[2] = (u) => e(l).searchString.value = u)
|
|
294
|
+
}, null, 8, ["density", "modelValue"])) : c("", !0)
|
|
284
295
|
]),
|
|
285
296
|
_: 1
|
|
286
297
|
})
|
|
287
298
|
], !0)
|
|
288
|
-
])) :
|
|
299
|
+
])) : c("", !0)
|
|
289
300
|
]),
|
|
290
301
|
"blade-toolbar-right": o(() => [
|
|
291
|
-
|
|
292
|
-
style: U(
|
|
293
|
-
ui: l
|
|
302
|
+
v(t.$slots, "toolbar-right", {
|
|
303
|
+
style: U(M.value),
|
|
304
|
+
ui: e(l)
|
|
294
305
|
}, void 0, !0),
|
|
295
|
-
|
|
306
|
+
ke.value ? c("", !0) : (i(), d(e(m), {
|
|
296
307
|
key: 0,
|
|
297
308
|
icon: "$refresh",
|
|
298
|
-
onClick: n[3] || (n[3] =
|
|
299
|
-
size:
|
|
309
|
+
onClick: n[3] || (n[3] = f((u) => e(l).refresh({ deepRefresh: !0 }), ["stop"])),
|
|
310
|
+
size: t.size,
|
|
300
311
|
title: "Refresh",
|
|
301
312
|
variant: "text"
|
|
302
313
|
}, null, 8, ["size"])),
|
|
303
|
-
|
|
314
|
+
fe.value ? (i(), d(e(m), {
|
|
304
315
|
key: 1,
|
|
305
316
|
icon: "$plus",
|
|
306
|
-
onClick: n[4] || (n[4] =
|
|
307
|
-
size:
|
|
308
|
-
disabled: !
|
|
317
|
+
onClick: n[4] || (n[4] = f((u) => e(l).add(t.variant), ["stop"])),
|
|
318
|
+
size: t.size,
|
|
319
|
+
disabled: !e(E).canEdit(t.nav),
|
|
309
320
|
title: "Add",
|
|
310
321
|
variant: "text"
|
|
311
|
-
}, null, 8, ["size", "disabled"])) :
|
|
322
|
+
}, null, 8, ["size", "disabled"])) : c("", !0)
|
|
312
323
|
]),
|
|
313
324
|
subtoolbar: o(() => [
|
|
314
|
-
|
|
315
|
-
|
|
325
|
+
v(t.$slots, "subtoolbar", {}, () => [
|
|
326
|
+
t.hideSubtoolbarSettings ? c("", !0) : (i(), d(e(q), {
|
|
316
327
|
key: 0,
|
|
317
328
|
"close-on-content-click": !1,
|
|
318
|
-
density:
|
|
329
|
+
density: t.density
|
|
319
330
|
}, {
|
|
320
|
-
activator: o(({ props:
|
|
321
|
-
|
|
331
|
+
activator: o(({ props: u }) => [
|
|
332
|
+
r(e(m), R({
|
|
322
333
|
icon: "$cog",
|
|
323
|
-
size:
|
|
324
|
-
},
|
|
334
|
+
size: t.size
|
|
335
|
+
}, u, { variant: "text" }), null, 16, ["size"])
|
|
325
336
|
]),
|
|
326
337
|
default: o(() => [
|
|
327
|
-
|
|
328
|
-
density:
|
|
338
|
+
r(e(D), {
|
|
339
|
+
density: t.density,
|
|
329
340
|
"min-width": "300"
|
|
330
341
|
}, {
|
|
331
342
|
default: o(() => [
|
|
332
|
-
ge.value ?
|
|
343
|
+
ge.value ? c("", !0) : (i(), d(e(q), {
|
|
333
344
|
key: 0,
|
|
334
345
|
"close-on-content-click": !1,
|
|
335
|
-
density:
|
|
346
|
+
density: t.density,
|
|
336
347
|
location: "end"
|
|
337
348
|
}, {
|
|
338
|
-
activator: o(({ props:
|
|
339
|
-
|
|
349
|
+
activator: o(({ props: u }) => [
|
|
350
|
+
r(e(V), R(u, {
|
|
340
351
|
"prepend-icon": "$view-column",
|
|
341
352
|
subtitle: "Columns"
|
|
342
353
|
}), null, 16)
|
|
343
354
|
]),
|
|
344
355
|
default: o(() => [
|
|
345
|
-
|
|
356
|
+
r(e(D), null, {
|
|
346
357
|
default: o(() => [
|
|
347
|
-
(i(!0), p(
|
|
348
|
-
key:
|
|
349
|
-
"prepend-icon":
|
|
350
|
-
subtitle:
|
|
351
|
-
onClick:
|
|
358
|
+
(i(!0), p(k, null, b(e(l).headerOptions.value, (u, C) => (i(), d(e(V), {
|
|
359
|
+
key: C,
|
|
360
|
+
"prepend-icon": u.hide === !0 ? "mdi" : "$check",
|
|
361
|
+
subtitle: u.title,
|
|
362
|
+
onClick: f((a) => u.hide = !u.hide, ["stop"])
|
|
352
363
|
}, null, 8, ["prepend-icon", "subtitle", "onClick"]))), 128))
|
|
353
364
|
]),
|
|
354
365
|
_: 1
|
|
@@ -356,32 +367,32 @@ const Ge = {
|
|
|
356
367
|
]),
|
|
357
368
|
_: 1
|
|
358
369
|
}, 8, ["density"])),
|
|
359
|
-
|
|
370
|
+
t.archiveBladeName != null ? (i(), d(e(V), {
|
|
360
371
|
key: 1,
|
|
361
|
-
density:
|
|
372
|
+
density: t.density,
|
|
362
373
|
"prepend-icon": "$archive-outline",
|
|
363
374
|
subtitle: "Archives",
|
|
364
|
-
to: { name:
|
|
365
|
-
}, null, 8, ["density", "to"])) :
|
|
366
|
-
|
|
375
|
+
to: { name: t.archiveBladeName }
|
|
376
|
+
}, null, 8, ["density", "to"])) : c("", !0),
|
|
377
|
+
t.canShowInactive ? (i(), d(e(V), {
|
|
367
378
|
key: 2,
|
|
368
|
-
density:
|
|
379
|
+
density: t.density,
|
|
369
380
|
"prepend-icon": "$eraser",
|
|
370
|
-
subtitle: l
|
|
371
|
-
onClick: n[5] || (n[5] =
|
|
372
|
-
}, null, 8, ["density", "subtitle"])) :
|
|
373
|
-
|
|
381
|
+
subtitle: e(l).showInactive.value ? "Hide Inactive" : "Show Inactive",
|
|
382
|
+
onClick: n[5] || (n[5] = f((u) => e(l).showInactive.value = !e(l).showInactive.value, ["stop"]))
|
|
383
|
+
}, null, 8, ["density", "subtitle"])) : c("", !0),
|
|
384
|
+
t.canExportCSV ? (i(), d(e(V), {
|
|
374
385
|
key: 3,
|
|
375
|
-
density:
|
|
386
|
+
density: t.density,
|
|
376
387
|
"prepend-icon": "$file-delimited-outline",
|
|
377
388
|
subtitle: "Export To CSV",
|
|
378
|
-
onClick: l
|
|
379
|
-
}, null, 8, ["density", "onClick"])) :
|
|
380
|
-
|
|
381
|
-
items: l
|
|
382
|
-
allItems: l
|
|
383
|
-
size:
|
|
384
|
-
ui: l
|
|
389
|
+
onClick: e(l).exportToCSV
|
|
390
|
+
}, null, 8, ["density", "onClick"])) : c("", !0),
|
|
391
|
+
v(t.$slots, "settings", {
|
|
392
|
+
items: e(l).filteredItems.value,
|
|
393
|
+
allItems: e(l).asyncItems.value,
|
|
394
|
+
size: t.size,
|
|
395
|
+
ui: e(l)
|
|
385
396
|
}, void 0, !0)
|
|
386
397
|
]),
|
|
387
398
|
_: 3
|
|
@@ -389,79 +400,79 @@ const Ge = {
|
|
|
389
400
|
]),
|
|
390
401
|
_: 3
|
|
391
402
|
}, 8, ["density"])),
|
|
392
|
-
|
|
393
|
-
|
|
403
|
+
v(t.$slots, "search-box", { ui: e(l) }, () => [
|
|
404
|
+
r($, { "hide-on-leave": "" }, {
|
|
394
405
|
default: o(() => [
|
|
395
|
-
(
|
|
406
|
+
(t.canSearch !== !1 || e(B)(t.searchProps)) && !e(l).showSearch.value ? (i(), d(e(m), {
|
|
396
407
|
icon: "$magnify",
|
|
397
408
|
key: "11",
|
|
398
|
-
size:
|
|
399
|
-
onClick:
|
|
400
|
-
}, null, 8, ["size", "onClick"])) : (
|
|
401
|
-
"onClick:appendInner": n[6] || (n[6] = () => l
|
|
402
|
-
"onClick:prependInner": n[7] || (n[7] = () => l
|
|
403
|
-
onKeyup: n[8] || (n[8] =
|
|
409
|
+
size: t.size,
|
|
410
|
+
onClick: f(e(l).toggleSearch, ["stop"])
|
|
411
|
+
}, null, 8, ["size", "onClick"])) : (t.canSearch !== !1 || e(B)(t.searchProps)) && e(l).showSearch.value ? (i(), d(e(ue), {
|
|
412
|
+
"onClick:appendInner": n[6] || (n[6] = () => e(l).refresh({ deepRefresh: !0 })),
|
|
413
|
+
"onClick:prependInner": n[7] || (n[7] = () => e(l).toggleSearch()),
|
|
414
|
+
onKeyup: n[8] || (n[8] = se(f(() => e(l).refresh({ deepRefresh: !0 }), ["stop"]), ["native", "enter"])),
|
|
404
415
|
"append-inner-icon": "$magnify",
|
|
405
416
|
"prepend-inner-icon": "$close",
|
|
406
|
-
density:
|
|
417
|
+
density: t.density,
|
|
407
418
|
flat: "",
|
|
408
419
|
"hide-details": "",
|
|
409
420
|
ref_key: "searchEl",
|
|
410
|
-
ref:
|
|
421
|
+
ref: x,
|
|
411
422
|
key: "12",
|
|
412
423
|
placeholder: "Find",
|
|
413
424
|
variant: "outlined",
|
|
414
|
-
modelValue: l
|
|
415
|
-
"onUpdate:modelValue": n[9] || (n[9] = (
|
|
416
|
-
}, null, 8, ["density", "modelValue"])) :
|
|
425
|
+
modelValue: e(l).searchString.value,
|
|
426
|
+
"onUpdate:modelValue": n[9] || (n[9] = (u) => e(l).searchString.value = u)
|
|
427
|
+
}, null, 8, ["density", "modelValue"])) : c("", !0)
|
|
417
428
|
]),
|
|
418
429
|
_: 1
|
|
419
430
|
})
|
|
420
431
|
], !0),
|
|
421
|
-
|
|
422
|
-
ui: l
|
|
423
|
-
allItems: l
|
|
424
|
-
size:
|
|
432
|
+
v(t.$slots, "actions", {
|
|
433
|
+
ui: e(l),
|
|
434
|
+
allItems: e(l).asyncItems.value,
|
|
435
|
+
size: t.size
|
|
425
436
|
}, void 0, !0),
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
ui: l
|
|
429
|
-
allItems: l
|
|
430
|
-
size:
|
|
437
|
+
r(e(ce)),
|
|
438
|
+
v(t.$slots, "actions-right", {
|
|
439
|
+
ui: e(l),
|
|
440
|
+
allItems: e(l).asyncItems.value,
|
|
441
|
+
size: t.size
|
|
431
442
|
}, void 0, !0),
|
|
432
|
-
!
|
|
443
|
+
!Se.value && e(B)(e(l).filters.value) ? (i(), d(e(q), {
|
|
433
444
|
key: 1,
|
|
434
445
|
"close-on-content-click": !1,
|
|
435
|
-
density:
|
|
446
|
+
density: t.density,
|
|
436
447
|
location: "start"
|
|
437
448
|
}, {
|
|
438
|
-
activator: o(({ props:
|
|
439
|
-
|
|
449
|
+
activator: o(({ props: u }) => [
|
|
450
|
+
r(e(m), R({
|
|
440
451
|
icon: "$filter",
|
|
441
|
-
size:
|
|
442
|
-
},
|
|
452
|
+
size: t.size
|
|
453
|
+
}, u, { variant: "text" }), null, 16, ["size"])
|
|
443
454
|
]),
|
|
444
455
|
default: o(() => [
|
|
445
|
-
|
|
456
|
+
r(e(D), {
|
|
446
457
|
class: "pa-0",
|
|
447
|
-
density:
|
|
458
|
+
density: t.density,
|
|
448
459
|
"open-strategy": "multiple",
|
|
449
460
|
"select-strategy": "classic",
|
|
450
|
-
selected: l
|
|
451
|
-
"onUpdate:selected": n[10] || (n[10] = (
|
|
461
|
+
selected: e(l).selectedFilters.value,
|
|
462
|
+
"onUpdate:selected": n[10] || (n[10] = (u) => e(l).selectedFilters.value = u)
|
|
452
463
|
}, {
|
|
453
464
|
default: o(() => [
|
|
454
|
-
(i(!0), p(
|
|
455
|
-
key:
|
|
456
|
-
subtitle:
|
|
457
|
-
value:
|
|
465
|
+
(i(!0), p(k, null, b(e(l).filters.value, (u, C) => (i(), d(e(V), {
|
|
466
|
+
key: C,
|
|
467
|
+
subtitle: u,
|
|
468
|
+
value: C
|
|
458
469
|
}, {
|
|
459
470
|
prepend: o(({ isActive: a }) => [
|
|
460
|
-
|
|
471
|
+
r(h, null, {
|
|
461
472
|
default: o(() => [
|
|
462
|
-
|
|
473
|
+
r(e(pe), { size: t.size }, {
|
|
463
474
|
default: o(() => [
|
|
464
|
-
G(
|
|
475
|
+
G(Z(a ? "$check" : ""), 1)
|
|
465
476
|
]),
|
|
466
477
|
_: 2
|
|
467
478
|
}, 1032, ["size"])
|
|
@@ -471,18 +482,18 @@ const Ge = {
|
|
|
471
482
|
]),
|
|
472
483
|
_: 2
|
|
473
484
|
}, 1032, ["subtitle", "value"]))), 128)),
|
|
474
|
-
|
|
485
|
+
r(O, { "hide-on-leave": "" }, {
|
|
475
486
|
default: o(() => [
|
|
476
|
-
l
|
|
487
|
+
e(l).filtersChanged.value ? (i(), d(e(m), {
|
|
477
488
|
key: 0,
|
|
478
489
|
block: "",
|
|
479
|
-
onClick:
|
|
480
|
-
size:
|
|
490
|
+
onClick: f(e(l).applyFilters, ["stop"]),
|
|
491
|
+
size: t.size
|
|
481
492
|
}, {
|
|
482
493
|
default: o(() => [
|
|
483
|
-
|
|
494
|
+
r(e(pe), {
|
|
484
495
|
start: "",
|
|
485
|
-
size:
|
|
496
|
+
size: t.size
|
|
486
497
|
}, {
|
|
487
498
|
default: o(() => n[16] || (n[16] = [
|
|
488
499
|
G("$filter")
|
|
@@ -492,7 +503,7 @@ const Ge = {
|
|
|
492
503
|
n[17] || (n[17] = G("Apply "))
|
|
493
504
|
]),
|
|
494
505
|
_: 1
|
|
495
|
-
}, 8, ["onClick", "size"])) :
|
|
506
|
+
}, 8, ["onClick", "size"])) : c("", !0)
|
|
496
507
|
]),
|
|
497
508
|
_: 1
|
|
498
509
|
})
|
|
@@ -501,26 +512,26 @@ const Ge = {
|
|
|
501
512
|
}, 8, ["density", "selected"])
|
|
502
513
|
]),
|
|
503
514
|
_: 1
|
|
504
|
-
}, 8, ["density"])) :
|
|
505
|
-
!
|
|
515
|
+
}, 8, ["density"])) : c("", !0),
|
|
516
|
+
!Q.value && e(B)(e(l).externalParties.value) ? (i(), d(e(q), {
|
|
506
517
|
key: 2,
|
|
507
|
-
density:
|
|
518
|
+
density: t.density,
|
|
508
519
|
location: "bottom"
|
|
509
520
|
}, {
|
|
510
|
-
activator: o(({ props:
|
|
511
|
-
|
|
521
|
+
activator: o(({ props: u }) => [
|
|
522
|
+
r(N, { "hide-on-leave": "" }, {
|
|
512
523
|
default: o(() => [
|
|
513
|
-
l
|
|
514
|
-
|
|
524
|
+
e(l).currentExternalParty.value != null ? (i(), p("div", Ge, [
|
|
525
|
+
r(e(m), {
|
|
515
526
|
icon: "$close",
|
|
516
|
-
onClick: n[11] || (n[11] =
|
|
527
|
+
onClick: n[11] || (n[11] = f((C) => e(l).selectExternalParty(void 0), ["stop"]))
|
|
517
528
|
}),
|
|
518
|
-
|
|
519
|
-
])) : (i(),
|
|
529
|
+
K("span", null, "Sync: " + Z(e(re)(e(l).currentExternalParty.value.party)), 1)
|
|
530
|
+
])) : (i(), d(e(m), R({
|
|
520
531
|
key: 1,
|
|
521
532
|
icon: "$cloud-sync",
|
|
522
|
-
size:
|
|
523
|
-
},
|
|
533
|
+
size: t.size
|
|
534
|
+
}, u, {
|
|
524
535
|
title: "Open sync options",
|
|
525
536
|
variant: "text"
|
|
526
537
|
}), null, 16, ["size"]))
|
|
@@ -529,105 +540,105 @@ const Ge = {
|
|
|
529
540
|
}, 1024)
|
|
530
541
|
]),
|
|
531
542
|
default: o(() => [
|
|
532
|
-
|
|
533
|
-
density:
|
|
543
|
+
r(e(D), {
|
|
544
|
+
density: t.density,
|
|
534
545
|
"min-width": "150"
|
|
535
546
|
}, {
|
|
536
547
|
default: o(() => [
|
|
537
|
-
(i(!0), p(
|
|
538
|
-
onClick:
|
|
539
|
-
key: (
|
|
540
|
-
title:
|
|
548
|
+
(i(!0), p(k, null, b(e(l).externalParties.value, (u, C) => (i(), d(e(V), {
|
|
549
|
+
onClick: f((a) => e(l).selectExternalParty(u), ["stop"]),
|
|
550
|
+
key: (u.party ?? "") + C,
|
|
551
|
+
title: e(re)(u.party)
|
|
541
552
|
}, null, 8, ["onClick", "title"]))), 128))
|
|
542
553
|
]),
|
|
543
554
|
_: 1
|
|
544
555
|
}, 8, ["density"])
|
|
545
556
|
]),
|
|
546
557
|
_: 1
|
|
547
|
-
}, 8, ["density"])) :
|
|
558
|
+
}, 8, ["density"])) : c("", !0)
|
|
548
559
|
], !0)
|
|
549
560
|
]),
|
|
550
|
-
content: o(({ bladeData:
|
|
551
|
-
|
|
552
|
-
items: l
|
|
561
|
+
content: o(({ bladeData: u, isMobile: C }) => [
|
|
562
|
+
v(t.$slots, "d", {
|
|
563
|
+
items: e(l).asyncItems
|
|
553
564
|
}, void 0, !0),
|
|
554
|
-
|
|
555
|
-
bladeData:
|
|
556
|
-
items: l
|
|
557
|
-
allItems: l
|
|
558
|
-
refresh: l
|
|
559
|
-
searchString: l
|
|
560
|
-
showSearch: l
|
|
561
|
-
size:
|
|
562
|
-
style: U(
|
|
563
|
-
toggleSearch: l
|
|
564
|
-
ui: l
|
|
565
|
+
v(t.$slots, "body", {
|
|
566
|
+
bladeData: u,
|
|
567
|
+
items: e(l).filteredItems.value,
|
|
568
|
+
allItems: e(l).asyncItems.value,
|
|
569
|
+
refresh: e(l).refresh,
|
|
570
|
+
searchString: e(l).searchString,
|
|
571
|
+
showSearch: e(l).showSearch,
|
|
572
|
+
size: t.size,
|
|
573
|
+
style: U(M.value),
|
|
574
|
+
toggleSearch: e(l).toggleSearch,
|
|
575
|
+
ui: e(l)
|
|
565
576
|
}, () => [
|
|
566
|
-
|
|
567
|
-
refresh: l
|
|
568
|
-
searchString: l
|
|
569
|
-
showSearch: l
|
|
570
|
-
toggleSearch: l
|
|
571
|
-
size:
|
|
572
|
-
allItems: l
|
|
573
|
-
items: l
|
|
574
|
-
ui: l
|
|
577
|
+
v(t.$slots, "top", {
|
|
578
|
+
refresh: e(l).refresh,
|
|
579
|
+
searchString: e(l).searchString,
|
|
580
|
+
showSearch: e(l).showSearch,
|
|
581
|
+
toggleSearch: e(l).toggleSearch,
|
|
582
|
+
size: t.size,
|
|
583
|
+
allItems: e(l).asyncItems.value,
|
|
584
|
+
items: e(l).filteredItems.value,
|
|
585
|
+
ui: e(l)
|
|
575
586
|
}, void 0, !0),
|
|
576
|
-
|
|
587
|
+
e(B)(e(l).asyncItems.value) ? t.selectSingle || t.selectMulti || t.showListOnly === !0 || C ? (i(), d(e(D), {
|
|
577
588
|
key: 1,
|
|
578
|
-
"active-class":
|
|
579
|
-
class: F(["pt-0",
|
|
580
|
-
"bg-color":
|
|
589
|
+
"active-class": t.activeClass,
|
|
590
|
+
class: F(["pt-0", t.scrollY ? "overflow-y-auto" : ""]),
|
|
591
|
+
"bg-color": t.transparent ? "transparent" : void 0,
|
|
581
592
|
flat: "",
|
|
582
|
-
density:
|
|
583
|
-
lines:
|
|
584
|
-
mandatory: !
|
|
585
|
-
selectable:
|
|
586
|
-
"select-strategy":
|
|
587
|
-
style: U(
|
|
588
|
-
selected:
|
|
589
|
-
"onUpdate:selected": n[13] || (n[13] = (a) =>
|
|
593
|
+
density: t.density,
|
|
594
|
+
lines: t.lines,
|
|
595
|
+
mandatory: !t.canUnselect,
|
|
596
|
+
selectable: t.selectSingle || t.selectMulti,
|
|
597
|
+
"select-strategy": t.selectSingle ? "single-independent" : "independent",
|
|
598
|
+
style: U(M.value),
|
|
599
|
+
selected: ae.value,
|
|
600
|
+
"onUpdate:selected": n[13] || (n[13] = (a) => ae.value = a)
|
|
590
601
|
}, {
|
|
591
602
|
default: o(() => [
|
|
592
|
-
|
|
603
|
+
r(h, {
|
|
593
604
|
group: "",
|
|
594
605
|
"hide-on-leave": ""
|
|
595
606
|
}, {
|
|
596
607
|
default: o(() => [
|
|
597
|
-
(i(!0), p(
|
|
608
|
+
(i(!0), p(k, null, b(e(l).filteredItems.value, (a, I) => (i(), p(k, {
|
|
598
609
|
key: `${a.id}${I}-table-list-item`
|
|
599
610
|
}, [
|
|
600
|
-
|
|
601
|
-
bladeData:
|
|
602
|
-
deleteItem: () => l
|
|
611
|
+
v(t.$slots, "listItem", {
|
|
612
|
+
bladeData: u,
|
|
613
|
+
deleteItem: () => e(l).deleteItem(a),
|
|
603
614
|
item: a,
|
|
604
615
|
index: I,
|
|
605
|
-
size:
|
|
606
|
-
select: () => l
|
|
607
|
-
ui: l
|
|
616
|
+
size: t.size,
|
|
617
|
+
select: () => e(l).selectItem(a, t.variant),
|
|
618
|
+
ui: e(l)
|
|
608
619
|
}, () => [
|
|
609
|
-
|
|
620
|
+
r(e(V), {
|
|
610
621
|
class: "mouse-item",
|
|
611
|
-
density:
|
|
612
|
-
ripple:
|
|
622
|
+
density: t.density,
|
|
623
|
+
ripple: t.ripple,
|
|
613
624
|
value: a,
|
|
614
|
-
onClick: (
|
|
615
|
-
onMouseover: (
|
|
616
|
-
},
|
|
625
|
+
onClick: (y) => e(l).selectItem(a, t.variant),
|
|
626
|
+
onMouseover: (y) => t.$emit("mouse-over-item", a)
|
|
627
|
+
}, Ae({
|
|
617
628
|
title: o(() => [
|
|
618
|
-
|
|
629
|
+
v(t.$slots, "itemTitle", {
|
|
619
630
|
item: a,
|
|
620
631
|
index: I,
|
|
621
|
-
size:
|
|
632
|
+
size: t.size
|
|
622
633
|
}, () => [
|
|
623
|
-
(i(!0), p(
|
|
624
|
-
(i(!0), p(
|
|
625
|
-
key:
|
|
634
|
+
(i(!0), p(k, null, b(e(l).titleOptions.value, (y, A) => (i(), p("span", { key: A }, [
|
|
635
|
+
(i(!0), p(k, null, b(y.values, (z, w) => v(t.$slots, z.value, {
|
|
636
|
+
key: w,
|
|
626
637
|
item: a,
|
|
627
638
|
class: "mr-1"
|
|
628
639
|
}, () => [
|
|
629
|
-
|
|
630
|
-
option:
|
|
640
|
+
r(j, {
|
|
641
|
+
option: z,
|
|
631
642
|
data: a
|
|
632
643
|
}, null, 8, ["option", "data"])
|
|
633
644
|
], !0)), 128))
|
|
@@ -635,19 +646,19 @@ const Ge = {
|
|
|
635
646
|
], !0)
|
|
636
647
|
]),
|
|
637
648
|
subtitle: o(() => [
|
|
638
|
-
|
|
649
|
+
v(t.$slots, "itemSubtitle", {
|
|
639
650
|
item: a,
|
|
640
651
|
index: I,
|
|
641
|
-
size:
|
|
652
|
+
size: t.size
|
|
642
653
|
}, () => [
|
|
643
|
-
(i(!0), p(
|
|
644
|
-
(i(!0), p(
|
|
645
|
-
key:
|
|
654
|
+
(i(!0), p(k, null, b(e(l).subtitleOptions.value, (y, A) => (i(), p("span", { key: A }, [
|
|
655
|
+
(i(!0), p(k, null, b(y.values, (z, w) => v(t.$slots, z.value, {
|
|
656
|
+
key: w,
|
|
646
657
|
item: a,
|
|
647
658
|
class: "mr-1"
|
|
648
659
|
}, () => [
|
|
649
|
-
|
|
650
|
-
option:
|
|
660
|
+
r(j, {
|
|
661
|
+
option: z,
|
|
651
662
|
data: a
|
|
652
663
|
}, null, 8, ["option", "data"])
|
|
653
664
|
], !0)), 128))
|
|
@@ -655,96 +666,96 @@ const Ge = {
|
|
|
655
666
|
], !0)
|
|
656
667
|
]),
|
|
657
668
|
prepend: o(() => [
|
|
658
|
-
|
|
669
|
+
v(t.$slots, "itemPrepend", {
|
|
659
670
|
item: a,
|
|
660
671
|
index: I,
|
|
661
|
-
size:
|
|
672
|
+
size: t.size
|
|
662
673
|
}, void 0, !0)
|
|
663
674
|
]),
|
|
664
675
|
_: 2
|
|
665
676
|
}, [
|
|
666
|
-
|
|
677
|
+
t.hideActions ? void 0 : {
|
|
667
678
|
name: "append",
|
|
668
679
|
fn: o(() => [
|
|
669
|
-
|
|
680
|
+
r(e(de), {
|
|
670
681
|
"no-gutters": "",
|
|
671
|
-
class: F(
|
|
682
|
+
class: F(le.value ? "actionButtons" : null)
|
|
672
683
|
}, {
|
|
673
684
|
default: o(() => [
|
|
674
|
-
|
|
685
|
+
v(t.$slots, "itemActions", {
|
|
675
686
|
item: a,
|
|
676
687
|
index: I,
|
|
677
|
-
items: l
|
|
678
|
-
size:
|
|
688
|
+
items: e(l).asyncItems.value,
|
|
689
|
+
size: g.value
|
|
679
690
|
}, void 0, !0),
|
|
680
|
-
|
|
691
|
+
r(h, {
|
|
681
692
|
group: "",
|
|
682
693
|
"hide-on-leave": ""
|
|
683
694
|
}, {
|
|
684
695
|
default: o(() => [
|
|
685
|
-
!
|
|
686
|
-
|
|
696
|
+
!Q.value && e(l).isIntegratable.value(a) ? (i(), p("div", Ke, [
|
|
697
|
+
r(N, { "hide-on-leave": "" }, {
|
|
687
698
|
default: o(() => {
|
|
688
|
-
var
|
|
699
|
+
var y, A, z, w;
|
|
689
700
|
return [
|
|
690
|
-
l
|
|
691
|
-
|
|
701
|
+
e(l).isIntegrated.value(a) ? (i(), p("div", qe, [
|
|
702
|
+
r(e(m), {
|
|
692
703
|
class: "text-success",
|
|
693
704
|
icon: "$cloud-check",
|
|
694
|
-
size:
|
|
695
|
-
title: `Synced with ${(
|
|
705
|
+
size: g.value,
|
|
706
|
+
title: `Synced with ${(y = e(l).currentExternalParty.value) == null ? void 0 : y.party}`,
|
|
696
707
|
variant: "text"
|
|
697
708
|
}, null, 8, ["size", "title"]),
|
|
698
|
-
(
|
|
709
|
+
(A = e(l).currentExternalParty.value) != null && A.canUnlink ? (i(), d(e(m), {
|
|
699
710
|
key: 0,
|
|
700
|
-
onClick:
|
|
711
|
+
onClick: f((J) => e(l).unlinkFromExternalParty(a), ["stop"]),
|
|
701
712
|
class: "text-error",
|
|
702
713
|
icon: "$cloud-remove",
|
|
703
|
-
size:
|
|
704
|
-
title: `Unlink from ${(
|
|
714
|
+
size: g.value,
|
|
715
|
+
title: `Unlink from ${(z = e(l).currentExternalParty.value) == null ? void 0 : z.party}`,
|
|
705
716
|
variant: "text"
|
|
706
|
-
}, null, 8, ["onClick", "size", "title"])) :
|
|
707
|
-
])) : (i(),
|
|
708
|
-
onClick:
|
|
717
|
+
}, null, 8, ["onClick", "size", "title"])) : c("", !0)
|
|
718
|
+
])) : (i(), d(e(m), {
|
|
719
|
+
onClick: f((J) => e(l).pushToExternalParty(a), ["stop"]),
|
|
709
720
|
icon: "$cloud-upload",
|
|
710
721
|
key: "a2",
|
|
711
|
-
size:
|
|
712
|
-
title: `Send to ${(
|
|
722
|
+
size: g.value,
|
|
723
|
+
title: `Send to ${(w = e(l).currentExternalParty.value) == null ? void 0 : w.party}`,
|
|
713
724
|
variant: "text"
|
|
714
725
|
}, null, 8, ["onClick", "size", "title"]))
|
|
715
726
|
];
|
|
716
727
|
}),
|
|
717
728
|
_: 2
|
|
718
729
|
}, 1024)
|
|
719
|
-
])) :
|
|
720
|
-
a.errorMsg != null ? (i(),
|
|
721
|
-
onClick: n[12] || (n[12] =
|
|
730
|
+
])) : c("", !0),
|
|
731
|
+
a.errorMsg != null ? (i(), d(e(m), {
|
|
732
|
+
onClick: n[12] || (n[12] = f(() => {
|
|
722
733
|
}, ["stop"])),
|
|
723
734
|
class: "text-warning",
|
|
724
735
|
icon: "$alert-circle",
|
|
725
736
|
key: "1",
|
|
726
|
-
size:
|
|
737
|
+
size: g.value,
|
|
727
738
|
title: a.errorMsg
|
|
728
|
-
}, null, 8, ["size", "title"])) :
|
|
729
|
-
|
|
730
|
-
onClick:
|
|
739
|
+
}, null, 8, ["size", "title"])) : c("", !0),
|
|
740
|
+
t.canDelete && e(l).isDeletable.value(a) ? (i(), d(e(m), {
|
|
741
|
+
onClick: f((y) => e(l).deleteItem(a), ["stop"]),
|
|
731
742
|
class: "text-error",
|
|
732
|
-
disabled: !
|
|
743
|
+
disabled: !e(E).canEdit(t.nav),
|
|
733
744
|
icon: "$delete",
|
|
734
745
|
key: "2",
|
|
735
746
|
loading: a.loadingCount > 0,
|
|
736
|
-
size:
|
|
747
|
+
size: g.value,
|
|
737
748
|
variant: "text"
|
|
738
|
-
}, null, 8, ["onClick", "disabled", "loading", "size"])) :
|
|
739
|
-
|
|
740
|
-
onClick:
|
|
741
|
-
disabled: !
|
|
749
|
+
}, null, 8, ["onClick", "disabled", "loading", "size"])) : c("", !0),
|
|
750
|
+
t.canRestore && e(l).isRestorable.value(a) ? (i(), d(e(m), {
|
|
751
|
+
onClick: f((y) => e(l).restoreItem(a), ["stop"]),
|
|
752
|
+
disabled: !e(E).canEdit(t.nav),
|
|
742
753
|
key: "3",
|
|
743
754
|
icon: "$eraser-variant",
|
|
744
755
|
loading: a.loadingCount > 0,
|
|
745
|
-
size:
|
|
756
|
+
size: g.value,
|
|
746
757
|
variant: "text"
|
|
747
|
-
}, null, 8, ["onClick", "disabled", "loading", "size"])) :
|
|
758
|
+
}, null, 8, ["onClick", "disabled", "loading", "size"])) : c("", !0)
|
|
748
759
|
]),
|
|
749
760
|
_: 2
|
|
750
761
|
}, 1024)
|
|
@@ -756,143 +767,143 @@ const Ge = {
|
|
|
756
767
|
}
|
|
757
768
|
]), 1032, ["density", "ripple", "value", "onClick", "onMouseover"])
|
|
758
769
|
], !0),
|
|
759
|
-
|
|
770
|
+
t.dividers ? (i(), d(e(De), {
|
|
760
771
|
key: "d" + I.toString()
|
|
761
|
-
})) :
|
|
772
|
+
})) : c("", !0)
|
|
762
773
|
], 64))), 128))
|
|
763
774
|
]),
|
|
764
775
|
_: 2
|
|
765
776
|
}, 1024),
|
|
766
|
-
|
|
777
|
+
v(t.$slots, "bottomItem", {}, void 0, !0)
|
|
767
778
|
]),
|
|
768
779
|
_: 2
|
|
769
|
-
}, 1032, ["active-class", "class", "bg-color", "density", "lines", "mandatory", "selectable", "select-strategy", "style", "selected"])) :
|
|
780
|
+
}, 1032, ["active-class", "class", "bg-color", "density", "lines", "mandatory", "selectable", "select-strategy", "style", "selected"])) : t.showTableOnly === !0 || !C ? (i(), d(e(Le), {
|
|
770
781
|
key: 2,
|
|
771
782
|
class: "text-body-2 overflow-y-auto",
|
|
772
|
-
density:
|
|
773
|
-
"fixed-header":
|
|
783
|
+
density: t.density,
|
|
784
|
+
"fixed-header": t.fixedHeader,
|
|
774
785
|
hover: "",
|
|
775
|
-
style: U(
|
|
786
|
+
style: U(M.value)
|
|
776
787
|
}, {
|
|
777
788
|
default: o(() => [
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
(i(!0), p(
|
|
789
|
+
K("thead", null, [
|
|
790
|
+
K("tr", null, [
|
|
791
|
+
(i(!0), p(k, null, b(e(l).tableHeaders.value, (a) => (i(), p("th", {
|
|
781
792
|
key: a.value,
|
|
782
793
|
class: F(`d-none d-${a.showSize ?? "sm"}-table-cell ${a.align == "end" ? "text-right" : void 0}`)
|
|
783
794
|
}, [
|
|
784
|
-
|
|
785
|
-
G(
|
|
795
|
+
v(t.$slots, `${a.value}-header`, { options: a }, () => [
|
|
796
|
+
G(Z(a.title), 1)
|
|
786
797
|
], !0)
|
|
787
798
|
], 2))), 128)),
|
|
788
|
-
|
|
799
|
+
t.hideActions ? c("", !0) : (i(), p("th", Ye, " Actions "))
|
|
789
800
|
])
|
|
790
801
|
]),
|
|
791
|
-
|
|
792
|
-
|
|
802
|
+
K("tbody", null, [
|
|
803
|
+
r(h, {
|
|
793
804
|
group: "",
|
|
794
805
|
"hide-on-leave": ""
|
|
795
806
|
}, {
|
|
796
807
|
default: o(() => [
|
|
797
|
-
(i(!0), p(
|
|
808
|
+
(i(!0), p(k, null, b(e(l).filteredItems.value, (a, I) => (i(), p("tr", {
|
|
798
809
|
key: `${a.id}${I}`,
|
|
799
|
-
onClick: (
|
|
810
|
+
onClick: (y) => e(l).selectItem(a, t.variant)
|
|
800
811
|
}, [
|
|
801
|
-
(i(!0), p(
|
|
802
|
-
key: "1" +
|
|
803
|
-
class: F(`d-none d-${
|
|
812
|
+
(i(!0), p(k, null, b(e(l).tableHeaders.value, (y) => (i(), p("td", {
|
|
813
|
+
key: "1" + y.value,
|
|
814
|
+
class: F(`d-none d-${y.showSize ?? "sm"}-table-cell ${y.align == "end" ? "text-right" : void 0}`)
|
|
804
815
|
}, [
|
|
805
|
-
|
|
816
|
+
v(t.$slots, y.value, {
|
|
806
817
|
item: a,
|
|
807
|
-
options:
|
|
818
|
+
options: y
|
|
808
819
|
}, () => [
|
|
809
|
-
|
|
810
|
-
option:
|
|
820
|
+
r(j, {
|
|
821
|
+
option: y,
|
|
811
822
|
data: a
|
|
812
823
|
}, null, 8, ["option", "data"])
|
|
813
824
|
], !0)
|
|
814
825
|
], 2))), 128)),
|
|
815
|
-
|
|
826
|
+
t.hideActions ? c("", !0) : (i(), p("td", {
|
|
816
827
|
key: "itemActions" + a.id,
|
|
817
828
|
class: "text-right"
|
|
818
829
|
}, [
|
|
819
|
-
|
|
830
|
+
r(O, { "hide-on-leave": "" }, {
|
|
820
831
|
default: o(() => [
|
|
821
|
-
|
|
832
|
+
r(e(de), {
|
|
822
833
|
"no-gutters": "",
|
|
823
|
-
class: F([
|
|
834
|
+
class: F([le.value ? "actionButtons" : null, "flex-nowrap"])
|
|
824
835
|
}, {
|
|
825
836
|
default: o(() => [
|
|
826
|
-
|
|
827
|
-
|
|
837
|
+
r(e(ce)),
|
|
838
|
+
v(t.$slots, "itemActions", {
|
|
828
839
|
item: a,
|
|
829
|
-
allItems: l
|
|
830
|
-
items: l
|
|
831
|
-
size:
|
|
832
|
-
density:
|
|
833
|
-
ui: l
|
|
840
|
+
allItems: e(l).asyncItems.value,
|
|
841
|
+
items: e(l).filteredItems.value,
|
|
842
|
+
size: g.value,
|
|
843
|
+
density: t.density,
|
|
844
|
+
ui: e(l)
|
|
834
845
|
}, void 0, !0),
|
|
835
|
-
!
|
|
836
|
-
|
|
846
|
+
!Q.value && e(l).isIntegratable.value(a) ? (i(), p("div", We, [
|
|
847
|
+
r(N, { "hide-on-leave": "" }, {
|
|
837
848
|
default: o(() => {
|
|
838
|
-
var
|
|
849
|
+
var y, A, z, w;
|
|
839
850
|
return [
|
|
840
|
-
l
|
|
841
|
-
|
|
851
|
+
e(l).isIntegrated.value(a) ? (i(), p("div", je, [
|
|
852
|
+
r(e(m), {
|
|
842
853
|
class: "text-success",
|
|
843
854
|
icon: "$cloud-check",
|
|
844
|
-
size:
|
|
845
|
-
title: `Synced with ${(
|
|
855
|
+
size: g.value,
|
|
856
|
+
title: `Synced with ${(y = e(l).currentExternalParty.value) == null ? void 0 : y.party}`,
|
|
846
857
|
variant: "text"
|
|
847
858
|
}, null, 8, ["size", "title"]),
|
|
848
|
-
(
|
|
859
|
+
(A = e(l).currentExternalParty.value) != null && A.canUnlink ? (i(), d(e(m), {
|
|
849
860
|
key: 0,
|
|
850
|
-
onClick:
|
|
861
|
+
onClick: f((J) => e(l).unlinkFromExternalParty(a), ["stop"]),
|
|
851
862
|
class: "text-error",
|
|
852
863
|
icon: "$cloud-remove",
|
|
853
|
-
size:
|
|
854
|
-
title: `Unlink from ${(
|
|
864
|
+
size: g.value,
|
|
865
|
+
title: `Unlink from ${(z = e(l).currentExternalParty.value) == null ? void 0 : z.party}`,
|
|
855
866
|
variant: "text"
|
|
856
|
-
}, null, 8, ["onClick", "size", "title"])) :
|
|
857
|
-
])) : (i(),
|
|
858
|
-
onClick:
|
|
867
|
+
}, null, 8, ["onClick", "size", "title"])) : c("", !0)
|
|
868
|
+
])) : (i(), d(e(m), {
|
|
869
|
+
onClick: f((J) => e(l).pushToExternalParty(a), ["stop"]),
|
|
859
870
|
icon: "$cloud-upload",
|
|
860
871
|
key: "a2",
|
|
861
|
-
size:
|
|
862
|
-
title: `Send to ${(
|
|
872
|
+
size: g.value,
|
|
873
|
+
title: `Send to ${(w = e(l).currentExternalParty.value) == null ? void 0 : w.party}`,
|
|
863
874
|
variant: "text"
|
|
864
875
|
}, null, 8, ["onClick", "size", "title"]))
|
|
865
876
|
];
|
|
866
877
|
}),
|
|
867
878
|
_: 2
|
|
868
879
|
}, 1024)
|
|
869
|
-
])) :
|
|
870
|
-
a.errorMsg != null ? (i(),
|
|
871
|
-
onClick: n[14] || (n[14] =
|
|
880
|
+
])) : c("", !0),
|
|
881
|
+
a.errorMsg != null ? (i(), d(e(m), {
|
|
882
|
+
onClick: n[14] || (n[14] = f(() => {
|
|
872
883
|
}, ["stop"])),
|
|
873
884
|
class: "text-warning",
|
|
874
885
|
icon: "$alert-circle",
|
|
875
886
|
key: "1",
|
|
876
|
-
size:
|
|
887
|
+
size: g.value,
|
|
877
888
|
title: a.errorMsg
|
|
878
|
-
}, null, 8, ["size", "title"])) :
|
|
879
|
-
|
|
880
|
-
onClick:
|
|
889
|
+
}, null, 8, ["size", "title"])) : c("", !0),
|
|
890
|
+
t.canDelete && e(l).isDeletable.value(a) ? (i(), d(e(m), {
|
|
891
|
+
onClick: f((y) => e(l).deleteItem(a), ["stop"]),
|
|
881
892
|
class: "text-error",
|
|
882
|
-
disabled: !
|
|
893
|
+
disabled: !e(E).canEdit(t.nav),
|
|
883
894
|
icon: "$delete",
|
|
884
895
|
key: "2",
|
|
885
|
-
size:
|
|
896
|
+
size: g.value,
|
|
886
897
|
variant: "text"
|
|
887
|
-
}, null, 8, ["onClick", "disabled", "size"])) :
|
|
888
|
-
|
|
889
|
-
onClick:
|
|
890
|
-
disabled: !
|
|
898
|
+
}, null, 8, ["onClick", "disabled", "size"])) : c("", !0),
|
|
899
|
+
t.canRestore && e(l).isRestorable.value(a) ? (i(), d(e(m), {
|
|
900
|
+
onClick: f((y) => e(l).restoreItem(a), ["stop"]),
|
|
901
|
+
disabled: !e(E).canEdit(t.nav),
|
|
891
902
|
key: "3",
|
|
892
903
|
icon: "$eraser-variant",
|
|
893
|
-
size:
|
|
904
|
+
size: g.value,
|
|
894
905
|
variant: "text"
|
|
895
|
-
}, null, 8, ["onClick", "disabled", "size"])) :
|
|
906
|
+
}, null, 8, ["onClick", "disabled", "size"])) : c("", !0)
|
|
896
907
|
]),
|
|
897
908
|
_: 2
|
|
898
909
|
}, 1032, ["class"])
|
|
@@ -907,29 +918,29 @@ const Ge = {
|
|
|
907
918
|
])
|
|
908
919
|
]),
|
|
909
920
|
_: 3
|
|
910
|
-
}, 8, ["density", "fixed-header", "style"])) :
|
|
921
|
+
}, 8, ["density", "fixed-header", "style"])) : c("", !0) : (i(), p("div", {
|
|
911
922
|
key: 0,
|
|
912
|
-
class: F(
|
|
913
|
-
style: U(
|
|
923
|
+
class: F(t.scrollY ? "overflow-y-auto" : ""),
|
|
924
|
+
style: U(M.value)
|
|
914
925
|
}, [
|
|
915
|
-
|
|
916
|
-
ui: l
|
|
917
|
-
bladeData:
|
|
918
|
-
refresh: l
|
|
919
|
-
size:
|
|
926
|
+
v(t.$slots, "notFound", {
|
|
927
|
+
ui: e(l),
|
|
928
|
+
bladeData: u,
|
|
929
|
+
refresh: e(l).refresh,
|
|
930
|
+
size: t.size
|
|
920
931
|
}, void 0, !0)
|
|
921
932
|
], 6)),
|
|
922
|
-
|
|
923
|
-
size:
|
|
924
|
-
allItems: l
|
|
925
|
-
items: l
|
|
933
|
+
v(t.$slots, "bottom", {
|
|
934
|
+
size: t.size,
|
|
935
|
+
allItems: e(l).asyncItems.value,
|
|
936
|
+
items: e(l).filteredItems.value
|
|
926
937
|
}, void 0, !0)
|
|
927
938
|
], !0),
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
modelValue: l
|
|
931
|
-
"onUpdate:modelValue": n[15] || (n[15] = (a) => l
|
|
932
|
-
length: l
|
|
939
|
+
e(oe)(t.paginate) ? c("", !0) : (i(), p("div", Je, [
|
|
940
|
+
r(e(Oe), {
|
|
941
|
+
modelValue: e(l).currentPage.value,
|
|
942
|
+
"onUpdate:modelValue": n[15] || (n[15] = (a) => e(l).currentPage.value = a),
|
|
943
|
+
length: e(l).totalPages.value
|
|
933
944
|
}, null, 8, ["modelValue", "length"])
|
|
934
945
|
]))
|
|
935
946
|
]),
|
|
@@ -939,5 +950,5 @@ const Ge = {
|
|
|
939
950
|
}
|
|
940
951
|
});
|
|
941
952
|
export {
|
|
942
|
-
|
|
953
|
+
ft as default
|
|
943
954
|
};
|