@pitcher/canvas-ui 2025.12.8-120823-beta → 2025.12.8-121801
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/canvas-ui.css +4 -4
- package/canvas-ui.js +478 -660
- package/canvas-ui.js.map +1 -1
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorToolbar.vue.d.ts +0 -12
- package/lib/types/launchDarkly.types.d.ts +1 -1
- package/locale/de.json +1 -4
- package/locale/el.json +1 -4
- package/locale/en.json +1 -4
- package/locale/es.json +1 -4
- package/locale/fr.json +1 -4
- package/locale/it.json +1 -4
- package/locale/ja.json +1 -4
- package/locale/nl.json +1 -4
- package/locale/pl.json +1 -4
- package/locale/pt-br.json +1 -4
- package/locale/pt.json +1 -4
- package/locale/th.json +1 -4
- package/locale/tr.json +1 -4
- package/locale/zh.json +1 -4
- package/package.json +1 -1
package/canvas-ui.js
CHANGED
|
@@ -79026,7 +79026,7 @@ const _hoisted_1$55 = {
|
|
|
79026
79026
|
class: "flex flex-col gap-4"
|
|
79027
79027
|
};
|
|
79028
79028
|
const _hoisted_2$3I = { key: 0 };
|
|
79029
|
-
const _hoisted_3$
|
|
79029
|
+
const _hoisted_3$2Y = { class: "flex flex-wrap gap-1" };
|
|
79030
79030
|
const _sfc_main$6C = /* @__PURE__ */ defineComponent({
|
|
79031
79031
|
__name: "CTags",
|
|
79032
79032
|
props: {
|
|
@@ -79212,7 +79212,7 @@ const _sfc_main$6C = /* @__PURE__ */ defineComponent({
|
|
|
79212
79212
|
}, 8, ["disabled", "max", "value"]),
|
|
79213
79213
|
_ctx.showSuggestedTags ? (openBlock(), createElementBlock("div", _hoisted_1$55, [
|
|
79214
79214
|
_ctx.suggestedTagsTitle ? (openBlock(), createElementBlock("div", _hoisted_2$3I, toDisplayString(_ctx.suggestedTagsTitle), 1)) : createCommentVNode("", true),
|
|
79215
|
-
createElementVNode("div", _hoisted_3$
|
|
79215
|
+
createElementVNode("div", _hoisted_3$2Y, [
|
|
79216
79216
|
(openBlock(true), createElementBlock(Fragment, null, renderList(options.value, (option) => {
|
|
79217
79217
|
return openBlock(), createBlock(_sfc_main$6D, {
|
|
79218
79218
|
key: option.value,
|
|
@@ -81113,8 +81113,8 @@ const TRACKING_EVENTS_STORAGE_KEY = "tracking_events";
|
|
|
81113
81113
|
|
|
81114
81114
|
const _hoisted_1$51 = { class: "flex flex-col gap-4" };
|
|
81115
81115
|
const _hoisted_2$3G = { class: "font-500 font-size-5" };
|
|
81116
|
-
const _hoisted_3$
|
|
81117
|
-
const _hoisted_4$
|
|
81116
|
+
const _hoisted_3$2X = { class: "flex flex-col" };
|
|
81117
|
+
const _hoisted_4$2l = { class: "font-size-[18px]" };
|
|
81118
81118
|
const _hoisted_5$1Y = { class: "font-size-[14px]" };
|
|
81119
81119
|
const _hoisted_6$1E = { class: "flex flex-col" };
|
|
81120
81120
|
const _hoisted_7$1f = { class: "font-size-[18px]" };
|
|
@@ -81309,8 +81309,8 @@ const _sfc_main$6l = /* @__PURE__ */ defineComponent({
|
|
|
81309
81309
|
icon: "bug",
|
|
81310
81310
|
size: "24px"
|
|
81311
81311
|
}),
|
|
81312
|
-
createElementVNode("div", _hoisted_3$
|
|
81313
|
-
createElementVNode("div", _hoisted_4$
|
|
81312
|
+
createElementVNode("div", _hoisted_3$2X, [
|
|
81313
|
+
createElementVNode("div", _hoisted_4$2l, toDisplayString(unref(t)("canvasUI.components.CFeedback.bug.title")), 1),
|
|
81314
81314
|
createElementVNode("div", _hoisted_5$1Y, toDisplayString(unref(t)("canvasUI.components.CFeedback.bug.subtitle")), 1)
|
|
81315
81315
|
])
|
|
81316
81316
|
]),
|
|
@@ -81406,8 +81406,8 @@ const _sfc_main$6j = /* @__PURE__ */ defineComponent({
|
|
|
81406
81406
|
|
|
81407
81407
|
const _hoisted_1$4_ = { class: "c-confirmation-modal__header" };
|
|
81408
81408
|
const _hoisted_2$3D = { class: "font-normal c-confirmation-modal__title" };
|
|
81409
|
-
const _hoisted_3$
|
|
81410
|
-
const _hoisted_4$
|
|
81409
|
+
const _hoisted_3$2W = { class: "mt-9 c-confirmation-modal__footer" };
|
|
81410
|
+
const _hoisted_4$2k = { class: "flex flex-grow flex-wrap justify-between" };
|
|
81411
81411
|
const _sfc_main$6i = /* @__PURE__ */ defineComponent({
|
|
81412
81412
|
__name: "CConfirmationModal",
|
|
81413
81413
|
props: {
|
|
@@ -81446,9 +81446,9 @@ const _sfc_main$6i = /* @__PURE__ */ defineComponent({
|
|
|
81446
81446
|
], true)
|
|
81447
81447
|
]),
|
|
81448
81448
|
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
81449
|
-
createElementVNode("div", _hoisted_3$
|
|
81449
|
+
createElementVNode("div", _hoisted_3$2W, [
|
|
81450
81450
|
renderSlot(_ctx.$slots, "footer", {}, () => [
|
|
81451
|
-
createElementVNode("div", _hoisted_4$
|
|
81451
|
+
createElementVNode("div", _hoisted_4$2k, [
|
|
81452
81452
|
_ctx.isCancel ? (openBlock(), createBlock(CButton, {
|
|
81453
81453
|
key: 0,
|
|
81454
81454
|
bordered: false,
|
|
@@ -81587,7 +81587,7 @@ const _sfc_main$6f = /* @__PURE__ */ defineComponent({
|
|
|
81587
81587
|
|
|
81588
81588
|
const _hoisted_1$4W = { class: "c-secondary-nav" };
|
|
81589
81589
|
const _hoisted_2$3B = { class: "c-secondary-nav__nav-items" };
|
|
81590
|
-
const _hoisted_3$
|
|
81590
|
+
const _hoisted_3$2V = { class: "c-secondary-nav__slot" };
|
|
81591
81591
|
const _sfc_main$6e = /* @__PURE__ */ defineComponent({
|
|
81592
81592
|
__name: "CSecondaryNav",
|
|
81593
81593
|
props: {
|
|
@@ -81625,7 +81625,7 @@ const _sfc_main$6e = /* @__PURE__ */ defineComponent({
|
|
|
81625
81625
|
}, 1032, ["style", "onClick"]);
|
|
81626
81626
|
}), 128))
|
|
81627
81627
|
]),
|
|
81628
|
-
createElementVNode("div", _hoisted_3$
|
|
81628
|
+
createElementVNode("div", _hoisted_3$2V, [
|
|
81629
81629
|
renderSlot(_ctx.$slots, "right", {}, void 0, true)
|
|
81630
81630
|
])
|
|
81631
81631
|
]);
|
|
@@ -81640,11 +81640,11 @@ const _hoisted_2$3A = {
|
|
|
81640
81640
|
key: 0,
|
|
81641
81641
|
class: "canvas-list-item__subtitle my-1"
|
|
81642
81642
|
};
|
|
81643
|
-
const _hoisted_3$
|
|
81643
|
+
const _hoisted_3$2U = {
|
|
81644
81644
|
key: 1,
|
|
81645
81645
|
class: "canvas-list-item__description mt-1"
|
|
81646
81646
|
};
|
|
81647
|
-
const _hoisted_4$
|
|
81647
|
+
const _hoisted_4$2j = { class: "flex items-center pr-3" };
|
|
81648
81648
|
const _sfc_main$6d = /* @__PURE__ */ defineComponent({
|
|
81649
81649
|
__name: "CCanvasSelectorListItem",
|
|
81650
81650
|
props: {
|
|
@@ -81678,9 +81678,9 @@ const _sfc_main$6d = /* @__PURE__ */ defineComponent({
|
|
|
81678
81678
|
class: normalizeClass(["canvas-list-item__title", { "canvas-list-item__title--selected": isSelected.value }])
|
|
81679
81679
|
}, toDisplayString(_ctx.canvas.name || "-"), 3),
|
|
81680
81680
|
_ctx.canvas.subtitle ? (openBlock(), createElementBlock("div", _hoisted_2$3A, toDisplayString(_ctx.canvas.subtitle), 1)) : createCommentVNode("", true),
|
|
81681
|
-
lastUsed.value && !_ctx.canvas.subtitle ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
81681
|
+
lastUsed.value && !_ctx.canvas.subtitle ? (openBlock(), createElementBlock("div", _hoisted_3$2U, toDisplayString(unref(t)("canvasUI.CCanvasSelector.edited")) + " " + toDisplayString(lastUsed.value), 1)) : createCommentVNode("", true)
|
|
81682
81682
|
]),
|
|
81683
|
-
createElementVNode("div", _hoisted_4$
|
|
81683
|
+
createElementVNode("div", _hoisted_4$2j, [
|
|
81684
81684
|
isSelected.value ? (openBlock(), createBlock(CIcon, {
|
|
81685
81685
|
key: 0,
|
|
81686
81686
|
"fa-type": "fas",
|
|
@@ -81708,8 +81708,8 @@ var CanvasStatus = /* @__PURE__ */ ((CanvasStatus2) => {
|
|
|
81708
81708
|
|
|
81709
81709
|
const _hoisted_1$4U = { class: "c-canvas-selector flex flex-col w-full" };
|
|
81710
81710
|
const _hoisted_2$3z = { class: "my-4" };
|
|
81711
|
-
const _hoisted_3$
|
|
81712
|
-
const _hoisted_4$
|
|
81711
|
+
const _hoisted_3$2T = { class: "flex flex-col h-full overflow-auto" };
|
|
81712
|
+
const _hoisted_4$2i = {
|
|
81713
81713
|
key: 0,
|
|
81714
81714
|
class: "c-canvas-selector__list-title mb-1"
|
|
81715
81715
|
};
|
|
@@ -81777,8 +81777,8 @@ const _sfc_main$6c = /* @__PURE__ */ defineComponent({
|
|
|
81777
81777
|
class: "mb-3",
|
|
81778
81778
|
onSelectCanvas: onCanvasSelect
|
|
81779
81779
|
}, null, 8, ["active-canvas-id", "canvas"])) : createCommentVNode("", true),
|
|
81780
|
-
createElementVNode("div", _hoisted_3$
|
|
81781
|
-
_ctx.canvases?.length ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
81780
|
+
createElementVNode("div", _hoisted_3$2T, [
|
|
81781
|
+
_ctx.canvases?.length ? (openBlock(), createElementBlock("div", _hoisted_4$2i, toDisplayString(unref(t)("canvasUI.CCanvasSelector.lastUsed")), 1)) : createCommentVNode("", true),
|
|
81782
81782
|
createVNode(_sfc_main$6o, {
|
|
81783
81783
|
class: "h-full",
|
|
81784
81784
|
show: _ctx.isLoading
|
|
@@ -81815,11 +81815,11 @@ const CCanvasSelector = /* @__PURE__ */ _export_sfc(_sfc_main$6c, [["__scopeId",
|
|
|
81815
81815
|
|
|
81816
81816
|
const _hoisted_1$4T = { class: "h-full b-rounded-1 contact-selector__selected px-4 py-2 flex flex-col" };
|
|
81817
81817
|
const _hoisted_2$3y = { class: "flex items-center mb-1 contact-selector__selected-header" };
|
|
81818
|
-
const _hoisted_3$
|
|
81818
|
+
const _hoisted_3$2S = {
|
|
81819
81819
|
key: 0,
|
|
81820
81820
|
class: "ml-a"
|
|
81821
81821
|
};
|
|
81822
|
-
const _hoisted_4$
|
|
81822
|
+
const _hoisted_4$2h = {
|
|
81823
81823
|
key: 0,
|
|
81824
81824
|
class: "flex items-center cursor-grab contact-selector__drag-grip"
|
|
81825
81825
|
};
|
|
@@ -81923,7 +81923,7 @@ const _sfc_main$6b = /* @__PURE__ */ defineComponent({
|
|
|
81923
81923
|
]),
|
|
81924
81924
|
_: 1
|
|
81925
81925
|
}, 8, ["class"]),
|
|
81926
|
-
selectedItems.value && _ctx.simpleView && _ctx.allowAccountChange ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
81926
|
+
selectedItems.value && _ctx.simpleView && _ctx.allowAccountChange ? (openBlock(), createElementBlock("div", _hoisted_3$2S, [
|
|
81927
81927
|
createVNode(CButton, {
|
|
81928
81928
|
disabled: _ctx.loading,
|
|
81929
81929
|
quaternary: "",
|
|
@@ -81945,7 +81945,7 @@ const _sfc_main$6b = /* @__PURE__ */ defineComponent({
|
|
|
81945
81945
|
createElementVNode("div", {
|
|
81946
81946
|
class: normalizeClass(["flex contact-selector__list-items", { "calendar-drag-list": _ctx.isDraggable }])
|
|
81947
81947
|
}, [
|
|
81948
|
-
selectedItems.value && _ctx.isDraggable ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
81948
|
+
selectedItems.value && _ctx.isDraggable ? (openBlock(), createElementBlock("div", _hoisted_4$2h, [
|
|
81949
81949
|
createVNode(CIcon, {
|
|
81950
81950
|
class: "pl-1 pr-3",
|
|
81951
81951
|
color: unref(themeVars).primary4,
|
|
@@ -82172,8 +82172,8 @@ const _hoisted_1$4S = {
|
|
|
82172
82172
|
class: "account-list-item w-full pb-3"
|
|
82173
82173
|
};
|
|
82174
82174
|
const _hoisted_2$3x = { class: "account-list-item__content b-rounded-1 overflow-hidden" };
|
|
82175
|
-
const _hoisted_3$
|
|
82176
|
-
const _hoisted_4$
|
|
82175
|
+
const _hoisted_3$2R = ["aria-label"];
|
|
82176
|
+
const _hoisted_4$2g = { class: "account-header__left" };
|
|
82177
82177
|
const _hoisted_5$1V = { class: "account-header__content truncate" };
|
|
82178
82178
|
const _hoisted_6$1B = ["innerHTML"];
|
|
82179
82179
|
const _hoisted_7$1c = {
|
|
@@ -82283,7 +82283,7 @@ const _sfc_main$6a = /* @__PURE__ */ defineComponent({
|
|
|
82283
82283
|
class: normalizeClass(["account-header select-none flex items-center", { "cursor-pointer": !!_ctx.contacts?.length }]),
|
|
82284
82284
|
onClick: onCollapse
|
|
82285
82285
|
}, [
|
|
82286
|
-
createElementVNode("div", _hoisted_4$
|
|
82286
|
+
createElementVNode("div", _hoisted_4$2g, [
|
|
82287
82287
|
_ctx.contacts?.length ? (openBlock(), createBlock(CIcon, {
|
|
82288
82288
|
key: 0,
|
|
82289
82289
|
class: "mx-3",
|
|
@@ -82333,7 +82333,7 @@ const _sfc_main$6a = /* @__PURE__ */ defineComponent({
|
|
|
82333
82333
|
}, 8, ["aria-label", "class", "disabled"])
|
|
82334
82334
|
])
|
|
82335
82335
|
])
|
|
82336
|
-
], 10, _hoisted_3$
|
|
82336
|
+
], 10, _hoisted_3$2R),
|
|
82337
82337
|
!collapsed.value ? (openBlock(), createElementBlock("div", _hoisted_12$r, [
|
|
82338
82338
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.contacts, (contact) => {
|
|
82339
82339
|
return openBlock(), createElementBlock("div", {
|
|
@@ -82641,8 +82641,8 @@ const CContactSelectorAccountsWithContacts = /* @__PURE__ */ _export_sfc(__defau
|
|
|
82641
82641
|
|
|
82642
82642
|
const _hoisted_1$4Q = { class: "pb-3" };
|
|
82643
82643
|
const _hoisted_2$3w = { class: "c-contact-selector__colleague-item flex items-center b-rounded-1" };
|
|
82644
|
-
const _hoisted_3$
|
|
82645
|
-
const _hoisted_4$
|
|
82644
|
+
const _hoisted_3$2Q = { class: "c-contact-selector__colleague-item__left" };
|
|
82645
|
+
const _hoisted_4$2f = { class: "c-contact-selector__colleague-item__content" };
|
|
82646
82646
|
const _hoisted_5$1U = ["innerHTML"];
|
|
82647
82647
|
const _hoisted_6$1A = {
|
|
82648
82648
|
key: 0,
|
|
@@ -82710,7 +82710,7 @@ const _sfc_main$69 = /* @__PURE__ */ defineComponent({
|
|
|
82710
82710
|
default: withCtx(({ item: colleague }) => [
|
|
82711
82711
|
createElementVNode("div", _hoisted_1$4Q, [
|
|
82712
82712
|
createElementVNode("div", _hoisted_2$3w, [
|
|
82713
|
-
createElementVNode("div", _hoisted_3$
|
|
82713
|
+
createElementVNode("div", _hoisted_3$2Q, [
|
|
82714
82714
|
createVNode(CIcon, {
|
|
82715
82715
|
class: "mx-4",
|
|
82716
82716
|
color: unref(themeVars).primary4,
|
|
@@ -82718,7 +82718,7 @@ const _sfc_main$69 = /* @__PURE__ */ defineComponent({
|
|
|
82718
82718
|
size: 16
|
|
82719
82719
|
}, null, 8, ["color"])
|
|
82720
82720
|
]),
|
|
82721
|
-
createElementVNode("div", _hoisted_4$
|
|
82721
|
+
createElementVNode("div", _hoisted_4$2f, [
|
|
82722
82722
|
createElementVNode("div", {
|
|
82723
82723
|
class: "font-600 underline truncate",
|
|
82724
82724
|
innerHTML: unref(highlight)(colleague.FirstName + " " + colleague.LastName, _ctx.search)
|
|
@@ -83224,8 +83224,8 @@ const _hoisted_2$3t = {
|
|
|
83224
83224
|
class: "flex flex-col w-full max-w-[calc(100%-18px)] py-1",
|
|
83225
83225
|
style: { letterSpacing: "0px" }
|
|
83226
83226
|
};
|
|
83227
|
-
const _hoisted_3$
|
|
83228
|
-
const _hoisted_4$
|
|
83227
|
+
const _hoisted_3$2P = { class: "font-bold" };
|
|
83228
|
+
const _hoisted_4$2e = { class: "font-bold" };
|
|
83229
83229
|
const _hoisted_5$1T = { key: 0 };
|
|
83230
83230
|
const _hoisted_6$1z = { class: "underline underline-solid cursor-pointer select-none c-create-canvas-model-templates-select-option__more-tags" };
|
|
83231
83231
|
const _hoisted_7$1a = {
|
|
@@ -83261,7 +83261,7 @@ const _sfc_main$64 = /* @__PURE__ */ defineComponent({
|
|
|
83261
83261
|
return (_ctx, _cache) => {
|
|
83262
83262
|
return openBlock(), createElementBlock("div", _hoisted_1$4N, [
|
|
83263
83263
|
createElementVNode("div", _hoisted_2$3t, [
|
|
83264
|
-
createElementVNode("div", _hoisted_3$
|
|
83264
|
+
createElementVNode("div", _hoisted_3$2P, toDisplayString(_ctx.option.label), 1),
|
|
83265
83265
|
createElementVNode("div", null, [
|
|
83266
83266
|
!_ctx.isBlank ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
83267
83267
|
tags.value.length ? (openBlock(), createElementBlock("div", {
|
|
@@ -83269,7 +83269,7 @@ const _sfc_main$64 = /* @__PURE__ */ defineComponent({
|
|
|
83269
83269
|
class: "flex flex-wrap items-center gap-1 font-size-3",
|
|
83270
83270
|
style: normalizeStyle({ color: unref(themeVars).text2 })
|
|
83271
83271
|
}, [
|
|
83272
|
-
createElementVNode("div", _hoisted_4$
|
|
83272
|
+
createElementVNode("div", _hoisted_4$2e, toDisplayString(unref(t)("canvasUI.CCreateCanvasModal.tags")), 1),
|
|
83273
83273
|
(openBlock(true), createElementBlock(Fragment, null, renderList(tags.value, (tag, index) => {
|
|
83274
83274
|
return openBlock(), createElementBlock("div", {
|
|
83275
83275
|
key: index,
|
|
@@ -84078,7 +84078,7 @@ const _hoisted_2$3s = {
|
|
|
84078
84078
|
key: 1,
|
|
84079
84079
|
class: "mt-2 text-xs font-normal leading-5"
|
|
84080
84080
|
};
|
|
84081
|
-
const _hoisted_3$
|
|
84081
|
+
const _hoisted_3$2O = { key: 0 };
|
|
84082
84082
|
const _sfc_main$61 = /* @__PURE__ */ defineComponent({
|
|
84083
84083
|
__name: "CSlider",
|
|
84084
84084
|
props: {
|
|
@@ -84121,7 +84121,7 @@ const _sfc_main$61 = /* @__PURE__ */ defineComponent({
|
|
|
84121
84121
|
value: _ctx.value
|
|
84122
84122
|
}, null, 8, ["disabled", "format-tooltip", "max", "min", "on-update:value", "placement", "step", "style", "value"]),
|
|
84123
84123
|
_ctx.helpText || unref(slots).helpText ? (openBlock(), createElementBlock("div", _hoisted_2$3s, [
|
|
84124
|
-
_ctx.helpText ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
84124
|
+
_ctx.helpText ? (openBlock(), createElementBlock("span", _hoisted_3$2O, toDisplayString(_ctx.helpText), 1)) : unref(slots).helpText ? renderSlot(_ctx.$slots, "helpText", { key: 1 }) : createCommentVNode("", true)
|
|
84125
84125
|
])) : createCommentVNode("", true)
|
|
84126
84126
|
]);
|
|
84127
84127
|
};
|
|
@@ -85247,8 +85247,8 @@ function getExcessItemsIndexes(arrA, arrB) {
|
|
|
85247
85247
|
|
|
85248
85248
|
const _hoisted_1$4L = { class: "flex items-center gap-2 w-full" };
|
|
85249
85249
|
const _hoisted_2$3r = { class: "flex flex-col items-center gap-2 w-full" };
|
|
85250
|
-
const _hoisted_3$
|
|
85251
|
-
const _hoisted_4$
|
|
85250
|
+
const _hoisted_3$2N = { class: "mt-3" };
|
|
85251
|
+
const _hoisted_4$2d = { key: 1 };
|
|
85252
85252
|
const _hoisted_5$1S = {
|
|
85253
85253
|
key: 1,
|
|
85254
85254
|
class: "text-sm color-error"
|
|
@@ -85485,7 +85485,7 @@ const _sfc_main$5$ = /* @__PURE__ */ defineComponent({
|
|
|
85485
85485
|
size: "26px"
|
|
85486
85486
|
})
|
|
85487
85487
|
]),
|
|
85488
|
-
createElementVNode("div", _hoisted_3$
|
|
85488
|
+
createElementVNode("div", _hoisted_3$2N, toDisplayString(unref(t)("canvasUI.CThemeSettingsStep.uploadHint")), 1)
|
|
85489
85489
|
]),
|
|
85490
85490
|
_: 1
|
|
85491
85491
|
})
|
|
@@ -85500,7 +85500,7 @@ const _sfc_main$5$ = /* @__PURE__ */ defineComponent({
|
|
|
85500
85500
|
isSaving.value ? (openBlock(), createBlock(unref(NSpin), {
|
|
85501
85501
|
key: 0,
|
|
85502
85502
|
size: "small"
|
|
85503
|
-
})) : (openBlock(), createElementBlock("span", _hoisted_4$
|
|
85503
|
+
})) : (openBlock(), createElementBlock("span", _hoisted_4$2d, toDisplayString(unref(t)("canvasUI.CThemeSettingsStep.uploadFont")), 1))
|
|
85504
85504
|
]),
|
|
85505
85505
|
_: 1
|
|
85506
85506
|
})) : createCommentVNode("", true),
|
|
@@ -85825,8 +85825,8 @@ function useSharedTranslations() {
|
|
|
85825
85825
|
|
|
85826
85826
|
const _hoisted_1$4I = { class: "c-typography-configurator-item flex flex-col gap-2" };
|
|
85827
85827
|
const _hoisted_2$3q = { class: "font-bold" };
|
|
85828
|
-
const _hoisted_3$
|
|
85829
|
-
const _hoisted_4$
|
|
85828
|
+
const _hoisted_3$2M = { class: "flex gap-2" };
|
|
85829
|
+
const _hoisted_4$2c = { class: "flex flex-col gap-2" };
|
|
85830
85830
|
const _hoisted_5$1R = { class: "flex gap-2" };
|
|
85831
85831
|
const _sfc_main$5X = /* @__PURE__ */ defineComponent({
|
|
85832
85832
|
__name: "CTypographyConfiguratorItem",
|
|
@@ -85880,7 +85880,7 @@ const _sfc_main$5X = /* @__PURE__ */ defineComponent({
|
|
|
85880
85880
|
value: _ctx.item.font_family,
|
|
85881
85881
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => updateItem("font_family", $event))
|
|
85882
85882
|
}, null, 8, ["options", "placeholder", "value"]),
|
|
85883
|
-
createElementVNode("div", _hoisted_3$
|
|
85883
|
+
createElementVNode("div", _hoisted_3$2M, [
|
|
85884
85884
|
createVNode(CSelect, {
|
|
85885
85885
|
bordered: "",
|
|
85886
85886
|
class: "w-1/2",
|
|
@@ -85913,7 +85913,7 @@ const _sfc_main$5X = /* @__PURE__ */ defineComponent({
|
|
|
85913
85913
|
title: unref(t)("canvasUI.CTypographyConfiguratorItem.advancedSettings")
|
|
85914
85914
|
}, {
|
|
85915
85915
|
default: withCtx(() => [
|
|
85916
|
-
createElementVNode("div", _hoisted_4$
|
|
85916
|
+
createElementVNode("div", _hoisted_4$2c, [
|
|
85917
85917
|
createElementVNode("div", _hoisted_5$1R, [
|
|
85918
85918
|
createElementVNode("div", null, [
|
|
85919
85919
|
createVNode(_sfc_main$5Y, {
|
|
@@ -86047,8 +86047,8 @@ const _hoisted_2$3p = {
|
|
|
86047
86047
|
key: 0,
|
|
86048
86048
|
class: "flex items-center gap-2 border rounded overflow-hidden shadow-sm p-2"
|
|
86049
86049
|
};
|
|
86050
|
-
const _hoisted_3$
|
|
86051
|
-
const _hoisted_4$
|
|
86050
|
+
const _hoisted_3$2L = { class: "w-[60px] h-[60px] bg-gray-50 flex items-center justify-center flex-shrink-0" };
|
|
86051
|
+
const _hoisted_4$2b = ["src"];
|
|
86052
86052
|
const _hoisted_5$1Q = { class: "flex-1 min-w-0 flex items-center" };
|
|
86053
86053
|
const _hoisted_6$1y = { class: "text-sm color-text truncate max-w-[calc(100%-70px)]" };
|
|
86054
86054
|
const _hoisted_7$19 = { class: "flex gap-1 ml-auto flex-shrink-0" };
|
|
@@ -86201,12 +86201,12 @@ const _sfc_main$5U = /* @__PURE__ */ defineComponent({
|
|
|
86201
86201
|
default: withCtx(() => [
|
|
86202
86202
|
createElementVNode("div", _hoisted_1$4G, [
|
|
86203
86203
|
_ctx.modelValue.logo ? (openBlock(), createElementBlock("div", _hoisted_2$3p, [
|
|
86204
|
-
createElementVNode("div", _hoisted_3$
|
|
86204
|
+
createElementVNode("div", _hoisted_3$2L, [
|
|
86205
86205
|
createElementVNode("img", {
|
|
86206
86206
|
alt: "Logo",
|
|
86207
86207
|
class: "max-h-[50px] max-w-[50px] object-contain",
|
|
86208
86208
|
src: _ctx.modelValue.logo.url
|
|
86209
|
-
}, null, 8, _hoisted_4$
|
|
86209
|
+
}, null, 8, _hoisted_4$2b)
|
|
86210
86210
|
]),
|
|
86211
86211
|
createElementVNode("div", _hoisted_5$1Q, [
|
|
86212
86212
|
createElementVNode("span", _hoisted_6$1y, toDisplayString(_ctx.modelValue.logo.name), 1),
|
|
@@ -86329,7 +86329,7 @@ const _sfc_main$5U = /* @__PURE__ */ defineComponent({
|
|
|
86329
86329
|
|
|
86330
86330
|
const _hoisted_1$4F = { key: 0 };
|
|
86331
86331
|
const _hoisted_2$3o = { class: "flex justify-between gap-2 w-full" };
|
|
86332
|
-
const _hoisted_3$
|
|
86332
|
+
const _hoisted_3$2K = { class: "flex gap-2" };
|
|
86333
86333
|
const _sfc_main$5T = /* @__PURE__ */ defineComponent({
|
|
86334
86334
|
__name: "CCreateThemeModal",
|
|
86335
86335
|
props: {
|
|
@@ -86419,7 +86419,7 @@ const _sfc_main$5T = /* @__PURE__ */ defineComponent({
|
|
|
86419
86419
|
]),
|
|
86420
86420
|
_: 1
|
|
86421
86421
|
}),
|
|
86422
|
-
createElementVNode("div", _hoisted_3$
|
|
86422
|
+
createElementVNode("div", _hoisted_3$2K, [
|
|
86423
86423
|
currentStep.value > 1 ? (openBlock(), createBlock(CButton, {
|
|
86424
86424
|
key: 0,
|
|
86425
86425
|
loading: _ctx.isLoading,
|
|
@@ -86727,8 +86727,8 @@ function useFolderNameDescription() {
|
|
|
86727
86727
|
|
|
86728
86728
|
const _hoisted_1$4B = { class: "flex flex-col p-2 gap-2 justify-center overflow-hidden" };
|
|
86729
86729
|
const _hoisted_2$3n = { class: "overflow-hidden flex items-center gap-2" };
|
|
86730
|
-
const _hoisted_3$
|
|
86731
|
-
const _hoisted_4$
|
|
86730
|
+
const _hoisted_3$2J = { class: "c-result__title font-bold truncate" };
|
|
86731
|
+
const _hoisted_4$2a = {
|
|
86732
86732
|
key: 1,
|
|
86733
86733
|
class: "truncate color-text2 font-size-[14px]"
|
|
86734
86734
|
};
|
|
@@ -86803,7 +86803,7 @@ const _sfc_main$5P = /* @__PURE__ */ defineComponent({
|
|
|
86803
86803
|
size: 12
|
|
86804
86804
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
86805
86805
|
createElementVNode("div", null, [
|
|
86806
|
-
createElementVNode("div", _hoisted_3$
|
|
86806
|
+
createElementVNode("div", _hoisted_3$2J, toDisplayString(_ctx.item.name), 1),
|
|
86807
86807
|
_ctx.item.folder && _ctx.item.folder.id !== _ctx.rootFolderId ? (openBlock(), createElementBlock("div", {
|
|
86808
86808
|
key: 0,
|
|
86809
86809
|
class: "inline-flex items-center gap-1 color-text2 font-size-[14px] leading-trim-both text-edge-cap font-normal leading-normal tracking-[0.4px]",
|
|
@@ -86811,7 +86811,7 @@ const _sfc_main$5P = /* @__PURE__ */ defineComponent({
|
|
|
86811
86811
|
}, [
|
|
86812
86812
|
createVNode(CIcon, { icon: "folder" }),
|
|
86813
86813
|
createTextVNode(" " + toDisplayString(folderDisplayName.value), 1)
|
|
86814
|
-
])) : appItem.value?.description ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
86814
|
+
])) : appItem.value?.description ? (openBlock(), createElementBlock("div", _hoisted_4$2a, toDisplayString(appItem.value.description), 1)) : createCommentVNode("", true)
|
|
86815
86815
|
])
|
|
86816
86816
|
]),
|
|
86817
86817
|
_ctx.item.headline ? (openBlock(), createElementBlock("div", {
|
|
@@ -86837,8 +86837,8 @@ const CResult = /* @__PURE__ */ _export_sfc(_sfc_main$5P, [["__scopeId", "data-v
|
|
|
86837
86837
|
|
|
86838
86838
|
const _hoisted_1$4A = { class: "c-result-section flex flex-col gap-2" };
|
|
86839
86839
|
const _hoisted_2$3m = { class: "c-result-section__header flex items-center gap-4 justify-between" };
|
|
86840
|
-
const _hoisted_3$
|
|
86841
|
-
const _hoisted_4$
|
|
86840
|
+
const _hoisted_3$2I = { class: "flex items-center gap-2 truncate" };
|
|
86841
|
+
const _hoisted_4$29 = { class: "title__text truncate" };
|
|
86842
86842
|
const _hoisted_5$1O = { class: "align-right truncate" };
|
|
86843
86843
|
const _hoisted_6$1x = { class: "flex flex-col gap-2" };
|
|
86844
86844
|
const _sfc_main$5O = /* @__PURE__ */ defineComponent({
|
|
@@ -86859,12 +86859,12 @@ const _sfc_main$5O = /* @__PURE__ */ defineComponent({
|
|
|
86859
86859
|
return (_ctx, _cache) => {
|
|
86860
86860
|
return openBlock(), createElementBlock("section", _hoisted_1$4A, [
|
|
86861
86861
|
createElementVNode("header", _hoisted_2$3m, [
|
|
86862
|
-
createElementVNode("div", _hoisted_3$
|
|
86862
|
+
createElementVNode("div", _hoisted_3$2I, [
|
|
86863
86863
|
createVNode(CIcon, {
|
|
86864
86864
|
icon: _ctx.icon,
|
|
86865
86865
|
size: 12
|
|
86866
86866
|
}, null, 8, ["icon"]),
|
|
86867
|
-
createElementVNode("strong", _hoisted_4$
|
|
86867
|
+
createElementVNode("strong", _hoisted_4$29, toDisplayString(_ctx.title) + " (" + toDisplayString(_ctx.quantity) + ")", 1)
|
|
86868
86868
|
]),
|
|
86869
86869
|
createElementVNode("span", _hoisted_5$1O, [
|
|
86870
86870
|
createTextVNode(toDisplayString(unref(t)("canvasUI.CGlobalSearch.foundIn")) + " ", 1),
|
|
@@ -86889,7 +86889,7 @@ const _hoisted_2$3l = {
|
|
|
86889
86889
|
key: 0,
|
|
86890
86890
|
class: "c-global-search-results__no-results text-center items-center p-4 flex flex-col gap-2 border-rounded-1"
|
|
86891
86891
|
};
|
|
86892
|
-
const _hoisted_3$
|
|
86892
|
+
const _hoisted_3$2H = {
|
|
86893
86893
|
key: 1,
|
|
86894
86894
|
class: "flex flex-col gap-4"
|
|
86895
86895
|
};
|
|
@@ -87006,7 +87006,7 @@ const _sfc_main$5N = /* @__PURE__ */ defineComponent({
|
|
|
87006
87006
|
icon: "radar"
|
|
87007
87007
|
}),
|
|
87008
87008
|
createTextVNode(" " + toDisplayString(unref(t)("canvasUI.CGlobalSearch.noResults")), 1)
|
|
87009
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
87009
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_3$2H, [
|
|
87010
87010
|
(openBlock(true), createElementBlock(Fragment, null, renderList(sections.value, (section) => {
|
|
87011
87011
|
return openBlock(), createBlock(CResultSection, {
|
|
87012
87012
|
key: section.icon,
|
|
@@ -87110,7 +87110,7 @@ const _sfc_main$5M = /* @__PURE__ */ defineComponent({
|
|
|
87110
87110
|
|
|
87111
87111
|
const _hoisted_1$4x = { class: "mb-2" };
|
|
87112
87112
|
const _hoisted_2$3k = { class: "text-body-2 font-400 mb-1" };
|
|
87113
|
-
const _hoisted_3$
|
|
87113
|
+
const _hoisted_3$2G = { class: "flex justify-between items-center" };
|
|
87114
87114
|
const _sfc_main$5L = /* @__PURE__ */ defineComponent({
|
|
87115
87115
|
__name: "CRenameModal",
|
|
87116
87116
|
props: {
|
|
@@ -87186,7 +87186,7 @@ const _sfc_main$5L = /* @__PURE__ */ defineComponent({
|
|
|
87186
87186
|
class: "text-sm mb-6",
|
|
87187
87187
|
style: normalizeStyle({ color: unref(themeVars).text3 })
|
|
87188
87188
|
}, toDisplayString(description.value), 5)) : createCommentVNode("", true),
|
|
87189
|
-
createElementVNode("div", _hoisted_3$
|
|
87189
|
+
createElementVNode("div", _hoisted_3$2G, [
|
|
87190
87190
|
createVNode(CButton, { onClick: onCancel }, {
|
|
87191
87191
|
default: withCtx(() => [
|
|
87192
87192
|
createTextVNode(toDisplayString(cancelText.value), 1)
|
|
@@ -94132,8 +94132,8 @@ function isEmbeddableWithZeroHeight(component) {
|
|
|
94132
94132
|
|
|
94133
94133
|
const _hoisted_1$4w = { class: "flex items-center gap-2 c-component-list-item relative" };
|
|
94134
94134
|
const _hoisted_2$3j = { class: "flex flex-col min-h-8" };
|
|
94135
|
-
const _hoisted_3$
|
|
94136
|
-
const _hoisted_4$
|
|
94135
|
+
const _hoisted_3$2F = { class: "overflow-hidden" };
|
|
94136
|
+
const _hoisted_4$28 = {
|
|
94137
94137
|
key: 0,
|
|
94138
94138
|
class: "description"
|
|
94139
94139
|
};
|
|
@@ -94275,7 +94275,7 @@ const _sfc_main$5K = /* @__PURE__ */ defineComponent({
|
|
|
94275
94275
|
icon: unref(icon).name,
|
|
94276
94276
|
size: _ctx.description ? 24 : 16
|
|
94277
94277
|
}, null, 8, ["color", "fa-type", "icon", "size"])),
|
|
94278
|
-
createElementVNode("div", _hoisted_3$
|
|
94278
|
+
createElementVNode("div", _hoisted_3$2F, [
|
|
94279
94279
|
withDirectives((openBlock(), createElementBlock("div", {
|
|
94280
94280
|
class: "title font-500 text-truncate",
|
|
94281
94281
|
style: normalizeStyle({ fontSize: _ctx.description ? "18px" : "14px" })
|
|
@@ -94284,7 +94284,7 @@ const _sfc_main$5K = /* @__PURE__ */ defineComponent({
|
|
|
94284
94284
|
], 4)), [
|
|
94285
94285
|
[_directive_tooltip, displayTitle.value]
|
|
94286
94286
|
]),
|
|
94287
|
-
_ctx.description ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
94287
|
+
_ctx.description ? (openBlock(), createElementBlock("div", _hoisted_4$28, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true)
|
|
94288
94288
|
]),
|
|
94289
94289
|
hasChildren.value ? (openBlock(), createBlock(CButton, {
|
|
94290
94290
|
key: 2,
|
|
@@ -94367,7 +94367,7 @@ const _hoisted_1$4v = {
|
|
|
94367
94367
|
class: "c-metadata-badge inline-block"
|
|
94368
94368
|
};
|
|
94369
94369
|
const _hoisted_2$3i = ["innerHTML"];
|
|
94370
|
-
const _hoisted_3$
|
|
94370
|
+
const _hoisted_3$2E = { key: 1 };
|
|
94371
94371
|
const _sfc_main$5J = /* @__PURE__ */ defineComponent({
|
|
94372
94372
|
__name: "CMetaDataBadge",
|
|
94373
94373
|
props: {
|
|
@@ -94393,7 +94393,7 @@ const _sfc_main$5J = /* @__PURE__ */ defineComponent({
|
|
|
94393
94393
|
_ctx.highlightText ? (openBlock(), createElementBlock("span", {
|
|
94394
94394
|
key: 0,
|
|
94395
94395
|
innerHTML: unref(highlight)(String(_ctx.value), _ctx.highlightText)
|
|
94396
|
-
}, null, 8, _hoisted_2$3i)) : (openBlock(), createElementBlock("span", _hoisted_3$
|
|
94396
|
+
}, null, 8, _hoisted_2$3i)) : (openBlock(), createElementBlock("span", _hoisted_3$2E, toDisplayString(_ctx.value), 1))
|
|
94397
94397
|
], 64)) : createCommentVNode("", true)
|
|
94398
94398
|
]),
|
|
94399
94399
|
_: 1
|
|
@@ -94499,8 +94499,8 @@ function useCoreApi() {
|
|
|
94499
94499
|
|
|
94500
94500
|
const _hoisted_1$4u = { class: "px-0 pt-2 pb-0 border-b border-gray-200" };
|
|
94501
94501
|
const _hoisted_2$3h = { class: "relative" };
|
|
94502
|
-
const _hoisted_3$
|
|
94503
|
-
const _hoisted_4$
|
|
94502
|
+
const _hoisted_3$2D = ["placeholder"];
|
|
94503
|
+
const _hoisted_4$27 = ["onClick"];
|
|
94504
94504
|
const _hoisted_5$1M = {
|
|
94505
94505
|
key: 1,
|
|
94506
94506
|
class: "flex items-center mt-4"
|
|
@@ -95363,7 +95363,7 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95363
95363
|
onFocus: _cache[2] || (_cache[2] = ($event) => isInputFocused.value = true),
|
|
95364
95364
|
onInput: _cache[3] || (_cache[3] = ($event) => handleSearchInput(searchQuery.value)),
|
|
95365
95365
|
onKeydown: handleSuggestionKeydown
|
|
95366
|
-
}, null, 42, _hoisted_3$
|
|
95366
|
+
}, null, 42, _hoisted_3$2D), [
|
|
95367
95367
|
[vModelText, searchQuery.value]
|
|
95368
95368
|
]),
|
|
95369
95369
|
searchQuery.value.trim() ? (openBlock(), createElementBlock("button", {
|
|
@@ -95400,7 +95400,7 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95400
95400
|
size: "14"
|
|
95401
95401
|
}),
|
|
95402
95402
|
createTextVNode(" " + toDisplayString(suggestion), 1)
|
|
95403
|
-
], 10, _hoisted_4$
|
|
95403
|
+
], 10, _hoisted_4$27);
|
|
95404
95404
|
}), 128))
|
|
95405
95405
|
], 512)) : createCommentVNode("", true)
|
|
95406
95406
|
]),
|
|
@@ -98844,7 +98844,7 @@ const _hoisted_2$3e = {
|
|
|
98844
98844
|
key: 1,
|
|
98845
98845
|
class: "py-2 px-3"
|
|
98846
98846
|
};
|
|
98847
|
-
const _hoisted_3$
|
|
98847
|
+
const _hoisted_3$2C = { class: "flex items-center justify-between mb-2" };
|
|
98848
98848
|
const _sfc_main$5s = /* @__PURE__ */ defineComponent({
|
|
98849
98849
|
__name: "CFormatterWithFieldSelect",
|
|
98850
98850
|
props: {
|
|
@@ -99228,7 +99228,7 @@ const _sfc_main$5s = /* @__PURE__ */ defineComponent({
|
|
|
99228
99228
|
placeholder: unref(t)("canvasUI.CHandlebarsHelperTreeSelect.searchPlaceholder")
|
|
99229
99229
|
}, null, 8, ["options", "placeholder"])
|
|
99230
99230
|
])) : step.value === "field" ? (openBlock(), createElementBlock("div", _hoisted_2$3e, [
|
|
99231
|
-
createElementVNode("div", _hoisted_3$
|
|
99231
|
+
createElementVNode("div", _hoisted_3$2C, [
|
|
99232
99232
|
_cache[3] || (_cache[3] = createElementVNode("span", { class: "text-sm font-bold" }, "Now Select CRM Field", -1)),
|
|
99233
99233
|
createVNode(CButton, {
|
|
99234
99234
|
class: "text-xs",
|
|
@@ -99267,11 +99267,11 @@ const CFormatterWithFieldSelect = /* @__PURE__ */ _export_sfc(_sfc_main$5s, [["_
|
|
|
99267
99267
|
|
|
99268
99268
|
const _hoisted_1$4o = { class: "c-editor-menu__content px-3 py-1 gap-1 flex items-center" };
|
|
99269
99269
|
const _hoisted_2$3d = { class: "flex flex-wrap" };
|
|
99270
|
-
const _hoisted_3$
|
|
99270
|
+
const _hoisted_3$2B = {
|
|
99271
99271
|
key: 0,
|
|
99272
99272
|
class: "flex items-center justify-between gap-1"
|
|
99273
99273
|
};
|
|
99274
|
-
const _hoisted_4$
|
|
99274
|
+
const _hoisted_4$26 = {
|
|
99275
99275
|
key: 0,
|
|
99276
99276
|
class: "flex items-center"
|
|
99277
99277
|
};
|
|
@@ -99411,8 +99411,8 @@ const _sfc_main$5r = /* @__PURE__ */ defineComponent({
|
|
|
99411
99411
|
}, [
|
|
99412
99412
|
createElementVNode("div", _hoisted_1$4o, [
|
|
99413
99413
|
createElementVNode("div", _hoisted_2$3d, [
|
|
99414
|
-
isTextSelected.value || !isAddingTable.value && !_ctx.editor.isActive("table") ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
99415
|
-
_ctx.allowEdit ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
99414
|
+
isTextSelected.value || !isAddingTable.value && !_ctx.editor.isActive("table") ? (openBlock(), createElementBlock("div", _hoisted_3$2B, [
|
|
99415
|
+
_ctx.allowEdit ? (openBlock(), createElementBlock("div", _hoisted_4$26, [
|
|
99416
99416
|
createVNode(_sfc_main$5H, { editor: _ctx.editor }, null, 8, ["editor"]),
|
|
99417
99417
|
showFontControls.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
99418
99418
|
!editorFeatures.value.canvasTokens ? (openBlock(), createBlock(_sfc_main$5G, {
|
|
@@ -100258,7 +100258,7 @@ const CMonacoEditor = /* @__PURE__ */ _export_sfc(_sfc_main$5p, [["__scopeId", "
|
|
|
100258
100258
|
|
|
100259
100259
|
const _hoisted_1$4l = { class: "c-single-select flex flex-col gap-2 pa-2" };
|
|
100260
100260
|
const _hoisted_2$3a = ["onClick"];
|
|
100261
|
-
const _hoisted_3$
|
|
100261
|
+
const _hoisted_3$2A = { class: "ml-2" };
|
|
100262
100262
|
const _sfc_main$5o = /* @__PURE__ */ defineComponent({
|
|
100263
100263
|
__name: "CSingleSelect",
|
|
100264
100264
|
props: {
|
|
@@ -100290,7 +100290,7 @@ const _sfc_main$5o = /* @__PURE__ */ defineComponent({
|
|
|
100290
100290
|
class: "ml-2",
|
|
100291
100291
|
icon: option.icon
|
|
100292
100292
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
100293
|
-
createElementVNode("span", _hoisted_3$
|
|
100293
|
+
createElementVNode("span", _hoisted_3$2A, toDisplayString(option.title), 1)
|
|
100294
100294
|
], 10, _hoisted_2$3a);
|
|
100295
100295
|
}), 128))
|
|
100296
100296
|
]);
|
|
@@ -100390,8 +100390,8 @@ const _sfc_main$5n = /* @__PURE__ */ defineComponent({
|
|
|
100390
100390
|
|
|
100391
100391
|
const _hoisted_1$4k = ["onClick"];
|
|
100392
100392
|
const _hoisted_2$39 = { class: "ml-2" };
|
|
100393
|
-
const _hoisted_3$
|
|
100394
|
-
const _hoisted_4$
|
|
100393
|
+
const _hoisted_3$2z = { class: "flex flex-1 justify-end" };
|
|
100394
|
+
const _hoisted_4$25 = { class: "mr-2 rounded-5 px-2 py-1 c-multi-select__item__counter font-500 text-3 line-height-none" };
|
|
100395
100395
|
const _sfc_main$5m = /* @__PURE__ */ defineComponent({
|
|
100396
100396
|
__name: "CMultiSelect",
|
|
100397
100397
|
props: {
|
|
@@ -100454,8 +100454,8 @@ const _sfc_main$5m = /* @__PURE__ */ defineComponent({
|
|
|
100454
100454
|
"onUpdate:value": () => toggleItem(item)
|
|
100455
100455
|
}, null, 8, ["checked", "value", "onUpdate:value"]),
|
|
100456
100456
|
createElementVNode("span", _hoisted_2$39, toDisplayString(item.title), 1),
|
|
100457
|
-
createElementVNode("div", _hoisted_3$
|
|
100458
|
-
createElementVNode("span", _hoisted_4$
|
|
100457
|
+
createElementVNode("div", _hoisted_3$2z, [
|
|
100458
|
+
createElementVNode("span", _hoisted_4$25, toDisplayString(item.count), 1)
|
|
100459
100459
|
])
|
|
100460
100460
|
], 10, _hoisted_1$4k);
|
|
100461
100461
|
}), 128))
|
|
@@ -100566,8 +100566,8 @@ const CVirtualTableRow = /* @__PURE__ */ _export_sfc(_sfc_main$5l, [["__scopeId"
|
|
|
100566
100566
|
|
|
100567
100567
|
const _hoisted_1$4i = { class: "c-virtual-table w-full h-full flex flex-col" };
|
|
100568
100568
|
const _hoisted_2$38 = { class: "w-full flex c-virtual-table__header" };
|
|
100569
|
-
const _hoisted_3$
|
|
100570
|
-
const _hoisted_4$
|
|
100569
|
+
const _hoisted_3$2y = { class: "overflow-hidden c-virtual-table__content" };
|
|
100570
|
+
const _hoisted_4$24 = {
|
|
100571
100571
|
key: 0,
|
|
100572
100572
|
class: "flex py-8 justify-center h-full"
|
|
100573
100573
|
};
|
|
@@ -100664,8 +100664,8 @@ const _sfc_main$5k = /* @__PURE__ */ defineComponent({
|
|
|
100664
100664
|
], 2);
|
|
100665
100665
|
}), 128))
|
|
100666
100666
|
]),
|
|
100667
|
-
createElementVNode("div", _hoisted_3$
|
|
100668
|
-
tableDataWithIndexes.value?.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
100667
|
+
createElementVNode("div", _hoisted_3$2y, [
|
|
100668
|
+
tableDataWithIndexes.value?.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_4$24, [
|
|
100669
100669
|
createElementVNode("span", null, toDisplayString(unref(t)("canvasUI.common.noData")), 1)
|
|
100670
100670
|
])) : (openBlock(), createElementBlock("div", {
|
|
100671
100671
|
key: 1,
|
|
@@ -100905,8 +100905,8 @@ function useFilterSuggestions(options = {}) {
|
|
|
100905
100905
|
|
|
100906
100906
|
const _hoisted_1$4g = ["v-bind"];
|
|
100907
100907
|
const _hoisted_2$37 = { class: "flex items-center px-6 font-size-4" };
|
|
100908
|
-
const _hoisted_3$
|
|
100909
|
-
const _hoisted_4$
|
|
100908
|
+
const _hoisted_3$2x = { class: "mb-2 py-2 px-6" };
|
|
100909
|
+
const _hoisted_4$23 = { class: "flex items-center" };
|
|
100910
100910
|
const _hoisted_5$1J = { key: 0 };
|
|
100911
100911
|
const _hoisted_6$1u = {
|
|
100912
100912
|
key: 1,
|
|
@@ -101144,7 +101144,7 @@ const _sfc_main$5h = /* @__PURE__ */ defineComponent({
|
|
|
101144
101144
|
onClick: onClearSearch
|
|
101145
101145
|
}, toDisplayString(unref(t)("canvasUI.components.filters.clear")), 1)) : createCommentVNode("", true)
|
|
101146
101146
|
]),
|
|
101147
|
-
createElementVNode("div", _hoisted_3$
|
|
101147
|
+
createElementVNode("div", _hoisted_3$2x, [
|
|
101148
101148
|
!_ctx.isCustom && !!unref(pitcherSettings).enable_search_filter_with_suggestions ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
101149
101149
|
!hasMoreData.value && distinctValues.value.length > 0 ? (openBlock(), createBlock(unref(NSelect), {
|
|
101150
101150
|
key: 0,
|
|
@@ -101203,7 +101203,7 @@ const _sfc_main$5h = /* @__PURE__ */ defineComponent({
|
|
|
101203
101203
|
onClick: _cache[0] || (_cache[0] = ($event) => isOpen.value = !isOpen.value)
|
|
101204
101204
|
}, {
|
|
101205
101205
|
default: withCtx(() => [
|
|
101206
|
-
createElementVNode("div", _hoisted_4$
|
|
101206
|
+
createElementVNode("div", _hoisted_4$23, [
|
|
101207
101207
|
!_ctx.modelValue ? (openBlock(), createElementBlock("div", _hoisted_5$1J, toDisplayString(filterName.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_6$1u, toDisplayString(`${filterName.value}:`), 1)),
|
|
101208
101208
|
_ctx.modelValue ? (openBlock(), createElementBlock("div", _hoisted_7$17, toDisplayString(_ctx.modelValue), 1)) : createCommentVNode("", true)
|
|
101209
101209
|
])
|
|
@@ -101280,8 +101280,8 @@ const CSearchFilter = /* @__PURE__ */ _export_sfc(_sfc_main$5h, [["__scopeId", "
|
|
|
101280
101280
|
|
|
101281
101281
|
const _hoisted_1$4f = ["v-bind"];
|
|
101282
101282
|
const _hoisted_2$36 = { class: "flex items-center gap-2 px-6 font-size-4" };
|
|
101283
|
-
const _hoisted_3$
|
|
101284
|
-
const _hoisted_4$
|
|
101283
|
+
const _hoisted_3$2w = { class: "mb-2 py-2 px-6" };
|
|
101284
|
+
const _hoisted_4$22 = { class: "flex items-center" };
|
|
101285
101285
|
const _hoisted_5$1I = { key: 0 };
|
|
101286
101286
|
const _hoisted_6$1t = {
|
|
101287
101287
|
key: 1,
|
|
@@ -101385,7 +101385,7 @@ const _sfc_main$5g = /* @__PURE__ */ defineComponent({
|
|
|
101385
101385
|
onClick: onClearSelection
|
|
101386
101386
|
}, toDisplayString(unref(t)("canvasUI.components.filters.clear")), 1)) : createCommentVNode("", true)
|
|
101387
101387
|
]),
|
|
101388
|
-
createElementVNode("div", _hoisted_3$
|
|
101388
|
+
createElementVNode("div", _hoisted_3$2w, [
|
|
101389
101389
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, (option) => {
|
|
101390
101390
|
return openBlock(), createElementBlock("div", {
|
|
101391
101391
|
key: option.value,
|
|
@@ -101430,7 +101430,7 @@ const _sfc_main$5g = /* @__PURE__ */ defineComponent({
|
|
|
101430
101430
|
onClick: _cache[0] || (_cache[0] = ($event) => isOpen.value = !isOpen.value)
|
|
101431
101431
|
}, {
|
|
101432
101432
|
default: withCtx(() => [
|
|
101433
|
-
createElementVNode("div", _hoisted_4$
|
|
101433
|
+
createElementVNode("div", _hoisted_4$22, [
|
|
101434
101434
|
!activeFilterValues.value.length ? (openBlock(), createElementBlock("div", _hoisted_5$1I, toDisplayString(filterName.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_6$1t, toDisplayString(`${filterName.value}:`), 1)),
|
|
101435
101435
|
activeFilterValues.value.length ? (openBlock(), createElementBlock("div", _hoisted_7$16, toDisplayString(activeFilterValues.value[0]?.label), 1)) : createCommentVNode("", true),
|
|
101436
101436
|
activeFilterValues.value.length > 1 ? (openBlock(), createElementBlock("div", {
|
|
@@ -101505,8 +101505,8 @@ const CSelectFilter = /* @__PURE__ */ _export_sfc(_sfc_main$5g, [["__scopeId", "
|
|
|
101505
101505
|
|
|
101506
101506
|
const _hoisted_1$4e = ["v-bind"];
|
|
101507
101507
|
const _hoisted_2$35 = { class: "flex items-center px-6 font-size-4" };
|
|
101508
|
-
const _hoisted_3$
|
|
101509
|
-
const _hoisted_4$
|
|
101508
|
+
const _hoisted_3$2v = { class: "mb-2 py-2 px-6" };
|
|
101509
|
+
const _hoisted_4$21 = { key: 0 };
|
|
101510
101510
|
const _hoisted_5$1H = {
|
|
101511
101511
|
key: 1,
|
|
101512
101512
|
class: "font-bold"
|
|
@@ -101597,7 +101597,7 @@ const _sfc_main$5f = /* @__PURE__ */ defineComponent({
|
|
|
101597
101597
|
onClick: onClearSelection
|
|
101598
101598
|
}, toDisplayString(unref(t)("canvasUI.components.filters.clear")), 1)) : createCommentVNode("", true)
|
|
101599
101599
|
]),
|
|
101600
|
-
createElementVNode("div", _hoisted_3$
|
|
101600
|
+
createElementVNode("div", _hoisted_3$2v, [
|
|
101601
101601
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, (option) => {
|
|
101602
101602
|
return openBlock(), createElementBlock("div", {
|
|
101603
101603
|
key: option.value,
|
|
@@ -101650,7 +101650,7 @@ const _sfc_main$5f = /* @__PURE__ */ defineComponent({
|
|
|
101650
101650
|
onClick: togglePopover
|
|
101651
101651
|
}, {
|
|
101652
101652
|
default: withCtx(() => [
|
|
101653
|
-
!activeFilter.value && !_ctx.modelValue ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
101653
|
+
!activeFilter.value && !_ctx.modelValue ? (openBlock(), createElementBlock("span", _hoisted_4$21, toDisplayString(filterName.value), 1)) : (openBlock(), createElementBlock("span", _hoisted_5$1H, toDisplayString(`${filterName.value}:`), 1)),
|
|
101654
101654
|
activeFilter.value || _ctx.modelValue ? (openBlock(), createElementBlock("span", _hoisted_6$1s, toDisplayString(activeFilter.value ? activeFilter.value.label : `${_ctx.modelValue?.[0]} - ${_ctx.modelValue?.[1]}`), 1)) : createCommentVNode("", true)
|
|
101655
101655
|
]),
|
|
101656
101656
|
_: 1
|
|
@@ -101934,7 +101934,7 @@ const _sfc_main$5e = /* @__PURE__ */ defineComponent({
|
|
|
101934
101934
|
|
|
101935
101935
|
const _hoisted_1$4c = { class: "flex flex-col gap-1" };
|
|
101936
101936
|
const _hoisted_2$33 = { class: "flex flex-wrap gap-1" };
|
|
101937
|
-
const _hoisted_3$
|
|
101937
|
+
const _hoisted_3$2u = { class: "font-bold" };
|
|
101938
101938
|
const _sfc_main$5d = /* @__PURE__ */ defineComponent({
|
|
101939
101939
|
__name: "CCanvasDeleteDialogContent",
|
|
101940
101940
|
props: {
|
|
@@ -101946,7 +101946,7 @@ const _sfc_main$5d = /* @__PURE__ */ defineComponent({
|
|
|
101946
101946
|
return openBlock(), createElementBlock("div", _hoisted_1$4c, [
|
|
101947
101947
|
createElementVNode("div", _hoisted_2$33, [
|
|
101948
101948
|
createElementVNode("div", null, toDisplayString(_ctx.texts.name), 1),
|
|
101949
|
-
createElementVNode("div", _hoisted_3$
|
|
101949
|
+
createElementVNode("div", _hoisted_3$2u, toDisplayString(_ctx.name), 1)
|
|
101950
101950
|
]),
|
|
101951
101951
|
createElementVNode("div", null, toDisplayString(_ctx.texts.info), 1)
|
|
101952
101952
|
]);
|
|
@@ -101961,11 +101961,11 @@ const DEFAULT_PAGE_SIZE_OPTIONS = [20, 30, 50, 100];
|
|
|
101961
101961
|
|
|
101962
101962
|
const _hoisted_1$4b = { class: "c-table rounded-2 pa-2 bg-base" };
|
|
101963
101963
|
const _hoisted_2$32 = { key: 0 };
|
|
101964
|
-
const _hoisted_3$
|
|
101964
|
+
const _hoisted_3$2t = {
|
|
101965
101965
|
key: 0,
|
|
101966
101966
|
class: "sticky top-0 z-2 overflow-hidden w-[26px]"
|
|
101967
101967
|
};
|
|
101968
|
-
const _hoisted_4$
|
|
101968
|
+
const _hoisted_4$20 = ["onClick"];
|
|
101969
101969
|
const _hoisted_5$1G = ["onMousedown", "onTouchstart"];
|
|
101970
101970
|
const _hoisted_6$1r = { key: 1 };
|
|
101971
101971
|
const _hoisted_7$14 = {
|
|
@@ -102323,7 +102323,7 @@ const _sfc_main$5c = /* @__PURE__ */ defineComponent({
|
|
|
102323
102323
|
}, [
|
|
102324
102324
|
!!unref(table).getRowModel().rows.length ? (openBlock(), createElementBlock("thead", _hoisted_2$32, [
|
|
102325
102325
|
createElementVNode("tr", null, [
|
|
102326
|
-
_ctx.selectedRows && _ctx.selectable ? (openBlock(), createElementBlock("th", _hoisted_3$
|
|
102326
|
+
_ctx.selectedRows && _ctx.selectable ? (openBlock(), createElementBlock("th", _hoisted_3$2t, [
|
|
102327
102327
|
createElementVNode("div", {
|
|
102328
102328
|
class: "py-2 h-[40px] flex pl-3 items-center select-none bg-base",
|
|
102329
102329
|
style: normalizeStyle({ borderBottom: `1px solid ${unref(themeVars).primary5}` })
|
|
@@ -102398,7 +102398,7 @@ const _sfc_main$5c = /* @__PURE__ */ defineComponent({
|
|
|
102398
102398
|
onMousedown: withModifiers(($event) => handleResizeStart($event, header), ["stop"]),
|
|
102399
102399
|
onTouchstart: withModifiers(($event) => handleResizeStart($event, header), ["stop"])
|
|
102400
102400
|
}, null, 46, _hoisted_5$1G)) : createCommentVNode("", true)
|
|
102401
|
-
], 14, _hoisted_4$
|
|
102401
|
+
], 14, _hoisted_4$20);
|
|
102402
102402
|
}), 128))
|
|
102403
102403
|
])
|
|
102404
102404
|
])) : createCommentVNode("", true),
|
|
@@ -102576,8 +102576,8 @@ const _hoisted_1$4a = {
|
|
|
102576
102576
|
class: "flex items-center relative c-table-input--view flex-auto"
|
|
102577
102577
|
};
|
|
102578
102578
|
const _hoisted_2$31 = { class: "h-full flex gap-1 items-center relative min-w-0 flex-1 c-table-input--view__value" };
|
|
102579
|
-
const _hoisted_3$
|
|
102580
|
-
const _hoisted_4$
|
|
102579
|
+
const _hoisted_3$2s = ["innerHTML"];
|
|
102580
|
+
const _hoisted_4$1$ = { class: "flex-shrink-0" };
|
|
102581
102581
|
const _hoisted_5$1F = {
|
|
102582
102582
|
key: 1,
|
|
102583
102583
|
class: "flex items-center gap-[2px] c-table-input--edit flex-auto"
|
|
@@ -102653,7 +102653,7 @@ const _sfc_main$5a = /* @__PURE__ */ defineComponent({
|
|
|
102653
102653
|
ref: textRef,
|
|
102654
102654
|
class: normalizeClass(["overflow-hidden text-ellipsis whitespace-nowrap min-w-0", _ctx.valueClass]),
|
|
102655
102655
|
innerHTML: unref(highlight)(_ctx.modelValue, _ctx.search)
|
|
102656
|
-
}, null, 10, _hoisted_3$
|
|
102656
|
+
}, null, 10, _hoisted_3$2s), [
|
|
102657
102657
|
[_directive_tooltip, showTooltip.value ? _ctx.modelValue : null]
|
|
102658
102658
|
]),
|
|
102659
102659
|
!_ctx.readonly && (!unref(isPitcherOrIosDevice) || _ctx.alwaysDisplayEditIcon) ? withDirectives((openBlock(), createElementBlock("div", {
|
|
@@ -102669,7 +102669,7 @@ const _sfc_main$5a = /* @__PURE__ */ defineComponent({
|
|
|
102669
102669
|
[_directive_tooltip, unref(t)("canvasUI.common.edit")]
|
|
102670
102670
|
]) : createCommentVNode("", true)
|
|
102671
102671
|
]),
|
|
102672
|
-
createElementVNode("div", _hoisted_4$
|
|
102672
|
+
createElementVNode("div", _hoisted_4$1$, [
|
|
102673
102673
|
renderSlot(_ctx.$slots, "suffix")
|
|
102674
102674
|
])
|
|
102675
102675
|
])) : _ctx.state === "edit" ? (openBlock(), createElementBlock("div", _hoisted_5$1F, [
|
|
@@ -102704,11 +102704,11 @@ const _hoisted_2$30 = {
|
|
|
102704
102704
|
key: 0,
|
|
102705
102705
|
class: "flex items-center c-table-tag--view"
|
|
102706
102706
|
};
|
|
102707
|
-
const _hoisted_3$
|
|
102707
|
+
const _hoisted_3$2r = {
|
|
102708
102708
|
key: 0,
|
|
102709
102709
|
class: "c-table-tag--view__tags flex flex-wrap items-center truncate gap-1"
|
|
102710
102710
|
};
|
|
102711
|
-
const _hoisted_4$
|
|
102711
|
+
const _hoisted_4$1_ = {
|
|
102712
102712
|
key: 0,
|
|
102713
102713
|
class: "font-size-[14px] tracking-[0.4px] leading-normal color-text2 whitespace-pre-wrap"
|
|
102714
102714
|
};
|
|
@@ -102813,8 +102813,8 @@ const _sfc_main$59 = /* @__PURE__ */ defineComponent({
|
|
|
102813
102813
|
const _directive_tooltip = resolveDirective("tooltip");
|
|
102814
102814
|
return openBlock(), createElementBlock("div", _hoisted_1$49, [
|
|
102815
102815
|
_ctx.state === "view" ? (openBlock(), createElementBlock("div", _hoisted_2$30, [
|
|
102816
|
-
tags.value.length ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
102817
|
-
_ctx.displayAsText ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
102816
|
+
tags.value.length ? (openBlock(), createElementBlock("div", _hoisted_3$2r, [
|
|
102817
|
+
_ctx.displayAsText ? (openBlock(), createElementBlock("div", _hoisted_4$1_, [
|
|
102818
102818
|
createElementVNode("span", {
|
|
102819
102819
|
innerHTML: unref(highlight)(tags.value.join(", "), _ctx.search)
|
|
102820
102820
|
}, null, 8, _hoisted_5$1E)
|
|
@@ -102917,8 +102917,8 @@ const CTableTag = /* @__PURE__ */ _export_sfc(_sfc_main$59, [["__scopeId", "data
|
|
|
102917
102917
|
|
|
102918
102918
|
const _hoisted_1$48 = { class: "flex flex-col w-full px-2" };
|
|
102919
102919
|
const _hoisted_2$2$ = { class: "font-bold" };
|
|
102920
|
-
const _hoisted_3$
|
|
102921
|
-
const _hoisted_4$
|
|
102920
|
+
const _hoisted_3$2q = { class: "flex flex-col gap-2 mt-2 mb-4" };
|
|
102921
|
+
const _hoisted_4$1Z = ["onDragstart", "onDrop"];
|
|
102922
102922
|
const _sfc_main$58 = /* @__PURE__ */ defineComponent({
|
|
102923
102923
|
__name: "CTableColumnsSettings",
|
|
102924
102924
|
props: {
|
|
@@ -102985,7 +102985,7 @@ const _sfc_main$58 = /* @__PURE__ */ defineComponent({
|
|
|
102985
102985
|
default: withCtx(() => [
|
|
102986
102986
|
createElementVNode("div", _hoisted_1$48, [
|
|
102987
102987
|
createElementVNode("div", _hoisted_2$2$, toDisplayString(unref(t)("canvasUI.components.CTableColumnsSettings.show")), 1),
|
|
102988
|
-
createElementVNode("div", _hoisted_3$
|
|
102988
|
+
createElementVNode("div", _hoisted_3$2q, [
|
|
102989
102989
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.tableColumnsSettings, (item, index) => {
|
|
102990
102990
|
return openBlock(), createElementBlock("div", {
|
|
102991
102991
|
key: item.id,
|
|
@@ -103006,7 +103006,7 @@ const _sfc_main$58 = /* @__PURE__ */ defineComponent({
|
|
|
103006
103006
|
value: item.id,
|
|
103007
103007
|
"onUpdate:checked": ($event) => handleItemClick(item, $event)
|
|
103008
103008
|
}, null, 8, ["checked", "label", "value", "onUpdate:checked"])
|
|
103009
|
-
], 42, _hoisted_4$
|
|
103009
|
+
], 42, _hoisted_4$1Z);
|
|
103010
103010
|
}), 128))
|
|
103011
103011
|
]),
|
|
103012
103012
|
createVNode(CButton, {
|
|
@@ -103030,7 +103030,7 @@ const CTableColumnsSettings = /* @__PURE__ */ _export_sfc(_sfc_main$58, [["__sco
|
|
|
103030
103030
|
|
|
103031
103031
|
const _hoisted_1$47 = { class: "c-search-filters flex flex-wrap items-center gap-2 w-full" };
|
|
103032
103032
|
const _hoisted_2$2_ = { class: "flex flex-col ma-2" };
|
|
103033
|
-
const _hoisted_3$
|
|
103033
|
+
const _hoisted_3$2p = {
|
|
103034
103034
|
key: 0,
|
|
103035
103035
|
class: "flex flex-wrap gap-2"
|
|
103036
103036
|
};
|
|
@@ -103557,7 +103557,7 @@ const _sfc_main$57 = /* @__PURE__ */ defineComponent({
|
|
|
103557
103557
|
createVNode(unref(NCollapse), { "default-expanded-names": expandedNames.value }, {
|
|
103558
103558
|
default: withCtx(() => [
|
|
103559
103559
|
createElementVNode("div", _hoisted_2$2_, [
|
|
103560
|
-
hasAnySystemFilter.value ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
103560
|
+
hasAnySystemFilter.value ? (openBlock(), createElementBlock("div", _hoisted_3$2p, [
|
|
103561
103561
|
(openBlock(true), createElementBlock(Fragment, null, renderList(systemFilters.value, (f) => {
|
|
103562
103562
|
return openBlock(), createBlock(_sfc_main$5i, {
|
|
103563
103563
|
key: f.name,
|
|
@@ -104325,7 +104325,7 @@ function useSectionSmartFolderStore() {
|
|
|
104325
104325
|
|
|
104326
104326
|
const _hoisted_1$46 = { class: "c-section-management-toolbar flex flex-wrap justify-between items-start gap-4 pa-4 rounded-2 bg-base" };
|
|
104327
104327
|
const _hoisted_2$2Z = { class: "flex flex-wrap items-center gap-2 flex-1" };
|
|
104328
|
-
const _hoisted_3$
|
|
104328
|
+
const _hoisted_3$2o = { class: "flex gap-2" };
|
|
104329
104329
|
const _sfc_main$56 = /* @__PURE__ */ defineComponent({
|
|
104330
104330
|
__name: "CSectionManagementToolbar",
|
|
104331
104331
|
props: {
|
|
@@ -104386,7 +104386,7 @@ const _sfc_main$56 = /* @__PURE__ */ defineComponent({
|
|
|
104386
104386
|
"onUpdate:search": _cache[1] || (_cache[1] = ($event) => emit("search", $event))
|
|
104387
104387
|
}), null, 16, ["customFilterComponents", "disabled", "filters", "include-draft-values", "initial-search-value", "placeholder"])
|
|
104388
104388
|
]),
|
|
104389
|
-
createElementVNode("div", _hoisted_3$
|
|
104389
|
+
createElementVNode("div", _hoisted_3$2o, [
|
|
104390
104390
|
showSmartFolderToggle.value ? withDirectives((openBlock(), createBlock(CButton, {
|
|
104391
104391
|
key: 0,
|
|
104392
104392
|
circle: "",
|
|
@@ -104594,7 +104594,7 @@ const _hoisted_1$44 = {
|
|
|
104594
104594
|
const _hoisted_2$2Y = {
|
|
104595
104595
|
class: "flex items-center gap-4"
|
|
104596
104596
|
};
|
|
104597
|
-
const _hoisted_3$
|
|
104597
|
+
const _hoisted_3$2n = {
|
|
104598
104598
|
class: "flex items-center gap-2"
|
|
104599
104599
|
};
|
|
104600
104600
|
const ACTIONS_FONT_SIZE_CLASS = 'font-size-4';
|
|
@@ -104798,7 +104798,7 @@ const _sfc_main$54 = /*@__PURE__*/defineComponent({
|
|
|
104798
104798
|
size: "12px"
|
|
104799
104799
|
})]),
|
|
104800
104800
|
_: 1
|
|
104801
|
-
}, 8, ["disabled"])), [[unref(vTooltip), props.shareboxTooltip || unref(t)('canvasUI.browserApp.contextMenu.addToSharebox')]]) : createCommentVNode("", true)]), createElementVNode("div", _hoisted_3$
|
|
104801
|
+
}, 8, ["disabled"])), [[unref(vTooltip), props.shareboxTooltip || unref(t)('canvasUI.browserApp.contextMenu.addToSharebox')]]) : createCommentVNode("", true)]), createElementVNode("div", _hoisted_3$2n, [renderSlot(_ctx.$slots, "start"), _ctx.showFavorite ? withDirectives((openBlock(), createBlock(CButton, {
|
|
104802
104802
|
key: 0,
|
|
104803
104803
|
circle: "",
|
|
104804
104804
|
color: _ctx.areAllSelectedFavorites ? unref(themeVars).accent : unref(themeVars).primary,
|
|
@@ -104887,7 +104887,7 @@ const _sfc_main$53 = /* @__PURE__ */ defineComponent({
|
|
|
104887
104887
|
|
|
104888
104888
|
const _hoisted_1$43 = { class: "c-popularity-and-engagement-icons" };
|
|
104889
104889
|
const _hoisted_2$2X = { key: 0 };
|
|
104890
|
-
const _hoisted_3$
|
|
104890
|
+
const _hoisted_3$2m = { key: 1 };
|
|
104891
104891
|
const _sfc_main$52 = /* @__PURE__ */ defineComponent({
|
|
104892
104892
|
__name: "CPopularityAndEngagementIcons",
|
|
104893
104893
|
props: {
|
|
@@ -105051,7 +105051,7 @@ const _sfc_main$52 = /* @__PURE__ */ defineComponent({
|
|
|
105051
105051
|
]),
|
|
105052
105052
|
default: withCtx(() => [
|
|
105053
105053
|
_ctx.popularity?.value ? (openBlock(), createElementBlock("span", _hoisted_2$2X, toDisplayString(_ctx.popularity?.value) + "% " + toDisplayString(unref(t)("canvasUI.CPopularityAndEngagementIcons.popularityScore")) + ", ", 1)) : createCommentVNode("", true),
|
|
105054
|
-
_ctx.views ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
105054
|
+
_ctx.views ? (openBlock(), createElementBlock("span", _hoisted_3$2m, toDisplayString(unref(t)("canvasUI.CPopularityAndEngagementIcons.views")) + ": " + toDisplayString(_ctx.views), 1)) : createCommentVNode("", true)
|
|
105055
105055
|
]),
|
|
105056
105056
|
_: 1
|
|
105057
105057
|
}, 8, ["style", "trigger"])) : createCommentVNode("", true),
|
|
@@ -105255,8 +105255,8 @@ function usePopularity() {
|
|
|
105255
105255
|
|
|
105256
105256
|
const _hoisted_1$42 = { class: "mb-2" };
|
|
105257
105257
|
const _hoisted_2$2W = { class: "w-full" };
|
|
105258
|
-
const _hoisted_3$
|
|
105259
|
-
const _hoisted_4$
|
|
105258
|
+
const _hoisted_3$2l = { class: "text-left px-2 py-1 font-bold bg-primary5" };
|
|
105259
|
+
const _hoisted_4$1Y = { class: "text-left px-2 py-1 font-bold bg-primary5" };
|
|
105260
105260
|
const _hoisted_5$1D = { class: "text-left px-2 py-1 font-bold bg-primary5" };
|
|
105261
105261
|
const _hoisted_6$1p = { class: "px-2 py-1" };
|
|
105262
105262
|
const _hoisted_7$12 = { class: "px-2 py-1" };
|
|
@@ -105281,8 +105281,8 @@ const _sfc_main$51 = /* @__PURE__ */ defineComponent({
|
|
|
105281
105281
|
createElementVNode("table", _hoisted_2$2W, [
|
|
105282
105282
|
createElementVNode("thead", null, [
|
|
105283
105283
|
createElementVNode("tr", null, [
|
|
105284
|
-
createElementVNode("th", _hoisted_3$
|
|
105285
|
-
createElementVNode("th", _hoisted_4$
|
|
105284
|
+
createElementVNode("th", _hoisted_3$2l, toDisplayString(_ctx.nameText ?? unref(t)("canvasUI.components.templates.CBulkDeleteErrors.name")), 1),
|
|
105285
|
+
createElementVNode("th", _hoisted_4$1Y, toDisplayString(_ctx.idText ?? unref(t)("canvasUI.components.templates.CBulkDeleteErrors.id")), 1),
|
|
105286
105286
|
createElementVNode("th", _hoisted_5$1D, toDisplayString(_ctx.msgText ?? unref(t)("canvasUI.components.templates.CBulkDeleteErrors.errorMessage")), 1)
|
|
105287
105287
|
])
|
|
105288
105288
|
]),
|
|
@@ -107160,7 +107160,7 @@ const _hoisted_1$40 = {
|
|
|
107160
107160
|
class: "flex items-center gap-2"
|
|
107161
107161
|
};
|
|
107162
107162
|
const _hoisted_2$2U = { key: 0 };
|
|
107163
|
-
const _hoisted_3$
|
|
107163
|
+
const _hoisted_3$2k = {
|
|
107164
107164
|
key: 0,
|
|
107165
107165
|
class: "flex gap-2"
|
|
107166
107166
|
};
|
|
@@ -107231,7 +107231,7 @@ const _sfc_main$4Z = /* @__PURE__ */ defineComponent({
|
|
|
107231
107231
|
]),
|
|
107232
107232
|
_: 1
|
|
107233
107233
|
})) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
107234
|
-
unref(launchDarkly).selectors_dnd_batch_add_style && ["buttons"].includes(unref(launchDarkly).selectors_dnd_batch_add_style) ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
107234
|
+
unref(launchDarkly).selectors_dnd_batch_add_style && ["buttons"].includes(unref(launchDarkly).selectors_dnd_batch_add_style) ? (openBlock(), createElementBlock("div", _hoisted_3$2k, [
|
|
107235
107235
|
createVNode(CButton, {
|
|
107236
107236
|
size: "small",
|
|
107237
107237
|
onClick: _cache[2] || (_cache[2] = ($event) => emit("items-added", _ctx.selectedItemIds, "top"))
|
|
@@ -107314,10 +107314,10 @@ const _hoisted_1$3$ = {
|
|
|
107314
107314
|
const _hoisted_2$2T = {
|
|
107315
107315
|
class: "actions-toolbar__nav bg-base rounded-2 pa-4 pb-4 flex flex-col gap-3"
|
|
107316
107316
|
};
|
|
107317
|
-
const _hoisted_3$
|
|
107317
|
+
const _hoisted_3$2j = {
|
|
107318
107318
|
class: "flex justify-between items-center flex-wrap"
|
|
107319
107319
|
};
|
|
107320
|
-
const _hoisted_4$
|
|
107320
|
+
const _hoisted_4$1X = {
|
|
107321
107321
|
class: "breadcrumb-area flex justify-between gap-2 items-center truncate"
|
|
107322
107322
|
};
|
|
107323
107323
|
const _hoisted_5$1C = {
|
|
@@ -107537,7 +107537,7 @@ const _sfc_main$4Y = /*@__PURE__*/defineComponent({
|
|
|
107537
107537
|
}
|
|
107538
107538
|
return (_ctx, _cache) => {
|
|
107539
107539
|
const _directive_tooltip = resolveDirective("tooltip");
|
|
107540
|
-
return openBlock(), createElementBlock("div", _hoisted_1$3$, [createElementVNode("div", _hoisted_2$2T, [createElementVNode("div", _hoisted_3$
|
|
107540
|
+
return openBlock(), createElementBlock("div", _hoisted_1$3$, [createElementVNode("div", _hoisted_2$2T, [createElementVNode("div", _hoisted_3$2j, [createElementVNode("div", _hoisted_4$1X, [createVNode(unref(NBreadcrumb), {
|
|
107541
107541
|
class: "overflow-x-auto",
|
|
107542
107542
|
separator: ">"
|
|
107543
107543
|
}, {
|
|
@@ -107789,11 +107789,11 @@ const _sfc_main$4W = /* @__PURE__ */ defineComponent({
|
|
|
107789
107789
|
|
|
107790
107790
|
const _hoisted_1$3Z = { class: "c-list w-full flex flex-col" };
|
|
107791
107791
|
const _hoisted_2$2S = { class: "overflow-hidden c-list__content" };
|
|
107792
|
-
const _hoisted_3$
|
|
107792
|
+
const _hoisted_3$2i = {
|
|
107793
107793
|
key: 0,
|
|
107794
107794
|
class: "flex py-8 justify-center h-full"
|
|
107795
107795
|
};
|
|
107796
|
-
const _hoisted_4$
|
|
107796
|
+
const _hoisted_4$1W = ["data-index"];
|
|
107797
107797
|
const _sfc_main$4V = /* @__PURE__ */ defineComponent({
|
|
107798
107798
|
__name: "CList",
|
|
107799
107799
|
props: {
|
|
@@ -107881,7 +107881,7 @@ const _sfc_main$4V = /* @__PURE__ */ defineComponent({
|
|
|
107881
107881
|
return (_ctx, _cache) => {
|
|
107882
107882
|
return openBlock(), createElementBlock("div", _hoisted_1$3Z, [
|
|
107883
107883
|
createElementVNode("div", _hoisted_2$2S, [
|
|
107884
|
-
listDataWithIndices.value?.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
107884
|
+
listDataWithIndices.value?.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_3$2i, [
|
|
107885
107885
|
createElementVNode("span", null, toDisplayString(unref(t)("canvasUI.common.noData")), 1)
|
|
107886
107886
|
])) : (openBlock(), createElementBlock("div", {
|
|
107887
107887
|
key: 1,
|
|
@@ -107934,7 +107934,7 @@ const _sfc_main$4V = /* @__PURE__ */ defineComponent({
|
|
|
107934
107934
|
]),
|
|
107935
107935
|
_: 2
|
|
107936
107936
|
}, 1032, ["context-menu-x", "context-menu-y", "index", "is-context-menu-open", "item", "movable", "selected-ids"])
|
|
107937
|
-
], 12, _hoisted_4$
|
|
107937
|
+
], 12, _hoisted_4$1W);
|
|
107938
107938
|
}), 128))
|
|
107939
107939
|
], 4)) : createCommentVNode("", true)
|
|
107940
107940
|
], 4))
|
|
@@ -108061,8 +108061,8 @@ const _hoisted_1$3X = {
|
|
|
108061
108061
|
class: "c-popularity-and-engagement-icons flex flex-wrap"
|
|
108062
108062
|
};
|
|
108063
108063
|
const _hoisted_2$2R = { key: 0 };
|
|
108064
|
-
const _hoisted_3$
|
|
108065
|
-
const _hoisted_4$
|
|
108064
|
+
const _hoisted_3$2h = { key: 1 };
|
|
108065
|
+
const _hoisted_4$1V = { key: 0 };
|
|
108066
108066
|
const _hoisted_5$1B = { key: 1 };
|
|
108067
108067
|
const _hoisted_6$1n = { key: 0 };
|
|
108068
108068
|
const _hoisted_7$10 = { key: 0 };
|
|
@@ -108212,7 +108212,7 @@ const _sfc_main$4S = /* @__PURE__ */ defineComponent({
|
|
|
108212
108212
|
_ctx.variation === "extended" ? (openBlock(), createElementBlock("div", _hoisted_2$2R, [
|
|
108213
108213
|
createElementVNode("span", null, toDisplayString(_ctx.popularity?.value) + "% ", 1),
|
|
108214
108214
|
createElementVNode("span", null, toDisplayString(unref(t)("canvasUI.CPopularityAndEngagementIcons.popularityScore")), 1)
|
|
108215
|
-
])) : _ctx.variation === "compact" ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
108215
|
+
])) : _ctx.variation === "compact" ? (openBlock(), createElementBlock("div", _hoisted_3$2h, [
|
|
108216
108216
|
createElementVNode("span", null, toDisplayString(_ctx.popularity?.value) + "% ", 1)
|
|
108217
108217
|
])) : createCommentVNode("", true)
|
|
108218
108218
|
]),
|
|
@@ -108225,7 +108225,7 @@ const _sfc_main$4S = /* @__PURE__ */ defineComponent({
|
|
|
108225
108225
|
], 2)
|
|
108226
108226
|
]),
|
|
108227
108227
|
default: withCtx(() => [
|
|
108228
|
-
_ctx.popularity?.value ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
108228
|
+
_ctx.popularity?.value ? (openBlock(), createElementBlock("span", _hoisted_4$1V, toDisplayString(_ctx.popularity?.value) + "% " + toDisplayString(unref(t)("canvasUI.CPopularityAndEngagementIcons.popularityScore")) + ", ", 1)) : createCommentVNode("", true),
|
|
108229
108229
|
_ctx.views ? (openBlock(), createElementBlock("span", _hoisted_5$1B, toDisplayString(unref(t)("canvasUI.CPopularityAndEngagementIcons.views")) + ": " + toDisplayString(_ctx.views), 1)) : createCommentVNode("", true)
|
|
108230
108230
|
]),
|
|
108231
108231
|
_: 1
|
|
@@ -109533,8 +109533,8 @@ function openFolder(folderId) {
|
|
|
109533
109533
|
|
|
109534
109534
|
const _hoisted_1$3W = { class: "flex items-center" };
|
|
109535
109535
|
const _hoisted_2$2Q = { class: "my-3" };
|
|
109536
|
-
const _hoisted_3$
|
|
109537
|
-
const _hoisted_4$
|
|
109536
|
+
const _hoisted_3$2g = { class: "flex flex-col justify-center gap-1 pa-3 truncate w-full" };
|
|
109537
|
+
const _hoisted_4$1U = { key: 0 };
|
|
109538
109538
|
const _hoisted_5$1A = { key: 0 };
|
|
109539
109539
|
const _hoisted_6$1m = { key: 1 };
|
|
109540
109540
|
const _hoisted_7$$ = {
|
|
@@ -109651,7 +109651,7 @@ const _sfc_main$4R = /* @__PURE__ */ defineComponent({
|
|
|
109651
109651
|
}, null, 8, ["item"])
|
|
109652
109652
|
])
|
|
109653
109653
|
]),
|
|
109654
|
-
createElementVNode("div", _hoisted_3$
|
|
109654
|
+
createElementVNode("div", _hoisted_3$2g, [
|
|
109655
109655
|
createVNode(_sfc_main$5a, {
|
|
109656
109656
|
modelValue: _ctx.name ?? _ctx.item.name,
|
|
109657
109657
|
readonly: isReadonly(),
|
|
@@ -109666,7 +109666,7 @@ const _sfc_main$4R = /* @__PURE__ */ defineComponent({
|
|
|
109666
109666
|
class: "truncate font-size-[12px]",
|
|
109667
109667
|
style: normalizeStyle({ color: _ctx.isContextMenuOpen || _ctx.isDraggedOver ? unref(themeVars).text2 : unref(themeVars).text3 })
|
|
109668
109668
|
}, [
|
|
109669
|
-
_ctx.item.type === "smart_folder" ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
109669
|
+
_ctx.item.type === "smart_folder" ? (openBlock(), createElementBlock("span", _hoisted_4$1U, [
|
|
109670
109670
|
createVNode(CIcon, {
|
|
109671
109671
|
class: "mr-1",
|
|
109672
109672
|
icon: "folder-bookmark"
|
|
@@ -109768,8 +109768,8 @@ const _hoisted_2$2P = {
|
|
|
109768
109768
|
key: 0,
|
|
109769
109769
|
class: "flex flex-col items-center justify-center h-full"
|
|
109770
109770
|
};
|
|
109771
|
-
const _hoisted_3$
|
|
109772
|
-
const _hoisted_4$
|
|
109771
|
+
const _hoisted_3$2f = { key: 2 };
|
|
109772
|
+
const _hoisted_4$1T = { class: "text-primary ml-1" };
|
|
109773
109773
|
const _sfc_main$4Q = /* @__PURE__ */ defineComponent({
|
|
109774
109774
|
__name: "CSectionSmartFolders",
|
|
109775
109775
|
props: {
|
|
@@ -110117,7 +110117,7 @@ const _sfc_main$4Q = /* @__PURE__ */ defineComponent({
|
|
|
110117
110117
|
])) : !unref(store).state.hierarchyLevels?.length ? (openBlock(), createBlock(_sfc_main$4X, {
|
|
110118
110118
|
key: 1,
|
|
110119
110119
|
"hide-configuration-button": ""
|
|
110120
|
-
})) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
110120
|
+
})) : (openBlock(), createElementBlock("div", _hoisted_3$2f, [
|
|
110121
110121
|
createVNode(_sfc_main$4V, {
|
|
110122
110122
|
ref_key: "listRef",
|
|
110123
110123
|
ref: listRef,
|
|
@@ -110145,7 +110145,7 @@ const _sfc_main$4Q = /* @__PURE__ */ defineComponent({
|
|
|
110145
110145
|
unref(store).state.viewMode === "folders" && item.items_count ? {
|
|
110146
110146
|
name: "folder-name-suffix",
|
|
110147
110147
|
fn: withCtx(() => [
|
|
110148
|
-
createElementVNode("span", _hoisted_4$
|
|
110148
|
+
createElementVNode("span", _hoisted_4$1T, "(" + toDisplayString(item.items_count) + ")", 1)
|
|
110149
110149
|
]),
|
|
110150
110150
|
key: "0"
|
|
110151
110151
|
} : void 0,
|
|
@@ -110891,7 +110891,7 @@ const _sfc_main$4P = /*@__PURE__*/defineComponent({
|
|
|
110891
110891
|
|
|
110892
110892
|
const _hoisted_1$3T = { class: "c-block-management-toolbar flex flex-wrap justify-between items-start gap-4 pa-4 rounded-2 mb-3 bg-base" };
|
|
110893
110893
|
const _hoisted_2$2O = { class: "flex flex-wrap items-center gap-2 flex-1" };
|
|
110894
|
-
const _hoisted_3$
|
|
110894
|
+
const _hoisted_3$2e = { class: "flex gap-4" };
|
|
110895
110895
|
const _sfc_main$4O = /* @__PURE__ */ defineComponent({
|
|
110896
110896
|
__name: "CBlockManagementToolbar",
|
|
110897
110897
|
props: {
|
|
@@ -110923,7 +110923,7 @@ const _sfc_main$4O = /* @__PURE__ */ defineComponent({
|
|
|
110923
110923
|
"onUpdate:search": _cache[1] || (_cache[1] = ($event) => emit("search", $event))
|
|
110924
110924
|
}, null, 8, ["customFilterComponents", "disabled", "filters", "initial-search-value", "placeholder"])
|
|
110925
110925
|
]),
|
|
110926
|
-
createElementVNode("div", _hoisted_3$
|
|
110926
|
+
createElementVNode("div", _hoisted_3$2e, [
|
|
110927
110927
|
!_ctx.hideView ? (openBlock(), createBlock(CTableColumnsSettings, {
|
|
110928
110928
|
key: 0,
|
|
110929
110929
|
"table-columns-settings": _ctx.tableColumnsSettings,
|
|
@@ -111578,8 +111578,8 @@ const _hoisted_2$2N = {
|
|
|
111578
111578
|
key: 1,
|
|
111579
111579
|
class: "w-full flex items-center justify-center h-[250px] mb-4 mt-3"
|
|
111580
111580
|
};
|
|
111581
|
-
const _hoisted_3$
|
|
111582
|
-
const _hoisted_4$
|
|
111581
|
+
const _hoisted_3$2d = { class: "flex flex-col items-center justify-center" };
|
|
111582
|
+
const _hoisted_4$1S = ["onClick"];
|
|
111583
111583
|
const _hoisted_5$1z = { class: "inline-flex items-center truncate" };
|
|
111584
111584
|
const _hoisted_6$1l = { class: "truncate" };
|
|
111585
111585
|
const _hoisted_7$_ = {
|
|
@@ -111668,7 +111668,7 @@ const _sfc_main$4L = /* @__PURE__ */ defineComponent({
|
|
|
111668
111668
|
_: 1
|
|
111669
111669
|
})) : createCommentVNode("", true),
|
|
111670
111670
|
_ctx.isMoving ? (openBlock(), createElementBlock("div", _hoisted_2$2N, [
|
|
111671
|
-
createElementVNode("div", _hoisted_3$
|
|
111671
|
+
createElementVNode("div", _hoisted_3$2d, [
|
|
111672
111672
|
createVNode(CIcon, {
|
|
111673
111673
|
class: "mb-2",
|
|
111674
111674
|
color: unref(themeVars).primary3,
|
|
@@ -111706,7 +111706,7 @@ const _sfc_main$4L = /* @__PURE__ */ defineComponent({
|
|
|
111706
111706
|
icon: "angle-right",
|
|
111707
111707
|
size: "14px"
|
|
111708
111708
|
})
|
|
111709
|
-
], 12, _hoisted_4$
|
|
111709
|
+
], 12, _hoisted_4$1S)
|
|
111710
111710
|
]),
|
|
111711
111711
|
_: 1
|
|
111712
111712
|
}, 8, ["items"])) : (openBlock(), createElementBlock("div", _hoisted_7$_, [
|
|
@@ -111765,10 +111765,10 @@ const _hoisted_1$3P = {
|
|
|
111765
111765
|
const _hoisted_2$2M = {
|
|
111766
111766
|
class: "flex gap-4"
|
|
111767
111767
|
};
|
|
111768
|
-
const _hoisted_3$
|
|
111768
|
+
const _hoisted_3$2c = {
|
|
111769
111769
|
class: "flex gap-2"
|
|
111770
111770
|
};
|
|
111771
|
-
const _hoisted_4$
|
|
111771
|
+
const _hoisted_4$1R = {
|
|
111772
111772
|
key: 1,
|
|
111773
111773
|
class: "w-full flex justify-between items-start"
|
|
111774
111774
|
};
|
|
@@ -112016,7 +112016,7 @@ const _sfc_main$4K = /*@__PURE__*/defineComponent({
|
|
|
112016
112016
|
}, 1032, ["class", "clickable", "onClick"]);
|
|
112017
112017
|
}), 128))]),
|
|
112018
112018
|
_: 1
|
|
112019
|
-
}), createElementVNode("div", _hoisted_2$2M, [createElementVNode("div", _hoisted_3$
|
|
112019
|
+
}), createElementVNode("div", _hoisted_2$2M, [createElementVNode("div", _hoisted_3$2c, [_ctx.canvasType !== 'section-template' ? withDirectives((openBlock(), createBlock(CButton, {
|
|
112020
112020
|
key: 0,
|
|
112021
112021
|
circle: "",
|
|
112022
112022
|
onClick: _cache[0] || (_cache[0] = $event => _ctx.$emit('toggle-view-mode'))
|
|
@@ -112067,7 +112067,7 @@ const _sfc_main$4K = /*@__PURE__*/defineComponent({
|
|
|
112067
112067
|
_: 1
|
|
112068
112068
|
})]),
|
|
112069
112069
|
_: 1
|
|
112070
|
-
}, 8, ["options"])) : createCommentVNode("", true)])])) : createCommentVNode("", true), !_ctx.isTemplateFolderEnabled ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
112070
|
+
}, 8, ["options"])) : createCommentVNode("", true)])])) : createCommentVNode("", true), !_ctx.isTemplateFolderEnabled ? (openBlock(), createElementBlock("div", _hoisted_4$1R, [createElementVNode("div", _hoisted_5$1y, [createVNode(_sfc_main$57, mergeProps({
|
|
112071
112071
|
ref_key: "searchFiltersRef",
|
|
112072
112072
|
ref: searchFiltersRef,
|
|
112073
112073
|
customFilterComponents: _ctx.customFilterComponents,
|
|
@@ -112631,11 +112631,11 @@ const _hoisted_2$2L = {
|
|
|
112631
112631
|
key: 0,
|
|
112632
112632
|
class: "canvas-thumbnail mr-2"
|
|
112633
112633
|
};
|
|
112634
|
-
const _hoisted_3$
|
|
112634
|
+
const _hoisted_3$2b = {
|
|
112635
112635
|
key: 1,
|
|
112636
112636
|
class: "mx-3 my-3"
|
|
112637
112637
|
};
|
|
112638
|
-
const _hoisted_4$
|
|
112638
|
+
const _hoisted_4$1Q = { class: "flex flex-col justify-center gap-1 pa-3 truncate w-full" };
|
|
112639
112639
|
const _hoisted_5$1x = { class: "flex items-center" };
|
|
112640
112640
|
const _hoisted_6$1j = { key: 0 };
|
|
112641
112641
|
const _hoisted_7$Y = { key: 0 };
|
|
@@ -112779,11 +112779,11 @@ const _sfc_main$4H = /* @__PURE__ */ defineComponent({
|
|
|
112779
112779
|
themeVars: unref(themeVars),
|
|
112780
112780
|
thumbnailUrl: unref(item).thumbnail_url ?? unref(item).metadata?.thumbnail
|
|
112781
112781
|
}, null, 8, ["isFolder", "item", "themeVars", "thumbnailUrl"])
|
|
112782
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
112782
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_3$2b, [
|
|
112783
112783
|
createVNode(CIcon, mergeProps({ class: "mr-2" }, getIconBindings(unref(item))), null, 16)
|
|
112784
112784
|
]))
|
|
112785
112785
|
]),
|
|
112786
|
-
createElementVNode("div", _hoisted_4$
|
|
112786
|
+
createElementVNode("div", _hoisted_4$1Q, [
|
|
112787
112787
|
createElementVNode("div", _hoisted_5$1x, [
|
|
112788
112788
|
!!unref(launchDarkly).enable_canvas_locks && !isFolder(unref(item)) && unref(isCanvasLocked)(String(unref(item).id)) ? withDirectives((openBlock(), createBlock(CIcon, {
|
|
112789
112789
|
key: 0,
|
|
@@ -114434,7 +114434,7 @@ const _sfc_main$4E = /*@__PURE__*/defineComponent({
|
|
|
114434
114434
|
|
|
114435
114435
|
const _hoisted_1$3K = { class: "c-block-management-toolbar flex flex-wrap justify-between items-start gap-4 pa-4 rounded-2 mb-3 bg-base" };
|
|
114436
114436
|
const _hoisted_2$2I = { class: "flex flex-wrap items-center gap-2 flex-1" };
|
|
114437
|
-
const _hoisted_3$
|
|
114437
|
+
const _hoisted_3$2a = { class: "flex gap-4" };
|
|
114438
114438
|
const _sfc_main$4D = /* @__PURE__ */ defineComponent({
|
|
114439
114439
|
__name: "CThemeManagementToolbar",
|
|
114440
114440
|
props: {
|
|
@@ -114465,7 +114465,7 @@ const _sfc_main$4D = /* @__PURE__ */ defineComponent({
|
|
|
114465
114465
|
"onUpdate:search": _cache[1] || (_cache[1] = ($event) => emit("search", $event))
|
|
114466
114466
|
}, null, 8, ["customFilterComponents", "disabled", "filters", "initial-search-value", "placeholder"])
|
|
114467
114467
|
]),
|
|
114468
|
-
createElementVNode("div", _hoisted_3$
|
|
114468
|
+
createElementVNode("div", _hoisted_3$2a, [
|
|
114469
114469
|
!_ctx.hideView ? (openBlock(), createBlock(CTableColumnsSettings, {
|
|
114470
114470
|
key: 0,
|
|
114471
114471
|
"table-columns-settings": _ctx.tableColumnsSettings,
|
|
@@ -115248,8 +115248,8 @@ const _hoisted_2$2H = {
|
|
|
115248
115248
|
key: 0,
|
|
115249
115249
|
class: "h-full flex items-center min-w-0"
|
|
115250
115250
|
};
|
|
115251
|
-
const _hoisted_3$
|
|
115252
|
-
const _hoisted_4$
|
|
115251
|
+
const _hoisted_3$29 = ["onClick"];
|
|
115252
|
+
const _hoisted_4$1P = { class: "underline underline-solid cursor-pointer select-none ml-1 c-table-more__more-items-trigger" };
|
|
115253
115253
|
const _hoisted_5$1w = {
|
|
115254
115254
|
key: 1,
|
|
115255
115255
|
class: "c-table-more__empty"
|
|
@@ -115293,7 +115293,7 @@ const _sfc_main$4y = /* @__PURE__ */ defineComponent({
|
|
|
115293
115293
|
class: "c-table-more__items",
|
|
115294
115294
|
size: "small",
|
|
115295
115295
|
onClick: ($event) => emit("click", item.key)
|
|
115296
|
-
}, toDisplayString(item.label), 9, _hoisted_3$
|
|
115296
|
+
}, toDisplayString(item.label), 9, _hoisted_3$29);
|
|
115297
115297
|
}), 128)),
|
|
115298
115298
|
remainingItems.value.length ? (openBlock(), createBlock(_sfc_main$6x, {
|
|
115299
115299
|
key: 0,
|
|
@@ -115301,7 +115301,7 @@ const _sfc_main$4y = /* @__PURE__ */ defineComponent({
|
|
|
115301
115301
|
trigger: "click"
|
|
115302
115302
|
}, {
|
|
115303
115303
|
trigger: withCtx(() => [
|
|
115304
|
-
createElementVNode("span", _hoisted_4$
|
|
115304
|
+
createElementVNode("span", _hoisted_4$1P, toDisplayString(unref(t)("canvasUI.components.tables.andCountMore", {
|
|
115305
115305
|
count: remainingItems.value.length
|
|
115306
115306
|
})), 1)
|
|
115307
115307
|
]),
|
|
@@ -115986,11 +115986,11 @@ const _hoisted_2$2G = {
|
|
|
115986
115986
|
key: 0,
|
|
115987
115987
|
class: "flex items-center gap-2 flex-1"
|
|
115988
115988
|
};
|
|
115989
|
-
const _hoisted_3$
|
|
115989
|
+
const _hoisted_3$28 = {
|
|
115990
115990
|
key: 1,
|
|
115991
115991
|
class: "flex flex-wrap items-center gap-2 flex-1"
|
|
115992
115992
|
};
|
|
115993
|
-
const _hoisted_4$
|
|
115993
|
+
const _hoisted_4$1O = { class: "flex gap-4" };
|
|
115994
115994
|
const _sfc_main$4w = /* @__PURE__ */ defineComponent({
|
|
115995
115995
|
__name: "CSavedCanvasesManagementToolbar",
|
|
115996
115996
|
props: {
|
|
@@ -116041,7 +116041,7 @@ const _sfc_main$4w = /* @__PURE__ */ defineComponent({
|
|
|
116041
116041
|
]),
|
|
116042
116042
|
_: 1
|
|
116043
116043
|
})
|
|
116044
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
116044
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_3$28, [
|
|
116045
116045
|
createVNode(_sfc_main$57, {
|
|
116046
116046
|
customFilterComponents: !!unref(launchDarkly).enable_saved_canvases_filters ? _ctx.customFilterComponents : void 0,
|
|
116047
116047
|
disabled: !!_ctx.isLoadingItems,
|
|
@@ -116056,7 +116056,7 @@ const _sfc_main$4w = /* @__PURE__ */ defineComponent({
|
|
|
116056
116056
|
"onUpdate:search": _cache[2] || (_cache[2] = ($event) => emit("search", $event))
|
|
116057
116057
|
}, null, 8, ["customFilterComponents", "disabled", "filters", "initial-search-value", "owner-id", "placeholder"])
|
|
116058
116058
|
])),
|
|
116059
|
-
createElementVNode("div", _hoisted_4$
|
|
116059
|
+
createElementVNode("div", _hoisted_4$1O, [
|
|
116060
116060
|
unref(launchDarkly).enable_smart_folders ? withDirectives((openBlock(), createBlock(CButton, {
|
|
116061
116061
|
key: 0,
|
|
116062
116062
|
circle: "",
|
|
@@ -116613,7 +116613,7 @@ const _hoisted_2$2F = {
|
|
|
116613
116613
|
key: 0,
|
|
116614
116614
|
class: "flex items-center"
|
|
116615
116615
|
};
|
|
116616
|
-
const _hoisted_3$
|
|
116616
|
+
const _hoisted_3$27 = { class: "overflow-hidden text-ellipsis whitespace-nowrap min-w-0" };
|
|
116617
116617
|
const _sfc_main$4t = /* @__PURE__ */ defineComponent({
|
|
116618
116618
|
__name: "CSavedCanvasesManagementOwnerCell",
|
|
116619
116619
|
props: {
|
|
@@ -116697,7 +116697,7 @@ const _sfc_main$4t = /* @__PURE__ */ defineComponent({
|
|
|
116697
116697
|
"onUpdate:value": onUserSelect
|
|
116698
116698
|
}, null, 8, ["filter", "loading", "options", "placeholder", "value"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
116699
116699
|
!_ctx.isEditing && !_ctx.isUpdating ? (openBlock(), createElementBlock("div", _hoisted_2$2F, [
|
|
116700
|
-
createElementVNode("div", _hoisted_3$
|
|
116700
|
+
createElementVNode("div", _hoisted_3$27, toDisplayString(_ctx.owner?.name), 1),
|
|
116701
116701
|
_ctx.editable && isCellHovered.value ? withDirectives((openBlock(), createBlock(CIcon, {
|
|
116702
116702
|
key: 0,
|
|
116703
116703
|
class: "cursor-pointer ml-2 flex-shrink-0",
|
|
@@ -116849,11 +116849,11 @@ const useShareCanvas = (sharingHandler, options = {
|
|
|
116849
116849
|
|
|
116850
116850
|
const _hoisted_1$3z = { class: "text-lg font-bold" };
|
|
116851
116851
|
const _hoisted_2$2E = { class: "flex flex-col h-[60vh]" };
|
|
116852
|
-
const _hoisted_3$
|
|
116852
|
+
const _hoisted_3$26 = {
|
|
116853
116853
|
key: 1,
|
|
116854
116854
|
class: "flex flex-col h-full"
|
|
116855
116855
|
};
|
|
116856
|
-
const _hoisted_4$
|
|
116856
|
+
const _hoisted_4$1N = { class: "flex-grow overflow-auto" };
|
|
116857
116857
|
const _hoisted_5$1v = { class: "font-500 tracking-[1.25px] my-4" };
|
|
116858
116858
|
const _hoisted_6$1i = { class: "flex items-center" };
|
|
116859
116859
|
const _hoisted_7$X = { class: "flex-grow border border-solid border-primary4 border-rounded-md pa-2 bg-base" };
|
|
@@ -116945,8 +116945,8 @@ const _sfc_main$4r = /* @__PURE__ */ defineComponent({
|
|
|
116945
116945
|
unref(isLoadingConfig) ? (openBlock(), createBlock(unref(NSpin), {
|
|
116946
116946
|
key: 0,
|
|
116947
116947
|
class: "flex-grow flex items-center justify-center"
|
|
116948
|
-
})) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
116949
|
-
createElementVNode("div", _hoisted_4$
|
|
116948
|
+
})) : (openBlock(), createElementBlock("div", _hoisted_3$26, [
|
|
116949
|
+
createElementVNode("div", _hoisted_4$1N, [
|
|
116950
116950
|
createElementVNode("div", _hoisted_5$1v, toDisplayString(unref(t)("canvasUI.smartFolders.smartFoldersConfigurationModal.categorizeBasedOn")), 1),
|
|
116951
116951
|
createVNode(unref(VueDraggable), {
|
|
116952
116952
|
modelValue: enabledPropertyNames.value,
|
|
@@ -117039,8 +117039,8 @@ const _sfc_main$4r = /* @__PURE__ */ defineComponent({
|
|
|
117039
117039
|
|
|
117040
117040
|
const _hoisted_1$3y = { class: "smart-folders mt-3" };
|
|
117041
117041
|
const _hoisted_2$2D = { key: 2 };
|
|
117042
|
-
const _hoisted_3$
|
|
117043
|
-
const _hoisted_4$
|
|
117042
|
+
const _hoisted_3$25 = { class: "flex justify-between items-center mb-3" };
|
|
117043
|
+
const _hoisted_4$1M = { class: "flex items-center gap-2" };
|
|
117044
117044
|
const _hoisted_5$1u = { key: 1 };
|
|
117045
117045
|
const _sfc_main$4q = /* @__PURE__ */ defineComponent({
|
|
117046
117046
|
__name: "SmartFolders",
|
|
@@ -117122,8 +117122,8 @@ const _sfc_main$4q = /* @__PURE__ */ defineComponent({
|
|
|
117122
117122
|
key: 1,
|
|
117123
117123
|
onConfigure: onSmartFoldersConfigure
|
|
117124
117124
|
})) : (openBlock(), createElementBlock("div", _hoisted_2$2D, [
|
|
117125
|
-
createElementVNode("div", _hoisted_3$
|
|
117126
|
-
createElementVNode("div", _hoisted_4$
|
|
117125
|
+
createElementVNode("div", _hoisted_3$25, [
|
|
117126
|
+
createElementVNode("div", _hoisted_4$1M, [
|
|
117127
117127
|
_ctx.isAnyTypeOfAdmin ? (openBlock(), createBlock(_sfc_main$4t, {
|
|
117128
117128
|
key: 0,
|
|
117129
117129
|
"dropdown-mode": "",
|
|
@@ -117198,8 +117198,8 @@ const _sfc_main$4q = /* @__PURE__ */ defineComponent({
|
|
|
117198
117198
|
|
|
117199
117199
|
const _hoisted_1$3x = { class: "flex flex-col gap-3" };
|
|
117200
117200
|
const _hoisted_2$2C = { class: "font-700 font-size-[18px]" };
|
|
117201
|
-
const _hoisted_3$
|
|
117202
|
-
const _hoisted_4$
|
|
117201
|
+
const _hoisted_3$24 = { class: "mb-2" };
|
|
117202
|
+
const _hoisted_4$1L = { class: "mt-3 flex justify-between" };
|
|
117203
117203
|
const _sfc_main$4p = /* @__PURE__ */ defineComponent({
|
|
117204
117204
|
__name: "CCanvasAccountModal",
|
|
117205
117205
|
props: {
|
|
@@ -117261,7 +117261,7 @@ const _sfc_main$4p = /* @__PURE__ */ defineComponent({
|
|
|
117261
117261
|
default: withCtx(() => [
|
|
117262
117262
|
createElementVNode("div", _hoisted_1$3x, [
|
|
117263
117263
|
createElementVNode("div", _hoisted_2$2C, toDisplayString(unref(t)("canvasUI.components.savedCanvases.CSavedCanvasesManagement.accountModal.title")), 1),
|
|
117264
|
-
createElementVNode("div", _hoisted_3$
|
|
117264
|
+
createElementVNode("div", _hoisted_3$24, [
|
|
117265
117265
|
createVNode(CSelect, {
|
|
117266
117266
|
bordered: "",
|
|
117267
117267
|
clearable: "",
|
|
@@ -117278,7 +117278,7 @@ const _sfc_main$4p = /* @__PURE__ */ defineComponent({
|
|
|
117278
117278
|
"onUpdate:value": setAccount
|
|
117279
117279
|
}, null, 8, ["loading", "options", "placeholder", "value"])
|
|
117280
117280
|
]),
|
|
117281
|
-
createElementVNode("div", _hoisted_4$
|
|
117281
|
+
createElementVNode("div", _hoisted_4$1L, [
|
|
117282
117282
|
createVNode(CButton, {
|
|
117283
117283
|
type: "secondary",
|
|
117284
117284
|
onClick: handleClose
|
|
@@ -118403,7 +118403,7 @@ const _sfc_main$4o = /*@__PURE__*/defineComponent({
|
|
|
118403
118403
|
|
|
118404
118404
|
const _hoisted_1$3v = { class: "c-assigned-canvas-management-toolbar flex flex-wrap justify-between items-start gap-4 pa-4 rounded-2 bg-base" };
|
|
118405
118405
|
const _hoisted_2$2B = { class: "flex flex-wrap items-center gap-2 flex-1" };
|
|
118406
|
-
const _hoisted_3$
|
|
118406
|
+
const _hoisted_3$23 = { class: "flex gap-4" };
|
|
118407
118407
|
const _sfc_main$4n = /* @__PURE__ */ defineComponent({
|
|
118408
118408
|
__name: "CAssignedCanvasesManagementToolbar",
|
|
118409
118409
|
props: {
|
|
@@ -118449,7 +118449,7 @@ const _sfc_main$4n = /* @__PURE__ */ defineComponent({
|
|
|
118449
118449
|
"onUpdate:search": _cache[1] || (_cache[1] = ($event) => emit("search", $event))
|
|
118450
118450
|
}, null, 8, ["customFilterComponents", "disabled", "filters", "initial-search-value", "owner-id", "placeholder"])
|
|
118451
118451
|
]),
|
|
118452
|
-
createElementVNode("div", _hoisted_3$
|
|
118452
|
+
createElementVNode("div", _hoisted_3$23, [
|
|
118453
118453
|
!_ctx.hideView ? (openBlock(), createBlock(CTableColumnsSettings, {
|
|
118454
118454
|
key: 0,
|
|
118455
118455
|
"table-columns-settings": _ctx.tableColumnsSettings,
|
|
@@ -118920,8 +118920,8 @@ const CTableSelect = /* @__PURE__ */ _export_sfc(_sfc_main$4l, [["__scopeId", "d
|
|
|
118920
118920
|
|
|
118921
118921
|
const _hoisted_1$3s = { class: "flex flex-col gap-1" };
|
|
118922
118922
|
const _hoisted_2$2A = ["disabled", "onClick", "onMouseover"];
|
|
118923
|
-
const _hoisted_3$
|
|
118924
|
-
const _hoisted_4$
|
|
118923
|
+
const _hoisted_3$22 = { class: "flex items-center gap-2" };
|
|
118924
|
+
const _hoisted_4$1K = { class: "block truncate" };
|
|
118925
118925
|
const _sfc_main$4k = /* @__PURE__ */ defineComponent({
|
|
118926
118926
|
__name: "CEntitySelector",
|
|
118927
118927
|
props: {
|
|
@@ -119049,14 +119049,14 @@ const _sfc_main$4k = /* @__PURE__ */ defineComponent({
|
|
|
119049
119049
|
onMouseleave: _cache[1] || (_cache[1] = ($event) => isListItemHoveredId.value = null),
|
|
119050
119050
|
onMouseover: ($event) => isListItemHoveredId.value = item.id
|
|
119051
119051
|
}, [
|
|
119052
|
-
createElementVNode("div", _hoisted_3$
|
|
119052
|
+
createElementVNode("div", _hoisted_3$22, [
|
|
119053
119053
|
_ctx.multiple ? (openBlock(), createBlock(_sfc_main$6S, {
|
|
119054
119054
|
key: 0,
|
|
119055
119055
|
checked: _ctx.selectedItemIds?.includes(item.id),
|
|
119056
119056
|
"onUpdate:checked": (val) => handleCheckboxChange(val, item)
|
|
119057
119057
|
}, null, 8, ["checked", "onUpdate:checked"])) : createCommentVNode("", true),
|
|
119058
119058
|
createElementVNode("div", null, [
|
|
119059
|
-
createElementVNode("div", _hoisted_4$
|
|
119059
|
+
createElementVNode("div", _hoisted_4$1K, toDisplayString(renderProp("title", item)), 1),
|
|
119060
119060
|
_ctx.subtitle ? (openBlock(), createElementBlock("div", {
|
|
119061
119061
|
key: 0,
|
|
119062
119062
|
class: "block truncate c-entity-selector__recycle-list-item--subtitle",
|
|
@@ -119098,8 +119098,8 @@ const splitUserName = (name = "") => {
|
|
|
119098
119098
|
|
|
119099
119099
|
const _hoisted_1$3r = { class: "flex items-center justify-between gap-1" };
|
|
119100
119100
|
const _hoisted_2$2z = { class: "flex gap-4 items-center" };
|
|
119101
|
-
const _hoisted_3$
|
|
119102
|
-
const _hoisted_4$
|
|
119101
|
+
const _hoisted_3$21 = { class: "flex font-bold" };
|
|
119102
|
+
const _hoisted_4$1J = { class: "flex items-center justify-between gap-1" };
|
|
119103
119103
|
const _hoisted_5$1t = { class: "flex items-center gap-1" };
|
|
119104
119104
|
const _hoisted_6$1h = {
|
|
119105
119105
|
key: 0,
|
|
@@ -119238,7 +119238,7 @@ const _sfc_main$4j = /* @__PURE__ */ defineComponent({
|
|
|
119238
119238
|
icon: _ctx.itemType === "user" ? "user" : "users",
|
|
119239
119239
|
size: "14"
|
|
119240
119240
|
}, null, 8, ["icon"]),
|
|
119241
|
-
createElementVNode("div", _hoisted_3$
|
|
119241
|
+
createElementVNode("div", _hoisted_3$21, toDisplayString(displayTitle.value), 1)
|
|
119242
119242
|
]),
|
|
119243
119243
|
_ctx.itemType === "group" ? (openBlock(), createBlock(_sfc_main$4k, {
|
|
119244
119244
|
key: 0,
|
|
@@ -119319,7 +119319,7 @@ const _sfc_main$4j = /* @__PURE__ */ defineComponent({
|
|
|
119319
119319
|
)
|
|
119320
119320
|
}, {
|
|
119321
119321
|
default: withCtx(({ item }) => [
|
|
119322
|
-
createElementVNode("div", _hoisted_4$
|
|
119322
|
+
createElementVNode("div", _hoisted_4$1J, [
|
|
119323
119323
|
createElementVNode("div", _hoisted_5$1t, [
|
|
119324
119324
|
_ctx.itemType === "user" && "user" in item ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
119325
119325
|
createVNode(_sfc_main$5n, {
|
|
@@ -119518,8 +119518,8 @@ function useCanvasContext() {
|
|
|
119518
119518
|
|
|
119519
119519
|
const _hoisted_1$3p = { class: "flex justify-between items-center mb-4 sticky top-0 base z-1" };
|
|
119520
119520
|
const _hoisted_2$2y = { class: "panel-title font-600 font-size-[15px] line-height-[28px]" };
|
|
119521
|
-
const _hoisted_3$
|
|
119522
|
-
const _hoisted_4$
|
|
119521
|
+
const _hoisted_3$20 = ["onClick"];
|
|
119522
|
+
const _hoisted_4$1I = ["alt", "src", "onError"];
|
|
119523
119523
|
const _hoisted_5$1s = ["alt", "src"];
|
|
119524
119524
|
const _hoisted_6$1g = {
|
|
119525
119525
|
key: 2,
|
|
@@ -119804,7 +119804,7 @@ const _sfc_main$4h = /* @__PURE__ */ defineComponent({
|
|
|
119804
119804
|
class: "w-full h-full object-cover",
|
|
119805
119805
|
src: item.thumbnail_url,
|
|
119806
119806
|
onError: ($event) => handleThumbnailError($event, item)
|
|
119807
|
-
}, null, 40, _hoisted_4$
|
|
119807
|
+
}, null, 40, _hoisted_4$1I)) : unref(getDefaultThumbnailUrl)(item) ? (openBlock(), createElementBlock("img", {
|
|
119808
119808
|
key: 1,
|
|
119809
119809
|
alt: item.name ? item.name : "File thumbnail",
|
|
119810
119810
|
class: "w-full h-full object-cover",
|
|
@@ -119816,7 +119816,7 @@ const _sfc_main$4h = /* @__PURE__ */ defineComponent({
|
|
|
119816
119816
|
size: "24px"
|
|
119817
119817
|
}, null, 8, ["color"])
|
|
119818
119818
|
]))
|
|
119819
|
-
], 8, _hoisted_3$
|
|
119819
|
+
], 8, _hoisted_3$20)) : (openBlock(), createBlock(_sfc_main$6G, {
|
|
119820
119820
|
key: 1,
|
|
119821
119821
|
class: "w-16 h-10 flex flex-shrink-0 items-center justify-center cursor-pointer",
|
|
119822
119822
|
height: 40,
|
|
@@ -119909,11 +119909,11 @@ const _hoisted_2$2x = {
|
|
|
119909
119909
|
key: 2,
|
|
119910
119910
|
class: "text-lg tracking-[.25px]"
|
|
119911
119911
|
};
|
|
119912
|
-
const _hoisted_3$
|
|
119912
|
+
const _hoisted_3$1$ = {
|
|
119913
119913
|
key: 1,
|
|
119914
119914
|
class: "p-1 content-selector__section-title"
|
|
119915
119915
|
};
|
|
119916
|
-
const _hoisted_4$
|
|
119916
|
+
const _hoisted_4$1H = {
|
|
119917
119917
|
key: 2,
|
|
119918
119918
|
class: "p-1 content-selector__section-title"
|
|
119919
119919
|
};
|
|
@@ -120104,7 +120104,7 @@ const _sfc_main$4g = /* @__PURE__ */ defineComponent({
|
|
|
120104
120104
|
}), 128))
|
|
120105
120105
|
]),
|
|
120106
120106
|
_: 1
|
|
120107
|
-
})) : unref(selectedSection) === "favorites" ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
120107
|
+
})) : unref(selectedSection) === "favorites" ? (openBlock(), createElementBlock("div", _hoisted_3$1$, toDisplayString(unref(t)("canvasUI.contentSelectorApp.content.favorites")), 1)) : unref(selectedSection) === "recent" ? (openBlock(), createElementBlock("div", _hoisted_4$1H, toDisplayString(unref(t)("canvasUI.contentSelectorApp.content.recent")), 1)) : unref(selectedSection) === "trash" ? (openBlock(), createElementBlock("div", _hoisted_5$1r, toDisplayString(unref(t)("canvasUI.contentSelectorApp.content.trash")), 1)) : createCommentVNode("", true)
|
|
120108
120108
|
], 64)),
|
|
120109
120109
|
createElementVNode("div", _hoisted_6$1f, [
|
|
120110
120110
|
unref(selectedSection) === "all" ? (openBlock(), createBlock(unref(NDropdown), {
|
|
@@ -120201,11 +120201,11 @@ const _sfc_main$4f = /* @__PURE__ */ defineComponent({
|
|
|
120201
120201
|
|
|
120202
120202
|
const _hoisted_1$3n = ["draggable"];
|
|
120203
120203
|
const _hoisted_2$2w = { class: "absolute top-2 left-2 w-9 h-9 flex items-center justify-center rounded-5" };
|
|
120204
|
-
const _hoisted_3$
|
|
120204
|
+
const _hoisted_3$1_ = {
|
|
120205
120205
|
key: 0,
|
|
120206
120206
|
class: "absolute top-2 right-2 w-9 h-9 flex items-center justify-center rounded-5"
|
|
120207
120207
|
};
|
|
120208
|
-
const _hoisted_4$
|
|
120208
|
+
const _hoisted_4$1G = { class: "text-truncate max-w-[240px] font-700 text-center" };
|
|
120209
120209
|
const _hoisted_5$1q = { class: "flex items-center justify-between w-full" };
|
|
120210
120210
|
const _hoisted_6$1e = {
|
|
120211
120211
|
key: 1,
|
|
@@ -120364,7 +120364,7 @@ const _sfc_main$4e = /* @__PURE__ */ defineComponent({
|
|
|
120364
120364
|
_: 1
|
|
120365
120365
|
}, 8, ["color", "disabled", "text-color"])
|
|
120366
120366
|
]),
|
|
120367
|
-
_ctx.item.type === "file" ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
120367
|
+
_ctx.item.type === "file" ? (openBlock(), createElementBlock("div", _hoisted_3$1_, [
|
|
120368
120368
|
createVNode(CButton, {
|
|
120369
120369
|
circle: "",
|
|
120370
120370
|
color: unref(themeVars).primary6,
|
|
@@ -120390,7 +120390,7 @@ const _sfc_main$4e = /* @__PURE__ */ defineComponent({
|
|
|
120390
120390
|
src: _ctx.item.thumbnail_url,
|
|
120391
120391
|
width: "240"
|
|
120392
120392
|
}, null, 8, ["src"]),
|
|
120393
|
-
createElementVNode("div", _hoisted_4$
|
|
120393
|
+
createElementVNode("div", _hoisted_4$1G, toDisplayString(_ctx.item.name), 1),
|
|
120394
120394
|
createElementVNode("div", _hoisted_5$1q, [
|
|
120395
120395
|
createElementVNode("div", {
|
|
120396
120396
|
class: "text-truncate text-center",
|
|
@@ -120514,8 +120514,8 @@ const _hoisted_2$2v = {
|
|
|
120514
120514
|
key: 0,
|
|
120515
120515
|
class: "h-full"
|
|
120516
120516
|
};
|
|
120517
|
-
const _hoisted_3$
|
|
120518
|
-
const _hoisted_4$
|
|
120517
|
+
const _hoisted_3$1Z = { class: "flex flex-col gap-3 items-center justify-center max-w-[400px] text-center" };
|
|
120518
|
+
const _hoisted_4$1F = { class: "font-size-[20px]" };
|
|
120519
120519
|
const _hoisted_5$1p = { class: "font-size-[14px]" };
|
|
120520
120520
|
const _hoisted_6$1d = {
|
|
120521
120521
|
key: 0,
|
|
@@ -120600,12 +120600,12 @@ const _sfc_main$4d = /* @__PURE__ */ defineComponent({
|
|
|
120600
120600
|
class: "h-full w-full flex items-center justify-center",
|
|
120601
120601
|
style: normalizeStyle({ color: unref(themeVars).primary3 })
|
|
120602
120602
|
}, [
|
|
120603
|
-
createElementVNode("div", _hoisted_3$
|
|
120603
|
+
createElementVNode("div", _hoisted_3$1Z, [
|
|
120604
120604
|
createVNode(CIcon, {
|
|
120605
120605
|
icon: "circle-exclamation",
|
|
120606
120606
|
size: "36px"
|
|
120607
120607
|
}),
|
|
120608
|
-
createElementVNode("div", _hoisted_4$
|
|
120608
|
+
createElementVNode("div", _hoisted_4$1F, toDisplayString(unref(t)("canvasUI.contentSelectorApp.foldersFiles.thumbnailsAreMissing")), 1),
|
|
120609
120609
|
createElementVNode("div", _hoisted_5$1p, toDisplayString(unref(t)("canvasUI.contentSelectorApp.foldersFiles.pdfReuploadHint")), 1)
|
|
120610
120610
|
])
|
|
120611
120611
|
], 4))
|
|
@@ -120726,11 +120726,11 @@ function useImageAccessibility({ thumbnailUrl, hasAIEnabled, hasFile }) {
|
|
|
120726
120726
|
|
|
120727
120727
|
const _hoisted_1$3l = { class: "flex items-center" };
|
|
120728
120728
|
const _hoisted_2$2u = { class: "my-3" };
|
|
120729
|
-
const _hoisted_3$
|
|
120729
|
+
const _hoisted_3$1Y = {
|
|
120730
120730
|
key: 1,
|
|
120731
120731
|
class: "w-[152px] h-[100px] rounded-2 overflow-hidden"
|
|
120732
120732
|
};
|
|
120733
|
-
const _hoisted_4$
|
|
120733
|
+
const _hoisted_4$1E = ["alt", "src"];
|
|
120734
120734
|
const _hoisted_5$1o = {
|
|
120735
120735
|
key: 1,
|
|
120736
120736
|
class: "bg-primary6 w-full h-full flex items-center justify-center"
|
|
@@ -120848,13 +120848,13 @@ const _sfc_main$4c = /* @__PURE__ */ defineComponent({
|
|
|
120848
120848
|
_ctx.item.type === "file" && unref(hasValidThumbnail) ? (openBlock(), createBlock(_sfc_main$6G, {
|
|
120849
120849
|
key: 0,
|
|
120850
120850
|
item: _ctx.item
|
|
120851
|
-
}, null, 8, ["item"])) : _ctx.item.type === "file" ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
120851
|
+
}, null, 8, ["item"])) : _ctx.item.type === "file" ? (openBlock(), createElementBlock("div", _hoisted_3$1Y, [
|
|
120852
120852
|
defaultThumbnailUrl.value ? (openBlock(), createElementBlock("img", {
|
|
120853
120853
|
key: 0,
|
|
120854
120854
|
alt: _ctx.item.name || "File thumbnail",
|
|
120855
120855
|
class: "w-full h-full object-cover",
|
|
120856
120856
|
src: defaultThumbnailUrl.value
|
|
120857
|
-
}, null, 8, _hoisted_4$
|
|
120857
|
+
}, null, 8, _hoisted_4$1E)) : (openBlock(), createElementBlock("div", _hoisted_5$1o, [
|
|
120858
120858
|
createVNode(CIcon, {
|
|
120859
120859
|
color: unref(themeVars).primary3,
|
|
120860
120860
|
icon: "file",
|
|
@@ -121257,11 +121257,11 @@ const _hoisted_2$2s = {
|
|
|
121257
121257
|
key: 0,
|
|
121258
121258
|
class: "bg-base overflow-auto flex flex-col flex-auto"
|
|
121259
121259
|
};
|
|
121260
|
-
const _hoisted_3$
|
|
121260
|
+
const _hoisted_3$1X = {
|
|
121261
121261
|
key: 0,
|
|
121262
121262
|
class: "flex justify-end items-center color-primary bg-base pa-2 min-h-11"
|
|
121263
121263
|
};
|
|
121264
|
-
const _hoisted_4$
|
|
121264
|
+
const _hoisted_4$1D = { class: "flex flex-col gap-3 items-center justify-center max-w-[400px] text-center" };
|
|
121265
121265
|
const _hoisted_5$1n = { class: "font-size-[20px]" };
|
|
121266
121266
|
const _hoisted_6$1b = { class: "font-size-[14px]" };
|
|
121267
121267
|
const _hoisted_7$R = {
|
|
@@ -121439,7 +121439,7 @@ const _sfc_main$4a = /* @__PURE__ */ defineComponent({
|
|
|
121439
121439
|
}, [
|
|
121440
121440
|
!!unref(activeFile) ? (openBlock(), createElementBlock("div", _hoisted_1$3j, [
|
|
121441
121441
|
unref(activeFile).content_thumbnails?.length ? (openBlock(), createElementBlock("div", _hoisted_2$2s, [
|
|
121442
|
-
unref(isDragNDropEnabled) ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
121442
|
+
unref(isDragNDropEnabled) ? (openBlock(), createElementBlock("div", _hoisted_3$1X, [
|
|
121443
121443
|
createVNode(_sfc_main$4Z, {
|
|
121444
121444
|
"added-item-ids": unref(addedItems).map((item) => item.id),
|
|
121445
121445
|
"selected-item-ids": unref(selectedItems).map((item) => item.id),
|
|
@@ -121484,7 +121484,7 @@ const _sfc_main$4a = /* @__PURE__ */ defineComponent({
|
|
|
121484
121484
|
class: "h-full w-full flex items-center justify-center",
|
|
121485
121485
|
style: normalizeStyle({ color: unref(themeVars).primary3 })
|
|
121486
121486
|
}, [
|
|
121487
|
-
createElementVNode("div", _hoisted_4$
|
|
121487
|
+
createElementVNode("div", _hoisted_4$1D, [
|
|
121488
121488
|
createVNode(CIcon, {
|
|
121489
121489
|
icon: "circle-exclamation",
|
|
121490
121490
|
size: "36px"
|
|
@@ -121909,8 +121909,8 @@ const _sfc_main$46 = /* @__PURE__ */ defineComponent({
|
|
|
121909
121909
|
|
|
121910
121910
|
const _hoisted_1$3e = { class: "content-selector-assets flex flex-col h-full" };
|
|
121911
121911
|
const _hoisted_2$2n = { class: "sticky top-0 z-1 bg-primary6 pb-2" };
|
|
121912
|
-
const _hoisted_3$
|
|
121913
|
-
const _hoisted_4$
|
|
121912
|
+
const _hoisted_3$1W = { class: "flex flex-col items-center justify-center" };
|
|
121913
|
+
const _hoisted_4$1C = {
|
|
121914
121914
|
key: 0,
|
|
121915
121915
|
class: "my-2"
|
|
121916
121916
|
};
|
|
@@ -122180,7 +122180,7 @@ const _sfc_main$45 = /* @__PURE__ */ defineComponent({
|
|
|
122180
122180
|
title: unref(t)("canvasUI.contentSelector.syncIosWarning"),
|
|
122181
122181
|
visible: unref(isPitcherOrIosDevice)
|
|
122182
122182
|
}, null, 8, ["title", "visible"]),
|
|
122183
|
-
createElementVNode("div", _hoisted_3$
|
|
122183
|
+
createElementVNode("div", _hoisted_3$1W, [
|
|
122184
122184
|
!unref(launchDarkly).hide_asset_uploader ? (openBlock(), createBlock(_sfc_main$47, {
|
|
122185
122185
|
key: 0,
|
|
122186
122186
|
onUploadsComplete: _cache[0] || (_cache[0] = () => fetchAssets(true))
|
|
@@ -122193,7 +122193,7 @@ const _sfc_main$45 = /* @__PURE__ */ defineComponent({
|
|
|
122193
122193
|
"page-size": pageSize$1
|
|
122194
122194
|
}, null, 8, ["page", "page-count"])) : createCommentVNode("", true)
|
|
122195
122195
|
]),
|
|
122196
|
-
!!unref(launchDarkly).enable_search_and_filters_in_multimedia_component ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
122196
|
+
!!unref(launchDarkly).enable_search_and_filters_in_multimedia_component ? (openBlock(), createElementBlock("div", _hoisted_4$1C, [
|
|
122197
122197
|
createElementVNode("div", _hoisted_5$1m, [
|
|
122198
122198
|
createVNode(CSearch, {
|
|
122199
122199
|
modelValue: search.value,
|
|
@@ -122331,7 +122331,7 @@ async function getMediaType(url) {
|
|
|
122331
122331
|
|
|
122332
122332
|
const _hoisted_1$3d = { class: "cs-media-preview" };
|
|
122333
122333
|
const _hoisted_2$2m = ["src"];
|
|
122334
|
-
const _hoisted_3$
|
|
122334
|
+
const _hoisted_3$1V = ["src"];
|
|
122335
122335
|
const _sfc_main$44 = /* @__PURE__ */ defineComponent({
|
|
122336
122336
|
__name: "MediaPreview",
|
|
122337
122337
|
props: {
|
|
@@ -122406,7 +122406,7 @@ const _sfc_main$44 = /* @__PURE__ */ defineComponent({
|
|
|
122406
122406
|
src: _ctx.url,
|
|
122407
122407
|
onError: onLoadError,
|
|
122408
122408
|
onLoadeddata: onLoad
|
|
122409
|
-
}, toDisplayString(unref(t)("canvasUI.contentSelector.mediaPreview.noVideoBrowser")), 41, _hoisted_3$
|
|
122409
|
+
}, toDisplayString(unref(t)("canvasUI.contentSelector.mediaPreview.noVideoBrowser")), 41, _hoisted_3$1V), [
|
|
122410
122410
|
[vShow, !isLoading.value && isVideo.value && _ctx.url]
|
|
122411
122411
|
]),
|
|
122412
122412
|
withDirectives(createElementVNode("div", {
|
|
@@ -122550,8 +122550,8 @@ const ExternalLinks = /* @__PURE__ */ _export_sfc(_sfc_main$43, [["__scopeId", "
|
|
|
122550
122550
|
|
|
122551
122551
|
const _hoisted_1$3b = { class: "mr-3 h-full" };
|
|
122552
122552
|
const _hoisted_2$2k = { class: "flex flex-col gap-3 mb-3" };
|
|
122553
|
-
const _hoisted_3$
|
|
122554
|
-
const _hoisted_4$
|
|
122553
|
+
const _hoisted_3$1U = { class: "flex justify-between w-full mb-3" };
|
|
122554
|
+
const _hoisted_4$1B = {
|
|
122555
122555
|
key: 0,
|
|
122556
122556
|
class: "text-error text-sm"
|
|
122557
122557
|
};
|
|
@@ -122754,8 +122754,8 @@ const _sfc_main$42 = /* @__PURE__ */ defineComponent({
|
|
|
122754
122754
|
_: 1
|
|
122755
122755
|
}, 8, ["label"])
|
|
122756
122756
|
]),
|
|
122757
|
-
createElementVNode("div", _hoisted_3$
|
|
122758
|
-
error.value ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
122757
|
+
createElementVNode("div", _hoisted_3$1U, [
|
|
122758
|
+
error.value ? (openBlock(), createElementBlock("div", _hoisted_4$1B, toDisplayString(error.value), 1)) : createCommentVNode("", true),
|
|
122759
122759
|
_cache[2] || (_cache[2] = createElementVNode("div", { class: "flex-grow" }, null, -1)),
|
|
122760
122760
|
createVNode(CButton, {
|
|
122761
122761
|
disabled: isGenerating.value || !prompt.value,
|
|
@@ -122833,8 +122833,8 @@ const AiImages = /* @__PURE__ */ _export_sfc(_sfc_main$42, [["__scopeId", "data-
|
|
|
122833
122833
|
|
|
122834
122834
|
const _hoisted_1$3a = { class: "mr-3 h-full" };
|
|
122835
122835
|
const _hoisted_2$2j = { class: "flex flex-col gap-3 mb-3" };
|
|
122836
|
-
const _hoisted_3$
|
|
122837
|
-
const _hoisted_4$
|
|
122836
|
+
const _hoisted_3$1T = { class: "flex justify-between w-full mb-3" };
|
|
122837
|
+
const _hoisted_4$1A = {
|
|
122838
122838
|
key: 0,
|
|
122839
122839
|
class: "text-error text-sm"
|
|
122840
122840
|
};
|
|
@@ -123041,8 +123041,8 @@ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
|
123041
123041
|
_: 1
|
|
123042
123042
|
}, 8, ["label"])
|
|
123043
123043
|
]),
|
|
123044
|
-
createElementVNode("div", _hoisted_3$
|
|
123045
|
-
error.value ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
123044
|
+
createElementVNode("div", _hoisted_3$1T, [
|
|
123045
|
+
error.value ? (openBlock(), createElementBlock("div", _hoisted_4$1A, toDisplayString(error.value), 1)) : createCommentVNode("", true),
|
|
123046
123046
|
_cache[2] || (_cache[2] = createElementVNode("div", { class: "flex-grow" }, null, -1)),
|
|
123047
123047
|
createVNode(CButton, {
|
|
123048
123048
|
disabled: isLoading.value || !searchQuery.value,
|
|
@@ -123145,11 +123145,11 @@ const PexelsImages = /* @__PURE__ */ _export_sfc(_sfc_main$41, [["__scopeId", "d
|
|
|
123145
123145
|
|
|
123146
123146
|
const _hoisted_1$39 = { class: "theme-images h-full flex flex-col" };
|
|
123147
123147
|
const _hoisted_2$2i = { class: "mr-3 h-full" };
|
|
123148
|
-
const _hoisted_3$
|
|
123148
|
+
const _hoisted_3$1S = {
|
|
123149
123149
|
key: 0,
|
|
123150
123150
|
class: "text-center py-10"
|
|
123151
123151
|
};
|
|
123152
|
-
const _hoisted_4$
|
|
123152
|
+
const _hoisted_4$1z = {
|
|
123153
123153
|
key: 1,
|
|
123154
123154
|
class: "mb-8"
|
|
123155
123155
|
};
|
|
@@ -123233,14 +123233,14 @@ const _sfc_main$40 = /* @__PURE__ */ defineComponent({
|
|
|
123233
123233
|
}, {
|
|
123234
123234
|
default: withCtx(() => [
|
|
123235
123235
|
createElementVNode("div", _hoisted_2$2i, [
|
|
123236
|
-
!unref(activeTheme) ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
123236
|
+
!unref(activeTheme) ? (openBlock(), createElementBlock("div", _hoisted_3$1S, [
|
|
123237
123237
|
createVNode(CIcon, {
|
|
123238
123238
|
class: "mb-4 color-primary3",
|
|
123239
123239
|
icon: "image",
|
|
123240
123240
|
size: "48"
|
|
123241
123241
|
}),
|
|
123242
123242
|
createElementVNode("p", null, toDisplayString(unref(t)("canvasUI.contentSelector.themeImages.noActiveTheme")), 1)
|
|
123243
|
-
])) : unref(activeTheme) ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
123243
|
+
])) : unref(activeTheme) ? (openBlock(), createElementBlock("div", _hoisted_4$1z, [
|
|
123244
123244
|
createElementVNode("h3", _hoisted_5$1j, toDisplayString(unref(t)("canvasUI.contentSelector.themeImages.logo")), 1),
|
|
123245
123245
|
unref(activeTheme).logo ? (openBlock(), createBlock(unref(NSpace), {
|
|
123246
123246
|
key: 0,
|
|
@@ -123941,8 +123941,8 @@ const ContentSelector = /* @__PURE__ */ _export_sfc(_sfc_main$3_, [["__scopeId",
|
|
|
123941
123941
|
|
|
123942
123942
|
const _hoisted_1$36 = { class: "flex items-center justify-between gap-1" };
|
|
123943
123943
|
const _hoisted_2$2g = { class: "flex gap-4 items-center" };
|
|
123944
|
-
const _hoisted_3$
|
|
123945
|
-
const _hoisted_4$
|
|
123944
|
+
const _hoisted_3$1R = { class: "flex font-bold" };
|
|
123945
|
+
const _hoisted_4$1y = { class: "flex items-center justify-between gap-1" };
|
|
123946
123946
|
const _hoisted_5$1i = { class: "flex items-center gap-1" };
|
|
123947
123947
|
const _hoisted_6$16 = { class: "font-bold" };
|
|
123948
123948
|
const _hoisted_7$N = { class: "flex items-center gap-4 mr-2" };
|
|
@@ -123998,7 +123998,7 @@ const _sfc_main$3Z = /* @__PURE__ */ defineComponent({
|
|
|
123998
123998
|
icon: "folder",
|
|
123999
123999
|
size: "14"
|
|
124000
124000
|
}),
|
|
124001
|
-
createElementVNode("div", _hoisted_3$
|
|
124001
|
+
createElementVNode("div", _hoisted_3$1R, toDisplayString(displayTitle.value), 1)
|
|
124002
124002
|
]),
|
|
124003
124003
|
createVNode(CButton, {
|
|
124004
124004
|
iconPlacement: "left",
|
|
@@ -124042,7 +124042,7 @@ const _sfc_main$3Z = /* @__PURE__ */ defineComponent({
|
|
|
124042
124042
|
style: normalizeStyle(_ctx.items.length > _ctx.maxItemsToRender ? { maxHeight: `${SCROLLER_ITEM_SIZE * _ctx.maxItemsToRender}px` } : void 0)
|
|
124043
124043
|
}, {
|
|
124044
124044
|
default: withCtx(({ item }) => [
|
|
124045
|
-
createElementVNode("div", _hoisted_4$
|
|
124045
|
+
createElementVNode("div", _hoisted_4$1y, [
|
|
124046
124046
|
createElementVNode("div", _hoisted_5$1i, [
|
|
124047
124047
|
createElementVNode("div", _hoisted_6$16, toDisplayString(item.file.name), 1)
|
|
124048
124048
|
]),
|
|
@@ -124088,8 +124088,8 @@ const _sfc_main$3Z = /* @__PURE__ */ defineComponent({
|
|
|
124088
124088
|
|
|
124089
124089
|
const _hoisted_1$35 = { class: "flex flex-col gap-6" };
|
|
124090
124090
|
const _hoisted_2$2f = { class: "flex items-center gap-4" };
|
|
124091
|
-
const _hoisted_3$
|
|
124092
|
-
const _hoisted_4$
|
|
124091
|
+
const _hoisted_3$1Q = { class: "font-bold" };
|
|
124092
|
+
const _hoisted_4$1x = { class: "flex flex-wrap" };
|
|
124093
124093
|
const _hoisted_5$1h = { key: 0 };
|
|
124094
124094
|
const _hoisted_6$15 = {
|
|
124095
124095
|
key: 0,
|
|
@@ -124130,9 +124130,9 @@ const _sfc_main$3Y = /* @__PURE__ */ defineComponent({
|
|
|
124130
124130
|
createElementVNode("div", _hoisted_1$35, [
|
|
124131
124131
|
createElementVNode("div", _hoisted_2$2f, [
|
|
124132
124132
|
createVNode(CIcon, { icon: "users" }),
|
|
124133
|
-
createElementVNode("div", _hoisted_3$
|
|
124133
|
+
createElementVNode("div", _hoisted_3$1Q, toDisplayString(_ctx.title ?? unref(t)("canvasUI.components.CGroupsAccessInfo.title", _ctx.items.length)), 1)
|
|
124134
124134
|
]),
|
|
124135
|
-
createElementVNode("div", _hoisted_4$
|
|
124135
|
+
createElementVNode("div", _hoisted_4$1x, [
|
|
124136
124136
|
(openBlock(true), createElementBlock(Fragment, null, renderList(roleItemsWithGroup.value, ({ group }, index) => {
|
|
124137
124137
|
return openBlock(), createElementBlock("div", {
|
|
124138
124138
|
key: group.id
|
|
@@ -124156,8 +124156,8 @@ const CGroupsAccessInfo = /* @__PURE__ */ _export_sfc(_sfc_main$3Y, [["__scopeId
|
|
|
124156
124156
|
|
|
124157
124157
|
const _hoisted_1$34 = { class: "flex flex-col gap-6" };
|
|
124158
124158
|
const _hoisted_2$2e = { class: "flex items-center gap-4" };
|
|
124159
|
-
const _hoisted_3$
|
|
124160
|
-
const _hoisted_4$
|
|
124159
|
+
const _hoisted_3$1P = { class: "font-bold" };
|
|
124160
|
+
const _hoisted_4$1w = { class: "flex flex-wrap items-center" };
|
|
124161
124161
|
const _hoisted_5$1g = {
|
|
124162
124162
|
key: 0,
|
|
124163
124163
|
class: "ml-4 truncate c-users-access-info__more"
|
|
@@ -124185,9 +124185,9 @@ const _sfc_main$3X = /* @__PURE__ */ defineComponent({
|
|
|
124185
124185
|
createElementVNode("div", _hoisted_1$34, [
|
|
124186
124186
|
createElementVNode("div", _hoisted_2$2e, [
|
|
124187
124187
|
createVNode(CIcon, { icon: "user" }),
|
|
124188
|
-
createElementVNode("div", _hoisted_3$
|
|
124188
|
+
createElementVNode("div", _hoisted_3$1P, toDisplayString(_ctx.title ?? unref(t)("canvasUI.components.CUsersAccessInfo.individualUsers", _ctx.items.length)), 1)
|
|
124189
124189
|
]),
|
|
124190
|
-
createElementVNode("div", _hoisted_4$
|
|
124190
|
+
createElementVNode("div", _hoisted_4$1w, [
|
|
124191
124191
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.items.slice(0, _ctx.maxItemsToShow), ({ user }) => {
|
|
124192
124192
|
return openBlock(), createBlock(_sfc_main$5n, {
|
|
124193
124193
|
key: user?.id,
|
|
@@ -124210,8 +124210,8 @@ const CUsersAccessInfo = /* @__PURE__ */ _export_sfc(_sfc_main$3X, [["__scopeId"
|
|
|
124210
124210
|
|
|
124211
124211
|
const _hoisted_1$33 = { class: "flex flex-col gap-6" };
|
|
124212
124212
|
const _hoisted_2$2d = { class: "flex items-center gap-4" };
|
|
124213
|
-
const _hoisted_3$
|
|
124214
|
-
const _hoisted_4$
|
|
124213
|
+
const _hoisted_3$1O = { class: "font-bold" };
|
|
124214
|
+
const _hoisted_4$1v = { class: "flex flex-wrap" };
|
|
124215
124215
|
const _hoisted_5$1f = { key: 0 };
|
|
124216
124216
|
const _hoisted_6$14 = {
|
|
124217
124217
|
key: 0,
|
|
@@ -124238,9 +124238,9 @@ const _sfc_main$3W = /* @__PURE__ */ defineComponent({
|
|
|
124238
124238
|
createElementVNode("div", _hoisted_1$33, [
|
|
124239
124239
|
createElementVNode("div", _hoisted_2$2d, [
|
|
124240
124240
|
createVNode(CIcon, { icon: "folder" }),
|
|
124241
|
-
createElementVNode("div", _hoisted_3$
|
|
124241
|
+
createElementVNode("div", _hoisted_3$1O, toDisplayString(_ctx.title ?? unref(t)("canvasUI.components.CFilesAccessInfo.title", _ctx.items.length)), 1)
|
|
124242
124242
|
]),
|
|
124243
|
-
createElementVNode("div", _hoisted_4$
|
|
124243
|
+
createElementVNode("div", _hoisted_4$1v, [
|
|
124244
124244
|
(openBlock(true), createElementBlock(Fragment, null, renderList(itemsToShow.value.slice(0, _ctx.maxItemsToShow), ({ file }, index) => {
|
|
124245
124245
|
return openBlock(), createElementBlock("div", {
|
|
124246
124246
|
key: file.id
|
|
@@ -124435,8 +124435,8 @@ const RECENT_FILES_STORAGE_KEY_IMPACT = "ciq_recent_files";
|
|
|
124435
124435
|
|
|
124436
124436
|
const _hoisted_1$32 = { class: "flex justify-between items-center gap-2" };
|
|
124437
124437
|
const _hoisted_2$2c = { class: "flex items-center gap-2" };
|
|
124438
|
-
const _hoisted_3$
|
|
124439
|
-
const _hoisted_4$
|
|
124438
|
+
const _hoisted_3$1N = { class: "c-file-viewer-top__file-name grid font-normal text-[20px] leading-8 tracking-wide" };
|
|
124439
|
+
const _hoisted_4$1u = {
|
|
124440
124440
|
key: 0,
|
|
124441
124441
|
class: "overflow-hidden max-h-[342px]"
|
|
124442
124442
|
};
|
|
@@ -124650,8 +124650,8 @@ const _sfc_main$3U = /* @__PURE__ */ defineComponent({
|
|
|
124650
124650
|
]
|
|
124651
124651
|
]) : createCommentVNode("", true)
|
|
124652
124652
|
]),
|
|
124653
|
-
createElementVNode("div", _hoisted_3$
|
|
124654
|
-
recentFilesToShow.value.length > 1 && _ctx.file ? withDirectives((openBlock(), createElementBlock("div", _hoisted_4$
|
|
124653
|
+
createElementVNode("div", _hoisted_3$1N, [
|
|
124654
|
+
recentFilesToShow.value.length > 1 && _ctx.file ? withDirectives((openBlock(), createElementBlock("div", _hoisted_4$1u, [
|
|
124655
124655
|
createVNode(CSelect, {
|
|
124656
124656
|
class: "flex-grow-1 select-none",
|
|
124657
124657
|
hideDetails: "",
|
|
@@ -124813,8 +124813,8 @@ const CFileViewerTop = /* @__PURE__ */ _export_sfc(_sfc_main$3U, [["__scopeId",
|
|
|
124813
124813
|
|
|
124814
124814
|
const _hoisted_1$31 = { class: "flex justify-between" };
|
|
124815
124815
|
const _hoisted_2$2b = { class: "flex items-center gap-2" };
|
|
124816
|
-
const _hoisted_3$
|
|
124817
|
-
const _hoisted_4$
|
|
124816
|
+
const _hoisted_3$1M = { class: "hotspot-toggle__text hotspot-toggle__text--checked tracking-wider uppercase overflow-hidden text-ellipsis whitespace-nowrap" };
|
|
124817
|
+
const _hoisted_4$1t = { class: "hotspot-toggle__text hotspot-toggle__text--unchecked tracking-wider uppercase overflow-hidden text-ellipsis whitespace-nowrap" };
|
|
124818
124818
|
const _hoisted_5$1d = { class: "absolute left-[50%] top-[50%] translate-[-50%]" };
|
|
124819
124819
|
const _hoisted_6$12 = { class: "flex items-center gap-2" };
|
|
124820
124820
|
const _sfc_main$3T = /* @__PURE__ */ defineComponent({
|
|
@@ -125029,10 +125029,10 @@ const _sfc_main$3T = /* @__PURE__ */ defineComponent({
|
|
|
125029
125029
|
"onUpdate:value": _cache[8] || (_cache[8] = ($event) => emit("toggleAnnotationVisibility"))
|
|
125030
125030
|
}, {
|
|
125031
125031
|
checked: withCtx(() => [
|
|
125032
|
-
createElementVNode("span", _hoisted_3$
|
|
125032
|
+
createElementVNode("span", _hoisted_3$1M, toDisplayString(unref(t)("canvasUI.components.fileViewer.annotations.visibility.show")), 1)
|
|
125033
125033
|
]),
|
|
125034
125034
|
unchecked: withCtx(() => [
|
|
125035
|
-
createElementVNode("span", _hoisted_4$
|
|
125035
|
+
createElementVNode("span", _hoisted_4$1t, toDisplayString(unref(t)("canvasUI.components.fileViewer.annotations.visibility.hide")), 1)
|
|
125036
125036
|
]),
|
|
125037
125037
|
"checked-icon": withCtx(() => [
|
|
125038
125038
|
createVNode(CIcon, {
|
|
@@ -125175,8 +125175,8 @@ const _hoisted_2$2a = {
|
|
|
125175
125175
|
key: 0,
|
|
125176
125176
|
class: "flex-grow flex flex-col gap-1 mx-2 min-w-0 w-full leading-none"
|
|
125177
125177
|
};
|
|
125178
|
-
const _hoisted_3$
|
|
125179
|
-
const _hoisted_4$
|
|
125178
|
+
const _hoisted_3$1L = { class: "title text-ellipsis whitespace-nowrap font-700 overflow-hidden" };
|
|
125179
|
+
const _hoisted_4$1s = {
|
|
125180
125180
|
key: 0,
|
|
125181
125181
|
class: "text-ellipsis whitespace-nowrap color-text2 truncate font-size-[12px]"
|
|
125182
125182
|
};
|
|
@@ -125231,8 +125231,8 @@ const _sfc_main$3R = /* @__PURE__ */ defineComponent({
|
|
|
125231
125231
|
width: 60
|
|
125232
125232
|
}, null, 8, ["item"]),
|
|
125233
125233
|
!_ctx.selectedPageIndex ? (openBlock(), createElementBlock("div", _hoisted_2$2a, [
|
|
125234
|
-
createElementVNode("div", _hoisted_3$
|
|
125235
|
-
!_ctx.hideContentType ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
125234
|
+
createElementVNode("div", _hoisted_3$1L, toDisplayString(_ctx.file.name), 1),
|
|
125235
|
+
!_ctx.hideContentType ? (openBlock(), createElementBlock("div", _hoisted_4$1s, [
|
|
125236
125236
|
(openBlock(), createBlock(resolveDynamicComponent(unref(renderContentType)(_ctx.file.content_type)), { class: "color-primary3" }))
|
|
125237
125237
|
])) : createCommentVNode("", true)
|
|
125238
125238
|
])) : (openBlock(), createElementBlock("div", _hoisted_5$1c, [
|
|
@@ -125325,8 +125325,8 @@ function enforceHttps(url) {
|
|
|
125325
125325
|
|
|
125326
125326
|
const _hoisted_1$2_ = { key: 0 };
|
|
125327
125327
|
const _hoisted_2$29 = { class: "flex flex-col gap-4 mb-2" };
|
|
125328
|
-
const _hoisted_3$
|
|
125329
|
-
const _hoisted_4$
|
|
125328
|
+
const _hoisted_3$1K = { class: "font-bold font-size-[20px]" };
|
|
125329
|
+
const _hoisted_4$1r = { class: "flex flex-col gap-2" };
|
|
125330
125330
|
const _hoisted_5$1b = {
|
|
125331
125331
|
key: 0,
|
|
125332
125332
|
class: "flex flex-col gap-2"
|
|
@@ -125573,10 +125573,10 @@ const _sfc_main$3Q = /* @__PURE__ */ defineComponent({
|
|
|
125573
125573
|
createVNode(_sfc_main$60, { "max-height": 500 }, {
|
|
125574
125574
|
default: withCtx(() => [
|
|
125575
125575
|
createElementVNode("div", _hoisted_2$29, [
|
|
125576
|
-
createElementVNode("div", _hoisted_3$
|
|
125576
|
+
createElementVNode("div", _hoisted_3$1K, toDisplayString(unref(t)("canvasUI.components.fileViewer.linkAnnotation.title")), 1),
|
|
125577
125577
|
createElementVNode("div", null, toDisplayString(unref(t)("canvasUI.components.fileViewer.linkAnnotation.subtitle")), 1)
|
|
125578
125578
|
]),
|
|
125579
|
-
createElementVNode("div", _hoisted_4$
|
|
125579
|
+
createElementVNode("div", _hoisted_4$1r, [
|
|
125580
125580
|
createVNode(unref(NFormItem), {
|
|
125581
125581
|
"show-feedback": false,
|
|
125582
125582
|
"show-label": false
|
|
@@ -125712,8 +125712,8 @@ const _sfc_main$3Q = /* @__PURE__ */ defineComponent({
|
|
|
125712
125712
|
|
|
125713
125713
|
const _hoisted_1$2Z = { class: "flex flex-col gap-2" };
|
|
125714
125714
|
const _hoisted_2$28 = { class: "flex flex-col gap-1 mt-1" };
|
|
125715
|
-
const _hoisted_3$
|
|
125716
|
-
const _hoisted_4$
|
|
125715
|
+
const _hoisted_3$1J = { class: "flex gap-2" };
|
|
125716
|
+
const _hoisted_4$1q = { class: "flex items-center gap-2 color-text3" };
|
|
125717
125717
|
const _hoisted_5$1a = { class: "flex items-center gap-2 color-text3" };
|
|
125718
125718
|
const _sfc_main$3P = /* @__PURE__ */ defineComponent({
|
|
125719
125719
|
__name: "CFileViewerCopyPagesMetadata.pdf",
|
|
@@ -125827,7 +125827,7 @@ const _sfc_main$3P = /* @__PURE__ */ defineComponent({
|
|
|
125827
125827
|
range: "",
|
|
125828
125828
|
step: 1
|
|
125829
125829
|
}, null, 8, ["value", "disabled", "max"]),
|
|
125830
|
-
createElementVNode("div", _hoisted_3$
|
|
125830
|
+
createElementVNode("div", _hoisted_3$1J, [
|
|
125831
125831
|
createVNode(unref(NInputNumber), {
|
|
125832
125832
|
value: range.value[0],
|
|
125833
125833
|
"onUpdate:value": _cache[4] || (_cache[4] = ($event) => range.value[0] = $event),
|
|
@@ -125838,7 +125838,7 @@ const _sfc_main$3P = /* @__PURE__ */ defineComponent({
|
|
|
125838
125838
|
precision: 0
|
|
125839
125839
|
}, {
|
|
125840
125840
|
prefix: withCtx(() => [
|
|
125841
|
-
createElementVNode("div", _hoisted_4$
|
|
125841
|
+
createElementVNode("div", _hoisted_4$1q, [
|
|
125842
125842
|
createVNode(CIcon, {
|
|
125843
125843
|
icon: "page",
|
|
125844
125844
|
size: "16px"
|
|
@@ -125914,8 +125914,8 @@ const _sfc_main$3O = /* @__PURE__ */ defineComponent({
|
|
|
125914
125914
|
|
|
125915
125915
|
const _hoisted_1$2X = { class: "flex flex-col gap-1" };
|
|
125916
125916
|
const _hoisted_2$27 = { class: "flex gap-2" };
|
|
125917
|
-
const _hoisted_3$
|
|
125918
|
-
const _hoisted_4$
|
|
125917
|
+
const _hoisted_3$1I = { class: "font-size-3 color-text2" };
|
|
125918
|
+
const _hoisted_4$1p = {
|
|
125919
125919
|
key: 1,
|
|
125920
125920
|
class: "flex flex-col gap-4 h-full"
|
|
125921
125921
|
};
|
|
@@ -126159,7 +126159,7 @@ const _sfc_main$3N = /* @__PURE__ */ defineComponent({
|
|
|
126159
126159
|
key: 0,
|
|
126160
126160
|
class: "flex h-full"
|
|
126161
126161
|
})) : createCommentVNode("", true),
|
|
126162
|
-
!_ctx.isLoadingInstanceMetadataTemplate ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
126162
|
+
!_ctx.isLoadingInstanceMetadataTemplate ? (openBlock(), createElementBlock("div", _hoisted_4$1p, [
|
|
126163
126163
|
createElementVNode("div", _hoisted_5$19, toDisplayString(unref(t)("canvasUI.components.fileViewer.pageMetadata.form.pageSettings")), 1),
|
|
126164
126164
|
createVNode(unref(NForm), {
|
|
126165
126165
|
model: flatPagesInfoModel[currentPageIndex.value]
|
|
@@ -126272,7 +126272,7 @@ const _sfc_main$3N = /* @__PURE__ */ defineComponent({
|
|
|
126272
126272
|
_: 1
|
|
126273
126273
|
}, 8, ["disabled"])
|
|
126274
126274
|
]),
|
|
126275
|
-
createElementVNode("div", _hoisted_3$
|
|
126275
|
+
createElementVNode("div", _hoisted_3$1I, toDisplayString(unref(t)("canvasUI.components.fileViewer.pageMetadata.form.currentPageHelpText")), 1)
|
|
126276
126276
|
])
|
|
126277
126277
|
]),
|
|
126278
126278
|
key: "0"
|
|
@@ -126448,8 +126448,8 @@ const _hoisted_2$26 = {
|
|
|
126448
126448
|
key: 0,
|
|
126449
126449
|
class: "c-file-viewer-search-results-sidebar-header"
|
|
126450
126450
|
};
|
|
126451
|
-
const _hoisted_3$
|
|
126452
|
-
const _hoisted_4$
|
|
126451
|
+
const _hoisted_3$1H = { class: "c-file-viewer-search-results-sidebar__page" };
|
|
126452
|
+
const _hoisted_4$1o = ["onClick"];
|
|
126453
126453
|
const _sfc_main$3M = /* @__PURE__ */ defineComponent({
|
|
126454
126454
|
__name: "CFileViewerSearchResultsSidebar.pdf",
|
|
126455
126455
|
props: {
|
|
@@ -126500,7 +126500,7 @@ const _sfc_main$3M = /* @__PURE__ */ defineComponent({
|
|
|
126500
126500
|
])) : createCommentVNode("", true),
|
|
126501
126501
|
searchState.value && searchState.value.results ? (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(resultsGroupsByPage.value, (results, focusedResultIndex) => {
|
|
126502
126502
|
return openBlock(), createElementBlock("div", { key: focusedResultIndex }, [
|
|
126503
|
-
createElementVNode("div", _hoisted_3$
|
|
126503
|
+
createElementVNode("div", _hoisted_3$1H, [
|
|
126504
126504
|
createElementVNode("div", null, toDisplayString(unref(t)("canvasUI.components.fileViewer.sidebars.searchResults.page")), 1),
|
|
126505
126505
|
createElementVNode("div", null, toDisplayString(results[0].pageIndex + 1), 1)
|
|
126506
126506
|
]),
|
|
@@ -126514,7 +126514,7 @@ const _sfc_main$3M = /* @__PURE__ */ defineComponent({
|
|
|
126514
126514
|
key: 1,
|
|
126515
126515
|
style: { cursor: "pointer" },
|
|
126516
126516
|
onClick: ($event) => jumpToHighlightedText(result, result.totalResultIndex)
|
|
126517
|
-
}, toDisplayString(result.previewText.substring(result.locationInPreview, result.locationInPreview + searchState.value.term.length)), 9, _hoisted_4$
|
|
126517
|
+
}, toDisplayString(result.previewText.substring(result.locationInPreview, result.locationInPreview + searchState.value.term.length)), 9, _hoisted_4$1o)),
|
|
126518
126518
|
createElementVNode("span", null, toDisplayString(result.previewText.substring(result.locationInPreview + searchState.value.term.length)), 1),
|
|
126519
126519
|
_cache[0] || (_cache[0] = createElementVNode("hr", { class: "c-file-viewer-search-results-sidebar__page-results-divider" }, null, -1))
|
|
126520
126520
|
]);
|
|
@@ -127606,11 +127606,11 @@ const _hoisted_2$25 = {
|
|
|
127606
127606
|
key: 2,
|
|
127607
127607
|
class: "c-file-viewer__content-status-container"
|
|
127608
127608
|
};
|
|
127609
|
-
const _hoisted_3$
|
|
127609
|
+
const _hoisted_3$1G = {
|
|
127610
127610
|
key: 2,
|
|
127611
127611
|
class: "w-full h-full flex justify-center items-center"
|
|
127612
127612
|
};
|
|
127613
|
-
const _hoisted_4$
|
|
127613
|
+
const _hoisted_4$1n = ["href"];
|
|
127614
127614
|
const _hoisted_5$18 = { class: "block w-full min-h-[125px] max-w-lg hover:opacity-75 focus:opacity-75 transition-opacity" };
|
|
127615
127615
|
const _hoisted_6$_ = {
|
|
127616
127616
|
key: 4,
|
|
@@ -128140,7 +128140,7 @@ const _sfc_main$3L = /* @__PURE__ */ defineComponent({
|
|
|
128140
128140
|
"fit-parent": "",
|
|
128141
128141
|
icon: "face-worried",
|
|
128142
128142
|
title: unref(t)("canvasUI.components.fileViewer.missingFileUrl.title")
|
|
128143
|
-
}, null, 8, ["description", "title"])) : fileType.value === "ar" && unref(supportsAr) ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
128143
|
+
}, null, 8, ["description", "title"])) : fileType.value === "ar" && unref(supportsAr) ? (openBlock(), createElementBlock("div", _hoisted_3$1G, [
|
|
128144
128144
|
createElementVNode("a", {
|
|
128145
128145
|
href: _ctx.file.content_url,
|
|
128146
128146
|
rel: "ar"
|
|
@@ -128150,7 +128150,7 @@ const _sfc_main$3L = /* @__PURE__ */ defineComponent({
|
|
|
128150
128150
|
"object-fit": "cover",
|
|
128151
128151
|
src: _ctx.file.thumbnail_url
|
|
128152
128152
|
}, null, 8, ["src"])
|
|
128153
|
-
], 8, _hoisted_4$
|
|
128153
|
+
], 8, _hoisted_4$1n)
|
|
128154
128154
|
])) : fileType.value === "ar" ? (openBlock(), createBlock(_sfc_main$6J, {
|
|
128155
128155
|
key: 3,
|
|
128156
128156
|
description: unref(t)("canvasUI.components.fileViewer.arContentNotAvailable.description"),
|
|
@@ -128319,13 +128319,13 @@ const CDetailPageSectionButtons = /* @__PURE__ */ _export_sfc(_sfc_main$3K, [["_
|
|
|
128319
128319
|
|
|
128320
128320
|
const _hoisted_1$2T = { class: "c-global-loader" };
|
|
128321
128321
|
const _hoisted_2$24 = { class: "c-global-loader__container" };
|
|
128322
|
-
const _hoisted_3$
|
|
128322
|
+
const _hoisted_3$1F = {
|
|
128323
128323
|
class: "c-global-loader__shape",
|
|
128324
128324
|
preserveAspectRatio: "xMidYMid meet",
|
|
128325
128325
|
viewBox: "124 269.5 128 128",
|
|
128326
128326
|
xmlns: "http://www.w3.org/2000/svg"
|
|
128327
128327
|
};
|
|
128328
|
-
const _hoisted_4$
|
|
128328
|
+
const _hoisted_4$1m = {
|
|
128329
128329
|
opacity: "1",
|
|
128330
128330
|
transform: "matrix(1,0,0,1,187.5,333.5)"
|
|
128331
128331
|
};
|
|
@@ -128437,8 +128437,8 @@ const _sfc_main$3J = /* @__PURE__ */ defineComponent({
|
|
|
128437
128437
|
return (_ctx, _cache) => {
|
|
128438
128438
|
return openBlock(), createElementBlock("div", _hoisted_1$2T, [
|
|
128439
128439
|
createElementVNode("div", _hoisted_2$24, [
|
|
128440
|
-
(openBlock(), createElementBlock("svg", _hoisted_3$
|
|
128441
|
-
createElementVNode("g", _hoisted_4$
|
|
128440
|
+
(openBlock(), createElementBlock("svg", _hoisted_3$1F, [
|
|
128441
|
+
createElementVNode("g", _hoisted_4$1m, [
|
|
128442
128442
|
createElementVNode("g", _hoisted_5$17, [
|
|
128443
128443
|
createElementVNode("path", {
|
|
128444
128444
|
id: "path1",
|
|
@@ -128481,8 +128481,8 @@ const CGlobalLoader = /* @__PURE__ */ _export_sfc(_sfc_main$3J, [["__scopeId", "
|
|
|
128481
128481
|
|
|
128482
128482
|
const _hoisted_1$2S = { class: "flex flex-col gap-1" };
|
|
128483
128483
|
const _hoisted_2$23 = { class: "flex flex-wrap gap-1" };
|
|
128484
|
-
const _hoisted_3$
|
|
128485
|
-
const _hoisted_4$
|
|
128484
|
+
const _hoisted_3$1E = { class: "font-bold" };
|
|
128485
|
+
const _hoisted_4$1l = {
|
|
128486
128486
|
key: 0,
|
|
128487
128487
|
class: "flex flex-wrap gap-1"
|
|
128488
128488
|
};
|
|
@@ -128499,9 +128499,9 @@ const _sfc_main$3I = /* @__PURE__ */ defineComponent({
|
|
|
128499
128499
|
return openBlock(), createElementBlock("div", _hoisted_1$2S, [
|
|
128500
128500
|
createElementVNode("div", _hoisted_2$23, [
|
|
128501
128501
|
createElementVNode("div", null, toDisplayString(_ctx.texts.name), 1),
|
|
128502
|
-
createElementVNode("div", _hoisted_3$
|
|
128502
|
+
createElementVNode("div", _hoisted_3$1E, toDisplayString(_ctx.name), 1)
|
|
128503
128503
|
]),
|
|
128504
|
-
_ctx.texts.type ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
128504
|
+
_ctx.texts.type ? (openBlock(), createElementBlock("div", _hoisted_4$1l, [
|
|
128505
128505
|
createElementVNode("div", null, toDisplayString(_ctx.texts.type), 1),
|
|
128506
128506
|
createElementVNode("div", _hoisted_5$16, toDisplayString(_ctx.texts.file ?? _ctx.texts.folder), 1)
|
|
128507
128507
|
])) : createCommentVNode("", true),
|
|
@@ -128519,8 +128519,8 @@ const catalogIqSvgAdmin = "data:image/svg+xml,%3csvg%20width='36'%20height='36'%
|
|
|
128519
128519
|
|
|
128520
128520
|
const _hoisted_1$2R = { class: "p-4 c-catalog-iq-switcher-content min-w-[270px]" };
|
|
128521
128521
|
const _hoisted_2$22 = { class: "flex justify-between items-center" };
|
|
128522
|
-
const _hoisted_3$
|
|
128523
|
-
const _hoisted_4$
|
|
128522
|
+
const _hoisted_3$1D = { class: "text-center text-20px font-500 leading-32px tracking-[0.25px] ma-0" };
|
|
128523
|
+
const _hoisted_4$1k = { class: "flex flex-col mt-3" };
|
|
128524
128524
|
const _hoisted_5$15 = ["href"];
|
|
128525
128525
|
const _hoisted_6$X = { class: "flex items-center gap-2" };
|
|
128526
128526
|
const _hoisted_7$G = ["alt", "src"];
|
|
@@ -128552,9 +128552,9 @@ const _sfc_main$3H = /* @__PURE__ */ defineComponent({
|
|
|
128552
128552
|
return (_ctx, _cache) => {
|
|
128553
128553
|
return openBlock(), createElementBlock("div", _hoisted_1$2R, [
|
|
128554
128554
|
createElementVNode("div", _hoisted_2$22, [
|
|
128555
|
-
createElementVNode("div", _hoisted_3$
|
|
128555
|
+
createElementVNode("div", _hoisted_3$1D, toDisplayString(unref(t)("canvasUI.components.CCatalogIqSwitcherContent.switchTo")), 1)
|
|
128556
128556
|
]),
|
|
128557
|
-
createElementVNode("div", _hoisted_4$
|
|
128557
|
+
createElementVNode("div", _hoisted_4$1k, [
|
|
128558
128558
|
(openBlock(true), createElementBlock(Fragment, null, renderList(items.value, (item) => {
|
|
128559
128559
|
return openBlock(), createElementBlock("a", {
|
|
128560
128560
|
key: item.app,
|
|
@@ -128658,8 +128658,8 @@ const _hoisted_1$2Q = {
|
|
|
128658
128658
|
class: "relative overflow-hidden c-carousel flex flex-col gap-4"
|
|
128659
128659
|
};
|
|
128660
128660
|
const _hoisted_2$21 = { class: "c-carousel__dots flex items-center" };
|
|
128661
|
-
const _hoisted_3$
|
|
128662
|
-
const _hoisted_4$
|
|
128661
|
+
const _hoisted_3$1C = ["onClick"];
|
|
128662
|
+
const _hoisted_4$1j = { class: "c-carousel__arrow-group flex gap-2" };
|
|
128663
128663
|
const _sfc_main$3F = /* @__PURE__ */ defineComponent({
|
|
128664
128664
|
__name: "CCarousel",
|
|
128665
128665
|
props: {
|
|
@@ -128799,10 +128799,10 @@ const _sfc_main$3F = /* @__PURE__ */ defineComponent({
|
|
|
128799
128799
|
key: index,
|
|
128800
128800
|
class: normalizeClass(["h-2 w-2 c-carousel__dot", { "c-carousel__dot--active n-carousel__dot--active": currentSlideIndex.value === index }]),
|
|
128801
128801
|
onClick: ($event) => goToSlide(index)
|
|
128802
|
-
}, null, 10, _hoisted_3$
|
|
128802
|
+
}, null, 10, _hoisted_3$1C);
|
|
128803
128803
|
}), 128))
|
|
128804
128804
|
]),
|
|
128805
|
-
createElementVNode("div", _hoisted_4$
|
|
128805
|
+
createElementVNode("div", _hoisted_4$1j, [
|
|
128806
128806
|
createVNode(CIcon, {
|
|
128807
128807
|
class: "cursor-pointer rounded-2 pa-[6px] c-carousel__arrow",
|
|
128808
128808
|
icon: "angle-left",
|
|
@@ -128824,7 +128824,7 @@ const CCarousel = /* @__PURE__ */ _export_sfc(_sfc_main$3F, [["__scopeId", "data
|
|
|
128824
128824
|
|
|
128825
128825
|
const _hoisted_1$2P = { class: "c-slide-viewer w-full h-full relative overflow-hidden" };
|
|
128826
128826
|
const _hoisted_2$20 = { class: "flex flex-col items-center space-y-2" };
|
|
128827
|
-
const _hoisted_3$
|
|
128827
|
+
const _hoisted_3$1B = { class: "text-sm" };
|
|
128828
128828
|
const PDF_CACHE_TTL_MS = 10 * 60 * 1e3;
|
|
128829
128829
|
const _sfc_main$3E = /* @__PURE__ */ defineComponent({
|
|
128830
128830
|
__name: "CSlideViewer.pdfjs",
|
|
@@ -129102,7 +129102,7 @@ const _sfc_main$3E = /* @__PURE__ */ defineComponent({
|
|
|
129102
129102
|
icon: "file-image",
|
|
129103
129103
|
size: "48"
|
|
129104
129104
|
}, null, 8, ["color"]),
|
|
129105
|
-
createElementVNode("span", _hoisted_3$
|
|
129105
|
+
createElementVNode("span", _hoisted_3$1B, toDisplayString(unref(t)("canvasUI.CSlideViewer.noPdfAvailable")), 1)
|
|
129106
129106
|
])
|
|
129107
129107
|
], 4)) : (openBlock(), createElementBlock("div", {
|
|
129108
129108
|
key: 2,
|
|
@@ -129125,8 +129125,8 @@ const _sfc_main$3E = /* @__PURE__ */ defineComponent({
|
|
|
129125
129125
|
|
|
129126
129126
|
const _hoisted_1$2O = { class: "w-full h-full overflow-hidden relative" };
|
|
129127
129127
|
const _hoisted_2$1$ = { class: "flex flex-col items-center space-y-2" };
|
|
129128
|
-
const _hoisted_3$
|
|
129129
|
-
const _hoisted_4$
|
|
129128
|
+
const _hoisted_3$1A = { class: "text-sm" };
|
|
129129
|
+
const _hoisted_4$1i = ["src"];
|
|
129130
129130
|
const PITCHER_COM_PSPDFKIT_LICENSE_KEY = "rKD0Ja3L6Oc5svmubXZreNFSpA9VvLzEsEyseyTteXwtfdUpHnvvwixbr3kbdQvLIRV6M03ZI1nWuwRRQjhBnTOgsy5uvwYXAmJGzHcXDSMAxhF7kHpiEwHDnfHDA-QBpuKtOh-9EP9HBFYPX4tDLAUMypErrtKQSkW4eTiW5yxWtkrrJR4Y1-LXtUnVMaCV_LLVFSdpJUCPH6r7U1rEP_d2eKE3zLHhYg9tm4SwE2bzfMGj7jTb74e-KcQ4oULa-Jd4oHKlQdgADw_KznBaj2ONBNo97BMVsWQqLMqHV9bsZIMBn4qYPMr7Oc60msTBz5XT47-KCRXIEixl56SvniHoVj5Ni9Qqz4WyoAnBOLuQL_O-GnxrMxWGew15YFFXxFtZLg4ZDWm6viuy3KbQE7X7q04dDvz2OsBGuPCcA1lVQp_oDvWP34898gEEZuB7-PoIOiQFDgaryv7nL5BbAza5kKvTqeTkeR6QuFbdSoKqhurkdsQ03kvDU0sgJEW4-D8hZSYa7iDcCoStmpf2SpnKmL7fO_F4f0IlirwJQerm6nfK3aiiF5FqGnStJ_v2dLFnxPl65r7RjmhzeOVOi9-zn3cy1HAjWV35k1dfwYsQBuEHjW6fhCK5GtAc3QBIQONqr3XhhzaUEO_ytOxSGy5gSpK28bi3HD8CCzmRcOeJtprDPAdygmnKD9t8mM68";
|
|
129131
129131
|
const _sfc_main$3D = /* @__PURE__ */ defineComponent({
|
|
129132
129132
|
__name: "CSlideViewer.pspdfkit",
|
|
@@ -129329,7 +129329,7 @@ const _sfc_main$3D = /* @__PURE__ */ defineComponent({
|
|
|
129329
129329
|
icon: "file-image",
|
|
129330
129330
|
size: "48"
|
|
129331
129331
|
}, null, 8, ["color"]),
|
|
129332
|
-
createElementVNode("span", _hoisted_3$
|
|
129332
|
+
createElementVNode("span", _hoisted_3$1A, toDisplayString(unref(t)("canvasUI.CSlideViewer.noPdfAvailable")), 1)
|
|
129333
129333
|
])
|
|
129334
129334
|
], 4)) : error.value ? (openBlock(), createElementBlock("div", {
|
|
129335
129335
|
key: 1,
|
|
@@ -129344,7 +129344,7 @@ const _sfc_main$3D = /* @__PURE__ */ defineComponent({
|
|
|
129344
129344
|
src: iframeUrl.value,
|
|
129345
129345
|
style: normalizeStyle(containerStyle.value),
|
|
129346
129346
|
onLoad: onIframeLoad
|
|
129347
|
-
}, null, 44, _hoisted_4$
|
|
129347
|
+
}, null, 44, _hoisted_4$1i)) : createCommentVNode("", true)
|
|
129348
129348
|
]);
|
|
129349
129349
|
};
|
|
129350
129350
|
}
|
|
@@ -129555,8 +129555,8 @@ const _hoisted_2$1_ = {
|
|
|
129555
129555
|
key: 0,
|
|
129556
129556
|
class: "flex gap-3 pa-5"
|
|
129557
129557
|
};
|
|
129558
|
-
const _hoisted_3$
|
|
129559
|
-
const _hoisted_4$
|
|
129558
|
+
const _hoisted_3$1z = { class: "flex flex-col gap-1" };
|
|
129559
|
+
const _hoisted_4$1h = { class: "tracking-wide leading-none text-base" };
|
|
129560
129560
|
const _hoisted_5$14 = { class: "tracking-wide leading-none text-sm" };
|
|
129561
129561
|
const _hoisted_6$W = { class: "flex flex-col gap-2 pa-3" };
|
|
129562
129562
|
const _hoisted_7$F = ["onClick"];
|
|
@@ -129615,8 +129615,8 @@ const _sfc_main$3z = /* @__PURE__ */ defineComponent({
|
|
|
129615
129615
|
lastName: _ctx.user.last_name,
|
|
129616
129616
|
picture: _ctx.user.picture
|
|
129617
129617
|
}, null, 8, ["email", "firstName", "lastName", "picture"]),
|
|
129618
|
-
createElementVNode("div", _hoisted_3$
|
|
129619
|
-
createElementVNode("span", _hoisted_4$
|
|
129618
|
+
createElementVNode("div", _hoisted_3$1z, [
|
|
129619
|
+
createElementVNode("span", _hoisted_4$1h, toDisplayString(`${_ctx.user.first_name} ${_ctx.user.last_name}`), 1),
|
|
129620
129620
|
createElementVNode("span", _hoisted_5$14, toDisplayString(_ctx.user.email), 1),
|
|
129621
129621
|
unref(isNonMemberRole)(_ctx.userRole) ? (openBlock(), createBlock(_sfc_main$4U, {
|
|
129622
129622
|
key: 0,
|
|
@@ -130363,8 +130363,8 @@ const ContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$3w, [["__scopeId", "da
|
|
|
130363
130363
|
|
|
130364
130364
|
const _hoisted_1$2K = { class: "basic-info w-full" };
|
|
130365
130365
|
const _hoisted_2$1Y = { class: "flex justify-center mb-2 text-[16px] leading-[24px] tracking-[0.5px]" };
|
|
130366
|
-
const _hoisted_3$
|
|
130367
|
-
const _hoisted_4$
|
|
130366
|
+
const _hoisted_3$1y = { class: "truncate font-500 text-center" };
|
|
130367
|
+
const _hoisted_4$1g = {
|
|
130368
130368
|
key: 0,
|
|
130369
130369
|
class: "flex w-full h-full"
|
|
130370
130370
|
};
|
|
@@ -130382,9 +130382,9 @@ const _sfc_main$3v = /* @__PURE__ */ defineComponent({
|
|
|
130382
130382
|
return (_ctx, _cache) => {
|
|
130383
130383
|
return openBlock(), createElementBlock("div", _hoisted_1$2K, [
|
|
130384
130384
|
createElementVNode("div", _hoisted_2$1Y, [
|
|
130385
|
-
createElementVNode("div", _hoisted_3$
|
|
130385
|
+
createElementVNode("div", _hoisted_3$1y, toDisplayString(file.value?.name), 1)
|
|
130386
130386
|
]),
|
|
130387
|
-
file.value ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
130387
|
+
file.value ? (openBlock(), createElementBlock("div", _hoisted_4$1g, [
|
|
130388
130388
|
createElementVNode("div", _hoisted_5$13, [
|
|
130389
130389
|
createVNode(_sfc_main$6G, {
|
|
130390
130390
|
height: "auto",
|
|
@@ -130430,8 +130430,8 @@ const _hoisted_2$1X = {
|
|
|
130430
130430
|
key: 1,
|
|
130431
130431
|
class: "c-rating-feedback flex flex-col gap-2"
|
|
130432
130432
|
};
|
|
130433
|
-
const _hoisted_3$
|
|
130434
|
-
const _hoisted_4$
|
|
130433
|
+
const _hoisted_3$1x = { class: "rating" };
|
|
130434
|
+
const _hoisted_4$1f = { class: "w-full font-600 ma-0" };
|
|
130435
130435
|
const _hoisted_5$12 = { class: "comment" };
|
|
130436
130436
|
const _hoisted_6$U = { class: "w-full font-600 ma-0" };
|
|
130437
130437
|
const _hoisted_7$E = { class: "flex justify-start gap-2" };
|
|
@@ -130479,8 +130479,8 @@ const _sfc_main$3t = /* @__PURE__ */ defineComponent({
|
|
|
130479
130479
|
}),
|
|
130480
130480
|
createElementVNode("span", null, toDisplayString(unref(t)("canvasUI.components.CRatingFeedback.feedbackMessage")), 1)
|
|
130481
130481
|
])) : (openBlock(), createElementBlock("div", _hoisted_2$1X, [
|
|
130482
|
-
createElementVNode("div", _hoisted_3$
|
|
130483
|
-
createElementVNode("p", _hoisted_4$
|
|
130482
|
+
createElementVNode("div", _hoisted_3$1x, [
|
|
130483
|
+
createElementVNode("p", _hoisted_4$1f, toDisplayString(unref(t)("canvasUI.components.CRatingFeedback.rating")), 1),
|
|
130484
130484
|
createVNode(_sfc_main$3u, {
|
|
130485
130485
|
clearable: "",
|
|
130486
130486
|
color: unref(themeVars).warning,
|
|
@@ -130593,8 +130593,8 @@ const getNumberWithRegex = (string) => {
|
|
|
130593
130593
|
|
|
130594
130594
|
const _hoisted_1$2I = { class: "details w-full" };
|
|
130595
130595
|
const _hoisted_2$1W = { class: "flex mb-[10px] mt-[34px] font-600" };
|
|
130596
|
-
const _hoisted_3$
|
|
130597
|
-
const _hoisted_4$
|
|
130596
|
+
const _hoisted_3$1w = { class: "flex gap-8 lg:gap-16" };
|
|
130597
|
+
const _hoisted_4$1e = { class: "flex flex-col gap-4" };
|
|
130598
130598
|
const _hoisted_5$11 = { class: "flex flex-col gap-2" };
|
|
130599
130599
|
const _hoisted_6$T = { class: "title" };
|
|
130600
130600
|
const _hoisted_7$D = { class: "flex flex-col gap-2" };
|
|
@@ -130717,8 +130717,8 @@ const _sfc_main$3s = /* @__PURE__ */ defineComponent({
|
|
|
130717
130717
|
createElementVNode("div", _hoisted_2$1W, [
|
|
130718
130718
|
createElementVNode("div", null, toDisplayString(unref(t)("canvasUI.browserApp.fileSelectionInfo.sections.details.title")), 1)
|
|
130719
130719
|
]),
|
|
130720
|
-
createElementVNode("div", _hoisted_3$
|
|
130721
|
-
createElementVNode("div", _hoisted_4$
|
|
130720
|
+
createElementVNode("div", _hoisted_3$1w, [
|
|
130721
|
+
createElementVNode("div", _hoisted_4$1e, [
|
|
130722
130722
|
createElementVNode("div", _hoisted_5$11, [
|
|
130723
130723
|
createElementVNode("div", _hoisted_6$T, toDisplayString(unref(t)("canvasUI.browserApp.fileSelectionInfo.sections.details.owner")), 1),
|
|
130724
130724
|
createElementVNode("div", null, toDisplayString(file.value?.created_by.name), 1)
|
|
@@ -130785,8 +130785,8 @@ const _hoisted_1$2H = {
|
|
|
130785
130785
|
class: "details w-full"
|
|
130786
130786
|
};
|
|
130787
130787
|
const _hoisted_2$1V = { class: "flex mb-[10px] mt-[34px] font-600" };
|
|
130788
|
-
const _hoisted_3$
|
|
130789
|
-
const _hoisted_4$
|
|
130788
|
+
const _hoisted_3$1v = { class: "flex flex-wrap" };
|
|
130789
|
+
const _hoisted_4$1d = { class: "title" };
|
|
130790
130790
|
const _sfc_main$3r = /* @__PURE__ */ defineComponent({
|
|
130791
130791
|
__name: "Metadata",
|
|
130792
130792
|
setup(__props) {
|
|
@@ -130845,13 +130845,13 @@ const _sfc_main$3r = /* @__PURE__ */ defineComponent({
|
|
|
130845
130845
|
createElementVNode("div", _hoisted_2$1V, [
|
|
130846
130846
|
createElementVNode("div", null, toDisplayString(unref(t)("canvasUI.browserApp.fileSelectionInfo.sections.details.metadata")), 1)
|
|
130847
130847
|
]),
|
|
130848
|
-
createElementVNode("div", _hoisted_3$
|
|
130848
|
+
createElementVNode("div", _hoisted_3$1v, [
|
|
130849
130849
|
(openBlock(true), createElementBlock(Fragment, null, renderList(fileMetadata.value, (item, index) => {
|
|
130850
130850
|
return openBlock(), createElementBlock("div", {
|
|
130851
130851
|
key: index,
|
|
130852
130852
|
class: "flex flex-col gap-2 metadata-field mb-4"
|
|
130853
130853
|
}, [
|
|
130854
|
-
createElementVNode("div", _hoisted_4$
|
|
130854
|
+
createElementVNode("div", _hoisted_4$1d, toDisplayString(item.label), 1),
|
|
130855
130855
|
createElementVNode("div", null, toDisplayString(item.value), 1)
|
|
130856
130856
|
]);
|
|
130857
130857
|
}), 128))
|
|
@@ -130868,8 +130868,8 @@ const _hoisted_2$1U = {
|
|
|
130868
130868
|
key: 0,
|
|
130869
130869
|
class: "flex mb-[10px] mt-[34px] font-600"
|
|
130870
130870
|
};
|
|
130871
|
-
const _hoisted_3$
|
|
130872
|
-
const _hoisted_4$
|
|
130871
|
+
const _hoisted_3$1u = { class: "flex flex-wrap center-items gap-1" };
|
|
130872
|
+
const _hoisted_4$1c = {
|
|
130873
130873
|
key: 0,
|
|
130874
130874
|
class: "ml-2"
|
|
130875
130875
|
};
|
|
@@ -130904,7 +130904,7 @@ const _sfc_main$3q = /* @__PURE__ */ defineComponent({
|
|
|
130904
130904
|
_ctx.showLabel ? (openBlock(), createElementBlock("div", _hoisted_2$1U, [
|
|
130905
130905
|
createElementVNode("div", null, toDisplayString(unref(t)("canvasUI.browserApp.fileSelectionInfo.sections.tags.title")), 1)
|
|
130906
130906
|
])) : createCommentVNode("", true),
|
|
130907
|
-
createElementVNode("div", _hoisted_3$
|
|
130907
|
+
createElementVNode("div", _hoisted_3$1u, [
|
|
130908
130908
|
(openBlock(true), createElementBlock(Fragment, null, renderList(tagsToRender.value, (tag, index) => {
|
|
130909
130909
|
return openBlock(), createBlock(_sfc_main$6D, {
|
|
130910
130910
|
key: index,
|
|
@@ -130917,7 +130917,7 @@ const _sfc_main$3q = /* @__PURE__ */ defineComponent({
|
|
|
130917
130917
|
_: 2
|
|
130918
130918
|
}, 1024);
|
|
130919
130919
|
}), 128)),
|
|
130920
|
-
(file.value?.tags?.length ?? 0) > tagsToRender.value.length ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
130920
|
+
(file.value?.tags?.length ?? 0) > tagsToRender.value.length ? (openBlock(), createElementBlock("div", _hoisted_4$1c, toDisplayString(unref(t)(
|
|
130921
130921
|
"canvasUI.browserApp.fileSelectionInfo.sections.tags.andMoreTags",
|
|
130922
130922
|
(file.value?.tags?.length ?? 0) - _ctx.maxTagsToRender
|
|
130923
130923
|
)), 1)) : createCommentVNode("", true),
|
|
@@ -130957,11 +130957,11 @@ const _hoisted_1$2E = {
|
|
|
130957
130957
|
class: "file-access-management w-full"
|
|
130958
130958
|
};
|
|
130959
130959
|
const _hoisted_2$1T = { class: "flex justify-between items-center mb-[10px] mt-[34px] font-600" };
|
|
130960
|
-
const _hoisted_3$
|
|
130960
|
+
const _hoisted_3$1t = {
|
|
130961
130961
|
key: 0,
|
|
130962
130962
|
class: "flex justify-center py-4"
|
|
130963
130963
|
};
|
|
130964
|
-
const _hoisted_4$
|
|
130964
|
+
const _hoisted_4$1b = {
|
|
130965
130965
|
key: 1,
|
|
130966
130966
|
class: "flex flex-col gap-4"
|
|
130967
130967
|
};
|
|
@@ -131132,9 +131132,9 @@ const _sfc_main$3o = /* @__PURE__ */ defineComponent({
|
|
|
131132
131132
|
_: 1
|
|
131133
131133
|
})) : createCommentVNode("", true)
|
|
131134
131134
|
]),
|
|
131135
|
-
isLoading.value ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
131135
|
+
isLoading.value ? (openBlock(), createElementBlock("div", _hoisted_3$1t, [
|
|
131136
131136
|
createVNode(_sfc_main$6o)
|
|
131137
|
-
])) : isEditing.value ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
131137
|
+
])) : isEditing.value ? (openBlock(), createElementBlock("div", _hoisted_4$1b, [
|
|
131138
131138
|
allowUsersInDistribution.value ? (openBlock(), createBlock(CUsersGroupsAccessManage, {
|
|
131139
131139
|
key: 0,
|
|
131140
131140
|
items: usersCollaborations.value,
|
|
@@ -131252,8 +131252,8 @@ const _hoisted_1$2D = {
|
|
|
131252
131252
|
class: "flex gap-2 pb-4 uppercase tracking-wider"
|
|
131253
131253
|
};
|
|
131254
131254
|
const _hoisted_2$1S = { class: "flex items-center justify-between pa-4 gap-4" };
|
|
131255
|
-
const _hoisted_3$
|
|
131256
|
-
const _hoisted_4$
|
|
131255
|
+
const _hoisted_3$1s = { class: "text-sm" };
|
|
131256
|
+
const _hoisted_4$1a = { class: "flex items-center grow-0 basis-50" };
|
|
131257
131257
|
const _hoisted_5$_ = { class: "text-sm whitespace-nowrap" };
|
|
131258
131258
|
const _sfc_main$3n = /* @__PURE__ */ defineComponent({
|
|
131259
131259
|
__name: "AddComponentModal",
|
|
@@ -131742,8 +131742,8 @@ const _sfc_main$3n = /* @__PURE__ */ defineComponent({
|
|
|
131742
131742
|
])) : createCommentVNode("", true)
|
|
131743
131743
|
], 4),
|
|
131744
131744
|
createElementVNode("div", _hoisted_2$1S, [
|
|
131745
|
-
createElementVNode("span", _hoisted_3$
|
|
131746
|
-
createElementVNode("div", _hoisted_4$
|
|
131745
|
+
createElementVNode("span", _hoisted_3$1s, toDisplayString(unref(t)("canvasUI.canvasBuilder.components.name")) + " (" + toDisplayString(selections.value?.length) + ")", 1),
|
|
131746
|
+
createElementVNode("div", _hoisted_4$1a, [
|
|
131747
131747
|
createElementVNode("span", _hoisted_5$_, toDisplayString(unref(t)("canvasUI.canvasBuilder.components.sortBy")) + ":", 1),
|
|
131748
131748
|
createVNode(CSelect, {
|
|
131749
131749
|
class: "select-none",
|
|
@@ -132037,8 +132037,8 @@ const _hoisted_2$1R = {
|
|
|
132037
132037
|
key: 0,
|
|
132038
132038
|
class: "mt-4"
|
|
132039
132039
|
};
|
|
132040
|
-
const _hoisted_3$
|
|
132041
|
-
const _hoisted_4$
|
|
132040
|
+
const _hoisted_3$1r = { key: 0 };
|
|
132041
|
+
const _hoisted_4$19 = ["title"];
|
|
132042
132042
|
const _hoisted_5$Z = ["title"];
|
|
132043
132043
|
const _hoisted_6$R = {
|
|
132044
132044
|
key: 3,
|
|
@@ -132595,13 +132595,13 @@ const _sfc_main$3m = /* @__PURE__ */ defineComponent({
|
|
|
132595
132595
|
item: n
|
|
132596
132596
|
}, {
|
|
132597
132597
|
default: withCtx(() => [
|
|
132598
|
-
n ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
132598
|
+
n ? (openBlock(), createElementBlock("div", _hoisted_3$1r, [
|
|
132599
132599
|
n.renderExtra?.type === "heading" || n.renderExtra?.type === "both" ? (openBlock(), createElementBlock("div", {
|
|
132600
132600
|
key: 0,
|
|
132601
132601
|
class: "h-7 pt-3 text-xs tracking-wide uppercase relative top-2 left-1 text-truncate",
|
|
132602
132602
|
style: normalizeStyle({ color: unref(themeVars).primary3 }),
|
|
132603
132603
|
title: n.renderExtra?.name
|
|
132604
|
-
}, toDisplayString(n.renderExtra?.name), 13, _hoisted_4$
|
|
132604
|
+
}, toDisplayString(n.renderExtra?.name), 13, _hoisted_4$19)) : createCommentVNode("", true),
|
|
132605
132605
|
n.type === "PageBreak" ? (openBlock(), createElementBlock("div", {
|
|
132606
132606
|
key: 1,
|
|
132607
132607
|
class: "min-h-7 pt-3 text-xs tracking-wide uppercase left-1 top-2 overflow-visible",
|
|
@@ -132692,8 +132692,8 @@ const NavigatorPresentation = /* @__PURE__ */ _export_sfc(_sfc_main$3m, [["__sco
|
|
|
132692
132692
|
|
|
132693
132693
|
const _hoisted_1$2B = { class: "cb-navigator h-full w-[250px]" };
|
|
132694
132694
|
const _hoisted_2$1Q = { class: "cb-navigator__content h-full px-4 pb-4 pt-8 overflow-hidden" };
|
|
132695
|
-
const _hoisted_3$
|
|
132696
|
-
const _hoisted_4$
|
|
132695
|
+
const _hoisted_3$1q = { class: "top pr-1" };
|
|
132696
|
+
const _hoisted_4$18 = { class: "flex items-center justify-between" };
|
|
132697
132697
|
const _hoisted_5$Y = { class: "title" };
|
|
132698
132698
|
const _hoisted_6$Q = { class: "mt-4" };
|
|
132699
132699
|
const TOC_MODE_STORAGE_KEY = "canvas_builder_toc_mode_preference";
|
|
@@ -132725,8 +132725,8 @@ const _sfc_main$3l = /* @__PURE__ */ defineComponent({
|
|
|
132725
132725
|
return (_ctx, _cache) => {
|
|
132726
132726
|
return openBlock(), createElementBlock("div", _hoisted_1$2B, [
|
|
132727
132727
|
createElementVNode("div", _hoisted_2$1Q, [
|
|
132728
|
-
createElementVNode("div", _hoisted_3$
|
|
132729
|
-
createElementVNode("div", _hoisted_4$
|
|
132728
|
+
createElementVNode("div", _hoisted_3$1q, [
|
|
132729
|
+
createElementVNode("div", _hoisted_4$18, [
|
|
132730
132730
|
createElementVNode("div", _hoisted_5$Y, toDisplayString(unref(t)("canvasUI.canvasBuilder.navigator.navigation")), 1),
|
|
132731
132731
|
createVNode(CButton, { onClick: handleModeToggle }, {
|
|
132732
132732
|
icon: withCtx(() => [
|
|
@@ -132992,8 +132992,8 @@ const _hoisted_1$2z = {
|
|
|
132992
132992
|
class: "search-container pa-2"
|
|
132993
132993
|
};
|
|
132994
132994
|
const _hoisted_2$1P = ["onClick"];
|
|
132995
|
-
const _hoisted_3$
|
|
132996
|
-
const _hoisted_4$
|
|
132995
|
+
const _hoisted_3$1p = { class: "mb-3 flex items-center justify-center w-11 h-11 rounded-1 bg-primary6 hover:bg-primary5 transition-all" };
|
|
132996
|
+
const _hoisted_4$17 = { class: "text-xs text-center font-medium line-clamp-2" };
|
|
132997
132997
|
const _hoisted_5$X = {
|
|
132998
132998
|
key: 1,
|
|
132999
132999
|
class: "flex items-center justify-center h-full"
|
|
@@ -133076,7 +133076,7 @@ const _sfc_main$3j = /* @__PURE__ */ defineComponent({
|
|
|
133076
133076
|
class: "flex flex-col items-center justify-start cursor-pointer hover:bg-primary5/20 rounded-1 transition-all",
|
|
133077
133077
|
onClick: ($event) => emit("click", app)
|
|
133078
133078
|
}, [
|
|
133079
|
-
createElementVNode("div", _hoisted_3$
|
|
133079
|
+
createElementVNode("div", _hoisted_3$1p, [
|
|
133080
133080
|
createVNode(CIcon, {
|
|
133081
133081
|
class: "max-w-full max-h-full w-auto h-auto object-contain",
|
|
133082
133082
|
color: unref(themeVars).primary,
|
|
@@ -133085,7 +133085,7 @@ const _sfc_main$3j = /* @__PURE__ */ defineComponent({
|
|
|
133085
133085
|
size: "20"
|
|
133086
133086
|
}, null, 8, ["color", "fa-type", "icon"])
|
|
133087
133087
|
]),
|
|
133088
|
-
withDirectives((openBlock(), createElementBlock("span", _hoisted_4$
|
|
133088
|
+
withDirectives((openBlock(), createElementBlock("span", _hoisted_4$17, [
|
|
133089
133089
|
createTextVNode(toDisplayString(app.app_metadata?.display_name || app.app_metadata?.name), 1)
|
|
133090
133090
|
])), [
|
|
133091
133091
|
[unref(vTooltip), app.app_metadata?.display_name || app.app_metadata?.name]
|
|
@@ -133458,11 +133458,11 @@ const _hoisted_1$2y = {
|
|
|
133458
133458
|
class: "fixed top-2 left-2 bottom-20 z-11"
|
|
133459
133459
|
};
|
|
133460
133460
|
const _hoisted_2$1O = { class: "flex-1 flex justify-start" };
|
|
133461
|
-
const _hoisted_3$
|
|
133461
|
+
const _hoisted_3$1o = {
|
|
133462
133462
|
key: 0,
|
|
133463
133463
|
class: "flex-1 gap-2 flex justify-center"
|
|
133464
133464
|
};
|
|
133465
|
-
const _hoisted_4$
|
|
133465
|
+
const _hoisted_4$16 = { class: "flex-1 flex justify-end" };
|
|
133466
133466
|
const _sfc_main$3g = /* @__PURE__ */ defineComponent({
|
|
133467
133467
|
...{
|
|
133468
133468
|
inheritAttrs: false
|
|
@@ -133544,7 +133544,7 @@ const _sfc_main$3g = /* @__PURE__ */ defineComponent({
|
|
|
133544
133544
|
[_directive_tooltip, unref(t)("canvasUI.canvasBuilder.components.previousPage")]
|
|
133545
133545
|
]) : createCommentVNode("", true)
|
|
133546
133546
|
]),
|
|
133547
|
-
!unref(isCanvasPreviewMode) ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
133547
|
+
!unref(isCanvasPreviewMode) ? (openBlock(), createElementBlock("div", _hoisted_3$1o, [
|
|
133548
133548
|
unref(activeMode) !== unref(CanvasBuilderMode).SHARING ? withDirectives((openBlock(), createBlock(CButton, {
|
|
133549
133549
|
key: 0,
|
|
133550
133550
|
circle: "",
|
|
@@ -133668,7 +133668,7 @@ const _sfc_main$3g = /* @__PURE__ */ defineComponent({
|
|
|
133668
133668
|
placement: "top"
|
|
133669
133669
|
})
|
|
133670
133670
|
])) : createCommentVNode("", true),
|
|
133671
|
-
createElementVNode("div", _hoisted_4$
|
|
133671
|
+
createElementVNode("div", _hoisted_4$16, [
|
|
133672
133672
|
showPageButtons.value && !unref(isLastPage) ? withDirectives((openBlock(), createBlock(CButton, {
|
|
133673
133673
|
key: 0,
|
|
133674
133674
|
class: "h-14 w-11",
|
|
@@ -133874,11 +133874,11 @@ const _hoisted_2$1N = {
|
|
|
133874
133874
|
key: 0,
|
|
133875
133875
|
class: "flex flex-col gap-2"
|
|
133876
133876
|
};
|
|
133877
|
-
const _hoisted_3$
|
|
133877
|
+
const _hoisted_3$1n = {
|
|
133878
133878
|
key: 0,
|
|
133879
133879
|
class: "flex flex-col gap-2"
|
|
133880
133880
|
};
|
|
133881
|
-
const _hoisted_4$
|
|
133881
|
+
const _hoisted_4$15 = {
|
|
133882
133882
|
key: 1,
|
|
133883
133883
|
class: "flex flex-col gap-2"
|
|
133884
133884
|
};
|
|
@@ -133985,7 +133985,7 @@ const _sfc_main$3e = /* @__PURE__ */ defineComponent({
|
|
|
133985
133985
|
}, null, 8, ["file"])
|
|
133986
133986
|
])) : createCommentVNode("", true),
|
|
133987
133987
|
_ctx.backgroundImage ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
133988
|
-
!_ctx.hideBackgroundSize ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
133988
|
+
!_ctx.hideBackgroundSize ? (openBlock(), createElementBlock("div", _hoisted_3$1n, [
|
|
133989
133989
|
createElementVNode("span", {
|
|
133990
133990
|
class: "inline-block leading-5 text-base font-normal",
|
|
133991
133991
|
style: normalizeStyle({ color: unref(themeVars).text })
|
|
@@ -133998,7 +133998,7 @@ const _sfc_main$3e = /* @__PURE__ */ defineComponent({
|
|
|
133998
133998
|
"onUpdate:value": _cache[2] || (_cache[2] = (v) => updateBackgroundProperty("backgroundSize", v))
|
|
133999
133999
|
}, null, 8, ["options", "value"])
|
|
134000
134000
|
])) : createCommentVNode("", true),
|
|
134001
|
-
showBackgroundPositionX.value ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
134001
|
+
showBackgroundPositionX.value ? (openBlock(), createElementBlock("div", _hoisted_4$15, [
|
|
134002
134002
|
createElementVNode("span", {
|
|
134003
134003
|
class: "inline-block leading-5 text-base font-normal",
|
|
134004
134004
|
style: normalizeStyle({ color: unref(themeVars).text })
|
|
@@ -134168,8 +134168,8 @@ const _hoisted_2$1L = {
|
|
|
134168
134168
|
key: 0,
|
|
134169
134169
|
class: "flex flex-col gap-2"
|
|
134170
134170
|
};
|
|
134171
|
-
const _hoisted_3$
|
|
134172
|
-
const _hoisted_4$
|
|
134171
|
+
const _hoisted_3$1m = { class: "flex gap-1" };
|
|
134172
|
+
const _hoisted_4$14 = { class: "basis-1/2" };
|
|
134173
134173
|
const _hoisted_5$V = { class: "basis-1/2" };
|
|
134174
134174
|
const _hoisted_6$N = { class: "flex gap-1" };
|
|
134175
134175
|
const _hoisted_7$A = { class: "basis-1/2" };
|
|
@@ -134222,8 +134222,8 @@ const _sfc_main$3c = /* @__PURE__ */ defineComponent({
|
|
|
134222
134222
|
return (_ctx, _cache) => {
|
|
134223
134223
|
return openBlock(), createElementBlock("div", _hoisted_1$2u, [
|
|
134224
134224
|
isAdvancedMode.value ? (openBlock(), createElementBlock("div", _hoisted_2$1L, [
|
|
134225
|
-
createElementVNode("div", _hoisted_3$
|
|
134226
|
-
createElementVNode("div", _hoisted_4$
|
|
134225
|
+
createElementVNode("div", _hoisted_3$1m, [
|
|
134226
|
+
createElementVNode("div", _hoisted_4$14, [
|
|
134227
134227
|
createElementVNode("span", null, toDisplayString(unref(t)("canvasUI.canvasBuilder.canvasDrawerTheme.padding.top")), 1),
|
|
134228
134228
|
createVNode(unref(NInputNumber), {
|
|
134229
134229
|
value: values.top,
|
|
@@ -134301,7 +134301,7 @@ const _sfc_main$3c = /* @__PURE__ */ defineComponent({
|
|
|
134301
134301
|
|
|
134302
134302
|
const _hoisted_1$2t = { class: "c-swatch-selector w-full" };
|
|
134303
134303
|
const _hoisted_2$1K = { class: "flex flex-wrap gap-2 p-2" };
|
|
134304
|
-
const _hoisted_3$
|
|
134304
|
+
const _hoisted_3$1l = ["onClick"];
|
|
134305
134305
|
const _sfc_main$3b = /* @__PURE__ */ defineComponent({
|
|
134306
134306
|
__name: "CSwatchSelector",
|
|
134307
134307
|
props: {
|
|
@@ -134355,7 +134355,7 @@ const _sfc_main$3b = /* @__PURE__ */ defineComponent({
|
|
|
134355
134355
|
class: "w-6 h-6 ma-1 rounded-1",
|
|
134356
134356
|
style: normalizeStyle({ backgroundColor: color })
|
|
134357
134357
|
}, null, 4)
|
|
134358
|
-
], 10, _hoisted_3$
|
|
134358
|
+
], 10, _hoisted_3$1l);
|
|
134359
134359
|
}), 128)),
|
|
134360
134360
|
_ctx.includeTransparent ? (openBlock(), createElementBlock("div", {
|
|
134361
134361
|
key: 0,
|
|
@@ -134385,8 +134385,8 @@ const _hoisted_2$1J = {
|
|
|
134385
134385
|
key: 0,
|
|
134386
134386
|
class: "flex flex-col gap-2"
|
|
134387
134387
|
};
|
|
134388
|
-
const _hoisted_3$
|
|
134389
|
-
const _hoisted_4$
|
|
134388
|
+
const _hoisted_3$1k = { class: "flex gap-1" };
|
|
134389
|
+
const _hoisted_4$13 = { class: "basis-1/2" };
|
|
134390
134390
|
const _hoisted_5$U = { class: "basis-1/2" };
|
|
134391
134391
|
const _hoisted_6$M = { class: "flex gap-1" };
|
|
134392
134392
|
const _hoisted_7$z = { class: "basis-1/2" };
|
|
@@ -134439,8 +134439,8 @@ const _sfc_main$3a = /* @__PURE__ */ defineComponent({
|
|
|
134439
134439
|
return (_ctx, _cache) => {
|
|
134440
134440
|
return openBlock(), createElementBlock("div", _hoisted_1$2s, [
|
|
134441
134441
|
isAdvancedMode.value ? (openBlock(), createElementBlock("div", _hoisted_2$1J, [
|
|
134442
|
-
createElementVNode("div", _hoisted_3$
|
|
134443
|
-
createElementVNode("div", _hoisted_4$
|
|
134442
|
+
createElementVNode("div", _hoisted_3$1k, [
|
|
134443
|
+
createElementVNode("div", _hoisted_4$13, [
|
|
134444
134444
|
createElementVNode("span", null, toDisplayString(unref(t)("canvasUI.canvasBuilder.canvasDrawerTheme.borderRadius.topLeft")), 1),
|
|
134445
134445
|
createVNode(unref(NInputNumber), {
|
|
134446
134446
|
value: values.topLeft,
|
|
@@ -134521,11 +134521,11 @@ const _hoisted_2$1I = {
|
|
|
134521
134521
|
key: 0,
|
|
134522
134522
|
class: "flex flex-col gap-2"
|
|
134523
134523
|
};
|
|
134524
|
-
const _hoisted_3$
|
|
134524
|
+
const _hoisted_3$1j = {
|
|
134525
134525
|
key: 2,
|
|
134526
134526
|
class: "flex flex-col gap-2 mt-2"
|
|
134527
134527
|
};
|
|
134528
|
-
const _hoisted_4$
|
|
134528
|
+
const _hoisted_4$12 = {
|
|
134529
134529
|
key: 1,
|
|
134530
134530
|
class: "flex flex-col gap-2"
|
|
134531
134531
|
};
|
|
@@ -134634,7 +134634,7 @@ const _sfc_main$39 = /* @__PURE__ */ defineComponent({
|
|
|
134634
134634
|
updateInputModelOnDrop: true,
|
|
134635
134635
|
value: backgroundColor.value
|
|
134636
134636
|
}, null, 8, ["on-update:value", "swatches", "value"])),
|
|
134637
|
-
!!unref(launchDarkly).enable_background_image_theme_options && (_ctx.componentNode?.type === unref(ComponentTypes).Grid || _ctx.componentNode?.type === unref(ComponentTypes).GridItem || _ctx.componentNode?.type === unref(ComponentTypes).Scribble) ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
134637
|
+
!!unref(launchDarkly).enable_background_image_theme_options && (_ctx.componentNode?.type === unref(ComponentTypes).Grid || _ctx.componentNode?.type === unref(ComponentTypes).GridItem || _ctx.componentNode?.type === unref(ComponentTypes).Scribble) ? (openBlock(), createElementBlock("div", _hoisted_3$1j, [
|
|
134638
134638
|
createVNode(_sfc_main$3e, {
|
|
134639
134639
|
"background-attachment": _ctx.modelValue.backgroundAttachment,
|
|
134640
134640
|
"background-image": _ctx.modelValue.backgroundImage,
|
|
@@ -134652,7 +134652,7 @@ const _sfc_main$39 = /* @__PURE__ */ defineComponent({
|
|
|
134652
134652
|
}, null, 8, ["background-attachment", "background-image", "background-position-x", "background-position-y", "background-repeat", "background-size", "hide-background-position-x", "hide-background-position-y", "hide-background-repeat", "hide-background-size"])
|
|
134653
134653
|
])) : createCommentVNode("", true)
|
|
134654
134654
|
])) : createCommentVNode("", true),
|
|
134655
|
-
showSpacingComponent.value ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
134655
|
+
showSpacingComponent.value ? (openBlock(), createElementBlock("div", _hoisted_4$12, [
|
|
134656
134656
|
createElementVNode("span", _hoisted_5$T, toDisplayString(unref(t)("canvasUI.canvasBuilder.canvasDrawerTheme.componentSpacing.title")) + ": " + toDisplayString(_ctx.modelValue.spacing) + "px ", 1),
|
|
134657
134657
|
createVNode(_sfc_main$61, {
|
|
134658
134658
|
"format-tooltip": (value) => `${value}px`,
|
|
@@ -137506,11 +137506,11 @@ const _sfc_main$2Z = /* @__PURE__ */ defineComponent({
|
|
|
137506
137506
|
|
|
137507
137507
|
const _hoisted_1$2i = ["data-slide-id"];
|
|
137508
137508
|
const _hoisted_2$1F = ["src", "title"];
|
|
137509
|
-
const _hoisted_3$
|
|
137509
|
+
const _hoisted_3$1i = {
|
|
137510
137510
|
key: 3,
|
|
137511
137511
|
class: "flex items-center justify-center h-full"
|
|
137512
137512
|
};
|
|
137513
|
-
const _hoisted_4$
|
|
137513
|
+
const _hoisted_4$11 = { key: 4 };
|
|
137514
137514
|
const _sfc_main$2Y = /* @__PURE__ */ defineComponent({
|
|
137515
137515
|
__name: "SlideContent",
|
|
137516
137516
|
props: {
|
|
@@ -137591,12 +137591,12 @@ const _sfc_main$2Y = /* @__PURE__ */ defineComponent({
|
|
|
137591
137591
|
class: "w-full h-full max-h-full max-w-full border-0",
|
|
137592
137592
|
src: _ctx.item.file.content_url ?? void 0,
|
|
137593
137593
|
title: unref(t)("canvasUI.collectionPlayer.webSlide")
|
|
137594
|
-
}, null, 8, _hoisted_2$1F)) : !_ctx.item.file || !_ctx.item.file.content_type ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
137594
|
+
}, null, 8, _hoisted_2$1F)) : !_ctx.item.file || !_ctx.item.file.content_type ? (openBlock(), createElementBlock("div", _hoisted_3$1i, [
|
|
137595
137595
|
createVNode(_sfc_main$6o, {
|
|
137596
137596
|
color: unref(themeVars).primary,
|
|
137597
137597
|
size: "small"
|
|
137598
137598
|
}, null, 8, ["color"])
|
|
137599
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_4$
|
|
137599
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_4$11, toDisplayString(unref(t)("canvasUI.collectionPlayer.unsupportedType")), 1))
|
|
137600
137600
|
], 42, _hoisted_1$2i);
|
|
137601
137601
|
};
|
|
137602
137602
|
}
|
|
@@ -137607,7 +137607,7 @@ const _hoisted_1$2h = {
|
|
|
137607
137607
|
class: "flex flex-col gap-2 text-center items-center justify-center pa-4"
|
|
137608
137608
|
};
|
|
137609
137609
|
const _hoisted_2$1E = { class: "font-size-5 color-primary3" };
|
|
137610
|
-
const _hoisted_3$
|
|
137610
|
+
const _hoisted_3$1h = ["activeIndex", "direction"];
|
|
137611
137611
|
const _sfc_main$2X = /* @__PURE__ */ defineComponent({
|
|
137612
137612
|
__name: "MainContent",
|
|
137613
137613
|
setup(__props) {
|
|
@@ -137713,7 +137713,7 @@ const _sfc_main$2X = /* @__PURE__ */ defineComponent({
|
|
|
137713
137713
|
createVNode(_sfc_main$2Y, { item }, null, 8, ["item"])
|
|
137714
137714
|
]);
|
|
137715
137715
|
}), 128))
|
|
137716
|
-
], 44, _hoisted_3$
|
|
137716
|
+
], 44, _hoisted_3$1h)), [
|
|
137717
137717
|
[unref(vElementVisibility), unref(setSwiperVisibility)]
|
|
137718
137718
|
])
|
|
137719
137719
|
], 4);
|
|
@@ -137791,7 +137791,7 @@ const useTracking = ({
|
|
|
137791
137791
|
|
|
137792
137792
|
const _hoisted_1$2g = ["onClick"];
|
|
137793
137793
|
const _hoisted_2$1D = { class: "flex flex-col gap-6" };
|
|
137794
|
-
const _hoisted_3$
|
|
137794
|
+
const _hoisted_3$1g = ["onClick"];
|
|
137795
137795
|
const _sfc_main$2W = /* @__PURE__ */ defineComponent({
|
|
137796
137796
|
__name: "TableOfContents",
|
|
137797
137797
|
setup(__props) {
|
|
@@ -137856,7 +137856,7 @@ const _sfc_main$2W = /* @__PURE__ */ defineComponent({
|
|
|
137856
137856
|
createElementVNode("div", {
|
|
137857
137857
|
class: normalizeClass(["self-center rounded-[2px] font-size-[14px] tracking-[0.5px] font-500 pa-[2px] min-w-12 w-12 text-center color-white", [unref(activeSlide)?.id === slide.id ? "bg-primary" : "bg-primary3"]])
|
|
137858
137858
|
}, toDisplayString(index + 1), 3)
|
|
137859
|
-
], 8, _hoisted_3$
|
|
137859
|
+
], 8, _hoisted_3$1g);
|
|
137860
137860
|
}), 128))
|
|
137861
137861
|
])
|
|
137862
137862
|
]);
|
|
@@ -137872,11 +137872,11 @@ const _hoisted_1$2f = {
|
|
|
137872
137872
|
const _hoisted_2$1C = {
|
|
137873
137873
|
class: "flex justify-start items-center basis-0 flex-grow-1 gap-2"
|
|
137874
137874
|
};
|
|
137875
|
-
const _hoisted_3$
|
|
137875
|
+
const _hoisted_3$1f = {
|
|
137876
137876
|
key: 0,
|
|
137877
137877
|
class: "flex justify-start self-stretch items-stretch overflow-auto"
|
|
137878
137878
|
};
|
|
137879
|
-
const _hoisted_4$
|
|
137879
|
+
const _hoisted_4$10 = {
|
|
137880
137880
|
class: "flex justify-end items-center basis-0 flex-grow-1 gap-2"
|
|
137881
137881
|
};
|
|
137882
137882
|
const FONT_SIZE_CLASS = 'font-size-4';
|
|
@@ -138079,7 +138079,7 @@ const _sfc_main$2V = /*@__PURE__*/defineComponent({
|
|
|
138079
138079
|
_: 1
|
|
138080
138080
|
}, 8, ["disabled"])), [[_directive_tooltip, unref(t)('canvasUI.collectionPlayer.annotations.menu')]])]),
|
|
138081
138081
|
_: 1
|
|
138082
|
-
}, 8, ["options", "show", "to"])) : createCommentVNode("", true)]), unref(hasManyGroups) ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
138082
|
+
}, 8, ["options", "show", "to"])) : createCommentVNode("", true)]), unref(hasManyGroups) ? (openBlock(), createElementBlock("div", _hoisted_3$1f, [createVNode(unref(NButtonGroup), {
|
|
138083
138083
|
class: "bg-primary6 px-2 rounded-8",
|
|
138084
138084
|
horizontal: "",
|
|
138085
138085
|
size: "small"
|
|
@@ -138097,7 +138097,7 @@ const _sfc_main$2V = /*@__PURE__*/defineComponent({
|
|
|
138097
138097
|
}, 1032, ["class", "onClick"]);
|
|
138098
138098
|
}), 128))]),
|
|
138099
138099
|
_: 1
|
|
138100
|
-
})])) : createCommentVNode("", true), createElementVNode("div", _hoisted_4$
|
|
138100
|
+
})])) : createCommentVNode("", true), createElementVNode("div", _hoisted_4$10, [unref(fitToWidth) ? withDirectives((openBlock(), createBlock(CButton, {
|
|
138101
138101
|
key: 0,
|
|
138102
138102
|
class: "w-11 h-11",
|
|
138103
138103
|
disabled: !unref(activeSlide),
|
|
@@ -138184,7 +138184,7 @@ const _sfc_main$2V = /*@__PURE__*/defineComponent({
|
|
|
138184
138184
|
|
|
138185
138185
|
const _hoisted_1$2e = { class: "pa-4 bg-white border-primary5 flex items-center gap-2" };
|
|
138186
138186
|
const _hoisted_2$1B = { class: "flex justify-start items-center basis-0 flex-grow-1" };
|
|
138187
|
-
const _hoisted_3$
|
|
138187
|
+
const _hoisted_3$1e = { class: "block overflow-hidden font-normal text-[20px] leading-8 tracking-wide text-ellipsis whitespace-nowrap" };
|
|
138188
138188
|
const _sfc_main$2U = /* @__PURE__ */ defineComponent({
|
|
138189
138189
|
__name: "AppHeader",
|
|
138190
138190
|
setup(__props) {
|
|
@@ -138211,7 +138211,7 @@ const _sfc_main$2U = /* @__PURE__ */ defineComponent({
|
|
|
138211
138211
|
[_directive_tooltip, unref(t)("canvasUI.common.close")]
|
|
138212
138212
|
])
|
|
138213
138213
|
]),
|
|
138214
|
-
withDirectives((openBlock(), createElementBlock("div", _hoisted_3$
|
|
138214
|
+
withDirectives((openBlock(), createElementBlock("div", _hoisted_3$1e, [
|
|
138215
138215
|
createTextVNode(toDisplayString(unref(data).name), 1)
|
|
138216
138216
|
])), [
|
|
138217
138217
|
[_directive_tooltip, unref(data).name]
|
|
@@ -138928,8 +138928,8 @@ const _hoisted_2$1A = {
|
|
|
138928
138928
|
key: 0,
|
|
138929
138929
|
class: "ma-4"
|
|
138930
138930
|
};
|
|
138931
|
-
const _hoisted_3$
|
|
138932
|
-
const _hoisted_4
|
|
138931
|
+
const _hoisted_3$1d = { class: "block overflow-hidden font-normal text-[20px] leading-8 tracking-wide text-ellipsis whitespace-nowrap text-left mb-4" };
|
|
138932
|
+
const _hoisted_4$$ = ["src"];
|
|
138933
138933
|
const _hoisted_5$S = ["src"];
|
|
138934
138934
|
const _hoisted_6$K = {
|
|
138935
138935
|
key: 1,
|
|
@@ -139344,7 +139344,7 @@ const _sfc_main$2R = /* @__PURE__ */ defineComponent({
|
|
|
139344
139344
|
key: group.id,
|
|
139345
139345
|
class: "break-after-page text-center"
|
|
139346
139346
|
}, [
|
|
139347
|
-
createElementVNode("div", _hoisted_3$
|
|
139347
|
+
createElementVNode("div", _hoisted_3$1d, toDisplayString(group.name), 1),
|
|
139348
139348
|
(openBlock(true), createElementBlock(Fragment, null, renderList(group.slides, (item) => {
|
|
139349
139349
|
return openBlock(), createElementBlock(Fragment, {
|
|
139350
139350
|
key: item.id
|
|
@@ -139353,7 +139353,7 @@ const _sfc_main$2R = /* @__PURE__ */ defineComponent({
|
|
|
139353
139353
|
key: 0,
|
|
139354
139354
|
class: "mb-4",
|
|
139355
139355
|
src: item.slide.url
|
|
139356
|
-
}, null, 8, _hoisted_4
|
|
139356
|
+
}, null, 8, _hoisted_4$$)) : item.file.content_type === unref(FileContentTypeEnum).IMAGE && item.file.content_url ? (openBlock(), createElementBlock("img", {
|
|
139357
139357
|
key: 1,
|
|
139358
139358
|
class: "mb-4",
|
|
139359
139359
|
src: item.file.content_url
|
|
@@ -139443,11 +139443,11 @@ const _hoisted_1$2b = {
|
|
|
139443
139443
|
class: "p-2 content-grid-file-item flex flex-col items-center"
|
|
139444
139444
|
};
|
|
139445
139445
|
const _hoisted_2$1z = { class: "relative flex" };
|
|
139446
|
-
const _hoisted_3$
|
|
139446
|
+
const _hoisted_3$1c = {
|
|
139447
139447
|
key: 1,
|
|
139448
139448
|
class: "content-grid-file-item__img rounded-2 overflow-hidden w-[240px] h-[135px]"
|
|
139449
139449
|
};
|
|
139450
|
-
const _hoisted_4
|
|
139450
|
+
const _hoisted_4$_ = ["alt", "src"];
|
|
139451
139451
|
const _hoisted_5$R = {
|
|
139452
139452
|
key: 1,
|
|
139453
139453
|
class: "bg-primary6 w-full h-full flex items-center justify-center"
|
|
@@ -139594,7 +139594,7 @@ const _sfc_main$2O = /* @__PURE__ */ defineComponent({
|
|
|
139594
139594
|
onTouchend: handleSwipe,
|
|
139595
139595
|
onTouchmove: handleTouchMove,
|
|
139596
139596
|
onTouchstart: handleTouchStart
|
|
139597
|
-
}, null, 8, ["ai-img-description", "lazy", "src", "onError"])) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
139597
|
+
}, null, 8, ["ai-img-description", "lazy", "src", "onError"])) : (openBlock(), createElementBlock("div", _hoisted_3$1c, [
|
|
139598
139598
|
defaultThumbnailUrl.value ? (openBlock(), createElementBlock("img", {
|
|
139599
139599
|
key: 0,
|
|
139600
139600
|
alt: item.value.file?.name || "File thumbnail",
|
|
@@ -139602,7 +139602,7 @@ const _sfc_main$2O = /* @__PURE__ */ defineComponent({
|
|
|
139602
139602
|
src: defaultThumbnailUrl.value,
|
|
139603
139603
|
onError: _cache[0] || (_cache[0] = //@ts-ignore
|
|
139604
139604
|
(...args) => unref(onThumbnailError$1) && unref(onThumbnailError$1)(...args))
|
|
139605
|
-
}, null, 40, _hoisted_4
|
|
139605
|
+
}, null, 40, _hoisted_4$_)) : (openBlock(), createElementBlock("div", _hoisted_5$R, [
|
|
139606
139606
|
createVNode(CIcon, {
|
|
139607
139607
|
color: unref(themeVars).primary3,
|
|
139608
139608
|
"fa-type": "fas",
|
|
@@ -139708,7 +139708,7 @@ const ContentGridFileItem = /* @__PURE__ */ _export_sfc(_sfc_main$2O, [["__scope
|
|
|
139708
139708
|
|
|
139709
139709
|
const _hoisted_1$2a = { class: "flex items-center flex-col justify-center" };
|
|
139710
139710
|
const _hoisted_2$1y = { class: "text-center font-400 text-truncate font-size-4 line-height-6 color-text font-normal" };
|
|
139711
|
-
const _hoisted_3$
|
|
139711
|
+
const _hoisted_3$1b = { class: "text-center text-truncate font-size-3 line-height-5 color-text font-normal" };
|
|
139712
139712
|
const _sfc_main$2N = /* @__PURE__ */ defineComponent({
|
|
139713
139713
|
__name: "ContentGridDeletedFileItem",
|
|
139714
139714
|
emits: ["click"],
|
|
@@ -139732,7 +139732,7 @@ const _sfc_main$2N = /* @__PURE__ */ defineComponent({
|
|
|
139732
139732
|
}, null, 8, ["color"]),
|
|
139733
139733
|
createElementVNode("div", _hoisted_1$2a, [
|
|
139734
139734
|
createElementVNode("div", _hoisted_2$1y, toDisplayString(unref(t)("canvasUI.canvasBuilder.deletedFile.deleteMessage")), 1),
|
|
139735
|
-
createElementVNode("div", _hoisted_3$
|
|
139735
|
+
createElementVNode("div", _hoisted_3$1b, toDisplayString(unref(t)("canvasUI.canvasBuilder.deletedFile.clickMessage")), 1)
|
|
139736
139736
|
])
|
|
139737
139737
|
]);
|
|
139738
139738
|
};
|
|
@@ -139746,8 +139746,8 @@ const _hoisted_1$29 = {
|
|
|
139746
139746
|
class: "p-2 content-grid-raw__item__slide flex flex-col items-center"
|
|
139747
139747
|
};
|
|
139748
139748
|
const _hoisted_2$1x = { class: "relative flex" };
|
|
139749
|
-
const _hoisted_3$
|
|
139750
|
-
const _hoisted_4$
|
|
139749
|
+
const _hoisted_3$1a = { class: "font-700 text-truncate w-full mt-2" };
|
|
139750
|
+
const _hoisted_4$Z = { class: "content-grid-raw__item__hint flex items-center justify-between text-center text-truncate w-full min-h-8" };
|
|
139751
139751
|
const _hoisted_5$Q = {
|
|
139752
139752
|
key: 0,
|
|
139753
139753
|
class: "pt-1 flex justify-end w-full"
|
|
@@ -139844,8 +139844,8 @@ const _sfc_main$2M = /* @__PURE__ */ defineComponent({
|
|
|
139844
139844
|
width: "240"
|
|
139845
139845
|
}, null, 8, ["lazy", "src"])
|
|
139846
139846
|
]),
|
|
139847
|
-
createElementVNode("div", _hoisted_3$
|
|
139848
|
-
createElementVNode("div", _hoisted_4$
|
|
139847
|
+
createElementVNode("div", _hoisted_3$1a, toDisplayString(_ctx.item.file.name), 1),
|
|
139848
|
+
createElementVNode("div", _hoisted_4$Z, [
|
|
139849
139849
|
createTextVNode(toDisplayString(unref(t)("canvasUI.canvasBuilder.contentGrid.pageNumberDescription", { pageNumber: _ctx.item.slide.index + 1 })) + " ", 1),
|
|
139850
139850
|
!isShareable.value ? withDirectives((openBlock(), createBlock(_sfc_main$4U, {
|
|
139851
139851
|
key: 0,
|
|
@@ -139875,7 +139875,7 @@ const ContentGridItem = /* @__PURE__ */ _export_sfc(_sfc_main$2M, [["__scopeId",
|
|
|
139875
139875
|
|
|
139876
139876
|
const _hoisted_1$28 = ["onClick"];
|
|
139877
139877
|
const _hoisted_2$1w = ["onClick"];
|
|
139878
|
-
const _hoisted_3$
|
|
139878
|
+
const _hoisted_3$19 = {
|
|
139879
139879
|
key: 1,
|
|
139880
139880
|
class: "flex flex-col items-center pb-2"
|
|
139881
139881
|
};
|
|
@@ -139970,7 +139970,7 @@ const _sfc_main$2L = /* @__PURE__ */ defineComponent({
|
|
|
139970
139970
|
}), 128))
|
|
139971
139971
|
]),
|
|
139972
139972
|
_: 1
|
|
139973
|
-
}, 8, ["style"])) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
139973
|
+
}, 8, ["style"])) : (openBlock(), createElementBlock("div", _hoisted_3$19, [
|
|
139974
139974
|
createVNode(ContentGridItem, {
|
|
139975
139975
|
"all-items": _ctx.items,
|
|
139976
139976
|
index: 0,
|
|
@@ -139986,11 +139986,11 @@ const ContentGridCarousel = /* @__PURE__ */ _export_sfc(_sfc_main$2L, [["__scope
|
|
|
139986
139986
|
|
|
139987
139987
|
const _hoisted_1$27 = { class: "flex items-center" };
|
|
139988
139988
|
const _hoisted_2$1v = { class: "my-3 border border-solid border-primary6 rounded" };
|
|
139989
|
-
const _hoisted_3$
|
|
139989
|
+
const _hoisted_3$18 = {
|
|
139990
139990
|
key: 2,
|
|
139991
139991
|
class: "w-[152px] h-[100px] rounded-2 overflow-hidden"
|
|
139992
139992
|
};
|
|
139993
|
-
const _hoisted_4$
|
|
139993
|
+
const _hoisted_4$Y = ["alt", "src"];
|
|
139994
139994
|
const _hoisted_5$P = {
|
|
139995
139995
|
key: 1,
|
|
139996
139996
|
class: "bg-primary6 w-full h-full flex items-center justify-center"
|
|
@@ -140172,13 +140172,13 @@ const _sfc_main$2K = /* @__PURE__ */ defineComponent({
|
|
|
140172
140172
|
src: thumbnailUrl.value,
|
|
140173
140173
|
width: "152",
|
|
140174
140174
|
onError: unref(handleImageError)
|
|
140175
|
-
}, null, 8, ["ai-img-description", "file-data", "lazy", "src", "onError"])) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
140175
|
+
}, null, 8, ["ai-img-description", "file-data", "lazy", "src", "onError"])) : (openBlock(), createElementBlock("div", _hoisted_3$18, [
|
|
140176
140176
|
defaultThumbnailUrl.value ? (openBlock(), createElementBlock("img", {
|
|
140177
140177
|
key: 0,
|
|
140178
140178
|
alt: enrichedFile.value.name || "File thumbnail",
|
|
140179
140179
|
class: "w-full h-full object-cover",
|
|
140180
140180
|
src: defaultThumbnailUrl.value
|
|
140181
|
-
}, null, 8, _hoisted_4$
|
|
140181
|
+
}, null, 8, _hoisted_4$Y)) : (openBlock(), createElementBlock("div", _hoisted_5$P, [
|
|
140182
140182
|
createVNode(CIcon, {
|
|
140183
140183
|
color: unref(themeVars).primary3,
|
|
140184
140184
|
icon: defaultIcon.value,
|
|
@@ -140947,8 +140947,8 @@ const RawDataCharts = /* @__PURE__ */ _export_sfc(_sfc_main$2F, [["__scopeId", "
|
|
|
140947
140947
|
|
|
140948
140948
|
const _hoisted_1$23 = { class: "flex gap-4 h-[calc(80vh-120px)] w-full" };
|
|
140949
140949
|
const _hoisted_2$1t = { class: "cb-data-charts-settings__card overflow-auto flex-1" };
|
|
140950
|
-
const _hoisted_3$
|
|
140951
|
-
const _hoisted_4$
|
|
140950
|
+
const _hoisted_3$17 = { class: "flex flex-col h-full" };
|
|
140951
|
+
const _hoisted_4$X = { class: "flex-grow overflow-y-auto overflow-x-hidden" };
|
|
140952
140952
|
const _hoisted_5$O = { class: "mb-4" };
|
|
140953
140953
|
const _hoisted_6$H = { class: "block mb-2" };
|
|
140954
140954
|
const _hoisted_7$v = { class: "mb-4" };
|
|
@@ -141447,8 +141447,8 @@ const _sfc_main$2E = /* @__PURE__ */ defineComponent({
|
|
|
141447
141447
|
default: withCtx(() => [
|
|
141448
141448
|
createElementVNode("div", _hoisted_1$23, [
|
|
141449
141449
|
createElementVNode("div", _hoisted_2$1t, [
|
|
141450
|
-
createElementVNode("div", _hoisted_3$
|
|
141451
|
-
createElementVNode("div", _hoisted_4$
|
|
141450
|
+
createElementVNode("div", _hoisted_3$17, [
|
|
141451
|
+
createElementVNode("div", _hoisted_4$X, [
|
|
141452
141452
|
createElementVNode("div", _hoisted_5$O, [
|
|
141453
141453
|
createElementVNode("label", _hoisted_6$H, toDisplayString(unref(t)("canvasUI.canvasBuilder.dataCharts.chartType")), 1),
|
|
141454
141454
|
createVNode(unref(NSelect), {
|
|
@@ -142234,7 +142234,7 @@ function useDataTablePrint() {
|
|
|
142234
142234
|
|
|
142235
142235
|
const _hoisted_1$21 = ["onClick"];
|
|
142236
142236
|
const _hoisted_2$1s = { key: 0 };
|
|
142237
|
-
const _hoisted_3$
|
|
142237
|
+
const _hoisted_3$16 = ["colspan"];
|
|
142238
142238
|
const _sfc_main$2B = /* @__PURE__ */ defineComponent({
|
|
142239
142239
|
__name: "DynamicDataTable.raw.header",
|
|
142240
142240
|
props: {
|
|
@@ -142324,7 +142324,7 @@ const _sfc_main$2B = /* @__PURE__ */ defineComponent({
|
|
|
142324
142324
|
backgroundColor: _ctx.groupHeaderBackgroundColor,
|
|
142325
142325
|
color: _ctx.groupHeaderForegroundColor
|
|
142326
142326
|
})
|
|
142327
|
-
}, toDisplayString(props.groupColumnHeader || _ctx.columns[0]?.header) + ": " + toDisplayString(_ctx.currentGroupHeader), 13, _hoisted_3$
|
|
142327
|
+
}, toDisplayString(props.groupColumnHeader || _ctx.columns[0]?.header) + ": " + toDisplayString(_ctx.currentGroupHeader), 13, _hoisted_3$16)
|
|
142328
142328
|
])) : createCommentVNode("", true)
|
|
142329
142329
|
], 2);
|
|
142330
142330
|
};
|
|
@@ -142435,11 +142435,11 @@ function formatCellValue(value, property) {
|
|
|
142435
142435
|
|
|
142436
142436
|
const _hoisted_1$20 = { key: 1 };
|
|
142437
142437
|
const _hoisted_2$1r = ["data-property-cell"];
|
|
142438
|
-
const _hoisted_3$
|
|
142438
|
+
const _hoisted_3$15 = {
|
|
142439
142439
|
key: 0,
|
|
142440
142440
|
class: "text-center p-4 text-primary3"
|
|
142441
142441
|
};
|
|
142442
|
-
const _hoisted_4$
|
|
142442
|
+
const _hoisted_4$W = {
|
|
142443
142443
|
key: 1,
|
|
142444
142444
|
class: "flex items-center justify-end px-4 pt-4 gap-2"
|
|
142445
142445
|
};
|
|
@@ -142619,8 +142619,8 @@ const _sfc_main$2A = /* @__PURE__ */ defineComponent({
|
|
|
142619
142619
|
])) : createCommentVNode("", true)
|
|
142620
142620
|
], 2)
|
|
142621
142621
|
], 6),
|
|
142622
|
-
!_ctx.tableData.length ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
142623
|
-
_ctx.tableData.length && !_ctx.hidePagination && !_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
142622
|
+
!_ctx.tableData.length ? (openBlock(), createElementBlock("div", _hoisted_3$15)) : createCommentVNode("", true),
|
|
142623
|
+
_ctx.tableData.length && !_ctx.hidePagination && !_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_4$W, [
|
|
142624
142624
|
!_ctx.hideTotalResults ? (openBlock(), createElementBlock("div", _hoisted_5$N, toDisplayString(unref(t)("canvasUI.components.CTable.countResults", { count: _ctx.tableData.length })), 1)) : createCommentVNode("", true),
|
|
142625
142625
|
!_ctx.hidePageSelector && pageCount.value > 1 ? (openBlock(), createElementBlock("div", _hoisted_6$G, [
|
|
142626
142626
|
createVNode(CButton, {
|
|
@@ -144570,11 +144570,11 @@ const _hoisted_2$1o = {
|
|
|
144570
144570
|
key: 0,
|
|
144571
144571
|
class: "relative"
|
|
144572
144572
|
};
|
|
144573
|
-
const _hoisted_3$
|
|
144573
|
+
const _hoisted_3$14 = {
|
|
144574
144574
|
key: 0,
|
|
144575
144575
|
class: "absolute top-2 right-2 z-10"
|
|
144576
144576
|
};
|
|
144577
|
-
const _hoisted_4$
|
|
144577
|
+
const _hoisted_4$V = {
|
|
144578
144578
|
key: 0,
|
|
144579
144579
|
class: "absolute top-2 right-2 z-10"
|
|
144580
144580
|
};
|
|
@@ -144751,7 +144751,7 @@ const _sfc_main$2r = /* @__PURE__ */ defineComponent({
|
|
|
144751
144751
|
default: withCtx(() => [
|
|
144752
144752
|
createElementVNode("div", _hoisted_1$1W, [
|
|
144753
144753
|
!unref(pitcherSettings).enable_monaco_html_editor && effectiveEditState.value === unref(HtmlLayoutTypes).EDIT && unref(componentPermissions).canEdit ? (openBlock(), createElementBlock("div", _hoisted_2$1o, [
|
|
144754
|
-
unref(launchDarkly).allow_ai_prompts_in_canvas_text ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
144754
|
+
unref(launchDarkly).allow_ai_prompts_in_canvas_text ? (openBlock(), createElementBlock("div", _hoisted_3$14, [
|
|
144755
144755
|
createVNode(_sfc_main$2s, {
|
|
144756
144756
|
"model-value": _ctx.data?.html ?? "",
|
|
144757
144757
|
"theme-overrides": aiThemeOverrides.value,
|
|
@@ -144786,7 +144786,7 @@ const _sfc_main$2r = /* @__PURE__ */ defineComponent({
|
|
|
144786
144786
|
class: "cb-html__monaco-container relative overflow-hidden rounded-md",
|
|
144787
144787
|
style: normalizeStyle({ height: `${monacoHeight.value}px` })
|
|
144788
144788
|
}, [
|
|
144789
|
-
unref(launchDarkly).allow_ai_prompts_in_canvas_text ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
144789
|
+
unref(launchDarkly).allow_ai_prompts_in_canvas_text ? (openBlock(), createElementBlock("div", _hoisted_4$V, [
|
|
144790
144790
|
createVNode(_sfc_main$2s, {
|
|
144791
144791
|
"model-value": _ctx.data?.html ?? "",
|
|
144792
144792
|
"theme-overrides": aiThemeOverrides.value,
|
|
@@ -146533,8 +146533,8 @@ const Text = /* @__PURE__ */ _export_sfc(_sfc_main$2h, [["__scopeId", "data-v-b2
|
|
|
146533
146533
|
|
|
146534
146534
|
const _hoisted_1$1Q = { class: "absolute top-2 right-2 flex items-center gap-1 z-10" };
|
|
146535
146535
|
const _hoisted_2$1m = { class: "text-xs" };
|
|
146536
|
-
const _hoisted_3$
|
|
146537
|
-
const _hoisted_4$
|
|
146536
|
+
const _hoisted_3$13 = { class: "text-xs" };
|
|
146537
|
+
const _hoisted_4$U = { class: "text-lg font-bold mb-3" };
|
|
146538
146538
|
const _hoisted_5$L = { class: "flex flex-col h-[80vh]" };
|
|
146539
146539
|
const _hoisted_6$E = { class: "flex-1 overflow-hidden" };
|
|
146540
146540
|
const _hoisted_7$s = ["onClick"];
|
|
@@ -146857,7 +146857,7 @@ const _sfc_main$2g = /* @__PURE__ */ defineComponent({
|
|
|
146857
146857
|
icon: "unlink",
|
|
146858
146858
|
size: "14"
|
|
146859
146859
|
}),
|
|
146860
|
-
createElementVNode("span", _hoisted_3$
|
|
146860
|
+
createElementVNode("span", _hoisted_3$13, toDisplayString(unref(t)("canvasUI.canvasBuilder.linkableComponent.unlink")), 1)
|
|
146861
146861
|
])) : createCommentVNode("", true)
|
|
146862
146862
|
]),
|
|
146863
146863
|
showLinkModal.value ? (openBlock(), createBlock(_sfc_main$6y, {
|
|
@@ -146870,7 +146870,7 @@ const _sfc_main$2g = /* @__PURE__ */ defineComponent({
|
|
|
146870
146870
|
default: withCtx(() => [
|
|
146871
146871
|
createVNode(_sfc_main$6T, { class: "pa-4" }, {
|
|
146872
146872
|
default: withCtx(() => [
|
|
146873
|
-
createElementVNode("div", _hoisted_4$
|
|
146873
|
+
createElementVNode("div", _hoisted_4$U, toDisplayString(unref(t)("canvasUI.canvasBuilder.linkableComponent.linkTo")), 1),
|
|
146874
146874
|
createElementVNode("div", _hoisted_5$L, [
|
|
146875
146875
|
createVNode(CSearch, {
|
|
146876
146876
|
modelValue: searchTerm.value,
|
|
@@ -147899,8 +147899,8 @@ const ScribbleOriginal = /* @__PURE__ */ _export_sfc(_sfc_main$2e, [["__scopeId"
|
|
|
147899
147899
|
|
|
147900
147900
|
const _hoisted_1$1N = ["href"];
|
|
147901
147901
|
const _hoisted_2$1l = { key: 2 };
|
|
147902
|
-
const _hoisted_3$
|
|
147903
|
-
const _hoisted_4$
|
|
147902
|
+
const _hoisted_3$12 = ["id"];
|
|
147903
|
+
const _hoisted_4$T = { class: "w-full h-full flex items-center justify-center" };
|
|
147904
147904
|
const _hoisted_5$K = ["href"];
|
|
147905
147905
|
const DRAG_THROTTLE = 2;
|
|
147906
147906
|
const KEYBOARD_POSITION_ADJUSTMENT_STEP = 1;
|
|
@@ -148864,7 +148864,7 @@ const _sfc_main$2d = /* @__PURE__ */ defineComponent({
|
|
|
148864
148864
|
]),
|
|
148865
148865
|
_: 2
|
|
148866
148866
|
}, 1032, ["id", "used-in-section-id"])
|
|
148867
|
-
], 12, _hoisted_3$
|
|
148867
|
+
], 12, _hoisted_3$12)), [
|
|
148868
148868
|
[unref(vElementVisibility), (isVisible) => onElementVisibility(isVisible, component)]
|
|
148869
148869
|
]);
|
|
148870
148870
|
}), 128))
|
|
@@ -148887,7 +148887,7 @@ const _sfc_main$2d = /* @__PURE__ */ defineComponent({
|
|
|
148887
148887
|
"overflow-y-hidden": !unref(isEditMode)
|
|
148888
148888
|
})
|
|
148889
148889
|
}, [
|
|
148890
|
-
createElementVNode("div", _hoisted_4$
|
|
148890
|
+
createElementVNode("div", _hoisted_4$T, [
|
|
148891
148891
|
createElementVNode("div", {
|
|
148892
148892
|
ref_key: "containerRef",
|
|
148893
148893
|
ref: containerRef,
|
|
@@ -148990,7 +148990,7 @@ const _hoisted_1$1M = {
|
|
|
148990
148990
|
class: "flex justify-center p-8"
|
|
148991
148991
|
};
|
|
148992
148992
|
const _hoisted_2$1k = ["innerHTML"];
|
|
148993
|
-
const _hoisted_3$
|
|
148993
|
+
const _hoisted_3$11 = ["innerHTML"];
|
|
148994
148994
|
const _sfc_main$2b = /* @__PURE__ */ defineComponent({
|
|
148995
148995
|
__name: "Timeline.raw",
|
|
148996
148996
|
props: {
|
|
@@ -149043,7 +149043,7 @@ const _sfc_main$2b = /* @__PURE__ */ defineComponent({
|
|
|
149043
149043
|
class: "text-base",
|
|
149044
149044
|
style: normalizeStyle(event.description_style),
|
|
149045
149045
|
innerHTML: event.description
|
|
149046
|
-
}, null, 12, _hoisted_3$
|
|
149046
|
+
}, null, 12, _hoisted_3$11)
|
|
149047
149047
|
], 4),
|
|
149048
149048
|
index < _ctx.data.events.length - 1 ? (openBlock(), createElementBlock("div", {
|
|
149049
149049
|
key: 0,
|
|
@@ -149146,11 +149146,11 @@ const _hoisted_2$1j = {
|
|
|
149146
149146
|
key: 1,
|
|
149147
149147
|
class: "flex flex-col justify-center items-center p-4"
|
|
149148
149148
|
};
|
|
149149
|
-
const _hoisted_3$
|
|
149149
|
+
const _hoisted_3$10 = {
|
|
149150
149150
|
key: 2,
|
|
149151
149151
|
class: "flex justify-center items-center p-4 color-error"
|
|
149152
149152
|
};
|
|
149153
|
-
const _hoisted_4$
|
|
149153
|
+
const _hoisted_4$S = ["data-block-component-id"];
|
|
149154
149154
|
const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
149155
149155
|
__name: "Block",
|
|
149156
149156
|
props: {
|
|
@@ -149300,7 +149300,7 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
|
149300
149300
|
}, null, 8, ["class"]);
|
|
149301
149301
|
}), 64))
|
|
149302
149302
|
])) : createCommentVNode("", true),
|
|
149303
|
-
!isLoading.value && error.value && !unref(isEditMode) ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
149303
|
+
!isLoading.value && error.value && !unref(isEditMode) ? (openBlock(), createElementBlock("div", _hoisted_3$10, toDisplayString(error.value), 1)) : createCommentVNode("", true),
|
|
149304
149304
|
!isLoading.value && !error.value && blockContent.value?.length ? (openBlock(true), createElementBlock(Fragment, { key: 3 }, renderList(blockContent.value, (c) => {
|
|
149305
149305
|
return withDirectives((openBlock(), createElementBlock("div", {
|
|
149306
149306
|
key: c.id,
|
|
@@ -149311,7 +149311,7 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
|
149311
149311
|
})
|
|
149312
149312
|
}, [
|
|
149313
149313
|
(openBlock(), createBlock(resolveDynamicComponent(componentMap[c.type]), mergeProps({ ref_for: true }, getComponentBindings(c)), null, 16))
|
|
149314
|
-
], 12, _hoisted_4$
|
|
149314
|
+
], 12, _hoisted_4$S)), [
|
|
149315
149315
|
[unref(vElementVisibility), (isVisible) => onElementVisibility(isVisible, c)]
|
|
149316
149316
|
]);
|
|
149317
149317
|
}), 128)) : createCommentVNode("", true),
|
|
@@ -149577,8 +149577,8 @@ const _hoisted_2$1h = {
|
|
|
149577
149577
|
key: 1,
|
|
149578
149578
|
class: "cb-custom-data-table-raw__scroll-container"
|
|
149579
149579
|
};
|
|
149580
|
-
const _hoisted_3
|
|
149581
|
-
const _hoisted_4$
|
|
149580
|
+
const _hoisted_3$$ = { class: "cb-custom-data-table-raw__table" };
|
|
149581
|
+
const _hoisted_4$R = ["onClick"];
|
|
149582
149582
|
const _hoisted_5$J = ["colspan"];
|
|
149583
149583
|
const _hoisted_6$D = { class: "flex items-center gap-2" };
|
|
149584
149584
|
const _hoisted_7$r = { class: "font-medium" };
|
|
@@ -149770,7 +149770,7 @@ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
|
|
|
149770
149770
|
])
|
|
149771
149771
|
])) : createCommentVNode("", true),
|
|
149772
149772
|
flattenedRows.value.length ? (openBlock(), createElementBlock("div", _hoisted_2$1h, [
|
|
149773
|
-
createElementVNode("table", _hoisted_3
|
|
149773
|
+
createElementVNode("table", _hoisted_3$$, [
|
|
149774
149774
|
createVNode(_sfc_main$27, {
|
|
149775
149775
|
columns: columns.value,
|
|
149776
149776
|
"current-sorting": currentSorting.value,
|
|
@@ -149812,7 +149812,7 @@ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
|
|
|
149812
149812
|
])
|
|
149813
149813
|
])
|
|
149814
149814
|
], 12, _hoisted_5$J)
|
|
149815
|
-
], 12, _hoisted_4$
|
|
149815
|
+
], 12, _hoisted_4$R)) : row.type === "data" ? (openBlock(), createElementBlock("tr", {
|
|
149816
149816
|
key: 1,
|
|
149817
149817
|
class: "cb-custom-data-table-row hover:opacity-95",
|
|
149818
149818
|
style: normalizeStyle({ backgroundColor: getRowBackgroundColor(dataRowGlobalIndexMap.value.get(row.id) ?? 0) })
|
|
@@ -150004,7 +150004,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
150004
150004
|
|
|
150005
150005
|
const _hoisted_1$1I = { class: "flex gap-2 items-center border-primary5" };
|
|
150006
150006
|
const _hoisted_2$1g = { class: "color-primary3" };
|
|
150007
|
-
const _hoisted_3
|
|
150007
|
+
const _hoisted_3$_ = {
|
|
150008
150008
|
key: 0,
|
|
150009
150009
|
class: "mt-3 color-primary4 text-center"
|
|
150010
150010
|
};
|
|
@@ -150064,7 +150064,7 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
|
|
|
150064
150064
|
createElementVNode("div", _hoisted_2$1g, toDisplayString(_ctx.tracking_id !== unref(ComponentTypes).PageBreak ? _ctx.tracking_id : unref(t)("canvasUI.canvasBuilder.components.titles.pageBreak")), 1),
|
|
150065
150065
|
_cache[5] || (_cache[5] = createElementVNode("div", { class: "flex-1 h-[2px] bg-primary3" }, null, -1))
|
|
150066
150066
|
]),
|
|
150067
|
-
showUnnecessaryPageBreakWarning.value ? (openBlock(), createElementBlock("div", _hoisted_3
|
|
150067
|
+
showUnnecessaryPageBreakWarning.value ? (openBlock(), createElementBlock("div", _hoisted_3$_, toDisplayString(unref(t)("canvasUI.canvasBuilder.components.pageBreak.unnecessaryWarning")), 1)) : createCommentVNode("", true)
|
|
150068
150068
|
], 16)
|
|
150069
150069
|
]),
|
|
150070
150070
|
_: 1
|
|
@@ -150078,8 +150078,8 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
|
|
|
150078
150078
|
|
|
150079
150079
|
const _hoisted_1$1H = { class: "flex items-center w-full" };
|
|
150080
150080
|
const _hoisted_2$1f = { class: "flex items-start gap-2 py-2 pr-2 b-rounded-2 w-full" };
|
|
150081
|
-
const _hoisted_3$
|
|
150082
|
-
const _hoisted_4$
|
|
150081
|
+
const _hoisted_3$Z = { class: "flex flex-wrap flex-col gap-2" };
|
|
150082
|
+
const _hoisted_4$Q = { class: "flex flex-wrap font-700 font-size-[18px] overflow-hidden whitespace-normal break-words" };
|
|
150083
150083
|
const _hoisted_5$I = { class: "flex flex-wrap gap-2" };
|
|
150084
150084
|
const _sfc_main$23 = /* @__PURE__ */ defineComponent({
|
|
150085
150085
|
__name: "SectionSelectorItem",
|
|
@@ -150155,8 +150155,8 @@ const _sfc_main$23 = /* @__PURE__ */ defineComponent({
|
|
|
150155
150155
|
onClick: _cache[1] || (_cache[1] = withModifiers(() => {
|
|
150156
150156
|
}, ["stop"]))
|
|
150157
150157
|
}, null, 8, ["ai-img-description", "src", "style"])),
|
|
150158
|
-
createElementVNode("div", _hoisted_3$
|
|
150159
|
-
createElementVNode("h4", _hoisted_4$
|
|
150158
|
+
createElementVNode("div", _hoisted_3$Z, [
|
|
150159
|
+
createElementVNode("h4", _hoisted_4$Q, toDisplayString(_ctx.item.name), 1),
|
|
150160
150160
|
createElementVNode("div", _hoisted_5$I, [
|
|
150161
150161
|
_ctx.data[_ctx.index]?.access_type === "restricted" ? (openBlock(), createBlock(_sfc_main$66, {
|
|
150162
150162
|
key: 0,
|
|
@@ -150286,10 +150286,8 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
|
150286
150286
|
}
|
|
150287
150287
|
});
|
|
150288
150288
|
|
|
150289
|
-
const _hoisted_1$1F = { class: "flex
|
|
150290
|
-
const _hoisted_2$1e = { class: "flex items-center gap-2 flex-
|
|
150291
|
-
const _hoisted_3$Z = { class: "flex items-center gap-2 flex-shrink-0" };
|
|
150292
|
-
const _hoisted_4$Q = { class: "font-size-3 font-400 uppercase" };
|
|
150289
|
+
const _hoisted_1$1F = { class: "flex justify-between items-center color-primary bg-base mt-3 pa-2 rounded-t-lg" };
|
|
150290
|
+
const _hoisted_2$1e = { class: "flex items-center gap-2 flex-1 font-700" };
|
|
150293
150291
|
const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
150294
150292
|
__name: "SectionSelectorToolbar",
|
|
150295
150293
|
props: {
|
|
@@ -150303,93 +150301,16 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
|
150303
150301
|
areAllSelected: { type: Boolean },
|
|
150304
150302
|
areSomeSelected: { type: Boolean },
|
|
150305
150303
|
addedItemIds: { default: () => [] },
|
|
150306
|
-
selectedItemIds: { default: () => [] }
|
|
150307
|
-
currentSort: {}
|
|
150304
|
+
selectedItemIds: { default: () => [] }
|
|
150308
150305
|
},
|
|
150309
|
-
emits: ["page-first", "page-last", "page-next", "page-previous", "toggle-select-all", "clear-selection", "items-added", "items-removed"
|
|
150306
|
+
emits: ["page-first", "page-last", "page-next", "page-previous", "toggle-select-all", "clear-selection", "items-added", "items-removed"],
|
|
150310
150307
|
setup(__props, { emit: __emit }) {
|
|
150311
|
-
const props = __props;
|
|
150312
150308
|
const emit = __emit;
|
|
150313
150309
|
const launchDarkly = inject(
|
|
150314
150310
|
"launchDarkly",
|
|
150315
150311
|
computed(() => ({}))
|
|
150316
150312
|
);
|
|
150317
150313
|
const { t } = useI18n();
|
|
150318
|
-
const sortOptionConfig = {
|
|
150319
|
-
name: {
|
|
150320
|
-
asc: {
|
|
150321
|
-
key: "name_asc",
|
|
150322
|
-
icon: "arrow-down-a-z"
|
|
150323
|
-
},
|
|
150324
|
-
desc: {
|
|
150325
|
-
key: "name_desc",
|
|
150326
|
-
icon: "arrow-down-z-a"
|
|
150327
|
-
}
|
|
150328
|
-
},
|
|
150329
|
-
modified_at: {
|
|
150330
|
-
asc: {
|
|
150331
|
-
key: "modified_at_asc",
|
|
150332
|
-
icon: "calendar-arrow-up"
|
|
150333
|
-
},
|
|
150334
|
-
desc: {
|
|
150335
|
-
key: "modified_at_desc",
|
|
150336
|
-
icon: "calendar-arrow-down"
|
|
150337
|
-
}
|
|
150338
|
-
}
|
|
150339
|
-
};
|
|
150340
|
-
const sortOptions = computed(() => [
|
|
150341
|
-
{
|
|
150342
|
-
label: () => h("div", t("canvasUI.browserApp.content.sortOptions.nameShortAsc")),
|
|
150343
|
-
key: sortOptionConfig.name.asc.key,
|
|
150344
|
-
icon: () => h(CIcon, { icon: sortOptionConfig.name.asc.icon })
|
|
150345
|
-
},
|
|
150346
|
-
{
|
|
150347
|
-
label: () => h("div", t("canvasUI.browserApp.content.sortOptions.nameShortDesc")),
|
|
150348
|
-
key: sortOptionConfig.name.desc.key,
|
|
150349
|
-
icon: () => h(CIcon, { icon: sortOptionConfig.name.desc.icon })
|
|
150350
|
-
},
|
|
150351
|
-
{
|
|
150352
|
-
label: () => h("div", t("canvasUI.browserApp.content.sortOptions.modifiedAsc")),
|
|
150353
|
-
key: sortOptionConfig.modified_at.asc.key,
|
|
150354
|
-
icon: () => h(CIcon, { icon: sortOptionConfig.modified_at.asc.icon })
|
|
150355
|
-
},
|
|
150356
|
-
{
|
|
150357
|
-
label: () => h("div", t("canvasUI.browserApp.content.sortOptions.modifiedDesc")),
|
|
150358
|
-
key: sortOptionConfig.modified_at.desc.key,
|
|
150359
|
-
icon: () => h(CIcon, { icon: sortOptionConfig.modified_at.desc.icon })
|
|
150360
|
-
}
|
|
150361
|
-
]);
|
|
150362
|
-
const currentSortKey = computed(() => `${props.currentSort?.field || "name"}_${props.currentSort?.order || "asc"}`);
|
|
150363
|
-
const currentSortIcon = computed(() => {
|
|
150364
|
-
const lastUnderscoreIndex = currentSortKey.value.lastIndexOf("_");
|
|
150365
|
-
const field = currentSortKey.value.substring(0, lastUnderscoreIndex);
|
|
150366
|
-
const order = currentSortKey.value.substring(lastUnderscoreIndex + 1);
|
|
150367
|
-
const fieldConfig = sortOptionConfig[field];
|
|
150368
|
-
if (fieldConfig && "asc" in fieldConfig && "desc" in fieldConfig) {
|
|
150369
|
-
return fieldConfig[order]?.icon || "arrow-down-wide-short";
|
|
150370
|
-
}
|
|
150371
|
-
return "arrow-down-wide-short";
|
|
150372
|
-
});
|
|
150373
|
-
const currentSortLabel = computed(() => {
|
|
150374
|
-
const key = currentSortKey.value;
|
|
150375
|
-
switch (key) {
|
|
150376
|
-
case "name_asc":
|
|
150377
|
-
return t("canvasUI.browserApp.content.sortOptions.nameShortAsc");
|
|
150378
|
-
case "name_desc":
|
|
150379
|
-
return t("canvasUI.browserApp.content.sortOptions.nameShortDesc");
|
|
150380
|
-
case "modified_at_asc":
|
|
150381
|
-
case "modified_at_desc":
|
|
150382
|
-
return t("canvasUI.browserApp.content.sortOptions.modifiedDate");
|
|
150383
|
-
default:
|
|
150384
|
-
return t("canvasUI.browserApp.content.sortOptions.nameShortAsc");
|
|
150385
|
-
}
|
|
150386
|
-
});
|
|
150387
|
-
function onSortSelect(key) {
|
|
150388
|
-
const lastUnderscoreIndex = key.lastIndexOf("_");
|
|
150389
|
-
const field = key.substring(0, lastUnderscoreIndex);
|
|
150390
|
-
const order = key.substring(lastUnderscoreIndex + 1);
|
|
150391
|
-
emit("sort-changed", { field, order });
|
|
150392
|
-
}
|
|
150393
150314
|
return (_ctx, _cache) => {
|
|
150394
150315
|
const _directive_tooltip = resolveDirective("tooltip");
|
|
150395
150316
|
return openBlock(), createElementBlock("div", _hoisted_1$1F, [
|
|
@@ -150425,57 +150346,26 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
|
150425
150346
|
onPagePrevious: _cache[4] || (_cache[4] = ($event) => emit("page-previous"))
|
|
150426
150347
|
}, null, 8, ["current-page", "disable-pagination", "loading", "page-size", "total-items"])) : createCommentVNode("", true)
|
|
150427
150348
|
]),
|
|
150428
|
-
|
|
150429
|
-
|
|
150430
|
-
|
|
150431
|
-
|
|
150432
|
-
|
|
150433
|
-
|
|
150434
|
-
|
|
150435
|
-
|
|
150436
|
-
|
|
150437
|
-
|
|
150438
|
-
|
|
150439
|
-
|
|
150440
|
-
|
|
150441
|
-
|
|
150442
|
-
|
|
150443
|
-
|
|
150444
|
-
|
|
150445
|
-
|
|
150446
|
-
|
|
150447
|
-
|
|
150448
|
-
createVNode(CButton, {
|
|
150449
|
-
class: "flex items-center gap-1",
|
|
150450
|
-
secondary: "",
|
|
150451
|
-
type: "default"
|
|
150452
|
-
}, {
|
|
150453
|
-
default: withCtx(() => [
|
|
150454
|
-
createElementVNode("span", _hoisted_4$Q, toDisplayString(unref(t)("canvasUI.common.sortBy")) + ": " + toDisplayString(currentSortLabel.value), 1),
|
|
150455
|
-
createVNode(CIcon, {
|
|
150456
|
-
class: "ml-1 mr-2",
|
|
150457
|
-
icon: currentSortIcon.value,
|
|
150458
|
-
size: "14px"
|
|
150459
|
-
}, null, 8, ["icon"]),
|
|
150460
|
-
createVNode(CIcon, {
|
|
150461
|
-
icon: "chevron-down",
|
|
150462
|
-
size: "12px"
|
|
150463
|
-
})
|
|
150464
|
-
]),
|
|
150465
|
-
_: 1
|
|
150466
|
-
})
|
|
150467
|
-
]),
|
|
150468
|
-
_: 1
|
|
150469
|
-
}, 8, ["options"])) : createCommentVNode("", true),
|
|
150470
|
-
createVNode(_sfc_main$4Z, {
|
|
150471
|
-
"added-item-ids": _ctx.addedItemIds,
|
|
150472
|
-
"selected-item-ids": _ctx.selectedItemIds,
|
|
150473
|
-
"total-selected": _ctx.totalSelected,
|
|
150474
|
-
onClearSelection: _cache[9] || (_cache[9] = ($event) => emit("clear-selection")),
|
|
150475
|
-
onItemsAdded: _cache[10] || (_cache[10] = (itemIds, position) => emit("items-added", itemIds, position)),
|
|
150476
|
-
onItemsRemoved: _cache[11] || (_cache[11] = (itemIds) => emit("items-removed", itemIds))
|
|
150477
|
-
}, null, 8, ["added-item-ids", "selected-item-ids", "total-selected"])
|
|
150478
|
-
])
|
|
150349
|
+
!unref(launchDarkly).enable_selectors_dnd ? (openBlock(), createBlock(_sfc_main$22, {
|
|
150350
|
+
key: 0,
|
|
150351
|
+
"current-page": _ctx.currentPage,
|
|
150352
|
+
"disable-pagination": _ctx.disablePagination,
|
|
150353
|
+
loading: _ctx.loading,
|
|
150354
|
+
"page-size": _ctx.pageSize,
|
|
150355
|
+
"total-items": _ctx.totalItems,
|
|
150356
|
+
onPageFirst: _cache[5] || (_cache[5] = ($event) => emit("page-first")),
|
|
150357
|
+
onPageLast: _cache[6] || (_cache[6] = ($event) => emit("page-last")),
|
|
150358
|
+
onPageNext: _cache[7] || (_cache[7] = ($event) => emit("page-next")),
|
|
150359
|
+
onPagePrevious: _cache[8] || (_cache[8] = ($event) => emit("page-previous"))
|
|
150360
|
+
}, null, 8, ["current-page", "disable-pagination", "loading", "page-size", "total-items"])) : createCommentVNode("", true),
|
|
150361
|
+
createVNode(_sfc_main$4Z, {
|
|
150362
|
+
"added-item-ids": _ctx.addedItemIds,
|
|
150363
|
+
"selected-item-ids": _ctx.selectedItemIds,
|
|
150364
|
+
"total-selected": _ctx.totalSelected,
|
|
150365
|
+
onClearSelection: _cache[9] || (_cache[9] = ($event) => emit("clear-selection")),
|
|
150366
|
+
onItemsAdded: _cache[10] || (_cache[10] = (itemIds, position) => emit("items-added", itemIds, position)),
|
|
150367
|
+
onItemsRemoved: _cache[11] || (_cache[11] = (itemIds) => emit("items-removed", itemIds))
|
|
150368
|
+
}, null, 8, ["added-item-ids", "selected-item-ids", "total-selected"])
|
|
150479
150369
|
]);
|
|
150480
150370
|
};
|
|
150481
150371
|
}
|
|
@@ -150897,41 +150787,10 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
|
150897
150787
|
)
|
|
150898
150788
|
);
|
|
150899
150789
|
const isPipeSearching = computed(() => pipeSearchTerms.value.length > 1);
|
|
150900
|
-
const sortByLocalStorage = useLocalStorage(
|
|
150901
|
-
"section-selector-sort-preference",
|
|
150902
|
-
{ field: "name", order: "asc" },
|
|
150903
|
-
{
|
|
150904
|
-
listenToStorageChanges: true
|
|
150905
|
-
}
|
|
150906
|
-
);
|
|
150907
|
-
const sortByRef = ref({ field: "name", order: "asc" });
|
|
150908
|
-
const currentSort = computed({
|
|
150909
|
-
get: () => launchDarkly.value.enable_sorting_in_section_picker ? sortByLocalStorage.value : sortByRef.value,
|
|
150910
|
-
set: (value) => {
|
|
150911
|
-
if (launchDarkly.value.enable_sorting_in_section_picker) {
|
|
150912
|
-
sortByLocalStorage.value = value;
|
|
150913
|
-
} else {
|
|
150914
|
-
sortByRef.value = value;
|
|
150915
|
-
}
|
|
150916
|
-
}
|
|
150917
|
-
});
|
|
150918
150790
|
const orderedAvailableSections = computed(() => {
|
|
150919
150791
|
if (enablePipeMultisearch.value && isPipeSearching.value) {
|
|
150920
150792
|
return availableSections.value;
|
|
150921
150793
|
}
|
|
150922
|
-
if (launchDarkly.value.enable_sorting_in_section_picker && currentSort.value) {
|
|
150923
|
-
const sortField = currentSort.value.field;
|
|
150924
|
-
const sortOrder = currentSort.value.order;
|
|
150925
|
-
if (sortField === "name") {
|
|
150926
|
-
return orderBy(availableSections.value, [(item) => (item.name || "").toLowerCase()], [sortOrder]);
|
|
150927
|
-
} else if (sortField === "modified_at") {
|
|
150928
|
-
return orderBy(
|
|
150929
|
-
availableSections.value,
|
|
150930
|
-
[(item) => item.modified_at ? new Date(item.modified_at).getTime() : 0],
|
|
150931
|
-
[sortOrder]
|
|
150932
|
-
);
|
|
150933
|
-
}
|
|
150934
|
-
}
|
|
150935
150794
|
const sorters = getOrderingConfiguration({ sortByMetadata: true });
|
|
150936
150795
|
return orderBy(
|
|
150937
150796
|
availableSections.value,
|
|
@@ -151130,9 +150989,6 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
|
151130
150989
|
);
|
|
151131
150990
|
else selectChunk();
|
|
151132
150991
|
}
|
|
151133
|
-
function handleSortChanged(sort) {
|
|
151134
|
-
currentSort.value = sort;
|
|
151135
|
-
}
|
|
151136
150992
|
onMounted(() => {
|
|
151137
150993
|
if (launchDarkly.value.show_popularity_icons) {
|
|
151138
150994
|
fetchPopularityData(EntityType.SECTION);
|
|
@@ -151219,7 +151075,6 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
|
151219
151075
|
"are-all-selected": areAllSelected.value,
|
|
151220
151076
|
"are-some-selected": areSomeSelected.value,
|
|
151221
151077
|
"current-page": currentPage.value,
|
|
151222
|
-
"current-sort": currentSort.value,
|
|
151223
151078
|
"disable-pagination": enablePipeMultisearch.value,
|
|
151224
151079
|
"first-page-total-displayed-items": firstPageTotalDisplayedSections.value ?? 0,
|
|
151225
151080
|
loading: isFetchingSections.value,
|
|
@@ -151230,9 +151085,8 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
|
151230
151085
|
onPageLast: fetchLastChunk,
|
|
151231
151086
|
onPageNext: fetchNextChunk,
|
|
151232
151087
|
onPagePrevious: fetchPreviousChunk,
|
|
151233
|
-
onSortChanged: handleSortChanged,
|
|
151234
151088
|
onToggleSelectAll: toggleSelectAll
|
|
151235
|
-
}, null, 8, ["are-all-selected", "are-some-selected", "current-page", "
|
|
151089
|
+
}, null, 8, ["are-all-selected", "are-some-selected", "current-page", "disable-pagination", "first-page-total-displayed-items", "loading", "page-size", "total-items", "total-selected"])
|
|
151236
151090
|
], 512),
|
|
151237
151091
|
isFetchingSections.value ? (openBlock(), createElementBlock("div", {
|
|
151238
151092
|
key: 0,
|
|
@@ -151322,7 +151176,7 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
|
151322
151176
|
}
|
|
151323
151177
|
});
|
|
151324
151178
|
|
|
151325
|
-
const SectionSelector = /* @__PURE__ */ _export_sfc(_sfc_main$1$, [["__scopeId", "data-v-
|
|
151179
|
+
const SectionSelector = /* @__PURE__ */ _export_sfc(_sfc_main$1$, [["__scopeId", "data-v-5eb1a0b2"]]);
|
|
151326
151180
|
|
|
151327
151181
|
const _hoisted_1$1C = { class: "flex items-start gap-2" };
|
|
151328
151182
|
const _hoisted_2$1c = { class: "flex gap-2 justify-end mt-2 relative top-1" };
|
|
@@ -151433,41 +151287,10 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
151433
151287
|
)
|
|
151434
151288
|
);
|
|
151435
151289
|
const isPipeSearching = computed(() => pipeSearchTerms.value.length > 1);
|
|
151436
|
-
const sortByLocalStorage = useLocalStorage(
|
|
151437
|
-
"section-selector-sort-preference",
|
|
151438
|
-
{ field: "name", order: "asc" },
|
|
151439
|
-
{
|
|
151440
|
-
listenToStorageChanges: true
|
|
151441
|
-
}
|
|
151442
|
-
);
|
|
151443
|
-
const sortByRef = ref({ field: "name", order: "asc" });
|
|
151444
|
-
const currentSort = computed({
|
|
151445
|
-
get: () => launchDarkly.value.enable_sorting_in_section_picker ? sortByLocalStorage.value : sortByRef.value,
|
|
151446
|
-
set: (value) => {
|
|
151447
|
-
if (launchDarkly.value.enable_sorting_in_section_picker) {
|
|
151448
|
-
sortByLocalStorage.value = value;
|
|
151449
|
-
} else {
|
|
151450
|
-
sortByRef.value = value;
|
|
151451
|
-
}
|
|
151452
|
-
}
|
|
151453
|
-
});
|
|
151454
151290
|
const orderedAvailableSections = computed(() => {
|
|
151455
151291
|
if (enablePipeMultisearch.value && isPipeSearching.value) {
|
|
151456
151292
|
return availableSections.value;
|
|
151457
151293
|
}
|
|
151458
|
-
if (launchDarkly.value.enable_sorting_in_section_picker && currentSort.value) {
|
|
151459
|
-
const sortField = currentSort.value.field;
|
|
151460
|
-
const sortOrder = currentSort.value.order;
|
|
151461
|
-
if (sortField === "name") {
|
|
151462
|
-
return orderBy(availableSections.value, [(item) => (item.name || "").toLowerCase()], [sortOrder]);
|
|
151463
|
-
} else if (sortField === "modified_at") {
|
|
151464
|
-
return orderBy(
|
|
151465
|
-
availableSections.value,
|
|
151466
|
-
[(item) => item.modified_at ? new Date(item.modified_at).getTime() : 0],
|
|
151467
|
-
[sortOrder]
|
|
151468
|
-
);
|
|
151469
|
-
}
|
|
151470
|
-
}
|
|
151471
151294
|
const sorters = getOrderingConfiguration({ sortByMetadata: true });
|
|
151472
151295
|
return orderBy(
|
|
151473
151296
|
availableSections.value,
|
|
@@ -151682,9 +151505,6 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
151682
151505
|
);
|
|
151683
151506
|
else selectChunk();
|
|
151684
151507
|
}
|
|
151685
|
-
function handleSortChanged(sort) {
|
|
151686
|
-
currentSort.value = sort;
|
|
151687
|
-
}
|
|
151688
151508
|
function addItems(itemIds, position, targetIndex) {
|
|
151689
151509
|
const itemsToMove = addedSections.value.filter((section) => itemIds.includes(section.id));
|
|
151690
151510
|
let newItemsToAdd = availableSections.value.filter(
|
|
@@ -151979,7 +151799,6 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
151979
151799
|
"are-all-selected": areAllSelected.value,
|
|
151980
151800
|
"are-some-selected": areSomeSelected.value,
|
|
151981
151801
|
"current-page": currentPage.value,
|
|
151982
|
-
"current-sort": currentSort.value,
|
|
151983
151802
|
"disable-pagination": enablePipeMultisearch.value,
|
|
151984
151803
|
"first-page-total-displayed-items": firstPageTotalDisplayedSections.value ?? 0,
|
|
151985
151804
|
loading: isFetchingSections.value,
|
|
@@ -151994,9 +151813,8 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
151994
151813
|
onPageLast: fetchLastChunk,
|
|
151995
151814
|
onPageNext: fetchNextChunk,
|
|
151996
151815
|
onPagePrevious: fetchPreviousChunk,
|
|
151997
|
-
onSortChanged: handleSortChanged,
|
|
151998
151816
|
onToggleSelectAll: toggleSelectAll
|
|
151999
|
-
}, null, 8, ["added-item-ids", "are-all-selected", "are-some-selected", "current-page", "
|
|
151817
|
+
}, null, 8, ["added-item-ids", "are-all-selected", "are-some-selected", "current-page", "disable-pagination", "first-page-total-displayed-items", "loading", "page-size", "selected-item-ids", "total-items", "total-selected"])
|
|
152000
151818
|
], 64)) : createCommentVNode("", true)
|
|
152001
151819
|
], 512),
|
|
152002
151820
|
shouldShowSmartFolderView.value ? (openBlock(), createBlock(_sfc_main$4Q, {
|
|
@@ -152138,7 +151956,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
152138
151956
|
}
|
|
152139
151957
|
});
|
|
152140
151958
|
|
|
152141
|
-
const SectionSelectorWithDragAndDrop = /* @__PURE__ */ _export_sfc(_sfc_main$1_, [["__scopeId", "data-v-
|
|
151959
|
+
const SectionSelectorWithDragAndDrop = /* @__PURE__ */ _export_sfc(_sfc_main$1_, [["__scopeId", "data-v-1297a269"]]);
|
|
152142
151960
|
|
|
152143
151961
|
const _hoisted_1$1B = { class: "text-truncate font-bold font-size-4" };
|
|
152144
151962
|
const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
|