@turquoisehealth/pit-viper 2.55.0-alpha.5 → 2.55.1
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/package.json +1 -1
- package/pv-components/dist/vue/base/pv-components-base.js +1 -1
- package/pv-components/dist/vue/base/pv-components-base.mjs +13 -12
- package/pv-components/dist/vue/base/pv-components-base.umd.js +1 -1
- package/pv-components/dist/vue/charts/pv-components-charts.js +2 -2
- package/pv-components/dist/vue/charts/pv-components-charts.mjs +28 -26
- package/pv-components/dist/vue/charts/pv-components-charts.umd.js +2 -2
- package/pv-components/dist/vue/tables/pv-components-tables.js +13 -13
- package/pv-components/dist/vue/tables/pv-components-tables.mjs +175 -173
- package/pv-components/dist/vue/tables/pv-components-tables.umd.js +13 -13
- package/pv-components/dist/web/pv-components.iife.js +22 -22
- package/pv-components/dist/stats-vue_base.html +0 -4949
- package/pv-components/dist/stats-vue_charts.html +0 -4949
- package/pv-components/dist/stats-vue_tables.html +0 -4949
- package/pv-components/dist/stats-web.html +0 -4949
- package/pv-components/dist/types/base/PvAccordion/PvAccordion.vue.d.ts +0 -22
- package/pv-components/dist/types/base/PvAccordion/types.d.ts +0 -5
- package/pv-components/dist/types/base/PvBanner/PvBanner.vue.d.ts +0 -22
- package/pv-components/dist/types/base/PvBanner/types.d.ts +0 -11
- package/pv-components/dist/types/base/PvBreadcrumbs/PvBreadcrumbs.vue.d.ts +0 -6
- package/pv-components/dist/types/base/PvBreadcrumbs/types.d.ts +0 -4
- package/pv-components/dist/types/base/PvButton/PvButton.vue.d.ts +0 -24
- package/pv-components/dist/types/base/PvButton/types.d.ts +0 -3
- package/pv-components/dist/types/base/PvCard/PvCard.example.vue.d.ts +0 -2
- package/pv-components/dist/types/base/PvCard/PvCard.vue.d.ts +0 -15
- package/pv-components/dist/types/base/PvCompanyLogo/PvCompanyLogo.example.vue.d.ts +0 -2
- package/pv-components/dist/types/base/PvCompanyLogo/PvCompanyLogo.vue.d.ts +0 -15
- package/pv-components/dist/types/base/PvCompanyTag/PvCompanyTag.example.vue.d.ts +0 -2
- package/pv-components/dist/types/base/PvCompanyTag/PvCompanyTag.vue.d.ts +0 -26
- package/pv-components/dist/types/base/PvCounterBadge/PvCounterBadge.vue.d.ts +0 -15
- package/pv-components/dist/types/base/PvCounterBadge/types.d.ts +0 -3
- package/pv-components/dist/types/base/PvDatePicker/PvDatePicker.example.vue.d.ts +0 -2
- package/pv-components/dist/types/base/PvDatePicker/PvDatePicker.vue.d.ts +0 -114
- package/pv-components/dist/types/base/PvDateTime/PvDateTime.example.vue.d.ts +0 -2
- package/pv-components/dist/types/base/PvDateTime/PvDateTime.vue.d.ts +0 -13
- package/pv-components/dist/types/base/PvDateTime/useDateTime.d.ts +0 -9
- package/pv-components/dist/types/base/PvDrawer/PvDrawer.example.vue.d.ts +0 -2
- package/pv-components/dist/types/base/PvDrawer/PvDrawer.vue.d.ts +0 -31
- package/pv-components/dist/types/base/PvDropdown/PvDropdown.example.vue.d.ts +0 -2
- package/pv-components/dist/types/base/PvDropdown/PvDropdown.vue.d.ts +0 -42
- package/pv-components/dist/types/base/PvDropdown/useDropdownMenuPosition.d.ts +0 -59
- package/pv-components/dist/types/base/PvIcon/PvIcon.example.vue.d.ts +0 -2
- package/pv-components/dist/types/base/PvIcon/PvIcon.vue.d.ts +0 -10
- package/pv-components/dist/types/base/PvModal/PvModal.vue.d.ts +0 -26
- package/pv-components/dist/types/base/PvMultiSelect/PvMultiSelect.example.vue.d.ts +0 -2
- package/pv-components/dist/types/base/PvMultiSelect/PvMultiSelect.vue.d.ts +0 -12
- package/pv-components/dist/types/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +0 -54
- package/pv-components/dist/types/base/PvMultiSelectButton/PvMultiSelectButtonTrigger.vue.d.ts +0 -28
- package/pv-components/dist/types/base/PvMultiSelectButton/PvSelectMenu.vue.d.ts +0 -30
- package/pv-components/dist/types/base/PvMultiSelectButton/PvSelectMenuControlPanel.vue.d.ts +0 -8
- package/pv-components/dist/types/base/PvMultiSelectButton/items/PvMenuCheckboxItem.vue.d.ts +0 -11
- package/pv-components/dist/types/base/PvMultiSelectButton/items/PvMenuItem.vue.d.ts +0 -12
- package/pv-components/dist/types/base/PvMultiSelectButton/items/PvMenuRadioItem.vue.d.ts +0 -11
- package/pv-components/dist/types/base/PvMultiSelectButton/mocks.d.ts +0 -13
- package/pv-components/dist/types/base/PvMultiSelectButton/types.d.ts +0 -17
- package/pv-components/dist/types/base/PvPill/PvPill.vue.d.ts +0 -30
- package/pv-components/dist/types/base/PvPill/types.d.ts +0 -3
- package/pv-components/dist/types/base/PvPopover/PvPopover.vue.d.ts +0 -29
- package/pv-components/dist/types/base/PvReleaseBadge/PvReleaseBadge.example.vue.d.ts +0 -2
- package/pv-components/dist/types/base/PvReleaseBadge/PvReleaseBadge.vue.d.ts +0 -5
- package/pv-components/dist/types/base/PvSearchInput/PvSearchInput.vue.d.ts +0 -18
- package/pv-components/dist/types/base/PvSegmentedControl/PvSegmentedControl.example.vue.d.ts +0 -2
- package/pv-components/dist/types/base/PvSegmentedControl/PvSegmentedControl.vue.d.ts +0 -19
- package/pv-components/dist/types/base/PvSelect/PvSelect.example.vue.d.ts +0 -2
- package/pv-components/dist/types/base/PvSelect/PvSelect.vue.d.ts +0 -22
- package/pv-components/dist/types/base/PvSuggestionTag/PvSuggestionTag.example.vue.d.ts +0 -2
- package/pv-components/dist/types/base/PvSuggestionTag/PvSuggestionTag.vue.d.ts +0 -28
- package/pv-components/dist/types/base/PvTabList/PvTabList.vue.d.ts +0 -11
- package/pv-components/dist/types/base/PvTabs/PvTabs.example.vue.d.ts +0 -2
- package/pv-components/dist/types/base/PvTabs/PvTabs.vue.d.ts +0 -17
- package/pv-components/dist/types/base/PvTabs/types.d.ts +0 -7
- package/pv-components/dist/types/base/PvTag/PvTag.example.vue.d.ts +0 -2
- package/pv-components/dist/types/base/PvTag/PvTag.vue.d.ts +0 -40
- package/pv-components/dist/types/base/PvTag/types.d.ts +0 -3
- package/pv-components/dist/types/base/PvToggle/PvToggle.vue.d.ts +0 -35
- package/pv-components/dist/types/base/PvTooltip/PvTooltip.vue.d.ts +0 -24
- package/pv-components/dist/types/base/PvTooltip/types.d.ts +0 -2
- package/pv-components/dist/types/base/baseProps.d.ts +0 -7
- package/pv-components/dist/types/base/index.d.ts +0 -29
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".pv-popover-list[data-v-cda1af8c]{font-size:14px}.pv-icon-button[data-v-79a7def3]{background-color:transparent;border:none}.pv-icon-button[data-v-79a7def3]:hover{cursor:pointer;color:#176f6f}.pv-select[data-v-79a7def3]{padding-top:4px;padding-bottom:4px}.pv-button-loading[data-v-942d55a7]{width:16px;height:16px;border:2px solid #ccc;border-top-color:#fff;border-radius:50%;animation:spin-942d55a7 1s linear infinite}@keyframes spin-942d55a7{to{transform:rotate(360deg)}}.pv-badge-md[data-v-fc3c1104]{--inset-size: 2px 2px;min-height:20px;max-height:20px;min-width:20px;font-weight:500}.pv-badge-sm[data-v-fc3c1104]{--inset-size: 0 2px;min-height:16px;max-height:16px;min-width:16px;font-weight:500}.pv-surface-lighten-5[data-v-fc3c1104]{background-color:#e0e5e4}.pv-text-secondary[data-v-fc3c1104]{color:#4b595c}.pv-table-row-count{position:absolute;right:12px;top:6px;opacity:1;background-color:#f7f8f8;transition:opacity .3s ease}.pv-table-group-cell:hover .pv-table-row-count{opacity:0}.pv-table-row-number{padding:8px 12px 8px 0;text-align:center;color:#89989b}.focus-button{opacity:0;transition:opacity .2s ease}.option-label:hover .focus-button{opacity:1}.suggested-label[data-v-
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".pv-popover-list[data-v-cda1af8c]{font-size:14px}.pv-icon-button[data-v-79a7def3]{background-color:transparent;border:none}.pv-icon-button[data-v-79a7def3]:hover{cursor:pointer;color:#176f6f}.pv-select[data-v-79a7def3]{padding-top:4px;padding-bottom:4px}.pv-button-loading[data-v-942d55a7]{width:16px;height:16px;border:2px solid #ccc;border-top-color:#fff;border-radius:50%;animation:spin-942d55a7 1s linear infinite}@keyframes spin-942d55a7{to{transform:rotate(360deg)}}.pv-badge-md[data-v-fc3c1104]{--inset-size: 2px 2px;min-height:20px;max-height:20px;min-width:20px;font-weight:500}.pv-badge-sm[data-v-fc3c1104]{--inset-size: 0 2px;min-height:16px;max-height:16px;min-width:16px;font-weight:500}.pv-surface-lighten-5[data-v-fc3c1104]{background-color:#e0e5e4}.pv-text-secondary[data-v-fc3c1104]{color:#4b595c}.pv-table-row-count{position:absolute;right:12px;top:6px;opacity:1;background-color:#f7f8f8;transition:opacity .3s ease}.pv-table-group-cell:hover .pv-table-row-count{opacity:0}.pv-table-row-number{padding:8px 12px 8px 0;text-align:center;color:#89989b}.focus-button{opacity:0;transition:opacity .2s ease}.option-label:hover .focus-button{opacity:1}.suggested-label[data-v-58806f9e]:hover{color:#16696d}.ag-custom-header-cell[data-v-054d9038]{height:100%;align-items:center}.ag-header-actions .ag-header-cell-menu-button[data-v-054d9038]{opacity:0;transition:opacity .2s ease-in-out}.ag-header-cell-menu-button:hover .ag-header-actions .ag-header-cell-menu-button[data-v-054d9038]{opacity:1}.ag-header-cell-menu-button:focus .ag-header-actions .ag-header-cell-menu-button[data-v-054d9038]{opacity:1}.pv-table-row-number[data-v-ae67b797]{padding:8px 12px 8px 0;text-align:center;color:#89989b}.pv-table-overlay{position:absolute;margin-top:20px;z-index:2;background:#fff;width:100%;top:50%;left:50%;height:95%;transform:translate(-50%,-50%);pointer-events:none}.ag-header-cell-resize{border:none!important}.ag-row-group-leaf-indent{padding-left:7px;margin-left:0}.ag-custom-loading-cell{width:100%;height:40%;margin:15px;background-color:#ccc;border-radius:4px}.ag-group-value{width:100%}.ag-menu-option:hover{background-color:#f7f8f8}.ag-menu-option:active{background-color:#e8f2f4}.ag-menu-option-text{font-family:Inter,sans-serif}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
2
|
import { defineComponent as De, mergeModels as bi, useTemplateRef as di, ref as J, toRefs as qg, watch as it, useModel as ji, getCurrentInstance as ni, createElementBlock as z, onMounted as Lo, markRaw as Xg, onUnmounted as Qg, openBlock as E, mergeDefaults as Zg, toRaw as fd, isRef as ul, isReactive as Jg, isProxy as ef, createVNode as Ge, render as md, toRef as tf, readonly as cu, customRef as of, shallowRef as Fn, toValue as Xe, nextTick as ts, getCurrentScope as sf, onScopeDispose as rf, computed as X, unref as ie, normalizeStyle as wi, renderSlot as Ct, withDirectives as Ls, createElementVNode as Z, createBlock as Re, normalizeClass as _e, createTextVNode as io, Teleport as uu, withCtx as tt, createCommentVNode as ee, onBeforeMount as hl, Fragment as We, toDisplayString as xe, withModifiers as Js, vModelText as nf, resolveDynamicComponent as Gs, normalizeProps as Ki, mergeProps as Os, renderList as Ro, vShow as af, vModelDynamic as lf, inject as nt, onBeforeUnmount as df, createSlots as vd, guardReactiveProps as Cd, provide as gt } from "vue";
|
|
3
3
|
var Mo = class {
|
|
4
4
|
constructor() {
|
|
@@ -2004,13 +2004,13 @@ function Pt(e, t, o) {
|
|
|
2004
2004
|
), S == null) {
|
|
2005
2005
|
const x = v("width").value1;
|
|
2006
2006
|
if (x != null) {
|
|
2007
|
-
const
|
|
2008
|
-
|
|
2007
|
+
const I = R.getColDef().minWidth ?? u.getDefaultColumnMinWidth();
|
|
2008
|
+
I != null && x >= I && R.setActualWidth(x, o);
|
|
2009
2009
|
}
|
|
2010
2010
|
}
|
|
2011
2011
|
C || !R.isPrimary() || (h?.syncColumnWithState(R, o, v), s?.syncColumnWithState(R, o, v, M), r?.syncColumnWithState(R, o, v, F));
|
|
2012
2012
|
}, b = (R, D, M) => {
|
|
2013
|
-
const F = ph(e, o), C = D.slice(), v = {}, S = {}, x = [],
|
|
2013
|
+
const F = ph(e, o), C = D.slice(), v = {}, S = {}, x = [], I = [], W = [];
|
|
2014
2014
|
let G = 0;
|
|
2015
2015
|
const H = s?.columns.slice() ?? [], O = r?.columns.slice() ?? [];
|
|
2016
2016
|
R.forEach((T) => {
|
|
@@ -2020,7 +2020,7 @@ function Pt(e, t, o) {
|
|
|
2020
2020
|
return;
|
|
2021
2021
|
}
|
|
2022
2022
|
if (Eo(K)) {
|
|
2023
|
-
|
|
2023
|
+
I.push(T), W.push(T);
|
|
2024
2024
|
return;
|
|
2025
2025
|
}
|
|
2026
2026
|
const q = M(K);
|
|
@@ -2040,7 +2040,7 @@ function Pt(e, t, o) {
|
|
|
2040
2040
|
n?.getColumns()?.slice()
|
|
2041
2041
|
), B(
|
|
2042
2042
|
(T) => a?.getColumn(T) ?? null,
|
|
2043
|
-
|
|
2043
|
+
I,
|
|
2044
2044
|
a?.getColumns()?.slice()
|
|
2045
2045
|
), xm(t, i, g), d.refresh(o), p.dispatchEvent({
|
|
2046
2046
|
type: "columnEverythingChanged",
|
|
@@ -5985,9 +5985,9 @@ var Qt = {
|
|
|
5985
5985
|
let c, u, h = 0;
|
|
5986
5986
|
this.invalidateVerticalScroll();
|
|
5987
5987
|
do {
|
|
5988
|
-
const { stickyTopHeight: p, stickyBottomHeight: g } = l, f = d.rowTop, m = d.rowHeight, b = r.getPixelOffset(), y = d.rowTop - b, w = y + d.rowHeight, R = this.getVScrollPosition(), D = n.divStretchOffset, M = R.top + D, F = R.bottom + D, C = F - M, v = n.getScrollPositionForPixel(y), S = n.getScrollPositionForPixel(w - C), x = Math.min((v + S) / 2, y),
|
|
5988
|
+
const { stickyTopHeight: p, stickyBottomHeight: g } = l, f = d.rowTop, m = d.rowHeight, b = r.getPixelOffset(), y = d.rowTop - b, w = y + d.rowHeight, R = this.getVScrollPosition(), D = n.divStretchOffset, M = R.top + D, F = R.bottom + D, C = F - M, v = n.getScrollPositionForPixel(y), S = n.getScrollPositionForPixel(w - C), x = Math.min((v + S) / 2, y), I = M + p > y, W = F - g < w;
|
|
5989
5989
|
let G = null;
|
|
5990
|
-
t === "top" ? G = v - p : t === "bottom" ? G = S + g : t === "middle" ? G = x :
|
|
5990
|
+
t === "top" ? G = v - p : t === "bottom" ? G = S + g : t === "middle" ? G = x : I ? G = v - p : W && (G = S + g), G !== null && (this.setVerticalScrollPosition(G), a.redraw({ afterScroll: !0 })), c = f !== d.rowTop || m !== d.rowHeight, u = p !== l.stickyTopHeight || g !== l.stickyBottomHeight, h++;
|
|
5991
5991
|
} while ((c || u) && h < 10);
|
|
5992
5992
|
this.animationFrameSvc?.flushAllFrames();
|
|
5993
5993
|
});
|
|
@@ -24960,10 +24960,10 @@ var Hx = class extends k {
|
|
|
24960
24960
|
const C = d?.columns?.[w.level + 1]?.getSort() === null, v = w.childrenAfterAggFilter.slice(0);
|
|
24961
24961
|
if (w.childrenAfterSort && !C) {
|
|
24962
24962
|
const S = {};
|
|
24963
|
-
w.childrenAfterSort.forEach((x,
|
|
24964
|
-
S[x.id] =
|
|
24963
|
+
w.childrenAfterSort.forEach((x, I) => {
|
|
24964
|
+
S[x.id] = I;
|
|
24965
24965
|
}), v.sort(
|
|
24966
|
-
(x,
|
|
24966
|
+
(x, I) => (S[x.id] ?? 0) - (S[I.id] ?? 0)
|
|
24967
24967
|
);
|
|
24968
24968
|
}
|
|
24969
24969
|
M = v;
|
|
@@ -28236,8 +28236,8 @@ const lD = { ref: "root" }, dD = /* @__PURE__ */ De({
|
|
|
28236
28236
|
x && !v || !x && v || h.has(S) && (g.value || w(S), g.value = !1);
|
|
28237
28237
|
}, F = (v, S, x) => {
|
|
28238
28238
|
if (n.value) {
|
|
28239
|
-
let
|
|
28240
|
-
v === "rowData" &&
|
|
28239
|
+
let I = S.value || S;
|
|
28240
|
+
v === "rowData" && I != null && (I = us(I)), d.value[v] = I, c.value == null && (c.value = window.setTimeout(() => {
|
|
28241
28241
|
c.value = null, em(d.value, r.value), d.value = {};
|
|
28242
28242
|
}, 0));
|
|
28243
28243
|
}
|
|
@@ -28257,8 +28257,8 @@ const lD = { ref: "root" }, dD = /* @__PURE__ */ De({
|
|
|
28257
28257
|
...Ja,
|
|
28258
28258
|
...xp.map((W) => Dl(W))
|
|
28259
28259
|
])
|
|
28260
|
-
),
|
|
28261
|
-
|
|
28260
|
+
), I = R();
|
|
28261
|
+
I !== void 0 && (x.rowData = us(I)), r.value = Z0(s.value, x, S), n.value = !0;
|
|
28262
28262
|
}), Qg(() => {
|
|
28263
28263
|
var v;
|
|
28264
28264
|
n.value && ((v = r?.value) == null || v.destroy(), a.value = !0);
|
|
@@ -31298,7 +31298,7 @@ var nP = class extends k {
|
|
|
31298
31298
|
sortSvc: M,
|
|
31299
31299
|
chartMenuItemMapper: F,
|
|
31300
31300
|
valueColsSvc: C
|
|
31301
|
-
} = n, v = (S, x,
|
|
31301
|
+
} = n, v = (S, x, I, W) => {
|
|
31302
31302
|
switch (l?.validateMenuItem(S), S) {
|
|
31303
31303
|
case "pinSubMenu":
|
|
31304
31304
|
return d && x ? {
|
|
@@ -31456,7 +31456,7 @@ var nP = class extends k {
|
|
|
31456
31456
|
icon: ue("filter", n, null),
|
|
31457
31457
|
action: () => R.showFilterMenu({
|
|
31458
31458
|
column: x,
|
|
31459
|
-
buttonElement:
|
|
31459
|
+
buttonElement: I(),
|
|
31460
31460
|
containerType: "columnFilter",
|
|
31461
31461
|
positionBy: "button"
|
|
31462
31462
|
})
|
|
@@ -31468,7 +31468,7 @@ var nP = class extends k {
|
|
|
31468
31468
|
icon: ue("columns", n, null),
|
|
31469
31469
|
action: () => D.showColumnChooser({
|
|
31470
31470
|
column: x,
|
|
31471
|
-
eventSource:
|
|
31471
|
+
eventSource: I(),
|
|
31472
31472
|
headerPosition: G
|
|
31473
31473
|
})
|
|
31474
31474
|
} : null;
|
|
@@ -31499,8 +31499,8 @@ var nP = class extends k {
|
|
|
31499
31499
|
let x;
|
|
31500
31500
|
if (typeof S == "string" ? x = v(S, t, o, i) : x = { ...S }, !x)
|
|
31501
31501
|
return;
|
|
31502
|
-
const
|
|
31503
|
-
W && W instanceof Array && (
|
|
31502
|
+
const I = x, { subMenu: W } = I;
|
|
31503
|
+
W && W instanceof Array && (I.subMenu = this.mapWithStockItems(
|
|
31504
31504
|
W,
|
|
31505
31505
|
t,
|
|
31506
31506
|
o,
|
|
@@ -32680,7 +32680,7 @@ var RP = class {
|
|
|
32680
32680
|
} = n;
|
|
32681
32681
|
this.filterParams = n, this.gos = a, this.setIsLoading = e.setIsLoading, this.translate = e.translate, this.caseFormat = e.caseFormat, this.createKey = e.createKey, this.usingComplexObjects = !!e.usingComplexObjects, this.formatter = h ?? ((v) => v ?? null), this.doesRowPassOtherFilters = p, this.suppressSorting = g || !1, this.filteringKeys = new xP({ caseFormat: this.caseFormat });
|
|
32682
32682
|
const M = f ?? u.comparator, F = !!s || !!r;
|
|
32683
|
-
this.compareByValue = !!(t && M || F || w && !R), F && !M ? this.entryComparator = this.createTreeDataOrGroupingComparator() : w && !R && !M ? this.entryComparator = ([v, S], [x,
|
|
32683
|
+
this.compareByValue = !!(t && M || F || w && !R), F && !M ? this.entryComparator = this.createTreeDataOrGroupingComparator() : w && !R && !M ? this.entryComparator = ([v, S], [x, I]) => kr(S, I) : this.entryComparator = ([v, S], [x, I]) => M(S, I), this.keyComparator = M ?? kr, this.caseSensitive = !!y;
|
|
32684
32684
|
const C = a.get("groupAllowUnbalanced");
|
|
32685
32685
|
no(a) && (this.clientSideValuesExtractor = new RP(
|
|
32686
32686
|
m,
|
|
@@ -38542,17 +38542,17 @@ function kk() {
|
|
|
38542
38542
|
var x = parseInt(this._config.skipFirstNLines) || 0;
|
|
38543
38543
|
if (this.isFirstChunk && 0 < x) {
|
|
38544
38544
|
let W = this._config.newline;
|
|
38545
|
-
W || (
|
|
38545
|
+
W || (I = this._config.quoteChar || '"', W = this._handle.guessLineEndings(v, I)), v = [...v.split(W).slice(x)].join(W);
|
|
38546
38546
|
}
|
|
38547
|
-
this.isFirstChunk && F(this._config.beforeFirstChunk) && (
|
|
38548
|
-
var x = this._partialLine + v,
|
|
38547
|
+
this.isFirstChunk && F(this._config.beforeFirstChunk) && (I = this._config.beforeFirstChunk(v)) !== void 0 && (v = I), this.isFirstChunk = !1, this._halted = !1;
|
|
38548
|
+
var x = this._partialLine + v, I = (this._partialLine = "", this._handle.parse(x, this._baseIndex, !this._finished));
|
|
38549
38549
|
if (!this._handle.paused() && !this._handle.aborted()) {
|
|
38550
|
-
if (v =
|
|
38550
|
+
if (v = I.meta.cursor, x = (this._finished || (this._partialLine = x.substring(v - this._baseIndex), this._baseIndex = v), I && I.data && (this._rowCount += I.data.length), this._finished || this._config.preview && this._rowCount >= this._config.preview), n) i.postMessage({ results: I, workerId: d.WORKER_ID, finished: x });
|
|
38551
38551
|
else if (F(this._config.chunk) && !S) {
|
|
38552
|
-
if (this._config.chunk(
|
|
38553
|
-
this._completeResults =
|
|
38552
|
+
if (this._config.chunk(I, this._handle), this._handle.paused() || this._handle.aborted()) return void (this._halted = !0);
|
|
38553
|
+
this._completeResults = I = void 0;
|
|
38554
38554
|
}
|
|
38555
|
-
return this._config.step || this._config.chunk || (this._completeResults.data = this._completeResults.data.concat(
|
|
38555
|
+
return this._config.step || this._config.chunk || (this._completeResults.data = this._completeResults.data.concat(I.data), this._completeResults.errors = this._completeResults.errors.concat(I.errors), this._completeResults.meta = I.meta), this._completed || !x || !F(this._config.complete) || I && I.meta.aborted || (this._config.complete(this._completeResults, this._input), this._completed = !0), x || I && I.meta.paused || this._nextChunk(), I;
|
|
38556
38556
|
}
|
|
38557
38557
|
this._halted = !0;
|
|
38558
38558
|
}, this._sendError = function(v) {
|
|
@@ -38574,8 +38574,8 @@ function kk() {
|
|
|
38574
38574
|
var S, x = this._config.downloadRequestHeaders;
|
|
38575
38575
|
for (S in x) v.setRequestHeader(S, x[S]);
|
|
38576
38576
|
}
|
|
38577
|
-
var
|
|
38578
|
-
this._config.chunkSize && (
|
|
38577
|
+
var I;
|
|
38578
|
+
this._config.chunkSize && (I = this._start + this._config.chunkSize - 1, v.setRequestHeader("Range", "bytes=" + this._start + "-" + I));
|
|
38579
38579
|
try {
|
|
38580
38580
|
v.send(this._config.downloadRequestBody);
|
|
38581
38581
|
} catch (W) {
|
|
@@ -38592,15 +38592,15 @@ function kk() {
|
|
|
38592
38592
|
function h(C) {
|
|
38593
38593
|
(C = C || {}).chunkSize || (C.chunkSize = d.LocalChunkSize), c.call(this, C);
|
|
38594
38594
|
var v, S, x = typeof FileReader < "u";
|
|
38595
|
-
this.stream = function(
|
|
38596
|
-
this._input =
|
|
38595
|
+
this.stream = function(I) {
|
|
38596
|
+
this._input = I, S = I.slice || I.webkitSlice || I.mozSlice, x ? ((v = new FileReader()).onload = M(this._chunkLoaded, this), v.onerror = M(this._chunkError, this)) : v = new FileReaderSync(), this._nextChunk();
|
|
38597
38597
|
}, this._nextChunk = function() {
|
|
38598
38598
|
this._finished || this._config.preview && !(this._rowCount < this._config.preview) || this._readChunk();
|
|
38599
38599
|
}, this._readChunk = function() {
|
|
38600
|
-
var
|
|
38600
|
+
var I = this._input, W = (this._config.chunkSize && (W = Math.min(this._start + this._config.chunkSize, this._input.size), I = S.call(I, this._start, W)), v.readAsText(I, this._config.encoding));
|
|
38601
38601
|
x || this._chunkLoaded({ target: { result: W } });
|
|
38602
|
-
}, this._chunkLoaded = function(
|
|
38603
|
-
this._start += this._config.chunkSize, this._finished = !this._config.chunkSize || this._start >= this._input.size, this.parseChunk(
|
|
38602
|
+
}, this._chunkLoaded = function(I) {
|
|
38603
|
+
this._start += this._config.chunkSize, this._finished = !this._config.chunkSize || this._start >= this._input.size, this.parseChunk(I.target.result);
|
|
38604
38604
|
}, this._chunkError = function() {
|
|
38605
38605
|
this._sendError(v.error);
|
|
38606
38606
|
};
|
|
@@ -38621,20 +38621,20 @@ function kk() {
|
|
|
38621
38621
|
c.prototype.pause.apply(this, arguments), this._input.pause();
|
|
38622
38622
|
}, this.resume = function() {
|
|
38623
38623
|
c.prototype.resume.apply(this, arguments), this._input.resume();
|
|
38624
|
-
}, this.stream = function(
|
|
38625
|
-
this._input =
|
|
38624
|
+
}, this.stream = function(I) {
|
|
38625
|
+
this._input = I, this._input.on("data", this._streamData), this._input.on("end", this._streamEnd), this._input.on("error", this._streamError);
|
|
38626
38626
|
}, this._checkIsFinished = function() {
|
|
38627
38627
|
x && v.length === 1 && (this._finished = !0);
|
|
38628
38628
|
}, this._nextChunk = function() {
|
|
38629
38629
|
this._checkIsFinished(), v.length ? this.parseChunk(v.shift()) : S = !0;
|
|
38630
|
-
}, this._streamData = M(function(
|
|
38630
|
+
}, this._streamData = M(function(I) {
|
|
38631
38631
|
try {
|
|
38632
|
-
v.push(typeof
|
|
38632
|
+
v.push(typeof I == "string" ? I : I.toString(this._config.encoding)), S && (S = !1, this._checkIsFinished(), this.parseChunk(v.shift()));
|
|
38633
38633
|
} catch (W) {
|
|
38634
38634
|
this._streamError(W);
|
|
38635
38635
|
}
|
|
38636
|
-
}, this), this._streamError = M(function(
|
|
38637
|
-
this._streamCleanUp(), this._sendError(
|
|
38636
|
+
}, this), this._streamError = M(function(I) {
|
|
38637
|
+
this._streamCleanUp(), this._sendError(I);
|
|
38638
38638
|
}, this), this._streamEnd = M(function() {
|
|
38639
38639
|
this._streamCleanUp(), x = !0, this._streamData("");
|
|
38640
38640
|
}, this), this._streamCleanUp = M(function() {
|
|
@@ -38642,7 +38642,7 @@ function kk() {
|
|
|
38642
38642
|
}, this);
|
|
38643
38643
|
}
|
|
38644
38644
|
function f(C) {
|
|
38645
|
-
var v, S, x,
|
|
38645
|
+
var v, S, x, I, W = Math.pow(2, 53), G = -W, H = /^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/, O = /^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/, N = this, B = 0, T = 0, K = !1, $ = !1, q = [], U = { data: [], errors: [], meta: {} };
|
|
38646
38646
|
function ne(ae) {
|
|
38647
38647
|
return C.skipEmptyLines === "greedy" ? ae.join("").trim() === "" : ae.length === 1 && ae[0].length === 0;
|
|
38648
38648
|
}
|
|
@@ -38660,8 +38660,8 @@ function kk() {
|
|
|
38660
38660
|
}
|
|
38661
38661
|
function ge(te, Ae) {
|
|
38662
38662
|
for (var Oe = C.header ? {} : [], Ee = 0; Ee < te.length; Ee++) {
|
|
38663
|
-
var Le = Ee, ve = te[Ee], ve = ((at, he) => ((
|
|
38664
|
-
if (H.test(
|
|
38663
|
+
var Le = Ee, ve = te[Ee], ve = ((at, he) => ((L) => (C.dynamicTypingFunction && C.dynamicTyping[L] === void 0 && (C.dynamicTyping[L] = C.dynamicTypingFunction(L)), (C.dynamicTyping[L] || C.dynamicTyping) === !0))(at) ? he === "true" || he === "TRUE" || he !== "false" && he !== "FALSE" && (((L) => {
|
|
38664
|
+
if (H.test(L) && (L = parseFloat(L), G < L && L < W))
|
|
38665
38665
|
return 1;
|
|
38666
38666
|
})(he) ? parseFloat(he) : O.test(he) ? new Date(he) : he === "" ? null : he) : he)(Le = C.header ? Ee >= q.length ? "__parsed_extra" : q[Ee] : Le, ve = C.transform ? C.transform(ve, Le) : ve);
|
|
38667
38667
|
Le === "__parsed_extra" ? (Oe[Le] = Oe[Le] || [], Oe[Le].push(ve)) : Oe[Le] = ve;
|
|
@@ -38677,14 +38677,14 @@ function kk() {
|
|
|
38677
38677
|
function Ie(ae, ge, me, te) {
|
|
38678
38678
|
ae = { type: ae, code: ge, message: me }, te !== void 0 && (ae.row = te), U.errors.push(ae);
|
|
38679
38679
|
}
|
|
38680
|
-
F(C.step) && (
|
|
38681
|
-
U = ae, Te() ? Se() : (Se(), U.data.length !== 0 && (B += ae.data.length, C.preview && B > C.preview ? S.abort() : (U.data = U.data[0],
|
|
38680
|
+
F(C.step) && (I = C.step, C.step = function(ae) {
|
|
38681
|
+
U = ae, Te() ? Se() : (Se(), U.data.length !== 0 && (B += ae.data.length, C.preview && B > C.preview ? S.abort() : (U.data = U.data[0], I(U, N))));
|
|
38682
38682
|
}), this.parse = function(ae, ge, me) {
|
|
38683
38683
|
var te = C.quoteChar || '"', te = (C.newline || (C.newline = this.guessLineEndings(ae, te)), x = !1, C.delimiter ? F(C.delimiter) && (C.delimiter = C.delimiter(ae), U.meta.delimiter = C.delimiter) : ((te = ((Ae, Oe, Ee, Le, ve) => {
|
|
38684
|
-
var at, he,
|
|
38684
|
+
var at, he, L, oe;
|
|
38685
38685
|
ve = ve || [",", " ", "|", ";", d.RECORD_SEP, d.UNIT_SEP];
|
|
38686
38686
|
for (var be = 0; be < ve.length; be++) {
|
|
38687
|
-
for (var et, Ht = ve[be], Qe = 0, Vt = 0, A = 0, j = (
|
|
38687
|
+
for (var et, Ht = ve[be], Qe = 0, Vt = 0, A = 0, j = (L = void 0, new b({ comments: Le, delimiter: Ht, newline: Oe, preview: 10 }).parse(Ae)), re = 0; re < j.data.length; re++) Ee && ne(j.data[re]) ? A++ : (et = j.data[re].length, Vt += et, L === void 0 ? L = et : 0 < et && (Qe += Math.abs(et - L), L = et));
|
|
38688
38688
|
0 < j.data.length && (Vt /= j.data.length - A), (he === void 0 || Qe <= he) && (oe === void 0 || oe < Vt) && 1.99 < Vt && (he = Qe, at = Ht, oe = Vt);
|
|
38689
38689
|
}
|
|
38690
38690
|
return { successful: !!(C.delimiter = at), bestDelimiter: at };
|
|
@@ -38716,7 +38716,7 @@ function kk() {
|
|
|
38716
38716
|
return C.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
38717
38717
|
}
|
|
38718
38718
|
function b(C) {
|
|
38719
|
-
var v = (C = C || {}).delimiter, S = C.newline, x = C.comments,
|
|
38719
|
+
var v = (C = C || {}).delimiter, S = C.newline, x = C.comments, I = C.step, W = C.preview, G = C.fastMode, H = null, O = !1, N = C.quoteChar == null ? '"' : C.quoteChar, B = N;
|
|
38720
38720
|
if (C.escapeChar !== void 0 && (B = C.escapeChar), (typeof v != "string" || -1 < d.BAD_DELIMITERS.indexOf(v)) && (v = ","), x === v) throw new Error("Comment character same as delimiter");
|
|
38721
38721
|
x === !0 ? x = "#" : (typeof x != "string" || -1 < d.BAD_DELIMITERS.indexOf(x)) && (x = !1), S !== `
|
|
38722
38722
|
` && S !== "\r" && S !== `\r
|
|
@@ -38725,7 +38725,7 @@ function kk() {
|
|
|
38725
38725
|
var T = 0, K = !1;
|
|
38726
38726
|
this.parse = function($, q, U) {
|
|
38727
38727
|
if (typeof $ != "string") throw new Error("Input must be a string");
|
|
38728
|
-
var ne = $.length, Se = v.length, Te = S.length, Ie = x.length, ae = F(
|
|
38728
|
+
var ne = $.length, Se = v.length, Te = S.length, Ie = x.length, ae = F(I), ge = [], me = [], te = [], Ae = T = 0;
|
|
38729
38729
|
if (!$) return Qe();
|
|
38730
38730
|
if (G || G !== !1 && $.indexOf(N) === -1) {
|
|
38731
38731
|
for (var Oe = $.split(S), Ee = 0; Ee < Oe.length; Ee++) {
|
|
@@ -38746,13 +38746,13 @@ function kk() {
|
|
|
38746
38746
|
if (N === B && $[he + 1] === B) he++;
|
|
38747
38747
|
else if (N === B || he === 0 || $[he - 1] !== B) {
|
|
38748
38748
|
Le !== -1 && Le < he + 1 && (Le = $.indexOf(v, he + 1));
|
|
38749
|
-
var
|
|
38750
|
-
if ($.substr(he + 1 +
|
|
38751
|
-
te.push($.substring(T, he).replace(at, N)), $[T = he + 1 +
|
|
38749
|
+
var L = be((ve = ve !== -1 && ve < he + 1 ? $.indexOf(S, he + 1) : ve) === -1 ? Le : Math.min(Le, ve));
|
|
38750
|
+
if ($.substr(he + 1 + L, Se) === v) {
|
|
38751
|
+
te.push($.substring(T, he).replace(at, N)), $[T = he + 1 + L + Se] !== N && (he = $.indexOf(N, T)), Le = $.indexOf(v, T), ve = $.indexOf(S, T);
|
|
38752
38752
|
break;
|
|
38753
38753
|
}
|
|
38754
|
-
if (
|
|
38755
|
-
if (te.push($.substring(T, he).replace(at, N)), Ht(he + 1 +
|
|
38754
|
+
if (L = be(ve), $.substring(he + 1 + L, he + 1 + L + Te) === S) {
|
|
38755
|
+
if (te.push($.substring(T, he).replace(at, N)), Ht(he + 1 + L + Te), Le = $.indexOf(v, T), he = $.indexOf(N, T), ae && (Vt(), K)) return Qe();
|
|
38756
38756
|
if (W && ge.length >= W) return Qe(!0);
|
|
38757
38757
|
break;
|
|
38758
38758
|
}
|
|
@@ -38800,7 +38800,7 @@ function kk() {
|
|
|
38800
38800
|
return { data: ge, errors: me, meta: { delimiter: v, linebreak: S, aborted: K, truncated: !!A, cursor: Ae + (q || 0), renamedHeaders: H } };
|
|
38801
38801
|
}
|
|
38802
38802
|
function Vt() {
|
|
38803
|
-
|
|
38803
|
+
I(Qe()), ge = [], me = [];
|
|
38804
38804
|
}
|
|
38805
38805
|
}, this.abort = function() {
|
|
38806
38806
|
K = !0;
|
|
@@ -38812,13 +38812,13 @@ function kk() {
|
|
|
38812
38812
|
var v = C.data, S = a[v.workerId], x = !1;
|
|
38813
38813
|
if (v.error) S.userError(v.error, v.file);
|
|
38814
38814
|
else if (v.results && v.results.data) {
|
|
38815
|
-
var
|
|
38815
|
+
var I = { abort: function() {
|
|
38816
38816
|
x = !0, w(v.workerId, { data: [], errors: [], meta: { aborted: !0 } });
|
|
38817
38817
|
}, pause: R, resume: R };
|
|
38818
38818
|
if (F(S.userStep)) {
|
|
38819
|
-
for (var W = 0; W < v.results.data.length && (S.userStep({ data: v.results.data[W], errors: v.results.errors, meta: v.results.meta },
|
|
38819
|
+
for (var W = 0; W < v.results.data.length && (S.userStep({ data: v.results.data[W], errors: v.results.errors, meta: v.results.meta }, I), !x); W++) ;
|
|
38820
38820
|
delete v.results;
|
|
38821
|
-
} else F(S.userChunk) && (S.userChunk(v.results,
|
|
38821
|
+
} else F(S.userChunk) && (S.userChunk(v.results, I, v.file), delete v.results);
|
|
38822
38822
|
}
|
|
38823
38823
|
v.finished && !x && w(v.workerId, v.results);
|
|
38824
38824
|
}
|
|
@@ -38849,17 +38849,17 @@ function kk() {
|
|
|
38849
38849
|
(S = (() => {
|
|
38850
38850
|
var x;
|
|
38851
38851
|
return !!d.WORKERS_SUPPORTED && (x = (() => {
|
|
38852
|
-
var
|
|
38853
|
-
return d.BLOB_URL || (d.BLOB_URL =
|
|
38852
|
+
var I = i.URL || i.webkitURL || null, W = o.toString();
|
|
38853
|
+
return d.BLOB_URL || (d.BLOB_URL = I.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ", "(", W, ")();"], { type: "text/javascript" })));
|
|
38854
38854
|
})(), (x = new i.Worker(x)).onmessage = y, x.id = l++, a[x.id] = x);
|
|
38855
38855
|
})()).userStep = v.step, S.userChunk = v.chunk, S.userComplete = v.complete, S.userError = v.error, v.step = F(v.step), v.chunk = F(v.chunk), v.complete = F(v.complete), v.error = F(v.error), delete v.worker, S.postMessage({ input: C, config: v, workerId: S.id });
|
|
38856
38856
|
}, d.unparse = function(C, v) {
|
|
38857
|
-
var S = !1, x = !0,
|
|
38857
|
+
var S = !1, x = !0, I = ",", W = `\r
|
|
38858
38858
|
`, G = '"', H = G + G, O = !1, N = null, B = !1, T = ((() => {
|
|
38859
38859
|
if (typeof v == "object") {
|
|
38860
38860
|
if (typeof v.delimiter != "string" || d.BAD_DELIMITERS.filter(function(q) {
|
|
38861
38861
|
return v.delimiter.indexOf(q) !== -1;
|
|
38862
|
-
}).length || (
|
|
38862
|
+
}).length || (I = v.delimiter), typeof v.quotes != "boolean" && typeof v.quotes != "function" && !Array.isArray(v.quotes) || (S = v.quotes), typeof v.skipEmptyLines != "boolean" && typeof v.skipEmptyLines != "string" || (O = v.skipEmptyLines), typeof v.newline == "string" && (W = v.newline), typeof v.quoteChar == "string" && (G = v.quoteChar), typeof v.header == "boolean" && (x = v.header), Array.isArray(v.columns)) {
|
|
38863
38863
|
if (v.columns.length === 0) throw new Error("Option columns is empty");
|
|
38864
38864
|
N = v.columns;
|
|
38865
38865
|
}
|
|
@@ -38874,7 +38874,7 @@ function kk() {
|
|
|
38874
38874
|
function K(q, U, ne) {
|
|
38875
38875
|
var Se = "", Te = (typeof q == "string" && (q = JSON.parse(q)), typeof U == "string" && (U = JSON.parse(U)), Array.isArray(q) && 0 < q.length), Ie = !Array.isArray(U[0]);
|
|
38876
38876
|
if (Te && x) {
|
|
38877
|
-
for (var ae = 0; ae < q.length; ae++) 0 < ae && (Se +=
|
|
38877
|
+
for (var ae = 0; ae < q.length; ae++) 0 < ae && (Se += I), Se += $(q[ae], ae);
|
|
38878
38878
|
0 < U.length && (Se += W);
|
|
38879
38879
|
}
|
|
38880
38880
|
for (var ge = 0; ge < U.length; ge++) {
|
|
@@ -38888,7 +38888,7 @@ function kk() {
|
|
|
38888
38888
|
}
|
|
38889
38889
|
if (!te) {
|
|
38890
38890
|
for (var ve = 0; ve < me; ve++) {
|
|
38891
|
-
0 < ve && !Ae && (Se +=
|
|
38891
|
+
0 < ve && !Ae && (Se += I);
|
|
38892
38892
|
var at = Te && Ie ? q[ve] : ve;
|
|
38893
38893
|
Se += $(U[ge][at], ve);
|
|
38894
38894
|
}
|
|
@@ -38902,7 +38902,7 @@ function kk() {
|
|
|
38902
38902
|
return q == null ? "" : q.constructor === Date ? JSON.stringify(q).slice(1, 25) : (Se = !1, B && typeof q == "string" && B.test(q) && (q = "'" + q, Se = !0), ne = q.toString().replace(T, H), (Se = Se || S === !0 || typeof S == "function" && S(q, U) || Array.isArray(S) && S[U] || ((Te, Ie) => {
|
|
38903
38903
|
for (var ae = 0; ae < Ie.length; ae++) if (-1 < Te.indexOf(Ie[ae])) return !0;
|
|
38904
38904
|
return !1;
|
|
38905
|
-
})(ne, d.BAD_DELIMITERS) || -1 < ne.indexOf(
|
|
38905
|
+
})(ne, d.BAD_DELIMITERS) || -1 < ne.indexOf(I) || ne.charAt(0) === " " || ne.charAt(ne.length - 1) === " ") ? G + ne + G : ne);
|
|
38906
38906
|
}
|
|
38907
38907
|
}, d.RECORD_SEP = "", d.UNIT_SEP = "", d.BYTE_ORDER_MARK = "\uFEFF", d.BAD_DELIMITERS = ["\r", `
|
|
38908
38908
|
`, '"', d.BYTE_ORDER_MARK], d.WORKERS_SUPPORTED = !r && !!i.Worker, d.NODE_STREAM_INPUT = 1, d.LocalChunkSize = 10485760, d.RemoteChunkSize = 5242880, d.DefaultDelimiter = ",", d.Parser = b, d.ParserHandle = f, d.NetworkStreamer = u, d.FileStreamer = h, d.StringStreamer = p, d.ReadableStreamStreamer = g, i.jQuery && ((s = i.jQuery).fn.parse = function(C) {
|
|
@@ -38919,17 +38919,17 @@ function kk() {
|
|
|
38919
38919
|
var B = C.before(N.file, N.inputElem);
|
|
38920
38920
|
if (typeof B == "object") {
|
|
38921
38921
|
if (B.action === "abort") return W = "AbortError", G = N.file, H = N.inputElem, O = B.reason, void (F(C.error) && C.error({ name: W }, G, H, O));
|
|
38922
|
-
if (B.action === "skip") return void
|
|
38922
|
+
if (B.action === "skip") return void I();
|
|
38923
38923
|
typeof B.config == "object" && (N.instanceConfig = s.extend(N.instanceConfig, B.config));
|
|
38924
|
-
} else if (B === "skip") return void
|
|
38924
|
+
} else if (B === "skip") return void I();
|
|
38925
38925
|
}
|
|
38926
38926
|
var T = N.instanceConfig.complete;
|
|
38927
38927
|
N.instanceConfig.complete = function(K) {
|
|
38928
|
-
F(T) && T(K, N.file, N.inputElem),
|
|
38928
|
+
F(T) && T(K, N.file, N.inputElem), I();
|
|
38929
38929
|
}, d.parse(N.file, N.instanceConfig);
|
|
38930
38930
|
}
|
|
38931
38931
|
}
|
|
38932
|
-
function
|
|
38932
|
+
function I() {
|
|
38933
38933
|
S.splice(0, 1), x();
|
|
38934
38934
|
}
|
|
38935
38935
|
}), n && (i.onmessage = function(C) {
|
|
@@ -39952,7 +39952,7 @@ ce.prototype = /** @lends Sortable.prototype */
|
|
|
39952
39952
|
return b(), o.insertBefore(Y, D), Ye = o, w(), y(!0);
|
|
39953
39953
|
} else if (i.parentNode === o) {
|
|
39954
39954
|
r = Je(i);
|
|
39955
|
-
var M = 0, F, C = Y.parentNode !== o, v = !sA(Y.animated && Y.toRect || s, i.animated && i.toRect || r, p), S = p ? "top" : "left", x = kc(i, "top", "top") || kc(Y, "top", "top"),
|
|
39955
|
+
var M = 0, F, C = Y.parentNode !== o, v = !sA(Y.animated && Y.toRect || s, i.animated && i.toRect || r, p), S = p ? "top" : "left", x = kc(i, "top", "top") || kc(Y, "top", "top"), I = x ? x.scrollTop : void 0;
|
|
39956
39956
|
ki !== i && (F = r[S], Es = !1, Sr = !v && a.invertSwap || C), M = uA(t, i, r, p, v ? 1 : a.swapThreshold, a.invertedSwapThreshold == null ? a.swapThreshold : a.invertedSwapThreshold, Sr, ki === i);
|
|
39957
39957
|
var W;
|
|
39958
39958
|
if (M !== 0) {
|
|
@@ -39968,7 +39968,7 @@ ce.prototype = /** @lends Sortable.prototype */
|
|
|
39968
39968
|
O = M === 1;
|
|
39969
39969
|
var N = xr($e, o, Y, s, i, r, t, O);
|
|
39970
39970
|
if (N !== !1)
|
|
39971
|
-
return (N === 1 || N === -1) && (O = N === 1), il = !0, setTimeout(lA, 30), b(), O && !H ? o.appendChild(Y) : i.parentNode.insertBefore(Y, O ? H : i), x && vg(x, 0,
|
|
39971
|
+
return (N === 1 || N === -1) && (O = N === 1), il = !0, setTimeout(lA, 30), b(), O && !H ? o.appendChild(Y) : i.parentNode.insertBefore(Y, O ? H : i), x && vg(x, 0, I - x.scrollTop), Ye = Y.parentNode, F !== void 0 && !Sr && (Hr = Math.abs(F - Je(i)[S])), w(), y(!0);
|
|
39972
39972
|
}
|
|
39973
39973
|
if (o.contains(Y))
|
|
39974
39974
|
return y(!1);
|
|
@@ -40301,11 +40301,11 @@ var Pa = mg(function(e, t, o, i) {
|
|
|
40301
40301
|
do {
|
|
40302
40302
|
var p = h, g = Je(p), f = g.top, m = g.bottom, b = g.left, y = g.right, w = g.width, R = g.height, D = void 0, M = void 0, F = p.scrollWidth, C = p.scrollHeight, v = de(p), S = p.scrollLeft, x = p.scrollTop;
|
|
40303
40303
|
p === l ? (D = w < F && (v.overflowX === "auto" || v.overflowX === "scroll" || v.overflowX === "visible"), M = R < C && (v.overflowY === "auto" || v.overflowY === "scroll" || v.overflowY === "visible")) : (D = w < F && (v.overflowX === "auto" || v.overflowX === "scroll"), M = R < C && (v.overflowY === "auto" || v.overflowY === "scroll"));
|
|
40304
|
-
var
|
|
40304
|
+
var I = D && (Math.abs(y - s) <= n && S + w < F) - (Math.abs(b - s) <= n && !!S), W = M && (Math.abs(m - r) <= n && x + R < C) - (Math.abs(f - r) <= n && !!x);
|
|
40305
40305
|
if (!Ze[u])
|
|
40306
40306
|
for (var G = 0; G <= u; G++)
|
|
40307
40307
|
Ze[G] || (Ze[G] = {});
|
|
40308
|
-
(Ze[u].vx !=
|
|
40308
|
+
(Ze[u].vx != I || Ze[u].vy != W || Ze[u].el !== p) && (Ze[u].el = p, Ze[u].vx = I, Ze[u].vy = W, clearInterval(Ze[u].pid), (I != 0 || W != 0) && (d = !0, Ze[u].pid = setInterval(function() {
|
|
40309
40309
|
i && this.layer === 0 && ce.active._onTouchMove(wn);
|
|
40310
40310
|
var H = Ze[this.layer].vy ? Ze[this.layer].vy * a : 0, O = Ze[this.layer].vx ? Ze[this.layer].vx * a : 0;
|
|
40311
40311
|
typeof c == "function" && c.call(ce.dragged.parentNode[xt], O, H, e, wn, Ze[this.layer].el) !== "continue" || vg(Ze[this.layer].el, O, H);
|
|
@@ -41349,11 +41349,11 @@ var qt = {
|
|
|
41349
41349
|
const { preset: h, options: p } = t;
|
|
41350
41350
|
let g, f, m, b, y, w, R;
|
|
41351
41351
|
if (qe(h) && p.transform !== "strict") {
|
|
41352
|
-
const { primitive: D, semantic: M, extend: F } = h, C = M || {}, { colorScheme: v } = C, S = yo(C, ["colorScheme"]), x = F || {}, { colorScheme:
|
|
41352
|
+
const { primitive: D, semantic: M, extend: F } = h, C = M || {}, { colorScheme: v } = C, S = yo(C, ["colorScheme"]), x = F || {}, { colorScheme: I } = x, W = yo(x, ["colorScheme"]), G = v || {}, { dark: H } = G, O = yo(G, ["dark"]), N = I || {}, { dark: B } = N, T = yo(N, ["dark"]), K = qe(D) ? this._toVariables({ primitive: D }, p) : {}, $ = qe(S) ? this._toVariables({ semantic: S }, p) : {}, q = qe(O) ? this._toVariables({ light: O }, p) : {}, U = qe(H) ? this._toVariables({ dark: H }, p) : {}, ne = qe(W) ? this._toVariables({ semantic: W }, p) : {}, Se = qe(T) ? this._toVariables({ light: T }, p) : {}, Te = qe(B) ? this._toVariables({ dark: B }, p) : {}, [Ie, ae] = [(r = K.declarations) != null ? r : "", K.tokens], [ge, me] = [(n = $.declarations) != null ? n : "", $.tokens || []], [te, Ae] = [(a = q.declarations) != null ? a : "", q.tokens || []], [Oe, Ee] = [(l = U.declarations) != null ? l : "", U.tokens || []], [Le, ve] = [(d = ne.declarations) != null ? d : "", ne.tokens || []], [at, he] = [(c = Se.declarations) != null ? c : "", Se.tokens || []], [L, oe] = [(u = Te.declarations) != null ? u : "", Te.tokens || []];
|
|
41353
41353
|
g = this.transformCSS(e, Ie, "light", "variable", p, i, s), f = ae;
|
|
41354
41354
|
const be = this.transformCSS(e, `${ge}${te}`, "light", "variable", p, i, s), et = this.transformCSS(e, `${Oe}`, "dark", "variable", p, i, s);
|
|
41355
41355
|
m = `${be}${et}`, b = [.../* @__PURE__ */ new Set([...me, ...Ae, ...Ee])];
|
|
41356
|
-
const Ht = this.transformCSS(e, `${Le}${at}color-scheme:light`, "light", "variable", p, i, s), Qe = this.transformCSS(e, `${
|
|
41356
|
+
const Ht = this.transformCSS(e, `${Le}${at}color-scheme:light`, "light", "variable", p, i, s), Qe = this.transformCSS(e, `${L}color-scheme:dark`, "dark", "variable", p, i, s);
|
|
41357
41357
|
y = `${Ht}${Qe}`, w = [.../* @__PURE__ */ new Set([...ve, ...he, ...oe])], R = Ko(h.css, { dt: Ci });
|
|
41358
41358
|
}
|
|
41359
41359
|
return {
|
|
@@ -41376,7 +41376,7 @@ var qt = {
|
|
|
41376
41376
|
var a, l, d;
|
|
41377
41377
|
let c, u, h;
|
|
41378
41378
|
if (qe(t) && o.transform !== "strict") {
|
|
41379
|
-
const p = e.replace("-directive", ""), g = t, { colorScheme: f, extend: m, css: b } = g, y = yo(g, ["colorScheme", "extend", "css"]), w = m || {}, { colorScheme: R } = w, D = yo(w, ["colorScheme"]), M = f || {}, { dark: F } = M, C = yo(M, ["dark"]), v = R || {}, { dark: S } = v, x = yo(v, ["dark"]),
|
|
41379
|
+
const p = e.replace("-directive", ""), g = t, { colorScheme: f, extend: m, css: b } = g, y = yo(g, ["colorScheme", "extend", "css"]), w = m || {}, { colorScheme: R } = w, D = yo(w, ["colorScheme"]), M = f || {}, { dark: F } = M, C = yo(M, ["dark"]), v = R || {}, { dark: S } = v, x = yo(v, ["dark"]), I = qe(y) ? this._toVariables({ [p]: Zt(Zt({}, y), D) }, o) : {}, W = qe(C) ? this._toVariables({ [p]: Zt(Zt({}, C), x) }, o) : {}, G = qe(F) ? this._toVariables({ [p]: Zt(Zt({}, F), S) }, o) : {}, [H, O] = [(a = I.declarations) != null ? a : "", I.tokens || []], [N, B] = [(l = W.declarations) != null ? l : "", W.tokens || []], [T, K] = [(d = G.declarations) != null ? d : "", G.tokens || []], $ = this.transformCSS(p, `${H}${N}`, "light", "variable", o, s, r, n), q = this.transformCSS(p, T, "dark", "variable", o, s, r, n);
|
|
41380
41380
|
c = `${$}${q}`, u = [.../* @__PURE__ */ new Set([...O, ...B, ...K])], h = Ko(b, { dt: Ci });
|
|
41381
41381
|
}
|
|
41382
41382
|
return {
|
|
@@ -41746,7 +41746,7 @@ function EE(e) {
|
|
|
41746
41746
|
}
|
|
41747
41747
|
var TE = 0;
|
|
41748
41748
|
function IE(e) {
|
|
41749
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = J(!1), i = J(e), s = J(null), r = cE() ? window.document : void 0, n = t.document, a = n === void 0 ? r : n, l = t.immediate, d = l === void 0 ? !0 : l, c = t.manual, u = c === void 0 ? !1 : c, h = t.name, p = h === void 0 ? "style_".concat(++TE) : h, g = t.id, f = g === void 0 ? void 0 : g, m = t.media, b = m === void 0 ? void 0 : m, y = t.nonce, w = y === void 0 ? void 0 : y, R = t.first, D = R === void 0 ? !1 : R, M = t.onMounted, F = M === void 0 ? void 0 : M, C = t.onUpdated, v = C === void 0 ? void 0 : C, S = t.onLoad, x = S === void 0 ? void 0 : S,
|
|
41749
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = J(!1), i = J(e), s = J(null), r = cE() ? window.document : void 0, n = t.document, a = n === void 0 ? r : n, l = t.immediate, d = l === void 0 ? !0 : l, c = t.manual, u = c === void 0 ? !1 : c, h = t.name, p = h === void 0 ? "style_".concat(++TE) : h, g = t.id, f = g === void 0 ? void 0 : g, m = t.media, b = m === void 0 ? void 0 : m, y = t.nonce, w = y === void 0 ? void 0 : y, R = t.first, D = R === void 0 ? !1 : R, M = t.onMounted, F = M === void 0 ? void 0 : M, C = t.onUpdated, v = C === void 0 ? void 0 : C, S = t.onLoad, x = S === void 0 ? void 0 : S, I = t.props, W = I === void 0 ? {} : I, G = function() {
|
|
41750
41750
|
}, H = function(B) {
|
|
41751
41751
|
var T = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
41752
41752
|
if (a) {
|
|
@@ -41999,7 +41999,7 @@ function UE() {
|
|
|
41999
41999
|
} }, D = "en", M = {};
|
|
42000
42000
|
M[D] = y;
|
|
42001
42001
|
var F = "$isDayjsObject", C = function(G) {
|
|
42002
|
-
return G instanceof
|
|
42002
|
+
return G instanceof I || !(!G || !G[F]);
|
|
42003
42003
|
}, v = function G(H, O, N) {
|
|
42004
42004
|
var B;
|
|
42005
42005
|
if (!H) return D;
|
|
@@ -42016,12 +42016,12 @@ function UE() {
|
|
|
42016
42016
|
}, S = function(G, H) {
|
|
42017
42017
|
if (C(G)) return G.clone();
|
|
42018
42018
|
var O = typeof H == "object" ? H : {};
|
|
42019
|
-
return O.date = G, O.args = arguments, new
|
|
42019
|
+
return O.date = G, O.args = arguments, new I(O);
|
|
42020
42020
|
}, x = R;
|
|
42021
42021
|
x.l = v, x.i = C, x.w = function(G, H) {
|
|
42022
42022
|
return S(G, { locale: H.$L, utc: H.$u, x: H.$x, $offset: H.$offset });
|
|
42023
42023
|
};
|
|
42024
|
-
var
|
|
42024
|
+
var I = function() {
|
|
42025
42025
|
function G(O) {
|
|
42026
42026
|
this.$L = v(O.locale, null, !0), this.parse(O), this.$x = this.$x || O.x || {}, this[F] = !0;
|
|
42027
42027
|
}
|
|
@@ -42236,13 +42236,13 @@ function UE() {
|
|
|
42236
42236
|
}, H.toString = function() {
|
|
42237
42237
|
return this.$d.toUTCString();
|
|
42238
42238
|
}, G;
|
|
42239
|
-
}(), W =
|
|
42239
|
+
}(), W = I.prototype;
|
|
42240
42240
|
return S.prototype = W, [["$ms", r], ["$s", n], ["$m", a], ["$H", l], ["$W", d], ["$M", u], ["$y", p], ["$D", g]].forEach(function(G) {
|
|
42241
42241
|
W[G[1]] = function(H) {
|
|
42242
42242
|
return this.$g(H, G[0], G[1]);
|
|
42243
42243
|
};
|
|
42244
42244
|
}), S.extend = function(G, H) {
|
|
42245
|
-
return G.$i || (G(H,
|
|
42245
|
+
return G.$i || (G(H, I, S), G.$i = !0), S;
|
|
42246
42246
|
}, S.locale = v, S.isDayjs = C, S.unix = function(G) {
|
|
42247
42247
|
return S(1e3 * G);
|
|
42248
42248
|
}, S.en = M[D], S.Ls = M, S.p = {}, S;
|
|
@@ -42487,8 +42487,7 @@ const rT = ["data-position", "aria-labelledby", "data-style", "data-static"], nT
|
|
|
42487
42487
|
}
|
|
42488
42488
|
}), lT = {
|
|
42489
42489
|
"data-testid": "pv-select-menu-control-panel",
|
|
42490
|
-
class: "pv-flex pv-space-between"
|
|
42491
|
-
style: { "padding-top": "12px" }
|
|
42490
|
+
class: "pv-flex pv-space-between"
|
|
42492
42491
|
}, dT = /* @__PURE__ */ De({
|
|
42493
42492
|
__name: "PvMenuControlPanel",
|
|
42494
42493
|
props: {
|
|
@@ -42849,15 +42848,20 @@ const CT = /* @__PURE__ */ Oo(fT, [["render", vT]]), bT = ["src"], wT = /* @__PU
|
|
|
42849
42848
|
useTeleport: t = !0,
|
|
42850
42849
|
popoverCssProperties: o
|
|
42851
42850
|
} = {}) => {
|
|
42852
|
-
const i = J(null), s = J(null), r = J(null), n = J(null), a = X(() => !i.value || !s.value ? 0 : e === "right" || e === "top right" ? i.value.left + i.value.width - s.value.width : i.value.left), l = X(() => !i.value || !s.value ? 0 : e === "top" || e === "top right" ? i.value.top - s.value.height : i.value.top + window.scrollY + i.value.height), d = X(() =>
|
|
42853
|
-
|
|
42851
|
+
const i = J(null), s = J(null), r = J(null), n = J(null), a = X(() => !i.value || !s.value ? 0 : e === "right" || e === "top right" ? i.value.left + i.value.width - s.value.width : i.value.left), l = X(() => !i.value || !s.value ? 0 : e === "top" || e === "top right" ? i.value.top - s.value.height : i.value.top + window.scrollY + i.value.height), d = X(() => {
|
|
42852
|
+
if (!t)
|
|
42853
|
+
return o;
|
|
42854
|
+
const u = {
|
|
42854
42855
|
position: "absolute",
|
|
42855
42856
|
left: `${a.value}px`,
|
|
42856
42857
|
top: `${l.value}px`,
|
|
42857
42858
|
zIndex: 10
|
|
42858
|
-
}
|
|
42859
|
-
|
|
42860
|
-
|
|
42859
|
+
};
|
|
42860
|
+
return {
|
|
42861
|
+
...o,
|
|
42862
|
+
...u
|
|
42863
|
+
};
|
|
42864
|
+
});
|
|
42861
42865
|
return {
|
|
42862
42866
|
triggerRef: r,
|
|
42863
42867
|
popoverRef: n,
|
|
@@ -42913,7 +42917,7 @@ const CT = /* @__PURE__ */ Oo(fT, [["render", vT]]), bT = ["src"], wT = /* @__PU
|
|
|
42913
42917
|
overlayTrigger: { type: Boolean },
|
|
42914
42918
|
optionsVariant: { default: "checkbox" },
|
|
42915
42919
|
options: { default: () => [] },
|
|
42916
|
-
useTeleport: { type: Boolean, default: !
|
|
42920
|
+
useTeleport: { type: Boolean, default: !1 }
|
|
42917
42921
|
}, {
|
|
42918
42922
|
modelValue: {
|
|
42919
42923
|
required: !1,
|
|
@@ -42952,7 +42956,7 @@ const CT = /* @__PURE__ */ Oo(fT, [["render", vT]]), bT = ["src"], wT = /* @__PU
|
|
|
42952
42956
|
const b = X(() => f.value === "" ? o.options : o.options.filter(
|
|
42953
42957
|
(C) => C.text.toLocaleLowerCase().includes(f.value.toLocaleLowerCase())
|
|
42954
42958
|
)), y = (C) => {
|
|
42955
|
-
const v = g.value, S = v.findIndex((
|
|
42959
|
+
const v = g.value, S = v.findIndex((I) => I.id === C.id);
|
|
42956
42960
|
let x;
|
|
42957
42961
|
S > -1 ? x = [...v.slice(0, S), ...v.slice(S + 1)] : x = [...v, { ...C }], g.value = x;
|
|
42958
42962
|
}, w = () => {
|
|
@@ -43002,10 +43006,7 @@ const CT = /* @__PURE__ */ Oo(fT, [["render", vT]]), bT = ["src"], wT = /* @__PU
|
|
|
43002
43006
|
teleportLocation: C.teleportLocation,
|
|
43003
43007
|
"use-teleport": C.useTeleport,
|
|
43004
43008
|
"css-custom-list-properties": C.showMenuAction ? { "padding-bottom": 0 } : {},
|
|
43005
|
-
popoverPositionStyle:
|
|
43006
|
-
...ie(r),
|
|
43007
|
-
...s
|
|
43008
|
-
}
|
|
43009
|
+
popoverPositionStyle: ie(r)
|
|
43009
43010
|
}, {
|
|
43010
43011
|
default: tt(() => [
|
|
43011
43012
|
C.showSearchInput ? (E(), z(We, { key: 0 }, [
|
|
@@ -43019,7 +43020,7 @@ const CT = /* @__PURE__ */ Oo(fT, [["render", vT]]), bT = ["src"], wT = /* @__PU
|
|
|
43019
43020
|
v[2] || (v[2] = Z("div", { class: "pv-border-top pv-stack-12" }, null, -1))
|
|
43020
43021
|
], 64)) : ee("", !0),
|
|
43021
43022
|
b.value.length > 0 ? (E(), z(We, { key: 1 }, [
|
|
43022
|
-
M.value ? (E(!0), z(We, { key: 0 }, Ro(D.value, ([S, x],
|
|
43023
|
+
M.value ? (E(!0), z(We, { key: 0 }, Ro(D.value, ([S, x], I) => (E(), z("div", { key: S }, [
|
|
43023
43024
|
C.$slots[S] ? Ct(C.$slots, S, { key: 0 }) : S !== "other" ? (E(), z("span", LT, xe(S), 1)) : ee("", !0),
|
|
43024
43025
|
Z("ul", GT, [
|
|
43025
43026
|
(E(!0), z(We, null, Ro(x, (W) => Ls((E(), z("li", {
|
|
@@ -43038,7 +43039,7 @@ const CT = /* @__PURE__ */ Oo(fT, [["render", vT]]), bT = ["src"], wT = /* @__PU
|
|
|
43038
43039
|
[af, F(W) || !C.isLoading]
|
|
43039
43040
|
])), 128))
|
|
43040
43041
|
]),
|
|
43041
|
-
D.value &&
|
|
43042
|
+
D.value && I !== D.value.length - 1 ? (E(), z("div", BT)) : ee("", !0)
|
|
43042
43043
|
]))), 128)) : (E(), z("ul", NT, [
|
|
43043
43044
|
(E(!0), z(We, null, Ro(b.value, (S) => (E(), z("li", {
|
|
43044
43045
|
key: S.id,
|
|
@@ -43475,7 +43476,10 @@ const M_ = (e) => {
|
|
|
43475
43476
|
stagedFilterModel: Vg,
|
|
43476
43477
|
setFilterSelectedValues: N_,
|
|
43477
43478
|
setFilterValueSearchText: V_
|
|
43478
|
-
}), __ = {
|
|
43479
|
+
}), __ = {
|
|
43480
|
+
class: "pv-flex pv-full-width pv-space-between",
|
|
43481
|
+
style: { "max-height": "16px" }
|
|
43482
|
+
}, z_ = { key: 0 }, W_ = { key: 1 }, $_ = /* @__PURE__ */ De({
|
|
43479
43483
|
__name: "FocusItemRenderer",
|
|
43480
43484
|
props: {
|
|
43481
43485
|
id: {},
|
|
@@ -43556,71 +43560,71 @@ const M_ = (e) => {
|
|
|
43556
43560
|
isServerSideFilter: p,
|
|
43557
43561
|
setFilterValueSearchText: g,
|
|
43558
43562
|
setFilterSelectedValues: f
|
|
43559
|
-
} = dd(), {
|
|
43563
|
+
} = dd(), { focuses: m, handleFocusUpdate: b, isFocused: y, removeFocus: w } = _n(), R = nt(
|
|
43560
43564
|
"firstDataRendered"
|
|
43561
43565
|
), D = J([]), M = J([]), F = X(() => o.filterColDef.field || ""), C = X(() => o.filterColDef.headerName || ""), v = J(!1), S = X(() => o.filterStyle == "vertical"), x = X(() => {
|
|
43562
|
-
const
|
|
43563
|
-
return
|
|
43564
|
-
}),
|
|
43566
|
+
const L = o.filterColDef.context;
|
|
43567
|
+
return L && L.filterValueFormatter && typeof L.filterValueFormatter == "function" ? L.filterValueFormatter : typeof o.filterColDef.valueFormatter == "function" ? o.filterColDef.valueFormatter : null;
|
|
43568
|
+
}), I = J(""), W = J(0), G = async () => {
|
|
43565
43569
|
H(), await O().then(() => {
|
|
43566
43570
|
v.value = !1;
|
|
43567
43571
|
});
|
|
43568
43572
|
}, H = () => {
|
|
43569
|
-
const
|
|
43573
|
+
const L = [];
|
|
43570
43574
|
if (n.value && n.value[F.value]?.values) {
|
|
43571
43575
|
const oe = n.value[F.value].values || [];
|
|
43572
|
-
|
|
43576
|
+
L.push(...oe);
|
|
43573
43577
|
}
|
|
43574
43578
|
D.value = Array.from(
|
|
43575
43579
|
/* @__PURE__ */ new Set([
|
|
43576
43580
|
...h(F.value),
|
|
43577
|
-
...
|
|
43581
|
+
...L
|
|
43578
43582
|
])
|
|
43579
43583
|
);
|
|
43580
|
-
}, O = async (
|
|
43584
|
+
}, O = async (L = !1, oe = !1) => {
|
|
43581
43585
|
const be = await s.value.getColumnFilterInstance(
|
|
43582
43586
|
F.value
|
|
43583
43587
|
);
|
|
43584
|
-
p() && (oe ||
|
|
43585
|
-
}, N = (
|
|
43588
|
+
p() && (oe || L && c.value[F.value] !== !0 && d.value > W.value) && (be.refreshFilterValues(), W.value = d.value), M.value = N(be.getFilterValues());
|
|
43589
|
+
}, N = (L) => L.sort((oe, be) => {
|
|
43586
43590
|
const et = D.value.includes(oe), Ht = D.value.includes(be);
|
|
43587
43591
|
return et && !Ht ? -1 : !et && Ht ? 1 : 0;
|
|
43588
|
-
}), B = (
|
|
43589
|
-
const oe = u(F.value,
|
|
43592
|
+
}), B = (L) => {
|
|
43593
|
+
const oe = u(F.value, L);
|
|
43590
43594
|
return x.value ? x.value({
|
|
43591
|
-
value:
|
|
43595
|
+
value: L,
|
|
43592
43596
|
context: oe
|
|
43593
|
-
}) :
|
|
43597
|
+
}) : L;
|
|
43594
43598
|
}, T = X(() => {
|
|
43595
|
-
const
|
|
43596
|
-
return
|
|
43599
|
+
const L = o.filterColDef.context;
|
|
43600
|
+
return L && L.filterSelectMax ? L.filterSelectMax : null;
|
|
43597
43601
|
}), K = X(() => {
|
|
43598
|
-
const
|
|
43599
|
-
return
|
|
43602
|
+
const L = o.filterColDef.context;
|
|
43603
|
+
return L && L.filterSelectMin ? L.filterSelectMin === 1 && T.value === 1 : !1;
|
|
43600
43604
|
}), $ = X(() => {
|
|
43601
|
-
const
|
|
43602
|
-
return
|
|
43605
|
+
const L = o.filterColDef.context;
|
|
43606
|
+
return L && L.filterOptionsSortDescription ? L.filterOptionsSortDescription : null;
|
|
43603
43607
|
}), q = X(() => {
|
|
43604
|
-
const
|
|
43605
|
-
return
|
|
43608
|
+
const L = o.filterColDef.context;
|
|
43609
|
+
return L && L.filterOptionsSortTooltip ? L.filterOptionsSortTooltip : null;
|
|
43606
43610
|
}), U = X(() => {
|
|
43607
|
-
const
|
|
43608
|
-
return
|
|
43611
|
+
const L = o.filterColDef.context;
|
|
43612
|
+
return L && L.filterSearch ? L.filterSearch : !0;
|
|
43609
43613
|
}), ne = X(() => {
|
|
43610
|
-
const
|
|
43611
|
-
if (
|
|
43612
|
-
return
|
|
43614
|
+
const L = o.filterColDef.context;
|
|
43615
|
+
if (L && L.emptyFilterResultsRenderer)
|
|
43616
|
+
return L.emptyFilterResultsRenderer;
|
|
43613
43617
|
}), Se = X(() => {
|
|
43614
|
-
const
|
|
43615
|
-
if (
|
|
43616
|
-
return
|
|
43618
|
+
const L = o.filterColDef.context;
|
|
43619
|
+
if (L && L.filterOptionsRenderer)
|
|
43620
|
+
return L.filterOptionsRenderer;
|
|
43617
43621
|
}), Te = X(() => {
|
|
43618
|
-
const
|
|
43619
|
-
if (
|
|
43620
|
-
return
|
|
43622
|
+
const L = o.filterColDef.context;
|
|
43623
|
+
if (L && L.filterFooterRenderer)
|
|
43624
|
+
return L.filterFooterRenderer;
|
|
43621
43625
|
}), Ie = X(() => T.value ? D.value.length >= T.value : !1), ae = X(() => M.value.filter(
|
|
43622
|
-
(
|
|
43623
|
-
)), ge = X(() => M.value.length === 1 && M.value[0] === null && D.value.length === 0), me = (
|
|
43626
|
+
(L) => !D.value.includes(L)
|
|
43627
|
+
)), ge = X(() => M.value.length === 1 && M.value[0] === null && D.value.length === 0), me = (L) => r.value[0] === L && o.enableFocusView, te = (L) => ge.value || u(F.value, L)?.isSelectable === !1 ? !0 : K.value ? !1 : Ie.value && !D.value.includes(L), Ae = X(() => M.value.filter((oe, be) => M.value.indexOf(oe) === be).filter((oe) => oe != null && oe !== "").map((oe) => {
|
|
43624
43628
|
let be = $.value ? "suggestions" : null;
|
|
43625
43629
|
return u(F.value, oe)?.isPreference && (be = "preferences"), {
|
|
43626
43630
|
id: oe,
|
|
@@ -43634,21 +43638,21 @@ const M_ = (e) => {
|
|
|
43634
43638
|
classList: ["option-label"]
|
|
43635
43639
|
};
|
|
43636
43640
|
})), Oe = X({
|
|
43637
|
-
get: () => D.value.map((
|
|
43638
|
-
id:
|
|
43639
|
-
text: B(
|
|
43641
|
+
get: () => D.value.map((L) => ({
|
|
43642
|
+
id: L,
|
|
43643
|
+
text: B(L)
|
|
43640
43644
|
})),
|
|
43641
|
-
set: (
|
|
43642
|
-
D.value =
|
|
43643
|
-
D.value.includes(oe) ||
|
|
43645
|
+
set: (L) => {
|
|
43646
|
+
D.value = L.map((oe) => oe.id), ve(), m.value.forEach((oe) => {
|
|
43647
|
+
D.value.includes(oe) || w(oe);
|
|
43644
43648
|
}), i("filter-selection-changed");
|
|
43645
43649
|
}
|
|
43646
43650
|
});
|
|
43647
43651
|
it(
|
|
43648
43652
|
() => c.value[F.value],
|
|
43649
43653
|
() => {
|
|
43650
|
-
const
|
|
43651
|
-
v.value && !
|
|
43654
|
+
const L = c.value[F.value];
|
|
43655
|
+
v.value && !L ? (O(), v.value = !1) : L && (v.value = !0);
|
|
43652
43656
|
},
|
|
43653
43657
|
{ deep: !0 }
|
|
43654
43658
|
), it(
|
|
@@ -43673,39 +43677,39 @@ const M_ = (e) => {
|
|
|
43673
43677
|
}
|
|
43674
43678
|
), it(
|
|
43675
43679
|
() => D.value,
|
|
43676
|
-
(
|
|
43677
|
-
f(F.value,
|
|
43680
|
+
(L) => {
|
|
43681
|
+
f(F.value, L);
|
|
43678
43682
|
}
|
|
43679
43683
|
), _k(
|
|
43680
|
-
() =>
|
|
43681
|
-
async (
|
|
43682
|
-
g(F.value,
|
|
43684
|
+
() => I.value,
|
|
43685
|
+
async (L) => {
|
|
43686
|
+
g(F.value, L), await O(!0, !0);
|
|
43683
43687
|
},
|
|
43684
43688
|
{ debounce: 300 }
|
|
43685
43689
|
);
|
|
43686
|
-
const Ee = (
|
|
43687
|
-
|
|
43688
|
-
}, Le = (
|
|
43689
|
-
D.value = D.value.filter((oe) => oe !==
|
|
43690
|
+
const Ee = (L) => {
|
|
43691
|
+
L && K.value ? D.value = [L] : L && !D.value.includes(L) && (D.value = [...D.value, L]), ve(), i("filter-selection-changed");
|
|
43692
|
+
}, Le = (L) => {
|
|
43693
|
+
D.value = D.value.filter((oe) => oe !== L), ve(), i("filter-selection-changed"), y(L) && w(L);
|
|
43690
43694
|
}, ve = () => {
|
|
43691
|
-
const
|
|
43695
|
+
const L = D.value.length > 0 ? D.value : null;
|
|
43692
43696
|
if (S.value) {
|
|
43693
43697
|
a.value = {
|
|
43694
43698
|
...a.value,
|
|
43695
43699
|
[F.value]: {
|
|
43696
|
-
values:
|
|
43700
|
+
values: L
|
|
43697
43701
|
}
|
|
43698
43702
|
}, d.value += 1;
|
|
43699
43703
|
return;
|
|
43700
43704
|
}
|
|
43701
43705
|
s.value.setColumnFilterModel(F.value, {
|
|
43702
|
-
values:
|
|
43706
|
+
values: L
|
|
43703
43707
|
}).then(() => {
|
|
43704
43708
|
s.value.onFilterChanged();
|
|
43705
43709
|
});
|
|
43706
|
-
}, at = (
|
|
43707
|
-
|
|
43708
|
-
focuses:
|
|
43710
|
+
}, at = (L) => {
|
|
43711
|
+
b(F.value, L), L && !D.value.includes(L) && Ee(L), i("focus-update", {
|
|
43712
|
+
focuses: m.value,
|
|
43709
43713
|
filterField: F.value || null
|
|
43710
43714
|
});
|
|
43711
43715
|
}, he = () => {
|
|
@@ -43713,7 +43717,7 @@ const M_ = (e) => {
|
|
|
43713
43717
|
};
|
|
43714
43718
|
return Lo(() => {
|
|
43715
43719
|
G();
|
|
43716
|
-
}), (
|
|
43720
|
+
}), (L, oe) => (E(), z(We, null, [
|
|
43717
43721
|
Z("div", null, [
|
|
43718
43722
|
S.value ? (E(), z("ul", U_, [
|
|
43719
43723
|
(E(!0), z(We, null, Ro(D.value, (be) => (E(), z("li", {
|
|
@@ -43729,8 +43733,8 @@ const M_ = (e) => {
|
|
|
43729
43733
|
Ge(ie(zT), {
|
|
43730
43734
|
modelValue: Oe.value,
|
|
43731
43735
|
"onUpdate:modelValue": oe[1] || (oe[1] = (be) => Oe.value = be),
|
|
43732
|
-
searchInput:
|
|
43733
|
-
"onUpdate:searchInput": oe[2] || (oe[2] = (be) =>
|
|
43736
|
+
searchInput: I.value,
|
|
43737
|
+
"onUpdate:searchInput": oe[2] || (oe[2] = (be) => I.value = be),
|
|
43734
43738
|
label: S.value ? "" : C.value,
|
|
43735
43739
|
icon: S.value ? "add-circle" : void 0,
|
|
43736
43740
|
variant: S.value ? "ghost" : "secondary",
|
|
@@ -43748,8 +43752,6 @@ const M_ = (e) => {
|
|
|
43748
43752
|
},
|
|
43749
43753
|
groupings: ["preferences", "suggestions"],
|
|
43750
43754
|
isLoading: v.value,
|
|
43751
|
-
"use-teleport": !1,
|
|
43752
|
-
"teleport-location": S.value ? "#filter-vertical-drawer" : "body",
|
|
43753
43755
|
onDropdownOpen: oe[3] || (oe[3] = (be) => O(!0)),
|
|
43754
43756
|
onDropdownClosed: he
|
|
43755
43757
|
}, vd({
|
|
@@ -43764,7 +43766,7 @@ const M_ = (e) => {
|
|
|
43764
43766
|
Ge(vt, {
|
|
43765
43767
|
size: "md",
|
|
43766
43768
|
variant: "ghost",
|
|
43767
|
-
onClick: oe[0] || (oe[0] = (be) =>
|
|
43769
|
+
onClick: oe[0] || (oe[0] = (be) => L.$emit("handle-settings-icon", C.value)),
|
|
43768
43770
|
"right-icon": "sliders-horizontal"
|
|
43769
43771
|
})
|
|
43770
43772
|
]),
|
|
@@ -43818,7 +43820,7 @@ const M_ = (e) => {
|
|
|
43818
43820
|
]),
|
|
43819
43821
|
key: "1"
|
|
43820
43822
|
} : void 0
|
|
43821
|
-
]), 1032, ["modelValue", "searchInput", "label", "icon", "variant", "counterPosition", "showClear", "showSearchInput", "showDropdown", "overlayTrigger", "options", "popoverCssProperties", "isLoading"
|
|
43823
|
+
]), 1032, ["modelValue", "searchInput", "label", "icon", "variant", "counterPosition", "showClear", "showSearchInput", "showDropdown", "overlayTrigger", "options", "popoverCssProperties", "isLoading"])
|
|
43822
43824
|
]),
|
|
43823
43825
|
S.value ? (E(), z("div", q_, [
|
|
43824
43826
|
ae.value.length > 0 ? (E(), z("div", X_, [
|
|
@@ -43839,7 +43841,7 @@ const M_ = (e) => {
|
|
|
43839
43841
|
])) : ee("", !0)
|
|
43840
43842
|
], 64));
|
|
43841
43843
|
}
|
|
43842
|
-
}), iu = /* @__PURE__ */ Oo(J_, [["__scopeId", "data-v-
|
|
43844
|
+
}), iu = /* @__PURE__ */ Oo(J_, [["__scopeId", "data-v-58806f9e"]]), ez = { class: "pv-flex" }, tz = { class: "pv-flex" }, oz = {
|
|
43843
43845
|
id: "filter-vertical-drawer",
|
|
43844
43846
|
class: "pv-flex-vertical pv-space-between pv-full-width",
|
|
43845
43847
|
style: { height: "100%", "overflow-x": "hidden" }
|
|
@@ -43889,7 +43891,7 @@ const M_ = (e) => {
|
|
|
43889
43891
|
}, m = () => {
|
|
43890
43892
|
r.value = null, a.value?.close();
|
|
43891
43893
|
}, b = () => {
|
|
43892
|
-
t.value.setFilterModel(r.value), t.value.onFilterChanged(), a.value?.close(), s.value += 1;
|
|
43894
|
+
u.value && (t.value.setFilterModel(r.value), t.value.onFilterChanged(), a.value?.close(), s.value += 1);
|
|
43893
43895
|
};
|
|
43894
43896
|
return (y, w) => (E(), z(We, null, [
|
|
43895
43897
|
Z("div", ez, [
|
|
@@ -43932,7 +43934,7 @@ const M_ = (e) => {
|
|
|
43932
43934
|
ref_key: "filterDrawer",
|
|
43933
43935
|
ref: a,
|
|
43934
43936
|
class: "pv-drawer pv-surface",
|
|
43935
|
-
onClick: w[9] || (w[9] = Js((R) =>
|
|
43937
|
+
onClick: w[9] || (w[9] = Js((R) => b(), ["self"])),
|
|
43936
43938
|
style: { "max-width": "450px" }
|
|
43937
43939
|
}, [
|
|
43938
43940
|
Z("div", oz, [
|
|
@@ -44615,7 +44617,7 @@ const i2 = {
|
|
|
44615
44617
|
filterModel: v,
|
|
44616
44618
|
filterValuesLoadingStatus: S,
|
|
44617
44619
|
filterValueMap: x,
|
|
44618
|
-
filterValueSelectedMetadataMap:
|
|
44620
|
+
filterValueSelectedMetadataMap: I,
|
|
44619
44621
|
fetchFilterValues: W,
|
|
44620
44622
|
filterStoreHandler: G
|
|
44621
44623
|
} = dd();
|
|
@@ -44646,7 +44648,7 @@ const i2 = {
|
|
|
44646
44648
|
}
|
|
44647
44649
|
const j = A || { route: [], purge: !0 };
|
|
44648
44650
|
F.value.refreshServerSide(j);
|
|
44649
|
-
}, ge = () =>
|
|
44651
|
+
}, ge = () => I.value, me = async () => {
|
|
44650
44652
|
if (Ie.value = !0, !F.value)
|
|
44651
44653
|
return console.error("Grid API not available"), Ie.value = !1, null;
|
|
44652
44654
|
try {
|
|
@@ -44717,9 +44719,9 @@ const i2 = {
|
|
|
44717
44719
|
(pt) => pt.getColId()
|
|
44718
44720
|
);
|
|
44719
44721
|
const Fe = re.length > 0 ? re[0] : null;
|
|
44720
|
-
Fe ? (T.value = Fe,
|
|
44722
|
+
Fe ? (T.value = Fe, L.value.headerName = Fe.getColDef().headerName, L.value.headerComponent = ru, L.value.context = {
|
|
44721
44723
|
dataType: T.value?.getColDef().context?.dataType || null
|
|
44722
|
-
}, A.api.setColumnsVisible([Fe.getColId()], !1)) : (T.value = null,
|
|
44724
|
+
}, A.api.setColumnsVisible([Fe.getColId()], !1)) : (T.value = null, L.value.headerName = "", L.value.headerComponent = void 0, L.value.context = null);
|
|
44723
44725
|
const Be = j?.getColId();
|
|
44724
44726
|
(!Fe || Be !== Fe.getColId()) && A.api.setColumnsVisible([Be || ""], !0), l("column-row-group-changed", A);
|
|
44725
44727
|
}, Ae = (A) => {
|
|
@@ -44744,7 +44746,7 @@ const i2 = {
|
|
|
44744
44746
|
return !1;
|
|
44745
44747
|
}, at = J(w_), he = J({
|
|
44746
44748
|
loadingMessage: "One moment please..."
|
|
44747
|
-
}),
|
|
44749
|
+
}), L = J({
|
|
44748
44750
|
headerName: "",
|
|
44749
44751
|
minWidth: 200,
|
|
44750
44752
|
suppressMovable: !0,
|
|
@@ -44877,7 +44879,7 @@ const i2 = {
|
|
|
44877
44879
|
onPaginationChanged: Ee,
|
|
44878
44880
|
onSortChanged: Se,
|
|
44879
44881
|
aggFuncs: be,
|
|
44880
|
-
autoGroupColumnDef:
|
|
44882
|
+
autoGroupColumnDef: L.value,
|
|
44881
44883
|
columnDefs: m.value,
|
|
44882
44884
|
debug: A.debugMode,
|
|
44883
44885
|
defaultColDef: ie(h),
|