@stsdti/funky-ui-kit 1.3.9 → 1.4.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/dist/funky-ui-kit.css +1 -1
- package/dist/funky-ui-kit.es.js +767 -677
- package/dist/funky-ui-kit.es.js.map +1 -1
- package/package.json +1 -1
- package/web-types.json +33 -1
package/dist/funky-ui-kit.es.js
CHANGED
|
@@ -9195,7 +9195,7 @@ function createDOMPurify() {
|
|
|
9195
9195
|
return DOMPurify;
|
|
9196
9196
|
}
|
|
9197
9197
|
var purify = createDOMPurify();
|
|
9198
|
-
const _sfc_main$
|
|
9198
|
+
const _sfc_main$1L = {
|
|
9199
9199
|
__name: "AppHtml",
|
|
9200
9200
|
props: /* @__PURE__ */ mergeModels({
|
|
9201
9201
|
tag: {
|
|
@@ -9220,8 +9220,8 @@ const _sfc_main$1J = {
|
|
|
9220
9220
|
};
|
|
9221
9221
|
}
|
|
9222
9222
|
};
|
|
9223
|
-
const _hoisted_1$
|
|
9224
|
-
const _sfc_main$
|
|
9223
|
+
const _hoisted_1$1g = ["src"];
|
|
9224
|
+
const _sfc_main$1K = {
|
|
9225
9225
|
__name: "AppIcon",
|
|
9226
9226
|
props: {
|
|
9227
9227
|
value: {},
|
|
@@ -9305,7 +9305,7 @@ const _sfc_main$1I = {
|
|
|
9305
9305
|
return null;
|
|
9306
9306
|
});
|
|
9307
9307
|
return (_ctx, _cache2) => {
|
|
9308
|
-
return isSvg.value ? (openBlock(), createBlock(_sfc_main$
|
|
9308
|
+
return isSvg.value ? (openBlock(), createBlock(_sfc_main$1L, {
|
|
9309
9309
|
key: 0,
|
|
9310
9310
|
modelValue: svgValue.value,
|
|
9311
9311
|
"onUpdate:modelValue": _cache2[0] || (_cache2[0] = ($event) => svgValue.value = $event),
|
|
@@ -9315,7 +9315,7 @@ const _sfc_main$1I = {
|
|
|
9315
9315
|
src: __props.value,
|
|
9316
9316
|
style: normalizeStyle(imgStyle.value),
|
|
9317
9317
|
class: normalizeClass(iconClass.value)
|
|
9318
|
-
}, null, 14, _hoisted_1$
|
|
9318
|
+
}, null, 14, _hoisted_1$1g)) : isComponent.value ? (openBlock(), createBlock(resolveDynamicComponent(is.value), {
|
|
9319
9319
|
key: 2,
|
|
9320
9320
|
class: normalizeClass(iconClass.value),
|
|
9321
9321
|
size: __props.size,
|
|
@@ -9329,7 +9329,7 @@ const _sfc_main$1I = {
|
|
|
9329
9329
|
};
|
|
9330
9330
|
}
|
|
9331
9331
|
};
|
|
9332
|
-
const _sfc_main$
|
|
9332
|
+
const _sfc_main$1J = {
|
|
9333
9333
|
__name: "AppBadge",
|
|
9334
9334
|
props: {
|
|
9335
9335
|
value: {
|
|
@@ -9414,7 +9414,7 @@ const _sfc_main$1H = {
|
|
|
9414
9414
|
to: __props.route
|
|
9415
9415
|
}, {
|
|
9416
9416
|
default: withCtx(() => [
|
|
9417
|
-
computedIcon.value ? (openBlock(), createBlock(_sfc_main$
|
|
9417
|
+
computedIcon.value ? (openBlock(), createBlock(_sfc_main$1K, {
|
|
9418
9418
|
key: 0,
|
|
9419
9419
|
value: computedIcon.value,
|
|
9420
9420
|
style: { "padding": "2px" }
|
|
@@ -9428,7 +9428,7 @@ const _sfc_main$1H = {
|
|
|
9428
9428
|
};
|
|
9429
9429
|
}
|
|
9430
9430
|
};
|
|
9431
|
-
const _sfc_main$
|
|
9431
|
+
const _sfc_main$1I = {
|
|
9432
9432
|
__name: "AppPlaceholderImage",
|
|
9433
9433
|
props: {
|
|
9434
9434
|
imgSize: {
|
|
@@ -9460,8 +9460,8 @@ const _sfc_main$1G = {
|
|
|
9460
9460
|
};
|
|
9461
9461
|
}
|
|
9462
9462
|
};
|
|
9463
|
-
const _hoisted_1$
|
|
9464
|
-
const _hoisted_2$
|
|
9463
|
+
const _hoisted_1$1f = { class: "breadcrumb" };
|
|
9464
|
+
const _hoisted_2$W = {
|
|
9465
9465
|
key: 0,
|
|
9466
9466
|
class: "breadcrumb-elements-item"
|
|
9467
9467
|
};
|
|
@@ -9470,7 +9470,7 @@ const _hoisted_4$u = {
|
|
|
9470
9470
|
key: 0,
|
|
9471
9471
|
class: "pl-5 pr-5"
|
|
9472
9472
|
};
|
|
9473
|
-
const _sfc_main$
|
|
9473
|
+
const _sfc_main$1H = {
|
|
9474
9474
|
__name: "AppBreadcrumbs",
|
|
9475
9475
|
props: {
|
|
9476
9476
|
value: {
|
|
@@ -9491,9 +9491,9 @@ const _sfc_main$1F = {
|
|
|
9491
9491
|
};
|
|
9492
9492
|
return (_ctx, _cache2) => {
|
|
9493
9493
|
const _component_router_link = resolveComponent("router-link");
|
|
9494
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
9495
|
-
__props.isLoading ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
9496
|
-
createVNode(_sfc_main$
|
|
9494
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1f, [
|
|
9495
|
+
__props.isLoading ? (openBlock(), createElementBlock("div", _hoisted_2$W, [
|
|
9496
|
+
createVNode(_sfc_main$1I, { style: { "width": "200px", "height": "20px" } })
|
|
9497
9497
|
])) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(__props.value, (breadcrumb, index) => {
|
|
9498
9498
|
return openBlock(), createElementBlock("div", _hoisted_3$F, [
|
|
9499
9499
|
renderSlot(_ctx.$slots, "breadcrumb", {
|
|
@@ -13086,7 +13086,7 @@ setDefaultProps$1({
|
|
|
13086
13086
|
ignoreAttributes: true,
|
|
13087
13087
|
plugins: [sticky, inlinePositioning, followCursor, animateFill]
|
|
13088
13088
|
});
|
|
13089
|
-
const _sfc_main$
|
|
13089
|
+
const _sfc_main$1G = /* @__PURE__ */ Object.assign({
|
|
13090
13090
|
inheritAttrs: false
|
|
13091
13091
|
}, {
|
|
13092
13092
|
__name: "AppButton",
|
|
@@ -13296,7 +13296,7 @@ const _sfc_main$1E = /* @__PURE__ */ Object.assign({
|
|
|
13296
13296
|
style: _ctx.$attrs.style
|
|
13297
13297
|
}, computedProps.value, { onClick }), {
|
|
13298
13298
|
default: withCtx(() => [
|
|
13299
|
-
computedIcon.value ? (openBlock(), createBlock(_sfc_main$
|
|
13299
|
+
computedIcon.value ? (openBlock(), createBlock(_sfc_main$1K, {
|
|
13300
13300
|
key: 0,
|
|
13301
13301
|
value: computedIcon.value,
|
|
13302
13302
|
stroke: computedStroke.value
|
|
@@ -13314,7 +13314,7 @@ const _sfc_main$1E = /* @__PURE__ */ Object.assign({
|
|
|
13314
13314
|
};
|
|
13315
13315
|
}
|
|
13316
13316
|
});
|
|
13317
|
-
const _sfc_main$
|
|
13317
|
+
const _sfc_main$1F = {
|
|
13318
13318
|
__name: "AppButtonGroup",
|
|
13319
13319
|
props: {
|
|
13320
13320
|
/**
|
|
@@ -13371,7 +13371,7 @@ const _sfc_main$1D = {
|
|
|
13371
13371
|
key: index,
|
|
13372
13372
|
button: __props.value
|
|
13373
13373
|
}, () => [
|
|
13374
|
-
isVisible(button) ? (openBlock(), createBlock(_sfc_main$
|
|
13374
|
+
isVisible(button) ? (openBlock(), createBlock(_sfc_main$1G, {
|
|
13375
13375
|
key: 0,
|
|
13376
13376
|
value: button,
|
|
13377
13377
|
size: __props.size,
|
|
@@ -13468,8 +13468,8 @@ const _export_sfc = (sfc, props2) => {
|
|
|
13468
13468
|
}
|
|
13469
13469
|
return target;
|
|
13470
13470
|
};
|
|
13471
|
-
const _hoisted_1$
|
|
13472
|
-
const _hoisted_2$
|
|
13471
|
+
const _hoisted_1$1e = ["name"];
|
|
13472
|
+
const _hoisted_2$V = {
|
|
13473
13473
|
key: 0,
|
|
13474
13474
|
class: "text-danger"
|
|
13475
13475
|
};
|
|
@@ -13485,7 +13485,7 @@ const _hoisted_5$n = {
|
|
|
13485
13485
|
key: 1,
|
|
13486
13486
|
class: "help-block"
|
|
13487
13487
|
};
|
|
13488
|
-
const _sfc_main$
|
|
13488
|
+
const _sfc_main$1E = {
|
|
13489
13489
|
__name: "AppFormElement",
|
|
13490
13490
|
props: {
|
|
13491
13491
|
labelStyle: {},
|
|
@@ -13558,7 +13558,7 @@ const _sfc_main$1C = {
|
|
|
13558
13558
|
style: normalizeStyle(labelStyle.value)
|
|
13559
13559
|
}, [
|
|
13560
13560
|
createTextVNode(toDisplayString(unref(computedLabel)) + " ", 1),
|
|
13561
|
-
_ctx.isRequired ? withDirectives((openBlock(), createElementBlock("span", _hoisted_2$
|
|
13561
|
+
_ctx.isRequired ? withDirectives((openBlock(), createElementBlock("span", _hoisted_2$V, [..._cache2[0] || (_cache2[0] = [
|
|
13562
13562
|
createTextVNode(" * ", -1)
|
|
13563
13563
|
])])), [
|
|
13564
13564
|
[_directive_tippy, "Camp obligatoriu"]
|
|
@@ -13584,11 +13584,11 @@ const _sfc_main$1C = {
|
|
|
13584
13584
|
_ctx.infoText ? (openBlock(), createElementBlock("span", _hoisted_5$n, toDisplayString(_ctx.infoText), 1)) : createCommentVNode("", true),
|
|
13585
13585
|
renderSlot(_ctx.$slots, "help-block", {}, void 0, true)
|
|
13586
13586
|
], 4)
|
|
13587
|
-
], 10, _hoisted_1$
|
|
13587
|
+
], 10, _hoisted_1$1e)) : createCommentVNode("", true);
|
|
13588
13588
|
};
|
|
13589
13589
|
}
|
|
13590
13590
|
};
|
|
13591
|
-
const AppFormElement = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13591
|
+
const AppFormElement = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["__scopeId", "data-v-ae401c77"]]);
|
|
13592
13592
|
function buildFormatLongFn$1(args) {
|
|
13593
13593
|
return function() {
|
|
13594
13594
|
var options = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
@@ -17950,11 +17950,11 @@ const appDatePickerProps = {
|
|
|
17950
17950
|
}
|
|
17951
17951
|
}
|
|
17952
17952
|
};
|
|
17953
|
-
const _hoisted_1$
|
|
17953
|
+
const _hoisted_1$1d = { class: "" };
|
|
17954
17954
|
const CODE_SUB_DAY$1 = "subday";
|
|
17955
17955
|
const CODE_TODAY$1 = "today";
|
|
17956
17956
|
const CODE_ADD_DAY$1 = "addday";
|
|
17957
|
-
const _sfc_main$
|
|
17957
|
+
const _sfc_main$1D = {
|
|
17958
17958
|
__name: "AppDateEasyButtons",
|
|
17959
17959
|
props: {
|
|
17960
17960
|
modelValue: Date,
|
|
@@ -18016,8 +18016,8 @@ const _sfc_main$1B = {
|
|
|
18016
18016
|
selectedDate.value = subDays$1(selectedDate.value, 1);
|
|
18017
18017
|
};
|
|
18018
18018
|
return (_ctx, _cache2) => {
|
|
18019
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
18020
|
-
createVNode(_sfc_main$
|
|
18019
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1d, [
|
|
18020
|
+
createVNode(_sfc_main$1F, {
|
|
18021
18021
|
value: buttons.value,
|
|
18022
18022
|
onClick: onEasyButtonsInput
|
|
18023
18023
|
}, null, 8, ["value"])
|
|
@@ -18025,11 +18025,11 @@ const _sfc_main$1B = {
|
|
|
18025
18025
|
};
|
|
18026
18026
|
}
|
|
18027
18027
|
};
|
|
18028
|
-
const _hoisted_1$
|
|
18028
|
+
const _hoisted_1$1c = {
|
|
18029
18029
|
class: "flex-center-vertical dp__input dp__pointer dp__input_readonly dp__input_reg",
|
|
18030
18030
|
style: { "gap": "3px" }
|
|
18031
18031
|
};
|
|
18032
|
-
const _hoisted_2$
|
|
18032
|
+
const _hoisted_2$U = ["disabled", "placeholder", "onBlur", "onKeydown", "onKeypress", "onPaste"];
|
|
18033
18033
|
const _hoisted_3$D = { key: 0 };
|
|
18034
18034
|
const _hoisted_4$s = {
|
|
18035
18035
|
key: 1,
|
|
@@ -18041,7 +18041,7 @@ const _hoisted_7$6 = {
|
|
|
18041
18041
|
key: 0,
|
|
18042
18042
|
class: "ml-10"
|
|
18043
18043
|
};
|
|
18044
|
-
const _sfc_main$
|
|
18044
|
+
const _sfc_main$1C = {
|
|
18045
18045
|
__name: "AppDatePicker",
|
|
18046
18046
|
props: /* @__PURE__ */ mergeModels({
|
|
18047
18047
|
...appDatePickerProps,
|
|
@@ -18110,7 +18110,7 @@ const _sfc_main$1A = {
|
|
|
18110
18110
|
onDateUpdate: updateDate
|
|
18111
18111
|
}), {
|
|
18112
18112
|
"dp-input": withCtx(({ value, isMenuOpen, onTab, onKeypress, onPaste }) => [
|
|
18113
|
-
createElementVNode("div", _hoisted_1$
|
|
18113
|
+
createElementVNode("div", _hoisted_1$1c, [
|
|
18114
18114
|
_cache2[3] || (_cache2[3] = createElementVNode("i", { class: "ph-calendar-blank" }, null, -1)),
|
|
18115
18115
|
isDayOfWeekVisible.value ? (openBlock(), createBlock(_component_app_date_picker_day_of_week, {
|
|
18116
18116
|
key: 0,
|
|
@@ -18131,7 +18131,7 @@ const _sfc_main$1A = {
|
|
|
18131
18131
|
],
|
|
18132
18132
|
onKeypress,
|
|
18133
18133
|
onPaste
|
|
18134
|
-
}, null, 40, _hoisted_2$
|
|
18134
|
+
}, null, 40, _hoisted_2$U)), [
|
|
18135
18135
|
[vModelText, inputValue.value]
|
|
18136
18136
|
]) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
18137
18137
|
modelValue.value ? (openBlock(), createElementBlock("span", _hoisted_3$D, toDisplayString(value), 1)) : (openBlock(), createElementBlock("span", _hoisted_4$s, toDisplayString(_ctx.placeholder), 1))
|
|
@@ -18151,7 +18151,7 @@ const _sfc_main$1A = {
|
|
|
18151
18151
|
_: 1
|
|
18152
18152
|
}, 16, ["modelValue", "class", "disabled-dates", "disabled", "format-locale", "format", "name", "placeholder", "text-input"]),
|
|
18153
18153
|
_ctx.showEasyButtons && !_ctx.disabled ? (openBlock(), createElementBlock("div", _hoisted_7$6, [
|
|
18154
|
-
createVNode(_sfc_main$
|
|
18154
|
+
createVNode(_sfc_main$1D, {
|
|
18155
18155
|
modelValue: modelValue.value,
|
|
18156
18156
|
"onUpdate:modelValue": _cache2[2] || (_cache2[2] = ($event) => modelValue.value = $event)
|
|
18157
18157
|
}, null, 8, ["modelValue"])
|
|
@@ -18171,13 +18171,13 @@ const _sfc_main$1A = {
|
|
|
18171
18171
|
};
|
|
18172
18172
|
}
|
|
18173
18173
|
};
|
|
18174
|
-
const _hoisted_1$
|
|
18175
|
-
const _hoisted_2$
|
|
18174
|
+
const _hoisted_1$1b = { class: "w-100" };
|
|
18175
|
+
const _hoisted_2$T = { class: "flex-center-vertical w-100 gap-1" };
|
|
18176
18176
|
const _hoisted_3$C = {
|
|
18177
18177
|
key: 0,
|
|
18178
18178
|
class: "flex-center-vertical mt-1"
|
|
18179
18179
|
};
|
|
18180
|
-
const _sfc_main$
|
|
18180
|
+
const _sfc_main$1B = {
|
|
18181
18181
|
__name: "AppDatePickerRange",
|
|
18182
18182
|
props: /* @__PURE__ */ mergeModels({
|
|
18183
18183
|
placeholderLeft: {
|
|
@@ -18234,9 +18234,9 @@ const _sfc_main$1z = {
|
|
|
18234
18234
|
const _component_app_button_group = resolveComponent("app-button-group");
|
|
18235
18235
|
return openBlock(), createBlock(AppFormElement, normalizeProps(guardReactiveProps(unref(formElementProps))), {
|
|
18236
18236
|
default: withCtx(() => [
|
|
18237
|
-
createElementVNode("div", _hoisted_1$
|
|
18238
|
-
createElementVNode("div", _hoisted_2$
|
|
18239
|
-
createVNode(_sfc_main$
|
|
18237
|
+
createElementVNode("div", _hoisted_1$1b, [
|
|
18238
|
+
createElementVNode("div", _hoisted_2$T, [
|
|
18239
|
+
createVNode(_sfc_main$1C, mergeProps({
|
|
18240
18240
|
class: "app-form-group-element flex-1",
|
|
18241
18241
|
"input-only": true,
|
|
18242
18242
|
modelValue: modelValueStart.value,
|
|
@@ -18244,7 +18244,7 @@ const _sfc_main$1z = {
|
|
|
18244
18244
|
placeholder: __props.placeholderLeft,
|
|
18245
18245
|
name: __props.startName || _ctx.$attrs["name-start"] || "start"
|
|
18246
18246
|
}, bindableProps.value, { showEasyButtons: false }), null, 16, ["modelValue", "placeholder", "name"]),
|
|
18247
|
-
createVNode(_sfc_main$
|
|
18247
|
+
createVNode(_sfc_main$1C, mergeProps({
|
|
18248
18248
|
class: "app-form-group-element flex-1",
|
|
18249
18249
|
"input-only": true,
|
|
18250
18250
|
modelValue: modelValueEnd.value,
|
|
@@ -18267,10 +18267,10 @@ const _sfc_main$1z = {
|
|
|
18267
18267
|
};
|
|
18268
18268
|
}
|
|
18269
18269
|
};
|
|
18270
|
-
const _hoisted_1$
|
|
18271
|
-
const _hoisted_2$
|
|
18270
|
+
const _hoisted_1$1a = { class: "d-flex align-items-center" };
|
|
18271
|
+
const _hoisted_2$S = { class: "mb-0 fw-normal" };
|
|
18272
18272
|
const _hoisted_3$B = { class: "ms-auto" };
|
|
18273
|
-
const _sfc_main$
|
|
18273
|
+
const _sfc_main$1A = {
|
|
18274
18274
|
__name: "AppCard",
|
|
18275
18275
|
props: {
|
|
18276
18276
|
type: {
|
|
@@ -18366,8 +18366,8 @@ const _sfc_main$1y = {
|
|
|
18366
18366
|
class: normalizeClass([headerClasses.value]),
|
|
18367
18367
|
onClick: collapseBody
|
|
18368
18368
|
}, [
|
|
18369
|
-
createElementVNode("div", _hoisted_1$
|
|
18370
|
-
createElementVNode("div", _hoisted_2$
|
|
18369
|
+
createElementVNode("div", _hoisted_1$1a, [
|
|
18370
|
+
createElementVNode("div", _hoisted_2$S, [
|
|
18371
18371
|
renderSlot(_ctx.$slots, "title"),
|
|
18372
18372
|
createElementVNode("div", {
|
|
18373
18373
|
class: "header-elements-toggle d-none",
|
|
@@ -18400,8 +18400,8 @@ const _sfc_main$1y = {
|
|
|
18400
18400
|
};
|
|
18401
18401
|
}
|
|
18402
18402
|
};
|
|
18403
|
-
const _hoisted_1$
|
|
18404
|
-
const _sfc_main$
|
|
18403
|
+
const _hoisted_1$19 = ["checked"];
|
|
18404
|
+
const _sfc_main$1z = {
|
|
18405
18405
|
__name: "AppCheckbox",
|
|
18406
18406
|
props: {
|
|
18407
18407
|
modelValue: {},
|
|
@@ -18454,7 +18454,7 @@ const _sfc_main$1x = {
|
|
|
18454
18454
|
checked: __props.modelValue,
|
|
18455
18455
|
class: checkedClass.value,
|
|
18456
18456
|
type: "checkbox"
|
|
18457
|
-
}, getDisabled.value), null, 16, _hoisted_1$
|
|
18457
|
+
}, getDisabled.value), null, 16, _hoisted_1$19),
|
|
18458
18458
|
renderSlot(_ctx.$slots, "afterCheckbox")
|
|
18459
18459
|
], 2)
|
|
18460
18460
|
]),
|
|
@@ -18463,14 +18463,14 @@ const _sfc_main$1x = {
|
|
|
18463
18463
|
};
|
|
18464
18464
|
}
|
|
18465
18465
|
};
|
|
18466
|
-
const _sfc_main$
|
|
18466
|
+
const _sfc_main$1y = {};
|
|
18467
18467
|
function _sfc_render$3(_ctx, _cache2) {
|
|
18468
18468
|
const _component_router_view = resolveComponent("router-view");
|
|
18469
18469
|
return openBlock(), createBlock(_component_router_view);
|
|
18470
18470
|
}
|
|
18471
|
-
const AppChild = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18472
|
-
const _hoisted_1$
|
|
18473
|
-
const _sfc_main$
|
|
18471
|
+
const AppChild = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["render", _sfc_render$3], ["__scopeId", "data-v-f1bb4de2"]]);
|
|
18472
|
+
const _hoisted_1$18 = { class: "badge bg-secondary day-of-week-badge" };
|
|
18473
|
+
const _sfc_main$1x = {
|
|
18474
18474
|
__name: "AppDatePickerDayOfWeek",
|
|
18475
18475
|
props: {
|
|
18476
18476
|
value: {
|
|
@@ -18490,7 +18490,7 @@ const _sfc_main$1v = {
|
|
|
18490
18490
|
return format$1(props2.value, "EEEEEE", { locale });
|
|
18491
18491
|
});
|
|
18492
18492
|
return (_ctx, _cache2) => {
|
|
18493
|
-
return openBlock(), createElementBlock("span", _hoisted_1$
|
|
18493
|
+
return openBlock(), createElementBlock("span", _hoisted_1$18, toDisplayString(currentDayOfWeek.value), 1);
|
|
18494
18494
|
};
|
|
18495
18495
|
}
|
|
18496
18496
|
};
|
|
@@ -18704,8 +18704,8 @@ function useAdaptiveDropdown(element, openDirection) {
|
|
|
18704
18704
|
updateDropdownStyle
|
|
18705
18705
|
};
|
|
18706
18706
|
}
|
|
18707
|
-
const _hoisted_1$
|
|
18708
|
-
const _hoisted_2$
|
|
18707
|
+
const _hoisted_1$17 = { class: "w-100 position-relative cursor-pointer" };
|
|
18708
|
+
const _hoisted_2$R = ["placeholder"];
|
|
18709
18709
|
const _hoisted_3$A = {
|
|
18710
18710
|
key: 1,
|
|
18711
18711
|
class: "flex-1 input-placeholder"
|
|
@@ -18715,7 +18715,7 @@ const _hoisted_4$r = {
|
|
|
18715
18715
|
class: "form-control-feedback-icon clear-button"
|
|
18716
18716
|
};
|
|
18717
18717
|
const _hoisted_5$l = ["onClick"];
|
|
18718
|
-
const _sfc_main$
|
|
18718
|
+
const _sfc_main$1w = {
|
|
18719
18719
|
__name: "AppGridPicker",
|
|
18720
18720
|
props: /* @__PURE__ */ mergeModels({
|
|
18721
18721
|
options: {
|
|
@@ -18873,7 +18873,7 @@ const _sfc_main$1u = {
|
|
|
18873
18873
|
const _directive_tippy = resolveDirective("tippy");
|
|
18874
18874
|
return openBlock(), createBlock(AppFormElement, normalizeProps(guardReactiveProps(unref(formElementProps))), {
|
|
18875
18875
|
default: withCtx(() => [
|
|
18876
|
-
createElementVNode("div", _hoisted_1$
|
|
18876
|
+
createElementVNode("div", _hoisted_1$17, [
|
|
18877
18877
|
createElementVNode("div", {
|
|
18878
18878
|
ref_key: "input",
|
|
18879
18879
|
ref: input,
|
|
@@ -18888,7 +18888,7 @@ const _sfc_main$1u = {
|
|
|
18888
18888
|
onKeyup: withKeys(onKeyEnter, ["enter"]),
|
|
18889
18889
|
class: "mb-0 no-hover flex-1 form-control",
|
|
18890
18890
|
placeholder: props2.placeholder
|
|
18891
|
-
}, null, 40, _hoisted_2$
|
|
18891
|
+
}, null, 40, _hoisted_2$R)), [
|
|
18892
18892
|
[vModelText, searchValue.value]
|
|
18893
18893
|
]) : (openBlock(), createElementBlock("div", {
|
|
18894
18894
|
key: 1,
|
|
@@ -18942,11 +18942,11 @@ const _sfc_main$1u = {
|
|
|
18942
18942
|
};
|
|
18943
18943
|
}
|
|
18944
18944
|
};
|
|
18945
|
-
const AppGridPicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18945
|
+
const AppGridPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["__scopeId", "data-v-86b56f72"]]);
|
|
18946
18946
|
const EMIT_SUB_HOUR = "sub-hour";
|
|
18947
18947
|
const EMIT_NOW = "now";
|
|
18948
18948
|
const EMIT_ADD_HOUR = "add-hour";
|
|
18949
|
-
const _sfc_main$
|
|
18949
|
+
const _sfc_main$1v = {
|
|
18950
18950
|
__name: "AppTimePickerEasyButtons",
|
|
18951
18951
|
emits: [EMIT_NOW, EMIT_ADD_HOUR, EMIT_SUB_HOUR],
|
|
18952
18952
|
setup(__props, { emit: __emit }) {
|
|
@@ -18961,7 +18961,7 @@ const _sfc_main$1t = {
|
|
|
18961
18961
|
};
|
|
18962
18962
|
return (_ctx, _cache2) => {
|
|
18963
18963
|
return openBlock(), createElementBlock("div", null, [
|
|
18964
|
-
createVNode(_sfc_main$
|
|
18964
|
+
createVNode(_sfc_main$1F, {
|
|
18965
18965
|
value: buttons.value,
|
|
18966
18966
|
onClick
|
|
18967
18967
|
}, null, 8, ["value"])
|
|
@@ -18969,11 +18969,11 @@ const _sfc_main$1t = {
|
|
|
18969
18969
|
};
|
|
18970
18970
|
}
|
|
18971
18971
|
};
|
|
18972
|
-
const _hoisted_1$
|
|
18972
|
+
const _hoisted_1$16 = {
|
|
18973
18973
|
class: "display-block w-100",
|
|
18974
18974
|
style: {}
|
|
18975
18975
|
};
|
|
18976
|
-
const _hoisted_2$
|
|
18976
|
+
const _hoisted_2$Q = {
|
|
18977
18977
|
key: 0,
|
|
18978
18978
|
class: "ml-10"
|
|
18979
18979
|
};
|
|
@@ -18981,7 +18981,7 @@ const _hoisted_3$z = {
|
|
|
18981
18981
|
key: 1,
|
|
18982
18982
|
class: "flex-center-vertical ml-5 mr-5 time-picker-icon"
|
|
18983
18983
|
};
|
|
18984
|
-
const _sfc_main$
|
|
18984
|
+
const _sfc_main$1u = {
|
|
18985
18985
|
__name: "AppTimePicker",
|
|
18986
18986
|
props: /* @__PURE__ */ mergeModels({
|
|
18987
18987
|
minuteOptions: {
|
|
@@ -19105,7 +19105,7 @@ const _sfc_main$1s = {
|
|
|
19105
19105
|
const _directive_tippy = resolveDirective("tippy");
|
|
19106
19106
|
return openBlock(), createBlock(AppFormElement, normalizeProps(guardReactiveProps(unref(formElementProps))), createSlots({
|
|
19107
19107
|
default: withCtx(() => [
|
|
19108
|
-
createElementVNode("div", _hoisted_1$
|
|
19108
|
+
createElementVNode("div", _hoisted_1$16, [
|
|
19109
19109
|
createElementVNode("div", {
|
|
19110
19110
|
class: normalizeClass(timePickerClass.value)
|
|
19111
19111
|
}, [
|
|
@@ -19140,8 +19140,8 @@ const _sfc_main$1s = {
|
|
|
19140
19140
|
class: "app-grid-picker-minute app-form-group-element flex-grow-1",
|
|
19141
19141
|
"display-by": "value"
|
|
19142
19142
|
}, null, 8, ["modelValue", "disabled", "options"]),
|
|
19143
|
-
_ctx.showEasyButtons && !_ctx.disabled ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
19144
|
-
createVNode(_sfc_main$
|
|
19143
|
+
_ctx.showEasyButtons && !_ctx.disabled ? (openBlock(), createElementBlock("div", _hoisted_2$Q, [
|
|
19144
|
+
createVNode(_sfc_main$1v, {
|
|
19145
19145
|
onAddHour,
|
|
19146
19146
|
onSubHour,
|
|
19147
19147
|
onNow: onSelectNow
|
|
@@ -19173,7 +19173,7 @@ const _sfc_main$1s = {
|
|
|
19173
19173
|
};
|
|
19174
19174
|
}
|
|
19175
19175
|
};
|
|
19176
|
-
const AppTimePicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19176
|
+
const AppTimePicker = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["__scopeId", "data-v-96ccd197"]]);
|
|
19177
19177
|
const _DateUtils = class _DateUtils {
|
|
19178
19178
|
static getDayNames() {
|
|
19179
19179
|
return {
|
|
@@ -19421,8 +19421,8 @@ __publicField(_DateUtils, "stringToDateRecursive", (item, deep = false) => {
|
|
|
19421
19421
|
return item;
|
|
19422
19422
|
});
|
|
19423
19423
|
let DateUtils = _DateUtils;
|
|
19424
|
-
const _hoisted_1$
|
|
19425
|
-
const _hoisted_2$
|
|
19424
|
+
const _hoisted_1$15 = { class: "flex-center-vertical w-100" };
|
|
19425
|
+
const _hoisted_2$P = { class: "app-form-group-element flex-grow-1 mr-5" };
|
|
19426
19426
|
const _hoisted_3$y = { class: "app-form-group-element flex-grow-1" };
|
|
19427
19427
|
const _hoisted_4$q = {
|
|
19428
19428
|
key: 0,
|
|
@@ -19431,7 +19431,7 @@ const _hoisted_4$q = {
|
|
|
19431
19431
|
const CODE_SUB_DAY = "subday";
|
|
19432
19432
|
const CODE_TODAY = "today";
|
|
19433
19433
|
const CODE_ADD_DAY = "addday";
|
|
19434
|
-
const _sfc_main$
|
|
19434
|
+
const _sfc_main$1t = {
|
|
19435
19435
|
__name: "AppDateTimePicker",
|
|
19436
19436
|
props: {
|
|
19437
19437
|
modelValue: {},
|
|
@@ -19573,9 +19573,9 @@ const _sfc_main$1r = {
|
|
|
19573
19573
|
return (_ctx, _cache2) => {
|
|
19574
19574
|
return openBlock(), createBlock(AppFormElement, normalizeProps(guardReactiveProps(unref(formElementProps))), {
|
|
19575
19575
|
default: withCtx(() => [
|
|
19576
|
-
createElementVNode("div", _hoisted_1$
|
|
19577
|
-
createElementVNode("div", _hoisted_2$
|
|
19578
|
-
createVNode(_sfc_main$
|
|
19576
|
+
createElementVNode("div", _hoisted_1$15, [
|
|
19577
|
+
createElementVNode("div", _hoisted_2$P, [
|
|
19578
|
+
createVNode(_sfc_main$1C, {
|
|
19579
19579
|
modelValue: localDate.value,
|
|
19580
19580
|
"onUpdate:modelValue": _cache2[0] || (_cache2[0] = ($event) => localDate.value = $event),
|
|
19581
19581
|
"current-format": "dd.MM.yyyy",
|
|
@@ -19595,7 +19595,7 @@ const _sfc_main$1r = {
|
|
|
19595
19595
|
}, null, 8, ["modelValue", "disabled", "minuteOptions"])
|
|
19596
19596
|
]),
|
|
19597
19597
|
_ctx.showEasyButtons ? (openBlock(), createElementBlock("div", _hoisted_4$q, [
|
|
19598
|
-
createVNode(_sfc_main$
|
|
19598
|
+
createVNode(_sfc_main$1D, {
|
|
19599
19599
|
modelValue: localValue.value,
|
|
19600
19600
|
"onUpdate:modelValue": _cache2[2] || (_cache2[2] = ($event) => localValue.value = $event)
|
|
19601
19601
|
}, null, 8, ["modelValue"])
|
|
@@ -19741,12 +19741,12 @@ var IconCaretDownFilled = createVueComponent("filled", "caret-down-filled", "Ico
|
|
|
19741
19741
|
* See the LICENSE file in the root directory of this source tree.
|
|
19742
19742
|
*/
|
|
19743
19743
|
var IconSquareCheckFilled = createVueComponent("filled", "square-check-filled", "IconSquareCheckFilled", [["path", { "d": "M18.333 2c1.96 0 3.56 1.537 3.662 3.472l.005 .195v12.666c0 1.96 -1.537 3.56 -3.472 3.662l-.195 .005h-12.666a3.667 3.667 0 0 1 -3.662 -3.472l-.005 -.195v-12.666c0 -1.96 1.537 -3.56 3.472 -3.662l.195 -.005h12.666zm-2.626 7.293a1 1 0 0 0 -1.414 0l-3.293 3.292l-1.293 -1.292l-.094 -.083a1 1 0 0 0 -1.32 1.497l2 2l.094 .083a1 1 0 0 0 1.32 -.083l4 -4l.083 -.094a1 1 0 0 0 -.083 -1.32z", "key": "svg-0" }]]);
|
|
19744
|
-
const _hoisted_1$
|
|
19745
|
-
const _hoisted_2$
|
|
19744
|
+
const _hoisted_1$14 = { class: "display-flex-column h-100" };
|
|
19745
|
+
const _hoisted_2$O = { class: "flex-center-vertical w-100 p-3" };
|
|
19746
19746
|
const _hoisted_3$x = { class: "flex-1" };
|
|
19747
19747
|
const _hoisted_4$p = { class: "font-600 text-size-14" };
|
|
19748
19748
|
const _hoisted_5$k = { class: "p-20 flex-1 w-100" };
|
|
19749
|
-
const _sfc_main$
|
|
19749
|
+
const _sfc_main$1s = {
|
|
19750
19750
|
__name: "AppDrawer",
|
|
19751
19751
|
props: {
|
|
19752
19752
|
title: {},
|
|
@@ -19792,8 +19792,8 @@ const _sfc_main$1q = {
|
|
|
19792
19792
|
class: normalizeClass(["filter-sidebar", drawerClass.value]),
|
|
19793
19793
|
style: normalizeStyle(drawerStyle.value)
|
|
19794
19794
|
}, [
|
|
19795
|
-
createElementVNode("div", _hoisted_1$
|
|
19796
|
-
createElementVNode("div", _hoisted_2$
|
|
19795
|
+
createElementVNode("div", _hoisted_1$14, [
|
|
19796
|
+
createElementVNode("div", _hoisted_2$O, [
|
|
19797
19797
|
createElementVNode("div", _hoisted_3$x, [
|
|
19798
19798
|
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
19799
19799
|
createElementVNode("div", _hoisted_4$p, toDisplayString(__props.title), 1)
|
|
@@ -19816,14 +19816,14 @@ const _sfc_main$1q = {
|
|
|
19816
19816
|
};
|
|
19817
19817
|
}
|
|
19818
19818
|
};
|
|
19819
|
-
const AppDrawer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19820
|
-
const _hoisted_1$
|
|
19821
|
-
const _hoisted_2$
|
|
19819
|
+
const AppDrawer = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["__scopeId", "data-v-546ab102"]]);
|
|
19820
|
+
const _hoisted_1$13 = { class: "display-flex-column h-100" };
|
|
19821
|
+
const _hoisted_2$N = { class: "flex-center-vertical pr-20 pl-20 w-100 mt-15" };
|
|
19822
19822
|
const _hoisted_3$w = { class: "flex-1 mb-10" };
|
|
19823
19823
|
const _hoisted_4$o = { class: "mb-0" };
|
|
19824
19824
|
const _hoisted_5$j = { class: "p-20 flex-1 w-100" };
|
|
19825
19825
|
const _hoisted_6$c = { class: "flex-center p-10 w-100 gap-1" };
|
|
19826
|
-
const _sfc_main$
|
|
19826
|
+
const _sfc_main$1r = {
|
|
19827
19827
|
__name: "AppTableFilterDrawer",
|
|
19828
19828
|
props: {
|
|
19829
19829
|
title: {
|
|
@@ -19881,8 +19881,8 @@ const _sfc_main$1p = {
|
|
|
19881
19881
|
ref: "drawer",
|
|
19882
19882
|
class: normalizeClass(["filter-sidebar", { active: isExpanded.value }])
|
|
19883
19883
|
}, [
|
|
19884
|
-
createElementVNode("div", _hoisted_1$
|
|
19885
|
-
createElementVNode("div", _hoisted_2$
|
|
19884
|
+
createElementVNode("div", _hoisted_1$13, [
|
|
19885
|
+
createElementVNode("div", _hoisted_2$N, [
|
|
19886
19886
|
createElementVNode("div", _hoisted_3$w, [
|
|
19887
19887
|
createElementVNode("h4", _hoisted_4$o, toDisplayString(__props.title), 1)
|
|
19888
19888
|
]),
|
|
@@ -19897,7 +19897,7 @@ const _sfc_main$1p = {
|
|
|
19897
19897
|
]),
|
|
19898
19898
|
_cache2[1] || (_cache2[1] = createElementVNode("hr", { class: "mb-5 mt-0 w-100" }, null, -1)),
|
|
19899
19899
|
createElementVNode("div", _hoisted_6$c, [
|
|
19900
|
-
createVNode(_sfc_main$
|
|
19900
|
+
createVNode(_sfc_main$1G, {
|
|
19901
19901
|
class: "btn-default",
|
|
19902
19902
|
onClick: onFilterReset
|
|
19903
19903
|
}, {
|
|
@@ -19906,7 +19906,7 @@ const _sfc_main$1p = {
|
|
|
19906
19906
|
]),
|
|
19907
19907
|
_: 1
|
|
19908
19908
|
}),
|
|
19909
|
-
createVNode(_sfc_main$
|
|
19909
|
+
createVNode(_sfc_main$1G, {
|
|
19910
19910
|
class: "bg-primary text-white",
|
|
19911
19911
|
onClick: onFilterSet
|
|
19912
19912
|
}, {
|
|
@@ -19919,7 +19919,7 @@ const _sfc_main$1p = {
|
|
|
19919
19919
|
])
|
|
19920
19920
|
], 2),
|
|
19921
19921
|
renderSlot(_ctx.$slots, "button", {}, () => [
|
|
19922
|
-
hasDrawerButton.value ? (openBlock(), createBlock(_sfc_main$
|
|
19922
|
+
hasDrawerButton.value ? (openBlock(), createBlock(_sfc_main$1G, {
|
|
19923
19923
|
key: 0,
|
|
19924
19924
|
onClick: toggleDrawer,
|
|
19925
19925
|
icon: "icon-equalizer2",
|
|
@@ -19930,7 +19930,7 @@ const _sfc_main$1p = {
|
|
|
19930
19930
|
};
|
|
19931
19931
|
}
|
|
19932
19932
|
};
|
|
19933
|
-
const AppTableFilterDrawer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19933
|
+
const AppTableFilterDrawer = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["__scopeId", "data-v-f5f661ee"]]);
|
|
19934
19934
|
const _BaseRepository = class _BaseRepository {
|
|
19935
19935
|
constructor(url = null, axios2) {
|
|
19936
19936
|
__publicField(this, "fetchOne", async (id, { filters = [], includes = [], includesTrashed = [], appends = [], customAttributes = [], sort = null, url = null } = {}) => {
|
|
@@ -20319,7 +20319,7 @@ function joinList(list, path, separator = ",") {
|
|
|
20319
20319
|
}
|
|
20320
20320
|
return localList.join(separator);
|
|
20321
20321
|
}
|
|
20322
|
-
const _sfc_main$
|
|
20322
|
+
const _sfc_main$1q = {
|
|
20323
20323
|
__name: "AppFileDropZone",
|
|
20324
20324
|
emits: ["files-dropped"],
|
|
20325
20325
|
setup(__props, { emit: __emit }) {
|
|
@@ -20360,12 +20360,12 @@ const _sfc_main$1o = {
|
|
|
20360
20360
|
};
|
|
20361
20361
|
}
|
|
20362
20362
|
};
|
|
20363
|
-
const _hoisted_1$
|
|
20363
|
+
const _hoisted_1$12 = {
|
|
20364
20364
|
"aria-modal": "true",
|
|
20365
20365
|
class: "modal fade show display-block",
|
|
20366
20366
|
tabindex: "-1"
|
|
20367
20367
|
};
|
|
20368
|
-
const _sfc_main$
|
|
20368
|
+
const _sfc_main$1p = {
|
|
20369
20369
|
__name: "AppModal",
|
|
20370
20370
|
props: /* @__PURE__ */ mergeModels({
|
|
20371
20371
|
/**
|
|
@@ -20487,7 +20487,7 @@ const _sfc_main$1n = {
|
|
|
20487
20487
|
class: "app-modal-overlay",
|
|
20488
20488
|
style: { "z-index": "99999" }
|
|
20489
20489
|
}, [
|
|
20490
|
-
createElementVNode("div", _hoisted_1$
|
|
20490
|
+
createElementVNode("div", _hoisted_1$12, [
|
|
20491
20491
|
createElementVNode("div", {
|
|
20492
20492
|
ref_key: "modal",
|
|
20493
20493
|
ref: modal,
|
|
@@ -20511,16 +20511,16 @@ const _sfc_main$1n = {
|
|
|
20511
20511
|
};
|
|
20512
20512
|
}
|
|
20513
20513
|
};
|
|
20514
|
-
const AppModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20515
|
-
const _hoisted_1
|
|
20516
|
-
const _hoisted_2$
|
|
20514
|
+
const AppModal = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__scopeId", "data-v-e8a3ed1f"]]);
|
|
20515
|
+
const _hoisted_1$11 = { class: "app-alert-modal rounded-3 shadow p-3" };
|
|
20516
|
+
const _hoisted_2$M = { class: "mb-2 fw-semibold" };
|
|
20517
20517
|
const _hoisted_3$v = ["innerHTML"];
|
|
20518
20518
|
const _hoisted_4$n = {
|
|
20519
20519
|
key: 1,
|
|
20520
20520
|
class: "mb-0 app-alert-modal-text"
|
|
20521
20521
|
};
|
|
20522
20522
|
const _hoisted_5$i = { class: "d-flex justify-content-end gap-2 mt-4" };
|
|
20523
|
-
const _sfc_main$
|
|
20523
|
+
const _sfc_main$1o = {
|
|
20524
20524
|
__name: "AppAlertModal",
|
|
20525
20525
|
props: {
|
|
20526
20526
|
title: {
|
|
@@ -20588,9 +20588,9 @@ const _sfc_main$1m = {
|
|
|
20588
20588
|
class: "app-modal-content"
|
|
20589
20589
|
}, {
|
|
20590
20590
|
default: withCtx(() => [
|
|
20591
|
-
createElementVNode("div", _hoisted_1
|
|
20591
|
+
createElementVNode("div", _hoisted_1$11, [
|
|
20592
20592
|
createElementVNode("div", null, [
|
|
20593
|
-
createElementVNode("h5", _hoisted_2$
|
|
20593
|
+
createElementVNode("h5", _hoisted_2$M, toDisplayString(__props.title), 1),
|
|
20594
20594
|
__props.html ? (openBlock(), createElementBlock("div", {
|
|
20595
20595
|
key: 0,
|
|
20596
20596
|
class: "app-alert-modal-text",
|
|
@@ -20598,7 +20598,7 @@ const _sfc_main$1m = {
|
|
|
20598
20598
|
}, null, 8, _hoisted_3$v)) : (openBlock(), createElementBlock("p", _hoisted_4$n, toDisplayString(__props.text), 1))
|
|
20599
20599
|
]),
|
|
20600
20600
|
createElementVNode("div", _hoisted_5$i, [
|
|
20601
|
-
createVNode(_sfc_main$
|
|
20601
|
+
createVNode(_sfc_main$1G, {
|
|
20602
20602
|
class: "btn app-alert-cancel-btn border",
|
|
20603
20603
|
onClick: onCancel
|
|
20604
20604
|
}, {
|
|
@@ -20607,7 +20607,7 @@ const _sfc_main$1m = {
|
|
|
20607
20607
|
]),
|
|
20608
20608
|
_: 1
|
|
20609
20609
|
}),
|
|
20610
|
-
createVNode(_sfc_main$
|
|
20610
|
+
createVNode(_sfc_main$1G, {
|
|
20611
20611
|
class: normalizeClass(confirmButtonClass.value),
|
|
20612
20612
|
onClick: onConfirm
|
|
20613
20613
|
}, {
|
|
@@ -20685,7 +20685,7 @@ class UIUtils {
|
|
|
20685
20685
|
container.remove();
|
|
20686
20686
|
}, 300);
|
|
20687
20687
|
};
|
|
20688
|
-
const vNode = h(_sfc_main$
|
|
20688
|
+
const vNode = h(_sfc_main$1o, {
|
|
20689
20689
|
...options,
|
|
20690
20690
|
resolve: (value) => {
|
|
20691
20691
|
resolve(value);
|
|
@@ -20732,6 +20732,96 @@ __publicField(ResponseUtils, "STATUS_CODES", {
|
|
|
20732
20732
|
STATUS_CODE_UNPROCESSABLE_ENTITY: 422,
|
|
20733
20733
|
STATUS_CODE_SERVER_ERROR: 500
|
|
20734
20734
|
});
|
|
20735
|
+
const isMediaInstance = (file) => !!(file == null ? void 0 : file.id);
|
|
20736
|
+
const isFileInstance = (file) => file instanceof File || file instanceof Blob;
|
|
20737
|
+
const getFilesFromEvent = (event) => {
|
|
20738
|
+
var _a3, _b2;
|
|
20739
|
+
return [...((_a3 = event == null ? void 0 : event.dataTransfer) == null ? void 0 : _a3.files) || ((_b2 = event == null ? void 0 : event.target) == null ? void 0 : _b2.files)];
|
|
20740
|
+
};
|
|
20741
|
+
const normalizeToFileLike = (item) => {
|
|
20742
|
+
var _a3;
|
|
20743
|
+
return isFileInstance(item) ? item : {
|
|
20744
|
+
name: (item == null ? void 0 : item.name) || (item == null ? void 0 : item.filename) || ((_a3 = item == null ? void 0 : item.files) == null ? void 0 : _a3.filename),
|
|
20745
|
+
size: item == null ? void 0 : item.size,
|
|
20746
|
+
lastModified: item == null ? void 0 : item.lastModified
|
|
20747
|
+
};
|
|
20748
|
+
};
|
|
20749
|
+
const fileExists = (item, list = []) => {
|
|
20750
|
+
if (!item) return false;
|
|
20751
|
+
const c2 = normalizeToFileLike(item);
|
|
20752
|
+
return (list || []).some((i2) => {
|
|
20753
|
+
const f = normalizeToFileLike(i2);
|
|
20754
|
+
return (f == null ? void 0 : f.name) === (c2 == null ? void 0 : c2.name) && (f == null ? void 0 : f.size) === (c2 == null ? void 0 : c2.size) && (f == null ? void 0 : f.lastModified) === (c2 == null ? void 0 : c2.lastModified);
|
|
20755
|
+
});
|
|
20756
|
+
};
|
|
20757
|
+
const getFilename = (file) => (file == null ? void 0 : file.name) || (file == null ? void 0 : file.filename) || "Fișier";
|
|
20758
|
+
const getMimeType = (file) => (file == null ? void 0 : file.mime_type) || (file == null ? void 0 : file.type) || "";
|
|
20759
|
+
const getExtension = (file) => {
|
|
20760
|
+
const name = getFilename(file);
|
|
20761
|
+
const parts = String(name).split(".");
|
|
20762
|
+
return parts.length > 1 ? parts.pop().toLowerCase() : "";
|
|
20763
|
+
};
|
|
20764
|
+
const getFileTypeClass = (file) => {
|
|
20765
|
+
const type = getMimeType(file);
|
|
20766
|
+
switch (type) {
|
|
20767
|
+
case mimeType.image:
|
|
20768
|
+
case mimeType.imagePng:
|
|
20769
|
+
case mimeType.imageJpeg:
|
|
20770
|
+
return fileType.image;
|
|
20771
|
+
case mimeType.pdf:
|
|
20772
|
+
return fileType.pdf;
|
|
20773
|
+
default:
|
|
20774
|
+
return fileType.default;
|
|
20775
|
+
}
|
|
20776
|
+
};
|
|
20777
|
+
const getStatus = (file) => isFileInstance(file) ? fileStatus.pending : fileStatus.uploaded;
|
|
20778
|
+
const getResponseContentType = (response) => {
|
|
20779
|
+
if (!(response == null ? void 0 : response.headers)) {
|
|
20780
|
+
return;
|
|
20781
|
+
}
|
|
20782
|
+
return response.headers["content-type"] || response.headers["Content-Type"] || "";
|
|
20783
|
+
};
|
|
20784
|
+
const blobToBase64$1 = (blob) => new Promise((resolve, reject) => {
|
|
20785
|
+
const reader = new FileReader();
|
|
20786
|
+
reader.onloadend = () => resolve(reader.result);
|
|
20787
|
+
reader.onerror = reject;
|
|
20788
|
+
reader.readAsDataURL(blob);
|
|
20789
|
+
});
|
|
20790
|
+
const downloadFileByteArray = ({ data, name, contentType }) => {
|
|
20791
|
+
const blob = new Blob([data], { type: contentType });
|
|
20792
|
+
const link = document.createElement("a");
|
|
20793
|
+
link.href = window.URL.createObjectURL(blob);
|
|
20794
|
+
link.download = name;
|
|
20795
|
+
link.click();
|
|
20796
|
+
window.URL.revokeObjectURL(link.href);
|
|
20797
|
+
};
|
|
20798
|
+
const AppFileNewUtils = {
|
|
20799
|
+
isMediaInstance,
|
|
20800
|
+
isFileInstance,
|
|
20801
|
+
getFilesFromEvent,
|
|
20802
|
+
normalizeToFileLike,
|
|
20803
|
+
fileExists,
|
|
20804
|
+
getFilename,
|
|
20805
|
+
getExtension,
|
|
20806
|
+
getMimeType,
|
|
20807
|
+
getFileTypeClass,
|
|
20808
|
+
getStatus,
|
|
20809
|
+
getResponseContentType,
|
|
20810
|
+
blobToBase64: blobToBase64$1,
|
|
20811
|
+
downloadFileByteArray
|
|
20812
|
+
};
|
|
20813
|
+
class Media {
|
|
20814
|
+
static get type() {
|
|
20815
|
+
return {
|
|
20816
|
+
mediable: "mediable",
|
|
20817
|
+
spatieMediable: "spatie"
|
|
20818
|
+
};
|
|
20819
|
+
}
|
|
20820
|
+
static getTag(media, type = mediaType) {
|
|
20821
|
+
let path = type === this.type.mediable ? "pivot.tag" : "custom_properties.tag";
|
|
20822
|
+
return lodashExports.get(media, path);
|
|
20823
|
+
}
|
|
20824
|
+
}
|
|
20735
20825
|
function bind(fn7, thisArg) {
|
|
20736
20826
|
return function wrap() {
|
|
20737
20827
|
return fn7.apply(thisArg, arguments);
|
|
@@ -23065,26 +23155,26 @@ function createInstance(defaultConfig) {
|
|
|
23065
23155
|
};
|
|
23066
23156
|
return instance;
|
|
23067
23157
|
}
|
|
23068
|
-
const axios = createInstance(defaults);
|
|
23069
|
-
axios.Axios = Axios$1;
|
|
23070
|
-
axios.CanceledError = CanceledError$1;
|
|
23071
|
-
axios.CancelToken = CancelToken$1;
|
|
23072
|
-
axios.isCancel = isCancel$1;
|
|
23073
|
-
axios.VERSION = VERSION$1;
|
|
23074
|
-
axios.toFormData = toFormData$1;
|
|
23075
|
-
axios.AxiosError = AxiosError$1;
|
|
23076
|
-
axios.Cancel = axios.CanceledError;
|
|
23077
|
-
axios.all = function all(promises) {
|
|
23158
|
+
const axios$1 = createInstance(defaults);
|
|
23159
|
+
axios$1.Axios = Axios$1;
|
|
23160
|
+
axios$1.CanceledError = CanceledError$1;
|
|
23161
|
+
axios$1.CancelToken = CancelToken$1;
|
|
23162
|
+
axios$1.isCancel = isCancel$1;
|
|
23163
|
+
axios$1.VERSION = VERSION$1;
|
|
23164
|
+
axios$1.toFormData = toFormData$1;
|
|
23165
|
+
axios$1.AxiosError = AxiosError$1;
|
|
23166
|
+
axios$1.Cancel = axios$1.CanceledError;
|
|
23167
|
+
axios$1.all = function all(promises) {
|
|
23078
23168
|
return Promise.all(promises);
|
|
23079
23169
|
};
|
|
23080
|
-
axios.spread = spread$1;
|
|
23081
|
-
axios.isAxiosError = isAxiosError$1;
|
|
23082
|
-
axios.mergeConfig = mergeConfig$1;
|
|
23083
|
-
axios.AxiosHeaders = AxiosHeaders$1;
|
|
23084
|
-
axios.formToJSON = (thing) => formDataToJSON(utils$1.isHTMLForm(thing) ? new FormData(thing) : thing);
|
|
23085
|
-
axios.getAdapter = adapters.getAdapter;
|
|
23086
|
-
axios.HttpStatusCode = HttpStatusCode$1;
|
|
23087
|
-
axios.default = axios;
|
|
23170
|
+
axios$1.spread = spread$1;
|
|
23171
|
+
axios$1.isAxiosError = isAxiosError$1;
|
|
23172
|
+
axios$1.mergeConfig = mergeConfig$1;
|
|
23173
|
+
axios$1.AxiosHeaders = AxiosHeaders$1;
|
|
23174
|
+
axios$1.formToJSON = (thing) => formDataToJSON(utils$1.isHTMLForm(thing) ? new FormData(thing) : thing);
|
|
23175
|
+
axios$1.getAdapter = adapters.getAdapter;
|
|
23176
|
+
axios$1.HttpStatusCode = HttpStatusCode$1;
|
|
23177
|
+
axios$1.default = axios$1;
|
|
23088
23178
|
const {
|
|
23089
23179
|
Axios: Axios2,
|
|
23090
23180
|
AxiosError,
|
|
@@ -23102,85 +23192,16 @@ const {
|
|
|
23102
23192
|
formToJSON,
|
|
23103
23193
|
getAdapter,
|
|
23104
23194
|
mergeConfig
|
|
23105
|
-
} = axios;
|
|
23106
|
-
|
|
23107
|
-
const
|
|
23108
|
-
const
|
|
23109
|
-
|
|
23110
|
-
|
|
23111
|
-
|
|
23112
|
-
const
|
|
23113
|
-
|
|
23114
|
-
|
|
23115
|
-
name: (item == null ? void 0 : item.name) || (item == null ? void 0 : item.filename) || ((_a3 = item == null ? void 0 : item.files) == null ? void 0 : _a3.filename),
|
|
23116
|
-
size: item == null ? void 0 : item.size,
|
|
23117
|
-
lastModified: item == null ? void 0 : item.lastModified
|
|
23118
|
-
};
|
|
23119
|
-
};
|
|
23120
|
-
const fileExists = (item, list = []) => {
|
|
23121
|
-
if (!item) return false;
|
|
23122
|
-
const c2 = normalizeToFileLike(item);
|
|
23123
|
-
return (list || []).some((i2) => {
|
|
23124
|
-
const f = normalizeToFileLike(i2);
|
|
23125
|
-
return (f == null ? void 0 : f.name) === (c2 == null ? void 0 : c2.name) && (f == null ? void 0 : f.size) === (c2 == null ? void 0 : c2.size) && (f == null ? void 0 : f.lastModified) === (c2 == null ? void 0 : c2.lastModified);
|
|
23126
|
-
});
|
|
23127
|
-
};
|
|
23128
|
-
const getFilename = (file) => (file == null ? void 0 : file.name) || (file == null ? void 0 : file.filename) || "Fișier";
|
|
23129
|
-
const getMimeType = (file) => (file == null ? void 0 : file.mime_type) || (file == null ? void 0 : file.type) || "";
|
|
23130
|
-
const getExtension = (file) => {
|
|
23131
|
-
const name = getFilename(file);
|
|
23132
|
-
const parts = String(name).split(".");
|
|
23133
|
-
return parts.length > 1 ? parts.pop().toLowerCase() : "";
|
|
23134
|
-
};
|
|
23135
|
-
const getFileTypeClass = (file) => {
|
|
23136
|
-
const type = getMimeType(file);
|
|
23137
|
-
switch (type) {
|
|
23138
|
-
case mimeType.image:
|
|
23139
|
-
case mimeType.imagePng:
|
|
23140
|
-
case mimeType.imageJpeg:
|
|
23141
|
-
return fileType.image;
|
|
23142
|
-
case mimeType.pdf:
|
|
23143
|
-
return fileType.pdf;
|
|
23144
|
-
default:
|
|
23145
|
-
return fileType.default;
|
|
23146
|
-
}
|
|
23147
|
-
};
|
|
23148
|
-
const getStatus = (file) => isFileInstance(file) ? fileStatus.pending : fileStatus.uploaded;
|
|
23149
|
-
const getResponseContentType = (response) => {
|
|
23150
|
-
if (!(response == null ? void 0 : response.headers)) {
|
|
23151
|
-
return;
|
|
23152
|
-
}
|
|
23153
|
-
return response.headers["content-type"] || response.headers["Content-Type"] || "";
|
|
23154
|
-
};
|
|
23155
|
-
const blobToBase64$1 = (blob) => new Promise((resolve, reject) => {
|
|
23156
|
-
const reader = new FileReader();
|
|
23157
|
-
reader.onloadend = () => resolve(reader.result);
|
|
23158
|
-
reader.onerror = reject;
|
|
23159
|
-
reader.readAsDataURL(blob);
|
|
23160
|
-
});
|
|
23161
|
-
const downloadFileByteArray = ({ data, name, contentType }) => {
|
|
23162
|
-
const blob = new Blob([data], { type: contentType });
|
|
23163
|
-
const link = document.createElement("a");
|
|
23164
|
-
link.href = window.URL.createObjectURL(blob);
|
|
23165
|
-
link.download = name;
|
|
23166
|
-
link.click();
|
|
23167
|
-
window.URL.revokeObjectURL(link.href);
|
|
23168
|
-
};
|
|
23169
|
-
const AppFileNewUtils = {
|
|
23170
|
-
isMediaInstance,
|
|
23171
|
-
isFileInstance,
|
|
23172
|
-
getFilesFromEvent,
|
|
23173
|
-
normalizeToFileLike,
|
|
23174
|
-
fileExists,
|
|
23175
|
-
getFilename,
|
|
23176
|
-
getExtension,
|
|
23177
|
-
getMimeType,
|
|
23178
|
-
getFileTypeClass,
|
|
23179
|
-
getStatus,
|
|
23180
|
-
getResponseContentType,
|
|
23181
|
-
blobToBase64: blobToBase64$1,
|
|
23182
|
-
downloadFileByteArray
|
|
23183
|
-
};
|
|
23195
|
+
} = axios$1;
|
|
23196
|
+
let router = null;
|
|
23197
|
+
const getRouter = () => router;
|
|
23198
|
+
const getRoute = () => lodashExports.get(router, "currentRoute.value");
|
|
23199
|
+
const setRouter = (value) => router = value;
|
|
23200
|
+
let axios = null;
|
|
23201
|
+
const getAxios = () => axios ?? axios$1;
|
|
23202
|
+
const setAxios = (value) => axios = value;
|
|
23203
|
+
let mediaType = Media.type.spatieMediable;
|
|
23204
|
+
const setMediaType = (value) => mediaType = value;
|
|
23184
23205
|
const AppFileNewRepository = (props2) => {
|
|
23185
23206
|
const uploadMedia = async (files) => {
|
|
23186
23207
|
const base = getBaseUrlFromProps();
|
|
@@ -23211,7 +23232,7 @@ const AppFileNewRepository = (props2) => {
|
|
|
23211
23232
|
};
|
|
23212
23233
|
const submitFileRequest = async (method, url, data = null, config = {}) => {
|
|
23213
23234
|
try {
|
|
23214
|
-
return await
|
|
23235
|
+
return await getAxios()({ method, url, data, ...config });
|
|
23215
23236
|
} catch (e2) {
|
|
23216
23237
|
return e2 == null ? void 0 : e2.response;
|
|
23217
23238
|
}
|
|
@@ -23389,8 +23410,8 @@ const fileStatus = {
|
|
|
23389
23410
|
pending: { code: "pending", label: "În așteptare" },
|
|
23390
23411
|
uploaded: { code: "uploaded", label: "Fișier încărcat" }
|
|
23391
23412
|
};
|
|
23392
|
-
const _hoisted_1$
|
|
23393
|
-
const _hoisted_2$
|
|
23413
|
+
const _hoisted_1$10 = { class: "flex-center-vertical" };
|
|
23414
|
+
const _hoisted_2$L = { key: 0 };
|
|
23394
23415
|
const _hoisted_3$u = {
|
|
23395
23416
|
key: 1,
|
|
23396
23417
|
class: "file-action-button flex-1 mr-10"
|
|
@@ -23398,7 +23419,7 @@ const _hoisted_3$u = {
|
|
|
23398
23419
|
const _hoisted_4$m = { class: "ph-eye" };
|
|
23399
23420
|
const _hoisted_5$h = { class: "ph-download" };
|
|
23400
23421
|
const _hoisted_6$b = { class: "ph-x-circle" };
|
|
23401
|
-
const _sfc_main$
|
|
23422
|
+
const _sfc_main$1n = {
|
|
23402
23423
|
__name: "AppFileItem",
|
|
23403
23424
|
props: {
|
|
23404
23425
|
disabled: {
|
|
@@ -23438,12 +23459,12 @@ const _sfc_main$1l = {
|
|
|
23438
23459
|
});
|
|
23439
23460
|
return (_ctx, _cache2) => {
|
|
23440
23461
|
const _directive_tippy = resolveDirective("tippy");
|
|
23441
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
23462
|
+
return openBlock(), createElementBlock("div", _hoisted_1$10, [
|
|
23442
23463
|
createElementVNode("i", {
|
|
23443
23464
|
class: normalizeClass([mediaIconClass.value, "mr-10"]),
|
|
23444
23465
|
style: { "font-size": "22px" }
|
|
23445
23466
|
}, null, 2),
|
|
23446
|
-
__props.file ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
23467
|
+
__props.file ? (openBlock(), createElementBlock("div", _hoisted_2$L, toDisplayString(filename.value), 1)) : createCommentVNode("", true),
|
|
23447
23468
|
__props.file ? (openBlock(), createElementBlock("div", _hoisted_3$u, [
|
|
23448
23469
|
props2.showPreview ? (openBlock(), createElementBlock("div", {
|
|
23449
23470
|
key: 0,
|
|
@@ -23477,9 +23498,9 @@ const _sfc_main$1l = {
|
|
|
23477
23498
|
};
|
|
23478
23499
|
}
|
|
23479
23500
|
};
|
|
23480
|
-
const AppFileItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23481
|
-
const _hoisted_1
|
|
23482
|
-
const _hoisted_2$
|
|
23501
|
+
const AppFileItem = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__scopeId", "data-v-a91b6b9a"]]);
|
|
23502
|
+
const _hoisted_1$$ = { class: "flex-center-vertical" };
|
|
23503
|
+
const _hoisted_2$K = {
|
|
23483
23504
|
key: 0,
|
|
23484
23505
|
class: "flex-1"
|
|
23485
23506
|
};
|
|
@@ -23489,7 +23510,7 @@ const _hoisted_3$t = {
|
|
|
23489
23510
|
};
|
|
23490
23511
|
const _hoisted_4$l = { class: "btn-group" };
|
|
23491
23512
|
const _hoisted_5$g = ["accept", "disabled"];
|
|
23492
|
-
const _sfc_main$
|
|
23513
|
+
const _sfc_main$1m = {
|
|
23493
23514
|
__name: "AppFileInput",
|
|
23494
23515
|
props: /* @__PURE__ */ mergeModels({
|
|
23495
23516
|
accept: {},
|
|
@@ -23554,8 +23575,8 @@ const _sfc_main$1k = {
|
|
|
23554
23575
|
isLoading.value = false;
|
|
23555
23576
|
};
|
|
23556
23577
|
return (_ctx, _cache2) => {
|
|
23557
|
-
return openBlock(), createElementBlock("div", _hoisted_1
|
|
23558
|
-
!isMediaEmpty.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
23578
|
+
return openBlock(), createElementBlock("div", _hoisted_1$$, [
|
|
23579
|
+
!isMediaEmpty.value ? (openBlock(), createElementBlock("div", _hoisted_2$K, [
|
|
23559
23580
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(lodashExports.isArray)(media.value) ? media.value : [media.value], (file) => {
|
|
23560
23581
|
return openBlock(), createBlock(AppFileItem, {
|
|
23561
23582
|
key: file.id,
|
|
@@ -23605,21 +23626,21 @@ const _sfc_main$1k = {
|
|
|
23605
23626
|
};
|
|
23606
23627
|
}
|
|
23607
23628
|
};
|
|
23608
|
-
const AppFileInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23609
|
-
const _sfc_main$
|
|
23610
|
-
const _hoisted_1$
|
|
23629
|
+
const AppFileInput = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__scopeId", "data-v-5ae7825f"]]);
|
|
23630
|
+
const _sfc_main$1l = {};
|
|
23631
|
+
const _hoisted_1$_ = { class: "blockUI blockOverlay" };
|
|
23611
23632
|
function _sfc_render$2(_ctx, _cache2) {
|
|
23612
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
23633
|
+
return openBlock(), createElementBlock("div", _hoisted_1$_, [
|
|
23613
23634
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
23614
23635
|
]);
|
|
23615
23636
|
}
|
|
23616
|
-
const AppOverlay = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23617
|
-
const _hoisted_1$
|
|
23618
|
-
const _hoisted_2$
|
|
23637
|
+
const AppOverlay = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render$2], ["__scopeId", "data-v-07e2c47c"]]);
|
|
23638
|
+
const _hoisted_1$Z = { class: "w-100 h-100 flex-center" };
|
|
23639
|
+
const _hoisted_2$J = {
|
|
23619
23640
|
key: 0,
|
|
23620
23641
|
class: "icon-spinner11 spinner"
|
|
23621
23642
|
};
|
|
23622
|
-
const _sfc_main$
|
|
23643
|
+
const _sfc_main$1k = {
|
|
23623
23644
|
__name: "AppLoadingOverlay",
|
|
23624
23645
|
props: {
|
|
23625
23646
|
showIcon: {
|
|
@@ -23631,8 +23652,8 @@ const _sfc_main$1i = {
|
|
|
23631
23652
|
return (_ctx, _cache2) => {
|
|
23632
23653
|
return openBlock(), createBlock(AppOverlay, null, {
|
|
23633
23654
|
default: withCtx(() => [
|
|
23634
|
-
createElementVNode("div", _hoisted_1$
|
|
23635
|
-
__props.showIcon ? (openBlock(), createElementBlock("i", _hoisted_2$
|
|
23655
|
+
createElementVNode("div", _hoisted_1$Z, [
|
|
23656
|
+
__props.showIcon ? (openBlock(), createElementBlock("i", _hoisted_2$J)) : createCommentVNode("", true)
|
|
23636
23657
|
])
|
|
23637
23658
|
]),
|
|
23638
23659
|
_: 1
|
|
@@ -23640,8 +23661,8 @@ const _sfc_main$1i = {
|
|
|
23640
23661
|
};
|
|
23641
23662
|
}
|
|
23642
23663
|
};
|
|
23643
|
-
const _hoisted_1$
|
|
23644
|
-
const _sfc_main$
|
|
23664
|
+
const _hoisted_1$Y = { class: "form-control" };
|
|
23665
|
+
const _sfc_main$1j = {
|
|
23645
23666
|
__name: "AppFile",
|
|
23646
23667
|
props: /* @__PURE__ */ mergeModels({
|
|
23647
23668
|
accept: {
|
|
@@ -23741,9 +23762,9 @@ const _sfc_main$1h = {
|
|
|
23741
23762
|
return (_ctx, _cache2) => {
|
|
23742
23763
|
return openBlock(), createBlock(AppFormElement, normalizeProps(guardReactiveProps(unref(formElementProps))), {
|
|
23743
23764
|
default: withCtx(() => [
|
|
23744
|
-
__props.isLoading ? (openBlock(), createBlock(_sfc_main$
|
|
23745
|
-
createElementVNode("div", _hoisted_1$
|
|
23746
|
-
createVNode(_sfc_main$
|
|
23765
|
+
__props.isLoading ? (openBlock(), createBlock(_sfc_main$1k, { key: 0 })) : createCommentVNode("", true),
|
|
23766
|
+
createElementVNode("div", _hoisted_1$Y, [
|
|
23767
|
+
createVNode(_sfc_main$1q, { onFilesDropped: addFiles }, {
|
|
23747
23768
|
default: withCtx(({ dropZoneActive }) => [
|
|
23748
23769
|
createVNode(AppFileInput, {
|
|
23749
23770
|
modelValue: files.value,
|
|
@@ -23768,8 +23789,8 @@ const _sfc_main$1h = {
|
|
|
23768
23789
|
};
|
|
23769
23790
|
}
|
|
23770
23791
|
};
|
|
23771
|
-
const _hoisted_1$
|
|
23772
|
-
const _hoisted_2$
|
|
23792
|
+
const _hoisted_1$X = { class: "display-flex align-items-center" };
|
|
23793
|
+
const _hoisted_2$I = { class: "display-flex pl-10" };
|
|
23773
23794
|
const _hoisted_3$s = {
|
|
23774
23795
|
key: 1,
|
|
23775
23796
|
class: "card list app-form-repeater-list'"
|
|
@@ -23788,7 +23809,7 @@ const _hoisted_11 = {
|
|
|
23788
23809
|
key: 0,
|
|
23789
23810
|
class: "text-muted"
|
|
23790
23811
|
};
|
|
23791
|
-
const _sfc_main$
|
|
23812
|
+
const _sfc_main$1i = {
|
|
23792
23813
|
__name: "AppFormRepeater",
|
|
23793
23814
|
props: /* @__PURE__ */ mergeModels({
|
|
23794
23815
|
emptyItem: {},
|
|
@@ -23874,7 +23895,7 @@ const _sfc_main$1g = {
|
|
|
23874
23895
|
onEnd
|
|
23875
23896
|
}, createSlots({
|
|
23876
23897
|
item: withCtx(({ element, index }) => [
|
|
23877
|
-
isTypeCard.value ? (openBlock(), createBlock(_sfc_main$
|
|
23898
|
+
isTypeCard.value ? (openBlock(), createBlock(_sfc_main$1A, {
|
|
23878
23899
|
key: 0,
|
|
23879
23900
|
"can-collapse": __props.collapsable,
|
|
23880
23901
|
"is-collapsed": __props.isCollapsed,
|
|
@@ -23883,20 +23904,20 @@ const _sfc_main$1g = {
|
|
|
23883
23904
|
onIsCollapsedChanged: (isCollapsed) => handleIsCollapsedChange(index, isCollapsed)
|
|
23884
23905
|
}, {
|
|
23885
23906
|
title: withCtx(() => [
|
|
23886
|
-
createElementVNode("div", _hoisted_1$
|
|
23907
|
+
createElementVNode("div", _hoisted_1$X, [
|
|
23887
23908
|
!__props.disabled && __props.isDraggable ? (openBlock(), createBlock(unref(IconMenu2), {
|
|
23888
23909
|
key: 0,
|
|
23889
23910
|
size: 22,
|
|
23890
23911
|
class: "drag-handle"
|
|
23891
23912
|
})) : createCommentVNode("", true),
|
|
23892
|
-
createElementVNode("div", _hoisted_2$
|
|
23913
|
+
createElementVNode("div", _hoisted_2$I, [
|
|
23893
23914
|
renderSlot(_ctx.$slots, "title", normalizeProps(guardReactiveProps({ element, index, removeItemAtIndex })))
|
|
23894
23915
|
])
|
|
23895
23916
|
])
|
|
23896
23917
|
]),
|
|
23897
23918
|
"heading-elements": withCtx(() => [
|
|
23898
23919
|
renderSlot(_ctx.$slots, "buttons", normalizeProps(guardReactiveProps({ index, element, removeItemAtIndex })), () => [
|
|
23899
|
-
!__props.disabled && __props.isDeletedVisible ? (openBlock(), createBlock(_sfc_main$
|
|
23920
|
+
!__props.disabled && __props.isDeletedVisible ? (openBlock(), createBlock(_sfc_main$1G, {
|
|
23900
23921
|
key: 0,
|
|
23901
23922
|
class: "btn-sm btn-icon",
|
|
23902
23923
|
onClick: ($event) => removeItemAtIndex(index)
|
|
@@ -23932,7 +23953,7 @@ const _sfc_main$1g = {
|
|
|
23932
23953
|
]),
|
|
23933
23954
|
renderSlot(_ctx.$slots, "buttons", normalizeProps(guardReactiveProps({ index, element, removeItemAtIndex })), () => [
|
|
23934
23955
|
createElementVNode("div", _hoisted_8$4, [
|
|
23935
|
-
!__props.disabled && __props.isDeletedVisible ? (openBlock(), createBlock(_sfc_main$
|
|
23956
|
+
!__props.disabled && __props.isDeletedVisible ? (openBlock(), createBlock(_sfc_main$1G, {
|
|
23936
23957
|
key: 0,
|
|
23937
23958
|
class: "btn-sm btn-icon ml-15 mr-5 bg-white",
|
|
23938
23959
|
onClick: ($event) => removeItemAtIndex(index)
|
|
@@ -23950,7 +23971,7 @@ const _sfc_main$1g = {
|
|
|
23950
23971
|
footer: withCtx(() => [
|
|
23951
23972
|
!__props.disabled ? (openBlock(), createElementBlock("div", _hoisted_9$4, [
|
|
23952
23973
|
renderSlot(_ctx.$slots, "addButton", normalizeProps(guardReactiveProps({ addItem })), () => [
|
|
23953
|
-
createVNode(_sfc_main$
|
|
23974
|
+
createVNode(_sfc_main$1G, {
|
|
23954
23975
|
class: "w-100 btn-light my-10",
|
|
23955
23976
|
onClick: addItem
|
|
23956
23977
|
}, {
|
|
@@ -25170,7 +25191,7 @@ const shadesList = [
|
|
|
25170
25191
|
"A4",
|
|
25171
25192
|
"A7"
|
|
25172
25193
|
];
|
|
25173
|
-
const _sfc_main$
|
|
25194
|
+
const _sfc_main$1h = {
|
|
25174
25195
|
name: "AppColorPicker",
|
|
25175
25196
|
props: {
|
|
25176
25197
|
colorSelected: {
|
|
@@ -25209,12 +25230,12 @@ const _sfc_main$1f = {
|
|
|
25209
25230
|
};
|
|
25210
25231
|
}
|
|
25211
25232
|
};
|
|
25212
|
-
const _hoisted_1$
|
|
25213
|
-
const _hoisted_2$
|
|
25233
|
+
const _hoisted_1$W = { class: "card card-table table-responsive shadow-0 mb-20 overflow-hidden" };
|
|
25234
|
+
const _hoisted_2$H = { class: "table table-bordered" };
|
|
25214
25235
|
const _hoisted_3$r = ["onClick"];
|
|
25215
25236
|
function _sfc_render$1(_ctx, _cache2, $props, $setup, $data, $options) {
|
|
25216
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
25217
|
-
createElementVNode("table", _hoisted_2$
|
|
25237
|
+
return openBlock(), createElementBlock("div", _hoisted_1$W, [
|
|
25238
|
+
createElementVNode("table", _hoisted_2$H, [
|
|
25218
25239
|
createElementVNode("thead", null, [
|
|
25219
25240
|
createElementVNode("tr", null, [
|
|
25220
25241
|
_cache2[0] || (_cache2[0] = createElementVNode("th", null, null, -1)),
|
|
@@ -25242,14 +25263,14 @@ function _sfc_render$1(_ctx, _cache2, $props, $setup, $data, $options) {
|
|
|
25242
25263
|
])
|
|
25243
25264
|
]);
|
|
25244
25265
|
}
|
|
25245
|
-
const AppColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25246
|
-
const _hoisted_1$
|
|
25247
|
-
const _hoisted_2$
|
|
25266
|
+
const AppColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["render", _sfc_render$1]]);
|
|
25267
|
+
const _hoisted_1$V = ["disabled", "name", "placeholder", "type"];
|
|
25268
|
+
const _hoisted_2$G = {
|
|
25248
25269
|
key: 0,
|
|
25249
25270
|
class: "form-control-feedback form-control-feedback-end"
|
|
25250
25271
|
};
|
|
25251
25272
|
const _hoisted_3$q = { class: "form-control-feedback-icon" };
|
|
25252
|
-
const _sfc_main$
|
|
25273
|
+
const _sfc_main$1g = {
|
|
25253
25274
|
__name: "AppInput",
|
|
25254
25275
|
props: /* @__PURE__ */ mergeModels({
|
|
25255
25276
|
type: {
|
|
@@ -25314,10 +25335,10 @@ const _sfc_main$1e = {
|
|
|
25314
25335
|
class: computedClass.value,
|
|
25315
25336
|
onBlur,
|
|
25316
25337
|
onKeyup: withKeys(onSubmit, ["enter"])
|
|
25317
|
-
}, _ctx.$attrs), null, 16, _hoisted_1$
|
|
25338
|
+
}, _ctx.$attrs), null, 16, _hoisted_1$V), [
|
|
25318
25339
|
[vModelDynamic, unref(modelValue)]
|
|
25319
25340
|
]),
|
|
25320
|
-
__props.isClearable && unref(modelValue) && !props2.disabled ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
25341
|
+
__props.isClearable && unref(modelValue) && !props2.disabled ? (openBlock(), createElementBlock("div", _hoisted_2$G, [
|
|
25321
25342
|
createElementVNode("div", _hoisted_3$q, [
|
|
25322
25343
|
withDirectives(createElementVNode("i", {
|
|
25323
25344
|
class: "ph-x-circle app-cross-icon",
|
|
@@ -25343,11 +25364,11 @@ const _sfc_main$1e = {
|
|
|
25343
25364
|
};
|
|
25344
25365
|
}
|
|
25345
25366
|
};
|
|
25346
|
-
const _hoisted_1$
|
|
25367
|
+
const _hoisted_1$U = {
|
|
25347
25368
|
key: 0,
|
|
25348
25369
|
class: "app-link__label"
|
|
25349
25370
|
};
|
|
25350
|
-
const _sfc_main$
|
|
25371
|
+
const _sfc_main$1f = {
|
|
25351
25372
|
__name: "AppLink",
|
|
25352
25373
|
props: {
|
|
25353
25374
|
route: {
|
|
@@ -25401,7 +25422,7 @@ const _sfc_main$1d = {
|
|
|
25401
25422
|
return hasLink.value ? (openBlock(), createBlock(resolveDynamicComponent(componentType.value), mergeProps({ key: 0 }, linkBindings.value, { class: "app-link" }), {
|
|
25402
25423
|
default: withCtx(() => [
|
|
25403
25424
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
25404
|
-
__props.label ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
25425
|
+
__props.label ? (openBlock(), createElementBlock("span", _hoisted_1$U, toDisplayString(__props.label), 1)) : createCommentVNode("", true),
|
|
25405
25426
|
_cache2[0] || (_cache2[0] = createElementVNode("i", { class: "icon-link app-link__icon" }, null, -1))
|
|
25406
25427
|
])
|
|
25407
25428
|
]),
|
|
@@ -25410,8 +25431,8 @@ const _sfc_main$1d = {
|
|
|
25410
25431
|
};
|
|
25411
25432
|
}
|
|
25412
25433
|
};
|
|
25413
|
-
const _hoisted_1$
|
|
25414
|
-
const _sfc_main$
|
|
25434
|
+
const _hoisted_1$T = { class: "sidebar-item-name" };
|
|
25435
|
+
const _sfc_main$1e = {
|
|
25415
25436
|
__name: "AppMenuItemValue",
|
|
25416
25437
|
props: {
|
|
25417
25438
|
item: {
|
|
@@ -25455,11 +25476,11 @@ const _sfc_main$1c = {
|
|
|
25455
25476
|
class: normalizeClass(anchorClass.value)
|
|
25456
25477
|
}, {
|
|
25457
25478
|
default: withCtx(() => [
|
|
25458
|
-
createVNode(_sfc_main$
|
|
25479
|
+
createVNode(_sfc_main$1K, {
|
|
25459
25480
|
value: itemIcon.value,
|
|
25460
25481
|
class: normalizeClass(appIconClass.value)
|
|
25461
25482
|
}, null, 8, ["value", "class"]),
|
|
25462
|
-
createElementVNode("span", _hoisted_1$
|
|
25483
|
+
createElementVNode("span", _hoisted_1$T, toDisplayString(itemName.value), 1),
|
|
25463
25484
|
itemBadge.value ? (openBlock(), createElementBlock("span", {
|
|
25464
25485
|
key: 0,
|
|
25465
25486
|
class: normalizeClass(badgeClass.value)
|
|
@@ -25470,13 +25491,13 @@ const _sfc_main$1c = {
|
|
|
25470
25491
|
};
|
|
25471
25492
|
}
|
|
25472
25493
|
};
|
|
25473
|
-
const AppMenuItemValue = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25474
|
-
const _hoisted_1$
|
|
25494
|
+
const AppMenuItemValue = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-6411d77e"]]);
|
|
25495
|
+
const _hoisted_1$S = {
|
|
25475
25496
|
key: 0,
|
|
25476
25497
|
class: "nav nav-group-sub",
|
|
25477
25498
|
style: { "display": "block" }
|
|
25478
25499
|
};
|
|
25479
|
-
const _sfc_main$
|
|
25500
|
+
const _sfc_main$1d = {
|
|
25480
25501
|
__name: "AppMenuItem",
|
|
25481
25502
|
props: {
|
|
25482
25503
|
modelValue: {
|
|
@@ -25564,7 +25585,7 @@ const _sfc_main$1b = {
|
|
|
25564
25585
|
}, null, 8, ["item", "is-active"]),
|
|
25565
25586
|
createVNode(Transition, { name: "fadeHeight" }, {
|
|
25566
25587
|
default: withCtx(() => [
|
|
25567
|
-
isChildrenListOpen.value ? (openBlock(), createElementBlock("ul", _hoisted_1$
|
|
25588
|
+
isChildrenListOpen.value ? (openBlock(), createElementBlock("ul", _hoisted_1$S, [
|
|
25568
25589
|
(openBlock(true), createElementBlock(Fragment, null, renderList(props2.modelValue.children, (menuItem) => {
|
|
25569
25590
|
return openBlock(), createBlock(AppMenuItem, {
|
|
25570
25591
|
key: menuItem.id,
|
|
@@ -25590,9 +25611,9 @@ const _sfc_main$1b = {
|
|
|
25590
25611
|
};
|
|
25591
25612
|
}
|
|
25592
25613
|
};
|
|
25593
|
-
const AppMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25594
|
-
const _hoisted_1$
|
|
25595
|
-
const _sfc_main$
|
|
25614
|
+
const AppMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-c259eef3"]]);
|
|
25615
|
+
const _hoisted_1$R = { class: "nav nav-sidebar" };
|
|
25616
|
+
const _sfc_main$1c = {
|
|
25596
25617
|
__name: "AppMenu",
|
|
25597
25618
|
props: {
|
|
25598
25619
|
list: {
|
|
@@ -25626,7 +25647,7 @@ const _sfc_main$1a = {
|
|
|
25626
25647
|
emit("on-click-item", item);
|
|
25627
25648
|
};
|
|
25628
25649
|
return (_ctx, _cache2) => {
|
|
25629
|
-
return openBlock(), createElementBlock("ul", _hoisted_1$
|
|
25650
|
+
return openBlock(), createElementBlock("ul", _hoisted_1$R, [
|
|
25630
25651
|
(openBlock(true), createElementBlock(Fragment, null, renderList(menu.value, (item) => {
|
|
25631
25652
|
return openBlock(), createBlock(AppMenuItem, {
|
|
25632
25653
|
key: item.id,
|
|
@@ -25639,9 +25660,9 @@ const _sfc_main$1a = {
|
|
|
25639
25660
|
};
|
|
25640
25661
|
}
|
|
25641
25662
|
};
|
|
25642
|
-
const _hoisted_1$
|
|
25643
|
-
const _hoisted_2$
|
|
25644
|
-
const _sfc_main$
|
|
25663
|
+
const _hoisted_1$Q = { class: "display-flex w-100" };
|
|
25664
|
+
const _hoisted_2$F = ["disabled", "max", "min"];
|
|
25665
|
+
const _sfc_main$1b = {
|
|
25645
25666
|
__name: "AppNumberInput",
|
|
25646
25667
|
props: {
|
|
25647
25668
|
modelValue: {},
|
|
@@ -25725,11 +25746,11 @@ const _sfc_main$19 = {
|
|
|
25725
25746
|
return (_ctx, _cache2) => {
|
|
25726
25747
|
return openBlock(), createBlock(AppFormElement, normalizeProps(guardReactiveProps(unref(formElementProps))), {
|
|
25727
25748
|
default: withCtx(() => [
|
|
25728
|
-
createElementVNode("div", _hoisted_1$
|
|
25749
|
+
createElementVNode("div", _hoisted_1$Q, [
|
|
25729
25750
|
createElementVNode("div", {
|
|
25730
25751
|
class: normalizeClass([disabledClass.value, "number-input flex-center-vertical"])
|
|
25731
25752
|
}, [
|
|
25732
|
-
createVNode(_sfc_main$
|
|
25753
|
+
createVNode(_sfc_main$1G, {
|
|
25733
25754
|
icon: "icon-minus2",
|
|
25734
25755
|
disabled: isDecrementDisabled.value,
|
|
25735
25756
|
onClick: decrement
|
|
@@ -25741,10 +25762,10 @@ const _sfc_main$19 = {
|
|
|
25741
25762
|
min: __props.min,
|
|
25742
25763
|
type: "number",
|
|
25743
25764
|
onInput: onInputChanged
|
|
25744
|
-
}, null, 40, _hoisted_2$
|
|
25765
|
+
}, null, 40, _hoisted_2$F), [
|
|
25745
25766
|
[vModelText, currentValue.value]
|
|
25746
25767
|
]),
|
|
25747
|
-
createVNode(_sfc_main$
|
|
25768
|
+
createVNode(_sfc_main$1G, {
|
|
25748
25769
|
icon: "icon-plus2",
|
|
25749
25770
|
disabled: isIncrementDisabled.value,
|
|
25750
25771
|
onClick: increment
|
|
@@ -25758,8 +25779,8 @@ const _sfc_main$19 = {
|
|
|
25758
25779
|
};
|
|
25759
25780
|
}
|
|
25760
25781
|
};
|
|
25761
|
-
const AppNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25762
|
-
const _sfc_main$
|
|
25782
|
+
const AppNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-51be942a"]]);
|
|
25783
|
+
const _sfc_main$1a = {
|
|
25763
25784
|
__name: "AppPlaceholderHeading",
|
|
25764
25785
|
props: {
|
|
25765
25786
|
img: {
|
|
@@ -25817,7 +25838,7 @@ const _sfc_main$18 = {
|
|
|
25817
25838
|
};
|
|
25818
25839
|
}
|
|
25819
25840
|
};
|
|
25820
|
-
const _sfc_main$
|
|
25841
|
+
const _sfc_main$19 = {
|
|
25821
25842
|
__name: "AppPlaceholderText",
|
|
25822
25843
|
props: {
|
|
25823
25844
|
marginTop: {
|
|
@@ -25866,20 +25887,20 @@ const _sfc_main$17 = {
|
|
|
25866
25887
|
};
|
|
25867
25888
|
}
|
|
25868
25889
|
};
|
|
25869
|
-
const _hoisted_1$
|
|
25870
|
-
const _hoisted_2$
|
|
25890
|
+
const _hoisted_1$P = { class: "row" };
|
|
25891
|
+
const _hoisted_2$E = { class: "col-lg-12" };
|
|
25871
25892
|
const _hoisted_3$p = { class: "card card-white animated fadeIn" };
|
|
25872
25893
|
const _hoisted_4$j = { class: "card-header" };
|
|
25873
25894
|
const _hoisted_5$e = { class: "card-body" };
|
|
25874
|
-
const _sfc_main$
|
|
25895
|
+
const _sfc_main$18 = {
|
|
25875
25896
|
__name: "AppPlaceholderCard",
|
|
25876
25897
|
setup(__props) {
|
|
25877
25898
|
return (_ctx, _cache2) => {
|
|
25878
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
25879
|
-
createElementVNode("div", _hoisted_2$
|
|
25899
|
+
return openBlock(), createElementBlock("div", _hoisted_1$P, [
|
|
25900
|
+
createElementVNode("div", _hoisted_2$E, [
|
|
25880
25901
|
createElementVNode("div", _hoisted_3$p, [
|
|
25881
25902
|
createElementVNode("div", _hoisted_4$j, [
|
|
25882
|
-
createVNode(_sfc_main$
|
|
25903
|
+
createVNode(_sfc_main$1a, {
|
|
25883
25904
|
img: true,
|
|
25884
25905
|
imgSize: "23px",
|
|
25885
25906
|
lineMargin: "4px",
|
|
@@ -25887,7 +25908,7 @@ const _sfc_main$16 = {
|
|
|
25887
25908
|
})
|
|
25888
25909
|
]),
|
|
25889
25910
|
createElementVNode("div", _hoisted_5$e, [
|
|
25890
|
-
createVNode(_sfc_main$
|
|
25911
|
+
createVNode(_sfc_main$19, {
|
|
25891
25912
|
lines: 10,
|
|
25892
25913
|
lineSize: "10px",
|
|
25893
25914
|
marginTop: "0px"
|
|
@@ -25899,7 +25920,7 @@ const _sfc_main$16 = {
|
|
|
25899
25920
|
};
|
|
25900
25921
|
}
|
|
25901
25922
|
};
|
|
25902
|
-
const _sfc_main$
|
|
25923
|
+
const _sfc_main$17 = {
|
|
25903
25924
|
__name: "AppPage",
|
|
25904
25925
|
props: {
|
|
25905
25926
|
isLoading: {
|
|
@@ -25915,7 +25936,7 @@ const _sfc_main$15 = {
|
|
|
25915
25936
|
return (_ctx, _cache2) => {
|
|
25916
25937
|
return openBlock(), createBlock(TransitionGroup, { name: __props.transitionName }, {
|
|
25917
25938
|
default: withCtx(() => [
|
|
25918
|
-
__props.isLoading ? (openBlock(), createBlock(_sfc_main$
|
|
25939
|
+
__props.isLoading ? (openBlock(), createBlock(_sfc_main$18, { key: 0 })) : renderSlot(_ctx.$slots, "default", { key: 1 })
|
|
25919
25940
|
]),
|
|
25920
25941
|
_: 3
|
|
25921
25942
|
}, 8, ["name"]);
|
|
@@ -26075,14 +26096,14 @@ function useModelWatch({ props: props2, emits, propName = "modelValue", onDataCh
|
|
|
26075
26096
|
localModelValue
|
|
26076
26097
|
};
|
|
26077
26098
|
}
|
|
26078
|
-
const _hoisted_1$
|
|
26079
|
-
const _hoisted_2$
|
|
26099
|
+
const _hoisted_1$O = ["tabindex"];
|
|
26100
|
+
const _hoisted_2$D = ["tabindex"];
|
|
26080
26101
|
const _hoisted_3$o = ["tabindex"];
|
|
26081
26102
|
const _hoisted_4$i = ["onClick", "onKeyup"];
|
|
26082
26103
|
const _hoisted_5$d = ["tabindex"];
|
|
26083
26104
|
const _hoisted_6$9 = ["tabindex"];
|
|
26084
26105
|
const _hoisted_7$4 = ["tabindex"];
|
|
26085
|
-
const _sfc_main$
|
|
26106
|
+
const _sfc_main$16 = {
|
|
26086
26107
|
__name: "AppPaginationButtons",
|
|
26087
26108
|
props: /* @__PURE__ */ mergeModels({
|
|
26088
26109
|
// modelValue: {},
|
|
@@ -26229,7 +26250,7 @@ const _sfc_main$14 = {
|
|
|
26229
26250
|
tabindex: firstPageSelected() ? -1 : 0,
|
|
26230
26251
|
onClick: _cache2[0] || (_cache2[0] = ($event) => selectFirstPage()),
|
|
26231
26252
|
onKeyup: _cache2[1] || (_cache2[1] = withKeys(($event) => selectFirstPage(), ["enter"]))
|
|
26232
|
-
}, toDisplayString(_ctx.firstButtonText), 43, _hoisted_1$
|
|
26253
|
+
}, toDisplayString(_ctx.firstButtonText), 43, _hoisted_1$O)
|
|
26233
26254
|
], 2)) : createCommentVNode("", true),
|
|
26234
26255
|
!(firstPageSelected() && _ctx.hidePrevNext) ? (openBlock(), createElementBlock("li", {
|
|
26235
26256
|
key: 1,
|
|
@@ -26242,8 +26263,8 @@ const _sfc_main$14 = {
|
|
|
26242
26263
|
onClick: _cache2[2] || (_cache2[2] = ($event) => prevPage()),
|
|
26243
26264
|
onKeyup: _cache2[3] || (_cache2[3] = withKeys(($event) => prevPage(), ["enter"]))
|
|
26244
26265
|
}, [
|
|
26245
|
-
createVNode(_sfc_main$
|
|
26246
|
-
], 42, _hoisted_2$
|
|
26266
|
+
createVNode(_sfc_main$1K, { value: "icon-arrow-small-left" })
|
|
26267
|
+
], 42, _hoisted_2$D)) : (openBlock(), createElementBlock("a", {
|
|
26247
26268
|
key: 1,
|
|
26248
26269
|
class: normalizeClass(_ctx.prevLinkClass),
|
|
26249
26270
|
tabindex: firstPageSelected() ? -1 : 0,
|
|
@@ -26288,7 +26309,7 @@ const _sfc_main$14 = {
|
|
|
26288
26309
|
onClick: _cache2[6] || (_cache2[6] = ($event) => nextPage()),
|
|
26289
26310
|
onKeyup: _cache2[7] || (_cache2[7] = withKeys(($event) => nextPage(), ["enter"]))
|
|
26290
26311
|
}, [
|
|
26291
|
-
createVNode(_sfc_main$
|
|
26312
|
+
createVNode(_sfc_main$1K, { value: "icon-arrow-small-right" })
|
|
26292
26313
|
], 42, _hoisted_5$d)) : (openBlock(), createElementBlock("a", {
|
|
26293
26314
|
key: 1,
|
|
26294
26315
|
class: normalizeClass(_ctx.nextLinkClass),
|
|
@@ -26313,11 +26334,11 @@ const _sfc_main$14 = {
|
|
|
26313
26334
|
};
|
|
26314
26335
|
}
|
|
26315
26336
|
};
|
|
26316
|
-
const _hoisted_1$
|
|
26317
|
-
const _hoisted_2$
|
|
26337
|
+
const _hoisted_1$N = { class: "pagination-info-label" };
|
|
26338
|
+
const _hoisted_2$C = { class: "text-muted d-none d-lg-block d-xl-block" };
|
|
26318
26339
|
const _hoisted_3$n = { key: 0 };
|
|
26319
26340
|
const _hoisted_4$h = { key: 1 };
|
|
26320
|
-
const _sfc_main$
|
|
26341
|
+
const _sfc_main$15 = {
|
|
26321
26342
|
__name: "AppPaginationInfo",
|
|
26322
26343
|
props: {
|
|
26323
26344
|
modelValue: {
|
|
@@ -26337,13 +26358,13 @@ const _sfc_main$13 = {
|
|
|
26337
26358
|
});
|
|
26338
26359
|
return (_ctx, _cache2) => {
|
|
26339
26360
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
26340
|
-
createElementVNode("div", _hoisted_1$
|
|
26341
|
-
createElementVNode("span", _hoisted_2$
|
|
26361
|
+
createElementVNode("div", _hoisted_1$N, [
|
|
26362
|
+
createElementVNode("span", _hoisted_2$C, [
|
|
26342
26363
|
createTextVNode(toDisplayString(`Inregistrari vizibile: ${props2.modelValue.from || 0} - ${props2.modelValue.to || 0}`) + " ", 1),
|
|
26343
26364
|
props2.modelValue.total ? (openBlock(), createElementBlock("span", _hoisted_3$n, toDisplayString(` din ${props2.modelValue.total}`), 1)) : (openBlock(), createElementBlock("span", _hoisted_4$h, toDisplayString(` (total negenerat)`)))
|
|
26344
26365
|
])
|
|
26345
26366
|
]),
|
|
26346
|
-
__props.canTogglePagination ? (openBlock(), createBlock(_sfc_main$
|
|
26367
|
+
__props.canTogglePagination ? (openBlock(), createBlock(_sfc_main$1G, {
|
|
26347
26368
|
key: 0,
|
|
26348
26369
|
icon: toggleIcon.value,
|
|
26349
26370
|
class: "btn btn-default btn-xs ml-10 btn-transparent"
|
|
@@ -26352,7 +26373,7 @@ const _sfc_main$13 = {
|
|
|
26352
26373
|
};
|
|
26353
26374
|
}
|
|
26354
26375
|
};
|
|
26355
|
-
const AppPaginationInfo = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26376
|
+
const AppPaginationInfo = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-42b386e8"]]);
|
|
26356
26377
|
const SelectNewSymbol = Symbol("app-select-new-core");
|
|
26357
26378
|
function provideSelectNewCore(modelValue, config) {
|
|
26358
26379
|
const searchQuery = ref("");
|
|
@@ -26479,9 +26500,9 @@ function useSelectNewCore() {
|
|
|
26479
26500
|
}
|
|
26480
26501
|
return core;
|
|
26481
26502
|
}
|
|
26482
|
-
const _hoisted_1$
|
|
26483
|
-
const _hoisted_2$
|
|
26484
|
-
const _sfc_main$
|
|
26503
|
+
const _hoisted_1$M = { class: "select-item d-flex align-items-center my-auto" };
|
|
26504
|
+
const _hoisted_2$B = { class: "select-item-text text-truncate" };
|
|
26505
|
+
const _sfc_main$14 = {
|
|
26485
26506
|
__name: "AppSelectNewItem",
|
|
26486
26507
|
props: {
|
|
26487
26508
|
option: {}
|
|
@@ -26494,14 +26515,14 @@ const _sfc_main$12 = {
|
|
|
26494
26515
|
return lodashExports.isObject(props2.option) ? lodashExports.get(props2.option, displayBy.value, "") : props2.option;
|
|
26495
26516
|
});
|
|
26496
26517
|
return (_ctx, _cache2) => {
|
|
26497
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
26498
|
-
createElementVNode("span", _hoisted_2$
|
|
26518
|
+
return openBlock(), createElementBlock("div", _hoisted_1$M, [
|
|
26519
|
+
createElementVNode("span", _hoisted_2$B, toDisplayString(text2.value), 1)
|
|
26499
26520
|
]);
|
|
26500
26521
|
};
|
|
26501
26522
|
}
|
|
26502
26523
|
};
|
|
26503
|
-
const _hoisted_1$
|
|
26504
|
-
const _hoisted_2$
|
|
26524
|
+
const _hoisted_1$L = ["aria-activedescendant"];
|
|
26525
|
+
const _hoisted_2$A = {
|
|
26505
26526
|
key: 0,
|
|
26506
26527
|
class: "px-3 py-2 text-muted"
|
|
26507
26528
|
};
|
|
@@ -26512,7 +26533,7 @@ const _hoisted_6$8 = {
|
|
|
26512
26533
|
key: 0,
|
|
26513
26534
|
class: "px-3 py-2 text-muted"
|
|
26514
26535
|
};
|
|
26515
|
-
const _sfc_main$
|
|
26536
|
+
const _sfc_main$13 = {
|
|
26516
26537
|
__name: "AppSelectNewDropdown",
|
|
26517
26538
|
emits: ["option-selected"],
|
|
26518
26539
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -26644,7 +26665,7 @@ const _sfc_main$11 = {
|
|
|
26644
26665
|
class: "multiselect-container dropdown-menu show select-dropdown",
|
|
26645
26666
|
role: "listbox"
|
|
26646
26667
|
}, [
|
|
26647
|
-
unref(isLoading) ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
26668
|
+
unref(isLoading) ? (openBlock(), createElementBlock("div", _hoisted_2$A, "Loading…")) : (openBlock(), createElementBlock("div", _hoisted_3$m, [
|
|
26648
26669
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(visibleOptions), (item, idx) => {
|
|
26649
26670
|
return openBlock(), createElementBlock("div", {
|
|
26650
26671
|
id: getItemId(idx),
|
|
@@ -26666,21 +26687,21 @@ const _sfc_main$11 = {
|
|
|
26666
26687
|
option: item,
|
|
26667
26688
|
remove: () => unref(toggleOption)(item)
|
|
26668
26689
|
}, () => [
|
|
26669
|
-
createVNode(_sfc_main$
|
|
26690
|
+
createVNode(_sfc_main$14, { option: item }, null, 8, ["option"])
|
|
26670
26691
|
], true)
|
|
26671
26692
|
])
|
|
26672
26693
|
], 46, _hoisted_4$g);
|
|
26673
26694
|
}), 128)),
|
|
26674
26695
|
!unref(visibleOptions) || unref(visibleOptions).length === 0 ? (openBlock(), createElementBlock("div", _hoisted_6$8, "No results")) : createCommentVNode("", true)
|
|
26675
26696
|
]))
|
|
26676
|
-
], 12, _hoisted_1$
|
|
26697
|
+
], 12, _hoisted_1$L);
|
|
26677
26698
|
};
|
|
26678
26699
|
}
|
|
26679
26700
|
};
|
|
26680
|
-
const AppSelectNewDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26681
|
-
const _hoisted_1$
|
|
26682
|
-
const _hoisted_2$
|
|
26683
|
-
const _sfc_main$
|
|
26701
|
+
const AppSelectNewDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-357f2e17"]]);
|
|
26702
|
+
const _hoisted_1$K = { class: "select2-selection__choice flex-center-vertical" };
|
|
26703
|
+
const _hoisted_2$z = { class: "flex-1 choice-text overflow-hidden text-truncate" };
|
|
26704
|
+
const _sfc_main$12 = {
|
|
26684
26705
|
__name: "AppRemovableTag",
|
|
26685
26706
|
props: {
|
|
26686
26707
|
modelValue: {}
|
|
@@ -26693,8 +26714,8 @@ const _sfc_main$10 = {
|
|
|
26693
26714
|
emits("onRemove", props2.modelValue);
|
|
26694
26715
|
};
|
|
26695
26716
|
return (_ctx, _cache2) => {
|
|
26696
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
26697
|
-
createElementVNode("div", _hoisted_2$
|
|
26717
|
+
return openBlock(), createElementBlock("div", _hoisted_1$K, [
|
|
26718
|
+
createElementVNode("div", _hoisted_2$z, [
|
|
26698
26719
|
renderSlot(_ctx.$slots, "modelValue", {}, () => [
|
|
26699
26720
|
createTextVNode(toDisplayString(__props.modelValue), 1)
|
|
26700
26721
|
], true)
|
|
@@ -26711,9 +26732,9 @@ const _sfc_main$10 = {
|
|
|
26711
26732
|
};
|
|
26712
26733
|
}
|
|
26713
26734
|
};
|
|
26714
|
-
const AppRemovableTag = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26715
|
-
const _hoisted_1$
|
|
26716
|
-
const _hoisted_2$
|
|
26735
|
+
const AppRemovableTag = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-41d0ea41"]]);
|
|
26736
|
+
const _hoisted_1$J = { class: "app-select-content display-flex flex-column gap-1 overflow-hidden" };
|
|
26737
|
+
const _hoisted_2$y = ["placeholder"];
|
|
26717
26738
|
const _hoisted_3$l = { class: "display-flex flex-row gap-1 flex-wrap overflow-hidden" };
|
|
26718
26739
|
const _hoisted_4$f = ["title"];
|
|
26719
26740
|
const _hoisted_5$b = {
|
|
@@ -26724,7 +26745,7 @@ const _hoisted_6$7 = {
|
|
|
26724
26745
|
key: 1,
|
|
26725
26746
|
class: "text-muted"
|
|
26726
26747
|
};
|
|
26727
|
-
const _sfc_main
|
|
26748
|
+
const _sfc_main$11 = {
|
|
26728
26749
|
__name: "AppSelectNewContent",
|
|
26729
26750
|
props: { placeholder: { default: "Select..." } },
|
|
26730
26751
|
emits: ["filter", "keydown"],
|
|
@@ -26748,7 +26769,7 @@ const _sfc_main$$ = {
|
|
|
26748
26769
|
}
|
|
26749
26770
|
__expose({ focusInput });
|
|
26750
26771
|
return (_ctx, _cache2) => {
|
|
26751
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
26772
|
+
return openBlock(), createElementBlock("div", _hoisted_1$J, [
|
|
26752
26773
|
withDirectives(createElementVNode("input", {
|
|
26753
26774
|
ref_key: "inputRef",
|
|
26754
26775
|
ref: inputRef,
|
|
@@ -26762,7 +26783,7 @@ const _sfc_main$$ = {
|
|
|
26762
26783
|
onClick: _cache2[3] || (_cache2[3] = withModifiers(() => {
|
|
26763
26784
|
}, ["stop"])),
|
|
26764
26785
|
onKeydown: withModifiers(onKeydown, ["stop"])
|
|
26765
|
-
}, null, 40, _hoisted_2$
|
|
26786
|
+
}, null, 40, _hoisted_2$y), [
|
|
26766
26787
|
[vShow, unref(isDropdownOpen)],
|
|
26767
26788
|
[vModelText, unref(searchQuery)]
|
|
26768
26789
|
]),
|
|
@@ -26784,7 +26805,7 @@ const _sfc_main$$ = {
|
|
|
26784
26805
|
option: opt,
|
|
26785
26806
|
remove: () => removeOption(opt)
|
|
26786
26807
|
}, () => [
|
|
26787
|
-
createVNode(_sfc_main$
|
|
26808
|
+
createVNode(_sfc_main$14, {
|
|
26788
26809
|
option: opt,
|
|
26789
26810
|
class: "flex-grow-1"
|
|
26790
26811
|
}, null, 8, ["option"])
|
|
@@ -26799,7 +26820,7 @@ const _sfc_main$$ = {
|
|
|
26799
26820
|
option: unref(selectedList)[0],
|
|
26800
26821
|
remove: () => removeOption(unref(selectedList)[0])
|
|
26801
26822
|
}, () => [
|
|
26802
|
-
createVNode(_sfc_main$
|
|
26823
|
+
createVNode(_sfc_main$14, {
|
|
26803
26824
|
option: unref(selectedList)[0],
|
|
26804
26825
|
class: "overflow-hidden text-truncate"
|
|
26805
26826
|
}, null, 8, ["option"])
|
|
@@ -26811,10 +26832,10 @@ const _sfc_main$$ = {
|
|
|
26811
26832
|
};
|
|
26812
26833
|
}
|
|
26813
26834
|
};
|
|
26814
|
-
const AppSelectNewContent = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
26815
|
-
const _hoisted_1$
|
|
26816
|
-
const _hoisted_2$
|
|
26817
|
-
const _sfc_main$
|
|
26835
|
+
const AppSelectNewContent = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-d2639de7"]]);
|
|
26836
|
+
const _hoisted_1$I = { class: "app-select-area flex-1 flex-center-vertical overflow-hidden" };
|
|
26837
|
+
const _hoisted_2$x = { class: "flex-center-vertical" };
|
|
26838
|
+
const _sfc_main$10 = {
|
|
26818
26839
|
__name: "AppSelectNew",
|
|
26819
26840
|
props: /* @__PURE__ */ mergeModels({
|
|
26820
26841
|
list: { type: [Array, Function], default: () => [] },
|
|
@@ -26943,7 +26964,7 @@ const _sfc_main$_ = {
|
|
|
26943
26964
|
class: normalizeClass(mainClass.value),
|
|
26944
26965
|
onClick: _cache2[1] || (_cache2[1] = (...args) => unref(toggleDropdown) && unref(toggleDropdown)(...args))
|
|
26945
26966
|
}, [
|
|
26946
|
-
createElementVNode("div", _hoisted_1$
|
|
26967
|
+
createElementVNode("div", _hoisted_1$I, [
|
|
26947
26968
|
createVNode(AppSelectNewContent, {
|
|
26948
26969
|
ref_key: "contentRef",
|
|
26949
26970
|
ref: contentRef,
|
|
@@ -26978,7 +26999,7 @@ const _sfc_main$_ = {
|
|
|
26978
26999
|
]), 1032, ["open-direction"]), [
|
|
26979
27000
|
[vShow, unref(isDropdownOpen)]
|
|
26980
27001
|
]),
|
|
26981
|
-
createElementVNode("div", _hoisted_2$
|
|
27002
|
+
createElementVNode("div", _hoisted_2$x, [
|
|
26982
27003
|
unref(isClearable) && !unref(isModelValueEmpty) ? withDirectives((openBlock(), createElementBlock("i", {
|
|
26983
27004
|
key: 0,
|
|
26984
27005
|
class: "ph-x-circle",
|
|
@@ -27004,11 +27025,11 @@ const _sfc_main$_ = {
|
|
|
27004
27025
|
};
|
|
27005
27026
|
}
|
|
27006
27027
|
};
|
|
27007
|
-
const _hoisted_1$
|
|
27028
|
+
const _hoisted_1$H = {
|
|
27008
27029
|
key: 0,
|
|
27009
27030
|
class: "d-flex flex-center-vertical"
|
|
27010
27031
|
};
|
|
27011
|
-
const _hoisted_2$
|
|
27032
|
+
const _hoisted_2$w = { class: "mr-auto" };
|
|
27012
27033
|
const _hoisted_3$k = { class: "d-flex" };
|
|
27013
27034
|
const _hoisted_4$e = {
|
|
27014
27035
|
key: 0,
|
|
@@ -27019,7 +27040,7 @@ const _hoisted_5$a = {
|
|
|
27019
27040
|
class: "icon-cogs"
|
|
27020
27041
|
};
|
|
27021
27042
|
const _hoisted_6$6 = { class: "ml-auto" };
|
|
27022
|
-
const _sfc_main
|
|
27043
|
+
const _sfc_main$$ = {
|
|
27023
27044
|
__name: "AppPagination",
|
|
27024
27045
|
props: /* @__PURE__ */ mergeModels({
|
|
27025
27046
|
...appPaginationProps,
|
|
@@ -27068,10 +27089,10 @@ const _sfc_main$Z = {
|
|
|
27068
27089
|
set: (value) => onPageSizeChanged(value)
|
|
27069
27090
|
});
|
|
27070
27091
|
return (_ctx, _cache2) => {
|
|
27071
|
-
return __props.isLoaded ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
27072
|
-
createElementVNode("div", _hoisted_2$
|
|
27092
|
+
return __props.isLoaded ? (openBlock(), createElementBlock("div", _hoisted_1$H, [
|
|
27093
|
+
createElementVNode("div", _hoisted_2$w, [
|
|
27073
27094
|
createElementVNode("span", _hoisted_3$k, [
|
|
27074
|
-
createVNode(_sfc_main$
|
|
27095
|
+
createVNode(_sfc_main$10, {
|
|
27075
27096
|
modelValue: pageSizeValue.value,
|
|
27076
27097
|
"onUpdate:modelValue": _cache2[0] || (_cache2[0] = ($event) => pageSizeValue.value = $event),
|
|
27077
27098
|
"input-only": true,
|
|
@@ -27083,7 +27104,7 @@ const _sfc_main$Z = {
|
|
|
27083
27104
|
])
|
|
27084
27105
|
]),
|
|
27085
27106
|
createVNode(AppPaginationInfo, { "model-value": modelValue.value }, null, 8, ["model-value"]),
|
|
27086
|
-
__props.showSimplePaginationToggle ? (openBlock(), createBlock(_sfc_main$
|
|
27107
|
+
__props.showSimplePaginationToggle ? (openBlock(), createBlock(_sfc_main$1G, {
|
|
27087
27108
|
key: 0,
|
|
27088
27109
|
onClick: _cache2[1] || (_cache2[1] = ($event) => isPaginationFull.value = !isPaginationFull.value),
|
|
27089
27110
|
class: "btn btn-default ml-10"
|
|
@@ -27094,7 +27115,7 @@ const _sfc_main$Z = {
|
|
|
27094
27115
|
_: 1
|
|
27095
27116
|
})) : createCommentVNode("", true),
|
|
27096
27117
|
createElementVNode("div", _hoisted_6$6, [
|
|
27097
|
-
createVNode(_sfc_main$
|
|
27118
|
+
createVNode(_sfc_main$16, {
|
|
27098
27119
|
modelValue: modelValue.value,
|
|
27099
27120
|
"onUpdate:modelValue": _cache2[2] || (_cache2[2] = ($event) => modelValue.value = $event),
|
|
27100
27121
|
class: "app-pagination-active"
|
|
@@ -27104,7 +27125,7 @@ const _sfc_main$Z = {
|
|
|
27104
27125
|
};
|
|
27105
27126
|
}
|
|
27106
27127
|
};
|
|
27107
|
-
const _sfc_main$
|
|
27128
|
+
const _sfc_main$_ = {
|
|
27108
27129
|
__name: "AppPlaceholderTitle",
|
|
27109
27130
|
props: {
|
|
27110
27131
|
img: {
|
|
@@ -27133,12 +27154,12 @@ const _sfc_main$Y = {
|
|
|
27133
27154
|
};
|
|
27134
27155
|
}
|
|
27135
27156
|
};
|
|
27136
|
-
const _hoisted_1$
|
|
27137
|
-
const _hoisted_2$
|
|
27157
|
+
const _hoisted_1$G = { class: "progress position-relative" };
|
|
27158
|
+
const _hoisted_2$v = {
|
|
27138
27159
|
key: 0,
|
|
27139
27160
|
class: "progress-text"
|
|
27140
27161
|
};
|
|
27141
|
-
const _sfc_main$
|
|
27162
|
+
const _sfc_main$Z = {
|
|
27142
27163
|
__name: "AppProgressBar",
|
|
27143
27164
|
props: {
|
|
27144
27165
|
value: {
|
|
@@ -27173,21 +27194,21 @@ const _sfc_main$X = {
|
|
|
27173
27194
|
return result.join(";");
|
|
27174
27195
|
});
|
|
27175
27196
|
return (_ctx, _cache2) => {
|
|
27176
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
27197
|
+
return openBlock(), createElementBlock("div", _hoisted_1$G, [
|
|
27177
27198
|
createElementVNode("div", {
|
|
27178
27199
|
class: normalizeClass(computedClass.value),
|
|
27179
27200
|
style: normalizeStyle(computedStyle.value)
|
|
27180
27201
|
}, null, 6),
|
|
27181
27202
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
27182
|
-
__props.isLabelVisible ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
27203
|
+
__props.isLabelVisible ? (openBlock(), createElementBlock("div", _hoisted_2$v, toDisplayString(valueFormatted.value) + "%", 1)) : createCommentVNode("", true)
|
|
27183
27204
|
], true)
|
|
27184
27205
|
]);
|
|
27185
27206
|
};
|
|
27186
27207
|
}
|
|
27187
27208
|
};
|
|
27188
|
-
const AppProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27189
|
-
const _hoisted_1$
|
|
27190
|
-
const _sfc_main$
|
|
27209
|
+
const AppProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-6bfe7f23"]]);
|
|
27210
|
+
const _hoisted_1$F = { class: "blockUI blockOverlay progress-bar-background" };
|
|
27211
|
+
const _sfc_main$Y = {
|
|
27191
27212
|
__name: "AppProgressBarOverlay",
|
|
27192
27213
|
props: {
|
|
27193
27214
|
value: {
|
|
@@ -27198,15 +27219,15 @@ const _sfc_main$W = {
|
|
|
27198
27219
|
setup(__props) {
|
|
27199
27220
|
return (_ctx, _cache2) => {
|
|
27200
27221
|
return openBlock(), createElementBlock("div", null, [
|
|
27201
|
-
createElementVNode("div", _hoisted_1$
|
|
27222
|
+
createElementVNode("div", _hoisted_1$F, [
|
|
27202
27223
|
createVNode(AppProgressBar, { value: __props.value }, null, 8, ["value"])
|
|
27203
27224
|
])
|
|
27204
27225
|
]);
|
|
27205
27226
|
};
|
|
27206
27227
|
}
|
|
27207
27228
|
};
|
|
27208
|
-
const AppProgressBarOverlay = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27209
|
-
const _sfc_main$
|
|
27229
|
+
const AppProgressBarOverlay = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-0752357f"]]);
|
|
27230
|
+
const _sfc_main$X = {
|
|
27210
27231
|
__name: "AppScrollToBottom",
|
|
27211
27232
|
props: {
|
|
27212
27233
|
useFixedContainer: {
|
|
@@ -27270,8 +27291,8 @@ const _sfc_main$V = {
|
|
|
27270
27291
|
};
|
|
27271
27292
|
}
|
|
27272
27293
|
};
|
|
27273
|
-
const AppScrollToBottom = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27274
|
-
const _sfc_main$
|
|
27294
|
+
const AppScrollToBottom = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-277c9e71"]]);
|
|
27295
|
+
const _sfc_main$W = {
|
|
27275
27296
|
__name: "AppScrollToTop",
|
|
27276
27297
|
props: {
|
|
27277
27298
|
useFixedContainer: {
|
|
@@ -27335,8 +27356,8 @@ const _sfc_main$U = {
|
|
|
27335
27356
|
};
|
|
27336
27357
|
}
|
|
27337
27358
|
};
|
|
27338
|
-
const AppScrollToTop = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27339
|
-
const _sfc_main$
|
|
27359
|
+
const AppScrollToTop = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-ff3d30b0"]]);
|
|
27360
|
+
const _sfc_main$V = {
|
|
27340
27361
|
__name: "AppScrollTopAndBottom",
|
|
27341
27362
|
props: {
|
|
27342
27363
|
top: {},
|
|
@@ -27625,9 +27646,9 @@ class DataUtils {
|
|
|
27625
27646
|
const getDisplayValue = (value, displayBy) => {
|
|
27626
27647
|
return lodashExports.isObject(value) ? lodashExports.get(value, `${displayBy}`) : value;
|
|
27627
27648
|
};
|
|
27628
|
-
const _hoisted_1$
|
|
27629
|
-
const _hoisted_2$
|
|
27630
|
-
const _sfc_main$
|
|
27649
|
+
const _hoisted_1$E = { class: "app-option-item flex-center-vertical" };
|
|
27650
|
+
const _hoisted_2$u = { class: "app-option-item-value" };
|
|
27651
|
+
const _sfc_main$U = {
|
|
27631
27652
|
__name: "AppSelectContentOption",
|
|
27632
27653
|
props: {
|
|
27633
27654
|
value: {},
|
|
@@ -27641,14 +27662,14 @@ const _sfc_main$S = {
|
|
|
27641
27662
|
const props2 = __props;
|
|
27642
27663
|
const computedValue = computed(() => getDisplayValue(props2.value, props2.displayBy));
|
|
27643
27664
|
return (_ctx, _cache2) => {
|
|
27644
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
27665
|
+
return openBlock(), createElementBlock("div", _hoisted_1$E, [
|
|
27645
27666
|
props2.isSelected ? (openBlock(), createBlock(unref(IconSquareCheckFilled), {
|
|
27646
27667
|
key: 0,
|
|
27647
27668
|
size: 20,
|
|
27648
27669
|
"stroke-width": 2,
|
|
27649
27670
|
style: { "margin-left": "10px", "color": "var(--bootstrap-success)" }
|
|
27650
27671
|
})) : createCommentVNode("", true),
|
|
27651
|
-
createElementVNode("div", _hoisted_2$
|
|
27672
|
+
createElementVNode("div", _hoisted_2$u, [
|
|
27652
27673
|
renderSlot(_ctx.$slots, "option", { option: __props.value }, () => [
|
|
27653
27674
|
createTextVNode(toDisplayString(computedValue.value), 1)
|
|
27654
27675
|
])
|
|
@@ -27732,8 +27753,8 @@ const sharedProps = {
|
|
|
27732
27753
|
default: false
|
|
27733
27754
|
}
|
|
27734
27755
|
};
|
|
27735
|
-
const _hoisted_1$
|
|
27736
|
-
const _hoisted_2$
|
|
27756
|
+
const _hoisted_1$D = ["onKeydown"];
|
|
27757
|
+
const _hoisted_2$t = {
|
|
27737
27758
|
key: 0,
|
|
27738
27759
|
class: "p-2 text-muted flex-center-vertical gap-1"
|
|
27739
27760
|
};
|
|
@@ -27741,7 +27762,7 @@ const _hoisted_3$j = {
|
|
|
27741
27762
|
key: 1,
|
|
27742
27763
|
class: "p-2 text-muted flex-center-vertical gap-1"
|
|
27743
27764
|
};
|
|
27744
|
-
const _sfc_main$
|
|
27765
|
+
const _sfc_main$T = {
|
|
27745
27766
|
__name: "AppSelectDropdown",
|
|
27746
27767
|
props: /* @__PURE__ */ mergeModels({
|
|
27747
27768
|
list: {
|
|
@@ -27838,7 +27859,7 @@ const _sfc_main$R = {
|
|
|
27838
27859
|
}, [
|
|
27839
27860
|
createElementVNode("div", null, [
|
|
27840
27861
|
(openBlock(true), createElementBlock(Fragment, null, renderList(props2.list, (option, index) => {
|
|
27841
|
-
return openBlock(), createBlock(_sfc_main$
|
|
27862
|
+
return openBlock(), createBlock(_sfc_main$U, {
|
|
27842
27863
|
key: index,
|
|
27843
27864
|
onClick: withModifiers(($event) => onOptionClicked(option), ["stop"]),
|
|
27844
27865
|
onMouseover: ($event) => onOptionHover(option),
|
|
@@ -27859,7 +27880,7 @@ const _sfc_main$R = {
|
|
|
27859
27880
|
]), 1032, ["onClick", "onMouseover", "value", "display-by", "isSelected", "class", "disabled"]);
|
|
27860
27881
|
}), 128))
|
|
27861
27882
|
]),
|
|
27862
|
-
isTypeSomethingVisible.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
27883
|
+
isTypeSomethingVisible.value ? (openBlock(), createElementBlock("div", _hoisted_2$t, [
|
|
27863
27884
|
createVNode(unref(IconKeyboard), {
|
|
27864
27885
|
size: 22,
|
|
27865
27886
|
"stroke-width": 1.8
|
|
@@ -27873,15 +27894,15 @@ const _sfc_main$R = {
|
|
|
27873
27894
|
}),
|
|
27874
27895
|
_cache2[1] || (_cache2[1] = createTextVNode(" Cautarea nu a returnat nici un rezultat... ", -1))
|
|
27875
27896
|
])) : createCommentVNode("", true)
|
|
27876
|
-
], 40, _hoisted_1$
|
|
27897
|
+
], 40, _hoisted_1$D)), [
|
|
27877
27898
|
[vShow, isDropdownOpen.value],
|
|
27878
27899
|
[unref(vOnClickOutside), closeModal]
|
|
27879
27900
|
]);
|
|
27880
27901
|
};
|
|
27881
27902
|
}
|
|
27882
27903
|
};
|
|
27883
|
-
const _hoisted_1$
|
|
27884
|
-
const _hoisted_2$
|
|
27904
|
+
const _hoisted_1$C = { class: "app-select-content display-flex flex-column" };
|
|
27905
|
+
const _hoisted_2$s = { class: "flex-center-vertical" };
|
|
27885
27906
|
const _hoisted_3$i = {
|
|
27886
27907
|
key: 0,
|
|
27887
27908
|
class: "text-muted flex-1 input-placeholder"
|
|
@@ -27895,7 +27916,7 @@ const _hoisted_6$5 = {
|
|
|
27895
27916
|
class: "flex-center",
|
|
27896
27917
|
style: {}
|
|
27897
27918
|
};
|
|
27898
|
-
const _sfc_main$
|
|
27919
|
+
const _sfc_main$S = {
|
|
27899
27920
|
__name: "AppSelectContent",
|
|
27900
27921
|
props: /* @__PURE__ */ mergeModels({
|
|
27901
27922
|
...sharedProps,
|
|
@@ -27936,14 +27957,14 @@ const _sfc_main$Q = {
|
|
|
27936
27957
|
const onBlur = async () => {
|
|
27937
27958
|
};
|
|
27938
27959
|
return (_ctx, _cache2) => {
|
|
27939
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
27940
|
-
createElementVNode("div", _hoisted_2$
|
|
27960
|
+
return openBlock(), createElementBlock("div", _hoisted_1$C, [
|
|
27961
|
+
createElementVNode("div", _hoisted_2$s, [
|
|
27941
27962
|
unref(isModelValueEmpty) ? (openBlock(), createElementBlock("div", _hoisted_3$i, [
|
|
27942
27963
|
!props2.isDropdownOpen ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
27943
27964
|
createTextVNode(toDisplayString(props2.placeholder), 1)
|
|
27944
27965
|
], 64)) : createCommentVNode("", true)
|
|
27945
27966
|
])) : !isDropdownOpen.value ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
27946
|
-
!props2.isMultiSelect ? (openBlock(), createBlock(_sfc_main$
|
|
27967
|
+
!props2.isMultiSelect ? (openBlock(), createBlock(_sfc_main$U, {
|
|
27947
27968
|
key: 0,
|
|
27948
27969
|
value: modelValue.value,
|
|
27949
27970
|
class: "app-select-option",
|
|
@@ -27965,7 +27986,7 @@ const _sfc_main$Q = {
|
|
|
27965
27986
|
onOnRemove: ($event) => unref(removeSelectedOption)(selectedOption)
|
|
27966
27987
|
}, {
|
|
27967
27988
|
modelValue: withCtx(() => [
|
|
27968
|
-
createVNode(_sfc_main$
|
|
27989
|
+
createVNode(_sfc_main$U, {
|
|
27969
27990
|
value: selectedOption,
|
|
27970
27991
|
"display-by": _ctx.displayBy
|
|
27971
27992
|
}, createSlots({ _: 2 }, [
|
|
@@ -28019,13 +28040,13 @@ const _sfc_main$Q = {
|
|
|
28019
28040
|
};
|
|
28020
28041
|
}
|
|
28021
28042
|
};
|
|
28022
|
-
const _hoisted_1$
|
|
28023
|
-
const _hoisted_2$
|
|
28043
|
+
const _hoisted_1$B = ["onKeyup"];
|
|
28044
|
+
const _hoisted_2$r = { class: "app-select-area flex-center-vertical" };
|
|
28024
28045
|
const _hoisted_3$h = {
|
|
28025
28046
|
class: "flex-center-vertical",
|
|
28026
28047
|
style: {}
|
|
28027
28048
|
};
|
|
28028
|
-
const _sfc_main$
|
|
28049
|
+
const _sfc_main$R = {
|
|
28029
28050
|
__name: "AppSelect",
|
|
28030
28051
|
props: /* @__PURE__ */ mergeModels({
|
|
28031
28052
|
list: {
|
|
@@ -28151,8 +28172,8 @@ const _sfc_main$P = {
|
|
|
28151
28172
|
],
|
|
28152
28173
|
tabindex: "0"
|
|
28153
28174
|
}, [
|
|
28154
|
-
createElementVNode("div", _hoisted_2$
|
|
28155
|
-
createVNode(_sfc_main$
|
|
28175
|
+
createElementVNode("div", _hoisted_2$r, [
|
|
28176
|
+
createVNode(_sfc_main$S, mergeProps({
|
|
28156
28177
|
placeholder: props2.placeholder,
|
|
28157
28178
|
class: "flex-1",
|
|
28158
28179
|
onSearch,
|
|
@@ -28184,7 +28205,7 @@ const _sfc_main$P = {
|
|
|
28184
28205
|
}, null, 8, ["class"])
|
|
28185
28206
|
])
|
|
28186
28207
|
]),
|
|
28187
|
-
withDirectives(createVNode(_sfc_main$
|
|
28208
|
+
withDirectives(createVNode(_sfc_main$T, mergeProps({
|
|
28188
28209
|
modelValue: modelValue.value,
|
|
28189
28210
|
"onUpdate:modelValue": _cache2[3] || (_cache2[3] = ($event) => modelValue.value = $event),
|
|
28190
28211
|
isDropdownOpen: isDropdownOpen.value,
|
|
@@ -28208,7 +28229,7 @@ const _sfc_main$P = {
|
|
|
28208
28229
|
]), 1040, ["modelValue", "isDropdownOpen", "hoveredOption", "search", "style", "list"]), [
|
|
28209
28230
|
[vShow, isDropdownOpen.value]
|
|
28210
28231
|
])
|
|
28211
|
-
], 42, _hoisted_1$
|
|
28232
|
+
], 42, _hoisted_1$B)
|
|
28212
28233
|
]),
|
|
28213
28234
|
_: 2
|
|
28214
28235
|
}, [
|
|
@@ -28224,13 +28245,13 @@ const _sfc_main$P = {
|
|
|
28224
28245
|
};
|
|
28225
28246
|
}
|
|
28226
28247
|
};
|
|
28227
|
-
const _hoisted_1$
|
|
28228
|
-
const _hoisted_2$
|
|
28248
|
+
const _hoisted_1$A = { class: "sidebar-section" };
|
|
28249
|
+
const _hoisted_2$q = {
|
|
28229
28250
|
key: 0,
|
|
28230
28251
|
class: "nav nav-sidebar"
|
|
28231
28252
|
};
|
|
28232
28253
|
const _hoisted_3$g = { style: { "padding": "12px 20px" } };
|
|
28233
|
-
const _sfc_main$
|
|
28254
|
+
const _sfc_main$Q = {
|
|
28234
28255
|
__name: "AppSidebar",
|
|
28235
28256
|
props: {
|
|
28236
28257
|
isLoading: {
|
|
@@ -28269,13 +28290,13 @@ const _sfc_main$O = {
|
|
|
28269
28290
|
};
|
|
28270
28291
|
return (_ctx, _cache2) => {
|
|
28271
28292
|
const _component_app_placeholder_heading = resolveComponent("app-placeholder-heading");
|
|
28272
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
28293
|
+
return openBlock(), createElementBlock("div", _hoisted_1$A, [
|
|
28273
28294
|
createElementVNode("div", { onClick: toggleMobileSidebar }),
|
|
28274
28295
|
createElementVNode("div", {
|
|
28275
28296
|
class: normalizeClass(sidebarElementsClass.value)
|
|
28276
28297
|
}, [
|
|
28277
28298
|
renderSlot(_ctx.$slots, "sidebar-header"),
|
|
28278
|
-
__props.isLoading ? (openBlock(), createElementBlock("ul", _hoisted_2$
|
|
28299
|
+
__props.isLoading ? (openBlock(), createElementBlock("ul", _hoisted_2$q, [
|
|
28279
28300
|
(openBlock(), createElementBlock(Fragment, null, renderList(9, (n) => {
|
|
28280
28301
|
return createElementVNode("li", {
|
|
28281
28302
|
key: n,
|
|
@@ -28291,7 +28312,7 @@ const _sfc_main$O = {
|
|
|
28291
28312
|
])
|
|
28292
28313
|
]);
|
|
28293
28314
|
}), 64))
|
|
28294
|
-
])) : (openBlock(), createBlock(_sfc_main$
|
|
28315
|
+
])) : (openBlock(), createBlock(_sfc_main$1c, {
|
|
28295
28316
|
key: 1,
|
|
28296
28317
|
class: "animated fadeIn app-sidebar",
|
|
28297
28318
|
list: __props.list,
|
|
@@ -28303,8 +28324,8 @@ const _sfc_main$O = {
|
|
|
28303
28324
|
};
|
|
28304
28325
|
}
|
|
28305
28326
|
};
|
|
28306
|
-
const _hoisted_1$
|
|
28307
|
-
const _hoisted_2$
|
|
28327
|
+
const _hoisted_1$z = { class: "sidebar-header display-flex position-relative justify-content-center" };
|
|
28328
|
+
const _hoisted_2$p = {
|
|
28308
28329
|
key: 0,
|
|
28309
28330
|
class: "pr-2 flex-center-vertical"
|
|
28310
28331
|
};
|
|
@@ -28320,7 +28341,7 @@ const _hoisted_5$8 = {
|
|
|
28320
28341
|
key: 3,
|
|
28321
28342
|
class: "flex-center-vertical"
|
|
28322
28343
|
};
|
|
28323
|
-
const _sfc_main$
|
|
28344
|
+
const _sfc_main$P = {
|
|
28324
28345
|
__name: "AppSidebarHeader",
|
|
28325
28346
|
props: {
|
|
28326
28347
|
canCollapse: {
|
|
@@ -28339,15 +28360,15 @@ const _sfc_main$N = {
|
|
|
28339
28360
|
},
|
|
28340
28361
|
setup(__props) {
|
|
28341
28362
|
return (_ctx, _cache2) => {
|
|
28342
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
28343
|
-
!__props.canCollapse || !__props.sidebarCollapsed ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
28363
|
+
return openBlock(), createElementBlock("div", _hoisted_1$z, [
|
|
28364
|
+
!__props.canCollapse || !__props.sidebarCollapsed ? (openBlock(), createElementBlock("div", _hoisted_2$p, [
|
|
28344
28365
|
renderSlot(_ctx.$slots, "sidebar-header-img")
|
|
28345
28366
|
])) : createCommentVNode("", true),
|
|
28346
28367
|
!__props.canCollapse || !__props.sidebarCollapsed ? (openBlock(), createElementBlock("div", _hoisted_3$f, [
|
|
28347
28368
|
renderSlot(_ctx.$slots, "sidebar-header-text")
|
|
28348
28369
|
])) : createCommentVNode("", true),
|
|
28349
28370
|
__props.canCollapse ? (openBlock(), createElementBlock("div", _hoisted_4$c, [
|
|
28350
|
-
createVNode(_sfc_main$
|
|
28371
|
+
createVNode(_sfc_main$1G, {
|
|
28351
28372
|
onClick: __props.toggleCollapseSidebar,
|
|
28352
28373
|
class: "sidebar-collapse-button"
|
|
28353
28374
|
}, {
|
|
@@ -28366,8 +28387,8 @@ const _sfc_main$N = {
|
|
|
28366
28387
|
};
|
|
28367
28388
|
}
|
|
28368
28389
|
};
|
|
28369
|
-
const _hoisted_1$
|
|
28370
|
-
const _sfc_main$
|
|
28390
|
+
const _hoisted_1$y = ["max", "min"];
|
|
28391
|
+
const _sfc_main$O = {
|
|
28371
28392
|
__name: "AppSliderInput",
|
|
28372
28393
|
props: {
|
|
28373
28394
|
modelValue: {},
|
|
@@ -28419,7 +28440,7 @@ const _sfc_main$M = {
|
|
|
28419
28440
|
min: __props.minRange,
|
|
28420
28441
|
type: "range",
|
|
28421
28442
|
class: "slider"
|
|
28422
|
-
}, null, 8, _hoisted_1$
|
|
28443
|
+
}, null, 8, _hoisted_1$y), [
|
|
28423
28444
|
[vModelText, currentValue.value]
|
|
28424
28445
|
])
|
|
28425
28446
|
], 2),
|
|
@@ -28430,13 +28451,13 @@ const _sfc_main$M = {
|
|
|
28430
28451
|
};
|
|
28431
28452
|
}
|
|
28432
28453
|
};
|
|
28433
|
-
const AppSliderInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28434
|
-
const _hoisted_1$
|
|
28435
|
-
const _hoisted_2$
|
|
28454
|
+
const AppSliderInput = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-5e3013a5"]]);
|
|
28455
|
+
const _hoisted_1$x = { class: "page-header" };
|
|
28456
|
+
const _hoisted_2$o = { class: "breadcrumb-line breadcrumb-line-light header-elements-md-inline" };
|
|
28436
28457
|
const _hoisted_3$e = { class: "d-flex" };
|
|
28437
28458
|
const _hoisted_4$b = { class: "breadcrumb" };
|
|
28438
28459
|
const _hoisted_5$7 = { class: "header-elements" };
|
|
28439
|
-
const _sfc_main$
|
|
28460
|
+
const _sfc_main$N = {
|
|
28440
28461
|
__name: "AppToolbarSubheader",
|
|
28441
28462
|
props: {
|
|
28442
28463
|
breadcrumbs: {
|
|
@@ -28450,12 +28471,12 @@ const _sfc_main$L = {
|
|
|
28450
28471
|
},
|
|
28451
28472
|
setup(__props) {
|
|
28452
28473
|
return (_ctx, _cache2) => {
|
|
28453
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
28454
|
-
createElementVNode("div", _hoisted_2$
|
|
28474
|
+
return openBlock(), createElementBlock("div", _hoisted_1$x, [
|
|
28475
|
+
createElementVNode("div", _hoisted_2$o, [
|
|
28455
28476
|
createElementVNode("div", _hoisted_3$e, [
|
|
28456
28477
|
createElementVNode("div", _hoisted_4$b, [
|
|
28457
28478
|
renderSlot(_ctx.$slots, "breadcrumbs", {}, () => [
|
|
28458
|
-
createVNode(_sfc_main$
|
|
28479
|
+
createVNode(_sfc_main$1H, {
|
|
28459
28480
|
"is-loading": __props.isLoading,
|
|
28460
28481
|
value: __props.breadcrumbs
|
|
28461
28482
|
}, null, 8, ["is-loading", "value"])
|
|
@@ -28470,8 +28491,8 @@ const _sfc_main$L = {
|
|
|
28470
28491
|
};
|
|
28471
28492
|
}
|
|
28472
28493
|
};
|
|
28473
|
-
const AppToolbarSubheader = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28474
|
-
const _sfc_main$
|
|
28494
|
+
const AppToolbarSubheader = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-bdf62cb4"]]);
|
|
28495
|
+
const _sfc_main$M = {
|
|
28475
28496
|
__name: "AppEllipsisText",
|
|
28476
28497
|
props: {
|
|
28477
28498
|
value: {
|
|
@@ -28523,18 +28544,18 @@ const _sfc_main$K = {
|
|
|
28523
28544
|
};
|
|
28524
28545
|
}
|
|
28525
28546
|
};
|
|
28526
|
-
const _hoisted_1$
|
|
28547
|
+
const _hoisted_1$w = {
|
|
28527
28548
|
class: "display-flex gap-1",
|
|
28528
28549
|
style: { "overflow-x": "auto", "flex-wrap": "wrap" }
|
|
28529
28550
|
};
|
|
28530
|
-
const _hoisted_2$
|
|
28551
|
+
const _hoisted_2$n = ["onClick"];
|
|
28531
28552
|
const _hoisted_3$d = { class: "flex-center-vertical mr-5" };
|
|
28532
28553
|
const _hoisted_4$a = { class: "display-flex-column" };
|
|
28533
28554
|
const _hoisted_5$6 = {
|
|
28534
28555
|
key: 1,
|
|
28535
28556
|
class: "text-muted"
|
|
28536
28557
|
};
|
|
28537
|
-
const _sfc_main$
|
|
28558
|
+
const _sfc_main$L = {
|
|
28538
28559
|
__name: "AppSummary",
|
|
28539
28560
|
props: {
|
|
28540
28561
|
list: {
|
|
@@ -28562,7 +28583,7 @@ const _sfc_main$J = {
|
|
|
28562
28583
|
return item.subtitleStyle ?? null;
|
|
28563
28584
|
};
|
|
28564
28585
|
return (_ctx, _cache2) => {
|
|
28565
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
28586
|
+
return openBlock(), createElementBlock("div", _hoisted_1$w, [
|
|
28566
28587
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.list, (currentItem, index) => {
|
|
28567
28588
|
return openBlock(), createElementBlock("div", {
|
|
28568
28589
|
key: index,
|
|
@@ -28574,12 +28595,12 @@ const _sfc_main$J = {
|
|
|
28574
28595
|
item: currentItem,
|
|
28575
28596
|
list: __props.list
|
|
28576
28597
|
}, () => [
|
|
28577
|
-
createVNode(_sfc_main$
|
|
28598
|
+
createVNode(_sfc_main$1A, { style: { "margin": "2px" } }, {
|
|
28578
28599
|
body: withCtx(() => [
|
|
28579
28600
|
createElementVNode("div", _hoisted_3$d, [
|
|
28580
28601
|
createElementVNode("div", _hoisted_4$a, [
|
|
28581
28602
|
createElementVNode("div", null, [
|
|
28582
|
-
currentItem.icon ? (openBlock(), createBlock(_sfc_main$
|
|
28603
|
+
currentItem.icon ? (openBlock(), createBlock(_sfc_main$1K, {
|
|
28583
28604
|
key: 0,
|
|
28584
28605
|
class: "mr-5",
|
|
28585
28606
|
value: currentItem.icon
|
|
@@ -28595,7 +28616,7 @@ const _sfc_main$J = {
|
|
|
28595
28616
|
class: normalizeClass(getSubtitleClass(currentItem)),
|
|
28596
28617
|
style: normalizeStyle(getSubtitleStyle(currentItem))
|
|
28597
28618
|
}, [
|
|
28598
|
-
createVNode(_sfc_main$
|
|
28619
|
+
createVNode(_sfc_main$M, {
|
|
28599
28620
|
value: currentItem.subtitle,
|
|
28600
28621
|
"max-length": 40
|
|
28601
28622
|
}, null, 8, ["value"])
|
|
@@ -28607,14 +28628,14 @@ const _sfc_main$J = {
|
|
|
28607
28628
|
_: 2
|
|
28608
28629
|
}, 1024)
|
|
28609
28630
|
])
|
|
28610
|
-
], 12, _hoisted_2$
|
|
28631
|
+
], 12, _hoisted_2$n);
|
|
28611
28632
|
}), 128))
|
|
28612
28633
|
]);
|
|
28613
28634
|
};
|
|
28614
28635
|
}
|
|
28615
28636
|
};
|
|
28616
|
-
const _hoisted_1$
|
|
28617
|
-
const _hoisted_2$
|
|
28637
|
+
const _hoisted_1$v = { key: 0 };
|
|
28638
|
+
const _hoisted_2$m = { class: "p-3" };
|
|
28618
28639
|
const _hoisted_3$c = { key: 1 };
|
|
28619
28640
|
const _hoisted_4$9 = { class: "app-table-row-filters" };
|
|
28620
28641
|
const _hoisted_5$5 = { class: "app-table-row-filters-number bg-primary flex-shrink-0" };
|
|
@@ -28628,7 +28649,7 @@ const _hoisted_9$3 = {
|
|
|
28628
28649
|
key: 2,
|
|
28629
28650
|
class: "ml-5 mr-5 display-inline-block"
|
|
28630
28651
|
};
|
|
28631
|
-
const _sfc_main$
|
|
28652
|
+
const _sfc_main$K = {
|
|
28632
28653
|
__name: "AppTableSelectedFilters",
|
|
28633
28654
|
props: {
|
|
28634
28655
|
selectedFilters: {
|
|
@@ -28654,14 +28675,14 @@ const _sfc_main$I = {
|
|
|
28654
28675
|
return props2.selectedFilters.slice(0, 5);
|
|
28655
28676
|
});
|
|
28656
28677
|
return (_ctx, _cache2) => {
|
|
28657
|
-
return filterLength.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
28678
|
+
return filterLength.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$v, [
|
|
28658
28679
|
createVNode(unref(TippyComponent), {
|
|
28659
28680
|
trigger: "click",
|
|
28660
28681
|
"animate-fill": true,
|
|
28661
28682
|
placement: "bottom"
|
|
28662
28683
|
}, {
|
|
28663
28684
|
content: withCtx(() => [
|
|
28664
|
-
createElementVNode("div", _hoisted_2$
|
|
28685
|
+
createElementVNode("div", _hoisted_2$m, [
|
|
28665
28686
|
_cache2[0] || (_cache2[0] = createElementVNode("div", { class: "text-size-16 font-weight-500 mb-2" }, "Filtre curente", -1)),
|
|
28666
28687
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.selectedFilters, (currentFilter) => {
|
|
28667
28688
|
return openBlock(), createElementBlock("div", {
|
|
@@ -28700,12 +28721,12 @@ const _sfc_main$I = {
|
|
|
28700
28721
|
};
|
|
28701
28722
|
}
|
|
28702
28723
|
};
|
|
28703
|
-
const AppTableFilterDetailedRow = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28704
|
-
const _hoisted_1$
|
|
28705
|
-
const _hoisted_2$
|
|
28724
|
+
const AppTableFilterDetailedRow = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-6654229d"]]);
|
|
28725
|
+
const _hoisted_1$u = { class: "app-table-filter-body d-flex" };
|
|
28726
|
+
const _hoisted_2$l = { class: "flex-grow-1" };
|
|
28706
28727
|
const _hoisted_3$b = { class: "mr-5 pl-10 flex-center-vertical" };
|
|
28707
28728
|
const _hoisted_4$8 = { class: "display-flex" };
|
|
28708
|
-
const _sfc_main$
|
|
28729
|
+
const _sfc_main$J = {
|
|
28709
28730
|
__name: "AppTableFilter",
|
|
28710
28731
|
props: {
|
|
28711
28732
|
selectedFilters: {
|
|
@@ -28738,15 +28759,15 @@ const _sfc_main$H = {
|
|
|
28738
28759
|
emits("mounted", context);
|
|
28739
28760
|
};
|
|
28740
28761
|
return (_ctx, _cache2) => {
|
|
28741
|
-
return _ctx.$slots.filter ? (openBlock(), createBlock(_sfc_main$
|
|
28762
|
+
return _ctx.$slots.filter ? (openBlock(), createBlock(_sfc_main$1A, {
|
|
28742
28763
|
key: 0,
|
|
28743
28764
|
"is-loading": __props.isLoading
|
|
28744
28765
|
}, {
|
|
28745
28766
|
body: withCtx(() => [
|
|
28746
|
-
createElementVNode("div", _hoisted_1$
|
|
28747
|
-
createElementVNode("div", _hoisted_2$
|
|
28767
|
+
createElementVNode("div", _hoisted_1$u, [
|
|
28768
|
+
createElementVNode("div", _hoisted_2$l, [
|
|
28748
28769
|
renderSlot(_ctx.$slots, "filter", {}, () => [
|
|
28749
|
-
createVNode(_sfc_main$
|
|
28770
|
+
createVNode(_sfc_main$1g, {
|
|
28750
28771
|
modelValue: search.value,
|
|
28751
28772
|
"onUpdate:modelValue": _cache2[0] || (_cache2[0] = ($event) => search.value = $event),
|
|
28752
28773
|
"input-only": true,
|
|
@@ -28776,7 +28797,7 @@ const _sfc_main$H = {
|
|
|
28776
28797
|
key: "0"
|
|
28777
28798
|
} : void 0
|
|
28778
28799
|
]), 1024),
|
|
28779
|
-
createVNode(_sfc_main$
|
|
28800
|
+
createVNode(_sfc_main$1G, {
|
|
28780
28801
|
class: "btn-primary btn-md ml-5 font-weight-500",
|
|
28781
28802
|
onClick: onSearchFilterSet
|
|
28782
28803
|
}, {
|
|
@@ -28797,8 +28818,8 @@ const _sfc_main$H = {
|
|
|
28797
28818
|
};
|
|
28798
28819
|
}
|
|
28799
28820
|
};
|
|
28800
|
-
const _hoisted_1$
|
|
28801
|
-
const _hoisted_2$
|
|
28821
|
+
const _hoisted_1$t = { class: "table-responsive" };
|
|
28822
|
+
const _hoisted_2$k = { class: "table table-striped app-table-rows" };
|
|
28802
28823
|
const _hoisted_3$a = {
|
|
28803
28824
|
key: 0,
|
|
28804
28825
|
class: "td-selection"
|
|
@@ -28815,7 +28836,7 @@ const _hoisted_6$3 = {
|
|
|
28815
28836
|
const _hoisted_7$2 = { key: 1 };
|
|
28816
28837
|
const _hoisted_8$2 = { key: 0 };
|
|
28817
28838
|
const _hoisted_9$2 = ["colspan"];
|
|
28818
|
-
const _sfc_main$
|
|
28839
|
+
const _sfc_main$I = {
|
|
28819
28840
|
__name: "AppTableRows",
|
|
28820
28841
|
props: {
|
|
28821
28842
|
rows: {
|
|
@@ -28853,8 +28874,8 @@ const _sfc_main$G = {
|
|
|
28853
28874
|
};
|
|
28854
28875
|
const allowRowSelect = (row) => typeof props2.hasSelection === "function" ? props2.hasSelection(row) : props2.hasSelection;
|
|
28855
28876
|
return (_ctx, _cache2) => {
|
|
28856
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
28857
|
-
createElementVNode("table", _hoisted_2$
|
|
28877
|
+
return openBlock(), createElementBlock("div", _hoisted_1$t, [
|
|
28878
|
+
createElementVNode("table", _hoisted_2$k, [
|
|
28858
28879
|
createElementVNode("thead", null, [
|
|
28859
28880
|
createElementVNode("tr", null, [
|
|
28860
28881
|
__props.hasSelection ? (openBlock(), createElementBlock("th", _hoisted_3$a)) : createCommentVNode("", true),
|
|
@@ -28881,7 +28902,7 @@ const _sfc_main$G = {
|
|
|
28881
28902
|
(openBlock(true), createElementBlock(Fragment, null, renderList(props2.rows, (row, rowIndex) => {
|
|
28882
28903
|
return openBlock(), createElementBlock("tr", null, [
|
|
28883
28904
|
__props.hasSelection ? (openBlock(), createElementBlock("td", _hoisted_5$4, [
|
|
28884
|
-
createVNode(_sfc_main$
|
|
28905
|
+
createVNode(_sfc_main$1z, {
|
|
28885
28906
|
modelValue: getVmodelCheckbox(row).value,
|
|
28886
28907
|
"onUpdate:modelValue": ($event) => getVmodelCheckbox(row).value = $event,
|
|
28887
28908
|
"input-only": true,
|
|
@@ -28931,8 +28952,8 @@ function defineLocal(modelValue, modelValueTransform = null) {
|
|
|
28931
28952
|
}, { immediate: true });
|
|
28932
28953
|
return localModelValue;
|
|
28933
28954
|
}
|
|
28934
|
-
const _hoisted_1$
|
|
28935
|
-
const _sfc_main$
|
|
28955
|
+
const _hoisted_1$s = { class: "flex-center-vertical gap-1" };
|
|
28956
|
+
const _sfc_main$H = {
|
|
28936
28957
|
__name: "AppTable",
|
|
28937
28958
|
props: /* @__PURE__ */ mergeModels({
|
|
28938
28959
|
columns: {
|
|
@@ -29073,8 +29094,8 @@ const _sfc_main$F = {
|
|
|
29073
29094
|
});
|
|
29074
29095
|
return (_ctx, _cache2) => {
|
|
29075
29096
|
return openBlock(), createElementBlock("div", null, [
|
|
29076
|
-
createElementVNode("div", _hoisted_1$
|
|
29077
|
-
__props.hasSelection ? (openBlock(), createBlock(_sfc_main$
|
|
29097
|
+
createElementVNode("div", _hoisted_1$s, [
|
|
29098
|
+
__props.hasSelection ? (openBlock(), createBlock(_sfc_main$1z, {
|
|
29078
29099
|
key: 0,
|
|
29079
29100
|
modelValue: getCheckbox.value,
|
|
29080
29101
|
"onUpdate:modelValue": _cache2[0] || (_cache2[0] = ($event) => getCheckbox.value = $event),
|
|
@@ -29083,7 +29104,7 @@ const _sfc_main$F = {
|
|
|
29083
29104
|
}, null, 8, ["modelValue", "disabled"])) : createCommentVNode("", true),
|
|
29084
29105
|
renderSlot(_ctx.$slots, "allSelection", { selectedRows: selectedRowsList.value })
|
|
29085
29106
|
]),
|
|
29086
|
-
createVNode(_sfc_main$
|
|
29107
|
+
createVNode(_sfc_main$I, {
|
|
29087
29108
|
columns: __props.columns,
|
|
29088
29109
|
"has-selection": __props.hasSelection,
|
|
29089
29110
|
rows: displayedRows.value,
|
|
@@ -29101,7 +29122,7 @@ const _sfc_main$F = {
|
|
|
29101
29122
|
]), 1032, ["columns", "has-selection", "rows", "selected-rows-dictionary"]),
|
|
29102
29123
|
_cache2[3] || (_cache2[3] = createElementVNode("br", null, null, -1)),
|
|
29103
29124
|
_cache2[4] || (_cache2[4] = createElementVNode("br", null, null, -1)),
|
|
29104
|
-
!props2.showFullData ? (openBlock(), createBlock(_sfc_main
|
|
29125
|
+
!props2.showFullData ? (openBlock(), createBlock(_sfc_main$$, {
|
|
29105
29126
|
key: 0,
|
|
29106
29127
|
modelValue: unref(localRows),
|
|
29107
29128
|
"onUpdate:modelValue": _cache2[1] || (_cache2[1] = ($event) => isRef(localRows) ? localRows.value = $event : null),
|
|
@@ -29171,24 +29192,6 @@ const urlToBooleanOption = (value) => {
|
|
|
29171
29192
|
}
|
|
29172
29193
|
return null;
|
|
29173
29194
|
};
|
|
29174
|
-
class Media {
|
|
29175
|
-
static get type() {
|
|
29176
|
-
return {
|
|
29177
|
-
mediable: "mediable",
|
|
29178
|
-
spatieMediable: "spatie"
|
|
29179
|
-
};
|
|
29180
|
-
}
|
|
29181
|
-
static getTag(media, type = mediaType) {
|
|
29182
|
-
let path = type === this.type.mediable ? "pivot.tag" : "custom_properties.tag";
|
|
29183
|
-
return lodashExports.get(media, path);
|
|
29184
|
-
}
|
|
29185
|
-
}
|
|
29186
|
-
let router = null;
|
|
29187
|
-
const getRouter = () => router;
|
|
29188
|
-
const getRoute = () => lodashExports.get(router, "currentRoute.value");
|
|
29189
|
-
const setRouter = (value) => router = value;
|
|
29190
|
-
let mediaType = Media.type.spatieMediable;
|
|
29191
|
-
const setMediaType = (value) => mediaType = value;
|
|
29192
29195
|
function useTableFilters(tableFilters, emits) {
|
|
29193
29196
|
const migrateFilterDefinition = (filterDefinition) => {
|
|
29194
29197
|
if ("computed" in filterDefinition) {
|
|
@@ -29471,10 +29474,10 @@ function useTable(config, emits) {
|
|
|
29471
29474
|
});
|
|
29472
29475
|
return externalContext;
|
|
29473
29476
|
}
|
|
29474
|
-
const _hoisted_1$
|
|
29475
|
-
const _hoisted_2$
|
|
29477
|
+
const _hoisted_1$r = { class: "position-relative" };
|
|
29478
|
+
const _hoisted_2$j = { class: "row" };
|
|
29476
29479
|
const _hoisted_3$9 = { class: "col-lg-12" };
|
|
29477
|
-
const _sfc_main$
|
|
29480
|
+
const _sfc_main$G = {
|
|
29478
29481
|
__name: "AppTableMagic",
|
|
29479
29482
|
props: {
|
|
29480
29483
|
tableFilters: {},
|
|
@@ -29572,9 +29575,9 @@ const _sfc_main$E = {
|
|
|
29572
29575
|
});
|
|
29573
29576
|
return (_ctx, _cache2) => {
|
|
29574
29577
|
const _component_app_button_group = resolveComponent("app-button-group");
|
|
29575
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
29576
|
-
unref(isLoading) ? (openBlock(), createBlock(_sfc_main$
|
|
29577
|
-
__props.showTableFilter ? (openBlock(), createBlock(_sfc_main$
|
|
29578
|
+
return openBlock(), createElementBlock("div", _hoisted_1$r, [
|
|
29579
|
+
unref(isLoading) ? (openBlock(), createBlock(_sfc_main$1k, { key: 0 })) : createCommentVNode("", true),
|
|
29580
|
+
__props.showTableFilter ? (openBlock(), createBlock(_sfc_main$J, {
|
|
29578
29581
|
key: 1,
|
|
29579
29582
|
selectedFilters: unref(displayFilters),
|
|
29580
29583
|
onOnFilterReset: unref(useTableContext).onFilterReset,
|
|
@@ -29583,7 +29586,7 @@ const _sfc_main$E = {
|
|
|
29583
29586
|
onMounted: onTableFilterMounted
|
|
29584
29587
|
}, createSlots({
|
|
29585
29588
|
beforeButton: withCtx(() => [
|
|
29586
|
-
unref(shouldShowFilterReset) ? (openBlock(), createBlock(_sfc_main$
|
|
29589
|
+
unref(shouldShowFilterReset) ? (openBlock(), createBlock(_sfc_main$1G, {
|
|
29587
29590
|
key: 0,
|
|
29588
29591
|
class: "btn-transparent mr-5",
|
|
29589
29592
|
icon: "icon-cross2",
|
|
@@ -29608,9 +29611,9 @@ const _sfc_main$E = {
|
|
|
29608
29611
|
} : void 0
|
|
29609
29612
|
]), 1032, ["selectedFilters", "onOnFilterReset", "onOnFilterSet", "onOnSearchFilterSet"])) : createCommentVNode("", true),
|
|
29610
29613
|
renderSlot(_ctx.$slots, "beforeTable"),
|
|
29611
|
-
createElementVNode("div", _hoisted_2$
|
|
29614
|
+
createElementVNode("div", _hoisted_2$j, [
|
|
29612
29615
|
createElementVNode("div", _hoisted_3$9, [
|
|
29613
|
-
createVNode(_sfc_main$
|
|
29616
|
+
createVNode(_sfc_main$H, {
|
|
29614
29617
|
ref_key: "appTable",
|
|
29615
29618
|
ref: appTable,
|
|
29616
29619
|
modelValue: unref(tableData),
|
|
@@ -29653,9 +29656,9 @@ const _sfc_main$E = {
|
|
|
29653
29656
|
};
|
|
29654
29657
|
}
|
|
29655
29658
|
};
|
|
29656
|
-
const _hoisted_1$
|
|
29657
|
-
const _hoisted_2$
|
|
29658
|
-
const _sfc_main$
|
|
29659
|
+
const _hoisted_1$q = { class: "display-flex flex-column align-items-start" };
|
|
29660
|
+
const _hoisted_2$i = ["onClick"];
|
|
29661
|
+
const _sfc_main$F = {
|
|
29659
29662
|
__name: "AppTabs",
|
|
29660
29663
|
props: /* @__PURE__ */ mergeModels({
|
|
29661
29664
|
list: {
|
|
@@ -29723,7 +29726,7 @@ const _sfc_main$D = {
|
|
|
29723
29726
|
const _component_app_icon = resolveComponent("app-icon");
|
|
29724
29727
|
return openBlock(), createBlock(AppFormElement, normalizeProps(guardReactiveProps(unref(formElementProps))), {
|
|
29725
29728
|
default: withCtx(() => [
|
|
29726
|
-
createElementVNode("div", _hoisted_1$
|
|
29729
|
+
createElementVNode("div", _hoisted_1$q, [
|
|
29727
29730
|
createElementVNode("div", {
|
|
29728
29731
|
class: normalizeClass(tabContainerClass.value),
|
|
29729
29732
|
"data-toggle": "buttons"
|
|
@@ -29741,7 +29744,7 @@ const _sfc_main$D = {
|
|
|
29741
29744
|
}, null, 8, ["value"])) : createCommentVNode("", true),
|
|
29742
29745
|
createTextVNode(" " + toDisplayString(getDisplayValue2(item)), 1)
|
|
29743
29746
|
])
|
|
29744
|
-
], 10, _hoisted_2$
|
|
29747
|
+
], 10, _hoisted_2$i);
|
|
29745
29748
|
}), 128))
|
|
29746
29749
|
], 2),
|
|
29747
29750
|
renderSlot(_ctx.$slots, "default")
|
|
@@ -29752,7 +29755,7 @@ const _sfc_main$D = {
|
|
|
29752
29755
|
};
|
|
29753
29756
|
}
|
|
29754
29757
|
};
|
|
29755
|
-
const _sfc_main$
|
|
29758
|
+
const _sfc_main$E = {
|
|
29756
29759
|
__name: "AppTabsBoolean",
|
|
29757
29760
|
props: /* @__PURE__ */ mergeModels({
|
|
29758
29761
|
...appFormElementProps,
|
|
@@ -29788,7 +29791,7 @@ const _sfc_main$C = {
|
|
|
29788
29791
|
};
|
|
29789
29792
|
}
|
|
29790
29793
|
};
|
|
29791
|
-
const _sfc_main$
|
|
29794
|
+
const _sfc_main$D = {
|
|
29792
29795
|
__name: "AppTag",
|
|
29793
29796
|
props: {
|
|
29794
29797
|
icon: {
|
|
@@ -29853,10 +29856,10 @@ const _sfc_main$B = {
|
|
|
29853
29856
|
};
|
|
29854
29857
|
}
|
|
29855
29858
|
};
|
|
29856
|
-
const AppTag = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
29857
|
-
const _hoisted_1$
|
|
29858
|
-
const _hoisted_2$
|
|
29859
|
-
const _sfc_main$
|
|
29859
|
+
const AppTag = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-c3f2c1ff"]]);
|
|
29860
|
+
const _hoisted_1$p = { class: "display-flex flex-column w-100" };
|
|
29861
|
+
const _hoisted_2$h = ["name", "rows", "disabled", "placeholder"];
|
|
29862
|
+
const _sfc_main$C = {
|
|
29860
29863
|
__name: "AppTextArea",
|
|
29861
29864
|
props: /* @__PURE__ */ mergeModels({
|
|
29862
29865
|
modelValue: {
|
|
@@ -29941,7 +29944,7 @@ const _sfc_main$A = {
|
|
|
29941
29944
|
return (_ctx, _cache2) => {
|
|
29942
29945
|
return openBlock(), createBlock(AppFormElement, normalizeProps(guardReactiveProps(appFormElementBind.value)), createSlots({
|
|
29943
29946
|
default: withCtx(() => [
|
|
29944
|
-
createElementVNode("div", _hoisted_1$
|
|
29947
|
+
createElementVNode("div", _hoisted_1$p, [
|
|
29945
29948
|
withDirectives(createElementVNode("textarea", {
|
|
29946
29949
|
ref_key: "inputTextArea",
|
|
29947
29950
|
ref: inputTextArea,
|
|
@@ -29954,7 +29957,7 @@ const _sfc_main$A = {
|
|
|
29954
29957
|
onFocus,
|
|
29955
29958
|
onBlur,
|
|
29956
29959
|
onInput: resizeTextarea
|
|
29957
|
-
}, null, 42, _hoisted_2$
|
|
29960
|
+
}, null, 42, _hoisted_2$h), [
|
|
29958
29961
|
[vModelText, modelValueCustom.value]
|
|
29959
29962
|
])
|
|
29960
29963
|
])
|
|
@@ -29973,8 +29976,8 @@ const _sfc_main$A = {
|
|
|
29973
29976
|
};
|
|
29974
29977
|
}
|
|
29975
29978
|
};
|
|
29976
|
-
const AppTextArea = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
29977
|
-
const _sfc_main$
|
|
29979
|
+
const AppTextArea = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-2017c64a"]]);
|
|
29980
|
+
const _sfc_main$B = {
|
|
29978
29981
|
__name: "AppToggleButton",
|
|
29979
29982
|
props: /* @__PURE__ */ mergeModels({
|
|
29980
29983
|
options: {
|
|
@@ -30004,18 +30007,18 @@ const _sfc_main$z = {
|
|
|
30004
30007
|
modelValue.value = props2.options[newIndex];
|
|
30005
30008
|
};
|
|
30006
30009
|
return (_ctx, _cache2) => {
|
|
30007
|
-
return openBlock(), createBlock(_sfc_main$
|
|
30010
|
+
return openBlock(), createBlock(_sfc_main$1G, {
|
|
30008
30011
|
value: modelValue.value,
|
|
30009
30012
|
onClick
|
|
30010
30013
|
}, null, 8, ["value"]);
|
|
30011
30014
|
};
|
|
30012
30015
|
}
|
|
30013
30016
|
};
|
|
30014
|
-
const _hoisted_1$
|
|
30015
|
-
const _hoisted_2$
|
|
30017
|
+
const _hoisted_1$o = { class: "flex-column" };
|
|
30018
|
+
const _hoisted_2$g = { class: "app-toolbar-top navbar navbar-dark navbar-static py-1" };
|
|
30016
30019
|
const _hoisted_3$8 = { class: "flex-center-vertical" };
|
|
30017
30020
|
const _hoisted_4$6 = { class: "app-toolbar-bottom page-header page-header-light shadow flex-center-vertical justify-content-between display-flex-column flex-lg-row" };
|
|
30018
|
-
const _sfc_main$
|
|
30021
|
+
const _sfc_main$A = {
|
|
30019
30022
|
__name: "AppToolbar",
|
|
30020
30023
|
emits: ["on-sidebar-toggle"],
|
|
30021
30024
|
setup(__props, { emit: __emit }) {
|
|
@@ -30024,10 +30027,10 @@ const _sfc_main$y = {
|
|
|
30024
30027
|
emit("on-sidebar-toggle");
|
|
30025
30028
|
};
|
|
30026
30029
|
return (_ctx, _cache2) => {
|
|
30027
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
30028
|
-
createElementVNode("div", _hoisted_2$
|
|
30030
|
+
return openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
30031
|
+
createElementVNode("div", _hoisted_2$g, [
|
|
30029
30032
|
createElementVNode("div", _hoisted_3$8, [
|
|
30030
|
-
createVNode(_sfc_main$
|
|
30033
|
+
createVNode(_sfc_main$1G, {
|
|
30031
30034
|
onClick: onSidebarToggle,
|
|
30032
30035
|
type: "button",
|
|
30033
30036
|
class: "btn-transparent px-2"
|
|
@@ -30055,9 +30058,9 @@ const _sfc_main$y = {
|
|
|
30055
30058
|
};
|
|
30056
30059
|
}
|
|
30057
30060
|
};
|
|
30058
|
-
const _hoisted_1$
|
|
30059
|
-
const _hoisted_2$
|
|
30060
|
-
const _sfc_main$
|
|
30061
|
+
const _hoisted_1$n = { class: "fancytree-title" };
|
|
30062
|
+
const _hoisted_2$f = { class: "ml-auto position-relative" };
|
|
30063
|
+
const _sfc_main$z = {
|
|
30061
30064
|
__name: "AppTreeItemValue",
|
|
30062
30065
|
props: {
|
|
30063
30066
|
value: {}
|
|
@@ -30087,23 +30090,23 @@ const _sfc_main$x = {
|
|
|
30087
30090
|
renderSlot(_ctx.$slots, "icon", normalizeProps(guardReactiveProps(__props.value)), () => [
|
|
30088
30091
|
_cache2[0] || (_cache2[0] = createElementVNode("div", { class: "fancytree-icon mt-0" }, null, -1))
|
|
30089
30092
|
]),
|
|
30090
|
-
createElementVNode("div", _hoisted_1$
|
|
30093
|
+
createElementVNode("div", _hoisted_1$n, [
|
|
30091
30094
|
renderSlot(_ctx.$slots, "content", normalizeProps(guardReactiveProps(__props.value)), () => [
|
|
30092
30095
|
createTextVNode(toDisplayString(__props.value.label), 1)
|
|
30093
30096
|
])
|
|
30094
30097
|
]),
|
|
30095
|
-
createElementVNode("div", _hoisted_2$
|
|
30098
|
+
createElementVNode("div", _hoisted_2$f, [
|
|
30096
30099
|
renderSlot(_ctx.$slots, "actions", normalizeProps(guardReactiveProps(__props.value)))
|
|
30097
30100
|
])
|
|
30098
30101
|
], 2);
|
|
30099
30102
|
};
|
|
30100
30103
|
}
|
|
30101
30104
|
};
|
|
30102
|
-
const _hoisted_1$
|
|
30105
|
+
const _hoisted_1$m = {
|
|
30103
30106
|
class: "fancytree-lastsib",
|
|
30104
30107
|
role: "treeitem"
|
|
30105
30108
|
};
|
|
30106
|
-
const _sfc_main$
|
|
30109
|
+
const _sfc_main$y = {
|
|
30107
30110
|
__name: "AppTreeItem",
|
|
30108
30111
|
props: {
|
|
30109
30112
|
list: {}
|
|
@@ -30111,8 +30114,8 @@ const _sfc_main$w = {
|
|
|
30111
30114
|
setup(__props) {
|
|
30112
30115
|
return (_ctx, _cache2) => {
|
|
30113
30116
|
const _component_app_tree_item = resolveComponent("app-tree-item", true);
|
|
30114
|
-
return openBlock(), createElementBlock("li", _hoisted_1$
|
|
30115
|
-
createVNode(_sfc_main$
|
|
30117
|
+
return openBlock(), createElementBlock("li", _hoisted_1$m, [
|
|
30118
|
+
createVNode(_sfc_main$z, { value: __props.list }, createSlots({ _: 2 }, [
|
|
30116
30119
|
renderList(_ctx.$slots, (_2, name) => {
|
|
30117
30120
|
return {
|
|
30118
30121
|
name,
|
|
@@ -30146,8 +30149,8 @@ const _sfc_main$w = {
|
|
|
30146
30149
|
};
|
|
30147
30150
|
}
|
|
30148
30151
|
};
|
|
30149
|
-
const _hoisted_1$
|
|
30150
|
-
const _sfc_main$
|
|
30152
|
+
const _hoisted_1$l = { class: "ui-fancytree fancytree-container fancytree-plain fancytree-ext-childcounter" };
|
|
30153
|
+
const _sfc_main$x = {
|
|
30151
30154
|
__name: "AppTree",
|
|
30152
30155
|
props: {
|
|
30153
30156
|
list: {},
|
|
@@ -30175,9 +30178,9 @@ const _sfc_main$v = {
|
|
|
30175
30178
|
clonedTree.value = setAttributes(computedTree);
|
|
30176
30179
|
}, { immediate: true });
|
|
30177
30180
|
return (_ctx, _cache2) => {
|
|
30178
|
-
return openBlock(), createElementBlock("ul", _hoisted_1$
|
|
30181
|
+
return openBlock(), createElementBlock("ul", _hoisted_1$l, [
|
|
30179
30182
|
(openBlock(true), createElementBlock(Fragment, null, renderList(clonedTree.value, (item) => {
|
|
30180
|
-
return openBlock(), createBlock(_sfc_main$
|
|
30183
|
+
return openBlock(), createBlock(_sfc_main$y, {
|
|
30181
30184
|
key: item.id,
|
|
30182
30185
|
list: item
|
|
30183
30186
|
}, createSlots({ _: 2 }, [
|
|
@@ -30195,8 +30198,8 @@ const _sfc_main$v = {
|
|
|
30195
30198
|
};
|
|
30196
30199
|
}
|
|
30197
30200
|
};
|
|
30198
|
-
const _hoisted_1$
|
|
30199
|
-
const _hoisted_2$
|
|
30201
|
+
const _hoisted_1$k = { class: "d-flex justify-content-end align-items-center px-2" };
|
|
30202
|
+
const _hoisted_2$e = {
|
|
30200
30203
|
key: 0,
|
|
30201
30204
|
class: "nav-item nav-item-dropdown-lg dropdown ms-lg-2"
|
|
30202
30205
|
};
|
|
@@ -30204,7 +30207,7 @@ const _hoisted_3$7 = {
|
|
|
30204
30207
|
class: "dropdown-menu dropdown-menu-end show cursor-pointer",
|
|
30205
30208
|
"data-bs-popper": "static"
|
|
30206
30209
|
};
|
|
30207
|
-
const _sfc_main$
|
|
30210
|
+
const _sfc_main$w = {
|
|
30208
30211
|
__name: "AppDropdown",
|
|
30209
30212
|
props: {
|
|
30210
30213
|
list: [Array]
|
|
@@ -30220,7 +30223,7 @@ const _sfc_main$u = {
|
|
|
30220
30223
|
return (_ctx, _cache2) => {
|
|
30221
30224
|
const _component_app_button = resolveComponent("app-button");
|
|
30222
30225
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
30223
|
-
createElementVNode("div", _hoisted_1$
|
|
30226
|
+
createElementVNode("div", _hoisted_1$k, [
|
|
30224
30227
|
createElementVNode("a", {
|
|
30225
30228
|
onClick: toggleDropdown,
|
|
30226
30229
|
class: "navbar-nav-link rounded-pill p-1 cursor-pointer mr-5",
|
|
@@ -30230,7 +30233,7 @@ const _sfc_main$u = {
|
|
|
30230
30233
|
]),
|
|
30231
30234
|
renderSlot(_ctx.$slots, "dropdown-header-icon")
|
|
30232
30235
|
]),
|
|
30233
|
-
isDropdownOpen.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
30236
|
+
isDropdownOpen.value ? (openBlock(), createElementBlock("div", _hoisted_2$e, [
|
|
30234
30237
|
withDirectives((openBlock(), createElementBlock("div", _hoisted_3$7, [
|
|
30235
30238
|
renderSlot(_ctx.$slots, "dropdown-content", {}, () => [
|
|
30236
30239
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.list, (option, index) => {
|
|
@@ -30250,14 +30253,14 @@ const _sfc_main$u = {
|
|
|
30250
30253
|
};
|
|
30251
30254
|
}
|
|
30252
30255
|
};
|
|
30253
|
-
const _sfc_main$
|
|
30254
|
-
const _hoisted_1$
|
|
30255
|
-
const _hoisted_2$
|
|
30256
|
+
const _sfc_main$v = {};
|
|
30257
|
+
const _hoisted_1$j = { class: "navbar navbar-sm navbar-footer border-top" };
|
|
30258
|
+
const _hoisted_2$d = { class: "container-fluid" };
|
|
30256
30259
|
const _hoisted_3$6 = { class: "nav" };
|
|
30257
30260
|
const _hoisted_4$5 = { class: "nav-item" };
|
|
30258
30261
|
function _sfc_render(_ctx, _cache2) {
|
|
30259
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
30260
|
-
createElementVNode("div", _hoisted_2$
|
|
30262
|
+
return openBlock(), createElementBlock("div", _hoisted_1$j, [
|
|
30263
|
+
createElementVNode("div", _hoisted_2$d, [
|
|
30261
30264
|
renderSlot(_ctx.$slots, "footer-left"),
|
|
30262
30265
|
createElementVNode("ul", _hoisted_3$6, [
|
|
30263
30266
|
createElementVNode("li", _hoisted_4$5, [
|
|
@@ -30267,9 +30270,9 @@ function _sfc_render(_ctx, _cache2) {
|
|
|
30267
30270
|
])
|
|
30268
30271
|
]);
|
|
30269
30272
|
}
|
|
30270
|
-
const AppFooter = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
30271
|
-
const _hoisted_1$
|
|
30272
|
-
const _sfc_main$
|
|
30273
|
+
const AppFooter = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["render", _sfc_render]]);
|
|
30274
|
+
const _hoisted_1$i = { class: "w-100 h-100 flex-center" };
|
|
30275
|
+
const _sfc_main$u = {
|
|
30273
30276
|
__name: "AppLoading",
|
|
30274
30277
|
props: {
|
|
30275
30278
|
size: {
|
|
@@ -30280,7 +30283,7 @@ const _sfc_main$s = {
|
|
|
30280
30283
|
const props2 = __props;
|
|
30281
30284
|
const style = computed(() => `font-size: ${props2.size}px;`);
|
|
30282
30285
|
return (_ctx, _cache2) => {
|
|
30283
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
30286
|
+
return openBlock(), createElementBlock("div", _hoisted_1$i, [
|
|
30284
30287
|
createElementVNode("i", {
|
|
30285
30288
|
class: "icon-spinner11 spinner",
|
|
30286
30289
|
style: normalizeStyle(style.value)
|
|
@@ -30289,9 +30292,9 @@ const _sfc_main$s = {
|
|
|
30289
30292
|
};
|
|
30290
30293
|
}
|
|
30291
30294
|
};
|
|
30292
|
-
const _hoisted_1$
|
|
30293
|
-
const _hoisted_2$
|
|
30294
|
-
const _sfc_main$
|
|
30295
|
+
const _hoisted_1$h = { class: "loading-modal-content" };
|
|
30296
|
+
const _hoisted_2$c = { class: "display-flex flex-column gap-2" };
|
|
30297
|
+
const _sfc_main$t = {
|
|
30295
30298
|
__name: "AppLoadingModal",
|
|
30296
30299
|
props: /* @__PURE__ */ mergeModels({
|
|
30297
30300
|
loadingText: {
|
|
@@ -30318,10 +30321,10 @@ const _sfc_main$r = {
|
|
|
30318
30321
|
class: "modal-dim"
|
|
30319
30322
|
}, {
|
|
30320
30323
|
default: withCtx(() => [
|
|
30321
|
-
createElementVNode("div", _hoisted_1$
|
|
30324
|
+
createElementVNode("div", _hoisted_1$h, [
|
|
30322
30325
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
30323
|
-
createElementVNode("div", _hoisted_2$
|
|
30324
|
-
createVNode(_sfc_main$
|
|
30326
|
+
createElementVNode("div", _hoisted_2$c, [
|
|
30327
|
+
createVNode(_sfc_main$u),
|
|
30325
30328
|
createElementVNode("div", null, toDisplayString(__props.loadingText), 1)
|
|
30326
30329
|
])
|
|
30327
30330
|
], true)
|
|
@@ -30332,7 +30335,7 @@ const _sfc_main$r = {
|
|
|
30332
30335
|
};
|
|
30333
30336
|
}
|
|
30334
30337
|
};
|
|
30335
|
-
const AppLoadingModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
30338
|
+
const AppLoadingModal = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-eff13cc8"]]);
|
|
30336
30339
|
const millisecondsInWeek = 6048e5;
|
|
30337
30340
|
const millisecondsInDay = 864e5;
|
|
30338
30341
|
const millisecondsInMinute = 6e4;
|
|
@@ -38994,8 +38997,8 @@ const io = ({
|
|
|
38994
38997
|
Object.entries(To).forEach(([e2, t2]) => {
|
|
38995
38998
|
e2 !== "default" && (Qn[e2] = t2);
|
|
38996
38999
|
});
|
|
38997
|
-
const _hoisted_1$
|
|
38998
|
-
const _hoisted_2$
|
|
39000
|
+
const _hoisted_1$g = { class: "flex-1" };
|
|
39001
|
+
const _hoisted_2$b = { class: "display-flex mb-20 align-items-center" };
|
|
38999
39002
|
const _hoisted_3$5 = {
|
|
39000
39003
|
key: 0,
|
|
39001
39004
|
class: "nav nav-sidebar"
|
|
@@ -39010,7 +39013,7 @@ const _hoisted_7$1 = {
|
|
|
39010
39013
|
const _hoisted_8$1 = { class: "table no-padding" };
|
|
39011
39014
|
const _hoisted_9$1 = ["onClick"];
|
|
39012
39015
|
const _hoisted_10 = { class: "display-flex justify-content-between flex-1 px-2" };
|
|
39013
|
-
const _sfc_main$
|
|
39016
|
+
const _sfc_main$s = {
|
|
39014
39017
|
__name: "AppDualListSection",
|
|
39015
39018
|
props: {
|
|
39016
39019
|
isLoading: {
|
|
@@ -39088,9 +39091,9 @@ const _sfc_main$q = {
|
|
|
39088
39091
|
const _component_app_input = resolveComponent("app-input");
|
|
39089
39092
|
const _component_app_placeholder_heading = resolveComponent("app-placeholder-heading");
|
|
39090
39093
|
const _directive_tippy = resolveDirective("tippy");
|
|
39091
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
39094
|
+
return openBlock(), createElementBlock("div", _hoisted_1$g, [
|
|
39092
39095
|
createElementVNode("h6", null, toDisplayString(__props.title), 1),
|
|
39093
|
-
createElementVNode("div", _hoisted_2$
|
|
39096
|
+
createElementVNode("div", _hoisted_2$b, [
|
|
39094
39097
|
withDirectives(createVNode(_component_app_checkbox, {
|
|
39095
39098
|
modelValue: isSelected.value,
|
|
39096
39099
|
"onUpdate:modelValue": _cache2[0] || (_cache2[0] = ($event) => isSelected.value = $event),
|
|
@@ -39156,11 +39159,11 @@ const _sfc_main$q = {
|
|
|
39156
39159
|
};
|
|
39157
39160
|
}
|
|
39158
39161
|
};
|
|
39159
|
-
const _hoisted_1$
|
|
39160
|
-
const _hoisted_2$
|
|
39162
|
+
const _hoisted_1$f = { class: "display-flex" };
|
|
39163
|
+
const _hoisted_2$a = { class: "pt-20" };
|
|
39161
39164
|
const _hoisted_3$4 = { class: "flex-center flex-column p-20 gap-2" };
|
|
39162
39165
|
const _hoisted_4$3 = { class: "pt-20" };
|
|
39163
|
-
const _sfc_main$
|
|
39166
|
+
const _sfc_main$r = {
|
|
39164
39167
|
__name: "AppDualList",
|
|
39165
39168
|
props: {
|
|
39166
39169
|
titleRight: {
|
|
@@ -39236,8 +39239,8 @@ const _sfc_main$p = {
|
|
|
39236
39239
|
rightSection.value.noItemSelected();
|
|
39237
39240
|
};
|
|
39238
39241
|
return (_ctx, _cache2) => {
|
|
39239
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
39240
|
-
createVNode(_sfc_main$
|
|
39242
|
+
return openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
39243
|
+
createVNode(_sfc_main$s, {
|
|
39241
39244
|
ref_key: "leftSection",
|
|
39242
39245
|
ref: leftSection,
|
|
39243
39246
|
list: __props.listLeft,
|
|
@@ -39255,27 +39258,27 @@ const _sfc_main$p = {
|
|
|
39255
39258
|
})
|
|
39256
39259
|
]),
|
|
39257
39260
|
tableBottom: withCtx(() => [
|
|
39258
|
-
createElementVNode("div", _hoisted_2$
|
|
39261
|
+
createElementVNode("div", _hoisted_2$a, [
|
|
39259
39262
|
renderSlot(_ctx.$slots, "leftTableBottom")
|
|
39260
39263
|
])
|
|
39261
39264
|
]),
|
|
39262
39265
|
_: 3
|
|
39263
39266
|
}, 8, ["list", "is-checked", "is-loading", "location", "title"]),
|
|
39264
39267
|
createElementVNode("div", _hoisted_3$4, [
|
|
39265
|
-
createVNode(_sfc_main$
|
|
39268
|
+
createVNode(_sfc_main$1G, {
|
|
39266
39269
|
disabled: rightArrowDisabled.value,
|
|
39267
39270
|
class: "btn-primary",
|
|
39268
39271
|
icon: "icon-arrow-right7",
|
|
39269
39272
|
onClick: moveRight
|
|
39270
39273
|
}, null, 8, ["disabled"]),
|
|
39271
|
-
createVNode(_sfc_main$
|
|
39274
|
+
createVNode(_sfc_main$1G, {
|
|
39272
39275
|
disabled: leftArrowDisabled.value,
|
|
39273
39276
|
class: "btn-primary",
|
|
39274
39277
|
icon: "icon-arrow-left7",
|
|
39275
39278
|
onClick: moveLeft
|
|
39276
39279
|
}, null, 8, ["disabled"])
|
|
39277
39280
|
]),
|
|
39278
|
-
createVNode(_sfc_main$
|
|
39281
|
+
createVNode(_sfc_main$s, {
|
|
39279
39282
|
ref_key: "rightSection",
|
|
39280
39283
|
ref: rightSection,
|
|
39281
39284
|
list: __props.listRight,
|
|
@@ -39305,7 +39308,7 @@ const _sfc_main$p = {
|
|
|
39305
39308
|
};
|
|
39306
39309
|
const OPERATION_ADD = "ADD";
|
|
39307
39310
|
const OPERATION_REMOVE = "REMOVE";
|
|
39308
|
-
const _sfc_main$
|
|
39311
|
+
const _sfc_main$q = {
|
|
39309
39312
|
__name: "AppDualListMagic",
|
|
39310
39313
|
props: /* @__PURE__ */ mergeModels({
|
|
39311
39314
|
fetchOnMount: {
|
|
@@ -39525,7 +39528,7 @@ const _sfc_main$o = {
|
|
|
39525
39528
|
__expose({ reset: reset2 });
|
|
39526
39529
|
return (_ctx, _cache2) => {
|
|
39527
39530
|
const _component_app_pagination = resolveComponent("app-pagination");
|
|
39528
|
-
return openBlock(), createBlock(_sfc_main$
|
|
39531
|
+
return openBlock(), createBlock(_sfc_main$r, {
|
|
39529
39532
|
"is-loading-left": isLoadingLeft.value,
|
|
39530
39533
|
"is-loading-right": isLoadingRight.value,
|
|
39531
39534
|
listLeft: listLeft.value,
|
|
@@ -39715,7 +39718,7 @@ const useSelectProps = {
|
|
|
39715
39718
|
isAddValueToOptions: {},
|
|
39716
39719
|
name: {}
|
|
39717
39720
|
};
|
|
39718
|
-
const _sfc_main$
|
|
39721
|
+
const _sfc_main$p = {
|
|
39719
39722
|
__name: "AppSelectBoolean",
|
|
39720
39723
|
props: /* @__PURE__ */ mergeModels({
|
|
39721
39724
|
...useSelectProps,
|
|
@@ -40799,7 +40802,7 @@ const IconConstants = {
|
|
|
40799
40802
|
"ph-youtube-logo"
|
|
40800
40803
|
]
|
|
40801
40804
|
};
|
|
40802
|
-
const _sfc_main$
|
|
40805
|
+
const _sfc_main$o = {
|
|
40803
40806
|
__name: "AppSelectIcon",
|
|
40804
40807
|
props: /* @__PURE__ */ mergeModels({
|
|
40805
40808
|
...useSelectProps,
|
|
@@ -40824,7 +40827,7 @@ const _sfc_main$m = {
|
|
|
40824
40827
|
};
|
|
40825
40828
|
return (_ctx, _cache2) => {
|
|
40826
40829
|
const _component_app_icon = resolveComponent("app-icon");
|
|
40827
|
-
return openBlock(), createBlock(_sfc_main$
|
|
40830
|
+
return openBlock(), createBlock(_sfc_main$R, mergeProps({
|
|
40828
40831
|
list: filteredOptions.value,
|
|
40829
40832
|
modelValue: modelValue.value,
|
|
40830
40833
|
"onUpdate:modelValue": _cache2[0] || (_cache2[0] = ($event) => modelValue.value = $event),
|
|
@@ -40849,24 +40852,24 @@ const _sfc_main$m = {
|
|
|
40849
40852
|
};
|
|
40850
40853
|
}
|
|
40851
40854
|
};
|
|
40852
|
-
const _hoisted_1$
|
|
40853
|
-
const _hoisted_2$
|
|
40854
|
-
const _sfc_main$
|
|
40855
|
+
const _hoisted_1$e = { class: "carousel-element panel-basic mb-15" };
|
|
40856
|
+
const _hoisted_2$9 = { class: "text-muted" };
|
|
40857
|
+
const _sfc_main$n = {
|
|
40855
40858
|
__name: "AppCarouselItem",
|
|
40856
40859
|
props: ["modelValue"],
|
|
40857
40860
|
setup(__props) {
|
|
40858
40861
|
return (_ctx, _cache2) => {
|
|
40859
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
40860
|
-
createElementVNode("div", _hoisted_2$
|
|
40862
|
+
return openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
40863
|
+
createElementVNode("div", _hoisted_2$9, toDisplayString(__props.modelValue), 1)
|
|
40861
40864
|
]);
|
|
40862
40865
|
};
|
|
40863
40866
|
}
|
|
40864
40867
|
};
|
|
40865
|
-
const _hoisted_1$
|
|
40868
|
+
const _hoisted_1$d = {
|
|
40866
40869
|
ref: "appCarousel",
|
|
40867
40870
|
class: "carousel-component position-relative shadow-sm"
|
|
40868
40871
|
};
|
|
40869
|
-
const _hoisted_2$
|
|
40872
|
+
const _hoisted_2$8 = { class: "display-flex justify-content-between" };
|
|
40870
40873
|
const _hoisted_3$3 = {
|
|
40871
40874
|
key: 0,
|
|
40872
40875
|
class: "mt-5 mb-0 pl-15 pt-10"
|
|
@@ -40883,7 +40886,7 @@ const _hoisted_8 = {
|
|
|
40883
40886
|
class: "navigate navigate-next"
|
|
40884
40887
|
};
|
|
40885
40888
|
const _hoisted_9 = ["disabled"];
|
|
40886
|
-
const _sfc_main$
|
|
40889
|
+
const _sfc_main$m = {
|
|
40887
40890
|
__name: "AppCarousel",
|
|
40888
40891
|
props: {
|
|
40889
40892
|
title: {},
|
|
@@ -40968,9 +40971,9 @@ const _sfc_main$k = {
|
|
|
40968
40971
|
return (_ctx, _cache2) => {
|
|
40969
40972
|
const _component_app_loading_overlay = resolveComponent("app-loading-overlay");
|
|
40970
40973
|
const _directive_horizontal_scroll = resolveDirective("horizontal-scroll");
|
|
40971
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
40974
|
+
return openBlock(), createElementBlock("div", _hoisted_1$d, [
|
|
40972
40975
|
__props.isLoading ? (openBlock(), createBlock(_component_app_loading_overlay, { key: 0 })) : createCommentVNode("", true),
|
|
40973
|
-
createElementVNode("div", _hoisted_2$
|
|
40976
|
+
createElementVNode("div", _hoisted_2$8, [
|
|
40974
40977
|
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
40975
40978
|
__props.title ? (openBlock(), createElementBlock("h6", _hoisted_3$3, toDisplayString(__props.title), 1)) : createCommentVNode("", true)
|
|
40976
40979
|
])
|
|
@@ -40997,7 +41000,7 @@ const _sfc_main$k = {
|
|
|
40997
41000
|
index,
|
|
40998
41001
|
item
|
|
40999
41002
|
}, () => [
|
|
41000
|
-
createVNode(_sfc_main$
|
|
41003
|
+
createVNode(_sfc_main$n, { "model-value": item }, null, 8, ["model-value"])
|
|
41001
41004
|
]);
|
|
41002
41005
|
}), 256))
|
|
41003
41006
|
])
|
|
@@ -41020,7 +41023,7 @@ const _sfc_main$k = {
|
|
|
41020
41023
|
};
|
|
41021
41024
|
}
|
|
41022
41025
|
};
|
|
41023
|
-
const _sfc_main$
|
|
41026
|
+
const _sfc_main$l = {
|
|
41024
41027
|
__name: "AppPreviewDrawer",
|
|
41025
41028
|
emits: [
|
|
41026
41029
|
"mounted"
|
|
@@ -71339,9 +71342,9 @@ function usePdf({
|
|
|
71339
71342
|
printPreview
|
|
71340
71343
|
};
|
|
71341
71344
|
}
|
|
71342
|
-
const _hoisted_1$
|
|
71343
|
-
const _hoisted_2$
|
|
71344
|
-
const _sfc_main$
|
|
71345
|
+
const _hoisted_1$c = { class: "app-preview app-preview-pdf position-relative" };
|
|
71346
|
+
const _hoisted_2$7 = { class: "app-preview-actions" };
|
|
71347
|
+
const _sfc_main$k = {
|
|
71345
71348
|
__name: "AppPreviewPdf",
|
|
71346
71349
|
props: {
|
|
71347
71350
|
source: {
|
|
@@ -71469,18 +71472,18 @@ const _sfc_main$i = {
|
|
|
71469
71472
|
}
|
|
71470
71473
|
};
|
|
71471
71474
|
return (_ctx, _cache2) => {
|
|
71472
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
71473
|
-
createElementVNode("div", _hoisted_2$
|
|
71474
|
-
createVNode(_sfc_main$
|
|
71475
|
+
return openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
71476
|
+
createElementVNode("div", _hoisted_2$7, [
|
|
71477
|
+
createVNode(_sfc_main$1F, {
|
|
71475
71478
|
value: pageButtons.value,
|
|
71476
71479
|
class: "mr-10",
|
|
71477
71480
|
onClick
|
|
71478
71481
|
}, null, 8, ["value"]),
|
|
71479
|
-
createVNode(_sfc_main$
|
|
71482
|
+
createVNode(_sfc_main$1F, {
|
|
71480
71483
|
value: zoomButtons.value,
|
|
71481
71484
|
onClick
|
|
71482
71485
|
}, null, 8, ["value"]),
|
|
71483
|
-
createVNode(_sfc_main$
|
|
71486
|
+
createVNode(_sfc_main$1F, {
|
|
71484
71487
|
class: "ml-30",
|
|
71485
71488
|
value: printButtons.value,
|
|
71486
71489
|
onClick
|
|
@@ -77725,9 +77728,9 @@ async function renderAsync(data, bodyContainer, styleContainer, userOptions) {
|
|
|
77725
77728
|
await renderDocument(doc, bodyContainer, styleContainer, userOptions);
|
|
77726
77729
|
return doc;
|
|
77727
77730
|
}
|
|
77728
|
-
const _hoisted_1$
|
|
77729
|
-
const _hoisted_2$
|
|
77730
|
-
const _sfc_main$
|
|
77731
|
+
const _hoisted_1$b = { class: "app-preview app-preview-pdf" };
|
|
77732
|
+
const _hoisted_2$6 = { class: "app-preview-content" };
|
|
77733
|
+
const _sfc_main$j = {
|
|
77731
77734
|
__name: "AppPreviewDocx",
|
|
77732
77735
|
props: {
|
|
77733
77736
|
source: {
|
|
@@ -77760,8 +77763,8 @@ const _sfc_main$h = {
|
|
|
77760
77763
|
emits("isLoading", false);
|
|
77761
77764
|
}
|
|
77762
77765
|
return (_ctx, _cache2) => {
|
|
77763
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
77764
|
-
createElementVNode("div", _hoisted_2$
|
|
77766
|
+
return openBlock(), createElementBlock("div", _hoisted_1$b, [
|
|
77767
|
+
createElementVNode("div", _hoisted_2$6, [
|
|
77765
77768
|
createElementVNode("div", {
|
|
77766
77769
|
ref_key: "target",
|
|
77767
77770
|
ref: target,
|
|
@@ -80602,9 +80605,9 @@ var Viewer = /* @__PURE__ */ function() {
|
|
|
80602
80605
|
}]);
|
|
80603
80606
|
}();
|
|
80604
80607
|
assign(Viewer.prototype, render, events, handlers, methods, others);
|
|
80605
|
-
const _hoisted_1$
|
|
80606
|
-
const _hoisted_2$
|
|
80607
|
-
const _sfc_main$
|
|
80608
|
+
const _hoisted_1$a = { class: "app-preview-actions" };
|
|
80609
|
+
const _hoisted_2$5 = { class: "app-preview-content" };
|
|
80610
|
+
const _sfc_main$i = {
|
|
80608
80611
|
__name: "AppPreviewImage",
|
|
80609
80612
|
props: {
|
|
80610
80613
|
source: {
|
|
@@ -80776,13 +80779,13 @@ const _sfc_main$g = {
|
|
|
80776
80779
|
return openBlock(), createElementBlock("div", {
|
|
80777
80780
|
class: normalizeClass(["app-preview app-preview-image", previewClass.value])
|
|
80778
80781
|
}, [
|
|
80779
|
-
createElementVNode("div", _hoisted_1$
|
|
80782
|
+
createElementVNode("div", _hoisted_1$a, [
|
|
80780
80783
|
createVNode(_component_app_button_group, {
|
|
80781
80784
|
value: buttons.value,
|
|
80782
80785
|
onClick
|
|
80783
80786
|
}, null, 8, ["value"])
|
|
80784
80787
|
]),
|
|
80785
|
-
createElementVNode("div", _hoisted_2$
|
|
80788
|
+
createElementVNode("div", _hoisted_2$5, [
|
|
80786
80789
|
withDirectives(createElementVNode("img", {
|
|
80787
80790
|
ref_key: "img",
|
|
80788
80791
|
ref: img
|
|
@@ -80794,8 +80797,8 @@ const _sfc_main$g = {
|
|
|
80794
80797
|
};
|
|
80795
80798
|
}
|
|
80796
80799
|
};
|
|
80797
|
-
const _hoisted_1$
|
|
80798
|
-
const _sfc_main$
|
|
80800
|
+
const _hoisted_1$9 = { class: "position-relative" };
|
|
80801
|
+
const _sfc_main$h = {
|
|
80799
80802
|
__name: "AppFilePreview",
|
|
80800
80803
|
props: {
|
|
80801
80804
|
source: {
|
|
@@ -80862,13 +80865,13 @@ const _sfc_main$f = {
|
|
|
80862
80865
|
});
|
|
80863
80866
|
return (_ctx, _cache2) => {
|
|
80864
80867
|
const _component_app_loading_overlay = resolveComponent("app-loading-overlay");
|
|
80865
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
80868
|
+
return openBlock(), createElementBlock("div", _hoisted_1$9, [
|
|
80866
80869
|
isLoading.value ? (openBlock(), createBlock(_component_app_loading_overlay, { key: 0 })) : createCommentVNode("", true),
|
|
80867
|
-
createVNode(_sfc_main$
|
|
80870
|
+
createVNode(_sfc_main$l, {
|
|
80868
80871
|
onMounted: _cache2[0] || (_cache2[0] = ($event) => emits("mounted", $event))
|
|
80869
80872
|
}, {
|
|
80870
80873
|
content: withCtx(({ showDrawer, hideDrawer }) => [
|
|
80871
|
-
isPdf.value ? (openBlock(), createBlock(_sfc_main$
|
|
80874
|
+
isPdf.value ? (openBlock(), createBlock(_sfc_main$k, {
|
|
80872
80875
|
key: 0,
|
|
80873
80876
|
source: __props.source,
|
|
80874
80877
|
"render-text": __props.renderText,
|
|
@@ -80894,11 +80897,11 @@ const _sfc_main$f = {
|
|
|
80894
80897
|
]),
|
|
80895
80898
|
_: 3
|
|
80896
80899
|
}),
|
|
80897
|
-
isDocx.value ? (openBlock(), createBlock(_sfc_main$
|
|
80900
|
+
isDocx.value ? (openBlock(), createBlock(_sfc_main$j, {
|
|
80898
80901
|
key: 1,
|
|
80899
80902
|
source: __props.source
|
|
80900
80903
|
}, null, 8, ["source"])) : createCommentVNode("", true),
|
|
80901
|
-
isImage.value ? (openBlock(), createBlock(_sfc_main$
|
|
80904
|
+
isImage.value ? (openBlock(), createBlock(_sfc_main$i, {
|
|
80902
80905
|
key: 2,
|
|
80903
80906
|
source: __props.source,
|
|
80904
80907
|
onIsLoading: setIsLoading
|
|
@@ -80907,8 +80910,8 @@ const _sfc_main$f = {
|
|
|
80907
80910
|
};
|
|
80908
80911
|
}
|
|
80909
80912
|
};
|
|
80910
|
-
const _hoisted_1$
|
|
80911
|
-
const _sfc_main$
|
|
80913
|
+
const _hoisted_1$8 = ["srcdoc"];
|
|
80914
|
+
const _sfc_main$g = {
|
|
80912
80915
|
__name: "AppIframe",
|
|
80913
80916
|
props: /* @__PURE__ */ mergeModels({
|
|
80914
80917
|
useIframe: {
|
|
@@ -80950,7 +80953,7 @@ const _sfc_main$e = {
|
|
|
80950
80953
|
srcdoc: html2.value,
|
|
80951
80954
|
style: normalizeStyle(iframeStyle.value),
|
|
80952
80955
|
onLoad: resizeIframe
|
|
80953
|
-
}, null, 44, _hoisted_1$
|
|
80956
|
+
}, null, 44, _hoisted_1$8)) : (openBlock(), createBlock(_sfc_main$1L, {
|
|
80954
80957
|
key: 1,
|
|
80955
80958
|
modelValue: html2.value,
|
|
80956
80959
|
"onUpdate:modelValue": _cache2[0] || (_cache2[0] = ($event) => html2.value = $event),
|
|
@@ -80959,12 +80962,12 @@ const _sfc_main$e = {
|
|
|
80959
80962
|
};
|
|
80960
80963
|
}
|
|
80961
80964
|
};
|
|
80962
|
-
const _hoisted_1$
|
|
80963
|
-
const _hoisted_2$
|
|
80965
|
+
const _hoisted_1$7 = { class: "wizard-form steps-enable-all wizard clearfix" };
|
|
80966
|
+
const _hoisted_2$4 = { class: "steps clearfix" };
|
|
80964
80967
|
const _hoisted_3$2 = ["onClick"];
|
|
80965
80968
|
const _hoisted_4$1 = { class: "number" };
|
|
80966
80969
|
const _hoisted_5$1 = { class: "content clearfix" };
|
|
80967
|
-
const _sfc_main$
|
|
80970
|
+
const _sfc_main$f = {
|
|
80968
80971
|
__name: "AppFormWizard",
|
|
80969
80972
|
props: {
|
|
80970
80973
|
activeTab: {
|
|
@@ -81065,8 +81068,8 @@ const _sfc_main$d = {
|
|
|
81065
81068
|
};
|
|
81066
81069
|
return (_ctx, _cache2) => {
|
|
81067
81070
|
const _directive_horizontal_scroll = resolveDirective("horizontal-scroll");
|
|
81068
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
81069
|
-
createElementVNode("div", _hoisted_2$
|
|
81071
|
+
return openBlock(), createElementBlock("div", _hoisted_1$7, [
|
|
81072
|
+
createElementVNode("div", _hoisted_2$4, [
|
|
81070
81073
|
withDirectives((openBlock(), createElementBlock("ul", {
|
|
81071
81074
|
class: normalizeClass(stepsContainerClass.value)
|
|
81072
81075
|
}, [
|
|
@@ -81097,7 +81100,7 @@ const _sfc_main$d = {
|
|
|
81097
81100
|
};
|
|
81098
81101
|
}
|
|
81099
81102
|
};
|
|
81100
|
-
const _sfc_main$
|
|
81103
|
+
const _sfc_main$e = {
|
|
81101
81104
|
__name: "AppRadioButton",
|
|
81102
81105
|
props: ["modelValue"],
|
|
81103
81106
|
emits: ["update:modelValue"],
|
|
@@ -81125,7 +81128,7 @@ const _sfc_main$c = {
|
|
|
81125
81128
|
};
|
|
81126
81129
|
}
|
|
81127
81130
|
};
|
|
81128
|
-
const AppRadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
81131
|
+
const AppRadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-2757e2d2"]]);
|
|
81129
81132
|
const targetDictionary = ref({});
|
|
81130
81133
|
function useTeleport() {
|
|
81131
81134
|
const isTargetMounted = (id) => {
|
|
@@ -81133,7 +81136,7 @@ function useTeleport() {
|
|
|
81133
81136
|
};
|
|
81134
81137
|
return { targetDictionary, isTargetMounted };
|
|
81135
81138
|
}
|
|
81136
|
-
const _sfc_main$
|
|
81139
|
+
const _sfc_main$d = {
|
|
81137
81140
|
__name: "AppTeleport",
|
|
81138
81141
|
props: {
|
|
81139
81142
|
id: {}
|
|
@@ -81153,8 +81156,8 @@ const _sfc_main$b = {
|
|
|
81153
81156
|
};
|
|
81154
81157
|
}
|
|
81155
81158
|
};
|
|
81156
|
-
const _hoisted_1$
|
|
81157
|
-
const _sfc_main$
|
|
81159
|
+
const _hoisted_1$6 = ["id"];
|
|
81160
|
+
const _sfc_main$c = {
|
|
81158
81161
|
__name: "AppTeleportTarget",
|
|
81159
81162
|
props: {
|
|
81160
81163
|
id: {}
|
|
@@ -81169,11 +81172,11 @@ const _sfc_main$a = {
|
|
|
81169
81172
|
teleport.targetDictionary.value[props2.id] = false;
|
|
81170
81173
|
});
|
|
81171
81174
|
return (_ctx, _cache2) => {
|
|
81172
|
-
return openBlock(), createElementBlock("div", { id: __props.id }, null, 8, _hoisted_1$
|
|
81175
|
+
return openBlock(), createElementBlock("div", { id: __props.id }, null, 8, _hoisted_1$6);
|
|
81173
81176
|
};
|
|
81174
81177
|
}
|
|
81175
81178
|
};
|
|
81176
|
-
const _sfc_main$
|
|
81179
|
+
const _sfc_main$b = {
|
|
81177
81180
|
__name: "app-skeleton",
|
|
81178
81181
|
props: {
|
|
81179
81182
|
className: {
|
|
@@ -81203,7 +81206,7 @@ const _sfc_main$9 = {
|
|
|
81203
81206
|
};
|
|
81204
81207
|
}
|
|
81205
81208
|
};
|
|
81206
|
-
const _sfc_main$
|
|
81209
|
+
const _sfc_main$a = {
|
|
81207
81210
|
__name: "app-skeleton-group",
|
|
81208
81211
|
props: {
|
|
81209
81212
|
count: { type: Number, default: 4 },
|
|
@@ -81246,7 +81249,7 @@ const _sfc_main$8 = {
|
|
|
81246
81249
|
};
|
|
81247
81250
|
}
|
|
81248
81251
|
};
|
|
81249
|
-
const _sfc_main$
|
|
81252
|
+
const _sfc_main$9 = {
|
|
81250
81253
|
__name: "AppModalCard",
|
|
81251
81254
|
props: /* @__PURE__ */ mergeModels({
|
|
81252
81255
|
title: {},
|
|
@@ -81294,7 +81297,7 @@ const _sfc_main$7 = {
|
|
|
81294
81297
|
createTextVNode(toDisplayString(__props.title), 1)
|
|
81295
81298
|
]),
|
|
81296
81299
|
"heading-elements": withCtx(() => [
|
|
81297
|
-
createVNode(_sfc_main$
|
|
81300
|
+
createVNode(_sfc_main$1G, {
|
|
81298
81301
|
class: "btn-transparent",
|
|
81299
81302
|
onClick: close2
|
|
81300
81303
|
}, {
|
|
@@ -81315,7 +81318,7 @@ const _sfc_main$7 = {
|
|
|
81315
81318
|
};
|
|
81316
81319
|
}
|
|
81317
81320
|
};
|
|
81318
|
-
const _sfc_main$
|
|
81321
|
+
const _sfc_main$8 = {
|
|
81319
81322
|
__name: "AppFormModal",
|
|
81320
81323
|
props: {
|
|
81321
81324
|
form: {},
|
|
@@ -81408,13 +81411,13 @@ const _sfc_main$6 = {
|
|
|
81408
81411
|
};
|
|
81409
81412
|
}
|
|
81410
81413
|
};
|
|
81411
|
-
const _hoisted_1$
|
|
81412
|
-
const _hoisted_2$
|
|
81414
|
+
const _hoisted_1$5 = { class: "fileInfo" };
|
|
81415
|
+
const _hoisted_2$3 = { class: "file-meta" };
|
|
81413
81416
|
const _hoisted_3$1 = {
|
|
81414
81417
|
key: 0,
|
|
81415
81418
|
class: "file-actions"
|
|
81416
81419
|
};
|
|
81417
|
-
const _sfc_main$
|
|
81420
|
+
const _sfc_main$7 = {
|
|
81418
81421
|
__name: "AppFileContentNew",
|
|
81419
81422
|
props: {
|
|
81420
81423
|
files: { type: Array, default: () => [] },
|
|
@@ -81473,13 +81476,13 @@ const _sfc_main$5 = {
|
|
|
81473
81476
|
}, [
|
|
81474
81477
|
createElementVNode("span", null, toDisplayString(unref(getExtension2)(file).toUpperCase()), 1)
|
|
81475
81478
|
], 2),
|
|
81476
|
-
createElementVNode("div", _hoisted_1$
|
|
81479
|
+
createElementVNode("div", _hoisted_1$5, [
|
|
81477
81480
|
createVNode(_component_app_ellipsis_text, {
|
|
81478
81481
|
"max-length": 30,
|
|
81479
81482
|
value: unref(getFilename2)(file),
|
|
81480
81483
|
class: "file-name"
|
|
81481
81484
|
}, null, 8, ["value"]),
|
|
81482
|
-
createElementVNode("div", _hoisted_2$
|
|
81485
|
+
createElementVNode("div", _hoisted_2$3, [
|
|
81483
81486
|
createElementVNode("span", null, toDisplayString((file == null ? void 0 : file.size) ? (file.size / (1024 * 1024)).toFixed(2) + " MB" : "N/A"), 1),
|
|
81484
81487
|
createElementVNode("span", {
|
|
81485
81488
|
class: normalizeClass(getFileStatusClass(file))
|
|
@@ -81522,7 +81525,7 @@ const _sfc_main$5 = {
|
|
|
81522
81525
|
};
|
|
81523
81526
|
}
|
|
81524
81527
|
};
|
|
81525
|
-
const _sfc_main$
|
|
81528
|
+
const _sfc_main$6 = {
|
|
81526
81529
|
__name: "AppPreviewModal",
|
|
81527
81530
|
props: {
|
|
81528
81531
|
name: {
|
|
@@ -81614,8 +81617,8 @@ const _sfc_main$4 = {
|
|
|
81614
81617
|
};
|
|
81615
81618
|
}
|
|
81616
81619
|
};
|
|
81617
|
-
const _hoisted_1$
|
|
81618
|
-
const _hoisted_2$
|
|
81620
|
+
const _hoisted_1$4 = { class: "fileupload" };
|
|
81621
|
+
const _hoisted_2$2 = ["multiple", "accept", "disabled"];
|
|
81619
81622
|
const _hoisted_3 = { class: "dropzone__content" };
|
|
81620
81623
|
const _hoisted_4 = { class: "dropzone__text-inner" };
|
|
81621
81624
|
const _hoisted_5 = { class: "dropzone__actions" };
|
|
@@ -81624,7 +81627,7 @@ const _hoisted_6 = {
|
|
|
81624
81627
|
ref: "content",
|
|
81625
81628
|
class: "fileupload-content"
|
|
81626
81629
|
};
|
|
81627
|
-
const _sfc_main$
|
|
81630
|
+
const _sfc_main$5 = {
|
|
81628
81631
|
__name: "AppFileNew",
|
|
81629
81632
|
props: /* @__PURE__ */ mergeModels({
|
|
81630
81633
|
accept: { type: [Array, String], default: () => Object.values(mimeType) },
|
|
@@ -81678,7 +81681,7 @@ const _sfc_main$3 = {
|
|
|
81678
81681
|
const _component_app_button = resolveComponent("app-button");
|
|
81679
81682
|
const _component_app_form_element = resolveComponent("app-form-element");
|
|
81680
81683
|
return openBlock(), createElementBlock("div", null, [
|
|
81681
|
-
createVNode(_sfc_main$
|
|
81684
|
+
createVNode(_sfc_main$6, {
|
|
81682
81685
|
ref_key: "previewModal",
|
|
81683
81686
|
ref: previewModal,
|
|
81684
81687
|
name: "filePreviewModal"
|
|
@@ -81686,7 +81689,7 @@ const _sfc_main$3 = {
|
|
|
81686
81689
|
unref(fileUpload).isLoading.value ? (openBlock(), createBlock(_component_app_loading_overlay, { key: 0 })) : createCommentVNode("", true),
|
|
81687
81690
|
createVNode(_component_app_form_element, normalizeProps(guardReactiveProps(unref(formElementProps))), {
|
|
81688
81691
|
default: withCtx(() => [
|
|
81689
|
-
createElementVNode("div", _hoisted_1$
|
|
81692
|
+
createElementVNode("div", _hoisted_1$4, [
|
|
81690
81693
|
createElementVNode("input", {
|
|
81691
81694
|
ref_key: "fileInput",
|
|
81692
81695
|
ref: fileInput,
|
|
@@ -81695,8 +81698,8 @@ const _sfc_main$3 = {
|
|
|
81695
81698
|
accept: unref(fileUpload).normalizedAccept.value,
|
|
81696
81699
|
disabled: _ctx.disabled,
|
|
81697
81700
|
onChange: _cache2[0] || (_cache2[0] = (...args) => unref(fileUpload).onFileSelect && unref(fileUpload).onFileSelect(...args))
|
|
81698
|
-
}, null, 40, _hoisted_2$
|
|
81699
|
-
createVNode(_sfc_main$
|
|
81701
|
+
}, null, 40, _hoisted_2$2),
|
|
81702
|
+
createVNode(_sfc_main$1q, {
|
|
81700
81703
|
disabled: _ctx.disabled,
|
|
81701
81704
|
onFilesDropped: unref(fileUpload).onFileSelect
|
|
81702
81705
|
}, {
|
|
@@ -81764,7 +81767,7 @@ const _sfc_main$3 = {
|
|
|
81764
81767
|
_: 3
|
|
81765
81768
|
}, 8, ["disabled", "onFilesDropped"]),
|
|
81766
81769
|
unref(fileUpload).hasFiles.value ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
81767
|
-
createVNode(_sfc_main$
|
|
81770
|
+
createVNode(_sfc_main$7, {
|
|
81768
81771
|
files: modelValue.value,
|
|
81769
81772
|
disabled: _ctx.disabled,
|
|
81770
81773
|
onRemoved: unref(fileUpload).removeFile,
|
|
@@ -81866,12 +81869,12 @@ function useFormValidation(config) {
|
|
|
81866
81869
|
shouldProvideErrors ? provide("errors", errors) : null;
|
|
81867
81870
|
return externalContext;
|
|
81868
81871
|
}
|
|
81869
|
-
const _hoisted_1$
|
|
81872
|
+
const _hoisted_1$3 = {
|
|
81870
81873
|
key: 0,
|
|
81871
81874
|
class: "app-dirty-toast flex-center-vertical"
|
|
81872
81875
|
};
|
|
81873
|
-
const _hoisted_2 = { class: "mr-20" };
|
|
81874
|
-
const _sfc_main$
|
|
81876
|
+
const _hoisted_2$1 = { class: "mr-20" };
|
|
81877
|
+
const _sfc_main$4 = {
|
|
81875
81878
|
__name: "AppDirtyToast",
|
|
81876
81879
|
props: {
|
|
81877
81880
|
label: {
|
|
@@ -81896,9 +81899,9 @@ const _sfc_main$2 = {
|
|
|
81896
81899
|
return (_ctx, _cache2) => {
|
|
81897
81900
|
return openBlock(), createBlock(Transition, { name: "dirty-toast" }, {
|
|
81898
81901
|
default: withCtx(() => [
|
|
81899
|
-
__props.isDirty.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
81902
|
+
__props.isDirty.value ? (openBlock(), createElementBlock("div", _hoisted_1$3, [
|
|
81900
81903
|
createVNode(unref(IconWriting)),
|
|
81901
|
-
createElementVNode("label", _hoisted_2, toDisplayString(__props.label), 1),
|
|
81904
|
+
createElementVNode("label", _hoisted_2$1, toDisplayString(__props.label), 1),
|
|
81902
81905
|
createElementVNode("button", {
|
|
81903
81906
|
class: "btn-black btn-sm mr-5",
|
|
81904
81907
|
onClick: undoItem
|
|
@@ -81929,7 +81932,7 @@ function useFormDirty(config) {
|
|
|
81929
81932
|
}
|
|
81930
81933
|
container = document.createElement("div");
|
|
81931
81934
|
document.body.appendChild(container);
|
|
81932
|
-
const vnode = h(_sfc_main$
|
|
81935
|
+
const vnode = h(_sfc_main$4, {
|
|
81933
81936
|
onUndo: () => {
|
|
81934
81937
|
resetToInitial();
|
|
81935
81938
|
},
|
|
@@ -82315,9 +82318,9 @@ function useForm(config, emits) {
|
|
|
82315
82318
|
const getComponentType = (node) => {
|
|
82316
82319
|
switch (node.component) {
|
|
82317
82320
|
case "app-input":
|
|
82318
|
-
return _sfc_main$
|
|
82321
|
+
return _sfc_main$1g;
|
|
82319
82322
|
case "app-card":
|
|
82320
|
-
return _sfc_main$
|
|
82323
|
+
return _sfc_main$1A;
|
|
82321
82324
|
default:
|
|
82322
82325
|
return node.component;
|
|
82323
82326
|
}
|
|
@@ -82529,7 +82532,7 @@ const resolveCondition = (condition, item) => {
|
|
|
82529
82532
|
return true;
|
|
82530
82533
|
}
|
|
82531
82534
|
};
|
|
82532
|
-
const _sfc_main$
|
|
82535
|
+
const _sfc_main$3 = {
|
|
82533
82536
|
__name: "AppFormDynamicNode",
|
|
82534
82537
|
props: {
|
|
82535
82538
|
node: {
|
|
@@ -82582,8 +82585,8 @@ const _sfc_main$1 = {
|
|
|
82582
82585
|
};
|
|
82583
82586
|
}
|
|
82584
82587
|
};
|
|
82585
|
-
const _hoisted_1 = ["form-id"];
|
|
82586
|
-
const _sfc_main = {
|
|
82588
|
+
const _hoisted_1$2 = ["form-id"];
|
|
82589
|
+
const _sfc_main$2 = {
|
|
82587
82590
|
__name: "AppFormDynamic",
|
|
82588
82591
|
props: /* @__PURE__ */ mergeModels({
|
|
82589
82592
|
schema: {
|
|
@@ -82622,98 +82625,184 @@ const _sfc_main = {
|
|
|
82622
82625
|
"form-id": unref(formName)
|
|
82623
82626
|
}, [
|
|
82624
82627
|
(openBlock(true), createElementBlock(Fragment, null, renderList(((_a3 = __props.schema) == null ? void 0 : _a3.layout) || [], (node, index) => {
|
|
82625
|
-
return openBlock(), createBlock(_sfc_main$
|
|
82628
|
+
return openBlock(), createBlock(_sfc_main$3, {
|
|
82626
82629
|
key: index,
|
|
82627
82630
|
node
|
|
82628
82631
|
}, null, 8, ["node"]);
|
|
82629
82632
|
}), 128))
|
|
82630
|
-
], 8, _hoisted_1);
|
|
82633
|
+
], 8, _hoisted_1$2);
|
|
82634
|
+
};
|
|
82635
|
+
}
|
|
82636
|
+
};
|
|
82637
|
+
const _hoisted_1$1 = { class: "app-board-cell" };
|
|
82638
|
+
const _sfc_main$1 = {
|
|
82639
|
+
__name: "AppBoardCell",
|
|
82640
|
+
props: {
|
|
82641
|
+
value: {}
|
|
82642
|
+
},
|
|
82643
|
+
setup(__props) {
|
|
82644
|
+
return (_ctx, _cache2) => {
|
|
82645
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
82646
|
+
renderSlot(_ctx.$slots, "default", {}, () => {
|
|
82647
|
+
var _a3;
|
|
82648
|
+
return [
|
|
82649
|
+
createTextVNode(toDisplayString(((_a3 = __props.value) == null ? void 0 : _a3.name) ?? __props.value), 1)
|
|
82650
|
+
];
|
|
82651
|
+
})
|
|
82652
|
+
]);
|
|
82653
|
+
};
|
|
82654
|
+
}
|
|
82655
|
+
};
|
|
82656
|
+
const _hoisted_1 = { style: { "min-height": "100px" } };
|
|
82657
|
+
const _hoisted_2 = { key: 0 };
|
|
82658
|
+
const _sfc_main = {
|
|
82659
|
+
__name: "AppBoard",
|
|
82660
|
+
props: /* @__PURE__ */ mergeModels({
|
|
82661
|
+
list: {},
|
|
82662
|
+
cellWidth: {
|
|
82663
|
+
default: 150
|
|
82664
|
+
}
|
|
82665
|
+
}, {
|
|
82666
|
+
"modelValue": {},
|
|
82667
|
+
"modelModifiers": {}
|
|
82668
|
+
}),
|
|
82669
|
+
emits: ["update:modelValue"],
|
|
82670
|
+
setup(__props) {
|
|
82671
|
+
const selectedCells = useModel(__props, "modelValue");
|
|
82672
|
+
const props2 = __props;
|
|
82673
|
+
const isSelected = (item) => {
|
|
82674
|
+
return selectedCells.value.some((selectedItem) => lodashExports.isEqual(selectedItem, item));
|
|
82675
|
+
};
|
|
82676
|
+
const selectCell = (item) => {
|
|
82677
|
+
if (isSelected(item)) {
|
|
82678
|
+
selectedCells.value = selectedCells.value.filter((selectedItem) => !lodashExports.isEqual(selectedItem, item));
|
|
82679
|
+
return;
|
|
82680
|
+
}
|
|
82681
|
+
selectedCells.value = [...selectedCells.value, item];
|
|
82682
|
+
};
|
|
82683
|
+
const boardStyle = computed(() => ({
|
|
82684
|
+
"app-board": true,
|
|
82685
|
+
gridTemplateColumns: `repeat(auto-fill, ${props2.cellWidth}px)`
|
|
82686
|
+
}));
|
|
82687
|
+
const getCellClass = (item) => {
|
|
82688
|
+
return {
|
|
82689
|
+
selected: isSelected(item)
|
|
82690
|
+
};
|
|
82691
|
+
};
|
|
82692
|
+
return (_ctx, _cache2) => {
|
|
82693
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
82694
|
+
_ctx.$slots.header ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
82695
|
+
renderSlot(_ctx.$slots, "header")
|
|
82696
|
+
])) : createCommentVNode("", true),
|
|
82697
|
+
createElementVNode("div", {
|
|
82698
|
+
class: "app-board",
|
|
82699
|
+
style: normalizeStyle(boardStyle.value)
|
|
82700
|
+
}, [
|
|
82701
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.list, (item, index) => {
|
|
82702
|
+
return openBlock(), createBlock(_sfc_main$1, {
|
|
82703
|
+
key: (item == null ? void 0 : item.id) ?? index,
|
|
82704
|
+
value: item,
|
|
82705
|
+
onClick: ($event) => selectCell(item),
|
|
82706
|
+
class: normalizeClass(getCellClass(item))
|
|
82707
|
+
}, {
|
|
82708
|
+
default: withCtx(() => [
|
|
82709
|
+
renderSlot(_ctx.$slots, "cell-content", {
|
|
82710
|
+
item,
|
|
82711
|
+
index
|
|
82712
|
+
})
|
|
82713
|
+
]),
|
|
82714
|
+
_: 2
|
|
82715
|
+
}, 1032, ["value", "onClick", "class"]);
|
|
82716
|
+
}), 128))
|
|
82717
|
+
], 4)
|
|
82718
|
+
]);
|
|
82631
82719
|
};
|
|
82632
82720
|
}
|
|
82633
82721
|
};
|
|
82634
82722
|
const components = {
|
|
82635
|
-
AppBadge: _sfc_main$
|
|
82636
|
-
AppBreadcrumbs: _sfc_main$
|
|
82637
|
-
AppButton: _sfc_main$
|
|
82638
|
-
AppButtonGroup: _sfc_main$
|
|
82639
|
-
|
|
82640
|
-
|
|
82641
|
-
|
|
82723
|
+
AppBadge: _sfc_main$1J,
|
|
82724
|
+
AppBreadcrumbs: _sfc_main$1H,
|
|
82725
|
+
AppButton: _sfc_main$1G,
|
|
82726
|
+
AppButtonGroup: _sfc_main$1F,
|
|
82727
|
+
AppBoard: _sfc_main,
|
|
82728
|
+
AppDatePicker: _sfc_main$1C,
|
|
82729
|
+
AppDatePickerRange: _sfc_main$1B,
|
|
82730
|
+
AppDatePickerDayOfWeek: _sfc_main$1x,
|
|
82642
82731
|
VueDatePicker: Qn,
|
|
82643
|
-
AppCard: _sfc_main$
|
|
82644
|
-
AppCheckbox: _sfc_main$
|
|
82732
|
+
AppCard: _sfc_main$1A,
|
|
82733
|
+
AppCheckbox: _sfc_main$1z,
|
|
82645
82734
|
AppChild,
|
|
82646
|
-
AppDateTimePicker: _sfc_main$
|
|
82735
|
+
AppDateTimePicker: _sfc_main$1t,
|
|
82647
82736
|
AppDrawer,
|
|
82648
82737
|
AppTableFilterDrawer,
|
|
82649
|
-
AppFile: _sfc_main$
|
|
82738
|
+
AppFile: _sfc_main$1j,
|
|
82650
82739
|
AppFileInput,
|
|
82651
|
-
AppFormRepeater: _sfc_main$
|
|
82740
|
+
AppFormRepeater: _sfc_main$1i,
|
|
82652
82741
|
AppGridPicker,
|
|
82653
82742
|
AppColorPicker,
|
|
82654
|
-
AppIcon: _sfc_main$
|
|
82655
|
-
AppInput: _sfc_main$
|
|
82656
|
-
AppLink: _sfc_main$
|
|
82657
|
-
AppMenu: _sfc_main$
|
|
82743
|
+
AppIcon: _sfc_main$1K,
|
|
82744
|
+
AppInput: _sfc_main$1g,
|
|
82745
|
+
AppLink: _sfc_main$1f,
|
|
82746
|
+
AppMenu: _sfc_main$1c,
|
|
82658
82747
|
AppNumberInput,
|
|
82659
|
-
AppPage: _sfc_main$
|
|
82660
|
-
AppPagination: _sfc_main
|
|
82661
|
-
AppPlaceholderCard: _sfc_main$
|
|
82662
|
-
AppPlaceholderHeading: _sfc_main$
|
|
82663
|
-
AppPlaceholderImage: _sfc_main$
|
|
82664
|
-
AppPlaceholderText: _sfc_main$
|
|
82665
|
-
AppPlaceholderTitle: _sfc_main$
|
|
82748
|
+
AppPage: _sfc_main$17,
|
|
82749
|
+
AppPagination: _sfc_main$$,
|
|
82750
|
+
AppPlaceholderCard: _sfc_main$18,
|
|
82751
|
+
AppPlaceholderHeading: _sfc_main$1a,
|
|
82752
|
+
AppPlaceholderImage: _sfc_main$1I,
|
|
82753
|
+
AppPlaceholderText: _sfc_main$19,
|
|
82754
|
+
AppPlaceholderTitle: _sfc_main$_,
|
|
82666
82755
|
AppProgressBar,
|
|
82667
82756
|
AppProgressBarOverlay,
|
|
82668
82757
|
AppRemovableTag,
|
|
82669
82758
|
AppScrollToBottom,
|
|
82670
82759
|
AppScrollToTop,
|
|
82671
|
-
AppScrollTopAndBottom: _sfc_main$
|
|
82672
|
-
AppSelect: _sfc_main$
|
|
82673
|
-
AppSelectNew: _sfc_main$
|
|
82674
|
-
AppSidebar: _sfc_main$
|
|
82675
|
-
AppSidebarHeader: _sfc_main$
|
|
82760
|
+
AppScrollTopAndBottom: _sfc_main$V,
|
|
82761
|
+
AppSelect: _sfc_main$R,
|
|
82762
|
+
AppSelectNew: _sfc_main$10,
|
|
82763
|
+
AppSidebar: _sfc_main$Q,
|
|
82764
|
+
AppSidebarHeader: _sfc_main$P,
|
|
82676
82765
|
AppSliderInput,
|
|
82677
82766
|
AppToolbarSubheader,
|
|
82678
|
-
AppSummary: _sfc_main$
|
|
82679
|
-
AppTable: _sfc_main$
|
|
82680
|
-
AppTableMagic: _sfc_main$
|
|
82681
|
-
AppTableFilter: _sfc_main$
|
|
82682
|
-
AppTabs: _sfc_main$
|
|
82767
|
+
AppSummary: _sfc_main$L,
|
|
82768
|
+
AppTable: _sfc_main$H,
|
|
82769
|
+
AppTableMagic: _sfc_main$G,
|
|
82770
|
+
AppTableFilter: _sfc_main$J,
|
|
82771
|
+
AppTabs: _sfc_main$F,
|
|
82683
82772
|
AppTag,
|
|
82684
82773
|
AppTextArea,
|
|
82685
82774
|
AppTimePicker,
|
|
82686
|
-
AppToggleButton: _sfc_main$
|
|
82687
|
-
AppToolbar: _sfc_main$
|
|
82688
|
-
AppTree: _sfc_main$
|
|
82775
|
+
AppToggleButton: _sfc_main$B,
|
|
82776
|
+
AppToolbar: _sfc_main$A,
|
|
82777
|
+
AppTree: _sfc_main$x,
|
|
82689
82778
|
AppFormElement,
|
|
82690
82779
|
AppOverlay,
|
|
82691
|
-
AppLoadingOverlay: _sfc_main$
|
|
82692
|
-
AppLoading: _sfc_main$
|
|
82780
|
+
AppLoadingOverlay: _sfc_main$1k,
|
|
82781
|
+
AppLoading: _sfc_main$u,
|
|
82693
82782
|
AppLoadingModal,
|
|
82694
|
-
AppDropdown: _sfc_main$
|
|
82783
|
+
AppDropdown: _sfc_main$w,
|
|
82695
82784
|
AppFooter,
|
|
82696
82785
|
AppModal,
|
|
82697
|
-
AppModalCard: _sfc_main$
|
|
82698
|
-
AppDualListMagic: _sfc_main$
|
|
82699
|
-
AppSelectBoolean: _sfc_main$
|
|
82700
|
-
AppSelectIcon: _sfc_main$
|
|
82701
|
-
AppCarousel: _sfc_main$
|
|
82702
|
-
AppFormWizard: _sfc_main$
|
|
82703
|
-
AppElipsizedText: _sfc_main$
|
|
82704
|
-
AppEllipsisText: _sfc_main$
|
|
82705
|
-
AppFilePreview: _sfc_main$
|
|
82706
|
-
AppHtml: _sfc_main$
|
|
82707
|
-
AppIframe: _sfc_main$
|
|
82786
|
+
AppModalCard: _sfc_main$9,
|
|
82787
|
+
AppDualListMagic: _sfc_main$q,
|
|
82788
|
+
AppSelectBoolean: _sfc_main$p,
|
|
82789
|
+
AppSelectIcon: _sfc_main$o,
|
|
82790
|
+
AppCarousel: _sfc_main$m,
|
|
82791
|
+
AppFormWizard: _sfc_main$f,
|
|
82792
|
+
AppElipsizedText: _sfc_main$M,
|
|
82793
|
+
AppEllipsisText: _sfc_main$M,
|
|
82794
|
+
AppFilePreview: _sfc_main$h,
|
|
82795
|
+
AppHtml: _sfc_main$1L,
|
|
82796
|
+
AppIframe: _sfc_main$g,
|
|
82708
82797
|
AppRadioButton,
|
|
82709
|
-
AppTeleport: _sfc_main$
|
|
82710
|
-
AppTeleportTarget: _sfc_main$
|
|
82711
|
-
AppTabsBoolean: _sfc_main$
|
|
82712
|
-
AppSkeleton: _sfc_main$
|
|
82713
|
-
AppSkeletonGroup: _sfc_main$
|
|
82714
|
-
AppFormModal: _sfc_main$
|
|
82715
|
-
AppFileNew: _sfc_main$
|
|
82716
|
-
AppFormDynamic: _sfc_main
|
|
82798
|
+
AppTeleport: _sfc_main$d,
|
|
82799
|
+
AppTeleportTarget: _sfc_main$c,
|
|
82800
|
+
AppTabsBoolean: _sfc_main$E,
|
|
82801
|
+
AppSkeleton: _sfc_main$b,
|
|
82802
|
+
AppSkeletonGroup: _sfc_main$a,
|
|
82803
|
+
AppFormModal: _sfc_main$8,
|
|
82804
|
+
AppFileNew: _sfc_main$5,
|
|
82805
|
+
AppFormDynamic: _sfc_main$2
|
|
82717
82806
|
};
|
|
82718
82807
|
const vHorizontalScroll = {
|
|
82719
82808
|
mounted(element) {
|
|
@@ -82989,6 +83078,7 @@ const plugin = {
|
|
|
82989
83078
|
Vue.use(ToastPlugin);
|
|
82990
83079
|
Vue.directive("horizontal-scroll", vHorizontalScroll);
|
|
82991
83080
|
setRouter(config == null ? void 0 : config.router);
|
|
83081
|
+
setAxios(config == null ? void 0 : config.axios);
|
|
82992
83082
|
(config == null ? void 0 : config.mediaType) ? setMediaType(config.mediaType) : null;
|
|
82993
83083
|
}
|
|
82994
83084
|
};
|