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