@pitcher/canvas-ui 2025.12.8-114937 → 2025.12.8-120823-beta
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 +680 -481
- package/canvas-ui.js.map +1 -1
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorToolbar.vue.d.ts +12 -0
- package/lib/types/launchDarkly.types.d.ts +1 -1
- package/locale/de.json +4 -1
- package/locale/el.json +4 -1
- package/locale/en.json +4 -1
- package/locale/es.json +4 -1
- package/locale/fr.json +4 -1
- package/locale/it.json +4 -1
- package/locale/ja.json +4 -1
- package/locale/nl.json +4 -1
- package/locale/pl.json +4 -1
- package/locale/pt-br.json +4 -1
- package/locale/pt.json +4 -1
- package/locale/th.json +4 -1
- package/locale/tr.json +4 -1
- package/locale/zh.json +4 -1
- 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$2Z = { 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$2Z, [
|
|
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$2Y = { class: "flex flex-col" };
|
|
81117
|
+
const _hoisted_4$2m = { 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$2Y, [
|
|
81313
|
+
createElementVNode("div", _hoisted_4$2m, 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$2X = { class: "mt-9 c-confirmation-modal__footer" };
|
|
81410
|
+
const _hoisted_4$2l = { 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$2X, [
|
|
81450
81450
|
renderSlot(_ctx.$slots, "footer", {}, () => [
|
|
81451
|
-
createElementVNode("div", _hoisted_4$
|
|
81451
|
+
createElementVNode("div", _hoisted_4$2l, [
|
|
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$2W = { 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$2W, [
|
|
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$2V = {
|
|
81644
81644
|
key: 1,
|
|
81645
81645
|
class: "canvas-list-item__description mt-1"
|
|
81646
81646
|
};
|
|
81647
|
-
const _hoisted_4$
|
|
81647
|
+
const _hoisted_4$2k = { 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$2V, toDisplayString(unref(t)("canvasUI.CCanvasSelector.edited")) + " " + toDisplayString(lastUsed.value), 1)) : createCommentVNode("", true)
|
|
81682
81682
|
]),
|
|
81683
|
-
createElementVNode("div", _hoisted_4$
|
|
81683
|
+
createElementVNode("div", _hoisted_4$2k, [
|
|
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$2U = { class: "flex flex-col h-full overflow-auto" };
|
|
81712
|
+
const _hoisted_4$2j = {
|
|
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$2U, [
|
|
81781
|
+
_ctx.canvases?.length ? (openBlock(), createElementBlock("div", _hoisted_4$2j, 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$2T = {
|
|
81819
81819
|
key: 0,
|
|
81820
81820
|
class: "ml-a"
|
|
81821
81821
|
};
|
|
81822
|
-
const _hoisted_4$
|
|
81822
|
+
const _hoisted_4$2i = {
|
|
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$2T, [
|
|
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$2i, [
|
|
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$2S = ["aria-label"];
|
|
82176
|
+
const _hoisted_4$2h = { 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$2h, [
|
|
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$2S),
|
|
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$2R = { class: "c-contact-selector__colleague-item__left" };
|
|
82645
|
+
const _hoisted_4$2g = { 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$2R, [
|
|
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$2g, [
|
|
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$2Q = { class: "font-bold" };
|
|
83228
|
+
const _hoisted_4$2f = { 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$2Q, 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$2f, 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$2P = { 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$2P, 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$2O = { class: "mt-3" };
|
|
85251
|
+
const _hoisted_4$2e = { 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$2O, 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$2e, 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$2N = { class: "flex gap-2" };
|
|
85829
|
+
const _hoisted_4$2d = { 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$2N, [
|
|
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$2d, [
|
|
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$2M = { class: "w-[60px] h-[60px] bg-gray-50 flex items-center justify-center flex-shrink-0" };
|
|
86051
|
+
const _hoisted_4$2c = ["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$2M, [
|
|
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$2c)
|
|
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$2L = { 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$2L, [
|
|
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$2K = { class: "c-result__title font-bold truncate" };
|
|
86731
|
+
const _hoisted_4$2b = {
|
|
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$2K, 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$2b, 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$2J = { class: "flex items-center gap-2 truncate" };
|
|
86841
|
+
const _hoisted_4$2a = { 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$2J, [
|
|
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$2a, 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$2I = {
|
|
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$2I, [
|
|
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$2H = { 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$2H, [
|
|
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$2G = { class: "overflow-hidden" };
|
|
94136
|
+
const _hoisted_4$29 = {
|
|
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$2G, [
|
|
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$29, 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$2F = { 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$2F, 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$2E = ["placeholder"];
|
|
94503
|
+
const _hoisted_4$28 = ["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$2E), [
|
|
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$28);
|
|
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$2D = { 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$2D, [
|
|
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$2C = {
|
|
99271
99271
|
key: 0,
|
|
99272
99272
|
class: "flex items-center justify-between gap-1"
|
|
99273
99273
|
};
|
|
99274
|
-
const _hoisted_4$
|
|
99274
|
+
const _hoisted_4$27 = {
|
|
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$2C, [
|
|
99415
|
+
_ctx.allowEdit ? (openBlock(), createElementBlock("div", _hoisted_4$27, [
|
|
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$2B = { 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$2B, 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$2A = { class: "flex flex-1 justify-end" };
|
|
100394
|
+
const _hoisted_4$26 = { 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$2A, [
|
|
100458
|
+
createElementVNode("span", _hoisted_4$26, 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$2z = { class: "overflow-hidden c-virtual-table__content" };
|
|
100570
|
+
const _hoisted_4$25 = {
|
|
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$2z, [
|
|
100668
|
+
tableDataWithIndexes.value?.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_4$25, [
|
|
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$2y = { class: "mb-2 py-2 px-6" };
|
|
100909
|
+
const _hoisted_4$24 = { 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$2y, [
|
|
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$24, [
|
|
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$2x = { class: "mb-2 py-2 px-6" };
|
|
101284
|
+
const _hoisted_4$23 = { 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$2x, [
|
|
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$23, [
|
|
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$2w = { class: "mb-2 py-2 px-6" };
|
|
101509
|
+
const _hoisted_4$22 = { 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$2w, [
|
|
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$22, 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$2v = { 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$2v, 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$2u = {
|
|
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$21 = ["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$2u, [
|
|
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$21);
|
|
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$2t = ["innerHTML"];
|
|
102580
|
+
const _hoisted_4$20 = { 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$2t), [
|
|
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$20, [
|
|
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$2s = {
|
|
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$2s, [
|
|
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$2r = { class: "flex flex-col gap-2 mt-2 mb-4" };
|
|
102921
|
+
const _hoisted_4$1_ = ["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$2r, [
|
|
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$1_);
|
|
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$2q = {
|
|
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$2q, [
|
|
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$2p = { 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$2p, [
|
|
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$2o = {
|
|
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$2o, [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$2n = { 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$2n, 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$2m = { class: "text-left px-2 py-1 font-bold bg-primary5" };
|
|
105259
|
+
const _hoisted_4$1Z = { 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$2m, toDisplayString(_ctx.nameText ?? unref(t)("canvasUI.components.templates.CBulkDeleteErrors.name")), 1),
|
|
105285
|
+
createElementVNode("th", _hoisted_4$1Z, 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$2l = {
|
|
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$2l, [
|
|
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$2k = {
|
|
107318
107318
|
class: "flex justify-between items-center flex-wrap"
|
|
107319
107319
|
};
|
|
107320
|
-
const _hoisted_4$
|
|
107320
|
+
const _hoisted_4$1Y = {
|
|
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$2k, [createElementVNode("div", _hoisted_4$1Y, [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$2j = {
|
|
107793
107793
|
key: 0,
|
|
107794
107794
|
class: "flex py-8 justify-center h-full"
|
|
107795
107795
|
};
|
|
107796
|
-
const _hoisted_4$
|
|
107796
|
+
const _hoisted_4$1X = ["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$2j, [
|
|
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$1X);
|
|
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$2i = { key: 1 };
|
|
108065
|
+
const _hoisted_4$1W = { 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$2i, [
|
|
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$1W, 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$2h = { class: "flex flex-col justify-center gap-1 pa-3 truncate w-full" };
|
|
109537
|
+
const _hoisted_4$1V = { 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$2h, [
|
|
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$1V, [
|
|
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$2g = { key: 2 };
|
|
109772
|
+
const _hoisted_4$1U = { 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$2g, [
|
|
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$1U, "(" + 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$2f = { 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$2f, [
|
|
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$2e = { class: "flex flex-col items-center justify-center" };
|
|
111582
|
+
const _hoisted_4$1T = ["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$2e, [
|
|
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$1T)
|
|
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$2d = {
|
|
111769
111769
|
class: "flex gap-2"
|
|
111770
111770
|
};
|
|
111771
|
-
const _hoisted_4$
|
|
111771
|
+
const _hoisted_4$1S = {
|
|
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$2d, [_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$1S, [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$2c = {
|
|
112635
112635
|
key: 1,
|
|
112636
112636
|
class: "mx-3 my-3"
|
|
112637
112637
|
};
|
|
112638
|
-
const _hoisted_4$
|
|
112638
|
+
const _hoisted_4$1R = { 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$2c, [
|
|
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$1R, [
|
|
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,
|
|
@@ -113612,6 +113612,13 @@ const _sfc_main$4E = /*@__PURE__*/defineComponent({
|
|
|
113612
113612
|
return lowerTag === 'home' || lowerTag === 'share';
|
|
113613
113613
|
}) ?? false;
|
|
113614
113614
|
}
|
|
113615
|
+
function hasSystemOrExcludedTag(tags) {
|
|
113616
|
+
const systemTags = ['home', 'share', 'sharebox'];
|
|
113617
|
+
return tags?.some(tag => {
|
|
113618
|
+
const lowerTag = tag.toLowerCase();
|
|
113619
|
+
return systemTags.includes(lowerTag) || (props.excludedTags?.map(t => t.toLowerCase()) ?? []).includes(lowerTag);
|
|
113620
|
+
}) ?? false;
|
|
113621
|
+
}
|
|
113615
113622
|
function isEditingCurrentItem(id, prop) {
|
|
113616
113623
|
return editingItem.value?.id === id && editingItem.value?.prop === prop;
|
|
113617
113624
|
}
|
|
@@ -113770,7 +113777,7 @@ const _sfc_main$4E = /*@__PURE__*/defineComponent({
|
|
|
113770
113777
|
hideEdit: isReadonly(cellCtx.row.original),
|
|
113771
113778
|
hideDelete: isReadonly(cellCtx.row.original),
|
|
113772
113779
|
hideLock: !launchDarkly.value.enable_canvas_locks || (isOrgAdmin.value ? isImpact.value : isLockedBySomeoneElse(cellCtx.row.original) || isImpact.value),
|
|
113773
|
-
hideCreateFromTemplate: isAdmin.value || !!cellCtx.row.original.is_draft,
|
|
113780
|
+
hideCreateFromTemplate: isAdmin.value || !!cellCtx.row.original.is_draft || hasSystemOrExcludedTag(cellCtx.row.original.tags),
|
|
113774
113781
|
hideToggleDefault: props.canvasType === 'section-template' || !!cellCtx.row.original.is_draft || isImpact.value || hasHomeOrShareTag(cellCtx.row.original.tags) && !cellCtx.row.original.is_default,
|
|
113775
113782
|
hideToggleStatus: isReadonly(cellCtx.row.original) || isFolder(cellCtx.row.original),
|
|
113776
113783
|
hideViewNewTab: isPitcherWkWebView,
|
|
@@ -114349,7 +114356,7 @@ const _sfc_main$4E = /*@__PURE__*/defineComponent({
|
|
|
114349
114356
|
"hide-convert": isImpact.value || _ctx.hideConvert,
|
|
114350
114357
|
"hide-copy": isImpact.value || isFolder(toListItem(item)),
|
|
114351
114358
|
"hide-create": isImpact.value,
|
|
114352
|
-
"hide-create-from-template": isAdmin.value || !!item.is_draft || isFolder(toListItem(item)),
|
|
114359
|
+
"hide-create-from-template": isAdmin.value || !!item.is_draft || isFolder(toListItem(item)) || hasSystemOrExcludedTag(item.tags),
|
|
114353
114360
|
"hide-delete": isReadonly(toListItem(item)),
|
|
114354
114361
|
"hide-edit": isReadonly(toListItem(item)) || isFolder(toListItem(item)),
|
|
114355
114362
|
"hide-lock": isFolder(toListItem(item)) || !unref(launchDarkly).enable_canvas_locks || (unref(isOrgAdmin) ? isImpact.value : isLockedBySomeoneElse(toListItem(item)) || isImpact.value),
|
|
@@ -114427,7 +114434,7 @@ const _sfc_main$4E = /*@__PURE__*/defineComponent({
|
|
|
114427
114434
|
|
|
114428
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" };
|
|
114429
114436
|
const _hoisted_2$2I = { class: "flex flex-wrap items-center gap-2 flex-1" };
|
|
114430
|
-
const _hoisted_3$
|
|
114437
|
+
const _hoisted_3$2b = { class: "flex gap-4" };
|
|
114431
114438
|
const _sfc_main$4D = /* @__PURE__ */ defineComponent({
|
|
114432
114439
|
__name: "CThemeManagementToolbar",
|
|
114433
114440
|
props: {
|
|
@@ -114458,7 +114465,7 @@ const _sfc_main$4D = /* @__PURE__ */ defineComponent({
|
|
|
114458
114465
|
"onUpdate:search": _cache[1] || (_cache[1] = ($event) => emit("search", $event))
|
|
114459
114466
|
}, null, 8, ["customFilterComponents", "disabled", "filters", "initial-search-value", "placeholder"])
|
|
114460
114467
|
]),
|
|
114461
|
-
createElementVNode("div", _hoisted_3$
|
|
114468
|
+
createElementVNode("div", _hoisted_3$2b, [
|
|
114462
114469
|
!_ctx.hideView ? (openBlock(), createBlock(CTableColumnsSettings, {
|
|
114463
114470
|
key: 0,
|
|
114464
114471
|
"table-columns-settings": _ctx.tableColumnsSettings,
|
|
@@ -115241,8 +115248,8 @@ const _hoisted_2$2H = {
|
|
|
115241
115248
|
key: 0,
|
|
115242
115249
|
class: "h-full flex items-center min-w-0"
|
|
115243
115250
|
};
|
|
115244
|
-
const _hoisted_3$
|
|
115245
|
-
const _hoisted_4$
|
|
115251
|
+
const _hoisted_3$2a = ["onClick"];
|
|
115252
|
+
const _hoisted_4$1Q = { class: "underline underline-solid cursor-pointer select-none ml-1 c-table-more__more-items-trigger" };
|
|
115246
115253
|
const _hoisted_5$1w = {
|
|
115247
115254
|
key: 1,
|
|
115248
115255
|
class: "c-table-more__empty"
|
|
@@ -115286,7 +115293,7 @@ const _sfc_main$4y = /* @__PURE__ */ defineComponent({
|
|
|
115286
115293
|
class: "c-table-more__items",
|
|
115287
115294
|
size: "small",
|
|
115288
115295
|
onClick: ($event) => emit("click", item.key)
|
|
115289
|
-
}, toDisplayString(item.label), 9, _hoisted_3$
|
|
115296
|
+
}, toDisplayString(item.label), 9, _hoisted_3$2a);
|
|
115290
115297
|
}), 128)),
|
|
115291
115298
|
remainingItems.value.length ? (openBlock(), createBlock(_sfc_main$6x, {
|
|
115292
115299
|
key: 0,
|
|
@@ -115294,7 +115301,7 @@ const _sfc_main$4y = /* @__PURE__ */ defineComponent({
|
|
|
115294
115301
|
trigger: "click"
|
|
115295
115302
|
}, {
|
|
115296
115303
|
trigger: withCtx(() => [
|
|
115297
|
-
createElementVNode("span", _hoisted_4$
|
|
115304
|
+
createElementVNode("span", _hoisted_4$1Q, toDisplayString(unref(t)("canvasUI.components.tables.andCountMore", {
|
|
115298
115305
|
count: remainingItems.value.length
|
|
115299
115306
|
})), 1)
|
|
115300
115307
|
]),
|
|
@@ -115979,11 +115986,11 @@ const _hoisted_2$2G = {
|
|
|
115979
115986
|
key: 0,
|
|
115980
115987
|
class: "flex items-center gap-2 flex-1"
|
|
115981
115988
|
};
|
|
115982
|
-
const _hoisted_3$
|
|
115989
|
+
const _hoisted_3$29 = {
|
|
115983
115990
|
key: 1,
|
|
115984
115991
|
class: "flex flex-wrap items-center gap-2 flex-1"
|
|
115985
115992
|
};
|
|
115986
|
-
const _hoisted_4$
|
|
115993
|
+
const _hoisted_4$1P = { class: "flex gap-4" };
|
|
115987
115994
|
const _sfc_main$4w = /* @__PURE__ */ defineComponent({
|
|
115988
115995
|
__name: "CSavedCanvasesManagementToolbar",
|
|
115989
115996
|
props: {
|
|
@@ -116034,7 +116041,7 @@ const _sfc_main$4w = /* @__PURE__ */ defineComponent({
|
|
|
116034
116041
|
]),
|
|
116035
116042
|
_: 1
|
|
116036
116043
|
})
|
|
116037
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
116044
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_3$29, [
|
|
116038
116045
|
createVNode(_sfc_main$57, {
|
|
116039
116046
|
customFilterComponents: !!unref(launchDarkly).enable_saved_canvases_filters ? _ctx.customFilterComponents : void 0,
|
|
116040
116047
|
disabled: !!_ctx.isLoadingItems,
|
|
@@ -116049,7 +116056,7 @@ const _sfc_main$4w = /* @__PURE__ */ defineComponent({
|
|
|
116049
116056
|
"onUpdate:search": _cache[2] || (_cache[2] = ($event) => emit("search", $event))
|
|
116050
116057
|
}, null, 8, ["customFilterComponents", "disabled", "filters", "initial-search-value", "owner-id", "placeholder"])
|
|
116051
116058
|
])),
|
|
116052
|
-
createElementVNode("div", _hoisted_4$
|
|
116059
|
+
createElementVNode("div", _hoisted_4$1P, [
|
|
116053
116060
|
unref(launchDarkly).enable_smart_folders ? withDirectives((openBlock(), createBlock(CButton, {
|
|
116054
116061
|
key: 0,
|
|
116055
116062
|
circle: "",
|
|
@@ -116606,7 +116613,7 @@ const _hoisted_2$2F = {
|
|
|
116606
116613
|
key: 0,
|
|
116607
116614
|
class: "flex items-center"
|
|
116608
116615
|
};
|
|
116609
|
-
const _hoisted_3$
|
|
116616
|
+
const _hoisted_3$28 = { class: "overflow-hidden text-ellipsis whitespace-nowrap min-w-0" };
|
|
116610
116617
|
const _sfc_main$4t = /* @__PURE__ */ defineComponent({
|
|
116611
116618
|
__name: "CSavedCanvasesManagementOwnerCell",
|
|
116612
116619
|
props: {
|
|
@@ -116690,7 +116697,7 @@ const _sfc_main$4t = /* @__PURE__ */ defineComponent({
|
|
|
116690
116697
|
"onUpdate:value": onUserSelect
|
|
116691
116698
|
}, null, 8, ["filter", "loading", "options", "placeholder", "value"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
116692
116699
|
!_ctx.isEditing && !_ctx.isUpdating ? (openBlock(), createElementBlock("div", _hoisted_2$2F, [
|
|
116693
|
-
createElementVNode("div", _hoisted_3$
|
|
116700
|
+
createElementVNode("div", _hoisted_3$28, toDisplayString(_ctx.owner?.name), 1),
|
|
116694
116701
|
_ctx.editable && isCellHovered.value ? withDirectives((openBlock(), createBlock(CIcon, {
|
|
116695
116702
|
key: 0,
|
|
116696
116703
|
class: "cursor-pointer ml-2 flex-shrink-0",
|
|
@@ -116842,11 +116849,11 @@ const useShareCanvas = (sharingHandler, options = {
|
|
|
116842
116849
|
|
|
116843
116850
|
const _hoisted_1$3z = { class: "text-lg font-bold" };
|
|
116844
116851
|
const _hoisted_2$2E = { class: "flex flex-col h-[60vh]" };
|
|
116845
|
-
const _hoisted_3$
|
|
116852
|
+
const _hoisted_3$27 = {
|
|
116846
116853
|
key: 1,
|
|
116847
116854
|
class: "flex flex-col h-full"
|
|
116848
116855
|
};
|
|
116849
|
-
const _hoisted_4$
|
|
116856
|
+
const _hoisted_4$1O = { class: "flex-grow overflow-auto" };
|
|
116850
116857
|
const _hoisted_5$1v = { class: "font-500 tracking-[1.25px] my-4" };
|
|
116851
116858
|
const _hoisted_6$1i = { class: "flex items-center" };
|
|
116852
116859
|
const _hoisted_7$X = { class: "flex-grow border border-solid border-primary4 border-rounded-md pa-2 bg-base" };
|
|
@@ -116938,8 +116945,8 @@ const _sfc_main$4r = /* @__PURE__ */ defineComponent({
|
|
|
116938
116945
|
unref(isLoadingConfig) ? (openBlock(), createBlock(unref(NSpin), {
|
|
116939
116946
|
key: 0,
|
|
116940
116947
|
class: "flex-grow flex items-center justify-center"
|
|
116941
|
-
})) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
116942
|
-
createElementVNode("div", _hoisted_4$
|
|
116948
|
+
})) : (openBlock(), createElementBlock("div", _hoisted_3$27, [
|
|
116949
|
+
createElementVNode("div", _hoisted_4$1O, [
|
|
116943
116950
|
createElementVNode("div", _hoisted_5$1v, toDisplayString(unref(t)("canvasUI.smartFolders.smartFoldersConfigurationModal.categorizeBasedOn")), 1),
|
|
116944
116951
|
createVNode(unref(VueDraggable), {
|
|
116945
116952
|
modelValue: enabledPropertyNames.value,
|
|
@@ -117032,8 +117039,8 @@ const _sfc_main$4r = /* @__PURE__ */ defineComponent({
|
|
|
117032
117039
|
|
|
117033
117040
|
const _hoisted_1$3y = { class: "smart-folders mt-3" };
|
|
117034
117041
|
const _hoisted_2$2D = { key: 2 };
|
|
117035
|
-
const _hoisted_3$
|
|
117036
|
-
const _hoisted_4$
|
|
117042
|
+
const _hoisted_3$26 = { class: "flex justify-between items-center mb-3" };
|
|
117043
|
+
const _hoisted_4$1N = { class: "flex items-center gap-2" };
|
|
117037
117044
|
const _hoisted_5$1u = { key: 1 };
|
|
117038
117045
|
const _sfc_main$4q = /* @__PURE__ */ defineComponent({
|
|
117039
117046
|
__name: "SmartFolders",
|
|
@@ -117115,8 +117122,8 @@ const _sfc_main$4q = /* @__PURE__ */ defineComponent({
|
|
|
117115
117122
|
key: 1,
|
|
117116
117123
|
onConfigure: onSmartFoldersConfigure
|
|
117117
117124
|
})) : (openBlock(), createElementBlock("div", _hoisted_2$2D, [
|
|
117118
|
-
createElementVNode("div", _hoisted_3$
|
|
117119
|
-
createElementVNode("div", _hoisted_4$
|
|
117125
|
+
createElementVNode("div", _hoisted_3$26, [
|
|
117126
|
+
createElementVNode("div", _hoisted_4$1N, [
|
|
117120
117127
|
_ctx.isAnyTypeOfAdmin ? (openBlock(), createBlock(_sfc_main$4t, {
|
|
117121
117128
|
key: 0,
|
|
117122
117129
|
"dropdown-mode": "",
|
|
@@ -117191,8 +117198,8 @@ const _sfc_main$4q = /* @__PURE__ */ defineComponent({
|
|
|
117191
117198
|
|
|
117192
117199
|
const _hoisted_1$3x = { class: "flex flex-col gap-3" };
|
|
117193
117200
|
const _hoisted_2$2C = { class: "font-700 font-size-[18px]" };
|
|
117194
|
-
const _hoisted_3$
|
|
117195
|
-
const _hoisted_4$
|
|
117201
|
+
const _hoisted_3$25 = { class: "mb-2" };
|
|
117202
|
+
const _hoisted_4$1M = { class: "mt-3 flex justify-between" };
|
|
117196
117203
|
const _sfc_main$4p = /* @__PURE__ */ defineComponent({
|
|
117197
117204
|
__name: "CCanvasAccountModal",
|
|
117198
117205
|
props: {
|
|
@@ -117254,7 +117261,7 @@ const _sfc_main$4p = /* @__PURE__ */ defineComponent({
|
|
|
117254
117261
|
default: withCtx(() => [
|
|
117255
117262
|
createElementVNode("div", _hoisted_1$3x, [
|
|
117256
117263
|
createElementVNode("div", _hoisted_2$2C, toDisplayString(unref(t)("canvasUI.components.savedCanvases.CSavedCanvasesManagement.accountModal.title")), 1),
|
|
117257
|
-
createElementVNode("div", _hoisted_3$
|
|
117264
|
+
createElementVNode("div", _hoisted_3$25, [
|
|
117258
117265
|
createVNode(CSelect, {
|
|
117259
117266
|
bordered: "",
|
|
117260
117267
|
clearable: "",
|
|
@@ -117271,7 +117278,7 @@ const _sfc_main$4p = /* @__PURE__ */ defineComponent({
|
|
|
117271
117278
|
"onUpdate:value": setAccount
|
|
117272
117279
|
}, null, 8, ["loading", "options", "placeholder", "value"])
|
|
117273
117280
|
]),
|
|
117274
|
-
createElementVNode("div", _hoisted_4$
|
|
117281
|
+
createElementVNode("div", _hoisted_4$1M, [
|
|
117275
117282
|
createVNode(CButton, {
|
|
117276
117283
|
type: "secondary",
|
|
117277
117284
|
onClick: handleClose
|
|
@@ -117526,6 +117533,13 @@ const _sfc_main$4o = /*@__PURE__*/defineComponent({
|
|
|
117526
117533
|
console.error('Error during async download polling:', error);
|
|
117527
117534
|
}
|
|
117528
117535
|
}
|
|
117536
|
+
function hasSystemTag(tags) {
|
|
117537
|
+
const systemTags = ['home', 'share', 'sharebox'];
|
|
117538
|
+
return tags?.some(tag => {
|
|
117539
|
+
const lowerTag = tag.toLowerCase();
|
|
117540
|
+
return systemTags.includes(lowerTag);
|
|
117541
|
+
}) ?? false;
|
|
117542
|
+
}
|
|
117529
117543
|
const {
|
|
117530
117544
|
filterComponents: dataFilterComponents
|
|
117531
117545
|
} = useCanvasStandardFilters({
|
|
@@ -117619,9 +117633,12 @@ const _sfc_main$4o = /*@__PURE__*/defineComponent({
|
|
|
117619
117633
|
id: 'template',
|
|
117620
117634
|
cell: cellCtx => {
|
|
117621
117635
|
const templateId = cellCtx.row.original?.template?.id;
|
|
117636
|
+
const canvasTags = cellCtx.row.original?.tags;
|
|
117622
117637
|
// If distributed canvas feature is disabled, assume all templates are accessible
|
|
117623
117638
|
const hasAccess = launchDarkly.value.enable_canvas_core_distributions ? templateId ? accessibleTemplateIds.value.has(templateId) : true : true;
|
|
117624
|
-
|
|
117639
|
+
// Check if the canvas has system tags (like "sharebox" from share template)
|
|
117640
|
+
const hasSystemCanvasTag = hasSystemTag(canvasTags);
|
|
117641
|
+
const hideCreate = props.isCanvasCreationDisabled || !hasAccess || hasSystemCanvasTag;
|
|
117625
117642
|
const disableOpen = props.noTabs || !hasAccess;
|
|
117626
117643
|
return createVNode(_sfc_main$4u, {
|
|
117627
117644
|
"name": cellCtx.row.original?.template?.name,
|
|
@@ -118386,7 +118403,7 @@ const _sfc_main$4o = /*@__PURE__*/defineComponent({
|
|
|
118386
118403
|
|
|
118387
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" };
|
|
118388
118405
|
const _hoisted_2$2B = { class: "flex flex-wrap items-center gap-2 flex-1" };
|
|
118389
|
-
const _hoisted_3$
|
|
118406
|
+
const _hoisted_3$24 = { class: "flex gap-4" };
|
|
118390
118407
|
const _sfc_main$4n = /* @__PURE__ */ defineComponent({
|
|
118391
118408
|
__name: "CAssignedCanvasesManagementToolbar",
|
|
118392
118409
|
props: {
|
|
@@ -118432,7 +118449,7 @@ const _sfc_main$4n = /* @__PURE__ */ defineComponent({
|
|
|
118432
118449
|
"onUpdate:search": _cache[1] || (_cache[1] = ($event) => emit("search", $event))
|
|
118433
118450
|
}, null, 8, ["customFilterComponents", "disabled", "filters", "initial-search-value", "owner-id", "placeholder"])
|
|
118434
118451
|
]),
|
|
118435
|
-
createElementVNode("div", _hoisted_3$
|
|
118452
|
+
createElementVNode("div", _hoisted_3$24, [
|
|
118436
118453
|
!_ctx.hideView ? (openBlock(), createBlock(CTableColumnsSettings, {
|
|
118437
118454
|
key: 0,
|
|
118438
118455
|
"table-columns-settings": _ctx.tableColumnsSettings,
|
|
@@ -118903,8 +118920,8 @@ const CTableSelect = /* @__PURE__ */ _export_sfc(_sfc_main$4l, [["__scopeId", "d
|
|
|
118903
118920
|
|
|
118904
118921
|
const _hoisted_1$3s = { class: "flex flex-col gap-1" };
|
|
118905
118922
|
const _hoisted_2$2A = ["disabled", "onClick", "onMouseover"];
|
|
118906
|
-
const _hoisted_3$
|
|
118907
|
-
const _hoisted_4$
|
|
118923
|
+
const _hoisted_3$23 = { class: "flex items-center gap-2" };
|
|
118924
|
+
const _hoisted_4$1L = { class: "block truncate" };
|
|
118908
118925
|
const _sfc_main$4k = /* @__PURE__ */ defineComponent({
|
|
118909
118926
|
__name: "CEntitySelector",
|
|
118910
118927
|
props: {
|
|
@@ -119032,14 +119049,14 @@ const _sfc_main$4k = /* @__PURE__ */ defineComponent({
|
|
|
119032
119049
|
onMouseleave: _cache[1] || (_cache[1] = ($event) => isListItemHoveredId.value = null),
|
|
119033
119050
|
onMouseover: ($event) => isListItemHoveredId.value = item.id
|
|
119034
119051
|
}, [
|
|
119035
|
-
createElementVNode("div", _hoisted_3$
|
|
119052
|
+
createElementVNode("div", _hoisted_3$23, [
|
|
119036
119053
|
_ctx.multiple ? (openBlock(), createBlock(_sfc_main$6S, {
|
|
119037
119054
|
key: 0,
|
|
119038
119055
|
checked: _ctx.selectedItemIds?.includes(item.id),
|
|
119039
119056
|
"onUpdate:checked": (val) => handleCheckboxChange(val, item)
|
|
119040
119057
|
}, null, 8, ["checked", "onUpdate:checked"])) : createCommentVNode("", true),
|
|
119041
119058
|
createElementVNode("div", null, [
|
|
119042
|
-
createElementVNode("div", _hoisted_4$
|
|
119059
|
+
createElementVNode("div", _hoisted_4$1L, toDisplayString(renderProp("title", item)), 1),
|
|
119043
119060
|
_ctx.subtitle ? (openBlock(), createElementBlock("div", {
|
|
119044
119061
|
key: 0,
|
|
119045
119062
|
class: "block truncate c-entity-selector__recycle-list-item--subtitle",
|
|
@@ -119081,8 +119098,8 @@ const splitUserName = (name = "") => {
|
|
|
119081
119098
|
|
|
119082
119099
|
const _hoisted_1$3r = { class: "flex items-center justify-between gap-1" };
|
|
119083
119100
|
const _hoisted_2$2z = { class: "flex gap-4 items-center" };
|
|
119084
|
-
const _hoisted_3$
|
|
119085
|
-
const _hoisted_4$
|
|
119101
|
+
const _hoisted_3$22 = { class: "flex font-bold" };
|
|
119102
|
+
const _hoisted_4$1K = { class: "flex items-center justify-between gap-1" };
|
|
119086
119103
|
const _hoisted_5$1t = { class: "flex items-center gap-1" };
|
|
119087
119104
|
const _hoisted_6$1h = {
|
|
119088
119105
|
key: 0,
|
|
@@ -119221,7 +119238,7 @@ const _sfc_main$4j = /* @__PURE__ */ defineComponent({
|
|
|
119221
119238
|
icon: _ctx.itemType === "user" ? "user" : "users",
|
|
119222
119239
|
size: "14"
|
|
119223
119240
|
}, null, 8, ["icon"]),
|
|
119224
|
-
createElementVNode("div", _hoisted_3$
|
|
119241
|
+
createElementVNode("div", _hoisted_3$22, toDisplayString(displayTitle.value), 1)
|
|
119225
119242
|
]),
|
|
119226
119243
|
_ctx.itemType === "group" ? (openBlock(), createBlock(_sfc_main$4k, {
|
|
119227
119244
|
key: 0,
|
|
@@ -119302,7 +119319,7 @@ const _sfc_main$4j = /* @__PURE__ */ defineComponent({
|
|
|
119302
119319
|
)
|
|
119303
119320
|
}, {
|
|
119304
119321
|
default: withCtx(({ item }) => [
|
|
119305
|
-
createElementVNode("div", _hoisted_4$
|
|
119322
|
+
createElementVNode("div", _hoisted_4$1K, [
|
|
119306
119323
|
createElementVNode("div", _hoisted_5$1t, [
|
|
119307
119324
|
_ctx.itemType === "user" && "user" in item ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
119308
119325
|
createVNode(_sfc_main$5n, {
|
|
@@ -119501,8 +119518,8 @@ function useCanvasContext() {
|
|
|
119501
119518
|
|
|
119502
119519
|
const _hoisted_1$3p = { class: "flex justify-between items-center mb-4 sticky top-0 base z-1" };
|
|
119503
119520
|
const _hoisted_2$2y = { class: "panel-title font-600 font-size-[15px] line-height-[28px]" };
|
|
119504
|
-
const _hoisted_3$
|
|
119505
|
-
const _hoisted_4$
|
|
119521
|
+
const _hoisted_3$21 = ["onClick"];
|
|
119522
|
+
const _hoisted_4$1J = ["alt", "src", "onError"];
|
|
119506
119523
|
const _hoisted_5$1s = ["alt", "src"];
|
|
119507
119524
|
const _hoisted_6$1g = {
|
|
119508
119525
|
key: 2,
|
|
@@ -119787,7 +119804,7 @@ const _sfc_main$4h = /* @__PURE__ */ defineComponent({
|
|
|
119787
119804
|
class: "w-full h-full object-cover",
|
|
119788
119805
|
src: item.thumbnail_url,
|
|
119789
119806
|
onError: ($event) => handleThumbnailError($event, item)
|
|
119790
|
-
}, null, 40, _hoisted_4$
|
|
119807
|
+
}, null, 40, _hoisted_4$1J)) : unref(getDefaultThumbnailUrl)(item) ? (openBlock(), createElementBlock("img", {
|
|
119791
119808
|
key: 1,
|
|
119792
119809
|
alt: item.name ? item.name : "File thumbnail",
|
|
119793
119810
|
class: "w-full h-full object-cover",
|
|
@@ -119799,7 +119816,7 @@ const _sfc_main$4h = /* @__PURE__ */ defineComponent({
|
|
|
119799
119816
|
size: "24px"
|
|
119800
119817
|
}, null, 8, ["color"])
|
|
119801
119818
|
]))
|
|
119802
|
-
], 8, _hoisted_3$
|
|
119819
|
+
], 8, _hoisted_3$21)) : (openBlock(), createBlock(_sfc_main$6G, {
|
|
119803
119820
|
key: 1,
|
|
119804
119821
|
class: "w-16 h-10 flex flex-shrink-0 items-center justify-center cursor-pointer",
|
|
119805
119822
|
height: 40,
|
|
@@ -119892,11 +119909,11 @@ const _hoisted_2$2x = {
|
|
|
119892
119909
|
key: 2,
|
|
119893
119910
|
class: "text-lg tracking-[.25px]"
|
|
119894
119911
|
};
|
|
119895
|
-
const _hoisted_3$
|
|
119912
|
+
const _hoisted_3$20 = {
|
|
119896
119913
|
key: 1,
|
|
119897
119914
|
class: "p-1 content-selector__section-title"
|
|
119898
119915
|
};
|
|
119899
|
-
const _hoisted_4$
|
|
119916
|
+
const _hoisted_4$1I = {
|
|
119900
119917
|
key: 2,
|
|
119901
119918
|
class: "p-1 content-selector__section-title"
|
|
119902
119919
|
};
|
|
@@ -120087,7 +120104,7 @@ const _sfc_main$4g = /* @__PURE__ */ defineComponent({
|
|
|
120087
120104
|
}), 128))
|
|
120088
120105
|
]),
|
|
120089
120106
|
_: 1
|
|
120090
|
-
})) : unref(selectedSection) === "favorites" ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
120107
|
+
})) : unref(selectedSection) === "favorites" ? (openBlock(), createElementBlock("div", _hoisted_3$20, toDisplayString(unref(t)("canvasUI.contentSelectorApp.content.favorites")), 1)) : unref(selectedSection) === "recent" ? (openBlock(), createElementBlock("div", _hoisted_4$1I, 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)
|
|
120091
120108
|
], 64)),
|
|
120092
120109
|
createElementVNode("div", _hoisted_6$1f, [
|
|
120093
120110
|
unref(selectedSection) === "all" ? (openBlock(), createBlock(unref(NDropdown), {
|
|
@@ -120184,11 +120201,11 @@ const _sfc_main$4f = /* @__PURE__ */ defineComponent({
|
|
|
120184
120201
|
|
|
120185
120202
|
const _hoisted_1$3n = ["draggable"];
|
|
120186
120203
|
const _hoisted_2$2w = { class: "absolute top-2 left-2 w-9 h-9 flex items-center justify-center rounded-5" };
|
|
120187
|
-
const _hoisted_3$
|
|
120204
|
+
const _hoisted_3$1$ = {
|
|
120188
120205
|
key: 0,
|
|
120189
120206
|
class: "absolute top-2 right-2 w-9 h-9 flex items-center justify-center rounded-5"
|
|
120190
120207
|
};
|
|
120191
|
-
const _hoisted_4$
|
|
120208
|
+
const _hoisted_4$1H = { class: "text-truncate max-w-[240px] font-700 text-center" };
|
|
120192
120209
|
const _hoisted_5$1q = { class: "flex items-center justify-between w-full" };
|
|
120193
120210
|
const _hoisted_6$1e = {
|
|
120194
120211
|
key: 1,
|
|
@@ -120347,7 +120364,7 @@ const _sfc_main$4e = /* @__PURE__ */ defineComponent({
|
|
|
120347
120364
|
_: 1
|
|
120348
120365
|
}, 8, ["color", "disabled", "text-color"])
|
|
120349
120366
|
]),
|
|
120350
|
-
_ctx.item.type === "file" ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
120367
|
+
_ctx.item.type === "file" ? (openBlock(), createElementBlock("div", _hoisted_3$1$, [
|
|
120351
120368
|
createVNode(CButton, {
|
|
120352
120369
|
circle: "",
|
|
120353
120370
|
color: unref(themeVars).primary6,
|
|
@@ -120373,7 +120390,7 @@ const _sfc_main$4e = /* @__PURE__ */ defineComponent({
|
|
|
120373
120390
|
src: _ctx.item.thumbnail_url,
|
|
120374
120391
|
width: "240"
|
|
120375
120392
|
}, null, 8, ["src"]),
|
|
120376
|
-
createElementVNode("div", _hoisted_4$
|
|
120393
|
+
createElementVNode("div", _hoisted_4$1H, toDisplayString(_ctx.item.name), 1),
|
|
120377
120394
|
createElementVNode("div", _hoisted_5$1q, [
|
|
120378
120395
|
createElementVNode("div", {
|
|
120379
120396
|
class: "text-truncate text-center",
|
|
@@ -120497,8 +120514,8 @@ const _hoisted_2$2v = {
|
|
|
120497
120514
|
key: 0,
|
|
120498
120515
|
class: "h-full"
|
|
120499
120516
|
};
|
|
120500
|
-
const _hoisted_3$
|
|
120501
|
-
const _hoisted_4$
|
|
120517
|
+
const _hoisted_3$1_ = { class: "flex flex-col gap-3 items-center justify-center max-w-[400px] text-center" };
|
|
120518
|
+
const _hoisted_4$1G = { class: "font-size-[20px]" };
|
|
120502
120519
|
const _hoisted_5$1p = { class: "font-size-[14px]" };
|
|
120503
120520
|
const _hoisted_6$1d = {
|
|
120504
120521
|
key: 0,
|
|
@@ -120583,12 +120600,12 @@ const _sfc_main$4d = /* @__PURE__ */ defineComponent({
|
|
|
120583
120600
|
class: "h-full w-full flex items-center justify-center",
|
|
120584
120601
|
style: normalizeStyle({ color: unref(themeVars).primary3 })
|
|
120585
120602
|
}, [
|
|
120586
|
-
createElementVNode("div", _hoisted_3$
|
|
120603
|
+
createElementVNode("div", _hoisted_3$1_, [
|
|
120587
120604
|
createVNode(CIcon, {
|
|
120588
120605
|
icon: "circle-exclamation",
|
|
120589
120606
|
size: "36px"
|
|
120590
120607
|
}),
|
|
120591
|
-
createElementVNode("div", _hoisted_4$
|
|
120608
|
+
createElementVNode("div", _hoisted_4$1G, toDisplayString(unref(t)("canvasUI.contentSelectorApp.foldersFiles.thumbnailsAreMissing")), 1),
|
|
120592
120609
|
createElementVNode("div", _hoisted_5$1p, toDisplayString(unref(t)("canvasUI.contentSelectorApp.foldersFiles.pdfReuploadHint")), 1)
|
|
120593
120610
|
])
|
|
120594
120611
|
], 4))
|
|
@@ -120709,11 +120726,11 @@ function useImageAccessibility({ thumbnailUrl, hasAIEnabled, hasFile }) {
|
|
|
120709
120726
|
|
|
120710
120727
|
const _hoisted_1$3l = { class: "flex items-center" };
|
|
120711
120728
|
const _hoisted_2$2u = { class: "my-3" };
|
|
120712
|
-
const _hoisted_3$
|
|
120729
|
+
const _hoisted_3$1Z = {
|
|
120713
120730
|
key: 1,
|
|
120714
120731
|
class: "w-[152px] h-[100px] rounded-2 overflow-hidden"
|
|
120715
120732
|
};
|
|
120716
|
-
const _hoisted_4$
|
|
120733
|
+
const _hoisted_4$1F = ["alt", "src"];
|
|
120717
120734
|
const _hoisted_5$1o = {
|
|
120718
120735
|
key: 1,
|
|
120719
120736
|
class: "bg-primary6 w-full h-full flex items-center justify-center"
|
|
@@ -120831,13 +120848,13 @@ const _sfc_main$4c = /* @__PURE__ */ defineComponent({
|
|
|
120831
120848
|
_ctx.item.type === "file" && unref(hasValidThumbnail) ? (openBlock(), createBlock(_sfc_main$6G, {
|
|
120832
120849
|
key: 0,
|
|
120833
120850
|
item: _ctx.item
|
|
120834
|
-
}, 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$1Z, [
|
|
120835
120852
|
defaultThumbnailUrl.value ? (openBlock(), createElementBlock("img", {
|
|
120836
120853
|
key: 0,
|
|
120837
120854
|
alt: _ctx.item.name || "File thumbnail",
|
|
120838
120855
|
class: "w-full h-full object-cover",
|
|
120839
120856
|
src: defaultThumbnailUrl.value
|
|
120840
|
-
}, null, 8, _hoisted_4$
|
|
120857
|
+
}, null, 8, _hoisted_4$1F)) : (openBlock(), createElementBlock("div", _hoisted_5$1o, [
|
|
120841
120858
|
createVNode(CIcon, {
|
|
120842
120859
|
color: unref(themeVars).primary3,
|
|
120843
120860
|
icon: "file",
|
|
@@ -121240,11 +121257,11 @@ const _hoisted_2$2s = {
|
|
|
121240
121257
|
key: 0,
|
|
121241
121258
|
class: "bg-base overflow-auto flex flex-col flex-auto"
|
|
121242
121259
|
};
|
|
121243
|
-
const _hoisted_3$
|
|
121260
|
+
const _hoisted_3$1Y = {
|
|
121244
121261
|
key: 0,
|
|
121245
121262
|
class: "flex justify-end items-center color-primary bg-base pa-2 min-h-11"
|
|
121246
121263
|
};
|
|
121247
|
-
const _hoisted_4$
|
|
121264
|
+
const _hoisted_4$1E = { class: "flex flex-col gap-3 items-center justify-center max-w-[400px] text-center" };
|
|
121248
121265
|
const _hoisted_5$1n = { class: "font-size-[20px]" };
|
|
121249
121266
|
const _hoisted_6$1b = { class: "font-size-[14px]" };
|
|
121250
121267
|
const _hoisted_7$R = {
|
|
@@ -121422,7 +121439,7 @@ const _sfc_main$4a = /* @__PURE__ */ defineComponent({
|
|
|
121422
121439
|
}, [
|
|
121423
121440
|
!!unref(activeFile) ? (openBlock(), createElementBlock("div", _hoisted_1$3j, [
|
|
121424
121441
|
unref(activeFile).content_thumbnails?.length ? (openBlock(), createElementBlock("div", _hoisted_2$2s, [
|
|
121425
|
-
unref(isDragNDropEnabled) ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
121442
|
+
unref(isDragNDropEnabled) ? (openBlock(), createElementBlock("div", _hoisted_3$1Y, [
|
|
121426
121443
|
createVNode(_sfc_main$4Z, {
|
|
121427
121444
|
"added-item-ids": unref(addedItems).map((item) => item.id),
|
|
121428
121445
|
"selected-item-ids": unref(selectedItems).map((item) => item.id),
|
|
@@ -121467,7 +121484,7 @@ const _sfc_main$4a = /* @__PURE__ */ defineComponent({
|
|
|
121467
121484
|
class: "h-full w-full flex items-center justify-center",
|
|
121468
121485
|
style: normalizeStyle({ color: unref(themeVars).primary3 })
|
|
121469
121486
|
}, [
|
|
121470
|
-
createElementVNode("div", _hoisted_4$
|
|
121487
|
+
createElementVNode("div", _hoisted_4$1E, [
|
|
121471
121488
|
createVNode(CIcon, {
|
|
121472
121489
|
icon: "circle-exclamation",
|
|
121473
121490
|
size: "36px"
|
|
@@ -121892,8 +121909,8 @@ const _sfc_main$46 = /* @__PURE__ */ defineComponent({
|
|
|
121892
121909
|
|
|
121893
121910
|
const _hoisted_1$3e = { class: "content-selector-assets flex flex-col h-full" };
|
|
121894
121911
|
const _hoisted_2$2n = { class: "sticky top-0 z-1 bg-primary6 pb-2" };
|
|
121895
|
-
const _hoisted_3$
|
|
121896
|
-
const _hoisted_4$
|
|
121912
|
+
const _hoisted_3$1X = { class: "flex flex-col items-center justify-center" };
|
|
121913
|
+
const _hoisted_4$1D = {
|
|
121897
121914
|
key: 0,
|
|
121898
121915
|
class: "my-2"
|
|
121899
121916
|
};
|
|
@@ -122163,7 +122180,7 @@ const _sfc_main$45 = /* @__PURE__ */ defineComponent({
|
|
|
122163
122180
|
title: unref(t)("canvasUI.contentSelector.syncIosWarning"),
|
|
122164
122181
|
visible: unref(isPitcherOrIosDevice)
|
|
122165
122182
|
}, null, 8, ["title", "visible"]),
|
|
122166
|
-
createElementVNode("div", _hoisted_3$
|
|
122183
|
+
createElementVNode("div", _hoisted_3$1X, [
|
|
122167
122184
|
!unref(launchDarkly).hide_asset_uploader ? (openBlock(), createBlock(_sfc_main$47, {
|
|
122168
122185
|
key: 0,
|
|
122169
122186
|
onUploadsComplete: _cache[0] || (_cache[0] = () => fetchAssets(true))
|
|
@@ -122176,7 +122193,7 @@ const _sfc_main$45 = /* @__PURE__ */ defineComponent({
|
|
|
122176
122193
|
"page-size": pageSize$1
|
|
122177
122194
|
}, null, 8, ["page", "page-count"])) : createCommentVNode("", true)
|
|
122178
122195
|
]),
|
|
122179
|
-
!!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$1D, [
|
|
122180
122197
|
createElementVNode("div", _hoisted_5$1m, [
|
|
122181
122198
|
createVNode(CSearch, {
|
|
122182
122199
|
modelValue: search.value,
|
|
@@ -122314,7 +122331,7 @@ async function getMediaType(url) {
|
|
|
122314
122331
|
|
|
122315
122332
|
const _hoisted_1$3d = { class: "cs-media-preview" };
|
|
122316
122333
|
const _hoisted_2$2m = ["src"];
|
|
122317
|
-
const _hoisted_3$
|
|
122334
|
+
const _hoisted_3$1W = ["src"];
|
|
122318
122335
|
const _sfc_main$44 = /* @__PURE__ */ defineComponent({
|
|
122319
122336
|
__name: "MediaPreview",
|
|
122320
122337
|
props: {
|
|
@@ -122389,7 +122406,7 @@ const _sfc_main$44 = /* @__PURE__ */ defineComponent({
|
|
|
122389
122406
|
src: _ctx.url,
|
|
122390
122407
|
onError: onLoadError,
|
|
122391
122408
|
onLoadeddata: onLoad
|
|
122392
|
-
}, toDisplayString(unref(t)("canvasUI.contentSelector.mediaPreview.noVideoBrowser")), 41, _hoisted_3$
|
|
122409
|
+
}, toDisplayString(unref(t)("canvasUI.contentSelector.mediaPreview.noVideoBrowser")), 41, _hoisted_3$1W), [
|
|
122393
122410
|
[vShow, !isLoading.value && isVideo.value && _ctx.url]
|
|
122394
122411
|
]),
|
|
122395
122412
|
withDirectives(createElementVNode("div", {
|
|
@@ -122533,8 +122550,8 @@ const ExternalLinks = /* @__PURE__ */ _export_sfc(_sfc_main$43, [["__scopeId", "
|
|
|
122533
122550
|
|
|
122534
122551
|
const _hoisted_1$3b = { class: "mr-3 h-full" };
|
|
122535
122552
|
const _hoisted_2$2k = { class: "flex flex-col gap-3 mb-3" };
|
|
122536
|
-
const _hoisted_3$
|
|
122537
|
-
const _hoisted_4$
|
|
122553
|
+
const _hoisted_3$1V = { class: "flex justify-between w-full mb-3" };
|
|
122554
|
+
const _hoisted_4$1C = {
|
|
122538
122555
|
key: 0,
|
|
122539
122556
|
class: "text-error text-sm"
|
|
122540
122557
|
};
|
|
@@ -122737,8 +122754,8 @@ const _sfc_main$42 = /* @__PURE__ */ defineComponent({
|
|
|
122737
122754
|
_: 1
|
|
122738
122755
|
}, 8, ["label"])
|
|
122739
122756
|
]),
|
|
122740
|
-
createElementVNode("div", _hoisted_3$
|
|
122741
|
-
error.value ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
122757
|
+
createElementVNode("div", _hoisted_3$1V, [
|
|
122758
|
+
error.value ? (openBlock(), createElementBlock("div", _hoisted_4$1C, toDisplayString(error.value), 1)) : createCommentVNode("", true),
|
|
122742
122759
|
_cache[2] || (_cache[2] = createElementVNode("div", { class: "flex-grow" }, null, -1)),
|
|
122743
122760
|
createVNode(CButton, {
|
|
122744
122761
|
disabled: isGenerating.value || !prompt.value,
|
|
@@ -122816,8 +122833,8 @@ const AiImages = /* @__PURE__ */ _export_sfc(_sfc_main$42, [["__scopeId", "data-
|
|
|
122816
122833
|
|
|
122817
122834
|
const _hoisted_1$3a = { class: "mr-3 h-full" };
|
|
122818
122835
|
const _hoisted_2$2j = { class: "flex flex-col gap-3 mb-3" };
|
|
122819
|
-
const _hoisted_3$
|
|
122820
|
-
const _hoisted_4$
|
|
122836
|
+
const _hoisted_3$1U = { class: "flex justify-between w-full mb-3" };
|
|
122837
|
+
const _hoisted_4$1B = {
|
|
122821
122838
|
key: 0,
|
|
122822
122839
|
class: "text-error text-sm"
|
|
122823
122840
|
};
|
|
@@ -123024,8 +123041,8 @@ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
|
123024
123041
|
_: 1
|
|
123025
123042
|
}, 8, ["label"])
|
|
123026
123043
|
]),
|
|
123027
|
-
createElementVNode("div", _hoisted_3$
|
|
123028
|
-
error.value ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
123044
|
+
createElementVNode("div", _hoisted_3$1U, [
|
|
123045
|
+
error.value ? (openBlock(), createElementBlock("div", _hoisted_4$1B, toDisplayString(error.value), 1)) : createCommentVNode("", true),
|
|
123029
123046
|
_cache[2] || (_cache[2] = createElementVNode("div", { class: "flex-grow" }, null, -1)),
|
|
123030
123047
|
createVNode(CButton, {
|
|
123031
123048
|
disabled: isLoading.value || !searchQuery.value,
|
|
@@ -123128,11 +123145,11 @@ const PexelsImages = /* @__PURE__ */ _export_sfc(_sfc_main$41, [["__scopeId", "d
|
|
|
123128
123145
|
|
|
123129
123146
|
const _hoisted_1$39 = { class: "theme-images h-full flex flex-col" };
|
|
123130
123147
|
const _hoisted_2$2i = { class: "mr-3 h-full" };
|
|
123131
|
-
const _hoisted_3$
|
|
123148
|
+
const _hoisted_3$1T = {
|
|
123132
123149
|
key: 0,
|
|
123133
123150
|
class: "text-center py-10"
|
|
123134
123151
|
};
|
|
123135
|
-
const _hoisted_4$
|
|
123152
|
+
const _hoisted_4$1A = {
|
|
123136
123153
|
key: 1,
|
|
123137
123154
|
class: "mb-8"
|
|
123138
123155
|
};
|
|
@@ -123216,14 +123233,14 @@ const _sfc_main$40 = /* @__PURE__ */ defineComponent({
|
|
|
123216
123233
|
}, {
|
|
123217
123234
|
default: withCtx(() => [
|
|
123218
123235
|
createElementVNode("div", _hoisted_2$2i, [
|
|
123219
|
-
!unref(activeTheme) ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
123236
|
+
!unref(activeTheme) ? (openBlock(), createElementBlock("div", _hoisted_3$1T, [
|
|
123220
123237
|
createVNode(CIcon, {
|
|
123221
123238
|
class: "mb-4 color-primary3",
|
|
123222
123239
|
icon: "image",
|
|
123223
123240
|
size: "48"
|
|
123224
123241
|
}),
|
|
123225
123242
|
createElementVNode("p", null, toDisplayString(unref(t)("canvasUI.contentSelector.themeImages.noActiveTheme")), 1)
|
|
123226
|
-
])) : unref(activeTheme) ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
123243
|
+
])) : unref(activeTheme) ? (openBlock(), createElementBlock("div", _hoisted_4$1A, [
|
|
123227
123244
|
createElementVNode("h3", _hoisted_5$1j, toDisplayString(unref(t)("canvasUI.contentSelector.themeImages.logo")), 1),
|
|
123228
123245
|
unref(activeTheme).logo ? (openBlock(), createBlock(unref(NSpace), {
|
|
123229
123246
|
key: 0,
|
|
@@ -123924,8 +123941,8 @@ const ContentSelector = /* @__PURE__ */ _export_sfc(_sfc_main$3_, [["__scopeId",
|
|
|
123924
123941
|
|
|
123925
123942
|
const _hoisted_1$36 = { class: "flex items-center justify-between gap-1" };
|
|
123926
123943
|
const _hoisted_2$2g = { class: "flex gap-4 items-center" };
|
|
123927
|
-
const _hoisted_3$
|
|
123928
|
-
const _hoisted_4$
|
|
123944
|
+
const _hoisted_3$1S = { class: "flex font-bold" };
|
|
123945
|
+
const _hoisted_4$1z = { class: "flex items-center justify-between gap-1" };
|
|
123929
123946
|
const _hoisted_5$1i = { class: "flex items-center gap-1" };
|
|
123930
123947
|
const _hoisted_6$16 = { class: "font-bold" };
|
|
123931
123948
|
const _hoisted_7$N = { class: "flex items-center gap-4 mr-2" };
|
|
@@ -123981,7 +123998,7 @@ const _sfc_main$3Z = /* @__PURE__ */ defineComponent({
|
|
|
123981
123998
|
icon: "folder",
|
|
123982
123999
|
size: "14"
|
|
123983
124000
|
}),
|
|
123984
|
-
createElementVNode("div", _hoisted_3$
|
|
124001
|
+
createElementVNode("div", _hoisted_3$1S, toDisplayString(displayTitle.value), 1)
|
|
123985
124002
|
]),
|
|
123986
124003
|
createVNode(CButton, {
|
|
123987
124004
|
iconPlacement: "left",
|
|
@@ -124025,7 +124042,7 @@ const _sfc_main$3Z = /* @__PURE__ */ defineComponent({
|
|
|
124025
124042
|
style: normalizeStyle(_ctx.items.length > _ctx.maxItemsToRender ? { maxHeight: `${SCROLLER_ITEM_SIZE * _ctx.maxItemsToRender}px` } : void 0)
|
|
124026
124043
|
}, {
|
|
124027
124044
|
default: withCtx(({ item }) => [
|
|
124028
|
-
createElementVNode("div", _hoisted_4$
|
|
124045
|
+
createElementVNode("div", _hoisted_4$1z, [
|
|
124029
124046
|
createElementVNode("div", _hoisted_5$1i, [
|
|
124030
124047
|
createElementVNode("div", _hoisted_6$16, toDisplayString(item.file.name), 1)
|
|
124031
124048
|
]),
|
|
@@ -124071,8 +124088,8 @@ const _sfc_main$3Z = /* @__PURE__ */ defineComponent({
|
|
|
124071
124088
|
|
|
124072
124089
|
const _hoisted_1$35 = { class: "flex flex-col gap-6" };
|
|
124073
124090
|
const _hoisted_2$2f = { class: "flex items-center gap-4" };
|
|
124074
|
-
const _hoisted_3$
|
|
124075
|
-
const _hoisted_4$
|
|
124091
|
+
const _hoisted_3$1R = { class: "font-bold" };
|
|
124092
|
+
const _hoisted_4$1y = { class: "flex flex-wrap" };
|
|
124076
124093
|
const _hoisted_5$1h = { key: 0 };
|
|
124077
124094
|
const _hoisted_6$15 = {
|
|
124078
124095
|
key: 0,
|
|
@@ -124113,9 +124130,9 @@ const _sfc_main$3Y = /* @__PURE__ */ defineComponent({
|
|
|
124113
124130
|
createElementVNode("div", _hoisted_1$35, [
|
|
124114
124131
|
createElementVNode("div", _hoisted_2$2f, [
|
|
124115
124132
|
createVNode(CIcon, { icon: "users" }),
|
|
124116
|
-
createElementVNode("div", _hoisted_3$
|
|
124133
|
+
createElementVNode("div", _hoisted_3$1R, toDisplayString(_ctx.title ?? unref(t)("canvasUI.components.CGroupsAccessInfo.title", _ctx.items.length)), 1)
|
|
124117
124134
|
]),
|
|
124118
|
-
createElementVNode("div", _hoisted_4$
|
|
124135
|
+
createElementVNode("div", _hoisted_4$1y, [
|
|
124119
124136
|
(openBlock(true), createElementBlock(Fragment, null, renderList(roleItemsWithGroup.value, ({ group }, index) => {
|
|
124120
124137
|
return openBlock(), createElementBlock("div", {
|
|
124121
124138
|
key: group.id
|
|
@@ -124139,8 +124156,8 @@ const CGroupsAccessInfo = /* @__PURE__ */ _export_sfc(_sfc_main$3Y, [["__scopeId
|
|
|
124139
124156
|
|
|
124140
124157
|
const _hoisted_1$34 = { class: "flex flex-col gap-6" };
|
|
124141
124158
|
const _hoisted_2$2e = { class: "flex items-center gap-4" };
|
|
124142
|
-
const _hoisted_3$
|
|
124143
|
-
const _hoisted_4$
|
|
124159
|
+
const _hoisted_3$1Q = { class: "font-bold" };
|
|
124160
|
+
const _hoisted_4$1x = { class: "flex flex-wrap items-center" };
|
|
124144
124161
|
const _hoisted_5$1g = {
|
|
124145
124162
|
key: 0,
|
|
124146
124163
|
class: "ml-4 truncate c-users-access-info__more"
|
|
@@ -124168,9 +124185,9 @@ const _sfc_main$3X = /* @__PURE__ */ defineComponent({
|
|
|
124168
124185
|
createElementVNode("div", _hoisted_1$34, [
|
|
124169
124186
|
createElementVNode("div", _hoisted_2$2e, [
|
|
124170
124187
|
createVNode(CIcon, { icon: "user" }),
|
|
124171
|
-
createElementVNode("div", _hoisted_3$
|
|
124188
|
+
createElementVNode("div", _hoisted_3$1Q, toDisplayString(_ctx.title ?? unref(t)("canvasUI.components.CUsersAccessInfo.individualUsers", _ctx.items.length)), 1)
|
|
124172
124189
|
]),
|
|
124173
|
-
createElementVNode("div", _hoisted_4$
|
|
124190
|
+
createElementVNode("div", _hoisted_4$1x, [
|
|
124174
124191
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.items.slice(0, _ctx.maxItemsToShow), ({ user }) => {
|
|
124175
124192
|
return openBlock(), createBlock(_sfc_main$5n, {
|
|
124176
124193
|
key: user?.id,
|
|
@@ -124193,8 +124210,8 @@ const CUsersAccessInfo = /* @__PURE__ */ _export_sfc(_sfc_main$3X, [["__scopeId"
|
|
|
124193
124210
|
|
|
124194
124211
|
const _hoisted_1$33 = { class: "flex flex-col gap-6" };
|
|
124195
124212
|
const _hoisted_2$2d = { class: "flex items-center gap-4" };
|
|
124196
|
-
const _hoisted_3$
|
|
124197
|
-
const _hoisted_4$
|
|
124213
|
+
const _hoisted_3$1P = { class: "font-bold" };
|
|
124214
|
+
const _hoisted_4$1w = { class: "flex flex-wrap" };
|
|
124198
124215
|
const _hoisted_5$1f = { key: 0 };
|
|
124199
124216
|
const _hoisted_6$14 = {
|
|
124200
124217
|
key: 0,
|
|
@@ -124221,9 +124238,9 @@ const _sfc_main$3W = /* @__PURE__ */ defineComponent({
|
|
|
124221
124238
|
createElementVNode("div", _hoisted_1$33, [
|
|
124222
124239
|
createElementVNode("div", _hoisted_2$2d, [
|
|
124223
124240
|
createVNode(CIcon, { icon: "folder" }),
|
|
124224
|
-
createElementVNode("div", _hoisted_3$
|
|
124241
|
+
createElementVNode("div", _hoisted_3$1P, toDisplayString(_ctx.title ?? unref(t)("canvasUI.components.CFilesAccessInfo.title", _ctx.items.length)), 1)
|
|
124225
124242
|
]),
|
|
124226
|
-
createElementVNode("div", _hoisted_4$
|
|
124243
|
+
createElementVNode("div", _hoisted_4$1w, [
|
|
124227
124244
|
(openBlock(true), createElementBlock(Fragment, null, renderList(itemsToShow.value.slice(0, _ctx.maxItemsToShow), ({ file }, index) => {
|
|
124228
124245
|
return openBlock(), createElementBlock("div", {
|
|
124229
124246
|
key: file.id
|
|
@@ -124418,8 +124435,8 @@ const RECENT_FILES_STORAGE_KEY_IMPACT = "ciq_recent_files";
|
|
|
124418
124435
|
|
|
124419
124436
|
const _hoisted_1$32 = { class: "flex justify-between items-center gap-2" };
|
|
124420
124437
|
const _hoisted_2$2c = { class: "flex items-center gap-2" };
|
|
124421
|
-
const _hoisted_3$
|
|
124422
|
-
const _hoisted_4$
|
|
124438
|
+
const _hoisted_3$1O = { class: "c-file-viewer-top__file-name grid font-normal text-[20px] leading-8 tracking-wide" };
|
|
124439
|
+
const _hoisted_4$1v = {
|
|
124423
124440
|
key: 0,
|
|
124424
124441
|
class: "overflow-hidden max-h-[342px]"
|
|
124425
124442
|
};
|
|
@@ -124633,8 +124650,8 @@ const _sfc_main$3U = /* @__PURE__ */ defineComponent({
|
|
|
124633
124650
|
]
|
|
124634
124651
|
]) : createCommentVNode("", true)
|
|
124635
124652
|
]),
|
|
124636
|
-
createElementVNode("div", _hoisted_3$
|
|
124637
|
-
recentFilesToShow.value.length > 1 && _ctx.file ? withDirectives((openBlock(), createElementBlock("div", _hoisted_4$
|
|
124653
|
+
createElementVNode("div", _hoisted_3$1O, [
|
|
124654
|
+
recentFilesToShow.value.length > 1 && _ctx.file ? withDirectives((openBlock(), createElementBlock("div", _hoisted_4$1v, [
|
|
124638
124655
|
createVNode(CSelect, {
|
|
124639
124656
|
class: "flex-grow-1 select-none",
|
|
124640
124657
|
hideDetails: "",
|
|
@@ -124796,8 +124813,8 @@ const CFileViewerTop = /* @__PURE__ */ _export_sfc(_sfc_main$3U, [["__scopeId",
|
|
|
124796
124813
|
|
|
124797
124814
|
const _hoisted_1$31 = { class: "flex justify-between" };
|
|
124798
124815
|
const _hoisted_2$2b = { class: "flex items-center gap-2" };
|
|
124799
|
-
const _hoisted_3$
|
|
124800
|
-
const _hoisted_4$
|
|
124816
|
+
const _hoisted_3$1N = { class: "hotspot-toggle__text hotspot-toggle__text--checked tracking-wider uppercase overflow-hidden text-ellipsis whitespace-nowrap" };
|
|
124817
|
+
const _hoisted_4$1u = { class: "hotspot-toggle__text hotspot-toggle__text--unchecked tracking-wider uppercase overflow-hidden text-ellipsis whitespace-nowrap" };
|
|
124801
124818
|
const _hoisted_5$1d = { class: "absolute left-[50%] top-[50%] translate-[-50%]" };
|
|
124802
124819
|
const _hoisted_6$12 = { class: "flex items-center gap-2" };
|
|
124803
124820
|
const _sfc_main$3T = /* @__PURE__ */ defineComponent({
|
|
@@ -125012,10 +125029,10 @@ const _sfc_main$3T = /* @__PURE__ */ defineComponent({
|
|
|
125012
125029
|
"onUpdate:value": _cache[8] || (_cache[8] = ($event) => emit("toggleAnnotationVisibility"))
|
|
125013
125030
|
}, {
|
|
125014
125031
|
checked: withCtx(() => [
|
|
125015
|
-
createElementVNode("span", _hoisted_3$
|
|
125032
|
+
createElementVNode("span", _hoisted_3$1N, toDisplayString(unref(t)("canvasUI.components.fileViewer.annotations.visibility.show")), 1)
|
|
125016
125033
|
]),
|
|
125017
125034
|
unchecked: withCtx(() => [
|
|
125018
|
-
createElementVNode("span", _hoisted_4$
|
|
125035
|
+
createElementVNode("span", _hoisted_4$1u, toDisplayString(unref(t)("canvasUI.components.fileViewer.annotations.visibility.hide")), 1)
|
|
125019
125036
|
]),
|
|
125020
125037
|
"checked-icon": withCtx(() => [
|
|
125021
125038
|
createVNode(CIcon, {
|
|
@@ -125158,8 +125175,8 @@ const _hoisted_2$2a = {
|
|
|
125158
125175
|
key: 0,
|
|
125159
125176
|
class: "flex-grow flex flex-col gap-1 mx-2 min-w-0 w-full leading-none"
|
|
125160
125177
|
};
|
|
125161
|
-
const _hoisted_3$
|
|
125162
|
-
const _hoisted_4$
|
|
125178
|
+
const _hoisted_3$1M = { class: "title text-ellipsis whitespace-nowrap font-700 overflow-hidden" };
|
|
125179
|
+
const _hoisted_4$1t = {
|
|
125163
125180
|
key: 0,
|
|
125164
125181
|
class: "text-ellipsis whitespace-nowrap color-text2 truncate font-size-[12px]"
|
|
125165
125182
|
};
|
|
@@ -125214,8 +125231,8 @@ const _sfc_main$3R = /* @__PURE__ */ defineComponent({
|
|
|
125214
125231
|
width: 60
|
|
125215
125232
|
}, null, 8, ["item"]),
|
|
125216
125233
|
!_ctx.selectedPageIndex ? (openBlock(), createElementBlock("div", _hoisted_2$2a, [
|
|
125217
|
-
createElementVNode("div", _hoisted_3$
|
|
125218
|
-
!_ctx.hideContentType ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
125234
|
+
createElementVNode("div", _hoisted_3$1M, toDisplayString(_ctx.file.name), 1),
|
|
125235
|
+
!_ctx.hideContentType ? (openBlock(), createElementBlock("div", _hoisted_4$1t, [
|
|
125219
125236
|
(openBlock(), createBlock(resolveDynamicComponent(unref(renderContentType)(_ctx.file.content_type)), { class: "color-primary3" }))
|
|
125220
125237
|
])) : createCommentVNode("", true)
|
|
125221
125238
|
])) : (openBlock(), createElementBlock("div", _hoisted_5$1c, [
|
|
@@ -125308,8 +125325,8 @@ function enforceHttps(url) {
|
|
|
125308
125325
|
|
|
125309
125326
|
const _hoisted_1$2_ = { key: 0 };
|
|
125310
125327
|
const _hoisted_2$29 = { class: "flex flex-col gap-4 mb-2" };
|
|
125311
|
-
const _hoisted_3$
|
|
125312
|
-
const _hoisted_4$
|
|
125328
|
+
const _hoisted_3$1L = { class: "font-bold font-size-[20px]" };
|
|
125329
|
+
const _hoisted_4$1s = { class: "flex flex-col gap-2" };
|
|
125313
125330
|
const _hoisted_5$1b = {
|
|
125314
125331
|
key: 0,
|
|
125315
125332
|
class: "flex flex-col gap-2"
|
|
@@ -125556,10 +125573,10 @@ const _sfc_main$3Q = /* @__PURE__ */ defineComponent({
|
|
|
125556
125573
|
createVNode(_sfc_main$60, { "max-height": 500 }, {
|
|
125557
125574
|
default: withCtx(() => [
|
|
125558
125575
|
createElementVNode("div", _hoisted_2$29, [
|
|
125559
|
-
createElementVNode("div", _hoisted_3$
|
|
125576
|
+
createElementVNode("div", _hoisted_3$1L, toDisplayString(unref(t)("canvasUI.components.fileViewer.linkAnnotation.title")), 1),
|
|
125560
125577
|
createElementVNode("div", null, toDisplayString(unref(t)("canvasUI.components.fileViewer.linkAnnotation.subtitle")), 1)
|
|
125561
125578
|
]),
|
|
125562
|
-
createElementVNode("div", _hoisted_4$
|
|
125579
|
+
createElementVNode("div", _hoisted_4$1s, [
|
|
125563
125580
|
createVNode(unref(NFormItem), {
|
|
125564
125581
|
"show-feedback": false,
|
|
125565
125582
|
"show-label": false
|
|
@@ -125695,8 +125712,8 @@ const _sfc_main$3Q = /* @__PURE__ */ defineComponent({
|
|
|
125695
125712
|
|
|
125696
125713
|
const _hoisted_1$2Z = { class: "flex flex-col gap-2" };
|
|
125697
125714
|
const _hoisted_2$28 = { class: "flex flex-col gap-1 mt-1" };
|
|
125698
|
-
const _hoisted_3$
|
|
125699
|
-
const _hoisted_4$
|
|
125715
|
+
const _hoisted_3$1K = { class: "flex gap-2" };
|
|
125716
|
+
const _hoisted_4$1r = { class: "flex items-center gap-2 color-text3" };
|
|
125700
125717
|
const _hoisted_5$1a = { class: "flex items-center gap-2 color-text3" };
|
|
125701
125718
|
const _sfc_main$3P = /* @__PURE__ */ defineComponent({
|
|
125702
125719
|
__name: "CFileViewerCopyPagesMetadata.pdf",
|
|
@@ -125810,7 +125827,7 @@ const _sfc_main$3P = /* @__PURE__ */ defineComponent({
|
|
|
125810
125827
|
range: "",
|
|
125811
125828
|
step: 1
|
|
125812
125829
|
}, null, 8, ["value", "disabled", "max"]),
|
|
125813
|
-
createElementVNode("div", _hoisted_3$
|
|
125830
|
+
createElementVNode("div", _hoisted_3$1K, [
|
|
125814
125831
|
createVNode(unref(NInputNumber), {
|
|
125815
125832
|
value: range.value[0],
|
|
125816
125833
|
"onUpdate:value": _cache[4] || (_cache[4] = ($event) => range.value[0] = $event),
|
|
@@ -125821,7 +125838,7 @@ const _sfc_main$3P = /* @__PURE__ */ defineComponent({
|
|
|
125821
125838
|
precision: 0
|
|
125822
125839
|
}, {
|
|
125823
125840
|
prefix: withCtx(() => [
|
|
125824
|
-
createElementVNode("div", _hoisted_4$
|
|
125841
|
+
createElementVNode("div", _hoisted_4$1r, [
|
|
125825
125842
|
createVNode(CIcon, {
|
|
125826
125843
|
icon: "page",
|
|
125827
125844
|
size: "16px"
|
|
@@ -125897,8 +125914,8 @@ const _sfc_main$3O = /* @__PURE__ */ defineComponent({
|
|
|
125897
125914
|
|
|
125898
125915
|
const _hoisted_1$2X = { class: "flex flex-col gap-1" };
|
|
125899
125916
|
const _hoisted_2$27 = { class: "flex gap-2" };
|
|
125900
|
-
const _hoisted_3$
|
|
125901
|
-
const _hoisted_4$
|
|
125917
|
+
const _hoisted_3$1J = { class: "font-size-3 color-text2" };
|
|
125918
|
+
const _hoisted_4$1q = {
|
|
125902
125919
|
key: 1,
|
|
125903
125920
|
class: "flex flex-col gap-4 h-full"
|
|
125904
125921
|
};
|
|
@@ -126142,7 +126159,7 @@ const _sfc_main$3N = /* @__PURE__ */ defineComponent({
|
|
|
126142
126159
|
key: 0,
|
|
126143
126160
|
class: "flex h-full"
|
|
126144
126161
|
})) : createCommentVNode("", true),
|
|
126145
|
-
!_ctx.isLoadingInstanceMetadataTemplate ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
126162
|
+
!_ctx.isLoadingInstanceMetadataTemplate ? (openBlock(), createElementBlock("div", _hoisted_4$1q, [
|
|
126146
126163
|
createElementVNode("div", _hoisted_5$19, toDisplayString(unref(t)("canvasUI.components.fileViewer.pageMetadata.form.pageSettings")), 1),
|
|
126147
126164
|
createVNode(unref(NForm), {
|
|
126148
126165
|
model: flatPagesInfoModel[currentPageIndex.value]
|
|
@@ -126255,7 +126272,7 @@ const _sfc_main$3N = /* @__PURE__ */ defineComponent({
|
|
|
126255
126272
|
_: 1
|
|
126256
126273
|
}, 8, ["disabled"])
|
|
126257
126274
|
]),
|
|
126258
|
-
createElementVNode("div", _hoisted_3$
|
|
126275
|
+
createElementVNode("div", _hoisted_3$1J, toDisplayString(unref(t)("canvasUI.components.fileViewer.pageMetadata.form.currentPageHelpText")), 1)
|
|
126259
126276
|
])
|
|
126260
126277
|
]),
|
|
126261
126278
|
key: "0"
|
|
@@ -126431,8 +126448,8 @@ const _hoisted_2$26 = {
|
|
|
126431
126448
|
key: 0,
|
|
126432
126449
|
class: "c-file-viewer-search-results-sidebar-header"
|
|
126433
126450
|
};
|
|
126434
|
-
const _hoisted_3$
|
|
126435
|
-
const _hoisted_4$
|
|
126451
|
+
const _hoisted_3$1I = { class: "c-file-viewer-search-results-sidebar__page" };
|
|
126452
|
+
const _hoisted_4$1p = ["onClick"];
|
|
126436
126453
|
const _sfc_main$3M = /* @__PURE__ */ defineComponent({
|
|
126437
126454
|
__name: "CFileViewerSearchResultsSidebar.pdf",
|
|
126438
126455
|
props: {
|
|
@@ -126483,7 +126500,7 @@ const _sfc_main$3M = /* @__PURE__ */ defineComponent({
|
|
|
126483
126500
|
])) : createCommentVNode("", true),
|
|
126484
126501
|
searchState.value && searchState.value.results ? (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(resultsGroupsByPage.value, (results, focusedResultIndex) => {
|
|
126485
126502
|
return openBlock(), createElementBlock("div", { key: focusedResultIndex }, [
|
|
126486
|
-
createElementVNode("div", _hoisted_3$
|
|
126503
|
+
createElementVNode("div", _hoisted_3$1I, [
|
|
126487
126504
|
createElementVNode("div", null, toDisplayString(unref(t)("canvasUI.components.fileViewer.sidebars.searchResults.page")), 1),
|
|
126488
126505
|
createElementVNode("div", null, toDisplayString(results[0].pageIndex + 1), 1)
|
|
126489
126506
|
]),
|
|
@@ -126497,7 +126514,7 @@ const _sfc_main$3M = /* @__PURE__ */ defineComponent({
|
|
|
126497
126514
|
key: 1,
|
|
126498
126515
|
style: { cursor: "pointer" },
|
|
126499
126516
|
onClick: ($event) => jumpToHighlightedText(result, result.totalResultIndex)
|
|
126500
|
-
}, 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$1p)),
|
|
126501
126518
|
createElementVNode("span", null, toDisplayString(result.previewText.substring(result.locationInPreview + searchState.value.term.length)), 1),
|
|
126502
126519
|
_cache[0] || (_cache[0] = createElementVNode("hr", { class: "c-file-viewer-search-results-sidebar__page-results-divider" }, null, -1))
|
|
126503
126520
|
]);
|
|
@@ -127589,11 +127606,11 @@ const _hoisted_2$25 = {
|
|
|
127589
127606
|
key: 2,
|
|
127590
127607
|
class: "c-file-viewer__content-status-container"
|
|
127591
127608
|
};
|
|
127592
|
-
const _hoisted_3$
|
|
127609
|
+
const _hoisted_3$1H = {
|
|
127593
127610
|
key: 2,
|
|
127594
127611
|
class: "w-full h-full flex justify-center items-center"
|
|
127595
127612
|
};
|
|
127596
|
-
const _hoisted_4$
|
|
127613
|
+
const _hoisted_4$1o = ["href"];
|
|
127597
127614
|
const _hoisted_5$18 = { class: "block w-full min-h-[125px] max-w-lg hover:opacity-75 focus:opacity-75 transition-opacity" };
|
|
127598
127615
|
const _hoisted_6$_ = {
|
|
127599
127616
|
key: 4,
|
|
@@ -128123,7 +128140,7 @@ const _sfc_main$3L = /* @__PURE__ */ defineComponent({
|
|
|
128123
128140
|
"fit-parent": "",
|
|
128124
128141
|
icon: "face-worried",
|
|
128125
128142
|
title: unref(t)("canvasUI.components.fileViewer.missingFileUrl.title")
|
|
128126
|
-
}, 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$1H, [
|
|
128127
128144
|
createElementVNode("a", {
|
|
128128
128145
|
href: _ctx.file.content_url,
|
|
128129
128146
|
rel: "ar"
|
|
@@ -128133,7 +128150,7 @@ const _sfc_main$3L = /* @__PURE__ */ defineComponent({
|
|
|
128133
128150
|
"object-fit": "cover",
|
|
128134
128151
|
src: _ctx.file.thumbnail_url
|
|
128135
128152
|
}, null, 8, ["src"])
|
|
128136
|
-
], 8, _hoisted_4$
|
|
128153
|
+
], 8, _hoisted_4$1o)
|
|
128137
128154
|
])) : fileType.value === "ar" ? (openBlock(), createBlock(_sfc_main$6J, {
|
|
128138
128155
|
key: 3,
|
|
128139
128156
|
description: unref(t)("canvasUI.components.fileViewer.arContentNotAvailable.description"),
|
|
@@ -128302,13 +128319,13 @@ const CDetailPageSectionButtons = /* @__PURE__ */ _export_sfc(_sfc_main$3K, [["_
|
|
|
128302
128319
|
|
|
128303
128320
|
const _hoisted_1$2T = { class: "c-global-loader" };
|
|
128304
128321
|
const _hoisted_2$24 = { class: "c-global-loader__container" };
|
|
128305
|
-
const _hoisted_3$
|
|
128322
|
+
const _hoisted_3$1G = {
|
|
128306
128323
|
class: "c-global-loader__shape",
|
|
128307
128324
|
preserveAspectRatio: "xMidYMid meet",
|
|
128308
128325
|
viewBox: "124 269.5 128 128",
|
|
128309
128326
|
xmlns: "http://www.w3.org/2000/svg"
|
|
128310
128327
|
};
|
|
128311
|
-
const _hoisted_4$
|
|
128328
|
+
const _hoisted_4$1n = {
|
|
128312
128329
|
opacity: "1",
|
|
128313
128330
|
transform: "matrix(1,0,0,1,187.5,333.5)"
|
|
128314
128331
|
};
|
|
@@ -128420,8 +128437,8 @@ const _sfc_main$3J = /* @__PURE__ */ defineComponent({
|
|
|
128420
128437
|
return (_ctx, _cache) => {
|
|
128421
128438
|
return openBlock(), createElementBlock("div", _hoisted_1$2T, [
|
|
128422
128439
|
createElementVNode("div", _hoisted_2$24, [
|
|
128423
|
-
(openBlock(), createElementBlock("svg", _hoisted_3$
|
|
128424
|
-
createElementVNode("g", _hoisted_4$
|
|
128440
|
+
(openBlock(), createElementBlock("svg", _hoisted_3$1G, [
|
|
128441
|
+
createElementVNode("g", _hoisted_4$1n, [
|
|
128425
128442
|
createElementVNode("g", _hoisted_5$17, [
|
|
128426
128443
|
createElementVNode("path", {
|
|
128427
128444
|
id: "path1",
|
|
@@ -128464,8 +128481,8 @@ const CGlobalLoader = /* @__PURE__ */ _export_sfc(_sfc_main$3J, [["__scopeId", "
|
|
|
128464
128481
|
|
|
128465
128482
|
const _hoisted_1$2S = { class: "flex flex-col gap-1" };
|
|
128466
128483
|
const _hoisted_2$23 = { class: "flex flex-wrap gap-1" };
|
|
128467
|
-
const _hoisted_3$
|
|
128468
|
-
const _hoisted_4$
|
|
128484
|
+
const _hoisted_3$1F = { class: "font-bold" };
|
|
128485
|
+
const _hoisted_4$1m = {
|
|
128469
128486
|
key: 0,
|
|
128470
128487
|
class: "flex flex-wrap gap-1"
|
|
128471
128488
|
};
|
|
@@ -128482,9 +128499,9 @@ const _sfc_main$3I = /* @__PURE__ */ defineComponent({
|
|
|
128482
128499
|
return openBlock(), createElementBlock("div", _hoisted_1$2S, [
|
|
128483
128500
|
createElementVNode("div", _hoisted_2$23, [
|
|
128484
128501
|
createElementVNode("div", null, toDisplayString(_ctx.texts.name), 1),
|
|
128485
|
-
createElementVNode("div", _hoisted_3$
|
|
128502
|
+
createElementVNode("div", _hoisted_3$1F, toDisplayString(_ctx.name), 1)
|
|
128486
128503
|
]),
|
|
128487
|
-
_ctx.texts.type ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
128504
|
+
_ctx.texts.type ? (openBlock(), createElementBlock("div", _hoisted_4$1m, [
|
|
128488
128505
|
createElementVNode("div", null, toDisplayString(_ctx.texts.type), 1),
|
|
128489
128506
|
createElementVNode("div", _hoisted_5$16, toDisplayString(_ctx.texts.file ?? _ctx.texts.folder), 1)
|
|
128490
128507
|
])) : createCommentVNode("", true),
|
|
@@ -128502,8 +128519,8 @@ const catalogIqSvgAdmin = "data:image/svg+xml,%3csvg%20width='36'%20height='36'%
|
|
|
128502
128519
|
|
|
128503
128520
|
const _hoisted_1$2R = { class: "p-4 c-catalog-iq-switcher-content min-w-[270px]" };
|
|
128504
128521
|
const _hoisted_2$22 = { class: "flex justify-between items-center" };
|
|
128505
|
-
const _hoisted_3$
|
|
128506
|
-
const _hoisted_4$
|
|
128522
|
+
const _hoisted_3$1E = { class: "text-center text-20px font-500 leading-32px tracking-[0.25px] ma-0" };
|
|
128523
|
+
const _hoisted_4$1l = { class: "flex flex-col mt-3" };
|
|
128507
128524
|
const _hoisted_5$15 = ["href"];
|
|
128508
128525
|
const _hoisted_6$X = { class: "flex items-center gap-2" };
|
|
128509
128526
|
const _hoisted_7$G = ["alt", "src"];
|
|
@@ -128535,9 +128552,9 @@ const _sfc_main$3H = /* @__PURE__ */ defineComponent({
|
|
|
128535
128552
|
return (_ctx, _cache) => {
|
|
128536
128553
|
return openBlock(), createElementBlock("div", _hoisted_1$2R, [
|
|
128537
128554
|
createElementVNode("div", _hoisted_2$22, [
|
|
128538
|
-
createElementVNode("div", _hoisted_3$
|
|
128555
|
+
createElementVNode("div", _hoisted_3$1E, toDisplayString(unref(t)("canvasUI.components.CCatalogIqSwitcherContent.switchTo")), 1)
|
|
128539
128556
|
]),
|
|
128540
|
-
createElementVNode("div", _hoisted_4$
|
|
128557
|
+
createElementVNode("div", _hoisted_4$1l, [
|
|
128541
128558
|
(openBlock(true), createElementBlock(Fragment, null, renderList(items.value, (item) => {
|
|
128542
128559
|
return openBlock(), createElementBlock("a", {
|
|
128543
128560
|
key: item.app,
|
|
@@ -128641,8 +128658,8 @@ const _hoisted_1$2Q = {
|
|
|
128641
128658
|
class: "relative overflow-hidden c-carousel flex flex-col gap-4"
|
|
128642
128659
|
};
|
|
128643
128660
|
const _hoisted_2$21 = { class: "c-carousel__dots flex items-center" };
|
|
128644
|
-
const _hoisted_3$
|
|
128645
|
-
const _hoisted_4$
|
|
128661
|
+
const _hoisted_3$1D = ["onClick"];
|
|
128662
|
+
const _hoisted_4$1k = { class: "c-carousel__arrow-group flex gap-2" };
|
|
128646
128663
|
const _sfc_main$3F = /* @__PURE__ */ defineComponent({
|
|
128647
128664
|
__name: "CCarousel",
|
|
128648
128665
|
props: {
|
|
@@ -128782,10 +128799,10 @@ const _sfc_main$3F = /* @__PURE__ */ defineComponent({
|
|
|
128782
128799
|
key: index,
|
|
128783
128800
|
class: normalizeClass(["h-2 w-2 c-carousel__dot", { "c-carousel__dot--active n-carousel__dot--active": currentSlideIndex.value === index }]),
|
|
128784
128801
|
onClick: ($event) => goToSlide(index)
|
|
128785
|
-
}, null, 10, _hoisted_3$
|
|
128802
|
+
}, null, 10, _hoisted_3$1D);
|
|
128786
128803
|
}), 128))
|
|
128787
128804
|
]),
|
|
128788
|
-
createElementVNode("div", _hoisted_4$
|
|
128805
|
+
createElementVNode("div", _hoisted_4$1k, [
|
|
128789
128806
|
createVNode(CIcon, {
|
|
128790
128807
|
class: "cursor-pointer rounded-2 pa-[6px] c-carousel__arrow",
|
|
128791
128808
|
icon: "angle-left",
|
|
@@ -128807,7 +128824,7 @@ const CCarousel = /* @__PURE__ */ _export_sfc(_sfc_main$3F, [["__scopeId", "data
|
|
|
128807
128824
|
|
|
128808
128825
|
const _hoisted_1$2P = { class: "c-slide-viewer w-full h-full relative overflow-hidden" };
|
|
128809
128826
|
const _hoisted_2$20 = { class: "flex flex-col items-center space-y-2" };
|
|
128810
|
-
const _hoisted_3$
|
|
128827
|
+
const _hoisted_3$1C = { class: "text-sm" };
|
|
128811
128828
|
const PDF_CACHE_TTL_MS = 10 * 60 * 1e3;
|
|
128812
128829
|
const _sfc_main$3E = /* @__PURE__ */ defineComponent({
|
|
128813
128830
|
__name: "CSlideViewer.pdfjs",
|
|
@@ -129085,7 +129102,7 @@ const _sfc_main$3E = /* @__PURE__ */ defineComponent({
|
|
|
129085
129102
|
icon: "file-image",
|
|
129086
129103
|
size: "48"
|
|
129087
129104
|
}, null, 8, ["color"]),
|
|
129088
|
-
createElementVNode("span", _hoisted_3$
|
|
129105
|
+
createElementVNode("span", _hoisted_3$1C, toDisplayString(unref(t)("canvasUI.CSlideViewer.noPdfAvailable")), 1)
|
|
129089
129106
|
])
|
|
129090
129107
|
], 4)) : (openBlock(), createElementBlock("div", {
|
|
129091
129108
|
key: 2,
|
|
@@ -129108,8 +129125,8 @@ const _sfc_main$3E = /* @__PURE__ */ defineComponent({
|
|
|
129108
129125
|
|
|
129109
129126
|
const _hoisted_1$2O = { class: "w-full h-full overflow-hidden relative" };
|
|
129110
129127
|
const _hoisted_2$1$ = { class: "flex flex-col items-center space-y-2" };
|
|
129111
|
-
const _hoisted_3$
|
|
129112
|
-
const _hoisted_4$
|
|
129128
|
+
const _hoisted_3$1B = { class: "text-sm" };
|
|
129129
|
+
const _hoisted_4$1j = ["src"];
|
|
129113
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";
|
|
129114
129131
|
const _sfc_main$3D = /* @__PURE__ */ defineComponent({
|
|
129115
129132
|
__name: "CSlideViewer.pspdfkit",
|
|
@@ -129312,7 +129329,7 @@ const _sfc_main$3D = /* @__PURE__ */ defineComponent({
|
|
|
129312
129329
|
icon: "file-image",
|
|
129313
129330
|
size: "48"
|
|
129314
129331
|
}, null, 8, ["color"]),
|
|
129315
|
-
createElementVNode("span", _hoisted_3$
|
|
129332
|
+
createElementVNode("span", _hoisted_3$1B, toDisplayString(unref(t)("canvasUI.CSlideViewer.noPdfAvailable")), 1)
|
|
129316
129333
|
])
|
|
129317
129334
|
], 4)) : error.value ? (openBlock(), createElementBlock("div", {
|
|
129318
129335
|
key: 1,
|
|
@@ -129327,7 +129344,7 @@ const _sfc_main$3D = /* @__PURE__ */ defineComponent({
|
|
|
129327
129344
|
src: iframeUrl.value,
|
|
129328
129345
|
style: normalizeStyle(containerStyle.value),
|
|
129329
129346
|
onLoad: onIframeLoad
|
|
129330
|
-
}, null, 44, _hoisted_4$
|
|
129347
|
+
}, null, 44, _hoisted_4$1j)) : createCommentVNode("", true)
|
|
129331
129348
|
]);
|
|
129332
129349
|
};
|
|
129333
129350
|
}
|
|
@@ -129538,8 +129555,8 @@ const _hoisted_2$1_ = {
|
|
|
129538
129555
|
key: 0,
|
|
129539
129556
|
class: "flex gap-3 pa-5"
|
|
129540
129557
|
};
|
|
129541
|
-
const _hoisted_3$
|
|
129542
|
-
const _hoisted_4$
|
|
129558
|
+
const _hoisted_3$1A = { class: "flex flex-col gap-1" };
|
|
129559
|
+
const _hoisted_4$1i = { class: "tracking-wide leading-none text-base" };
|
|
129543
129560
|
const _hoisted_5$14 = { class: "tracking-wide leading-none text-sm" };
|
|
129544
129561
|
const _hoisted_6$W = { class: "flex flex-col gap-2 pa-3" };
|
|
129545
129562
|
const _hoisted_7$F = ["onClick"];
|
|
@@ -129598,8 +129615,8 @@ const _sfc_main$3z = /* @__PURE__ */ defineComponent({
|
|
|
129598
129615
|
lastName: _ctx.user.last_name,
|
|
129599
129616
|
picture: _ctx.user.picture
|
|
129600
129617
|
}, null, 8, ["email", "firstName", "lastName", "picture"]),
|
|
129601
|
-
createElementVNode("div", _hoisted_3$
|
|
129602
|
-
createElementVNode("span", _hoisted_4$
|
|
129618
|
+
createElementVNode("div", _hoisted_3$1A, [
|
|
129619
|
+
createElementVNode("span", _hoisted_4$1i, toDisplayString(`${_ctx.user.first_name} ${_ctx.user.last_name}`), 1),
|
|
129603
129620
|
createElementVNode("span", _hoisted_5$14, toDisplayString(_ctx.user.email), 1),
|
|
129604
129621
|
unref(isNonMemberRole)(_ctx.userRole) ? (openBlock(), createBlock(_sfc_main$4U, {
|
|
129605
129622
|
key: 0,
|
|
@@ -130346,8 +130363,8 @@ const ContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$3w, [["__scopeId", "da
|
|
|
130346
130363
|
|
|
130347
130364
|
const _hoisted_1$2K = { class: "basic-info w-full" };
|
|
130348
130365
|
const _hoisted_2$1Y = { class: "flex justify-center mb-2 text-[16px] leading-[24px] tracking-[0.5px]" };
|
|
130349
|
-
const _hoisted_3$
|
|
130350
|
-
const _hoisted_4$
|
|
130366
|
+
const _hoisted_3$1z = { class: "truncate font-500 text-center" };
|
|
130367
|
+
const _hoisted_4$1h = {
|
|
130351
130368
|
key: 0,
|
|
130352
130369
|
class: "flex w-full h-full"
|
|
130353
130370
|
};
|
|
@@ -130365,9 +130382,9 @@ const _sfc_main$3v = /* @__PURE__ */ defineComponent({
|
|
|
130365
130382
|
return (_ctx, _cache) => {
|
|
130366
130383
|
return openBlock(), createElementBlock("div", _hoisted_1$2K, [
|
|
130367
130384
|
createElementVNode("div", _hoisted_2$1Y, [
|
|
130368
|
-
createElementVNode("div", _hoisted_3$
|
|
130385
|
+
createElementVNode("div", _hoisted_3$1z, toDisplayString(file.value?.name), 1)
|
|
130369
130386
|
]),
|
|
130370
|
-
file.value ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
130387
|
+
file.value ? (openBlock(), createElementBlock("div", _hoisted_4$1h, [
|
|
130371
130388
|
createElementVNode("div", _hoisted_5$13, [
|
|
130372
130389
|
createVNode(_sfc_main$6G, {
|
|
130373
130390
|
height: "auto",
|
|
@@ -130413,8 +130430,8 @@ const _hoisted_2$1X = {
|
|
|
130413
130430
|
key: 1,
|
|
130414
130431
|
class: "c-rating-feedback flex flex-col gap-2"
|
|
130415
130432
|
};
|
|
130416
|
-
const _hoisted_3$
|
|
130417
|
-
const _hoisted_4$
|
|
130433
|
+
const _hoisted_3$1y = { class: "rating" };
|
|
130434
|
+
const _hoisted_4$1g = { class: "w-full font-600 ma-0" };
|
|
130418
130435
|
const _hoisted_5$12 = { class: "comment" };
|
|
130419
130436
|
const _hoisted_6$U = { class: "w-full font-600 ma-0" };
|
|
130420
130437
|
const _hoisted_7$E = { class: "flex justify-start gap-2" };
|
|
@@ -130462,8 +130479,8 @@ const _sfc_main$3t = /* @__PURE__ */ defineComponent({
|
|
|
130462
130479
|
}),
|
|
130463
130480
|
createElementVNode("span", null, toDisplayString(unref(t)("canvasUI.components.CRatingFeedback.feedbackMessage")), 1)
|
|
130464
130481
|
])) : (openBlock(), createElementBlock("div", _hoisted_2$1X, [
|
|
130465
|
-
createElementVNode("div", _hoisted_3$
|
|
130466
|
-
createElementVNode("p", _hoisted_4$
|
|
130482
|
+
createElementVNode("div", _hoisted_3$1y, [
|
|
130483
|
+
createElementVNode("p", _hoisted_4$1g, toDisplayString(unref(t)("canvasUI.components.CRatingFeedback.rating")), 1),
|
|
130467
130484
|
createVNode(_sfc_main$3u, {
|
|
130468
130485
|
clearable: "",
|
|
130469
130486
|
color: unref(themeVars).warning,
|
|
@@ -130576,8 +130593,8 @@ const getNumberWithRegex = (string) => {
|
|
|
130576
130593
|
|
|
130577
130594
|
const _hoisted_1$2I = { class: "details w-full" };
|
|
130578
130595
|
const _hoisted_2$1W = { class: "flex mb-[10px] mt-[34px] font-600" };
|
|
130579
|
-
const _hoisted_3$
|
|
130580
|
-
const _hoisted_4$
|
|
130596
|
+
const _hoisted_3$1x = { class: "flex gap-8 lg:gap-16" };
|
|
130597
|
+
const _hoisted_4$1f = { class: "flex flex-col gap-4" };
|
|
130581
130598
|
const _hoisted_5$11 = { class: "flex flex-col gap-2" };
|
|
130582
130599
|
const _hoisted_6$T = { class: "title" };
|
|
130583
130600
|
const _hoisted_7$D = { class: "flex flex-col gap-2" };
|
|
@@ -130700,8 +130717,8 @@ const _sfc_main$3s = /* @__PURE__ */ defineComponent({
|
|
|
130700
130717
|
createElementVNode("div", _hoisted_2$1W, [
|
|
130701
130718
|
createElementVNode("div", null, toDisplayString(unref(t)("canvasUI.browserApp.fileSelectionInfo.sections.details.title")), 1)
|
|
130702
130719
|
]),
|
|
130703
|
-
createElementVNode("div", _hoisted_3$
|
|
130704
|
-
createElementVNode("div", _hoisted_4$
|
|
130720
|
+
createElementVNode("div", _hoisted_3$1x, [
|
|
130721
|
+
createElementVNode("div", _hoisted_4$1f, [
|
|
130705
130722
|
createElementVNode("div", _hoisted_5$11, [
|
|
130706
130723
|
createElementVNode("div", _hoisted_6$T, toDisplayString(unref(t)("canvasUI.browserApp.fileSelectionInfo.sections.details.owner")), 1),
|
|
130707
130724
|
createElementVNode("div", null, toDisplayString(file.value?.created_by.name), 1)
|
|
@@ -130768,8 +130785,8 @@ const _hoisted_1$2H = {
|
|
|
130768
130785
|
class: "details w-full"
|
|
130769
130786
|
};
|
|
130770
130787
|
const _hoisted_2$1V = { class: "flex mb-[10px] mt-[34px] font-600" };
|
|
130771
|
-
const _hoisted_3$
|
|
130772
|
-
const _hoisted_4$
|
|
130788
|
+
const _hoisted_3$1w = { class: "flex flex-wrap" };
|
|
130789
|
+
const _hoisted_4$1e = { class: "title" };
|
|
130773
130790
|
const _sfc_main$3r = /* @__PURE__ */ defineComponent({
|
|
130774
130791
|
__name: "Metadata",
|
|
130775
130792
|
setup(__props) {
|
|
@@ -130828,13 +130845,13 @@ const _sfc_main$3r = /* @__PURE__ */ defineComponent({
|
|
|
130828
130845
|
createElementVNode("div", _hoisted_2$1V, [
|
|
130829
130846
|
createElementVNode("div", null, toDisplayString(unref(t)("canvasUI.browserApp.fileSelectionInfo.sections.details.metadata")), 1)
|
|
130830
130847
|
]),
|
|
130831
|
-
createElementVNode("div", _hoisted_3$
|
|
130848
|
+
createElementVNode("div", _hoisted_3$1w, [
|
|
130832
130849
|
(openBlock(true), createElementBlock(Fragment, null, renderList(fileMetadata.value, (item, index) => {
|
|
130833
130850
|
return openBlock(), createElementBlock("div", {
|
|
130834
130851
|
key: index,
|
|
130835
130852
|
class: "flex flex-col gap-2 metadata-field mb-4"
|
|
130836
130853
|
}, [
|
|
130837
|
-
createElementVNode("div", _hoisted_4$
|
|
130854
|
+
createElementVNode("div", _hoisted_4$1e, toDisplayString(item.label), 1),
|
|
130838
130855
|
createElementVNode("div", null, toDisplayString(item.value), 1)
|
|
130839
130856
|
]);
|
|
130840
130857
|
}), 128))
|
|
@@ -130851,8 +130868,8 @@ const _hoisted_2$1U = {
|
|
|
130851
130868
|
key: 0,
|
|
130852
130869
|
class: "flex mb-[10px] mt-[34px] font-600"
|
|
130853
130870
|
};
|
|
130854
|
-
const _hoisted_3$
|
|
130855
|
-
const _hoisted_4$
|
|
130871
|
+
const _hoisted_3$1v = { class: "flex flex-wrap center-items gap-1" };
|
|
130872
|
+
const _hoisted_4$1d = {
|
|
130856
130873
|
key: 0,
|
|
130857
130874
|
class: "ml-2"
|
|
130858
130875
|
};
|
|
@@ -130887,7 +130904,7 @@ const _sfc_main$3q = /* @__PURE__ */ defineComponent({
|
|
|
130887
130904
|
_ctx.showLabel ? (openBlock(), createElementBlock("div", _hoisted_2$1U, [
|
|
130888
130905
|
createElementVNode("div", null, toDisplayString(unref(t)("canvasUI.browserApp.fileSelectionInfo.sections.tags.title")), 1)
|
|
130889
130906
|
])) : createCommentVNode("", true),
|
|
130890
|
-
createElementVNode("div", _hoisted_3$
|
|
130907
|
+
createElementVNode("div", _hoisted_3$1v, [
|
|
130891
130908
|
(openBlock(true), createElementBlock(Fragment, null, renderList(tagsToRender.value, (tag, index) => {
|
|
130892
130909
|
return openBlock(), createBlock(_sfc_main$6D, {
|
|
130893
130910
|
key: index,
|
|
@@ -130900,7 +130917,7 @@ const _sfc_main$3q = /* @__PURE__ */ defineComponent({
|
|
|
130900
130917
|
_: 2
|
|
130901
130918
|
}, 1024);
|
|
130902
130919
|
}), 128)),
|
|
130903
|
-
(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$1d, toDisplayString(unref(t)(
|
|
130904
130921
|
"canvasUI.browserApp.fileSelectionInfo.sections.tags.andMoreTags",
|
|
130905
130922
|
(file.value?.tags?.length ?? 0) - _ctx.maxTagsToRender
|
|
130906
130923
|
)), 1)) : createCommentVNode("", true),
|
|
@@ -130940,11 +130957,11 @@ const _hoisted_1$2E = {
|
|
|
130940
130957
|
class: "file-access-management w-full"
|
|
130941
130958
|
};
|
|
130942
130959
|
const _hoisted_2$1T = { class: "flex justify-between items-center mb-[10px] mt-[34px] font-600" };
|
|
130943
|
-
const _hoisted_3$
|
|
130960
|
+
const _hoisted_3$1u = {
|
|
130944
130961
|
key: 0,
|
|
130945
130962
|
class: "flex justify-center py-4"
|
|
130946
130963
|
};
|
|
130947
|
-
const _hoisted_4$
|
|
130964
|
+
const _hoisted_4$1c = {
|
|
130948
130965
|
key: 1,
|
|
130949
130966
|
class: "flex flex-col gap-4"
|
|
130950
130967
|
};
|
|
@@ -131115,9 +131132,9 @@ const _sfc_main$3o = /* @__PURE__ */ defineComponent({
|
|
|
131115
131132
|
_: 1
|
|
131116
131133
|
})) : createCommentVNode("", true)
|
|
131117
131134
|
]),
|
|
131118
|
-
isLoading.value ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
131135
|
+
isLoading.value ? (openBlock(), createElementBlock("div", _hoisted_3$1u, [
|
|
131119
131136
|
createVNode(_sfc_main$6o)
|
|
131120
|
-
])) : isEditing.value ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
131137
|
+
])) : isEditing.value ? (openBlock(), createElementBlock("div", _hoisted_4$1c, [
|
|
131121
131138
|
allowUsersInDistribution.value ? (openBlock(), createBlock(CUsersGroupsAccessManage, {
|
|
131122
131139
|
key: 0,
|
|
131123
131140
|
items: usersCollaborations.value,
|
|
@@ -131235,8 +131252,8 @@ const _hoisted_1$2D = {
|
|
|
131235
131252
|
class: "flex gap-2 pb-4 uppercase tracking-wider"
|
|
131236
131253
|
};
|
|
131237
131254
|
const _hoisted_2$1S = { class: "flex items-center justify-between pa-4 gap-4" };
|
|
131238
|
-
const _hoisted_3$
|
|
131239
|
-
const _hoisted_4$
|
|
131255
|
+
const _hoisted_3$1t = { class: "text-sm" };
|
|
131256
|
+
const _hoisted_4$1b = { class: "flex items-center grow-0 basis-50" };
|
|
131240
131257
|
const _hoisted_5$_ = { class: "text-sm whitespace-nowrap" };
|
|
131241
131258
|
const _sfc_main$3n = /* @__PURE__ */ defineComponent({
|
|
131242
131259
|
__name: "AddComponentModal",
|
|
@@ -131725,8 +131742,8 @@ const _sfc_main$3n = /* @__PURE__ */ defineComponent({
|
|
|
131725
131742
|
])) : createCommentVNode("", true)
|
|
131726
131743
|
], 4),
|
|
131727
131744
|
createElementVNode("div", _hoisted_2$1S, [
|
|
131728
|
-
createElementVNode("span", _hoisted_3$
|
|
131729
|
-
createElementVNode("div", _hoisted_4$
|
|
131745
|
+
createElementVNode("span", _hoisted_3$1t, toDisplayString(unref(t)("canvasUI.canvasBuilder.components.name")) + " (" + toDisplayString(selections.value?.length) + ")", 1),
|
|
131746
|
+
createElementVNode("div", _hoisted_4$1b, [
|
|
131730
131747
|
createElementVNode("span", _hoisted_5$_, toDisplayString(unref(t)("canvasUI.canvasBuilder.components.sortBy")) + ":", 1),
|
|
131731
131748
|
createVNode(CSelect, {
|
|
131732
131749
|
class: "select-none",
|
|
@@ -132020,8 +132037,8 @@ const _hoisted_2$1R = {
|
|
|
132020
132037
|
key: 0,
|
|
132021
132038
|
class: "mt-4"
|
|
132022
132039
|
};
|
|
132023
|
-
const _hoisted_3$
|
|
132024
|
-
const _hoisted_4$
|
|
132040
|
+
const _hoisted_3$1s = { key: 0 };
|
|
132041
|
+
const _hoisted_4$1a = ["title"];
|
|
132025
132042
|
const _hoisted_5$Z = ["title"];
|
|
132026
132043
|
const _hoisted_6$R = {
|
|
132027
132044
|
key: 3,
|
|
@@ -132578,13 +132595,13 @@ const _sfc_main$3m = /* @__PURE__ */ defineComponent({
|
|
|
132578
132595
|
item: n
|
|
132579
132596
|
}, {
|
|
132580
132597
|
default: withCtx(() => [
|
|
132581
|
-
n ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
132598
|
+
n ? (openBlock(), createElementBlock("div", _hoisted_3$1s, [
|
|
132582
132599
|
n.renderExtra?.type === "heading" || n.renderExtra?.type === "both" ? (openBlock(), createElementBlock("div", {
|
|
132583
132600
|
key: 0,
|
|
132584
132601
|
class: "h-7 pt-3 text-xs tracking-wide uppercase relative top-2 left-1 text-truncate",
|
|
132585
132602
|
style: normalizeStyle({ color: unref(themeVars).primary3 }),
|
|
132586
132603
|
title: n.renderExtra?.name
|
|
132587
|
-
}, toDisplayString(n.renderExtra?.name), 13, _hoisted_4$
|
|
132604
|
+
}, toDisplayString(n.renderExtra?.name), 13, _hoisted_4$1a)) : createCommentVNode("", true),
|
|
132588
132605
|
n.type === "PageBreak" ? (openBlock(), createElementBlock("div", {
|
|
132589
132606
|
key: 1,
|
|
132590
132607
|
class: "min-h-7 pt-3 text-xs tracking-wide uppercase left-1 top-2 overflow-visible",
|
|
@@ -132675,8 +132692,8 @@ const NavigatorPresentation = /* @__PURE__ */ _export_sfc(_sfc_main$3m, [["__sco
|
|
|
132675
132692
|
|
|
132676
132693
|
const _hoisted_1$2B = { class: "cb-navigator h-full w-[250px]" };
|
|
132677
132694
|
const _hoisted_2$1Q = { class: "cb-navigator__content h-full px-4 pb-4 pt-8 overflow-hidden" };
|
|
132678
|
-
const _hoisted_3$
|
|
132679
|
-
const _hoisted_4$
|
|
132695
|
+
const _hoisted_3$1r = { class: "top pr-1" };
|
|
132696
|
+
const _hoisted_4$19 = { class: "flex items-center justify-between" };
|
|
132680
132697
|
const _hoisted_5$Y = { class: "title" };
|
|
132681
132698
|
const _hoisted_6$Q = { class: "mt-4" };
|
|
132682
132699
|
const TOC_MODE_STORAGE_KEY = "canvas_builder_toc_mode_preference";
|
|
@@ -132708,8 +132725,8 @@ const _sfc_main$3l = /* @__PURE__ */ defineComponent({
|
|
|
132708
132725
|
return (_ctx, _cache) => {
|
|
132709
132726
|
return openBlock(), createElementBlock("div", _hoisted_1$2B, [
|
|
132710
132727
|
createElementVNode("div", _hoisted_2$1Q, [
|
|
132711
|
-
createElementVNode("div", _hoisted_3$
|
|
132712
|
-
createElementVNode("div", _hoisted_4$
|
|
132728
|
+
createElementVNode("div", _hoisted_3$1r, [
|
|
132729
|
+
createElementVNode("div", _hoisted_4$19, [
|
|
132713
132730
|
createElementVNode("div", _hoisted_5$Y, toDisplayString(unref(t)("canvasUI.canvasBuilder.navigator.navigation")), 1),
|
|
132714
132731
|
createVNode(CButton, { onClick: handleModeToggle }, {
|
|
132715
132732
|
icon: withCtx(() => [
|
|
@@ -132975,8 +132992,8 @@ const _hoisted_1$2z = {
|
|
|
132975
132992
|
class: "search-container pa-2"
|
|
132976
132993
|
};
|
|
132977
132994
|
const _hoisted_2$1P = ["onClick"];
|
|
132978
|
-
const _hoisted_3$
|
|
132979
|
-
const _hoisted_4$
|
|
132995
|
+
const _hoisted_3$1q = { 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$18 = { class: "text-xs text-center font-medium line-clamp-2" };
|
|
132980
132997
|
const _hoisted_5$X = {
|
|
132981
132998
|
key: 1,
|
|
132982
132999
|
class: "flex items-center justify-center h-full"
|
|
@@ -133059,7 +133076,7 @@ const _sfc_main$3j = /* @__PURE__ */ defineComponent({
|
|
|
133059
133076
|
class: "flex flex-col items-center justify-start cursor-pointer hover:bg-primary5/20 rounded-1 transition-all",
|
|
133060
133077
|
onClick: ($event) => emit("click", app)
|
|
133061
133078
|
}, [
|
|
133062
|
-
createElementVNode("div", _hoisted_3$
|
|
133079
|
+
createElementVNode("div", _hoisted_3$1q, [
|
|
133063
133080
|
createVNode(CIcon, {
|
|
133064
133081
|
class: "max-w-full max-h-full w-auto h-auto object-contain",
|
|
133065
133082
|
color: unref(themeVars).primary,
|
|
@@ -133068,7 +133085,7 @@ const _sfc_main$3j = /* @__PURE__ */ defineComponent({
|
|
|
133068
133085
|
size: "20"
|
|
133069
133086
|
}, null, 8, ["color", "fa-type", "icon"])
|
|
133070
133087
|
]),
|
|
133071
|
-
withDirectives((openBlock(), createElementBlock("span", _hoisted_4$
|
|
133088
|
+
withDirectives((openBlock(), createElementBlock("span", _hoisted_4$18, [
|
|
133072
133089
|
createTextVNode(toDisplayString(app.app_metadata?.display_name || app.app_metadata?.name), 1)
|
|
133073
133090
|
])), [
|
|
133074
133091
|
[unref(vTooltip), app.app_metadata?.display_name || app.app_metadata?.name]
|
|
@@ -133441,11 +133458,11 @@ const _hoisted_1$2y = {
|
|
|
133441
133458
|
class: "fixed top-2 left-2 bottom-20 z-11"
|
|
133442
133459
|
};
|
|
133443
133460
|
const _hoisted_2$1O = { class: "flex-1 flex justify-start" };
|
|
133444
|
-
const _hoisted_3$
|
|
133461
|
+
const _hoisted_3$1p = {
|
|
133445
133462
|
key: 0,
|
|
133446
133463
|
class: "flex-1 gap-2 flex justify-center"
|
|
133447
133464
|
};
|
|
133448
|
-
const _hoisted_4$
|
|
133465
|
+
const _hoisted_4$17 = { class: "flex-1 flex justify-end" };
|
|
133449
133466
|
const _sfc_main$3g = /* @__PURE__ */ defineComponent({
|
|
133450
133467
|
...{
|
|
133451
133468
|
inheritAttrs: false
|
|
@@ -133527,7 +133544,7 @@ const _sfc_main$3g = /* @__PURE__ */ defineComponent({
|
|
|
133527
133544
|
[_directive_tooltip, unref(t)("canvasUI.canvasBuilder.components.previousPage")]
|
|
133528
133545
|
]) : createCommentVNode("", true)
|
|
133529
133546
|
]),
|
|
133530
|
-
!unref(isCanvasPreviewMode) ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
133547
|
+
!unref(isCanvasPreviewMode) ? (openBlock(), createElementBlock("div", _hoisted_3$1p, [
|
|
133531
133548
|
unref(activeMode) !== unref(CanvasBuilderMode).SHARING ? withDirectives((openBlock(), createBlock(CButton, {
|
|
133532
133549
|
key: 0,
|
|
133533
133550
|
circle: "",
|
|
@@ -133651,7 +133668,7 @@ const _sfc_main$3g = /* @__PURE__ */ defineComponent({
|
|
|
133651
133668
|
placement: "top"
|
|
133652
133669
|
})
|
|
133653
133670
|
])) : createCommentVNode("", true),
|
|
133654
|
-
createElementVNode("div", _hoisted_4$
|
|
133671
|
+
createElementVNode("div", _hoisted_4$17, [
|
|
133655
133672
|
showPageButtons.value && !unref(isLastPage) ? withDirectives((openBlock(), createBlock(CButton, {
|
|
133656
133673
|
key: 0,
|
|
133657
133674
|
class: "h-14 w-11",
|
|
@@ -133857,11 +133874,11 @@ const _hoisted_2$1N = {
|
|
|
133857
133874
|
key: 0,
|
|
133858
133875
|
class: "flex flex-col gap-2"
|
|
133859
133876
|
};
|
|
133860
|
-
const _hoisted_3$
|
|
133877
|
+
const _hoisted_3$1o = {
|
|
133861
133878
|
key: 0,
|
|
133862
133879
|
class: "flex flex-col gap-2"
|
|
133863
133880
|
};
|
|
133864
|
-
const _hoisted_4$
|
|
133881
|
+
const _hoisted_4$16 = {
|
|
133865
133882
|
key: 1,
|
|
133866
133883
|
class: "flex flex-col gap-2"
|
|
133867
133884
|
};
|
|
@@ -133968,7 +133985,7 @@ const _sfc_main$3e = /* @__PURE__ */ defineComponent({
|
|
|
133968
133985
|
}, null, 8, ["file"])
|
|
133969
133986
|
])) : createCommentVNode("", true),
|
|
133970
133987
|
_ctx.backgroundImage ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
133971
|
-
!_ctx.hideBackgroundSize ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
133988
|
+
!_ctx.hideBackgroundSize ? (openBlock(), createElementBlock("div", _hoisted_3$1o, [
|
|
133972
133989
|
createElementVNode("span", {
|
|
133973
133990
|
class: "inline-block leading-5 text-base font-normal",
|
|
133974
133991
|
style: normalizeStyle({ color: unref(themeVars).text })
|
|
@@ -133981,7 +133998,7 @@ const _sfc_main$3e = /* @__PURE__ */ defineComponent({
|
|
|
133981
133998
|
"onUpdate:value": _cache[2] || (_cache[2] = (v) => updateBackgroundProperty("backgroundSize", v))
|
|
133982
133999
|
}, null, 8, ["options", "value"])
|
|
133983
134000
|
])) : createCommentVNode("", true),
|
|
133984
|
-
showBackgroundPositionX.value ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
134001
|
+
showBackgroundPositionX.value ? (openBlock(), createElementBlock("div", _hoisted_4$16, [
|
|
133985
134002
|
createElementVNode("span", {
|
|
133986
134003
|
class: "inline-block leading-5 text-base font-normal",
|
|
133987
134004
|
style: normalizeStyle({ color: unref(themeVars).text })
|
|
@@ -134151,8 +134168,8 @@ const _hoisted_2$1L = {
|
|
|
134151
134168
|
key: 0,
|
|
134152
134169
|
class: "flex flex-col gap-2"
|
|
134153
134170
|
};
|
|
134154
|
-
const _hoisted_3$
|
|
134155
|
-
const _hoisted_4$
|
|
134171
|
+
const _hoisted_3$1n = { class: "flex gap-1" };
|
|
134172
|
+
const _hoisted_4$15 = { class: "basis-1/2" };
|
|
134156
134173
|
const _hoisted_5$V = { class: "basis-1/2" };
|
|
134157
134174
|
const _hoisted_6$N = { class: "flex gap-1" };
|
|
134158
134175
|
const _hoisted_7$A = { class: "basis-1/2" };
|
|
@@ -134205,8 +134222,8 @@ const _sfc_main$3c = /* @__PURE__ */ defineComponent({
|
|
|
134205
134222
|
return (_ctx, _cache) => {
|
|
134206
134223
|
return openBlock(), createElementBlock("div", _hoisted_1$2u, [
|
|
134207
134224
|
isAdvancedMode.value ? (openBlock(), createElementBlock("div", _hoisted_2$1L, [
|
|
134208
|
-
createElementVNode("div", _hoisted_3$
|
|
134209
|
-
createElementVNode("div", _hoisted_4$
|
|
134225
|
+
createElementVNode("div", _hoisted_3$1n, [
|
|
134226
|
+
createElementVNode("div", _hoisted_4$15, [
|
|
134210
134227
|
createElementVNode("span", null, toDisplayString(unref(t)("canvasUI.canvasBuilder.canvasDrawerTheme.padding.top")), 1),
|
|
134211
134228
|
createVNode(unref(NInputNumber), {
|
|
134212
134229
|
value: values.top,
|
|
@@ -134284,7 +134301,7 @@ const _sfc_main$3c = /* @__PURE__ */ defineComponent({
|
|
|
134284
134301
|
|
|
134285
134302
|
const _hoisted_1$2t = { class: "c-swatch-selector w-full" };
|
|
134286
134303
|
const _hoisted_2$1K = { class: "flex flex-wrap gap-2 p-2" };
|
|
134287
|
-
const _hoisted_3$
|
|
134304
|
+
const _hoisted_3$1m = ["onClick"];
|
|
134288
134305
|
const _sfc_main$3b = /* @__PURE__ */ defineComponent({
|
|
134289
134306
|
__name: "CSwatchSelector",
|
|
134290
134307
|
props: {
|
|
@@ -134338,7 +134355,7 @@ const _sfc_main$3b = /* @__PURE__ */ defineComponent({
|
|
|
134338
134355
|
class: "w-6 h-6 ma-1 rounded-1",
|
|
134339
134356
|
style: normalizeStyle({ backgroundColor: color })
|
|
134340
134357
|
}, null, 4)
|
|
134341
|
-
], 10, _hoisted_3$
|
|
134358
|
+
], 10, _hoisted_3$1m);
|
|
134342
134359
|
}), 128)),
|
|
134343
134360
|
_ctx.includeTransparent ? (openBlock(), createElementBlock("div", {
|
|
134344
134361
|
key: 0,
|
|
@@ -134368,8 +134385,8 @@ const _hoisted_2$1J = {
|
|
|
134368
134385
|
key: 0,
|
|
134369
134386
|
class: "flex flex-col gap-2"
|
|
134370
134387
|
};
|
|
134371
|
-
const _hoisted_3$
|
|
134372
|
-
const _hoisted_4$
|
|
134388
|
+
const _hoisted_3$1l = { class: "flex gap-1" };
|
|
134389
|
+
const _hoisted_4$14 = { class: "basis-1/2" };
|
|
134373
134390
|
const _hoisted_5$U = { class: "basis-1/2" };
|
|
134374
134391
|
const _hoisted_6$M = { class: "flex gap-1" };
|
|
134375
134392
|
const _hoisted_7$z = { class: "basis-1/2" };
|
|
@@ -134422,8 +134439,8 @@ const _sfc_main$3a = /* @__PURE__ */ defineComponent({
|
|
|
134422
134439
|
return (_ctx, _cache) => {
|
|
134423
134440
|
return openBlock(), createElementBlock("div", _hoisted_1$2s, [
|
|
134424
134441
|
isAdvancedMode.value ? (openBlock(), createElementBlock("div", _hoisted_2$1J, [
|
|
134425
|
-
createElementVNode("div", _hoisted_3$
|
|
134426
|
-
createElementVNode("div", _hoisted_4$
|
|
134442
|
+
createElementVNode("div", _hoisted_3$1l, [
|
|
134443
|
+
createElementVNode("div", _hoisted_4$14, [
|
|
134427
134444
|
createElementVNode("span", null, toDisplayString(unref(t)("canvasUI.canvasBuilder.canvasDrawerTheme.borderRadius.topLeft")), 1),
|
|
134428
134445
|
createVNode(unref(NInputNumber), {
|
|
134429
134446
|
value: values.topLeft,
|
|
@@ -134504,11 +134521,11 @@ const _hoisted_2$1I = {
|
|
|
134504
134521
|
key: 0,
|
|
134505
134522
|
class: "flex flex-col gap-2"
|
|
134506
134523
|
};
|
|
134507
|
-
const _hoisted_3$
|
|
134524
|
+
const _hoisted_3$1k = {
|
|
134508
134525
|
key: 2,
|
|
134509
134526
|
class: "flex flex-col gap-2 mt-2"
|
|
134510
134527
|
};
|
|
134511
|
-
const _hoisted_4$
|
|
134528
|
+
const _hoisted_4$13 = {
|
|
134512
134529
|
key: 1,
|
|
134513
134530
|
class: "flex flex-col gap-2"
|
|
134514
134531
|
};
|
|
@@ -134617,7 +134634,7 @@ const _sfc_main$39 = /* @__PURE__ */ defineComponent({
|
|
|
134617
134634
|
updateInputModelOnDrop: true,
|
|
134618
134635
|
value: backgroundColor.value
|
|
134619
134636
|
}, null, 8, ["on-update:value", "swatches", "value"])),
|
|
134620
|
-
!!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$1k, [
|
|
134621
134638
|
createVNode(_sfc_main$3e, {
|
|
134622
134639
|
"background-attachment": _ctx.modelValue.backgroundAttachment,
|
|
134623
134640
|
"background-image": _ctx.modelValue.backgroundImage,
|
|
@@ -134635,7 +134652,7 @@ const _sfc_main$39 = /* @__PURE__ */ defineComponent({
|
|
|
134635
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"])
|
|
134636
134653
|
])) : createCommentVNode("", true)
|
|
134637
134654
|
])) : createCommentVNode("", true),
|
|
134638
|
-
showSpacingComponent.value ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
134655
|
+
showSpacingComponent.value ? (openBlock(), createElementBlock("div", _hoisted_4$13, [
|
|
134639
134656
|
createElementVNode("span", _hoisted_5$T, toDisplayString(unref(t)("canvasUI.canvasBuilder.canvasDrawerTheme.componentSpacing.title")) + ": " + toDisplayString(_ctx.modelValue.spacing) + "px ", 1),
|
|
134640
134657
|
createVNode(_sfc_main$61, {
|
|
134641
134658
|
"format-tooltip": (value) => `${value}px`,
|
|
@@ -137489,11 +137506,11 @@ const _sfc_main$2Z = /* @__PURE__ */ defineComponent({
|
|
|
137489
137506
|
|
|
137490
137507
|
const _hoisted_1$2i = ["data-slide-id"];
|
|
137491
137508
|
const _hoisted_2$1F = ["src", "title"];
|
|
137492
|
-
const _hoisted_3$
|
|
137509
|
+
const _hoisted_3$1j = {
|
|
137493
137510
|
key: 3,
|
|
137494
137511
|
class: "flex items-center justify-center h-full"
|
|
137495
137512
|
};
|
|
137496
|
-
const _hoisted_4$
|
|
137513
|
+
const _hoisted_4$12 = { key: 4 };
|
|
137497
137514
|
const _sfc_main$2Y = /* @__PURE__ */ defineComponent({
|
|
137498
137515
|
__name: "SlideContent",
|
|
137499
137516
|
props: {
|
|
@@ -137574,12 +137591,12 @@ const _sfc_main$2Y = /* @__PURE__ */ defineComponent({
|
|
|
137574
137591
|
class: "w-full h-full max-h-full max-w-full border-0",
|
|
137575
137592
|
src: _ctx.item.file.content_url ?? void 0,
|
|
137576
137593
|
title: unref(t)("canvasUI.collectionPlayer.webSlide")
|
|
137577
|
-
}, 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$1j, [
|
|
137578
137595
|
createVNode(_sfc_main$6o, {
|
|
137579
137596
|
color: unref(themeVars).primary,
|
|
137580
137597
|
size: "small"
|
|
137581
137598
|
}, null, 8, ["color"])
|
|
137582
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_4$
|
|
137599
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_4$12, toDisplayString(unref(t)("canvasUI.collectionPlayer.unsupportedType")), 1))
|
|
137583
137600
|
], 42, _hoisted_1$2i);
|
|
137584
137601
|
};
|
|
137585
137602
|
}
|
|
@@ -137590,7 +137607,7 @@ const _hoisted_1$2h = {
|
|
|
137590
137607
|
class: "flex flex-col gap-2 text-center items-center justify-center pa-4"
|
|
137591
137608
|
};
|
|
137592
137609
|
const _hoisted_2$1E = { class: "font-size-5 color-primary3" };
|
|
137593
|
-
const _hoisted_3$
|
|
137610
|
+
const _hoisted_3$1i = ["activeIndex", "direction"];
|
|
137594
137611
|
const _sfc_main$2X = /* @__PURE__ */ defineComponent({
|
|
137595
137612
|
__name: "MainContent",
|
|
137596
137613
|
setup(__props) {
|
|
@@ -137696,7 +137713,7 @@ const _sfc_main$2X = /* @__PURE__ */ defineComponent({
|
|
|
137696
137713
|
createVNode(_sfc_main$2Y, { item }, null, 8, ["item"])
|
|
137697
137714
|
]);
|
|
137698
137715
|
}), 128))
|
|
137699
|
-
], 44, _hoisted_3$
|
|
137716
|
+
], 44, _hoisted_3$1i)), [
|
|
137700
137717
|
[unref(vElementVisibility), unref(setSwiperVisibility)]
|
|
137701
137718
|
])
|
|
137702
137719
|
], 4);
|
|
@@ -137774,7 +137791,7 @@ const useTracking = ({
|
|
|
137774
137791
|
|
|
137775
137792
|
const _hoisted_1$2g = ["onClick"];
|
|
137776
137793
|
const _hoisted_2$1D = { class: "flex flex-col gap-6" };
|
|
137777
|
-
const _hoisted_3$
|
|
137794
|
+
const _hoisted_3$1h = ["onClick"];
|
|
137778
137795
|
const _sfc_main$2W = /* @__PURE__ */ defineComponent({
|
|
137779
137796
|
__name: "TableOfContents",
|
|
137780
137797
|
setup(__props) {
|
|
@@ -137839,7 +137856,7 @@ const _sfc_main$2W = /* @__PURE__ */ defineComponent({
|
|
|
137839
137856
|
createElementVNode("div", {
|
|
137840
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"]])
|
|
137841
137858
|
}, toDisplayString(index + 1), 3)
|
|
137842
|
-
], 8, _hoisted_3$
|
|
137859
|
+
], 8, _hoisted_3$1h);
|
|
137843
137860
|
}), 128))
|
|
137844
137861
|
])
|
|
137845
137862
|
]);
|
|
@@ -137855,11 +137872,11 @@ const _hoisted_1$2f = {
|
|
|
137855
137872
|
const _hoisted_2$1C = {
|
|
137856
137873
|
class: "flex justify-start items-center basis-0 flex-grow-1 gap-2"
|
|
137857
137874
|
};
|
|
137858
|
-
const _hoisted_3$
|
|
137875
|
+
const _hoisted_3$1g = {
|
|
137859
137876
|
key: 0,
|
|
137860
137877
|
class: "flex justify-start self-stretch items-stretch overflow-auto"
|
|
137861
137878
|
};
|
|
137862
|
-
const _hoisted_4$
|
|
137879
|
+
const _hoisted_4$11 = {
|
|
137863
137880
|
class: "flex justify-end items-center basis-0 flex-grow-1 gap-2"
|
|
137864
137881
|
};
|
|
137865
137882
|
const FONT_SIZE_CLASS = 'font-size-4';
|
|
@@ -138062,7 +138079,7 @@ const _sfc_main$2V = /*@__PURE__*/defineComponent({
|
|
|
138062
138079
|
_: 1
|
|
138063
138080
|
}, 8, ["disabled"])), [[_directive_tooltip, unref(t)('canvasUI.collectionPlayer.annotations.menu')]])]),
|
|
138064
138081
|
_: 1
|
|
138065
|
-
}, 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$1g, [createVNode(unref(NButtonGroup), {
|
|
138066
138083
|
class: "bg-primary6 px-2 rounded-8",
|
|
138067
138084
|
horizontal: "",
|
|
138068
138085
|
size: "small"
|
|
@@ -138080,7 +138097,7 @@ const _sfc_main$2V = /*@__PURE__*/defineComponent({
|
|
|
138080
138097
|
}, 1032, ["class", "onClick"]);
|
|
138081
138098
|
}), 128))]),
|
|
138082
138099
|
_: 1
|
|
138083
|
-
})])) : createCommentVNode("", true), createElementVNode("div", _hoisted_4$
|
|
138100
|
+
})])) : createCommentVNode("", true), createElementVNode("div", _hoisted_4$11, [unref(fitToWidth) ? withDirectives((openBlock(), createBlock(CButton, {
|
|
138084
138101
|
key: 0,
|
|
138085
138102
|
class: "w-11 h-11",
|
|
138086
138103
|
disabled: !unref(activeSlide),
|
|
@@ -138167,7 +138184,7 @@ const _sfc_main$2V = /*@__PURE__*/defineComponent({
|
|
|
138167
138184
|
|
|
138168
138185
|
const _hoisted_1$2e = { class: "pa-4 bg-white border-primary5 flex items-center gap-2" };
|
|
138169
138186
|
const _hoisted_2$1B = { class: "flex justify-start items-center basis-0 flex-grow-1" };
|
|
138170
|
-
const _hoisted_3$
|
|
138187
|
+
const _hoisted_3$1f = { class: "block overflow-hidden font-normal text-[20px] leading-8 tracking-wide text-ellipsis whitespace-nowrap" };
|
|
138171
138188
|
const _sfc_main$2U = /* @__PURE__ */ defineComponent({
|
|
138172
138189
|
__name: "AppHeader",
|
|
138173
138190
|
setup(__props) {
|
|
@@ -138194,7 +138211,7 @@ const _sfc_main$2U = /* @__PURE__ */ defineComponent({
|
|
|
138194
138211
|
[_directive_tooltip, unref(t)("canvasUI.common.close")]
|
|
138195
138212
|
])
|
|
138196
138213
|
]),
|
|
138197
|
-
withDirectives((openBlock(), createElementBlock("div", _hoisted_3$
|
|
138214
|
+
withDirectives((openBlock(), createElementBlock("div", _hoisted_3$1f, [
|
|
138198
138215
|
createTextVNode(toDisplayString(unref(data).name), 1)
|
|
138199
138216
|
])), [
|
|
138200
138217
|
[_directive_tooltip, unref(data).name]
|
|
@@ -138911,8 +138928,8 @@ const _hoisted_2$1A = {
|
|
|
138911
138928
|
key: 0,
|
|
138912
138929
|
class: "ma-4"
|
|
138913
138930
|
};
|
|
138914
|
-
const _hoisted_3$
|
|
138915
|
-
const _hoisted_4
|
|
138931
|
+
const _hoisted_3$1e = { class: "block overflow-hidden font-normal text-[20px] leading-8 tracking-wide text-ellipsis whitespace-nowrap text-left mb-4" };
|
|
138932
|
+
const _hoisted_4$10 = ["src"];
|
|
138916
138933
|
const _hoisted_5$S = ["src"];
|
|
138917
138934
|
const _hoisted_6$K = {
|
|
138918
138935
|
key: 1,
|
|
@@ -139327,7 +139344,7 @@ const _sfc_main$2R = /* @__PURE__ */ defineComponent({
|
|
|
139327
139344
|
key: group.id,
|
|
139328
139345
|
class: "break-after-page text-center"
|
|
139329
139346
|
}, [
|
|
139330
|
-
createElementVNode("div", _hoisted_3$
|
|
139347
|
+
createElementVNode("div", _hoisted_3$1e, toDisplayString(group.name), 1),
|
|
139331
139348
|
(openBlock(true), createElementBlock(Fragment, null, renderList(group.slides, (item) => {
|
|
139332
139349
|
return openBlock(), createElementBlock(Fragment, {
|
|
139333
139350
|
key: item.id
|
|
@@ -139336,7 +139353,7 @@ const _sfc_main$2R = /* @__PURE__ */ defineComponent({
|
|
|
139336
139353
|
key: 0,
|
|
139337
139354
|
class: "mb-4",
|
|
139338
139355
|
src: item.slide.url
|
|
139339
|
-
}, null, 8, _hoisted_4
|
|
139356
|
+
}, null, 8, _hoisted_4$10)) : item.file.content_type === unref(FileContentTypeEnum).IMAGE && item.file.content_url ? (openBlock(), createElementBlock("img", {
|
|
139340
139357
|
key: 1,
|
|
139341
139358
|
class: "mb-4",
|
|
139342
139359
|
src: item.file.content_url
|
|
@@ -139426,11 +139443,11 @@ const _hoisted_1$2b = {
|
|
|
139426
139443
|
class: "p-2 content-grid-file-item flex flex-col items-center"
|
|
139427
139444
|
};
|
|
139428
139445
|
const _hoisted_2$1z = { class: "relative flex" };
|
|
139429
|
-
const _hoisted_3$
|
|
139446
|
+
const _hoisted_3$1d = {
|
|
139430
139447
|
key: 1,
|
|
139431
139448
|
class: "content-grid-file-item__img rounded-2 overflow-hidden w-[240px] h-[135px]"
|
|
139432
139449
|
};
|
|
139433
|
-
const _hoisted_4
|
|
139450
|
+
const _hoisted_4$$ = ["alt", "src"];
|
|
139434
139451
|
const _hoisted_5$R = {
|
|
139435
139452
|
key: 1,
|
|
139436
139453
|
class: "bg-primary6 w-full h-full flex items-center justify-center"
|
|
@@ -139577,7 +139594,7 @@ const _sfc_main$2O = /* @__PURE__ */ defineComponent({
|
|
|
139577
139594
|
onTouchend: handleSwipe,
|
|
139578
139595
|
onTouchmove: handleTouchMove,
|
|
139579
139596
|
onTouchstart: handleTouchStart
|
|
139580
|
-
}, 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$1d, [
|
|
139581
139598
|
defaultThumbnailUrl.value ? (openBlock(), createElementBlock("img", {
|
|
139582
139599
|
key: 0,
|
|
139583
139600
|
alt: item.value.file?.name || "File thumbnail",
|
|
@@ -139585,7 +139602,7 @@ const _sfc_main$2O = /* @__PURE__ */ defineComponent({
|
|
|
139585
139602
|
src: defaultThumbnailUrl.value,
|
|
139586
139603
|
onError: _cache[0] || (_cache[0] = //@ts-ignore
|
|
139587
139604
|
(...args) => unref(onThumbnailError$1) && unref(onThumbnailError$1)(...args))
|
|
139588
|
-
}, null, 40, _hoisted_4
|
|
139605
|
+
}, null, 40, _hoisted_4$$)) : (openBlock(), createElementBlock("div", _hoisted_5$R, [
|
|
139589
139606
|
createVNode(CIcon, {
|
|
139590
139607
|
color: unref(themeVars).primary3,
|
|
139591
139608
|
"fa-type": "fas",
|
|
@@ -139691,7 +139708,7 @@ const ContentGridFileItem = /* @__PURE__ */ _export_sfc(_sfc_main$2O, [["__scope
|
|
|
139691
139708
|
|
|
139692
139709
|
const _hoisted_1$2a = { class: "flex items-center flex-col justify-center" };
|
|
139693
139710
|
const _hoisted_2$1y = { class: "text-center font-400 text-truncate font-size-4 line-height-6 color-text font-normal" };
|
|
139694
|
-
const _hoisted_3$
|
|
139711
|
+
const _hoisted_3$1c = { class: "text-center text-truncate font-size-3 line-height-5 color-text font-normal" };
|
|
139695
139712
|
const _sfc_main$2N = /* @__PURE__ */ defineComponent({
|
|
139696
139713
|
__name: "ContentGridDeletedFileItem",
|
|
139697
139714
|
emits: ["click"],
|
|
@@ -139715,7 +139732,7 @@ const _sfc_main$2N = /* @__PURE__ */ defineComponent({
|
|
|
139715
139732
|
}, null, 8, ["color"]),
|
|
139716
139733
|
createElementVNode("div", _hoisted_1$2a, [
|
|
139717
139734
|
createElementVNode("div", _hoisted_2$1y, toDisplayString(unref(t)("canvasUI.canvasBuilder.deletedFile.deleteMessage")), 1),
|
|
139718
|
-
createElementVNode("div", _hoisted_3$
|
|
139735
|
+
createElementVNode("div", _hoisted_3$1c, toDisplayString(unref(t)("canvasUI.canvasBuilder.deletedFile.clickMessage")), 1)
|
|
139719
139736
|
])
|
|
139720
139737
|
]);
|
|
139721
139738
|
};
|
|
@@ -139729,8 +139746,8 @@ const _hoisted_1$29 = {
|
|
|
139729
139746
|
class: "p-2 content-grid-raw__item__slide flex flex-col items-center"
|
|
139730
139747
|
};
|
|
139731
139748
|
const _hoisted_2$1x = { class: "relative flex" };
|
|
139732
|
-
const _hoisted_3$
|
|
139733
|
-
const _hoisted_4$
|
|
139749
|
+
const _hoisted_3$1b = { class: "font-700 text-truncate w-full mt-2" };
|
|
139750
|
+
const _hoisted_4$_ = { class: "content-grid-raw__item__hint flex items-center justify-between text-center text-truncate w-full min-h-8" };
|
|
139734
139751
|
const _hoisted_5$Q = {
|
|
139735
139752
|
key: 0,
|
|
139736
139753
|
class: "pt-1 flex justify-end w-full"
|
|
@@ -139827,8 +139844,8 @@ const _sfc_main$2M = /* @__PURE__ */ defineComponent({
|
|
|
139827
139844
|
width: "240"
|
|
139828
139845
|
}, null, 8, ["lazy", "src"])
|
|
139829
139846
|
]),
|
|
139830
|
-
createElementVNode("div", _hoisted_3$
|
|
139831
|
-
createElementVNode("div", _hoisted_4$
|
|
139847
|
+
createElementVNode("div", _hoisted_3$1b, toDisplayString(_ctx.item.file.name), 1),
|
|
139848
|
+
createElementVNode("div", _hoisted_4$_, [
|
|
139832
139849
|
createTextVNode(toDisplayString(unref(t)("canvasUI.canvasBuilder.contentGrid.pageNumberDescription", { pageNumber: _ctx.item.slide.index + 1 })) + " ", 1),
|
|
139833
139850
|
!isShareable.value ? withDirectives((openBlock(), createBlock(_sfc_main$4U, {
|
|
139834
139851
|
key: 0,
|
|
@@ -139858,7 +139875,7 @@ const ContentGridItem = /* @__PURE__ */ _export_sfc(_sfc_main$2M, [["__scopeId",
|
|
|
139858
139875
|
|
|
139859
139876
|
const _hoisted_1$28 = ["onClick"];
|
|
139860
139877
|
const _hoisted_2$1w = ["onClick"];
|
|
139861
|
-
const _hoisted_3$
|
|
139878
|
+
const _hoisted_3$1a = {
|
|
139862
139879
|
key: 1,
|
|
139863
139880
|
class: "flex flex-col items-center pb-2"
|
|
139864
139881
|
};
|
|
@@ -139953,7 +139970,7 @@ const _sfc_main$2L = /* @__PURE__ */ defineComponent({
|
|
|
139953
139970
|
}), 128))
|
|
139954
139971
|
]),
|
|
139955
139972
|
_: 1
|
|
139956
|
-
}, 8, ["style"])) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
139973
|
+
}, 8, ["style"])) : (openBlock(), createElementBlock("div", _hoisted_3$1a, [
|
|
139957
139974
|
createVNode(ContentGridItem, {
|
|
139958
139975
|
"all-items": _ctx.items,
|
|
139959
139976
|
index: 0,
|
|
@@ -139969,11 +139986,11 @@ const ContentGridCarousel = /* @__PURE__ */ _export_sfc(_sfc_main$2L, [["__scope
|
|
|
139969
139986
|
|
|
139970
139987
|
const _hoisted_1$27 = { class: "flex items-center" };
|
|
139971
139988
|
const _hoisted_2$1v = { class: "my-3 border border-solid border-primary6 rounded" };
|
|
139972
|
-
const _hoisted_3$
|
|
139989
|
+
const _hoisted_3$19 = {
|
|
139973
139990
|
key: 2,
|
|
139974
139991
|
class: "w-[152px] h-[100px] rounded-2 overflow-hidden"
|
|
139975
139992
|
};
|
|
139976
|
-
const _hoisted_4$
|
|
139993
|
+
const _hoisted_4$Z = ["alt", "src"];
|
|
139977
139994
|
const _hoisted_5$P = {
|
|
139978
139995
|
key: 1,
|
|
139979
139996
|
class: "bg-primary6 w-full h-full flex items-center justify-center"
|
|
@@ -140155,13 +140172,13 @@ const _sfc_main$2K = /* @__PURE__ */ defineComponent({
|
|
|
140155
140172
|
src: thumbnailUrl.value,
|
|
140156
140173
|
width: "152",
|
|
140157
140174
|
onError: unref(handleImageError)
|
|
140158
|
-
}, 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$19, [
|
|
140159
140176
|
defaultThumbnailUrl.value ? (openBlock(), createElementBlock("img", {
|
|
140160
140177
|
key: 0,
|
|
140161
140178
|
alt: enrichedFile.value.name || "File thumbnail",
|
|
140162
140179
|
class: "w-full h-full object-cover",
|
|
140163
140180
|
src: defaultThumbnailUrl.value
|
|
140164
|
-
}, null, 8, _hoisted_4$
|
|
140181
|
+
}, null, 8, _hoisted_4$Z)) : (openBlock(), createElementBlock("div", _hoisted_5$P, [
|
|
140165
140182
|
createVNode(CIcon, {
|
|
140166
140183
|
color: unref(themeVars).primary3,
|
|
140167
140184
|
icon: defaultIcon.value,
|
|
@@ -140930,8 +140947,8 @@ const RawDataCharts = /* @__PURE__ */ _export_sfc(_sfc_main$2F, [["__scopeId", "
|
|
|
140930
140947
|
|
|
140931
140948
|
const _hoisted_1$23 = { class: "flex gap-4 h-[calc(80vh-120px)] w-full" };
|
|
140932
140949
|
const _hoisted_2$1t = { class: "cb-data-charts-settings__card overflow-auto flex-1" };
|
|
140933
|
-
const _hoisted_3$
|
|
140934
|
-
const _hoisted_4$
|
|
140950
|
+
const _hoisted_3$18 = { class: "flex flex-col h-full" };
|
|
140951
|
+
const _hoisted_4$Y = { class: "flex-grow overflow-y-auto overflow-x-hidden" };
|
|
140935
140952
|
const _hoisted_5$O = { class: "mb-4" };
|
|
140936
140953
|
const _hoisted_6$H = { class: "block mb-2" };
|
|
140937
140954
|
const _hoisted_7$v = { class: "mb-4" };
|
|
@@ -141430,8 +141447,8 @@ const _sfc_main$2E = /* @__PURE__ */ defineComponent({
|
|
|
141430
141447
|
default: withCtx(() => [
|
|
141431
141448
|
createElementVNode("div", _hoisted_1$23, [
|
|
141432
141449
|
createElementVNode("div", _hoisted_2$1t, [
|
|
141433
|
-
createElementVNode("div", _hoisted_3$
|
|
141434
|
-
createElementVNode("div", _hoisted_4$
|
|
141450
|
+
createElementVNode("div", _hoisted_3$18, [
|
|
141451
|
+
createElementVNode("div", _hoisted_4$Y, [
|
|
141435
141452
|
createElementVNode("div", _hoisted_5$O, [
|
|
141436
141453
|
createElementVNode("label", _hoisted_6$H, toDisplayString(unref(t)("canvasUI.canvasBuilder.dataCharts.chartType")), 1),
|
|
141437
141454
|
createVNode(unref(NSelect), {
|
|
@@ -142217,7 +142234,7 @@ function useDataTablePrint() {
|
|
|
142217
142234
|
|
|
142218
142235
|
const _hoisted_1$21 = ["onClick"];
|
|
142219
142236
|
const _hoisted_2$1s = { key: 0 };
|
|
142220
|
-
const _hoisted_3$
|
|
142237
|
+
const _hoisted_3$17 = ["colspan"];
|
|
142221
142238
|
const _sfc_main$2B = /* @__PURE__ */ defineComponent({
|
|
142222
142239
|
__name: "DynamicDataTable.raw.header",
|
|
142223
142240
|
props: {
|
|
@@ -142307,7 +142324,7 @@ const _sfc_main$2B = /* @__PURE__ */ defineComponent({
|
|
|
142307
142324
|
backgroundColor: _ctx.groupHeaderBackgroundColor,
|
|
142308
142325
|
color: _ctx.groupHeaderForegroundColor
|
|
142309
142326
|
})
|
|
142310
|
-
}, 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$17)
|
|
142311
142328
|
])) : createCommentVNode("", true)
|
|
142312
142329
|
], 2);
|
|
142313
142330
|
};
|
|
@@ -142418,11 +142435,11 @@ function formatCellValue(value, property) {
|
|
|
142418
142435
|
|
|
142419
142436
|
const _hoisted_1$20 = { key: 1 };
|
|
142420
142437
|
const _hoisted_2$1r = ["data-property-cell"];
|
|
142421
|
-
const _hoisted_3$
|
|
142438
|
+
const _hoisted_3$16 = {
|
|
142422
142439
|
key: 0,
|
|
142423
142440
|
class: "text-center p-4 text-primary3"
|
|
142424
142441
|
};
|
|
142425
|
-
const _hoisted_4$
|
|
142442
|
+
const _hoisted_4$X = {
|
|
142426
142443
|
key: 1,
|
|
142427
142444
|
class: "flex items-center justify-end px-4 pt-4 gap-2"
|
|
142428
142445
|
};
|
|
@@ -142602,8 +142619,8 @@ const _sfc_main$2A = /* @__PURE__ */ defineComponent({
|
|
|
142602
142619
|
])) : createCommentVNode("", true)
|
|
142603
142620
|
], 2)
|
|
142604
142621
|
], 6),
|
|
142605
|
-
!_ctx.tableData.length ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
142606
|
-
_ctx.tableData.length && !_ctx.hidePagination && !_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
142622
|
+
!_ctx.tableData.length ? (openBlock(), createElementBlock("div", _hoisted_3$16)) : createCommentVNode("", true),
|
|
142623
|
+
_ctx.tableData.length && !_ctx.hidePagination && !_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_4$X, [
|
|
142607
142624
|
!_ctx.hideTotalResults ? (openBlock(), createElementBlock("div", _hoisted_5$N, toDisplayString(unref(t)("canvasUI.components.CTable.countResults", { count: _ctx.tableData.length })), 1)) : createCommentVNode("", true),
|
|
142608
142625
|
!_ctx.hidePageSelector && pageCount.value > 1 ? (openBlock(), createElementBlock("div", _hoisted_6$G, [
|
|
142609
142626
|
createVNode(CButton, {
|
|
@@ -144553,11 +144570,11 @@ const _hoisted_2$1o = {
|
|
|
144553
144570
|
key: 0,
|
|
144554
144571
|
class: "relative"
|
|
144555
144572
|
};
|
|
144556
|
-
const _hoisted_3$
|
|
144573
|
+
const _hoisted_3$15 = {
|
|
144557
144574
|
key: 0,
|
|
144558
144575
|
class: "absolute top-2 right-2 z-10"
|
|
144559
144576
|
};
|
|
144560
|
-
const _hoisted_4$
|
|
144577
|
+
const _hoisted_4$W = {
|
|
144561
144578
|
key: 0,
|
|
144562
144579
|
class: "absolute top-2 right-2 z-10"
|
|
144563
144580
|
};
|
|
@@ -144734,7 +144751,7 @@ const _sfc_main$2r = /* @__PURE__ */ defineComponent({
|
|
|
144734
144751
|
default: withCtx(() => [
|
|
144735
144752
|
createElementVNode("div", _hoisted_1$1W, [
|
|
144736
144753
|
!unref(pitcherSettings).enable_monaco_html_editor && effectiveEditState.value === unref(HtmlLayoutTypes).EDIT && unref(componentPermissions).canEdit ? (openBlock(), createElementBlock("div", _hoisted_2$1o, [
|
|
144737
|
-
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$15, [
|
|
144738
144755
|
createVNode(_sfc_main$2s, {
|
|
144739
144756
|
"model-value": _ctx.data?.html ?? "",
|
|
144740
144757
|
"theme-overrides": aiThemeOverrides.value,
|
|
@@ -144769,7 +144786,7 @@ const _sfc_main$2r = /* @__PURE__ */ defineComponent({
|
|
|
144769
144786
|
class: "cb-html__monaco-container relative overflow-hidden rounded-md",
|
|
144770
144787
|
style: normalizeStyle({ height: `${monacoHeight.value}px` })
|
|
144771
144788
|
}, [
|
|
144772
|
-
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$W, [
|
|
144773
144790
|
createVNode(_sfc_main$2s, {
|
|
144774
144791
|
"model-value": _ctx.data?.html ?? "",
|
|
144775
144792
|
"theme-overrides": aiThemeOverrides.value,
|
|
@@ -146516,8 +146533,8 @@ const Text = /* @__PURE__ */ _export_sfc(_sfc_main$2h, [["__scopeId", "data-v-b2
|
|
|
146516
146533
|
|
|
146517
146534
|
const _hoisted_1$1Q = { class: "absolute top-2 right-2 flex items-center gap-1 z-10" };
|
|
146518
146535
|
const _hoisted_2$1m = { class: "text-xs" };
|
|
146519
|
-
const _hoisted_3$
|
|
146520
|
-
const _hoisted_4$
|
|
146536
|
+
const _hoisted_3$14 = { class: "text-xs" };
|
|
146537
|
+
const _hoisted_4$V = { class: "text-lg font-bold mb-3" };
|
|
146521
146538
|
const _hoisted_5$L = { class: "flex flex-col h-[80vh]" };
|
|
146522
146539
|
const _hoisted_6$E = { class: "flex-1 overflow-hidden" };
|
|
146523
146540
|
const _hoisted_7$s = ["onClick"];
|
|
@@ -146840,7 +146857,7 @@ const _sfc_main$2g = /* @__PURE__ */ defineComponent({
|
|
|
146840
146857
|
icon: "unlink",
|
|
146841
146858
|
size: "14"
|
|
146842
146859
|
}),
|
|
146843
|
-
createElementVNode("span", _hoisted_3$
|
|
146860
|
+
createElementVNode("span", _hoisted_3$14, toDisplayString(unref(t)("canvasUI.canvasBuilder.linkableComponent.unlink")), 1)
|
|
146844
146861
|
])) : createCommentVNode("", true)
|
|
146845
146862
|
]),
|
|
146846
146863
|
showLinkModal.value ? (openBlock(), createBlock(_sfc_main$6y, {
|
|
@@ -146853,7 +146870,7 @@ const _sfc_main$2g = /* @__PURE__ */ defineComponent({
|
|
|
146853
146870
|
default: withCtx(() => [
|
|
146854
146871
|
createVNode(_sfc_main$6T, { class: "pa-4" }, {
|
|
146855
146872
|
default: withCtx(() => [
|
|
146856
|
-
createElementVNode("div", _hoisted_4$
|
|
146873
|
+
createElementVNode("div", _hoisted_4$V, toDisplayString(unref(t)("canvasUI.canvasBuilder.linkableComponent.linkTo")), 1),
|
|
146857
146874
|
createElementVNode("div", _hoisted_5$L, [
|
|
146858
146875
|
createVNode(CSearch, {
|
|
146859
146876
|
modelValue: searchTerm.value,
|
|
@@ -147882,8 +147899,8 @@ const ScribbleOriginal = /* @__PURE__ */ _export_sfc(_sfc_main$2e, [["__scopeId"
|
|
|
147882
147899
|
|
|
147883
147900
|
const _hoisted_1$1N = ["href"];
|
|
147884
147901
|
const _hoisted_2$1l = { key: 2 };
|
|
147885
|
-
const _hoisted_3$
|
|
147886
|
-
const _hoisted_4$
|
|
147902
|
+
const _hoisted_3$13 = ["id"];
|
|
147903
|
+
const _hoisted_4$U = { class: "w-full h-full flex items-center justify-center" };
|
|
147887
147904
|
const _hoisted_5$K = ["href"];
|
|
147888
147905
|
const DRAG_THROTTLE = 2;
|
|
147889
147906
|
const KEYBOARD_POSITION_ADJUSTMENT_STEP = 1;
|
|
@@ -148847,7 +148864,7 @@ const _sfc_main$2d = /* @__PURE__ */ defineComponent({
|
|
|
148847
148864
|
]),
|
|
148848
148865
|
_: 2
|
|
148849
148866
|
}, 1032, ["id", "used-in-section-id"])
|
|
148850
|
-
], 12, _hoisted_3$
|
|
148867
|
+
], 12, _hoisted_3$13)), [
|
|
148851
148868
|
[unref(vElementVisibility), (isVisible) => onElementVisibility(isVisible, component)]
|
|
148852
148869
|
]);
|
|
148853
148870
|
}), 128))
|
|
@@ -148870,7 +148887,7 @@ const _sfc_main$2d = /* @__PURE__ */ defineComponent({
|
|
|
148870
148887
|
"overflow-y-hidden": !unref(isEditMode)
|
|
148871
148888
|
})
|
|
148872
148889
|
}, [
|
|
148873
|
-
createElementVNode("div", _hoisted_4$
|
|
148890
|
+
createElementVNode("div", _hoisted_4$U, [
|
|
148874
148891
|
createElementVNode("div", {
|
|
148875
148892
|
ref_key: "containerRef",
|
|
148876
148893
|
ref: containerRef,
|
|
@@ -148973,7 +148990,7 @@ const _hoisted_1$1M = {
|
|
|
148973
148990
|
class: "flex justify-center p-8"
|
|
148974
148991
|
};
|
|
148975
148992
|
const _hoisted_2$1k = ["innerHTML"];
|
|
148976
|
-
const _hoisted_3$
|
|
148993
|
+
const _hoisted_3$12 = ["innerHTML"];
|
|
148977
148994
|
const _sfc_main$2b = /* @__PURE__ */ defineComponent({
|
|
148978
148995
|
__name: "Timeline.raw",
|
|
148979
148996
|
props: {
|
|
@@ -149026,7 +149043,7 @@ const _sfc_main$2b = /* @__PURE__ */ defineComponent({
|
|
|
149026
149043
|
class: "text-base",
|
|
149027
149044
|
style: normalizeStyle(event.description_style),
|
|
149028
149045
|
innerHTML: event.description
|
|
149029
|
-
}, null, 12, _hoisted_3$
|
|
149046
|
+
}, null, 12, _hoisted_3$12)
|
|
149030
149047
|
], 4),
|
|
149031
149048
|
index < _ctx.data.events.length - 1 ? (openBlock(), createElementBlock("div", {
|
|
149032
149049
|
key: 0,
|
|
@@ -149129,11 +149146,11 @@ const _hoisted_2$1j = {
|
|
|
149129
149146
|
key: 1,
|
|
149130
149147
|
class: "flex flex-col justify-center items-center p-4"
|
|
149131
149148
|
};
|
|
149132
|
-
const _hoisted_3$
|
|
149149
|
+
const _hoisted_3$11 = {
|
|
149133
149150
|
key: 2,
|
|
149134
149151
|
class: "flex justify-center items-center p-4 color-error"
|
|
149135
149152
|
};
|
|
149136
|
-
const _hoisted_4$
|
|
149153
|
+
const _hoisted_4$T = ["data-block-component-id"];
|
|
149137
149154
|
const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
149138
149155
|
__name: "Block",
|
|
149139
149156
|
props: {
|
|
@@ -149283,7 +149300,7 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
|
149283
149300
|
}, null, 8, ["class"]);
|
|
149284
149301
|
}), 64))
|
|
149285
149302
|
])) : createCommentVNode("", true),
|
|
149286
|
-
!isLoading.value && error.value && !unref(isEditMode) ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
149303
|
+
!isLoading.value && error.value && !unref(isEditMode) ? (openBlock(), createElementBlock("div", _hoisted_3$11, toDisplayString(error.value), 1)) : createCommentVNode("", true),
|
|
149287
149304
|
!isLoading.value && !error.value && blockContent.value?.length ? (openBlock(true), createElementBlock(Fragment, { key: 3 }, renderList(blockContent.value, (c) => {
|
|
149288
149305
|
return withDirectives((openBlock(), createElementBlock("div", {
|
|
149289
149306
|
key: c.id,
|
|
@@ -149294,7 +149311,7 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
|
149294
149311
|
})
|
|
149295
149312
|
}, [
|
|
149296
149313
|
(openBlock(), createBlock(resolveDynamicComponent(componentMap[c.type]), mergeProps({ ref_for: true }, getComponentBindings(c)), null, 16))
|
|
149297
|
-
], 12, _hoisted_4$
|
|
149314
|
+
], 12, _hoisted_4$T)), [
|
|
149298
149315
|
[unref(vElementVisibility), (isVisible) => onElementVisibility(isVisible, c)]
|
|
149299
149316
|
]);
|
|
149300
149317
|
}), 128)) : createCommentVNode("", true),
|
|
@@ -149560,8 +149577,8 @@ const _hoisted_2$1h = {
|
|
|
149560
149577
|
key: 1,
|
|
149561
149578
|
class: "cb-custom-data-table-raw__scroll-container"
|
|
149562
149579
|
};
|
|
149563
|
-
const _hoisted_3
|
|
149564
|
-
const _hoisted_4$
|
|
149580
|
+
const _hoisted_3$10 = { class: "cb-custom-data-table-raw__table" };
|
|
149581
|
+
const _hoisted_4$S = ["onClick"];
|
|
149565
149582
|
const _hoisted_5$J = ["colspan"];
|
|
149566
149583
|
const _hoisted_6$D = { class: "flex items-center gap-2" };
|
|
149567
149584
|
const _hoisted_7$r = { class: "font-medium" };
|
|
@@ -149753,7 +149770,7 @@ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
|
|
|
149753
149770
|
])
|
|
149754
149771
|
])) : createCommentVNode("", true),
|
|
149755
149772
|
flattenedRows.value.length ? (openBlock(), createElementBlock("div", _hoisted_2$1h, [
|
|
149756
|
-
createElementVNode("table", _hoisted_3
|
|
149773
|
+
createElementVNode("table", _hoisted_3$10, [
|
|
149757
149774
|
createVNode(_sfc_main$27, {
|
|
149758
149775
|
columns: columns.value,
|
|
149759
149776
|
"current-sorting": currentSorting.value,
|
|
@@ -149795,7 +149812,7 @@ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
|
|
|
149795
149812
|
])
|
|
149796
149813
|
])
|
|
149797
149814
|
], 12, _hoisted_5$J)
|
|
149798
|
-
], 12, _hoisted_4$
|
|
149815
|
+
], 12, _hoisted_4$S)) : row.type === "data" ? (openBlock(), createElementBlock("tr", {
|
|
149799
149816
|
key: 1,
|
|
149800
149817
|
class: "cb-custom-data-table-row hover:opacity-95",
|
|
149801
149818
|
style: normalizeStyle({ backgroundColor: getRowBackgroundColor(dataRowGlobalIndexMap.value.get(row.id) ?? 0) })
|
|
@@ -149987,7 +150004,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
149987
150004
|
|
|
149988
150005
|
const _hoisted_1$1I = { class: "flex gap-2 items-center border-primary5" };
|
|
149989
150006
|
const _hoisted_2$1g = { class: "color-primary3" };
|
|
149990
|
-
const _hoisted_3
|
|
150007
|
+
const _hoisted_3$$ = {
|
|
149991
150008
|
key: 0,
|
|
149992
150009
|
class: "mt-3 color-primary4 text-center"
|
|
149993
150010
|
};
|
|
@@ -150047,7 +150064,7 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
|
|
|
150047
150064
|
createElementVNode("div", _hoisted_2$1g, toDisplayString(_ctx.tracking_id !== unref(ComponentTypes).PageBreak ? _ctx.tracking_id : unref(t)("canvasUI.canvasBuilder.components.titles.pageBreak")), 1),
|
|
150048
150065
|
_cache[5] || (_cache[5] = createElementVNode("div", { class: "flex-1 h-[2px] bg-primary3" }, null, -1))
|
|
150049
150066
|
]),
|
|
150050
|
-
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)
|
|
150051
150068
|
], 16)
|
|
150052
150069
|
]),
|
|
150053
150070
|
_: 1
|
|
@@ -150061,8 +150078,8 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
|
|
|
150061
150078
|
|
|
150062
150079
|
const _hoisted_1$1H = { class: "flex items-center w-full" };
|
|
150063
150080
|
const _hoisted_2$1f = { class: "flex items-start gap-2 py-2 pr-2 b-rounded-2 w-full" };
|
|
150064
|
-
const _hoisted_3$
|
|
150065
|
-
const _hoisted_4$
|
|
150081
|
+
const _hoisted_3$_ = { class: "flex flex-wrap flex-col gap-2" };
|
|
150082
|
+
const _hoisted_4$R = { class: "flex flex-wrap font-700 font-size-[18px] overflow-hidden whitespace-normal break-words" };
|
|
150066
150083
|
const _hoisted_5$I = { class: "flex flex-wrap gap-2" };
|
|
150067
150084
|
const _sfc_main$23 = /* @__PURE__ */ defineComponent({
|
|
150068
150085
|
__name: "SectionSelectorItem",
|
|
@@ -150138,8 +150155,8 @@ const _sfc_main$23 = /* @__PURE__ */ defineComponent({
|
|
|
150138
150155
|
onClick: _cache[1] || (_cache[1] = withModifiers(() => {
|
|
150139
150156
|
}, ["stop"]))
|
|
150140
150157
|
}, null, 8, ["ai-img-description", "src", "style"])),
|
|
150141
|
-
createElementVNode("div", _hoisted_3$
|
|
150142
|
-
createElementVNode("h4", _hoisted_4$
|
|
150158
|
+
createElementVNode("div", _hoisted_3$_, [
|
|
150159
|
+
createElementVNode("h4", _hoisted_4$R, toDisplayString(_ctx.item.name), 1),
|
|
150143
150160
|
createElementVNode("div", _hoisted_5$I, [
|
|
150144
150161
|
_ctx.data[_ctx.index]?.access_type === "restricted" ? (openBlock(), createBlock(_sfc_main$66, {
|
|
150145
150162
|
key: 0,
|
|
@@ -150269,8 +150286,10 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
|
150269
150286
|
}
|
|
150270
150287
|
});
|
|
150271
150288
|
|
|
150272
|
-
const _hoisted_1$1F = { class: "flex justify-between items-center color-primary bg-base mt-3 pa-2 rounded-t-lg" };
|
|
150273
|
-
const _hoisted_2$1e = { class: "flex items-center gap-2 flex-
|
|
150289
|
+
const _hoisted_1$1F = { class: "flex flex-wrap justify-between items-center color-primary bg-base mt-3 pa-2 rounded-t-lg gap-2" };
|
|
150290
|
+
const _hoisted_2$1e = { class: "flex items-center gap-2 flex-shrink-0 min-w-0 font-700" };
|
|
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" };
|
|
150274
150293
|
const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
150275
150294
|
__name: "SectionSelectorToolbar",
|
|
150276
150295
|
props: {
|
|
@@ -150284,16 +150303,93 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
|
150284
150303
|
areAllSelected: { type: Boolean },
|
|
150285
150304
|
areSomeSelected: { type: Boolean },
|
|
150286
150305
|
addedItemIds: { default: () => [] },
|
|
150287
|
-
selectedItemIds: { default: () => [] }
|
|
150306
|
+
selectedItemIds: { default: () => [] },
|
|
150307
|
+
currentSort: {}
|
|
150288
150308
|
},
|
|
150289
|
-
emits: ["page-first", "page-last", "page-next", "page-previous", "toggle-select-all", "clear-selection", "items-added", "items-removed"],
|
|
150309
|
+
emits: ["page-first", "page-last", "page-next", "page-previous", "toggle-select-all", "clear-selection", "items-added", "items-removed", "sort-changed"],
|
|
150290
150310
|
setup(__props, { emit: __emit }) {
|
|
150311
|
+
const props = __props;
|
|
150291
150312
|
const emit = __emit;
|
|
150292
150313
|
const launchDarkly = inject(
|
|
150293
150314
|
"launchDarkly",
|
|
150294
150315
|
computed(() => ({}))
|
|
150295
150316
|
);
|
|
150296
150317
|
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
|
+
}
|
|
150297
150393
|
return (_ctx, _cache) => {
|
|
150298
150394
|
const _directive_tooltip = resolveDirective("tooltip");
|
|
150299
150395
|
return openBlock(), createElementBlock("div", _hoisted_1$1F, [
|
|
@@ -150329,26 +150425,57 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
|
150329
150425
|
onPagePrevious: _cache[4] || (_cache[4] = ($event) => emit("page-previous"))
|
|
150330
150426
|
}, null, 8, ["current-page", "disable-pagination", "loading", "page-size", "total-items"])) : createCommentVNode("", true)
|
|
150331
150427
|
]),
|
|
150332
|
-
|
|
150333
|
-
|
|
150334
|
-
|
|
150335
|
-
|
|
150336
|
-
|
|
150337
|
-
|
|
150338
|
-
|
|
150339
|
-
|
|
150340
|
-
|
|
150341
|
-
|
|
150342
|
-
|
|
150343
|
-
|
|
150344
|
-
|
|
150345
|
-
|
|
150346
|
-
|
|
150347
|
-
|
|
150348
|
-
|
|
150349
|
-
|
|
150350
|
-
|
|
150351
|
-
|
|
150428
|
+
createElementVNode("div", _hoisted_3$Z, [
|
|
150429
|
+
!unref(launchDarkly).enable_selectors_dnd ? (openBlock(), createBlock(_sfc_main$22, {
|
|
150430
|
+
key: 0,
|
|
150431
|
+
"current-page": _ctx.currentPage,
|
|
150432
|
+
"disable-pagination": _ctx.disablePagination,
|
|
150433
|
+
loading: _ctx.loading,
|
|
150434
|
+
"page-size": _ctx.pageSize,
|
|
150435
|
+
"total-items": _ctx.totalItems,
|
|
150436
|
+
onPageFirst: _cache[5] || (_cache[5] = ($event) => emit("page-first")),
|
|
150437
|
+
onPageLast: _cache[6] || (_cache[6] = ($event) => emit("page-last")),
|
|
150438
|
+
onPageNext: _cache[7] || (_cache[7] = ($event) => emit("page-next")),
|
|
150439
|
+
onPagePrevious: _cache[8] || (_cache[8] = ($event) => emit("page-previous"))
|
|
150440
|
+
}, null, 8, ["current-page", "disable-pagination", "loading", "page-size", "total-items"])) : createCommentVNode("", true),
|
|
150441
|
+
unref(launchDarkly).enable_sorting_in_section_picker ? (openBlock(), createBlock(unref(NDropdown), {
|
|
150442
|
+
key: 1,
|
|
150443
|
+
options: sortOptions.value,
|
|
150444
|
+
trigger: "click",
|
|
150445
|
+
onSelect: onSortSelect
|
|
150446
|
+
}, {
|
|
150447
|
+
default: withCtx(() => [
|
|
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
|
+
])
|
|
150352
150479
|
]);
|
|
150353
150480
|
};
|
|
150354
150481
|
}
|
|
@@ -150770,10 +150897,41 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
|
150770
150897
|
)
|
|
150771
150898
|
);
|
|
150772
150899
|
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
|
+
});
|
|
150773
150918
|
const orderedAvailableSections = computed(() => {
|
|
150774
150919
|
if (enablePipeMultisearch.value && isPipeSearching.value) {
|
|
150775
150920
|
return availableSections.value;
|
|
150776
150921
|
}
|
|
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
|
+
}
|
|
150777
150935
|
const sorters = getOrderingConfiguration({ sortByMetadata: true });
|
|
150778
150936
|
return orderBy(
|
|
150779
150937
|
availableSections.value,
|
|
@@ -150972,6 +151130,9 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
|
150972
151130
|
);
|
|
150973
151131
|
else selectChunk();
|
|
150974
151132
|
}
|
|
151133
|
+
function handleSortChanged(sort) {
|
|
151134
|
+
currentSort.value = sort;
|
|
151135
|
+
}
|
|
150975
151136
|
onMounted(() => {
|
|
150976
151137
|
if (launchDarkly.value.show_popularity_icons) {
|
|
150977
151138
|
fetchPopularityData(EntityType.SECTION);
|
|
@@ -151058,6 +151219,7 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
|
151058
151219
|
"are-all-selected": areAllSelected.value,
|
|
151059
151220
|
"are-some-selected": areSomeSelected.value,
|
|
151060
151221
|
"current-page": currentPage.value,
|
|
151222
|
+
"current-sort": currentSort.value,
|
|
151061
151223
|
"disable-pagination": enablePipeMultisearch.value,
|
|
151062
151224
|
"first-page-total-displayed-items": firstPageTotalDisplayedSections.value ?? 0,
|
|
151063
151225
|
loading: isFetchingSections.value,
|
|
@@ -151068,8 +151230,9 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
|
151068
151230
|
onPageLast: fetchLastChunk,
|
|
151069
151231
|
onPageNext: fetchNextChunk,
|
|
151070
151232
|
onPagePrevious: fetchPreviousChunk,
|
|
151233
|
+
onSortChanged: handleSortChanged,
|
|
151071
151234
|
onToggleSelectAll: toggleSelectAll
|
|
151072
|
-
}, null, 8, ["are-all-selected", "are-some-selected", "current-page", "disable-pagination", "first-page-total-displayed-items", "loading", "page-size", "total-items", "total-selected"])
|
|
151235
|
+
}, null, 8, ["are-all-selected", "are-some-selected", "current-page", "current-sort", "disable-pagination", "first-page-total-displayed-items", "loading", "page-size", "total-items", "total-selected"])
|
|
151073
151236
|
], 512),
|
|
151074
151237
|
isFetchingSections.value ? (openBlock(), createElementBlock("div", {
|
|
151075
151238
|
key: 0,
|
|
@@ -151159,7 +151322,7 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
|
151159
151322
|
}
|
|
151160
151323
|
});
|
|
151161
151324
|
|
|
151162
|
-
const SectionSelector = /* @__PURE__ */ _export_sfc(_sfc_main$1$, [["__scopeId", "data-v-
|
|
151325
|
+
const SectionSelector = /* @__PURE__ */ _export_sfc(_sfc_main$1$, [["__scopeId", "data-v-4891bfa0"]]);
|
|
151163
151326
|
|
|
151164
151327
|
const _hoisted_1$1C = { class: "flex items-start gap-2" };
|
|
151165
151328
|
const _hoisted_2$1c = { class: "flex gap-2 justify-end mt-2 relative top-1" };
|
|
@@ -151270,10 +151433,41 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
151270
151433
|
)
|
|
151271
151434
|
);
|
|
151272
151435
|
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
|
+
});
|
|
151273
151454
|
const orderedAvailableSections = computed(() => {
|
|
151274
151455
|
if (enablePipeMultisearch.value && isPipeSearching.value) {
|
|
151275
151456
|
return availableSections.value;
|
|
151276
151457
|
}
|
|
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
|
+
}
|
|
151277
151471
|
const sorters = getOrderingConfiguration({ sortByMetadata: true });
|
|
151278
151472
|
return orderBy(
|
|
151279
151473
|
availableSections.value,
|
|
@@ -151488,6 +151682,9 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
151488
151682
|
);
|
|
151489
151683
|
else selectChunk();
|
|
151490
151684
|
}
|
|
151685
|
+
function handleSortChanged(sort) {
|
|
151686
|
+
currentSort.value = sort;
|
|
151687
|
+
}
|
|
151491
151688
|
function addItems(itemIds, position, targetIndex) {
|
|
151492
151689
|
const itemsToMove = addedSections.value.filter((section) => itemIds.includes(section.id));
|
|
151493
151690
|
let newItemsToAdd = availableSections.value.filter(
|
|
@@ -151782,6 +151979,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
151782
151979
|
"are-all-selected": areAllSelected.value,
|
|
151783
151980
|
"are-some-selected": areSomeSelected.value,
|
|
151784
151981
|
"current-page": currentPage.value,
|
|
151982
|
+
"current-sort": currentSort.value,
|
|
151785
151983
|
"disable-pagination": enablePipeMultisearch.value,
|
|
151786
151984
|
"first-page-total-displayed-items": firstPageTotalDisplayedSections.value ?? 0,
|
|
151787
151985
|
loading: isFetchingSections.value,
|
|
@@ -151796,8 +151994,9 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
151796
151994
|
onPageLast: fetchLastChunk,
|
|
151797
151995
|
onPageNext: fetchNextChunk,
|
|
151798
151996
|
onPagePrevious: fetchPreviousChunk,
|
|
151997
|
+
onSortChanged: handleSortChanged,
|
|
151799
151998
|
onToggleSelectAll: toggleSelectAll
|
|
151800
|
-
}, 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"])
|
|
151999
|
+
}, null, 8, ["added-item-ids", "are-all-selected", "are-some-selected", "current-page", "current-sort", "disable-pagination", "first-page-total-displayed-items", "loading", "page-size", "selected-item-ids", "total-items", "total-selected"])
|
|
151801
152000
|
], 64)) : createCommentVNode("", true)
|
|
151802
152001
|
], 512),
|
|
151803
152002
|
shouldShowSmartFolderView.value ? (openBlock(), createBlock(_sfc_main$4Q, {
|
|
@@ -151939,7 +152138,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
151939
152138
|
}
|
|
151940
152139
|
});
|
|
151941
152140
|
|
|
151942
|
-
const SectionSelectorWithDragAndDrop = /* @__PURE__ */ _export_sfc(_sfc_main$1_, [["__scopeId", "data-v-
|
|
152141
|
+
const SectionSelectorWithDragAndDrop = /* @__PURE__ */ _export_sfc(_sfc_main$1_, [["__scopeId", "data-v-6c0997dd"]]);
|
|
151943
152142
|
|
|
151944
152143
|
const _hoisted_1$1B = { class: "text-truncate font-bold font-size-4" };
|
|
151945
152144
|
const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
|