@corvina/vue-components-library 1.0.0-beta.2 → 1.0.0-beta.3
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/CHANGELOG.md +3 -0
- package/components/CorvinaTable.ce.vue.d.ts +4 -7
- package/components/CorvinaTable.ce.vue.d.ts.map +1 -1
- package/index.d.ts +13 -2
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/vue-components-library.css +1 -1
- package/vue-components-library.es.js +258 -248
|
@@ -3,26 +3,26 @@ import { VIcon as N } from "vuetify/components/VIcon";
|
|
|
3
3
|
import { VCombobox as te } from "vuetify/components";
|
|
4
4
|
import { VProgressCircular as P } from "vuetify/components/VProgressCircular";
|
|
5
5
|
import { VAutocomplete as F } from "vuetify/components/VAutocomplete";
|
|
6
|
-
import { VList as I, VListItem as ne, VListItemTitle as
|
|
7
|
-
import { VMenu as
|
|
8
|
-
import { VTooltip as
|
|
9
|
-
import { VBtn as
|
|
10
|
-
import { VChip as
|
|
11
|
-
import { VDataTableServer as
|
|
12
|
-
import { VDefaultsProvider as
|
|
13
|
-
import { VRow as
|
|
14
|
-
import { VInfiniteScroll as
|
|
15
|
-
import { VLayout as
|
|
16
|
-
import { VSelect as
|
|
17
|
-
import { VSlideGroup as
|
|
6
|
+
import { VList as I, VListItem as ne, VListItemTitle as re } from "vuetify/components/VList";
|
|
7
|
+
import { VMenu as L } from "vuetify/components/VMenu";
|
|
8
|
+
import { VTooltip as R } from "vuetify/components/VTooltip";
|
|
9
|
+
import { VBtn as z } from "vuetify/components/VBtn";
|
|
10
|
+
import { VChip as B } from "vuetify/components/VChip";
|
|
11
|
+
import { VDataTableServer as V, VDataTableVirtual as ie } from "vuetify/components/VDataTable";
|
|
12
|
+
import { VDefaultsProvider as ae } from "vuetify/components/VDefaultsProvider";
|
|
13
|
+
import { VRow as oe } from "vuetify/components/VGrid";
|
|
14
|
+
import { VInfiniteScroll as H } from "vuetify/components/VInfiniteScroll";
|
|
15
|
+
import { VLayout as U } from "vuetify/components/VLayout";
|
|
16
|
+
import { VSelect as se } from "vuetify/components/VSelect";
|
|
17
|
+
import { VSlideGroup as ce, VSlideGroupItem as le } from "vuetify/components/VSlideGroup";
|
|
18
18
|
// \0rolldown/runtime.js
|
|
19
|
-
var
|
|
20
|
-
if (t && typeof t == "object" || typeof t == "function") for (var i = de(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !
|
|
19
|
+
var W = Object.create, ue = Object.defineProperty, G = Object.getOwnPropertyDescriptor, de = Object.getOwnPropertyNames, fe = Object.getPrototypeOf, K = Object.prototype.hasOwnProperty, q = (e, t) => () => (t || (e((t = { exports: {} }).exports, t, t.exports), e = null), t.exports), pe = (e, t, n, r) => {
|
|
20
|
+
if (t && typeof t == "object" || typeof t == "function") for (var i = de(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !K.call(e, s) && s !== n && ue(e, s, {
|
|
21
21
|
get: ((e) => t[e]).bind(null, s),
|
|
22
|
-
enumerable: !(r =
|
|
22
|
+
enumerable: !(r = G(t, s)) || r.enumerable
|
|
23
23
|
});
|
|
24
24
|
return e;
|
|
25
|
-
},
|
|
25
|
+
}, J = (e, t, n) => (n = e == null ? {} : W(fe(e)), pe(t || !e || !e.__esModule || !K.call(e, "default") ? ue(n, "default", {
|
|
26
26
|
value: e,
|
|
27
27
|
enumerable: !0
|
|
28
28
|
}) : n, e)), Y;
|
|
@@ -478,7 +478,7 @@ var Ce = /* @__PURE__ */ _e(ve, [["render", Se], ["__scopeId", "data-v-d3e37633"
|
|
|
478
478
|
"no-data-text"
|
|
479
479
|
]));
|
|
480
480
|
}
|
|
481
|
-
}),
|
|
481
|
+
}), ke = ["value", "placeholder"], Ae = /* @__PURE__ */ l({
|
|
482
482
|
__name: "Searchbar",
|
|
483
483
|
props: {
|
|
484
484
|
searchPlaceholder: { default: "Search..." },
|
|
@@ -610,7 +610,7 @@ var Ce = /* @__PURE__ */ _e(ve, [["render", Se], ["__scopeId", "data-v-d3e37633"
|
|
|
610
610
|
onInput: g,
|
|
611
611
|
onKeyup: j(y, ["enter"]),
|
|
612
612
|
ref: "input"
|
|
613
|
-
}, null, 42,
|
|
613
|
+
}, null, 42, ke),
|
|
614
614
|
o.clearable ? (_(), i(e, { key: 0 }, [u.searchModel ? (_(), n(N, {
|
|
615
615
|
key: 0,
|
|
616
616
|
class: f({
|
|
@@ -637,7 +637,7 @@ var Ce = /* @__PURE__ */ _e(ve, [["render", Se], ["__scopeId", "data-v-d3e37633"
|
|
|
637
637
|
}, 8, ["color"])) : r("", !0)
|
|
638
638
|
], 2));
|
|
639
639
|
}
|
|
640
|
-
}),
|
|
640
|
+
}), je = /* @__PURE__ */ l({
|
|
641
641
|
__name: "CustomRenderer",
|
|
642
642
|
props: { element: {} },
|
|
643
643
|
setup(e) {
|
|
@@ -653,7 +653,7 @@ var Ce = /* @__PURE__ */ _e(ve, [["render", Se], ["__scopeId", "data-v-d3e37633"
|
|
|
653
653
|
ref: n
|
|
654
654
|
}, null, 512));
|
|
655
655
|
}
|
|
656
|
-
}),
|
|
656
|
+
}), Q = ["onClick", "width"], Me = { key: 2 }, Ne = {
|
|
657
657
|
key: 0,
|
|
658
658
|
class: "sort-icon-container"
|
|
659
659
|
}, Pe = { key: 1 }, Fe = {
|
|
@@ -699,11 +699,11 @@ var Ce = /* @__PURE__ */ _e(ve, [["render", Se], ["__scopeId", "data-v-d3e37633"
|
|
|
699
699
|
],
|
|
700
700
|
onClick: (e) => h(t),
|
|
701
701
|
width: t.width
|
|
702
|
-
}, { ref_for: !0 }, t.colAttributes), [t.menuActions ? (_(), i("div", Pe, [c(
|
|
702
|
+
}, { ref_for: !0 }, t.colAttributes), [t.menuActions ? (_(), i("div", Pe, [c(R, {
|
|
703
703
|
attach: p.value,
|
|
704
704
|
location: t.alignHeaderTooltip ? t.alignHeaderTooltip : "top"
|
|
705
705
|
}, {
|
|
706
|
-
activator: A(({ props: r }) => [a("div", u({ ref_for: !0 }, t.tooltip ? r : {}), [c(
|
|
706
|
+
activator: A(({ props: r }) => [a("div", u({ ref_for: !0 }, t.tooltip ? r : {}), [c(L, u({ ref_for: !0 }, r, {
|
|
707
707
|
attach: p.value,
|
|
708
708
|
location: "bottom end",
|
|
709
709
|
origin: "auto"
|
|
@@ -713,7 +713,7 @@ var Ce = /* @__PURE__ */ _e(ve, [["render", Se], ["__scopeId", "data-v-d3e37633"
|
|
|
713
713
|
icon: t.menuActionIcon || "ecc:ecc-T-More"
|
|
714
714
|
}, { ref_for: !0 }, e), null, 16, ["disabled", "icon"])]),
|
|
715
715
|
default: A(() => [c(I, { class: "droplist" }, {
|
|
716
|
-
default: A(() => [(_(!0), i(e, null, x(t.menuActions, (e, r) => (_(), n(
|
|
716
|
+
default: A(() => [(_(!0), i(e, null, x(t.menuActions, (e, r) => (_(), n(R, {
|
|
717
717
|
key: "item_" + r,
|
|
718
718
|
location: e.alignTooltip ? e.alignTooltip : "left"
|
|
719
719
|
}, {
|
|
@@ -721,7 +721,7 @@ var Ce = /* @__PURE__ */ _e(ve, [["render", Se], ["__scopeId", "data-v-d3e37633"
|
|
|
721
721
|
disabled: e.disabled,
|
|
722
722
|
onClick: (n) => e.function(t)
|
|
723
723
|
}, {
|
|
724
|
-
default: A(() => [c(
|
|
724
|
+
default: A(() => [c(re, null, {
|
|
725
725
|
default: A(() => [s(T(e.title), 1)]),
|
|
726
726
|
_: 2
|
|
727
727
|
}, 1024)]),
|
|
@@ -739,14 +739,14 @@ var Ce = /* @__PURE__ */ _e(ve, [["render", Se], ["__scopeId", "data-v-d3e37633"
|
|
|
739
739
|
}, 1032, ["attach", "location"])])) : (_(), i("div", {
|
|
740
740
|
key: 0,
|
|
741
741
|
class: f(["d-flex", [t.align == null ? "" : "justify-" + t.align]])
|
|
742
|
-
}, [c(
|
|
742
|
+
}, [c(R, {
|
|
743
743
|
attach: p.value,
|
|
744
744
|
location: t.alignHeaderTooltip ? t.alignHeaderTooltip : "top"
|
|
745
745
|
}, {
|
|
746
746
|
activator: A(({ props: e }) => [a("div", u({ ref_for: !0 }, t.tooltip ? e : {}), [t.headerCellType == D(Y).TABLE.HEADER_CELL_TYPE.VUE_COMPONENT && t.headerVueComponent ? (_(), n(w(t.headerVueComponent.component), u({
|
|
747
747
|
key: 0,
|
|
748
748
|
ref_for: !0
|
|
749
|
-
}, t.headerVueComponent.props), null, 16)) : t.headerCellType == D(Y).TABLE.HEADER_CELL_TYPE.CUSTOM && t.customHeaderCellGeneratorFunction ? (_(), n(
|
|
749
|
+
}, t.headerVueComponent.props), null, 16)) : t.headerCellType == D(Y).TABLE.HEADER_CELL_TYPE.CUSTOM && t.customHeaderCellGeneratorFunction ? (_(), n(je, {
|
|
750
750
|
key: 1,
|
|
751
751
|
class: "custom-render",
|
|
752
752
|
element: t.customHeaderCellGeneratorFunction()
|
|
@@ -763,7 +763,7 @@ var Ce = /* @__PURE__ */ _e(ve, [["render", Se], ["__scopeId", "data-v-d3e37633"
|
|
|
763
763
|
size: "x-small",
|
|
764
764
|
"data-qa": "table-column-sorting-arrow",
|
|
765
765
|
icon: o.sortDesc ? "arrow_downward" : "arrow_upward"
|
|
766
|
-
}, null, 8, ["icon"])])) : r("", !0)], 2))], 16,
|
|
766
|
+
}, null, 8, ["icon"])])) : r("", !0)], 2))], 16, Q))), 128))], 512));
|
|
767
767
|
}
|
|
768
768
|
}), Le = (e, t) => {
|
|
769
769
|
let n = e.__vccOpts || e;
|
|
@@ -954,7 +954,7 @@ var yt = {
|
|
|
954
954
|
}, bt = { key: 0 }, xt = ["disabled", "data-qa"], St = ["disabled", "data-qa"];
|
|
955
955
|
function Ct(e, t, o, s, l, d) {
|
|
956
956
|
let p = C("corvina-icon-internal");
|
|
957
|
-
return o.tooltip != "" || o.shrink && o.label ? (_(), i("div", bt, [c(
|
|
957
|
+
return o.tooltip != "" || o.shrink && o.label ? (_(), i("div", bt, [c(R, {
|
|
958
958
|
bottom: "",
|
|
959
959
|
flex: "",
|
|
960
960
|
attach: o.attach,
|
|
@@ -1156,24 +1156,24 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1156
1156
|
let e = [];
|
|
1157
1157
|
return d.headers instanceof Array ? e = d.headers : typeof d.headers == "string" && (e = JSON.parse(d.headers)), d.isExpandable ? [Fe, ...e] : e;
|
|
1158
1158
|
}), h = t(() => d.items instanceof Array ? d.items : typeof d.items == "string" ? JSON.parse(d.items) : []), g = t(() => d.itemsPerPageOptions == null ? Kt : d.itemsPerPageOptions instanceof Array ? d.itemsPerPageOptions : typeof d.itemsPerPageOptions == "string" ? JSON.parse(d.itemsPerPageOptions) : Kt), v = (e) => {
|
|
1159
|
-
|
|
1159
|
+
k("rowExpanded", e);
|
|
1160
1160
|
}, y = (e) => e === d.expandedRowIndex, C = () => {
|
|
1161
|
-
d.expandedRowIndex != -1 &&
|
|
1162
|
-
}, E = (e, t) => [e.align == null ? "" : "text-" + e.align, e.propCellClass ? t[e.propCellClass] : ""], O = l,
|
|
1163
|
-
|
|
1164
|
-
}, ee = (e) => {
|
|
1165
|
-
O("currentPageChanged", e), C();
|
|
1161
|
+
d.expandedRowIndex != -1 && k("rowExpanded", -1);
|
|
1162
|
+
}, E = (e, t) => [e.align == null ? "" : "text-" + e.align, e.propCellClass ? t[e.propCellClass] : ""], O = (e) => `item.${e.key}`, k = l, ee = (e) => {
|
|
1163
|
+
k("handleSorting", e), C();
|
|
1166
1164
|
}, j = (e) => {
|
|
1167
|
-
|
|
1165
|
+
k("currentPageChanged", e), C();
|
|
1168
1166
|
}, te = (e) => {
|
|
1169
|
-
|
|
1170
|
-
}, P = (e
|
|
1171
|
-
|
|
1172
|
-
}, F = (e, t
|
|
1167
|
+
k("currentItemsPerPageChanged", e), C();
|
|
1168
|
+
}, P = (e) => {
|
|
1169
|
+
k("loadMore", e), C();
|
|
1170
|
+
}, F = (e, t) => {
|
|
1171
|
+
k("rowClicked", e, t);
|
|
1172
|
+
}, W = (e, t, n) => {
|
|
1173
1173
|
let r = t;
|
|
1174
1174
|
for (; t > 0;) if (--t, (n[e[t].propColspan] || 1) > r - t) return !1;
|
|
1175
1175
|
return !0;
|
|
1176
|
-
},
|
|
1176
|
+
}, ue = (e, t) => {
|
|
1177
1177
|
if (e.props) {
|
|
1178
1178
|
if (e.itemPropName) {
|
|
1179
1179
|
let n = e.props;
|
|
@@ -1183,94 +1183,94 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1183
1183
|
}
|
|
1184
1184
|
return {};
|
|
1185
1185
|
}, G = b();
|
|
1186
|
-
function ue(e) {
|
|
1187
|
-
O("update:searchModel", e);
|
|
1188
|
-
}
|
|
1189
1186
|
function de(e) {
|
|
1187
|
+
k("update:searchModel", e);
|
|
1188
|
+
}
|
|
1189
|
+
function fe(e) {
|
|
1190
1190
|
q.value = e;
|
|
1191
1191
|
}
|
|
1192
|
-
let K = b(void 0), q = b(""),
|
|
1193
|
-
|
|
1194
|
-
},
|
|
1192
|
+
let K = b(void 0), q = b(""), pe = b(), J = b([]), me = () => {
|
|
1193
|
+
k("update:filters", []);
|
|
1194
|
+
}, Z = (e) => {
|
|
1195
1195
|
if (!e || !e.key || e.value === void 0 || e.value === "") {
|
|
1196
1196
|
console.error("removeFilter: missing data in", e);
|
|
1197
1197
|
return;
|
|
1198
1198
|
}
|
|
1199
1199
|
let t = d.filters.filter((t) => t.key !== e.key || t.value !== e.value);
|
|
1200
|
-
|
|
1201
|
-
},
|
|
1202
|
-
J.value = [],
|
|
1203
|
-
},
|
|
1204
|
-
|
|
1205
|
-
},
|
|
1206
|
-
K.value && K.value.key && e &&
|
|
1200
|
+
k("update:filters", t);
|
|
1201
|
+
}, he = async (e) => {
|
|
1202
|
+
J.value = [], pe.value?.resetSearch(), k("update:filterBy", e);
|
|
1203
|
+
}, ge = () => {
|
|
1204
|
+
_e(q.value);
|
|
1205
|
+
}, _e = (e) => {
|
|
1206
|
+
K.value && K.value.key && e && ye({
|
|
1207
1207
|
key: K.value.key,
|
|
1208
1208
|
value: e
|
|
1209
1209
|
});
|
|
1210
|
-
},
|
|
1211
|
-
K.value && K.value.key &&
|
|
1210
|
+
}, ve = (e) => {
|
|
1211
|
+
K.value && K.value.key && ye({
|
|
1212
1212
|
key: K.value.key,
|
|
1213
1213
|
value: e.value,
|
|
1214
1214
|
title: e.title
|
|
1215
1215
|
});
|
|
1216
1216
|
};
|
|
1217
|
-
function ve(e) {
|
|
1218
|
-
d.filters.some((t) => t.key === e.key && t.value === e.value) || O("update:filters", [...d.filters, e]), q.value = "", fe.value?.clear();
|
|
1219
|
-
}
|
|
1220
1217
|
function ye(e) {
|
|
1218
|
+
d.filters.some((t) => t.key === e.key && t.value === e.value) || k("update:filters", [...d.filters, e]), q.value = "", pe.value?.clear();
|
|
1219
|
+
}
|
|
1220
|
+
function be(e) {
|
|
1221
1221
|
return d.allowedFilters.find((t) => t.key === e)?.title || e;
|
|
1222
1222
|
}
|
|
1223
|
-
let
|
|
1224
|
-
async function
|
|
1223
|
+
let xe = b(!1);
|
|
1224
|
+
async function Se(e = "", t = 0, n = void 0) {
|
|
1225
1225
|
if (K.value?.type == Y.BREADCRUMB.FILTER_BY_ENUM.AUTOCOMPLETE && K.value?.searchFunction) {
|
|
1226
|
-
|
|
1226
|
+
xe.value = !0;
|
|
1227
1227
|
let r = await K.value?.searchFunction(e, t);
|
|
1228
|
-
t > 0 ? J.value = [...J.value, ...r] : J.value = r,
|
|
1228
|
+
t > 0 ? J.value = [...J.value, ...r] : J.value = r, xe.value = !1, n && (r.length == 0 ? n.complete() : n.loaded());
|
|
1229
1229
|
}
|
|
1230
1230
|
return () => {};
|
|
1231
1231
|
}
|
|
1232
|
-
let
|
|
1233
|
-
async function
|
|
1234
|
-
return
|
|
1232
|
+
let Ce = vt(Se, 350);
|
|
1233
|
+
async function we(e) {
|
|
1234
|
+
return Ce(e.search, e.page, e.infinityLoaderState);
|
|
1235
1235
|
}
|
|
1236
|
-
let
|
|
1236
|
+
let Te = t(() => d.filters.map((e) => ({
|
|
1237
1237
|
value: e.value,
|
|
1238
1238
|
key: e.key
|
|
1239
|
-
}))),
|
|
1239
|
+
}))), Ee = t(() => {
|
|
1240
1240
|
let e = (e) => String(e.title ?? e.value);
|
|
1241
1241
|
return [...d.filters].sort((t, n) => t.key < n.key ? -1 : t.key > n.key ? 1 : e(t) < e(n) ? -1 : +(e(t) > e(n)));
|
|
1242
|
-
}),
|
|
1242
|
+
}), De = t(() => !!(K.value && q.value)), Oe = t(() => Te.value.length), ke = t(() => K.value?.type == Y.BREADCRUMB.FILTER_BY_ENUM.AUTOCOMPLETE), Q = b(d.showSearchBar && (!d.showFilterChips || d.searchModel.length > 0 || d.filters.length === 0) ? Y.BREADCRUMB.ACTIVE_CONTROL.SEARCH : Y.BREADCRUMB.ACTIVE_CONTROL.FILTER_CHIPS), Me = (e) => {
|
|
1243
1243
|
Q.value = e;
|
|
1244
|
-
},
|
|
1244
|
+
}, Ne = t(() => d.filters.length > 0);
|
|
1245
1245
|
return (t, l) => (_(), i("div", {
|
|
1246
1246
|
ref_key: "tableRef",
|
|
1247
1247
|
ref: G,
|
|
1248
1248
|
class: "corvina corvina-table",
|
|
1249
1249
|
style: { height: "100%" }
|
|
1250
|
-
}, [o.showFilterChips || o.showSearchBar ? (_(), n(
|
|
1250
|
+
}, [o.showFilterChips || o.showSearchBar ? (_(), n(U, {
|
|
1251
1251
|
key: 0,
|
|
1252
1252
|
class: "filter-bar"
|
|
1253
1253
|
}, {
|
|
1254
|
-
default: A(() => [c(
|
|
1255
|
-
default: A(() => [c(
|
|
1254
|
+
default: A(() => [c(oe, { "no-gutters": "" }, {
|
|
1255
|
+
default: A(() => [c(U, { class: f(["filter-bar-search search-element bg-wt", { "pl-4": o.showFilterChips && Q.value === D(Y).BREADCRUMB.ACTIVE_CONTROL.FILTER_CHIPS }]) }, {
|
|
1256
1256
|
default: A(() => [
|
|
1257
1257
|
o.filtersCustomComponent && o.filtersCustomComponent.position == D(Y).BREADCRUMB.CUSTOM_COMPONENT_POSITION.PREPEND ? (_(), i(e, { key: 0 }, [o.filtersCustomComponent.component ? (_(), n(w(o.filtersCustomComponent.component), p(u({ key: 0 }, o.filtersCustomComponent.props || {})), null, 16)) : r("", !0)], 64)) : r("", !0),
|
|
1258
|
-
o.showSearchBar && Q.value === D(Y).BREADCRUMB.ACTIVE_CONTROL.SEARCH ? (_(), n(
|
|
1258
|
+
o.showSearchBar && Q.value === D(Y).BREADCRUMB.ACTIVE_CONTROL.SEARCH ? (_(), n(Ae, {
|
|
1259
1259
|
key: 1,
|
|
1260
1260
|
class: "px-4",
|
|
1261
1261
|
searchPlaceholder: o.searchPlaceholder,
|
|
1262
1262
|
searchModel: o.searchModel,
|
|
1263
1263
|
clearOnConfirm: !1,
|
|
1264
1264
|
iconEnabled: !1,
|
|
1265
|
-
onOnInputChange: l[0] ||= (e) =>
|
|
1265
|
+
onOnInputChange: l[0] ||= (e) => de(e),
|
|
1266
1266
|
clearable: "",
|
|
1267
1267
|
"highlight-on-search-active": ""
|
|
1268
1268
|
}, null, 8, ["searchPlaceholder", "searchModel"])) : r("", !0),
|
|
1269
|
-
o.showFilterChips && Q.value === D(Y).BREADCRUMB.ACTIVE_CONTROL.FILTER_CHIPS ? (_(), n(
|
|
1269
|
+
o.showFilterChips && Q.value === D(Y).BREADCRUMB.ACTIVE_CONTROL.FILTER_CHIPS ? (_(), n(se, {
|
|
1270
1270
|
key: 2,
|
|
1271
1271
|
class: "ecc-append-inner mr-2 flex-1",
|
|
1272
1272
|
modelValue: K.value,
|
|
1273
|
-
"onUpdate:modelValue": [l[1] ||= (e) => K.value = e,
|
|
1273
|
+
"onUpdate:modelValue": [l[1] ||= (e) => K.value = e, he],
|
|
1274
1274
|
placeholder: o.filterChipsKeyPlaceholder,
|
|
1275
1275
|
ref: "filterDropdown",
|
|
1276
1276
|
"menu-icon": "ecc:ecc-M-Freccia",
|
|
@@ -1283,25 +1283,25 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1283
1283
|
"placeholder",
|
|
1284
1284
|
"items"
|
|
1285
1285
|
])) : r("", !0),
|
|
1286
|
-
o.showFilterChips && Q.value === D(Y).BREADCRUMB.ACTIVE_CONTROL.FILTER_CHIPS ? (_(), n(
|
|
1286
|
+
o.showFilterChips && Q.value === D(Y).BREADCRUMB.ACTIVE_CONTROL.FILTER_CHIPS ? (_(), n(Ae, {
|
|
1287
1287
|
key: 3,
|
|
1288
1288
|
class: "flex-1",
|
|
1289
1289
|
confirmEnabled: !!K.value,
|
|
1290
1290
|
searchPlaceholder: K.value?.filterValuePlaceholder || o.filterChipsValuePlaceholder,
|
|
1291
1291
|
iconEnabled: !1,
|
|
1292
1292
|
searchModel: q.value,
|
|
1293
|
-
onOnInputChange:
|
|
1294
|
-
onConfirm:
|
|
1295
|
-
onConfirmItem:
|
|
1293
|
+
onOnInputChange: fe,
|
|
1294
|
+
onConfirm: _e,
|
|
1295
|
+
onConfirmItem: ve,
|
|
1296
1296
|
ref_key: "filterSearchbar",
|
|
1297
|
-
ref:
|
|
1298
|
-
isAutocomplete:
|
|
1297
|
+
ref: pe,
|
|
1298
|
+
isAutocomplete: ke.value,
|
|
1299
1299
|
autocompleteItems: J.value,
|
|
1300
1300
|
itemsTitleKey: K.value?.itemsTitleKey,
|
|
1301
1301
|
itemsIdKey: K.value?.itemsIdKey,
|
|
1302
|
-
loading:
|
|
1302
|
+
loading: xe.value,
|
|
1303
1303
|
"use-infinite-loader": "",
|
|
1304
|
-
onFetchData:
|
|
1304
|
+
onFetchData: we,
|
|
1305
1305
|
loadingText: o.filterChipsLoadingText,
|
|
1306
1306
|
noDataText: o.filterChipsNoDataText
|
|
1307
1307
|
}, null, 8, [
|
|
@@ -1316,11 +1316,11 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1316
1316
|
"loadingText",
|
|
1317
1317
|
"noDataText"
|
|
1318
1318
|
])) : r("", !0),
|
|
1319
|
-
o.showFilterChips && Q.value === D(Y).BREADCRUMB.ACTIVE_CONTROL.FILTER_CHIPS && !
|
|
1319
|
+
o.showFilterChips && Q.value === D(Y).BREADCRUMB.ACTIVE_CONTROL.FILTER_CHIPS && !ke.value ? (_(), n($, {
|
|
1320
1320
|
key: 4,
|
|
1321
|
-
onClick:
|
|
1321
|
+
onClick: ge,
|
|
1322
1322
|
icon: "ecc:ecc-TB-Enter",
|
|
1323
|
-
disabled: !
|
|
1323
|
+
disabled: !De.value,
|
|
1324
1324
|
class: "filterEnterChip mr-2"
|
|
1325
1325
|
}, null, 8, ["disabled"])) : r("", !0),
|
|
1326
1326
|
o.showFilterChips ? (_(), i("div", {
|
|
@@ -1333,7 +1333,7 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1333
1333
|
iconSize: "24px",
|
|
1334
1334
|
isToggle: "",
|
|
1335
1335
|
value: Q.value === D(Y).BREADCRUMB.ACTIVE_CONTROL.SEARCH,
|
|
1336
|
-
onClick: l[2] ||= (e) =>
|
|
1336
|
+
onClick: l[2] ||= (e) => Me(D(Y).BREADCRUMB.ACTIVE_CONTROL.SEARCH)
|
|
1337
1337
|
}, null, 8, ["value"])) : r("", !0),
|
|
1338
1338
|
a("div", wt, [o.showFilterChips ? (_(), n($, {
|
|
1339
1339
|
key: 0,
|
|
@@ -1345,37 +1345,37 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1345
1345
|
"mr-2": o.showFilterChips,
|
|
1346
1346
|
"ml-2": !o.showSearchBar
|
|
1347
1347
|
}]),
|
|
1348
|
-
onClick: l[3] ||= (e) =>
|
|
1349
|
-
}, null, 8, ["value", "class"])) : r("", !0), o.showFilterChips && Q.value === D(Y).BREADCRUMB.ACTIVE_CONTROL.FILTER_CHIPS ? (_(), i("span", Tt, T(
|
|
1348
|
+
onClick: l[3] ||= (e) => Me(D(Y).BREADCRUMB.ACTIVE_CONTROL.FILTER_CHIPS)
|
|
1349
|
+
}, null, 8, ["value", "class"])) : r("", !0), o.showFilterChips && Q.value === D(Y).BREADCRUMB.ACTIVE_CONTROL.FILTER_CHIPS ? (_(), i("span", Tt, T(Oe.value), 1)) : r("", !0)]),
|
|
1350
1350
|
o.filtersCustomComponent && o.filtersCustomComponent.position == D(Y).BREADCRUMB.CUSTOM_COMPONENT_POSITION.APPEND ? (_(), i(e, { key: 7 }, [o.filtersCustomComponent.component ? (_(), n(w(o.filtersCustomComponent.component), p(u({ key: 0 }, o.filtersCustomComponent.props || {})), null, 16)) : r("", !0)], 64)) : r("", !0)
|
|
1351
1351
|
]),
|
|
1352
1352
|
_: 1
|
|
1353
1353
|
}, 8, ["class"])]),
|
|
1354
1354
|
_: 1
|
|
1355
|
-
}), c(
|
|
1356
|
-
default: A(() => [o.showFilterChips &&
|
|
1355
|
+
}), c(oe, { "no-gutters": "" }, {
|
|
1356
|
+
default: A(() => [o.showFilterChips && Ne.value && Q.value === D(Y).BREADCRUMB.ACTIVE_CONTROL.FILTER_CHIPS ? (_(), n(U, {
|
|
1357
1357
|
key: 0,
|
|
1358
1358
|
class: "filter-bar-chips d-flex"
|
|
1359
1359
|
}, {
|
|
1360
|
-
default: A(() => [Q.value === D(Y).BREADCRUMB.ACTIVE_CONTROL.FILTER_CHIPS ? (_(), i("div", Et, [c(
|
|
1360
|
+
default: A(() => [Q.value === D(Y).BREADCRUMB.ACTIVE_CONTROL.FILTER_CHIPS ? (_(), i("div", Et, [c(ce, {
|
|
1361
1361
|
"show-arrows": "",
|
|
1362
1362
|
class: "flex-grow-1 flex-shrink-1 justify-slide-group-left"
|
|
1363
1363
|
}, {
|
|
1364
|
-
default: A(() => [(_(!0), i(e, null, x(
|
|
1365
|
-
default: A(() => [(_(), n(
|
|
1366
|
-
class: f(["ecc highlight-chip my-1 mr-1", { "ml-2": t == 0 ||
|
|
1364
|
+
default: A(() => [(_(!0), i(e, null, x(Ee.value, (e, t) => (_(), n(le, { key: t }, {
|
|
1365
|
+
default: A(() => [(_(), n(B, {
|
|
1366
|
+
class: f(["ecc highlight-chip my-1 mr-1", { "ml-2": t == 0 || Ee.value[t - 1].key != Ee.value[t].key }]),
|
|
1367
1367
|
style: { height: "25px" },
|
|
1368
1368
|
key: e.key + ":" + e.value
|
|
1369
1369
|
}, {
|
|
1370
1370
|
default: A(() => [
|
|
1371
|
-
t == 0 ||
|
|
1371
|
+
t == 0 || Ee.value[t - 1].key != Ee.value[t].key ? (_(), i("span", Dt, T(be(e.key)) + ":\xA0 ", 1)) : r("", !0),
|
|
1372
1372
|
s(" " + T(e.title ?? e.value) + " ", 1),
|
|
1373
|
-
c(
|
|
1373
|
+
c(z, {
|
|
1374
1374
|
"data-qa": "remove-chip-button",
|
|
1375
1375
|
color: "transparent",
|
|
1376
1376
|
variant: "text",
|
|
1377
1377
|
class: "close",
|
|
1378
|
-
onClick: (t) =>
|
|
1378
|
+
onClick: (t) => Z(e),
|
|
1379
1379
|
"min-width": "25",
|
|
1380
1380
|
width: "25",
|
|
1381
1381
|
size: "x-small"
|
|
@@ -1389,7 +1389,7 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1389
1389
|
_: 2
|
|
1390
1390
|
}, 1024))), 128))]),
|
|
1391
1391
|
_: 1
|
|
1392
|
-
})])) : r("", !0), a("div", Ot, [
|
|
1392
|
+
})])) : r("", !0), a("div", Ot, [Oe.value != 0 && Q.value === D(Y).BREADCRUMB.ACTIVE_CONTROL.FILTER_CHIPS ? (_(), n(B, {
|
|
1393
1393
|
key: 0,
|
|
1394
1394
|
class: f(["ecc chipRemoveAll", { chipRemoveAllNoSearch: !o.showSearchBar }]),
|
|
1395
1395
|
label: ""
|
|
@@ -1398,7 +1398,7 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1398
1398
|
class: "btnRemoveAll",
|
|
1399
1399
|
icon: "ecc:ecc-cX",
|
|
1400
1400
|
iconSize: "20px",
|
|
1401
|
-
onClick:
|
|
1401
|
+
onClick: me
|
|
1402
1402
|
})]),
|
|
1403
1403
|
_: 1
|
|
1404
1404
|
}, 8, ["class"])) : r("", !0)])]),
|
|
@@ -1407,7 +1407,7 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1407
1407
|
_: 1
|
|
1408
1408
|
})]),
|
|
1409
1409
|
_: 1
|
|
1410
|
-
})) : r("", !0), o.infiniteScroll ? (_(), n(
|
|
1410
|
+
})) : r("", !0), o.infiniteScroll ? (_(), n(ie, {
|
|
1411
1411
|
key: 1,
|
|
1412
1412
|
class: "main-table",
|
|
1413
1413
|
headers: m.value,
|
|
@@ -1422,7 +1422,7 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1422
1422
|
sortBy: o.sortBy,
|
|
1423
1423
|
sortDesc: o.sortDesc,
|
|
1424
1424
|
isExpandable: o.isExpandable,
|
|
1425
|
-
onHandleSorting:
|
|
1425
|
+
onHandleSorting: ee
|
|
1426
1426
|
}, null, 8, [
|
|
1427
1427
|
"columns",
|
|
1428
1428
|
"sortBy",
|
|
@@ -1430,7 +1430,7 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1430
1430
|
"isExpandable"
|
|
1431
1431
|
])]),
|
|
1432
1432
|
item: A(({ item: d, columns: p, index: m }) => [a("tr", {
|
|
1433
|
-
onClick: (e) =>
|
|
1433
|
+
onClick: (e) => F(m, d),
|
|
1434
1434
|
class: f((y(m) ? "expanded-row " : "") + (o.rowClass ? d[o.rowClass] : ""))
|
|
1435
1435
|
}, [o.isExpandable ? (_(), i(e, { key: 0 }, [o.propIsExpandable === "" || d[o.propIsExpandable] ? (_(), i("td", {
|
|
1436
1436
|
key: 0,
|
|
@@ -1445,29 +1445,34 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1445
1445
|
}, 1024)], 8, At)) : (_(), i("td", {
|
|
1446
1446
|
key: 1,
|
|
1447
1447
|
class: f(E(o.headers[0], d))
|
|
1448
|
-
}, null, 2))], 64)) : r("", !0), (_(!0), i(e, null, x(o.headers, (
|
|
1448
|
+
}, null, 2))], 64)) : r("", !0), (_(!0), i(e, null, x(o.headers, (l, p) => (_(), i(e, { key: p }, [W(o.headers, p, d) && o.headers[p] && o.headers[p].type == D(Y).TABLE.CELL_TYPE.CUSTOM && o.headers[p].customCellGeneratorFunction && !t.$slots[O(l)] ? (_(), n(je, u({
|
|
1449
1449
|
key: 0,
|
|
1450
|
-
class: ["custom-render", E(
|
|
1451
|
-
element: o.headers[
|
|
1452
|
-
}, { ref_for: !0 }, o.headers[
|
|
1450
|
+
class: ["custom-render", E(l, d)],
|
|
1451
|
+
element: o.headers[p].customCellGeneratorFunction(d, o.headers[p])
|
|
1452
|
+
}, { ref_for: !0 }, o.headers[p].propCellAttributes ? d[o.headers[p].propCellAttributes] : void 0), null, 16, ["class", "element"])) : W(o.headers, p, d) ? (_(), i("td", u({
|
|
1453
1453
|
key: 1,
|
|
1454
|
-
colspan: d[o.headers[
|
|
1455
|
-
class: E(
|
|
1456
|
-
}, { ref_for: !0 }, o.headers[
|
|
1454
|
+
colspan: d[o.headers[p].propColspan] || 1,
|
|
1455
|
+
class: E(l, d)
|
|
1456
|
+
}, { ref_for: !0 }, o.headers[p].propCellAttributes ? d[o.headers[p].propCellAttributes] : void 0), [S(t.$slots, O(l), {
|
|
1457
|
+
item: d,
|
|
1458
|
+
value: d[l.key],
|
|
1459
|
+
index: m,
|
|
1460
|
+
column: l
|
|
1461
|
+
}, () => [o.headers[p] && o.headers[p].type == D(Y).TABLE.CELL_TYPE.STRING && o.headers[p].propString ? (_(), i(e, { key: 0 }, [o.headers[p].propString && o.headers[p].propStringTooltip && d[o.headers[p].propString] && d[o.headers[p].propStringTooltip] ? (_(), n(R, {
|
|
1457
1462
|
key: 0,
|
|
1458
1463
|
attach: G.value,
|
|
1459
|
-
location: o.headers[
|
|
1464
|
+
location: o.headers[p].alignTooltip ? o.headers[p].alignTooltip : "end"
|
|
1460
1465
|
}, {
|
|
1461
|
-
activator: A(({ props: e }) => [a("span", u({ ref_for: !0 }, e), T(d[o.headers[
|
|
1462
|
-
default: A(() => [a("span", null, T(d[o.headers[
|
|
1466
|
+
activator: A(({ props: e }) => [a("span", u({ ref_for: !0 }, e), T(d[o.headers[p].propString]), 17)]),
|
|
1467
|
+
default: A(() => [a("span", null, T(d[o.headers[p].propStringTooltip]), 1)]),
|
|
1463
1468
|
_: 2
|
|
1464
|
-
}, 1032, ["attach", "location"])) : (_(), i("div", Mt, T(d[o.headers[
|
|
1469
|
+
}, 1032, ["attach", "location"])) : (_(), i("div", Mt, T(d[o.headers[p].propString]), 1))], 64)) : o.headers[p] && o.headers[p].type == D(Y).TABLE.CELL_TYPE.ICON && o.headers[p].propIcon ? (_(), i("div", {
|
|
1465
1470
|
key: 1,
|
|
1466
|
-
class: f(["d-flex", [
|
|
1471
|
+
class: f(["d-flex", [l.align == null ? "" : "justify-" + l.align]]),
|
|
1467
1472
|
style: { gap: "8px" }
|
|
1468
|
-
}, [(_(!0), i(e, null, x(d[o.headers[
|
|
1473
|
+
}, [(_(!0), i(e, null, x(d[o.headers[p].propIcon], (t, n) => (_(), i(e, { key: "item_" + n }, [t.tooltip ? (_(), i("div", Pt, [c(R, {
|
|
1469
1474
|
attach: G.value,
|
|
1470
|
-
location: o.headers[
|
|
1475
|
+
location: o.headers[p].alignTooltip ? o.headers[p].alignTooltip : "end"
|
|
1471
1476
|
}, {
|
|
1472
1477
|
activator: A(({ props: e }) => [c(X, u({ ref_for: !0 }, e, {
|
|
1473
1478
|
icon: t.icon,
|
|
@@ -1478,11 +1483,11 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1478
1483
|
}, 1032, ["attach", "location"])])) : (_(), i("div", Nt, [c(X, {
|
|
1479
1484
|
icon: t.icon,
|
|
1480
1485
|
color: t.color
|
|
1481
|
-
}, null, 8, ["icon", "color"])]))], 64))), 128))], 2)) : o.headers[
|
|
1486
|
+
}, null, 8, ["icon", "color"])]))], 64))), 128))], 2)) : o.headers[p] && o.headers[p].type == D(Y).TABLE.CELL_TYPE.BUTTON && o.headers[p].propButton ? (_(), i("div", {
|
|
1482
1487
|
key: 2,
|
|
1483
|
-
class: f(["d-flex", [
|
|
1488
|
+
class: f(["d-flex", [l.align == null ? "" : "justify-" + l.align]]),
|
|
1484
1489
|
style: { gap: "8px" }
|
|
1485
|
-
}, [(_(!0), i(e, null, x(d[o.headers[
|
|
1490
|
+
}, [(_(!0), i(e, null, x(d[o.headers[p].propButton], (e, t) => (_(), n($, {
|
|
1486
1491
|
key: "item_" + t,
|
|
1487
1492
|
attach: G.value,
|
|
1488
1493
|
label: e.label,
|
|
@@ -1490,7 +1495,7 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1490
1495
|
icon: e.icon,
|
|
1491
1496
|
iconSize: "24px",
|
|
1492
1497
|
loading: e.loading,
|
|
1493
|
-
location: o.headers[
|
|
1498
|
+
location: o.headers[p].alignTooltip,
|
|
1494
1499
|
onClick: (t) => e.hasOwnProperty("function") ? e.function(d) : () => {}
|
|
1495
1500
|
}, null, 8, [
|
|
1496
1501
|
"attach",
|
|
@@ -1500,7 +1505,7 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1500
1505
|
"loading",
|
|
1501
1506
|
"location",
|
|
1502
1507
|
"onClick"
|
|
1503
|
-
]))), 128))], 2)) : o.headers[
|
|
1508
|
+
]))), 128))], 2)) : o.headers[p] && o.headers[p].type == D(Y).TABLE.CELL_TYPE.MENU && o.headers[p].propMenu ? (_(), n(L, {
|
|
1504
1509
|
key: 3,
|
|
1505
1510
|
attach: G.value
|
|
1506
1511
|
}, {
|
|
@@ -1509,7 +1514,7 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1509
1514
|
icon: d.menuIcon || "ecc:ecc-T-More"
|
|
1510
1515
|
}, { ref_for: !0 }, e), null, 16, ["disabled", "icon"])]),
|
|
1511
1516
|
default: A(() => [c(I, { class: "droplist" }, {
|
|
1512
|
-
default: A(() => [(_(!0), i(e, null, x(d[o.headers[
|
|
1517
|
+
default: A(() => [(_(!0), i(e, null, x(d[o.headers[p].propMenu], (e, t) => (_(), n(R, {
|
|
1513
1518
|
key: "item_" + t,
|
|
1514
1519
|
location: e.alignTooltip ? e.alignTooltip : "left"
|
|
1515
1520
|
}, {
|
|
@@ -1517,7 +1522,7 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1517
1522
|
disabled: e.disabled,
|
|
1518
1523
|
onClick: (t) => e.function(d)
|
|
1519
1524
|
}, {
|
|
1520
|
-
default: A(() => [c(
|
|
1525
|
+
default: A(() => [c(re, null, {
|
|
1521
1526
|
default: A(() => [e.icon ? (_(), n(X, u({
|
|
1522
1527
|
key: 0,
|
|
1523
1528
|
icon: e.icon
|
|
@@ -1532,10 +1537,10 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1532
1537
|
_: 2
|
|
1533
1538
|
}, 1024)]),
|
|
1534
1539
|
_: 2
|
|
1535
|
-
}, 1032, ["attach"])) : o.headers[
|
|
1540
|
+
}, 1032, ["attach"])) : o.headers[p] && o.headers[p].type == D(Y).TABLE.CELL_TYPE.VUE_COMPONENT && o.headers[p].propVueComponent ? (_(), i(e, { key: 4 }, [d[o.headers[p].propVueComponent] && d[o.headers[p].propVueComponent].component ? (_(), n(w(d[o.headers[p].propVueComponent].component), u({
|
|
1536
1541
|
key: 0,
|
|
1537
1542
|
ref_for: !0
|
|
1538
|
-
},
|
|
1543
|
+
}, ue(d[o.headers[p].propVueComponent], d)), null, 16)) : r("", !0)], 64)) : o.headers[p] && o.headers[p].type == D(Y).TABLE.CELL_TYPE.EMPTY ? (_(), i(e, { key: 5 }, [], 64)) : (_(), i(e, { key: 6 }, [s(" Unknown cell type or incomplete data '" + T(o.headers[p].type) + "' ", 1)], 64))], !0)], 16, jt)) : r("", !0)], 64))), 128))], 10, kt), o.isExpandable && y(m) ? (_(), i("tr", {
|
|
1539
1544
|
key: 0,
|
|
1540
1545
|
class: f({ "expanded-slot": y(m) })
|
|
1541
1546
|
}, [a("td", {
|
|
@@ -1548,9 +1553,9 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1548
1553
|
"body.append": A(() => [a("tr", null, [a("td", {
|
|
1549
1554
|
colspan: o.headers.length,
|
|
1550
1555
|
class: "pa-0"
|
|
1551
|
-
}, [c(
|
|
1556
|
+
}, [c(H, {
|
|
1552
1557
|
side: "end",
|
|
1553
|
-
onLoad:
|
|
1558
|
+
onLoad: P
|
|
1554
1559
|
}, {
|
|
1555
1560
|
empty: A(() => [...l[8] ||= [a("div", { class: "pa-4 text-center text-grey" }, "No more data to load", -1)]]),
|
|
1556
1561
|
_: 1
|
|
@@ -1560,11 +1565,11 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1560
1565
|
"headers",
|
|
1561
1566
|
"items",
|
|
1562
1567
|
"loading"
|
|
1563
|
-
])) : (_(), n(
|
|
1568
|
+
])) : (_(), n(ae, {
|
|
1564
1569
|
key: 2,
|
|
1565
1570
|
defaults: { VDataTableFooter: { VSelect: { menuProps: { attach: G.value } } } }
|
|
1566
1571
|
}, {
|
|
1567
|
-
default: A(() => [c(
|
|
1572
|
+
default: A(() => [c(V, {
|
|
1568
1573
|
class: "main-table",
|
|
1569
1574
|
headers: m.value,
|
|
1570
1575
|
items: h.value,
|
|
@@ -1574,8 +1579,8 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1574
1579
|
page: o.currentPage,
|
|
1575
1580
|
"items-length": o.itemsLength,
|
|
1576
1581
|
loading: o.loadingBar,
|
|
1577
|
-
"onUpdate:page": l[4] ||= (e) =>
|
|
1578
|
-
"onUpdate:itemsPerPage": l[5] ||= (e) =>
|
|
1582
|
+
"onUpdate:page": l[4] ||= (e) => j(e),
|
|
1583
|
+
"onUpdate:itemsPerPage": l[5] ||= (e) => te(e),
|
|
1579
1584
|
"fixed-header": o.fixedHeader,
|
|
1580
1585
|
height: "100%"
|
|
1581
1586
|
}, {
|
|
@@ -1584,7 +1589,7 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1584
1589
|
sortBy: o.sortBy,
|
|
1585
1590
|
sortDesc: o.sortDesc,
|
|
1586
1591
|
isExpandable: o.isExpandable,
|
|
1587
|
-
onHandleSorting:
|
|
1592
|
+
onHandleSorting: ee
|
|
1588
1593
|
}, null, 8, [
|
|
1589
1594
|
"columns",
|
|
1590
1595
|
"sortBy",
|
|
@@ -1592,7 +1597,7 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1592
1597
|
"isExpandable"
|
|
1593
1598
|
])]),
|
|
1594
1599
|
item: A(({ item: d, columns: p, index: m }) => [a("tr", {
|
|
1595
|
-
onClick: (e) =>
|
|
1600
|
+
onClick: (e) => F(m, d),
|
|
1596
1601
|
class: f((y(m) ? "expanded-row " : "") + (o.rowClass ? d[o.rowClass] : ""))
|
|
1597
1602
|
}, [o.isExpandable ? (_(), i(e, { key: 0 }, [o.propIsExpandable === "" || d[o.propIsExpandable] ? (_(), i("td", {
|
|
1598
1603
|
key: 0,
|
|
@@ -1607,29 +1612,34 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1607
1612
|
}, 1024)], 8, zt)) : (_(), i("td", {
|
|
1608
1613
|
key: 1,
|
|
1609
1614
|
class: f(E(o.headers[0], d))
|
|
1610
|
-
}, null, 2))], 64)) : r("", !0), (_(!0), i(e, null, x(o.headers, (
|
|
1615
|
+
}, null, 2))], 64)) : r("", !0), (_(!0), i(e, null, x(o.headers, (l, p) => (_(), i(e, { key: p }, [W(o.headers, p, d) && o.headers[p] && o.headers[p].type == D(Y).TABLE.CELL_TYPE.CUSTOM && o.headers[p].customCellGeneratorFunction && !t.$slots[O(l)] ? (_(), n(je, u({
|
|
1611
1616
|
key: 0,
|
|
1612
|
-
class: ["custom-render", E(
|
|
1613
|
-
element: o.headers[
|
|
1614
|
-
}, { ref_for: !0 }, o.headers[
|
|
1617
|
+
class: ["custom-render", E(l, d)],
|
|
1618
|
+
element: o.headers[p].customCellGeneratorFunction(d, o.headers[p])
|
|
1619
|
+
}, { ref_for: !0 }, o.headers[p].propCellAttributes ? d[o.headers[p].propCellAttributes] : void 0), null, 16, ["class", "element"])) : W(o.headers, p, d) ? (_(), i("td", u({
|
|
1615
1620
|
key: 1,
|
|
1616
|
-
colspan: d[o.headers[
|
|
1617
|
-
class: E(
|
|
1618
|
-
}, { ref_for: !0 }, o.headers[
|
|
1621
|
+
colspan: d[o.headers[p].propColspan] || 1,
|
|
1622
|
+
class: E(l, d)
|
|
1623
|
+
}, { ref_for: !0 }, o.headers[p].propCellAttributes ? d[o.headers[p].propCellAttributes] : void 0), [S(t.$slots, O(l), {
|
|
1624
|
+
item: d,
|
|
1625
|
+
value: d[l.key],
|
|
1626
|
+
index: m,
|
|
1627
|
+
column: l
|
|
1628
|
+
}, () => [o.headers[p] && o.headers[p].type == D(Y).TABLE.CELL_TYPE.STRING && o.headers[p].propString ? (_(), i(e, { key: 0 }, [o.headers[p].propString && o.headers[p].propStringTooltip && d[o.headers[p].propString] && d[o.headers[p].propStringTooltip] ? (_(), n(R, {
|
|
1619
1629
|
key: 0,
|
|
1620
1630
|
attach: G.value,
|
|
1621
|
-
location: o.headers[
|
|
1631
|
+
location: o.headers[p].alignTooltip ? o.headers[p].alignTooltip : "end"
|
|
1622
1632
|
}, {
|
|
1623
|
-
activator: A(({ props: e }) => [a("span", u({ ref_for: !0 }, e), T(d[o.headers[
|
|
1624
|
-
default: A(() => [a("span", null, T(d[o.headers[
|
|
1633
|
+
activator: A(({ props: e }) => [a("span", u({ ref_for: !0 }, e), T(d[o.headers[p].propString]), 17)]),
|
|
1634
|
+
default: A(() => [a("span", null, T(d[o.headers[p].propStringTooltip]), 1)]),
|
|
1625
1635
|
_: 2
|
|
1626
|
-
}, 1032, ["attach", "location"])) : (_(), i("div", Vt, T(d[o.headers[
|
|
1636
|
+
}, 1032, ["attach", "location"])) : (_(), i("div", Vt, T(d[o.headers[p].propString]), 1))], 64)) : o.headers[p] && o.headers[p].type == D(Y).TABLE.CELL_TYPE.ICON && o.headers[p].propIcon ? (_(), i("div", {
|
|
1627
1637
|
key: 1,
|
|
1628
|
-
class: f(["d-flex", [
|
|
1638
|
+
class: f(["d-flex", [l.align == null ? "" : "justify-" + l.align]]),
|
|
1629
1639
|
style: { gap: "8px" }
|
|
1630
|
-
}, [(_(!0), i(e, null, x(d[o.headers[
|
|
1640
|
+
}, [(_(!0), i(e, null, x(d[o.headers[p].propIcon], (t, n) => (_(), i(e, { key: "item_" + n }, [t.tooltip ? (_(), i("div", Ut, [c(R, {
|
|
1631
1641
|
attach: G.value,
|
|
1632
|
-
location: o.headers[
|
|
1642
|
+
location: o.headers[p].alignTooltip ? o.headers[p].alignTooltip : "end"
|
|
1633
1643
|
}, {
|
|
1634
1644
|
activator: A(({ props: e }) => [c(X, u({ ref_for: !0 }, e, {
|
|
1635
1645
|
icon: t.icon,
|
|
@@ -1640,11 +1650,11 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1640
1650
|
}, 1032, ["attach", "location"])])) : (_(), i("div", Ht, [c(X, {
|
|
1641
1651
|
icon: t.icon,
|
|
1642
1652
|
color: t.color
|
|
1643
|
-
}, null, 8, ["icon", "color"])]))], 64))), 128))], 2)) : o.headers[
|
|
1653
|
+
}, null, 8, ["icon", "color"])]))], 64))), 128))], 2)) : o.headers[p] && o.headers[p].type == D(Y).TABLE.CELL_TYPE.BUTTON && o.headers[p].propButton ? (_(), i("div", {
|
|
1644
1654
|
key: 2,
|
|
1645
|
-
class: f(["d-flex", [
|
|
1655
|
+
class: f(["d-flex", [l.align == null ? "" : "justify-" + l.align]]),
|
|
1646
1656
|
style: { gap: "8px" }
|
|
1647
|
-
}, [(_(!0), i(e, null, x(d[o.headers[
|
|
1657
|
+
}, [(_(!0), i(e, null, x(d[o.headers[p].propButton], (e, t) => (_(), n($, {
|
|
1648
1658
|
key: "item_" + t,
|
|
1649
1659
|
attach: G.value,
|
|
1650
1660
|
label: e.label,
|
|
@@ -1652,7 +1662,7 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1652
1662
|
icon: e.icon,
|
|
1653
1663
|
iconSize: "24px",
|
|
1654
1664
|
loading: e.loading,
|
|
1655
|
-
location: o.headers[
|
|
1665
|
+
location: o.headers[p].alignTooltip,
|
|
1656
1666
|
onClick: (t) => e.hasOwnProperty("function") ? e.function(d) : () => {}
|
|
1657
1667
|
}, null, 8, [
|
|
1658
1668
|
"attach",
|
|
@@ -1662,7 +1672,7 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1662
1672
|
"loading",
|
|
1663
1673
|
"location",
|
|
1664
1674
|
"onClick"
|
|
1665
|
-
]))), 128))], 2)) : o.headers[
|
|
1675
|
+
]))), 128))], 2)) : o.headers[p] && o.headers[p].type == D(Y).TABLE.CELL_TYPE.MENU && o.headers[p].propMenu ? (_(), n(L, {
|
|
1666
1676
|
key: 3,
|
|
1667
1677
|
attach: G.value
|
|
1668
1678
|
}, {
|
|
@@ -1671,7 +1681,7 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1671
1681
|
icon: d.menuIcon || "ecc:ecc-T-More"
|
|
1672
1682
|
}, { ref_for: !0 }, e), null, 16, ["disabled", "icon"])]),
|
|
1673
1683
|
default: A(() => [c(I, { class: "droplist" }, {
|
|
1674
|
-
default: A(() => [(_(!0), i(e, null, x(d[o.headers[
|
|
1684
|
+
default: A(() => [(_(!0), i(e, null, x(d[o.headers[p].propMenu], (e, t) => (_(), n(R, {
|
|
1675
1685
|
key: "item_" + t,
|
|
1676
1686
|
location: e.alignTooltip ? e.alignTooltip : "left"
|
|
1677
1687
|
}, {
|
|
@@ -1679,7 +1689,7 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1679
1689
|
disabled: e.disabled,
|
|
1680
1690
|
onClick: (t) => e.function(d)
|
|
1681
1691
|
}, {
|
|
1682
|
-
default: A(() => [c(
|
|
1692
|
+
default: A(() => [c(re, null, {
|
|
1683
1693
|
default: A(() => [e.icon ? (_(), n(X, u({
|
|
1684
1694
|
key: 0,
|
|
1685
1695
|
icon: e.icon
|
|
@@ -1694,10 +1704,10 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1694
1704
|
_: 2
|
|
1695
1705
|
}, 1024)]),
|
|
1696
1706
|
_: 2
|
|
1697
|
-
}, 1032, ["attach"])) : o.headers[
|
|
1707
|
+
}, 1032, ["attach"])) : o.headers[p] && o.headers[p].type == D(Y).TABLE.CELL_TYPE.VUE_COMPONENT && o.headers[p].propVueComponent ? (_(), i(e, { key: 4 }, [d[o.headers[p].propVueComponent] && d[o.headers[p].propVueComponent].component ? (_(), n(w(d[o.headers[p].propVueComponent].component), u({
|
|
1698
1708
|
key: 0,
|
|
1699
1709
|
ref_for: !0
|
|
1700
|
-
},
|
|
1710
|
+
}, ue(d[o.headers[p].propVueComponent], d)), null, 16)) : r("", !0)], 64)) : o.headers[p] && o.headers[p].type == D(Y).TABLE.CELL_TYPE.EMPTY ? (_(), i(e, { key: 5 }, [], 64)) : (_(), i(e, { key: 6 }, [s(" Unknown cell type or incomplete data '" + T(o.headers[p].type) + "' ", 1)], 64))], !0)], 16, Bt)) : r("", !0)], 64))), 128))], 10, Rt), o.isExpandable && y(m) ? (_(), i("tr", {
|
|
1701
1711
|
key: 0,
|
|
1702
1712
|
class: f({ "expanded-slot": y(m) })
|
|
1703
1713
|
}, [a("td", {
|
|
@@ -1722,7 +1732,7 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1722
1732
|
_: 3
|
|
1723
1733
|
}, 8, ["defaults"]))], 512));
|
|
1724
1734
|
}
|
|
1725
|
-
}), [["__scopeId", "data-v-
|
|
1735
|
+
}), [["__scopeId", "data-v-14c27858"]]), Jt = { key: 0 }, Yt = b(), Xt = /* @__PURE__ */ l({
|
|
1726
1736
|
__name: "CorvinaButton.ce",
|
|
1727
1737
|
props: {
|
|
1728
1738
|
tooltip: { default: () => "" },
|
|
@@ -1767,12 +1777,12 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1767
1777
|
"button-outlined": o.variant == D(Y).BUTTON.VARIANT.OUTLINED,
|
|
1768
1778
|
"active-toggle": o.isToggle && o.activeStatus
|
|
1769
1779
|
}, "button-general"])
|
|
1770
|
-
}, [o.tooltip ? (_(), i("div", Jt, [c(
|
|
1780
|
+
}, [o.tooltip ? (_(), i("div", Jt, [c(R, {
|
|
1771
1781
|
location: o.tooltipLocation,
|
|
1772
1782
|
flex: ""
|
|
1773
1783
|
}, {
|
|
1774
1784
|
activator: A(({ props: e }) => [a("div", u(e, { class: "fill-height animated-button-tooltip-activator-wrapper" }), [
|
|
1775
|
-
o.icon && !o.text ? (_(), n(
|
|
1785
|
+
o.icon && !o.text ? (_(), n(z, {
|
|
1776
1786
|
key: 0,
|
|
1777
1787
|
icon: p.value,
|
|
1778
1788
|
loading: o.loading,
|
|
@@ -1786,7 +1796,7 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1786
1796
|
"disabled",
|
|
1787
1797
|
"data-qa"
|
|
1788
1798
|
])) : r("", !0),
|
|
1789
|
-
o.icon && o.text ? (_(), n(
|
|
1799
|
+
o.icon && o.text ? (_(), n(z, {
|
|
1790
1800
|
key: 1,
|
|
1791
1801
|
"prepend-icon": p.value,
|
|
1792
1802
|
text: m.value,
|
|
@@ -1802,7 +1812,7 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1802
1812
|
"disabled",
|
|
1803
1813
|
"data-qa"
|
|
1804
1814
|
])) : r("", !0),
|
|
1805
|
-
!o.icon && o.text ? (_(), n(
|
|
1815
|
+
!o.icon && o.text ? (_(), n(z, {
|
|
1806
1816
|
key: 2,
|
|
1807
1817
|
text: m.value,
|
|
1808
1818
|
loading: o.loading,
|
|
@@ -1820,7 +1830,7 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1820
1830
|
default: A(() => [a("span", null, T(h.value), 1)]),
|
|
1821
1831
|
_: 1
|
|
1822
1832
|
}, 8, ["location"])])) : (_(), i(e, { key: 1 }, [
|
|
1823
|
-
o.icon && !o.text ? (_(), n(
|
|
1833
|
+
o.icon && !o.text ? (_(), n(z, {
|
|
1824
1834
|
key: 0,
|
|
1825
1835
|
icon: p.value,
|
|
1826
1836
|
loading: o.loading,
|
|
@@ -1834,7 +1844,7 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1834
1844
|
"disabled",
|
|
1835
1845
|
"data-qa"
|
|
1836
1846
|
])) : r("", !0),
|
|
1837
|
-
o.icon && o.text ? (_(), n(
|
|
1847
|
+
o.icon && o.text ? (_(), n(z, {
|
|
1838
1848
|
key: 1,
|
|
1839
1849
|
"prepend-icon": p.value,
|
|
1840
1850
|
text: m.value,
|
|
@@ -1850,7 +1860,7 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1850
1860
|
"disabled",
|
|
1851
1861
|
"data-qa"
|
|
1852
1862
|
])) : r("", !0),
|
|
1853
|
-
!o.icon && o.text ? (_(), n(
|
|
1863
|
+
!o.icon && o.text ? (_(), n(z, {
|
|
1854
1864
|
key: 2,
|
|
1855
1865
|
text: m.value,
|
|
1856
1866
|
loading: o.loading,
|
|
@@ -1963,20 +1973,20 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
1963
1973
|
}
|
|
1964
1974
|
return () => {};
|
|
1965
1975
|
}
|
|
1966
|
-
let
|
|
1967
|
-
async function
|
|
1968
|
-
return
|
|
1976
|
+
let re = vt(ne, 350);
|
|
1977
|
+
async function L(e) {
|
|
1978
|
+
return re(e.search, e.page, e.infinityLoaderState);
|
|
1969
1979
|
}
|
|
1970
|
-
let
|
|
1980
|
+
let R = t(() => d.filters.map((e) => ({
|
|
1971
1981
|
value: e.value,
|
|
1972
1982
|
key: e.key
|
|
1973
|
-
}))),
|
|
1983
|
+
}))), V = t(() => {
|
|
1974
1984
|
let e = (e) => String(e.title ?? e.value);
|
|
1975
1985
|
return [...d.filters].sort((t, n) => t.key < n.key ? -1 : t.key > n.key ? 1 : e(t) < e(n) ? -1 : +(e(t) > e(n)));
|
|
1976
|
-
}),
|
|
1977
|
-
return (t, l) => (_(), i("div", Zt, [c(
|
|
1986
|
+
}), ie = t(() => !!(v.value && y.value)), ae = t(() => R.value.length), oe = t(() => v.value?.type == Y.BREADCRUMB.FILTER_BY_ENUM.AUTOCOMPLETE), H = t(() => d.activeControl === Y.BREADCRUMB.ACTIVE_CONTROL.SEARCH && d.showSearchBar ? Y.BREADCRUMB.ACTIVE_CONTROL.SEARCH : d.activeControl === Y.BREADCRUMB.ACTIVE_CONTROL.FILTER_CHIPS && d.showFilterChips ? Y.BREADCRUMB.ACTIVE_CONTROL.FILTER_CHIPS : d.showSearchBar ? Y.BREADCRUMB.ACTIVE_CONTROL.SEARCH : d.showFilterChips ? Y.BREADCRUMB.ACTIVE_CONTROL.FILTER_CHIPS : Y.BREADCRUMB.ACTIVE_CONTROL.SEARCH);
|
|
1987
|
+
return (t, l) => (_(), i("div", Zt, [c(U, { class: "secondaryTopbar justify-space-between bg-g1 flex-wrap" }, {
|
|
1978
1988
|
default: A(() => [
|
|
1979
|
-
c(
|
|
1989
|
+
c(U, {
|
|
1980
1990
|
"data-qa": "breadcrumb",
|
|
1981
1991
|
class: "breadcrumb-element align-center px-4 py-2"
|
|
1982
1992
|
}, {
|
|
@@ -2001,13 +2011,13 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
2001
2011
|
_: 1
|
|
2002
2012
|
}),
|
|
2003
2013
|
a("div", nn, [S(t.$slots, "default", {}, void 0, !0)]),
|
|
2004
|
-
o.showFilterChips || o.showSearchBar ? (_(), n(
|
|
2014
|
+
o.showFilterChips || o.showSearchBar ? (_(), n(U, {
|
|
2005
2015
|
key: 0,
|
|
2006
|
-
class: f(["search-element bg-wt", { "pl-4": o.showFilterChips &&
|
|
2016
|
+
class: f(["search-element bg-wt", { "pl-4": o.showFilterChips && H.value === D(Y).BREADCRUMB.ACTIVE_CONTROL.FILTER_CHIPS }])
|
|
2007
2017
|
}, {
|
|
2008
2018
|
default: A(() => [
|
|
2009
2019
|
o.filtersCustomComponent && o.filtersCustomComponent.position == D(Y).BREADCRUMB.CUSTOM_COMPONENT_POSITION.PREPEND ? (_(), i(e, { key: 0 }, [o.filtersCustomComponent.component ? (_(), n(w(o.filtersCustomComponent.component), p(u({ key: 0 }, o.filtersCustomComponent.props || {})), null, 16)) : r("", !0)], 64)) : r("", !0),
|
|
2010
|
-
o.showSearchBar &&
|
|
2020
|
+
o.showSearchBar && H.value === D(Y).BREADCRUMB.ACTIVE_CONTROL.SEARCH ? (_(), n(Ae, {
|
|
2011
2021
|
key: 1,
|
|
2012
2022
|
class: "px-4",
|
|
2013
2023
|
searchPlaceholder: o.searchPlaceholder,
|
|
@@ -2018,7 +2028,7 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
2018
2028
|
clearable: "",
|
|
2019
2029
|
"highlight-on-search-active": ""
|
|
2020
2030
|
}, null, 8, ["searchPlaceholder", "searchModel"])) : r("", !0),
|
|
2021
|
-
o.showFilterChips &&
|
|
2031
|
+
o.showFilterChips && H.value === D(Y).BREADCRUMB.ACTIVE_CONTROL.FILTER_CHIPS ? (_(), n(se, {
|
|
2022
2032
|
key: 2,
|
|
2023
2033
|
class: "ecc-append-inner mr-2 flex-1",
|
|
2024
2034
|
modelValue: v.value,
|
|
@@ -2035,7 +2045,7 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
2035
2045
|
"placeholder",
|
|
2036
2046
|
"items"
|
|
2037
2047
|
])) : r("", !0),
|
|
2038
|
-
o.showFilterChips &&
|
|
2048
|
+
o.showFilterChips && H.value === D(Y).BREADCRUMB.ACTIVE_CONTROL.FILTER_CHIPS ? (_(), n(Ae, {
|
|
2039
2049
|
key: 3,
|
|
2040
2050
|
class: "flex-1",
|
|
2041
2051
|
confirmEnabled: !!v.value,
|
|
@@ -2047,13 +2057,13 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
2047
2057
|
onConfirmItem: te,
|
|
2048
2058
|
ref_key: "filterSearchbar",
|
|
2049
2059
|
ref: C,
|
|
2050
|
-
isAutocomplete:
|
|
2060
|
+
isAutocomplete: oe.value,
|
|
2051
2061
|
autocompleteItems: E.value,
|
|
2052
2062
|
itemsTitleKey: v.value?.itemsTitleKey,
|
|
2053
2063
|
itemsIdKey: v.value?.itemsIdKey,
|
|
2054
2064
|
loading: I.value,
|
|
2055
2065
|
"use-infinite-loader": "",
|
|
2056
|
-
onFetchData:
|
|
2066
|
+
onFetchData: L,
|
|
2057
2067
|
loadingText: o.filterChipsLoadingText,
|
|
2058
2068
|
noDataText: o.filterChipsNoDataText
|
|
2059
2069
|
}, null, 8, [
|
|
@@ -2068,11 +2078,11 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
2068
2078
|
"loadingText",
|
|
2069
2079
|
"noDataText"
|
|
2070
2080
|
])) : r("", !0),
|
|
2071
|
-
o.showFilterChips &&
|
|
2081
|
+
o.showFilterChips && H.value === D(Y).BREADCRUMB.ACTIVE_CONTROL.FILTER_CHIPS && !oe.value ? (_(), n($, {
|
|
2072
2082
|
key: 4,
|
|
2073
2083
|
onClick: j,
|
|
2074
2084
|
icon: "ecc:ecc-TB-Enter",
|
|
2075
|
-
disabled: !
|
|
2085
|
+
disabled: !ie.value,
|
|
2076
2086
|
class: "filterEnterChip mr-2"
|
|
2077
2087
|
}, null, 8, ["disabled"])) : r("", !0),
|
|
2078
2088
|
o.showFilterChips ? (_(), i("div", {
|
|
@@ -2084,7 +2094,7 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
2084
2094
|
icon: "ecc:ecc-TB-Find",
|
|
2085
2095
|
iconSize: "24px",
|
|
2086
2096
|
isToggle: "",
|
|
2087
|
-
value:
|
|
2097
|
+
value: H.value === D(Y).BREADCRUMB.ACTIVE_CONTROL.SEARCH,
|
|
2088
2098
|
onClick: l[2] ||= (e) => m("update:activeControl", D(Y).BREADCRUMB.ACTIVE_CONTROL.SEARCH)
|
|
2089
2099
|
}, null, 8, ["value"])) : r("", !0),
|
|
2090
2100
|
a("div", rn, [o.showFilterChips ? (_(), n($, {
|
|
@@ -2092,38 +2102,38 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
2092
2102
|
icon: "ecc:ecc-TB-Filter",
|
|
2093
2103
|
iconSize: "24px",
|
|
2094
2104
|
isToggle: "",
|
|
2095
|
-
value:
|
|
2105
|
+
value: H.value === D(Y).BREADCRUMB.ACTIVE_CONTROL.FILTER_CHIPS,
|
|
2096
2106
|
class: f(["mr-3", {
|
|
2097
2107
|
"mr-2": o.showFilterChips,
|
|
2098
2108
|
"ml-2": !o.showSearchBar
|
|
2099
2109
|
}]),
|
|
2100
2110
|
onClick: l[3] ||= (e) => m("update:activeControl", D(Y).BREADCRUMB.ACTIVE_CONTROL.FILTER_CHIPS)
|
|
2101
|
-
}, null, 8, ["value", "class"])) : r("", !0), o.showFilterChips &&
|
|
2111
|
+
}, null, 8, ["value", "class"])) : r("", !0), o.showFilterChips && H.value === D(Y).BREADCRUMB.ACTIVE_CONTROL.FILTER_CHIPS ? (_(), i("span", an, T(ae.value), 1)) : r("", !0)]),
|
|
2102
2112
|
o.filtersCustomComponent && o.filtersCustomComponent.position == D(Y).BREADCRUMB.CUSTOM_COMPONENT_POSITION.APPEND ? (_(), i(e, { key: 7 }, [o.filtersCustomComponent.component ? (_(), n(w(o.filtersCustomComponent.component), p(u({ key: 0 }, o.filtersCustomComponent.props || {})), null, 16)) : r("", !0)], 64)) : r("", !0)
|
|
2103
2113
|
]),
|
|
2104
2114
|
_: 1
|
|
2105
2115
|
}, 8, ["class"])) : r("", !0)
|
|
2106
2116
|
]),
|
|
2107
2117
|
_: 3
|
|
2108
|
-
}), o.showFilterChips ? (_(), n(
|
|
2118
|
+
}), o.showFilterChips ? (_(), n(U, {
|
|
2109
2119
|
key: 0,
|
|
2110
2120
|
class: "fill-width d-flex",
|
|
2111
2121
|
style: { height: "40px" }
|
|
2112
2122
|
}, {
|
|
2113
|
-
default: A(() => [
|
|
2123
|
+
default: A(() => [H.value === D(Y).BREADCRUMB.ACTIVE_CONTROL.FILTER_CHIPS ? (_(), i("div", on, [c(ce, {
|
|
2114
2124
|
"show-arrows": "",
|
|
2115
2125
|
class: "flex-grow-1 flex-shrink-1"
|
|
2116
2126
|
}, {
|
|
2117
|
-
default: A(() => [(_(!0), i(e, null, x(
|
|
2118
|
-
default: A(() => [(_(), n(
|
|
2119
|
-
class: f(["ecc highlight-chip my-1 mr-1", { "ml-2": t == 0 ||
|
|
2127
|
+
default: A(() => [(_(!0), i(e, null, x(V.value, (e, t) => (_(), n(le, { key: t }, {
|
|
2128
|
+
default: A(() => [(_(), n(B, {
|
|
2129
|
+
class: f(["ecc highlight-chip my-1 mr-1", { "ml-2": t == 0 || V.value[t - 1].key != V.value[t].key }]),
|
|
2120
2130
|
style: { height: "25px" },
|
|
2121
2131
|
key: e.key + ":" + e.value
|
|
2122
2132
|
}, {
|
|
2123
2133
|
default: A(() => [
|
|
2124
|
-
t == 0 ||
|
|
2134
|
+
t == 0 || V.value[t - 1].key != V.value[t].key ? (_(), i("span", sn, T(F(e.key)) + ":\xA0 ", 1)) : r("", !0),
|
|
2125
2135
|
s(" " + T(e.title ?? e.value) + " ", 1),
|
|
2126
|
-
c(
|
|
2136
|
+
c(z, {
|
|
2127
2137
|
"data-qa": "remove-chip-button",
|
|
2128
2138
|
color: "transparent",
|
|
2129
2139
|
variant: "text",
|
|
@@ -2142,7 +2152,7 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
2142
2152
|
_: 2
|
|
2143
2153
|
}, 1024))), 128))]),
|
|
2144
2154
|
_: 1
|
|
2145
|
-
})])) : r("", !0), a("div", cn, [
|
|
2155
|
+
})])) : r("", !0), a("div", cn, [ae.value != 0 && H.value === D(Y).BREADCRUMB.ACTIVE_CONTROL.FILTER_CHIPS ? (_(), n(B, {
|
|
2146
2156
|
key: 0,
|
|
2147
2157
|
class: f(["ecc chipRemoveAll", { chipRemoveAllNoSearch: !o.showSearchBar }]),
|
|
2148
2158
|
label: ""
|
|
@@ -2180,7 +2190,7 @@ var $ = /*#__PURE__*/ Le(yt, [["render", Ct]]), wt = { style: {
|
|
|
2180
2190
|
let r = t, i = (e) => {
|
|
2181
2191
|
r("update:model", e);
|
|
2182
2192
|
};
|
|
2183
|
-
return (t, r) => (_(), n(
|
|
2193
|
+
return (t, r) => (_(), n(se, {
|
|
2184
2194
|
items: e.items,
|
|
2185
2195
|
"model-value": e.model,
|
|
2186
2196
|
"onUpdate:modelValue": i,
|
|
@@ -2225,7 +2235,7 @@ var mn = /*#__PURE__*/ Le(dn, [["render", pn]]), hn = /* @__PURE__ */ l({
|
|
|
2225
2235
|
"color"
|
|
2226
2236
|
]));
|
|
2227
2237
|
}
|
|
2228
|
-
}), gn = /* @__PURE__ */
|
|
2238
|
+
}), gn = /* @__PURE__ */ J((/* @__PURE__ */ q(((e, t) => {
|
|
2229
2239
|
(function() {
|
|
2230
2240
|
function e(e, t, n) {
|
|
2231
2241
|
return e.call.apply(e.bind, arguments);
|
|
@@ -2440,51 +2450,51 @@ var mn = /*#__PURE__*/ Le(dn, [["render", pn]]), hn = /* @__PURE__ */ l({
|
|
|
2440
2450
|
return I;
|
|
2441
2451
|
}
|
|
2442
2452
|
P.prototype.start = function() {
|
|
2443
|
-
this.f.serif = this.j.a.offsetWidth, this.f["sans-serif"] = this.m.a.offsetWidth, this.A = i(),
|
|
2453
|
+
this.f.serif = this.j.a.offsetWidth, this.f["sans-serif"] = this.m.a.offsetWidth, this.A = i(), L(this);
|
|
2444
2454
|
};
|
|
2445
|
-
function
|
|
2455
|
+
function re(e, t, n) {
|
|
2446
2456
|
for (var r in F) if (F.hasOwnProperty(r) && t === e.f[F[r]] && n === e.f[F[r]]) return !0;
|
|
2447
2457
|
return !1;
|
|
2448
2458
|
}
|
|
2449
|
-
function
|
|
2459
|
+
function L(e) {
|
|
2450
2460
|
var t = e.g.a.offsetWidth, n = e.h.a.offsetWidth, r;
|
|
2451
|
-
(r = t === e.f.serif && n === e.f["sans-serif"]) || (r = ne() &&
|
|
2461
|
+
(r = t === e.f.serif && n === e.f["sans-serif"]) || (r = ne() && re(e, t, n)), r ? i() - e.A >= e.w ? ne() && re(e, t, n) && (e.u === null || e.u.hasOwnProperty(e.a.c)) ? z(e, e.v) : z(e, e.B) : R(e) : z(e, e.v);
|
|
2452
2462
|
}
|
|
2453
|
-
function
|
|
2463
|
+
function R(e) {
|
|
2454
2464
|
setTimeout(r(function() {
|
|
2455
|
-
|
|
2465
|
+
L(this);
|
|
2456
2466
|
}, e), 50);
|
|
2457
2467
|
}
|
|
2458
|
-
function
|
|
2468
|
+
function z(e, t) {
|
|
2459
2469
|
setTimeout(r(function() {
|
|
2460
2470
|
l(this.g.a), l(this.h.a), l(this.j.a), l(this.m.a), t(this.a);
|
|
2461
2471
|
}, e), 0);
|
|
2462
2472
|
}
|
|
2463
|
-
function
|
|
2473
|
+
function B(e, t, n) {
|
|
2464
2474
|
this.c = e, this.a = t, this.f = 0, this.m = this.j = !1, this.s = n;
|
|
2465
2475
|
}
|
|
2466
|
-
var
|
|
2467
|
-
|
|
2476
|
+
var V = null;
|
|
2477
|
+
B.prototype.g = function(e) {
|
|
2468
2478
|
var t = this.a;
|
|
2469
|
-
t.g && u(t.f, [t.a.c("wf", e.c, C(e).toString(), "active")], [t.a.c("wf", e.c, C(e).toString(), "loading"), t.a.c("wf", e.c, C(e).toString(), "inactive")]), k(t, "fontactive", e), this.m = !0,
|
|
2470
|
-
},
|
|
2479
|
+
t.g && u(t.f, [t.a.c("wf", e.c, C(e).toString(), "active")], [t.a.c("wf", e.c, C(e).toString(), "loading"), t.a.c("wf", e.c, C(e).toString(), "inactive")]), k(t, "fontactive", e), this.m = !0, ie(this);
|
|
2480
|
+
}, B.prototype.h = function(e) {
|
|
2471
2481
|
var t = this.a;
|
|
2472
2482
|
if (t.g) {
|
|
2473
2483
|
var n = d(t.f, t.a.c("wf", e.c, C(e).toString(), "active")), r = [], i = [t.a.c("wf", e.c, C(e).toString(), "loading")];
|
|
2474
2484
|
n || r.push(t.a.c("wf", e.c, C(e).toString(), "inactive")), u(t.f, r, i);
|
|
2475
2485
|
}
|
|
2476
|
-
k(t, "fontinactive", e),
|
|
2486
|
+
k(t, "fontinactive", e), ie(this);
|
|
2477
2487
|
};
|
|
2478
|
-
function
|
|
2488
|
+
function ie(e) {
|
|
2479
2489
|
--e.f == 0 && e.j && (e.m ? (e = e.a, e.g && u(e.f, [e.a.c("wf", "active")], [e.a.c("wf", "loading"), e.a.c("wf", "inactive")]), k(e, "active")) : O(e.a));
|
|
2480
2490
|
}
|
|
2481
|
-
function
|
|
2491
|
+
function ae(e) {
|
|
2482
2492
|
this.j = e, this.a = new A(), this.h = 0, this.f = this.g = !0;
|
|
2483
2493
|
}
|
|
2484
|
-
|
|
2485
|
-
this.c = new a(this.j, e.context || this.j), this.g = !1 !== e.events, this.f = !1 !== e.classes,
|
|
2494
|
+
ae.prototype.load = function(e) {
|
|
2495
|
+
this.c = new a(this.j, e.context || this.j), this.g = !1 !== e.events, this.f = !1 !== e.classes, H(this, new E(this.c, e), e);
|
|
2486
2496
|
};
|
|
2487
|
-
function
|
|
2497
|
+
function oe(e, t, n, i, a) {
|
|
2488
2498
|
var o = --e.h == 0;
|
|
2489
2499
|
(e.f || e.g) && setTimeout(function() {
|
|
2490
2500
|
var e = a || null, s = i || {};
|
|
@@ -2494,30 +2504,30 @@ var mn = /*#__PURE__*/ Le(dn, [["render", pn]]), hn = /* @__PURE__ */ l({
|
|
|
2494
2504
|
var c, l = [];
|
|
2495
2505
|
for (c = 0; c < n.length; c++) {
|
|
2496
2506
|
var d = n[c], f = s[d.c], p = t.a, m = d;
|
|
2497
|
-
if (p.g && u(p.f, [p.a.c("wf", m.c, C(m).toString(), "loading")]), k(p, "fontloading", m), p = null,
|
|
2507
|
+
if (p.g && u(p.f, [p.a.c("wf", m.c, C(m).toString(), "loading")]), k(p, "fontloading", m), p = null, V === null) {
|
|
2498
2508
|
if (window.FontFace) {
|
|
2499
2509
|
var m = /Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent), h = /OS X.*Version\/10\..*Safari/.exec(window.navigator.userAgent) && /Apple/.exec(window.navigator.vendor);
|
|
2500
|
-
|
|
2501
|
-
} else
|
|
2510
|
+
V = m ? 42 < parseInt(m[1], 10) : !h;
|
|
2511
|
+
} else V = !1;
|
|
2502
2512
|
}
|
|
2503
|
-
p =
|
|
2513
|
+
p = V ? new te(r(t.g, t), r(t.h, t), t.c, d, t.s, f) : new P(r(t.g, t), r(t.h, t), t.c, d, t.s, e, f), l.push(p);
|
|
2504
2514
|
}
|
|
2505
2515
|
for (c = 0; c < l.length; c++) l[c].start();
|
|
2506
2516
|
}
|
|
2507
2517
|
}, 0);
|
|
2508
2518
|
}
|
|
2509
|
-
function
|
|
2519
|
+
function H(e, t, n) {
|
|
2510
2520
|
var r = [], i = n.timeout;
|
|
2511
2521
|
D(t);
|
|
2512
|
-
var r = ee(e.a, n, e.c), a = new
|
|
2522
|
+
var r = ee(e.a, n, e.c), a = new B(e.c, t, i);
|
|
2513
2523
|
for (e.h = r.length, t = 0, n = r.length; t < n; t++) r[t].load(function(t, n, r) {
|
|
2514
|
-
|
|
2524
|
+
oe(e, a, t, n, r);
|
|
2515
2525
|
});
|
|
2516
2526
|
}
|
|
2517
|
-
function
|
|
2527
|
+
function U(e, t) {
|
|
2518
2528
|
this.c = e, this.a = t;
|
|
2519
2529
|
}
|
|
2520
|
-
|
|
2530
|
+
U.prototype.load = function(e) {
|
|
2521
2531
|
function t() {
|
|
2522
2532
|
if (a["__mti_fntLst" + r]) {
|
|
2523
2533
|
var n = a["__mti_fntLst" + r](), i = [], o;
|
|
@@ -2540,10 +2550,10 @@ var mn = /*#__PURE__*/ Le(dn, [["render", pn]]), hn = /* @__PURE__ */ l({
|
|
|
2540
2550
|
}).id = "__MonotypeAPIScript__" + r;
|
|
2541
2551
|
} else e([]);
|
|
2542
2552
|
};
|
|
2543
|
-
function
|
|
2553
|
+
function se(e, t) {
|
|
2544
2554
|
this.c = e, this.a = t;
|
|
2545
2555
|
}
|
|
2546
|
-
|
|
2556
|
+
se.prototype.load = function(e) {
|
|
2547
2557
|
var t, n, r = this.a.urls || [], i = this.a.families || [], a = this.a.testStrings || {}, o = new h();
|
|
2548
2558
|
for (t = 0, n = r.length; t < n; t++) p(this.c, r[t], g(o));
|
|
2549
2559
|
var s = [];
|
|
@@ -2553,11 +2563,11 @@ var mn = /*#__PURE__*/ Le(dn, [["render", pn]]), hn = /* @__PURE__ */ l({
|
|
|
2553
2563
|
e(s, a);
|
|
2554
2564
|
});
|
|
2555
2565
|
};
|
|
2556
|
-
function
|
|
2557
|
-
this.c = e ||
|
|
2566
|
+
function ce(e, t) {
|
|
2567
|
+
this.c = e || le, this.a = [], this.f = [], this.g = t || "";
|
|
2558
2568
|
}
|
|
2559
|
-
var
|
|
2560
|
-
function
|
|
2569
|
+
var le = "https://fonts.googleapis.com/css";
|
|
2570
|
+
function W(e, t) {
|
|
2561
2571
|
for (var n = t.length, r = 0; r < n; r++) {
|
|
2562
2572
|
var i = t[r].split(":");
|
|
2563
2573
|
i.length == 3 && e.f.push(i.pop());
|
|
@@ -2565,13 +2575,13 @@ var mn = /*#__PURE__*/ Le(dn, [["render", pn]]), hn = /* @__PURE__ */ l({
|
|
|
2565
2575
|
i.length == 2 && i[1] != "" && (a = ":"), e.a.push(i.join(a));
|
|
2566
2576
|
}
|
|
2567
2577
|
}
|
|
2568
|
-
function
|
|
2578
|
+
function ue(e) {
|
|
2569
2579
|
if (e.a.length == 0) throw Error("No fonts to load!");
|
|
2570
2580
|
if (e.c.indexOf("kit=") != -1) return e.c;
|
|
2571
2581
|
for (var t = e.a.length, n = [], r = 0; r < t; r++) n.push(e.a[r].replace(/ /g, "+"));
|
|
2572
2582
|
return t = e.c + "?family=" + n.join("%7C"), 0 < e.f.length && (t += "&subset=" + e.f.join(",")), 0 < e.g.length && (t += "&text=" + encodeURIComponent(e.g)), t;
|
|
2573
2583
|
}
|
|
2574
|
-
function
|
|
2584
|
+
function G(e) {
|
|
2575
2585
|
this.f = e, this.a = [], this.c = {};
|
|
2576
2586
|
}
|
|
2577
2587
|
var de = {
|
|
@@ -2581,7 +2591,7 @@ var mn = /*#__PURE__*/ Le(dn, [["render", pn]]), hn = /* @__PURE__ */ l({
|
|
|
2581
2591
|
greek: "αβΣ",
|
|
2582
2592
|
khmer: "កខគ",
|
|
2583
2593
|
Hanuman: "កខគ"
|
|
2584
|
-
},
|
|
2594
|
+
}, fe = {
|
|
2585
2595
|
thin: "1",
|
|
2586
2596
|
extralight: "2",
|
|
2587
2597
|
"extra-light": "2",
|
|
@@ -2605,13 +2615,13 @@ var mn = /*#__PURE__*/ Le(dn, [["render", pn]]), hn = /* @__PURE__ */ l({
|
|
|
2605
2615
|
l: "3",
|
|
2606
2616
|
r: "4",
|
|
2607
2617
|
b: "7"
|
|
2608
|
-
},
|
|
2618
|
+
}, K = {
|
|
2609
2619
|
i: "i",
|
|
2610
2620
|
italic: "i",
|
|
2611
2621
|
n: "n",
|
|
2612
2622
|
normal: "n"
|
|
2613
|
-
},
|
|
2614
|
-
function
|
|
2623
|
+
}, q = /^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;
|
|
2624
|
+
function pe(e) {
|
|
2615
2625
|
for (var t = e.f.length, n = 0; n < t; n++) {
|
|
2616
2626
|
var r = e.f[n].split(":"), i = r[0].replace(/\+/g, " "), a = ["n4"];
|
|
2617
2627
|
if (2 <= r.length) {
|
|
@@ -2619,11 +2629,11 @@ var mn = /*#__PURE__*/ Le(dn, [["render", pn]]), hn = /* @__PURE__ */ l({
|
|
|
2619
2629
|
if (o = [], s) for (var s = s.split(","), c = s.length, l = 0; l < c; l++) {
|
|
2620
2630
|
var u = s[l];
|
|
2621
2631
|
if (u.match(/^[\w-]+$/)) {
|
|
2622
|
-
var d =
|
|
2632
|
+
var d = q.exec(u.toLowerCase());
|
|
2623
2633
|
if (d == null) u = "";
|
|
2624
2634
|
else {
|
|
2625
|
-
if (u = d[2], u = u == null || u == "" ? "n" :
|
|
2626
|
-
else var f =
|
|
2635
|
+
if (u = d[2], u = u == null || u == "" ? "n" : K[u], d = d[1], d == null || d == "") d = "4";
|
|
2636
|
+
else var f = fe[d], d = f || (isNaN(d) ? "4" : d.substr(0, 1));
|
|
2627
2637
|
u = [u, d].join("");
|
|
2628
2638
|
}
|
|
2629
2639
|
} else u = "";
|
|
@@ -2634,7 +2644,7 @@ var mn = /*#__PURE__*/ Le(dn, [["render", pn]]), hn = /* @__PURE__ */ l({
|
|
|
2634
2644
|
for (e.c[i] || (r = de[i]) && (e.c[i] = r), r = 0; r < a.length; r += 1) e.a.push(new b(i, a[r]));
|
|
2635
2645
|
}
|
|
2636
2646
|
}
|
|
2637
|
-
function
|
|
2647
|
+
function J(e, t) {
|
|
2638
2648
|
this.c = e, this.a = t;
|
|
2639
2649
|
}
|
|
2640
2650
|
var Y = {
|
|
@@ -2642,11 +2652,11 @@ var mn = /*#__PURE__*/ Le(dn, [["render", pn]]), hn = /* @__PURE__ */ l({
|
|
|
2642
2652
|
Cousine: !0,
|
|
2643
2653
|
Tinos: !0
|
|
2644
2654
|
};
|
|
2645
|
-
|
|
2646
|
-
var t = new h(), n = this.c, r = new
|
|
2647
|
-
|
|
2648
|
-
var a = new
|
|
2649
|
-
|
|
2655
|
+
J.prototype.load = function(e) {
|
|
2656
|
+
var t = new h(), n = this.c, r = new ce(this.a.api, this.a.text), i = this.a.families;
|
|
2657
|
+
W(r, i);
|
|
2658
|
+
var a = new G(i);
|
|
2659
|
+
pe(a), p(n, ue(r), g(t)), _(t, function() {
|
|
2650
2660
|
e(a.a, a.c, Y);
|
|
2651
2661
|
});
|
|
2652
2662
|
};
|
|
@@ -2686,17 +2696,17 @@ var mn = /*#__PURE__*/ Le(dn, [["render", pn]]), hn = /* @__PURE__ */ l({
|
|
|
2686
2696
|
t && e([]);
|
|
2687
2697
|
})) : e([]);
|
|
2688
2698
|
};
|
|
2689
|
-
var Z = new
|
|
2699
|
+
var Z = new ae(window);
|
|
2690
2700
|
Z.a.c.custom = function(e, t) {
|
|
2691
|
-
return new
|
|
2701
|
+
return new se(t, e);
|
|
2692
2702
|
}, Z.a.c.fontdeck = function(e, t) {
|
|
2693
2703
|
return new me(t, e);
|
|
2694
2704
|
}, Z.a.c.monotype = function(e, t) {
|
|
2695
|
-
return new
|
|
2705
|
+
return new U(t, e);
|
|
2696
2706
|
}, Z.a.c.typekit = function(e, t) {
|
|
2697
2707
|
return new X(t, e);
|
|
2698
2708
|
}, Z.a.c.google = function(e, t) {
|
|
2699
|
-
return new
|
|
2709
|
+
return new J(t, e);
|
|
2700
2710
|
};
|
|
2701
2711
|
var he = { load: r(Z.load, Z) };
|
|
2702
2712
|
typeof define == "function" && define.amd ? define(function() {
|