@pitcher/canvas-ui 2025.12.5-183733 → 2025.12.8-114937
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 +21 -21
- package/canvas-ui.js +619 -806
- package/canvas-ui.js.map +1 -1
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorToolbar.vue.d.ts +0 -12
- package/lib/types/launchDarkly.types.d.ts +1 -1
- package/locale/de.json +1 -4
- package/locale/el.json +1 -4
- package/locale/en.json +1 -4
- package/locale/es.json +1 -4
- package/locale/fr.json +1 -4
- package/locale/it.json +1 -4
- package/locale/ja.json +1 -4
- package/locale/nl.json +1 -4
- package/locale/pl.json +1 -4
- package/locale/pt-br.json +1 -4
- package/locale/pt.json +1 -4
- package/locale/th.json +1 -4
- package/locale/tr.json +1 -4
- package/locale/zh.json +1 -4
- package/package.json +1 -1
package/canvas-ui.js
CHANGED
|
@@ -79026,7 +79026,7 @@ const _hoisted_1$55 = {
|
|
|
79026
79026
|
class: "flex flex-col gap-4"
|
|
79027
79027
|
};
|
|
79028
79028
|
const _hoisted_2$3I = { key: 0 };
|
|
79029
|
-
const _hoisted_3$
|
|
79029
|
+
const _hoisted_3$2Y = { class: "flex flex-wrap gap-1" };
|
|
79030
79030
|
const _sfc_main$6C = /* @__PURE__ */ defineComponent({
|
|
79031
79031
|
__name: "CTags",
|
|
79032
79032
|
props: {
|
|
@@ -79212,7 +79212,7 @@ const _sfc_main$6C = /* @__PURE__ */ defineComponent({
|
|
|
79212
79212
|
}, 8, ["disabled", "max", "value"]),
|
|
79213
79213
|
_ctx.showSuggestedTags ? (openBlock(), createElementBlock("div", _hoisted_1$55, [
|
|
79214
79214
|
_ctx.suggestedTagsTitle ? (openBlock(), createElementBlock("div", _hoisted_2$3I, toDisplayString(_ctx.suggestedTagsTitle), 1)) : createCommentVNode("", true),
|
|
79215
|
-
createElementVNode("div", _hoisted_3$
|
|
79215
|
+
createElementVNode("div", _hoisted_3$2Y, [
|
|
79216
79216
|
(openBlock(true), createElementBlock(Fragment, null, renderList(options.value, (option) => {
|
|
79217
79217
|
return openBlock(), createBlock(_sfc_main$6D, {
|
|
79218
79218
|
key: option.value,
|
|
@@ -81113,8 +81113,8 @@ const TRACKING_EVENTS_STORAGE_KEY = "tracking_events";
|
|
|
81113
81113
|
|
|
81114
81114
|
const _hoisted_1$51 = { class: "flex flex-col gap-4" };
|
|
81115
81115
|
const _hoisted_2$3G = { class: "font-500 font-size-5" };
|
|
81116
|
-
const _hoisted_3$
|
|
81117
|
-
const _hoisted_4$
|
|
81116
|
+
const _hoisted_3$2X = { class: "flex flex-col" };
|
|
81117
|
+
const _hoisted_4$2l = { class: "font-size-[18px]" };
|
|
81118
81118
|
const _hoisted_5$1Y = { class: "font-size-[14px]" };
|
|
81119
81119
|
const _hoisted_6$1E = { class: "flex flex-col" };
|
|
81120
81120
|
const _hoisted_7$1f = { class: "font-size-[18px]" };
|
|
@@ -81309,8 +81309,8 @@ const _sfc_main$6l = /* @__PURE__ */ defineComponent({
|
|
|
81309
81309
|
icon: "bug",
|
|
81310
81310
|
size: "24px"
|
|
81311
81311
|
}),
|
|
81312
|
-
createElementVNode("div", _hoisted_3$
|
|
81313
|
-
createElementVNode("div", _hoisted_4$
|
|
81312
|
+
createElementVNode("div", _hoisted_3$2X, [
|
|
81313
|
+
createElementVNode("div", _hoisted_4$2l, toDisplayString(unref(t)("canvasUI.components.CFeedback.bug.title")), 1),
|
|
81314
81314
|
createElementVNode("div", _hoisted_5$1Y, toDisplayString(unref(t)("canvasUI.components.CFeedback.bug.subtitle")), 1)
|
|
81315
81315
|
])
|
|
81316
81316
|
]),
|
|
@@ -81406,8 +81406,8 @@ const _sfc_main$6j = /* @__PURE__ */ defineComponent({
|
|
|
81406
81406
|
|
|
81407
81407
|
const _hoisted_1$4_ = { class: "c-confirmation-modal__header" };
|
|
81408
81408
|
const _hoisted_2$3D = { class: "font-normal c-confirmation-modal__title" };
|
|
81409
|
-
const _hoisted_3$
|
|
81410
|
-
const _hoisted_4$
|
|
81409
|
+
const _hoisted_3$2W = { class: "mt-9 c-confirmation-modal__footer" };
|
|
81410
|
+
const _hoisted_4$2k = { class: "flex flex-grow flex-wrap justify-between" };
|
|
81411
81411
|
const _sfc_main$6i = /* @__PURE__ */ defineComponent({
|
|
81412
81412
|
__name: "CConfirmationModal",
|
|
81413
81413
|
props: {
|
|
@@ -81446,9 +81446,9 @@ const _sfc_main$6i = /* @__PURE__ */ defineComponent({
|
|
|
81446
81446
|
], true)
|
|
81447
81447
|
]),
|
|
81448
81448
|
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
81449
|
-
createElementVNode("div", _hoisted_3$
|
|
81449
|
+
createElementVNode("div", _hoisted_3$2W, [
|
|
81450
81450
|
renderSlot(_ctx.$slots, "footer", {}, () => [
|
|
81451
|
-
createElementVNode("div", _hoisted_4$
|
|
81451
|
+
createElementVNode("div", _hoisted_4$2k, [
|
|
81452
81452
|
_ctx.isCancel ? (openBlock(), createBlock(CButton, {
|
|
81453
81453
|
key: 0,
|
|
81454
81454
|
bordered: false,
|
|
@@ -81587,7 +81587,7 @@ const _sfc_main$6f = /* @__PURE__ */ defineComponent({
|
|
|
81587
81587
|
|
|
81588
81588
|
const _hoisted_1$4W = { class: "c-secondary-nav" };
|
|
81589
81589
|
const _hoisted_2$3B = { class: "c-secondary-nav__nav-items" };
|
|
81590
|
-
const _hoisted_3$
|
|
81590
|
+
const _hoisted_3$2V = { class: "c-secondary-nav__slot" };
|
|
81591
81591
|
const _sfc_main$6e = /* @__PURE__ */ defineComponent({
|
|
81592
81592
|
__name: "CSecondaryNav",
|
|
81593
81593
|
props: {
|
|
@@ -81625,7 +81625,7 @@ const _sfc_main$6e = /* @__PURE__ */ defineComponent({
|
|
|
81625
81625
|
}, 1032, ["style", "onClick"]);
|
|
81626
81626
|
}), 128))
|
|
81627
81627
|
]),
|
|
81628
|
-
createElementVNode("div", _hoisted_3$
|
|
81628
|
+
createElementVNode("div", _hoisted_3$2V, [
|
|
81629
81629
|
renderSlot(_ctx.$slots, "right", {}, void 0, true)
|
|
81630
81630
|
])
|
|
81631
81631
|
]);
|
|
@@ -81640,11 +81640,11 @@ const _hoisted_2$3A = {
|
|
|
81640
81640
|
key: 0,
|
|
81641
81641
|
class: "canvas-list-item__subtitle my-1"
|
|
81642
81642
|
};
|
|
81643
|
-
const _hoisted_3$
|
|
81643
|
+
const _hoisted_3$2U = {
|
|
81644
81644
|
key: 1,
|
|
81645
81645
|
class: "canvas-list-item__description mt-1"
|
|
81646
81646
|
};
|
|
81647
|
-
const _hoisted_4$
|
|
81647
|
+
const _hoisted_4$2j = { class: "flex items-center pr-3" };
|
|
81648
81648
|
const _sfc_main$6d = /* @__PURE__ */ defineComponent({
|
|
81649
81649
|
__name: "CCanvasSelectorListItem",
|
|
81650
81650
|
props: {
|
|
@@ -81678,9 +81678,9 @@ const _sfc_main$6d = /* @__PURE__ */ defineComponent({
|
|
|
81678
81678
|
class: normalizeClass(["canvas-list-item__title", { "canvas-list-item__title--selected": isSelected.value }])
|
|
81679
81679
|
}, toDisplayString(_ctx.canvas.name || "-"), 3),
|
|
81680
81680
|
_ctx.canvas.subtitle ? (openBlock(), createElementBlock("div", _hoisted_2$3A, toDisplayString(_ctx.canvas.subtitle), 1)) : createCommentVNode("", true),
|
|
81681
|
-
lastUsed.value && !_ctx.canvas.subtitle ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
81681
|
+
lastUsed.value && !_ctx.canvas.subtitle ? (openBlock(), createElementBlock("div", _hoisted_3$2U, toDisplayString(unref(t)("canvasUI.CCanvasSelector.edited")) + " " + toDisplayString(lastUsed.value), 1)) : createCommentVNode("", true)
|
|
81682
81682
|
]),
|
|
81683
|
-
createElementVNode("div", _hoisted_4$
|
|
81683
|
+
createElementVNode("div", _hoisted_4$2j, [
|
|
81684
81684
|
isSelected.value ? (openBlock(), createBlock(CIcon, {
|
|
81685
81685
|
key: 0,
|
|
81686
81686
|
"fa-type": "fas",
|
|
@@ -81708,8 +81708,8 @@ var CanvasStatus = /* @__PURE__ */ ((CanvasStatus2) => {
|
|
|
81708
81708
|
|
|
81709
81709
|
const _hoisted_1$4U = { class: "c-canvas-selector flex flex-col w-full" };
|
|
81710
81710
|
const _hoisted_2$3z = { class: "my-4" };
|
|
81711
|
-
const _hoisted_3$
|
|
81712
|
-
const _hoisted_4$
|
|
81711
|
+
const _hoisted_3$2T = { class: "flex flex-col h-full overflow-auto" };
|
|
81712
|
+
const _hoisted_4$2i = {
|
|
81713
81713
|
key: 0,
|
|
81714
81714
|
class: "c-canvas-selector__list-title mb-1"
|
|
81715
81715
|
};
|
|
@@ -81777,8 +81777,8 @@ const _sfc_main$6c = /* @__PURE__ */ defineComponent({
|
|
|
81777
81777
|
class: "mb-3",
|
|
81778
81778
|
onSelectCanvas: onCanvasSelect
|
|
81779
81779
|
}, null, 8, ["active-canvas-id", "canvas"])) : createCommentVNode("", true),
|
|
81780
|
-
createElementVNode("div", _hoisted_3$
|
|
81781
|
-
_ctx.canvases?.length ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
81780
|
+
createElementVNode("div", _hoisted_3$2T, [
|
|
81781
|
+
_ctx.canvases?.length ? (openBlock(), createElementBlock("div", _hoisted_4$2i, toDisplayString(unref(t)("canvasUI.CCanvasSelector.lastUsed")), 1)) : createCommentVNode("", true),
|
|
81782
81782
|
createVNode(_sfc_main$6o, {
|
|
81783
81783
|
class: "h-full",
|
|
81784
81784
|
show: _ctx.isLoading
|
|
@@ -81815,11 +81815,11 @@ const CCanvasSelector = /* @__PURE__ */ _export_sfc(_sfc_main$6c, [["__scopeId",
|
|
|
81815
81815
|
|
|
81816
81816
|
const _hoisted_1$4T = { class: "h-full b-rounded-1 contact-selector__selected px-4 py-2 flex flex-col" };
|
|
81817
81817
|
const _hoisted_2$3y = { class: "flex items-center mb-1 contact-selector__selected-header" };
|
|
81818
|
-
const _hoisted_3$
|
|
81818
|
+
const _hoisted_3$2S = {
|
|
81819
81819
|
key: 0,
|
|
81820
81820
|
class: "ml-a"
|
|
81821
81821
|
};
|
|
81822
|
-
const _hoisted_4$
|
|
81822
|
+
const _hoisted_4$2h = {
|
|
81823
81823
|
key: 0,
|
|
81824
81824
|
class: "flex items-center cursor-grab contact-selector__drag-grip"
|
|
81825
81825
|
};
|
|
@@ -81923,7 +81923,7 @@ const _sfc_main$6b = /* @__PURE__ */ defineComponent({
|
|
|
81923
81923
|
]),
|
|
81924
81924
|
_: 1
|
|
81925
81925
|
}, 8, ["class"]),
|
|
81926
|
-
selectedItems.value && _ctx.simpleView && _ctx.allowAccountChange ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
81926
|
+
selectedItems.value && _ctx.simpleView && _ctx.allowAccountChange ? (openBlock(), createElementBlock("div", _hoisted_3$2S, [
|
|
81927
81927
|
createVNode(CButton, {
|
|
81928
81928
|
disabled: _ctx.loading,
|
|
81929
81929
|
quaternary: "",
|
|
@@ -81945,7 +81945,7 @@ const _sfc_main$6b = /* @__PURE__ */ defineComponent({
|
|
|
81945
81945
|
createElementVNode("div", {
|
|
81946
81946
|
class: normalizeClass(["flex contact-selector__list-items", { "calendar-drag-list": _ctx.isDraggable }])
|
|
81947
81947
|
}, [
|
|
81948
|
-
selectedItems.value && _ctx.isDraggable ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
81948
|
+
selectedItems.value && _ctx.isDraggable ? (openBlock(), createElementBlock("div", _hoisted_4$2h, [
|
|
81949
81949
|
createVNode(CIcon, {
|
|
81950
81950
|
class: "pl-1 pr-3",
|
|
81951
81951
|
color: unref(themeVars).primary4,
|
|
@@ -82172,8 +82172,8 @@ const _hoisted_1$4S = {
|
|
|
82172
82172
|
class: "account-list-item w-full pb-3"
|
|
82173
82173
|
};
|
|
82174
82174
|
const _hoisted_2$3x = { class: "account-list-item__content b-rounded-1 overflow-hidden" };
|
|
82175
|
-
const _hoisted_3$
|
|
82176
|
-
const _hoisted_4$
|
|
82175
|
+
const _hoisted_3$2R = ["aria-label"];
|
|
82176
|
+
const _hoisted_4$2g = { class: "account-header__left" };
|
|
82177
82177
|
const _hoisted_5$1V = { class: "account-header__content truncate" };
|
|
82178
82178
|
const _hoisted_6$1B = ["innerHTML"];
|
|
82179
82179
|
const _hoisted_7$1c = {
|
|
@@ -82283,7 +82283,7 @@ const _sfc_main$6a = /* @__PURE__ */ defineComponent({
|
|
|
82283
82283
|
class: normalizeClass(["account-header select-none flex items-center", { "cursor-pointer": !!_ctx.contacts?.length }]),
|
|
82284
82284
|
onClick: onCollapse
|
|
82285
82285
|
}, [
|
|
82286
|
-
createElementVNode("div", _hoisted_4$
|
|
82286
|
+
createElementVNode("div", _hoisted_4$2g, [
|
|
82287
82287
|
_ctx.contacts?.length ? (openBlock(), createBlock(CIcon, {
|
|
82288
82288
|
key: 0,
|
|
82289
82289
|
class: "mx-3",
|
|
@@ -82333,7 +82333,7 @@ const _sfc_main$6a = /* @__PURE__ */ defineComponent({
|
|
|
82333
82333
|
}, 8, ["aria-label", "class", "disabled"])
|
|
82334
82334
|
])
|
|
82335
82335
|
])
|
|
82336
|
-
], 10, _hoisted_3$
|
|
82336
|
+
], 10, _hoisted_3$2R),
|
|
82337
82337
|
!collapsed.value ? (openBlock(), createElementBlock("div", _hoisted_12$r, [
|
|
82338
82338
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.contacts, (contact) => {
|
|
82339
82339
|
return openBlock(), createElementBlock("div", {
|
|
@@ -82641,8 +82641,8 @@ const CContactSelectorAccountsWithContacts = /* @__PURE__ */ _export_sfc(__defau
|
|
|
82641
82641
|
|
|
82642
82642
|
const _hoisted_1$4Q = { class: "pb-3" };
|
|
82643
82643
|
const _hoisted_2$3w = { class: "c-contact-selector__colleague-item flex items-center b-rounded-1" };
|
|
82644
|
-
const _hoisted_3$
|
|
82645
|
-
const _hoisted_4$
|
|
82644
|
+
const _hoisted_3$2Q = { class: "c-contact-selector__colleague-item__left" };
|
|
82645
|
+
const _hoisted_4$2f = { class: "c-contact-selector__colleague-item__content" };
|
|
82646
82646
|
const _hoisted_5$1U = ["innerHTML"];
|
|
82647
82647
|
const _hoisted_6$1A = {
|
|
82648
82648
|
key: 0,
|
|
@@ -82710,7 +82710,7 @@ const _sfc_main$69 = /* @__PURE__ */ defineComponent({
|
|
|
82710
82710
|
default: withCtx(({ item: colleague }) => [
|
|
82711
82711
|
createElementVNode("div", _hoisted_1$4Q, [
|
|
82712
82712
|
createElementVNode("div", _hoisted_2$3w, [
|
|
82713
|
-
createElementVNode("div", _hoisted_3$
|
|
82713
|
+
createElementVNode("div", _hoisted_3$2Q, [
|
|
82714
82714
|
createVNode(CIcon, {
|
|
82715
82715
|
class: "mx-4",
|
|
82716
82716
|
color: unref(themeVars).primary4,
|
|
@@ -82718,7 +82718,7 @@ const _sfc_main$69 = /* @__PURE__ */ defineComponent({
|
|
|
82718
82718
|
size: 16
|
|
82719
82719
|
}, null, 8, ["color"])
|
|
82720
82720
|
]),
|
|
82721
|
-
createElementVNode("div", _hoisted_4$
|
|
82721
|
+
createElementVNode("div", _hoisted_4$2f, [
|
|
82722
82722
|
createElementVNode("div", {
|
|
82723
82723
|
class: "font-600 underline truncate",
|
|
82724
82724
|
innerHTML: unref(highlight)(colleague.FirstName + " " + colleague.LastName, _ctx.search)
|
|
@@ -83224,8 +83224,8 @@ const _hoisted_2$3t = {
|
|
|
83224
83224
|
class: "flex flex-col w-full max-w-[calc(100%-18px)] py-1",
|
|
83225
83225
|
style: { letterSpacing: "0px" }
|
|
83226
83226
|
};
|
|
83227
|
-
const _hoisted_3$
|
|
83228
|
-
const _hoisted_4$
|
|
83227
|
+
const _hoisted_3$2P = { class: "font-bold" };
|
|
83228
|
+
const _hoisted_4$2e = { class: "font-bold" };
|
|
83229
83229
|
const _hoisted_5$1T = { key: 0 };
|
|
83230
83230
|
const _hoisted_6$1z = { class: "underline underline-solid cursor-pointer select-none c-create-canvas-model-templates-select-option__more-tags" };
|
|
83231
83231
|
const _hoisted_7$1a = {
|
|
@@ -83261,7 +83261,7 @@ const _sfc_main$64 = /* @__PURE__ */ defineComponent({
|
|
|
83261
83261
|
return (_ctx, _cache) => {
|
|
83262
83262
|
return openBlock(), createElementBlock("div", _hoisted_1$4N, [
|
|
83263
83263
|
createElementVNode("div", _hoisted_2$3t, [
|
|
83264
|
-
createElementVNode("div", _hoisted_3$
|
|
83264
|
+
createElementVNode("div", _hoisted_3$2P, toDisplayString(_ctx.option.label), 1),
|
|
83265
83265
|
createElementVNode("div", null, [
|
|
83266
83266
|
!_ctx.isBlank ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
83267
83267
|
tags.value.length ? (openBlock(), createElementBlock("div", {
|
|
@@ -83269,7 +83269,7 @@ const _sfc_main$64 = /* @__PURE__ */ defineComponent({
|
|
|
83269
83269
|
class: "flex flex-wrap items-center gap-1 font-size-3",
|
|
83270
83270
|
style: normalizeStyle({ color: unref(themeVars).text2 })
|
|
83271
83271
|
}, [
|
|
83272
|
-
createElementVNode("div", _hoisted_4$
|
|
83272
|
+
createElementVNode("div", _hoisted_4$2e, toDisplayString(unref(t)("canvasUI.CCreateCanvasModal.tags")), 1),
|
|
83273
83273
|
(openBlock(true), createElementBlock(Fragment, null, renderList(tags.value, (tag, index) => {
|
|
83274
83274
|
return openBlock(), createElementBlock("div", {
|
|
83275
83275
|
key: index,
|
|
@@ -84078,7 +84078,7 @@ const _hoisted_2$3s = {
|
|
|
84078
84078
|
key: 1,
|
|
84079
84079
|
class: "mt-2 text-xs font-normal leading-5"
|
|
84080
84080
|
};
|
|
84081
|
-
const _hoisted_3$
|
|
84081
|
+
const _hoisted_3$2O = { key: 0 };
|
|
84082
84082
|
const _sfc_main$61 = /* @__PURE__ */ defineComponent({
|
|
84083
84083
|
__name: "CSlider",
|
|
84084
84084
|
props: {
|
|
@@ -84121,7 +84121,7 @@ const _sfc_main$61 = /* @__PURE__ */ defineComponent({
|
|
|
84121
84121
|
value: _ctx.value
|
|
84122
84122
|
}, null, 8, ["disabled", "format-tooltip", "max", "min", "on-update:value", "placement", "step", "style", "value"]),
|
|
84123
84123
|
_ctx.helpText || unref(slots).helpText ? (openBlock(), createElementBlock("div", _hoisted_2$3s, [
|
|
84124
|
-
_ctx.helpText ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
84124
|
+
_ctx.helpText ? (openBlock(), createElementBlock("span", _hoisted_3$2O, toDisplayString(_ctx.helpText), 1)) : unref(slots).helpText ? renderSlot(_ctx.$slots, "helpText", { key: 1 }) : createCommentVNode("", true)
|
|
84125
84125
|
])) : createCommentVNode("", true)
|
|
84126
84126
|
]);
|
|
84127
84127
|
};
|
|
@@ -85247,8 +85247,8 @@ function getExcessItemsIndexes(arrA, arrB) {
|
|
|
85247
85247
|
|
|
85248
85248
|
const _hoisted_1$4L = { class: "flex items-center gap-2 w-full" };
|
|
85249
85249
|
const _hoisted_2$3r = { class: "flex flex-col items-center gap-2 w-full" };
|
|
85250
|
-
const _hoisted_3$
|
|
85251
|
-
const _hoisted_4$
|
|
85250
|
+
const _hoisted_3$2N = { class: "mt-3" };
|
|
85251
|
+
const _hoisted_4$2d = { key: 1 };
|
|
85252
85252
|
const _hoisted_5$1S = {
|
|
85253
85253
|
key: 1,
|
|
85254
85254
|
class: "text-sm color-error"
|
|
@@ -85485,7 +85485,7 @@ const _sfc_main$5$ = /* @__PURE__ */ defineComponent({
|
|
|
85485
85485
|
size: "26px"
|
|
85486
85486
|
})
|
|
85487
85487
|
]),
|
|
85488
|
-
createElementVNode("div", _hoisted_3$
|
|
85488
|
+
createElementVNode("div", _hoisted_3$2N, toDisplayString(unref(t)("canvasUI.CThemeSettingsStep.uploadHint")), 1)
|
|
85489
85489
|
]),
|
|
85490
85490
|
_: 1
|
|
85491
85491
|
})
|
|
@@ -85500,7 +85500,7 @@ const _sfc_main$5$ = /* @__PURE__ */ defineComponent({
|
|
|
85500
85500
|
isSaving.value ? (openBlock(), createBlock(unref(NSpin), {
|
|
85501
85501
|
key: 0,
|
|
85502
85502
|
size: "small"
|
|
85503
|
-
})) : (openBlock(), createElementBlock("span", _hoisted_4$
|
|
85503
|
+
})) : (openBlock(), createElementBlock("span", _hoisted_4$2d, toDisplayString(unref(t)("canvasUI.CThemeSettingsStep.uploadFont")), 1))
|
|
85504
85504
|
]),
|
|
85505
85505
|
_: 1
|
|
85506
85506
|
})) : createCommentVNode("", true),
|
|
@@ -85825,8 +85825,8 @@ function useSharedTranslations() {
|
|
|
85825
85825
|
|
|
85826
85826
|
const _hoisted_1$4I = { class: "c-typography-configurator-item flex flex-col gap-2" };
|
|
85827
85827
|
const _hoisted_2$3q = { class: "font-bold" };
|
|
85828
|
-
const _hoisted_3$
|
|
85829
|
-
const _hoisted_4$
|
|
85828
|
+
const _hoisted_3$2M = { class: "flex gap-2" };
|
|
85829
|
+
const _hoisted_4$2c = { class: "flex flex-col gap-2" };
|
|
85830
85830
|
const _hoisted_5$1R = { class: "flex gap-2" };
|
|
85831
85831
|
const _sfc_main$5X = /* @__PURE__ */ defineComponent({
|
|
85832
85832
|
__name: "CTypographyConfiguratorItem",
|
|
@@ -85880,7 +85880,7 @@ const _sfc_main$5X = /* @__PURE__ */ defineComponent({
|
|
|
85880
85880
|
value: _ctx.item.font_family,
|
|
85881
85881
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => updateItem("font_family", $event))
|
|
85882
85882
|
}, null, 8, ["options", "placeholder", "value"]),
|
|
85883
|
-
createElementVNode("div", _hoisted_3$
|
|
85883
|
+
createElementVNode("div", _hoisted_3$2M, [
|
|
85884
85884
|
createVNode(CSelect, {
|
|
85885
85885
|
bordered: "",
|
|
85886
85886
|
class: "w-1/2",
|
|
@@ -85913,7 +85913,7 @@ const _sfc_main$5X = /* @__PURE__ */ defineComponent({
|
|
|
85913
85913
|
title: unref(t)("canvasUI.CTypographyConfiguratorItem.advancedSettings")
|
|
85914
85914
|
}, {
|
|
85915
85915
|
default: withCtx(() => [
|
|
85916
|
-
createElementVNode("div", _hoisted_4$
|
|
85916
|
+
createElementVNode("div", _hoisted_4$2c, [
|
|
85917
85917
|
createElementVNode("div", _hoisted_5$1R, [
|
|
85918
85918
|
createElementVNode("div", null, [
|
|
85919
85919
|
createVNode(_sfc_main$5Y, {
|
|
@@ -86047,8 +86047,8 @@ const _hoisted_2$3p = {
|
|
|
86047
86047
|
key: 0,
|
|
86048
86048
|
class: "flex items-center gap-2 border rounded overflow-hidden shadow-sm p-2"
|
|
86049
86049
|
};
|
|
86050
|
-
const _hoisted_3$
|
|
86051
|
-
const _hoisted_4$
|
|
86050
|
+
const _hoisted_3$2L = { class: "w-[60px] h-[60px] bg-gray-50 flex items-center justify-center flex-shrink-0" };
|
|
86051
|
+
const _hoisted_4$2b = ["src"];
|
|
86052
86052
|
const _hoisted_5$1Q = { class: "flex-1 min-w-0 flex items-center" };
|
|
86053
86053
|
const _hoisted_6$1y = { class: "text-sm color-text truncate max-w-[calc(100%-70px)]" };
|
|
86054
86054
|
const _hoisted_7$19 = { class: "flex gap-1 ml-auto flex-shrink-0" };
|
|
@@ -86201,12 +86201,12 @@ const _sfc_main$5U = /* @__PURE__ */ defineComponent({
|
|
|
86201
86201
|
default: withCtx(() => [
|
|
86202
86202
|
createElementVNode("div", _hoisted_1$4G, [
|
|
86203
86203
|
_ctx.modelValue.logo ? (openBlock(), createElementBlock("div", _hoisted_2$3p, [
|
|
86204
|
-
createElementVNode("div", _hoisted_3$
|
|
86204
|
+
createElementVNode("div", _hoisted_3$2L, [
|
|
86205
86205
|
createElementVNode("img", {
|
|
86206
86206
|
alt: "Logo",
|
|
86207
86207
|
class: "max-h-[50px] max-w-[50px] object-contain",
|
|
86208
86208
|
src: _ctx.modelValue.logo.url
|
|
86209
|
-
}, null, 8, _hoisted_4$
|
|
86209
|
+
}, null, 8, _hoisted_4$2b)
|
|
86210
86210
|
]),
|
|
86211
86211
|
createElementVNode("div", _hoisted_5$1Q, [
|
|
86212
86212
|
createElementVNode("span", _hoisted_6$1y, toDisplayString(_ctx.modelValue.logo.name), 1),
|
|
@@ -86329,7 +86329,7 @@ const _sfc_main$5U = /* @__PURE__ */ defineComponent({
|
|
|
86329
86329
|
|
|
86330
86330
|
const _hoisted_1$4F = { key: 0 };
|
|
86331
86331
|
const _hoisted_2$3o = { class: "flex justify-between gap-2 w-full" };
|
|
86332
|
-
const _hoisted_3$
|
|
86332
|
+
const _hoisted_3$2K = { class: "flex gap-2" };
|
|
86333
86333
|
const _sfc_main$5T = /* @__PURE__ */ defineComponent({
|
|
86334
86334
|
__name: "CCreateThemeModal",
|
|
86335
86335
|
props: {
|
|
@@ -86419,7 +86419,7 @@ const _sfc_main$5T = /* @__PURE__ */ defineComponent({
|
|
|
86419
86419
|
]),
|
|
86420
86420
|
_: 1
|
|
86421
86421
|
}),
|
|
86422
|
-
createElementVNode("div", _hoisted_3$
|
|
86422
|
+
createElementVNode("div", _hoisted_3$2K, [
|
|
86423
86423
|
currentStep.value > 1 ? (openBlock(), createBlock(CButton, {
|
|
86424
86424
|
key: 0,
|
|
86425
86425
|
loading: _ctx.isLoading,
|
|
@@ -86727,8 +86727,8 @@ function useFolderNameDescription() {
|
|
|
86727
86727
|
|
|
86728
86728
|
const _hoisted_1$4B = { class: "flex flex-col p-2 gap-2 justify-center overflow-hidden" };
|
|
86729
86729
|
const _hoisted_2$3n = { class: "overflow-hidden flex items-center gap-2" };
|
|
86730
|
-
const _hoisted_3$
|
|
86731
|
-
const _hoisted_4$
|
|
86730
|
+
const _hoisted_3$2J = { class: "c-result__title font-bold truncate" };
|
|
86731
|
+
const _hoisted_4$2a = {
|
|
86732
86732
|
key: 1,
|
|
86733
86733
|
class: "truncate color-text2 font-size-[14px]"
|
|
86734
86734
|
};
|
|
@@ -86803,7 +86803,7 @@ const _sfc_main$5P = /* @__PURE__ */ defineComponent({
|
|
|
86803
86803
|
size: 12
|
|
86804
86804
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
86805
86805
|
createElementVNode("div", null, [
|
|
86806
|
-
createElementVNode("div", _hoisted_3$
|
|
86806
|
+
createElementVNode("div", _hoisted_3$2J, toDisplayString(_ctx.item.name), 1),
|
|
86807
86807
|
_ctx.item.folder && _ctx.item.folder.id !== _ctx.rootFolderId ? (openBlock(), createElementBlock("div", {
|
|
86808
86808
|
key: 0,
|
|
86809
86809
|
class: "inline-flex items-center gap-1 color-text2 font-size-[14px] leading-trim-both text-edge-cap font-normal leading-normal tracking-[0.4px]",
|
|
@@ -86811,7 +86811,7 @@ const _sfc_main$5P = /* @__PURE__ */ defineComponent({
|
|
|
86811
86811
|
}, [
|
|
86812
86812
|
createVNode(CIcon, { icon: "folder" }),
|
|
86813
86813
|
createTextVNode(" " + toDisplayString(folderDisplayName.value), 1)
|
|
86814
|
-
])) : appItem.value?.description ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
86814
|
+
])) : appItem.value?.description ? (openBlock(), createElementBlock("div", _hoisted_4$2a, toDisplayString(appItem.value.description), 1)) : createCommentVNode("", true)
|
|
86815
86815
|
])
|
|
86816
86816
|
]),
|
|
86817
86817
|
_ctx.item.headline ? (openBlock(), createElementBlock("div", {
|
|
@@ -86837,8 +86837,8 @@ const CResult = /* @__PURE__ */ _export_sfc(_sfc_main$5P, [["__scopeId", "data-v
|
|
|
86837
86837
|
|
|
86838
86838
|
const _hoisted_1$4A = { class: "c-result-section flex flex-col gap-2" };
|
|
86839
86839
|
const _hoisted_2$3m = { class: "c-result-section__header flex items-center gap-4 justify-between" };
|
|
86840
|
-
const _hoisted_3$
|
|
86841
|
-
const _hoisted_4$
|
|
86840
|
+
const _hoisted_3$2I = { class: "flex items-center gap-2 truncate" };
|
|
86841
|
+
const _hoisted_4$29 = { class: "title__text truncate" };
|
|
86842
86842
|
const _hoisted_5$1O = { class: "align-right truncate" };
|
|
86843
86843
|
const _hoisted_6$1x = { class: "flex flex-col gap-2" };
|
|
86844
86844
|
const _sfc_main$5O = /* @__PURE__ */ defineComponent({
|
|
@@ -86859,12 +86859,12 @@ const _sfc_main$5O = /* @__PURE__ */ defineComponent({
|
|
|
86859
86859
|
return (_ctx, _cache) => {
|
|
86860
86860
|
return openBlock(), createElementBlock("section", _hoisted_1$4A, [
|
|
86861
86861
|
createElementVNode("header", _hoisted_2$3m, [
|
|
86862
|
-
createElementVNode("div", _hoisted_3$
|
|
86862
|
+
createElementVNode("div", _hoisted_3$2I, [
|
|
86863
86863
|
createVNode(CIcon, {
|
|
86864
86864
|
icon: _ctx.icon,
|
|
86865
86865
|
size: 12
|
|
86866
86866
|
}, null, 8, ["icon"]),
|
|
86867
|
-
createElementVNode("strong", _hoisted_4$
|
|
86867
|
+
createElementVNode("strong", _hoisted_4$29, toDisplayString(_ctx.title) + " (" + toDisplayString(_ctx.quantity) + ")", 1)
|
|
86868
86868
|
]),
|
|
86869
86869
|
createElementVNode("span", _hoisted_5$1O, [
|
|
86870
86870
|
createTextVNode(toDisplayString(unref(t)("canvasUI.CGlobalSearch.foundIn")) + " ", 1),
|
|
@@ -86889,7 +86889,7 @@ const _hoisted_2$3l = {
|
|
|
86889
86889
|
key: 0,
|
|
86890
86890
|
class: "c-global-search-results__no-results text-center items-center p-4 flex flex-col gap-2 border-rounded-1"
|
|
86891
86891
|
};
|
|
86892
|
-
const _hoisted_3$
|
|
86892
|
+
const _hoisted_3$2H = {
|
|
86893
86893
|
key: 1,
|
|
86894
86894
|
class: "flex flex-col gap-4"
|
|
86895
86895
|
};
|
|
@@ -87006,7 +87006,7 @@ const _sfc_main$5N = /* @__PURE__ */ defineComponent({
|
|
|
87006
87006
|
icon: "radar"
|
|
87007
87007
|
}),
|
|
87008
87008
|
createTextVNode(" " + toDisplayString(unref(t)("canvasUI.CGlobalSearch.noResults")), 1)
|
|
87009
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
87009
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_3$2H, [
|
|
87010
87010
|
(openBlock(true), createElementBlock(Fragment, null, renderList(sections.value, (section) => {
|
|
87011
87011
|
return openBlock(), createBlock(CResultSection, {
|
|
87012
87012
|
key: section.icon,
|
|
@@ -87110,7 +87110,7 @@ const _sfc_main$5M = /* @__PURE__ */ defineComponent({
|
|
|
87110
87110
|
|
|
87111
87111
|
const _hoisted_1$4x = { class: "mb-2" };
|
|
87112
87112
|
const _hoisted_2$3k = { class: "text-body-2 font-400 mb-1" };
|
|
87113
|
-
const _hoisted_3$
|
|
87113
|
+
const _hoisted_3$2G = { class: "flex justify-between items-center" };
|
|
87114
87114
|
const _sfc_main$5L = /* @__PURE__ */ defineComponent({
|
|
87115
87115
|
__name: "CRenameModal",
|
|
87116
87116
|
props: {
|
|
@@ -87186,7 +87186,7 @@ const _sfc_main$5L = /* @__PURE__ */ defineComponent({
|
|
|
87186
87186
|
class: "text-sm mb-6",
|
|
87187
87187
|
style: normalizeStyle({ color: unref(themeVars).text3 })
|
|
87188
87188
|
}, toDisplayString(description.value), 5)) : createCommentVNode("", true),
|
|
87189
|
-
createElementVNode("div", _hoisted_3$
|
|
87189
|
+
createElementVNode("div", _hoisted_3$2G, [
|
|
87190
87190
|
createVNode(CButton, { onClick: onCancel }, {
|
|
87191
87191
|
default: withCtx(() => [
|
|
87192
87192
|
createTextVNode(toDisplayString(cancelText.value), 1)
|
|
@@ -94132,8 +94132,8 @@ function isEmbeddableWithZeroHeight(component) {
|
|
|
94132
94132
|
|
|
94133
94133
|
const _hoisted_1$4w = { class: "flex items-center gap-2 c-component-list-item relative" };
|
|
94134
94134
|
const _hoisted_2$3j = { class: "flex flex-col min-h-8" };
|
|
94135
|
-
const _hoisted_3$
|
|
94136
|
-
const _hoisted_4$
|
|
94135
|
+
const _hoisted_3$2F = { class: "overflow-hidden" };
|
|
94136
|
+
const _hoisted_4$28 = {
|
|
94137
94137
|
key: 0,
|
|
94138
94138
|
class: "description"
|
|
94139
94139
|
};
|
|
@@ -94275,7 +94275,7 @@ const _sfc_main$5K = /* @__PURE__ */ defineComponent({
|
|
|
94275
94275
|
icon: unref(icon).name,
|
|
94276
94276
|
size: _ctx.description ? 24 : 16
|
|
94277
94277
|
}, null, 8, ["color", "fa-type", "icon", "size"])),
|
|
94278
|
-
createElementVNode("div", _hoisted_3$
|
|
94278
|
+
createElementVNode("div", _hoisted_3$2F, [
|
|
94279
94279
|
withDirectives((openBlock(), createElementBlock("div", {
|
|
94280
94280
|
class: "title font-500 text-truncate",
|
|
94281
94281
|
style: normalizeStyle({ fontSize: _ctx.description ? "18px" : "14px" })
|
|
@@ -94284,7 +94284,7 @@ const _sfc_main$5K = /* @__PURE__ */ defineComponent({
|
|
|
94284
94284
|
], 4)), [
|
|
94285
94285
|
[_directive_tooltip, displayTitle.value]
|
|
94286
94286
|
]),
|
|
94287
|
-
_ctx.description ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
94287
|
+
_ctx.description ? (openBlock(), createElementBlock("div", _hoisted_4$28, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true)
|
|
94288
94288
|
]),
|
|
94289
94289
|
hasChildren.value ? (openBlock(), createBlock(CButton, {
|
|
94290
94290
|
key: 2,
|
|
@@ -94367,7 +94367,7 @@ const _hoisted_1$4v = {
|
|
|
94367
94367
|
class: "c-metadata-badge inline-block"
|
|
94368
94368
|
};
|
|
94369
94369
|
const _hoisted_2$3i = ["innerHTML"];
|
|
94370
|
-
const _hoisted_3$
|
|
94370
|
+
const _hoisted_3$2E = { key: 1 };
|
|
94371
94371
|
const _sfc_main$5J = /* @__PURE__ */ defineComponent({
|
|
94372
94372
|
__name: "CMetaDataBadge",
|
|
94373
94373
|
props: {
|
|
@@ -94393,7 +94393,7 @@ const _sfc_main$5J = /* @__PURE__ */ defineComponent({
|
|
|
94393
94393
|
_ctx.highlightText ? (openBlock(), createElementBlock("span", {
|
|
94394
94394
|
key: 0,
|
|
94395
94395
|
innerHTML: unref(highlight)(String(_ctx.value), _ctx.highlightText)
|
|
94396
|
-
}, null, 8, _hoisted_2$3i)) : (openBlock(), createElementBlock("span", _hoisted_3$
|
|
94396
|
+
}, null, 8, _hoisted_2$3i)) : (openBlock(), createElementBlock("span", _hoisted_3$2E, toDisplayString(_ctx.value), 1))
|
|
94397
94397
|
], 64)) : createCommentVNode("", true)
|
|
94398
94398
|
]),
|
|
94399
94399
|
_: 1
|
|
@@ -94499,121 +94499,125 @@ function useCoreApi() {
|
|
|
94499
94499
|
|
|
94500
94500
|
const _hoisted_1$4u = { class: "px-0 pt-2 pb-0 border-b border-gray-200" };
|
|
94501
94501
|
const _hoisted_2$3h = { class: "relative" };
|
|
94502
|
-
const _hoisted_3$
|
|
94503
|
-
const _hoisted_4$
|
|
94502
|
+
const _hoisted_3$2D = ["placeholder"];
|
|
94503
|
+
const _hoisted_4$27 = ["onClick"];
|
|
94504
94504
|
const _hoisted_5$1M = {
|
|
94505
94505
|
key: 1,
|
|
94506
94506
|
class: "flex items-center mt-4"
|
|
94507
94507
|
};
|
|
94508
|
-
const _hoisted_6$1w = { class: "flex space-x-0" };
|
|
94508
|
+
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
|
+
key: 1,
|
|
94512
|
+
class: "h-16px w-1px bg-gray-300 mx-2"
|
|
94513
|
+
};
|
|
94514
|
+
const _hoisted_9$O = {
|
|
94511
94515
|
key: 0,
|
|
94512
94516
|
class: "flex items-center space-x-1 ml-2"
|
|
94513
94517
|
};
|
|
94514
|
-
const
|
|
94515
|
-
const
|
|
94516
|
-
const
|
|
94517
|
-
const
|
|
94518
|
-
const
|
|
94518
|
+
const _hoisted_10$C = { class: "flex items-center" };
|
|
94519
|
+
const _hoisted_11$x = { key: 0 };
|
|
94520
|
+
const _hoisted_12$p = { class: "c-select-filter__popover w-[350px] rounded flex flex-col bg-base" };
|
|
94521
|
+
const _hoisted_13$k = { class: "pa-2 max-h-[300px] overflow-y-auto" };
|
|
94522
|
+
const _hoisted_14$h = {
|
|
94519
94523
|
key: 0,
|
|
94520
94524
|
class: "flex items-center ml-2"
|
|
94521
94525
|
};
|
|
94522
|
-
const
|
|
94526
|
+
const _hoisted_15$f = {
|
|
94523
94527
|
key: 0,
|
|
94524
94528
|
class: "flex items-center ml-2"
|
|
94525
94529
|
};
|
|
94526
|
-
const
|
|
94527
|
-
const
|
|
94530
|
+
const _hoisted_16$e = { class: "flex flex-col w-full flex-1 min-h-0" };
|
|
94531
|
+
const _hoisted_17$c = {
|
|
94528
94532
|
key: 0,
|
|
94529
94533
|
class: "flex-1 overflow-y-auto bg-white w-full pl-1 pr-6 py-0"
|
|
94530
94534
|
};
|
|
94531
|
-
const
|
|
94532
|
-
const
|
|
94533
|
-
const
|
|
94534
|
-
const
|
|
94535
|
-
const
|
|
94536
|
-
const
|
|
94537
|
-
const
|
|
94535
|
+
const _hoisted_18$a = { class: "space-y-1 mt-4" };
|
|
94536
|
+
const _hoisted_19$a = ["onClick"];
|
|
94537
|
+
const _hoisted_20$9 = { class: "text-sm text-gray-700" };
|
|
94538
|
+
const _hoisted_21$7 = { class: "flex items-center mb-0" };
|
|
94539
|
+
const _hoisted_22$5 = { class: "text-sm font-bold text-gray-700" };
|
|
94540
|
+
const _hoisted_23$5 = ["onClick"];
|
|
94541
|
+
const _hoisted_24$5 = {
|
|
94538
94542
|
key: 0,
|
|
94539
94543
|
class: "relative mr-4"
|
|
94540
94544
|
};
|
|
94541
|
-
const
|
|
94545
|
+
const _hoisted_25$5 = {
|
|
94542
94546
|
key: 0,
|
|
94543
94547
|
class: "absolute inset-0 flex items-center justify-center bg-gray-200 bg-opacity-75 border-rounded-1"
|
|
94544
94548
|
};
|
|
94545
|
-
const
|
|
94549
|
+
const _hoisted_26$5 = {
|
|
94546
94550
|
key: 1,
|
|
94547
94551
|
class: "w-18 h-14 border-rounded-1 mr-4 flex-shrink-0 bg-gray-200 flex items-center justify-center"
|
|
94548
94552
|
};
|
|
94549
|
-
const
|
|
94550
|
-
const
|
|
94551
|
-
const
|
|
94552
|
-
const
|
|
94553
|
+
const _hoisted_27$5 = { class: "flex-1 min-w-0" };
|
|
94554
|
+
const _hoisted_28$5 = { class: "text-sm font-bold text-gray-900 truncate mb-1" };
|
|
94555
|
+
const _hoisted_29$5 = { class: "text-xs text-gray-500" };
|
|
94556
|
+
const _hoisted_30$4 = {
|
|
94553
94557
|
key: 1,
|
|
94554
94558
|
class: "flex-1 overflow-y-auto bg-white w-full"
|
|
94555
94559
|
};
|
|
94556
|
-
const
|
|
94557
|
-
const
|
|
94560
|
+
const _hoisted_31$4 = { class: "w-full px-0" };
|
|
94561
|
+
const _hoisted_32$4 = {
|
|
94558
94562
|
key: 0,
|
|
94559
94563
|
class: "mb-0"
|
|
94560
94564
|
};
|
|
94561
|
-
const
|
|
94562
|
-
const
|
|
94563
|
-
const
|
|
94564
|
-
const
|
|
94565
|
-
const
|
|
94565
|
+
const _hoisted_33$4 = { class: "flex items-center px-0 pt-2 pb-1" };
|
|
94566
|
+
const _hoisted_34$4 = { class: "text-m font-semibold text-gray-900" };
|
|
94567
|
+
const _hoisted_35$4 = { class: "ml-2 text-sm text-gray-500" };
|
|
94568
|
+
const _hoisted_36$4 = ["data-result-selected", "onClick"];
|
|
94569
|
+
const _hoisted_37$4 = {
|
|
94566
94570
|
key: 1,
|
|
94567
94571
|
class: "w-18 h-14 border-rounded-1 mr-4 flex-shrink-0 bg-gray-200 flex items-center justify-center"
|
|
94568
94572
|
};
|
|
94569
|
-
const
|
|
94570
|
-
const
|
|
94571
|
-
const
|
|
94572
|
-
const
|
|
94573
|
-
const
|
|
94573
|
+
const _hoisted_38$4 = { class: "flex-1 min-w-0" };
|
|
94574
|
+
const _hoisted_39$4 = { class: "text-sm font-bold text-gray-900 truncate mb-1" };
|
|
94575
|
+
const _hoisted_40$4 = { class: "text-xs text-gray-500" };
|
|
94576
|
+
const _hoisted_41$4 = { class: "text-xs text-gray-400" };
|
|
94577
|
+
const _hoisted_42$4 = {
|
|
94574
94578
|
key: 0,
|
|
94575
94579
|
class: "px-0 py-0"
|
|
94576
94580
|
};
|
|
94577
|
-
const
|
|
94578
|
-
const
|
|
94579
|
-
const
|
|
94580
|
-
const
|
|
94581
|
-
const
|
|
94582
|
-
const
|
|
94583
|
-
const
|
|
94584
|
-
const
|
|
94585
|
-
const
|
|
94586
|
-
const
|
|
94587
|
-
const
|
|
94581
|
+
const _hoisted_43$4 = { key: 1 };
|
|
94582
|
+
const _hoisted_44$4 = { class: "flex items-center px-0 pt-4 pb-1" };
|
|
94583
|
+
const _hoisted_45$4 = { class: "text-m font-semibold text-gray-900" };
|
|
94584
|
+
const _hoisted_46$4 = { class: "ml-2 text-sm text-gray-500" };
|
|
94585
|
+
const _hoisted_47$4 = ["data-result-selected", "onClick"];
|
|
94586
|
+
const _hoisted_48$4 = { class: "w-18 h-14 border-rounded-1 mr-4 flex-shrink-0 bg-gray-200 flex items-center justify-center" };
|
|
94587
|
+
const _hoisted_49$4 = { class: "flex-1 min-w-0" };
|
|
94588
|
+
const _hoisted_50$4 = { class: "text-sm font-bold text-gray-900 truncate mb-1" };
|
|
94589
|
+
const _hoisted_51$2 = { class: "text-xs text-gray-500" };
|
|
94590
|
+
const _hoisted_52$2 = { class: "text-xs text-gray-400" };
|
|
94591
|
+
const _hoisted_53$2 = {
|
|
94588
94592
|
key: 0,
|
|
94589
94593
|
class: "px-0 py-0"
|
|
94590
94594
|
};
|
|
94591
|
-
const
|
|
94595
|
+
const _hoisted_54$1 = {
|
|
94592
94596
|
key: 0,
|
|
94593
94597
|
class: "flex flex-col items-center justify-center text-center p-8 gap-4"
|
|
94594
94598
|
};
|
|
94595
|
-
const
|
|
94599
|
+
const _hoisted_55$1 = {
|
|
94596
94600
|
key: 2,
|
|
94597
94601
|
class: "flex-1 overflow-y-auto bg-white w-full"
|
|
94598
94602
|
};
|
|
94599
|
-
const
|
|
94600
|
-
const
|
|
94601
|
-
const
|
|
94602
|
-
const
|
|
94603
|
-
const
|
|
94604
|
-
const
|
|
94603
|
+
const _hoisted_56$1 = { class: "w-full px-0" };
|
|
94604
|
+
const _hoisted_57$1 = { class: "flex items-center px-0 pt-2 pb-1" };
|
|
94605
|
+
const _hoisted_58$1 = { class: "text-m font-semibold text-gray-900" };
|
|
94606
|
+
const _hoisted_59$1 = { class: "ml-2 text-sm text-gray-500" };
|
|
94607
|
+
const _hoisted_60$1 = ["data-result-selected", "onClick"];
|
|
94608
|
+
const _hoisted_61$1 = {
|
|
94605
94609
|
key: 1,
|
|
94606
94610
|
class: "w-18 h-14 border-rounded-1 mr-4 flex-shrink-0 bg-gray-200 flex items-center justify-center"
|
|
94607
94611
|
};
|
|
94608
|
-
const
|
|
94609
|
-
const
|
|
94610
|
-
const
|
|
94611
|
-
const
|
|
94612
|
-
const
|
|
94612
|
+
const _hoisted_62$1 = { class: "flex-1 min-w-0" };
|
|
94613
|
+
const _hoisted_63$1 = { class: "text-sm font-bold text-gray-900 truncate mb-1" };
|
|
94614
|
+
const _hoisted_64$1 = { class: "text-xs text-gray-500" };
|
|
94615
|
+
const _hoisted_65$1 = { class: "text-xs text-gray-400" };
|
|
94616
|
+
const _hoisted_66$1 = {
|
|
94613
94617
|
key: 0,
|
|
94614
94618
|
class: "flex flex-col items-center justify-center text-center p-8 gap-4"
|
|
94615
94619
|
};
|
|
94616
|
-
const
|
|
94620
|
+
const _hoisted_67$1 = {
|
|
94617
94621
|
key: 0,
|
|
94618
94622
|
class: "flex flex-wrap line-height-6 pt-4 pb-2 px-6 border-t border-gray-200 gap-y-4 gap-x-4"
|
|
94619
94623
|
};
|
|
@@ -95359,7 +95363,7 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95359
95363
|
onFocus: _cache[2] || (_cache[2] = ($event) => isInputFocused.value = true),
|
|
95360
95364
|
onInput: _cache[3] || (_cache[3] = ($event) => handleSearchInput(searchQuery.value)),
|
|
95361
95365
|
onKeydown: handleSuggestionKeydown
|
|
95362
|
-
}, null, 42, _hoisted_3$
|
|
95366
|
+
}, null, 42, _hoisted_3$2D), [
|
|
95363
95367
|
[vModelText, searchQuery.value]
|
|
95364
95368
|
]),
|
|
95365
95369
|
searchQuery.value.trim() ? (openBlock(), createElementBlock("button", {
|
|
@@ -95396,7 +95400,7 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95396
95400
|
size: "14"
|
|
95397
95401
|
}),
|
|
95398
95402
|
createTextVNode(" " + toDisplayString(suggestion), 1)
|
|
95399
|
-
], 10, _hoisted_4$
|
|
95403
|
+
], 10, _hoisted_4$27);
|
|
95400
95404
|
}), 128))
|
|
95401
95405
|
], 512)) : createCommentVNode("", true)
|
|
95402
95406
|
]),
|
|
@@ -95408,8 +95412,8 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95408
95412
|
createElementVNode("div", _hoisted_6$1w, [
|
|
95409
95413
|
createElementVNode("button", {
|
|
95410
95414
|
class: normalizeClass([
|
|
95411
|
-
"h-
|
|
95412
|
-
searchType.value === null ? "bg-
|
|
95415
|
+
"h-28px text-14px font-500 transition-colors duration-200 flex items-center shadow-none outline-none focus:outline-none border-0",
|
|
95416
|
+
searchType.value === null ? "bg-primary5 text-primary px-12px rounded-4px" : "bg-primary6 text-primary hover:bg-primary5 px-16px"
|
|
95413
95417
|
]),
|
|
95414
95418
|
onClick: handleEverywhereClick
|
|
95415
95419
|
}, [
|
|
@@ -95418,25 +95422,26 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95418
95422
|
searchType.value !== "canvases" ? (openBlock(), createElementBlock("button", {
|
|
95419
95423
|
key: 0,
|
|
95420
95424
|
class: normalizeClass([
|
|
95421
|
-
"h-
|
|
95422
|
-
searchType.value === "content" ? "bg-
|
|
95425
|
+
"h-28px text-14px font-500 transition-colors duration-200 flex items-center shadow-none outline-none focus:outline-none border-0",
|
|
95426
|
+
searchType.value === "content" ? "bg-primary5 text-primary px-16px rounded-4px" : "bg-primary6 text-primary hover:bg-primary5 px-16px"
|
|
95423
95427
|
]),
|
|
95424
95428
|
onClick: _cache[4] || (_cache[4] = ($event) => searchType.value === "content" ? handleEverywhereClick() : searchType.value = "content")
|
|
95425
95429
|
}, [
|
|
95426
95430
|
createElementVNode("span", null, toDisplayString(unref(t)("canvasUI.CAlgoliaSearch.tabs.content")), 1)
|
|
95427
95431
|
], 2)) : createCommentVNode("", true),
|
|
95432
|
+
searchType.value !== "content" && searchType.value !== "canvases" ? (openBlock(), createElementBlock("div", _hoisted_8$Z)) : createCommentVNode("", true),
|
|
95428
95433
|
searchType.value !== "content" ? (openBlock(), createElementBlock("button", {
|
|
95429
|
-
key:
|
|
95434
|
+
key: 2,
|
|
95430
95435
|
class: normalizeClass([
|
|
95431
|
-
"h-
|
|
95432
|
-
searchType.value === "canvases" ? "bg-
|
|
95436
|
+
"h-28px text-14px font-500 transition-colors duration-200 flex items-center shadow-none outline-none focus:outline-none border-0",
|
|
95437
|
+
searchType.value === "canvases" ? "bg-primary5 text-primary px-16px rounded-4px" : "bg-primary6 text-primary hover:bg-primary5 px-16px"
|
|
95433
95438
|
]),
|
|
95434
95439
|
onClick: _cache[5] || (_cache[5] = ($event) => searchType.value === "canvases" ? handleEverywhereClick() : searchType.value = "canvases")
|
|
95435
95440
|
}, [
|
|
95436
95441
|
createElementVNode("span", null, toDisplayString(unref(t)("canvasUI.CAlgoliaSearch.tabs.pitchDecks")), 1)
|
|
95437
95442
|
], 2)) : createCommentVNode("", true)
|
|
95438
95443
|
]),
|
|
95439
|
-
searchType.value ? (openBlock(), createElementBlock("div",
|
|
95444
|
+
searchType.value ? (openBlock(), createElementBlock("div", _hoisted_9$O, [
|
|
95440
95445
|
searchType.value === "content" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
95441
95446
|
createVNode(unref(NPopover), {
|
|
95442
95447
|
class: "c-select-filter",
|
|
@@ -95453,7 +95458,7 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95453
95458
|
style: normalizeStyle({
|
|
95454
95459
|
"--n-color": selectedFileTypes.value.length ? "var(--p-primary5)" : "var(--p-primary6)",
|
|
95455
95460
|
"--n-border": "1px solid var(--p-primary5)",
|
|
95456
|
-
"--n-height": "
|
|
95461
|
+
"--n-height": "28px"
|
|
95457
95462
|
}),
|
|
95458
95463
|
themeOverrides: {
|
|
95459
95464
|
borderRadius: "4px"
|
|
@@ -95461,11 +95466,9 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95461
95466
|
onClick: _cache[7] || (_cache[7] = ($event) => showFileTypeDropdown.value = !showFileTypeDropdown.value)
|
|
95462
95467
|
}, {
|
|
95463
95468
|
default: withCtx(() => [
|
|
95464
|
-
createElementVNode("div",
|
|
95465
|
-
createElementVNode("span",
|
|
95466
|
-
|
|
95467
|
-
}, toDisplayString(unref(t)("canvasUI.CAlgoliaSearch.filters.type")), 3),
|
|
95468
|
-
selectedFileTypes.value.length ? (openBlock(), createElementBlock("span", _hoisted_10$C, ": " + toDisplayString(selectedFileTypes.value.length), 1)) : createCommentVNode("", true),
|
|
95469
|
+
createElementVNode("div", _hoisted_10$C, [
|
|
95470
|
+
createElementVNode("span", null, toDisplayString(unref(t)("canvasUI.CAlgoliaSearch.filters.type")), 1),
|
|
95471
|
+
selectedFileTypes.value.length ? (openBlock(), createElementBlock("span", _hoisted_11$x, ": " + toDisplayString(selectedFileTypes.value.length), 1)) : createCommentVNode("", true),
|
|
95469
95472
|
selectedFileTypes.value.length ? (openBlock(), createBlock(CIcon, {
|
|
95470
95473
|
key: 1,
|
|
95471
95474
|
class: "ml-1",
|
|
@@ -95480,8 +95483,8 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95480
95483
|
}, 8, ["style"])
|
|
95481
95484
|
]),
|
|
95482
95485
|
default: withCtx(() => [
|
|
95483
|
-
createElementVNode("div",
|
|
95484
|
-
createElementVNode("div",
|
|
95486
|
+
createElementVNode("div", _hoisted_12$p, [
|
|
95487
|
+
createElementVNode("div", _hoisted_13$k, [
|
|
95485
95488
|
(openBlock(), createElementBlock(Fragment, null, renderList(fileTypeOptions, (option) => {
|
|
95486
95489
|
return createElementVNode("div", {
|
|
95487
95490
|
key: option.value,
|
|
@@ -95521,7 +95524,7 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95521
95524
|
]),
|
|
95522
95525
|
_: 1
|
|
95523
95526
|
}, 8, ["show"]),
|
|
95524
|
-
hasActiveFilters.value ? (openBlock(), createElementBlock("div",
|
|
95527
|
+
hasActiveFilters.value ? (openBlock(), createElementBlock("div", _hoisted_14$h, [
|
|
95525
95528
|
_cache[17] || (_cache[17] = createElementVNode("div", { class: "h-6 w-px bg-gray-300 mx-2" }, null, -1)),
|
|
95526
95529
|
createElementVNode("span", {
|
|
95527
95530
|
class: "text-sm text-gray-600 hover:text-gray-800 font-normal cursor-pointer",
|
|
@@ -95534,7 +95537,7 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95534
95537
|
style: normalizeStyle({
|
|
95535
95538
|
"--n-color": selectedCanvasFilters.value.includes("saved_canvas") ? "var(--p-primary5)" : "var(--p-primary6)",
|
|
95536
95539
|
"--n-border": "1px solid var(--p-primary5)",
|
|
95537
|
-
"--n-height": "
|
|
95540
|
+
"--n-height": "28px"
|
|
95538
95541
|
}),
|
|
95539
95542
|
themeOverrides: {
|
|
95540
95543
|
borderRadius: "4px"
|
|
@@ -95542,9 +95545,7 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95542
95545
|
onClick: _cache[9] || (_cache[9] = ($event) => toggleCanvasFilter("saved_canvas"))
|
|
95543
95546
|
}, {
|
|
95544
95547
|
default: withCtx(() => [
|
|
95545
|
-
createElementVNode("span",
|
|
95546
|
-
class: normalizeClass({ "font-bold": selectedCanvasFilters.value.includes("saved_canvas") })
|
|
95547
|
-
}, toDisplayString(unref(t)("canvasUI.CAlgoliaSearch.canvasFilters.saved")), 3)
|
|
95548
|
+
createElementVNode("span", null, toDisplayString(unref(t)("canvasUI.CAlgoliaSearch.canvasFilters.saved")), 1)
|
|
95548
95549
|
]),
|
|
95549
95550
|
_: 1
|
|
95550
95551
|
}, 8, ["style"]),
|
|
@@ -95553,7 +95554,7 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95553
95554
|
style: normalizeStyle({
|
|
95554
95555
|
"--n-color": selectedCanvasFilters.value.includes("template") ? "var(--p-primary5)" : "var(--p-primary6)",
|
|
95555
95556
|
"--n-border": "1px solid var(--p-primary5)",
|
|
95556
|
-
"--n-height": "
|
|
95557
|
+
"--n-height": "28px"
|
|
95557
95558
|
}),
|
|
95558
95559
|
themeOverrides: {
|
|
95559
95560
|
borderRadius: "4px"
|
|
@@ -95561,9 +95562,7 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95561
95562
|
onClick: _cache[10] || (_cache[10] = ($event) => toggleCanvasFilter("template"))
|
|
95562
95563
|
}, {
|
|
95563
95564
|
default: withCtx(() => [
|
|
95564
|
-
createElementVNode("span",
|
|
95565
|
-
class: normalizeClass({ "font-bold": selectedCanvasFilters.value.includes("template") })
|
|
95566
|
-
}, toDisplayString(unref(t)("canvasUI.CAlgoliaSearch.canvasFilters.templates")), 3)
|
|
95565
|
+
createElementVNode("span", null, toDisplayString(unref(t)("canvasUI.CAlgoliaSearch.canvasFilters.templates")), 1)
|
|
95567
95566
|
]),
|
|
95568
95567
|
_: 1
|
|
95569
95568
|
}, 8, ["style"]),
|
|
@@ -95572,7 +95571,7 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95572
95571
|
style: normalizeStyle({
|
|
95573
95572
|
"--n-color": selectedCanvasFilters.value.includes("section") ? "var(--p-primary5)" : "var(--p-primary6)",
|
|
95574
95573
|
"--n-border": "1px solid var(--p-primary5)",
|
|
95575
|
-
"--n-height": "
|
|
95574
|
+
"--n-height": "28px"
|
|
95576
95575
|
}),
|
|
95577
95576
|
themeOverrides: {
|
|
95578
95577
|
borderRadius: "4px"
|
|
@@ -95580,9 +95579,7 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95580
95579
|
onClick: _cache[11] || (_cache[11] = ($event) => toggleCanvasFilter("section"))
|
|
95581
95580
|
}, {
|
|
95582
95581
|
default: withCtx(() => [
|
|
95583
|
-
createElementVNode("span",
|
|
95584
|
-
class: normalizeClass({ "font-bold": selectedCanvasFilters.value.includes("section") })
|
|
95585
|
-
}, toDisplayString(unref(t)("canvasUI.CAlgoliaSearch.canvasFilters.products")), 3)
|
|
95582
|
+
createElementVNode("span", null, toDisplayString(unref(t)("canvasUI.CAlgoliaSearch.canvasFilters.products")), 1)
|
|
95586
95583
|
]),
|
|
95587
95584
|
_: 1
|
|
95588
95585
|
}, 8, ["style"]),
|
|
@@ -95591,7 +95588,7 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95591
95588
|
style: normalizeStyle({
|
|
95592
95589
|
"--n-color": selectedCanvasFilters.value.includes("block") ? "var(--p-primary5)" : "var(--p-primary6)",
|
|
95593
95590
|
"--n-border": "1px solid var(--p-primary5)",
|
|
95594
|
-
"--n-height": "
|
|
95591
|
+
"--n-height": "28px"
|
|
95595
95592
|
}),
|
|
95596
95593
|
themeOverrides: {
|
|
95597
95594
|
borderRadius: "4px"
|
|
@@ -95599,13 +95596,11 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95599
95596
|
onClick: _cache[12] || (_cache[12] = ($event) => toggleCanvasFilter("block"))
|
|
95600
95597
|
}, {
|
|
95601
95598
|
default: withCtx(() => [
|
|
95602
|
-
createElementVNode("span",
|
|
95603
|
-
class: normalizeClass({ "font-bold": selectedCanvasFilters.value.includes("block") })
|
|
95604
|
-
}, toDisplayString(unref(t)("canvasUI.CAlgoliaSearch.canvasFilters.blocks")), 3)
|
|
95599
|
+
createElementVNode("span", null, toDisplayString(unref(t)("canvasUI.CAlgoliaSearch.canvasFilters.blocks")), 1)
|
|
95605
95600
|
]),
|
|
95606
95601
|
_: 1
|
|
95607
95602
|
}, 8, ["style"]),
|
|
95608
|
-
selectedCanvasFilters.value.length > 0 ? (openBlock(), createElementBlock("div",
|
|
95603
|
+
selectedCanvasFilters.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_15$f, [
|
|
95609
95604
|
_cache[18] || (_cache[18] = createElementVNode("div", { class: "h-6 w-px bg-gray-300 mx-2" }, null, -1)),
|
|
95610
95605
|
createElementVNode("span", {
|
|
95611
95606
|
class: "text-sm text-gray-600 hover:text-gray-800 font-normal cursor-pointer",
|
|
@@ -95616,9 +95611,9 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95616
95611
|
])) : createCommentVNode("", true)
|
|
95617
95612
|
])) : createCommentVNode("", true)
|
|
95618
95613
|
]),
|
|
95619
|
-
createElementVNode("div",
|
|
95620
|
-
showRecentView.value ? (openBlock(), createElementBlock("div",
|
|
95621
|
-
createElementVNode("div",
|
|
95614
|
+
createElementVNode("div", _hoisted_16$e, [
|
|
95615
|
+
showRecentView.value ? (openBlock(), createElementBlock("div", _hoisted_17$c, [
|
|
95616
|
+
createElementVNode("div", _hoisted_18$a, [
|
|
95622
95617
|
(openBlock(true), createElementBlock(Fragment, null, renderList(recentSearches.value, (search) => {
|
|
95623
95618
|
return openBlock(), createElementBlock("div", {
|
|
95624
95619
|
key: search,
|
|
@@ -95631,14 +95626,14 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95631
95626
|
icon: "clock-rotate-left",
|
|
95632
95627
|
size: "16"
|
|
95633
95628
|
}),
|
|
95634
|
-
createElementVNode("span",
|
|
95635
|
-
], 8,
|
|
95629
|
+
createElementVNode("span", _hoisted_20$9, toDisplayString(search), 1)
|
|
95630
|
+
], 8, _hoisted_19$a);
|
|
95636
95631
|
}), 128))
|
|
95637
95632
|
]),
|
|
95638
95633
|
recentlyOpenedDocs.value.length > 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
95639
95634
|
_cache[19] || (_cache[19] = createElementVNode("hr", { class: "border-0 h-px bg-gray-200 mt-2 mb-3 w-full" }, null, -1)),
|
|
95640
|
-
createElementVNode("div",
|
|
95641
|
-
createElementVNode("span",
|
|
95635
|
+
createElementVNode("div", _hoisted_21$7, [
|
|
95636
|
+
createElementVNode("span", _hoisted_22$5, toDisplayString(unref(t)("canvasUI.components.fileViewer.recentlyOpened")), 1)
|
|
95642
95637
|
]),
|
|
95643
95638
|
createElementVNode("div", {
|
|
95644
95639
|
class: normalizeClass(_ctx.isAdmin ? "space-y-2" : "space-y-0")
|
|
@@ -95652,7 +95647,7 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95652
95647
|
]),
|
|
95653
95648
|
onClick: ($event) => handleRecentDocClick(doc, doc.type)
|
|
95654
95649
|
}, [
|
|
95655
|
-
doc.type === "file" ? (openBlock(), createElementBlock("div",
|
|
95650
|
+
doc.type === "file" ? (openBlock(), createElementBlock("div", _hoisted_24$5, [
|
|
95656
95651
|
createVNode(_sfc_main$6I, {
|
|
95657
95652
|
class: "h-14 border-rounded-1 overflow-hidden flex-0",
|
|
95658
95653
|
cover: "",
|
|
@@ -95661,7 +95656,7 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95661
95656
|
src: recentThumbnails.value[doc.id] || "",
|
|
95662
95657
|
width: "72"
|
|
95663
95658
|
}, null, 8, ["file-data", "src"]),
|
|
95664
|
-
isLoadingThumbnails.value && !recentThumbnails.value[doc.id] ? (openBlock(), createElementBlock("div",
|
|
95659
|
+
isLoadingThumbnails.value && !recentThumbnails.value[doc.id] ? (openBlock(), createElementBlock("div", _hoisted_25$5, [
|
|
95665
95660
|
createVNode(CIcon, {
|
|
95666
95661
|
class: "animate-spin",
|
|
95667
95662
|
color: "var(--p-primary)",
|
|
@@ -95669,7 +95664,7 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95669
95664
|
size: "20"
|
|
95670
95665
|
})
|
|
95671
95666
|
])) : createCommentVNode("", true)
|
|
95672
|
-
])) : (openBlock(), createElementBlock("div",
|
|
95667
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_26$5, [
|
|
95673
95668
|
doc.type === "canvas" ? (openBlock(), createBlock(CIcon, {
|
|
95674
95669
|
key: 0,
|
|
95675
95670
|
color: "var(--p-text2)",
|
|
@@ -95682,26 +95677,26 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95682
95677
|
size: "32"
|
|
95683
95678
|
}))
|
|
95684
95679
|
])),
|
|
95685
|
-
createElementVNode("div",
|
|
95686
|
-
createElementVNode("h3",
|
|
95687
|
-
createElementVNode("p",
|
|
95680
|
+
createElementVNode("div", _hoisted_27$5, [
|
|
95681
|
+
createElementVNode("h3", _hoisted_28$5, toDisplayString(doc.name), 1),
|
|
95682
|
+
createElementVNode("p", _hoisted_29$5, toDisplayString(doc.type === "canvas" ? formatCanvasType(doc.content_type) : doc.type === "folder" ? "Folder" : doc.file_category || "File"), 1)
|
|
95688
95683
|
])
|
|
95689
|
-
], 10,
|
|
95684
|
+
], 10, _hoisted_23$5);
|
|
95690
95685
|
}), 128))
|
|
95691
95686
|
], 2)
|
|
95692
95687
|
], 64)) : createCommentVNode("", true)
|
|
95693
|
-
])) : !searchType.value ? (openBlock(), createElementBlock("div",
|
|
95694
|
-
createElementVNode("div",
|
|
95695
|
-
filteredContentFiles.value.length > 0 ? (openBlock(), createElementBlock("div",
|
|
95696
|
-
createElementVNode("div",
|
|
95688
|
+
])) : !searchType.value ? (openBlock(), createElementBlock("div", _hoisted_30$4, [
|
|
95689
|
+
createElementVNode("div", _hoisted_31$4, [
|
|
95690
|
+
filteredContentFiles.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_32$4, [
|
|
95691
|
+
createElementVNode("div", _hoisted_33$4, [
|
|
95697
95692
|
createVNode(CIcon, {
|
|
95698
95693
|
class: "mr-2",
|
|
95699
95694
|
color: "var(--p-text2)",
|
|
95700
95695
|
icon: "folder",
|
|
95701
95696
|
size: "16"
|
|
95702
95697
|
}),
|
|
95703
|
-
createElementVNode("span",
|
|
95704
|
-
createElementVNode("span",
|
|
95698
|
+
createElementVNode("span", _hoisted_34$4, toDisplayString(unref(t)("canvasUI.CAlgoliaSearch.sections.content")), 1),
|
|
95699
|
+
createElementVNode("span", _hoisted_35$4, "(" + toDisplayString(filteredContentFiles.value.length) + ")", 1)
|
|
95705
95700
|
]),
|
|
95706
95701
|
createElementVNode("div", null, [
|
|
95707
95702
|
(openBlock(true), createElementBlock(Fragment, null, renderList(filteredContentFiles.value.slice(0, 5), (item) => {
|
|
@@ -95723,22 +95718,22 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95723
95718
|
"object-fit": "cover",
|
|
95724
95719
|
src: item.picture_url || "",
|
|
95725
95720
|
width: "72"
|
|
95726
|
-
}, null, 8, ["file-data", "src"])) : (openBlock(), createElementBlock("div",
|
|
95721
|
+
}, null, 8, ["file-data", "src"])) : (openBlock(), createElementBlock("div", _hoisted_37$4, [
|
|
95727
95722
|
createVNode(CIcon, {
|
|
95728
95723
|
color: "var(--p-text2)",
|
|
95729
95724
|
icon: "folder",
|
|
95730
95725
|
size: "32"
|
|
95731
95726
|
})
|
|
95732
95727
|
])),
|
|
95733
|
-
createElementVNode("div",
|
|
95734
|
-
createElementVNode("h3",
|
|
95735
|
-
createElementVNode("p",
|
|
95728
|
+
createElementVNode("div", _hoisted_38$4, [
|
|
95729
|
+
createElementVNode("h3", _hoisted_39$4, toDisplayString(item.name), 1),
|
|
95730
|
+
createElementVNode("p", _hoisted_40$4, toDisplayString(item.type === "folder" ? "Folder" : item.content_type || "PDF"), 1)
|
|
95736
95731
|
]),
|
|
95737
|
-
createElementVNode("div",
|
|
95738
|
-
], 10,
|
|
95732
|
+
createElementVNode("div", _hoisted_41$4, toDisplayString(item.type === "folder" ? item.parent_folder?.name || "" : item.folder?.name || ""), 1)
|
|
95733
|
+
], 10, _hoisted_36$4);
|
|
95739
95734
|
}), 128))
|
|
95740
95735
|
]),
|
|
95741
|
-
filteredContentFiles.value.length > 5 ? (openBlock(), createElementBlock("div",
|
|
95736
|
+
filteredContentFiles.value.length > 5 ? (openBlock(), createElementBlock("div", _hoisted_42$4, [
|
|
95742
95737
|
createElementVNode("span", {
|
|
95743
95738
|
class: "text-sm text-gray-600 hover:text-gray-800 font-bold flex items-center cursor-pointer",
|
|
95744
95739
|
onClick: _cache[13] || (_cache[13] = ($event) => searchType.value = "content")
|
|
@@ -95752,16 +95747,16 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95752
95747
|
])
|
|
95753
95748
|
])) : createCommentVNode("", true)
|
|
95754
95749
|
])) : createCommentVNode("", true),
|
|
95755
|
-
filteredCanvasFiles.value.length > 0 ? (openBlock(), createElementBlock("div",
|
|
95756
|
-
createElementVNode("div",
|
|
95750
|
+
filteredCanvasFiles.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_43$4, [
|
|
95751
|
+
createElementVNode("div", _hoisted_44$4, [
|
|
95757
95752
|
createVNode(CIcon, {
|
|
95758
95753
|
class: "mr-2",
|
|
95759
95754
|
color: "var(--p-text2)",
|
|
95760
95755
|
icon: "presentation",
|
|
95761
95756
|
size: "16"
|
|
95762
95757
|
}),
|
|
95763
|
-
createElementVNode("span",
|
|
95764
|
-
createElementVNode("span",
|
|
95758
|
+
createElementVNode("span", _hoisted_45$4, toDisplayString(unref(t)("canvasUI.CAlgoliaSearch.sections.pitchDecks")), 1),
|
|
95759
|
+
createElementVNode("span", _hoisted_46$4, "(" + toDisplayString(filteredCanvasFiles.value.length) + ")", 1)
|
|
95765
95760
|
]),
|
|
95766
95761
|
createElementVNode("div", null, [
|
|
95767
95762
|
(openBlock(true), createElementBlock(Fragment, null, renderList(filteredCanvasFiles.value.slice(0, 5), (item) => {
|
|
@@ -95775,22 +95770,22 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95775
95770
|
"data-result-selected": isResultSelected(item),
|
|
95776
95771
|
onClick: ($event) => handleResultClick(item, "canvas")
|
|
95777
95772
|
}, [
|
|
95778
|
-
createElementVNode("div",
|
|
95773
|
+
createElementVNode("div", _hoisted_48$4, [
|
|
95779
95774
|
createVNode(CIcon, {
|
|
95780
95775
|
color: "var(--p-text2)",
|
|
95781
95776
|
icon: "presentation",
|
|
95782
95777
|
size: "32"
|
|
95783
95778
|
})
|
|
95784
95779
|
]),
|
|
95785
|
-
createElementVNode("div",
|
|
95786
|
-
createElementVNode("h3",
|
|
95787
|
-
createElementVNode("p",
|
|
95780
|
+
createElementVNode("div", _hoisted_49$4, [
|
|
95781
|
+
createElementVNode("h3", _hoisted_50$4, toDisplayString(item.name), 1),
|
|
95782
|
+
createElementVNode("p", _hoisted_51$2, toDisplayString(formatCanvasType(item.content_type)), 1)
|
|
95788
95783
|
]),
|
|
95789
|
-
createElementVNode("div",
|
|
95790
|
-
], 10,
|
|
95784
|
+
createElementVNode("div", _hoisted_52$2, toDisplayString(item.folder?.name || ""), 1)
|
|
95785
|
+
], 10, _hoisted_47$4);
|
|
95791
95786
|
}), 128))
|
|
95792
95787
|
]),
|
|
95793
|
-
filteredCanvasFiles.value.length > 5 ? (openBlock(), createElementBlock("div",
|
|
95788
|
+
filteredCanvasFiles.value.length > 5 ? (openBlock(), createElementBlock("div", _hoisted_53$2, [
|
|
95794
95789
|
createElementVNode("span", {
|
|
95795
95790
|
class: "text-sm text-gray-600 hover:text-gray-800 font-bold flex items-center cursor-pointer",
|
|
95796
95791
|
onClick: _cache[14] || (_cache[14] = ($event) => searchType.value = "canvases")
|
|
@@ -95805,7 +95800,7 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95805
95800
|
])) : createCommentVNode("", true)
|
|
95806
95801
|
])) : createCommentVNode("", true)
|
|
95807
95802
|
]),
|
|
95808
|
-
searchError.value || shouldShowNoResults.value ? (openBlock(), createElementBlock("div",
|
|
95803
|
+
searchError.value || shouldShowNoResults.value ? (openBlock(), createElementBlock("div", _hoisted_54$1, [
|
|
95809
95804
|
createVNode(CIcon, {
|
|
95810
95805
|
class: "text-6xl",
|
|
95811
95806
|
color: searchError.value ? "var(--p-error)" : "var(--p-text3)",
|
|
@@ -95816,9 +95811,9 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95816
95811
|
class: normalizeClass(searchError.value ? "text-error font-semibold" : "text-text2")
|
|
95817
95812
|
}, toDisplayString(searchError.value || unref(t)("canvasUI.CGlobalSearch.noResults")), 3)
|
|
95818
95813
|
])) : createCommentVNode("", true)
|
|
95819
|
-
])) : (openBlock(), createElementBlock("div",
|
|
95820
|
-
createElementVNode("div",
|
|
95821
|
-
createElementVNode("div",
|
|
95814
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_55$1, [
|
|
95815
|
+
createElementVNode("div", _hoisted_56$1, [
|
|
95816
|
+
createElementVNode("div", _hoisted_57$1, [
|
|
95822
95817
|
searchType.value === "content" ? (openBlock(), createBlock(CIcon, {
|
|
95823
95818
|
key: 0,
|
|
95824
95819
|
class: "mr-2",
|
|
@@ -95832,8 +95827,8 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95832
95827
|
icon: "presentation",
|
|
95833
95828
|
size: "16"
|
|
95834
95829
|
})),
|
|
95835
|
-
createElementVNode("span",
|
|
95836
|
-
createElementVNode("span",
|
|
95830
|
+
createElementVNode("span", _hoisted_58$1, toDisplayString(searchType.value === "content" ? unref(t)("canvasUI.CAlgoliaSearch.sections.content") : unref(t)("canvasUI.CAlgoliaSearch.sections.pitchDecks")), 1),
|
|
95831
|
+
createElementVNode("span", _hoisted_59$1, " (" + toDisplayString(searchType.value === "content" ? filteredContentFiles.value.length : filteredCanvasFiles.value.length) + ") ", 1)
|
|
95837
95832
|
]),
|
|
95838
95833
|
createElementVNode("div", null, [
|
|
95839
95834
|
(openBlock(true), createElementBlock(Fragment, null, renderList(searchType.value === "content" ? filteredContentFiles.value : filteredCanvasFiles.value, (item) => {
|
|
@@ -95858,7 +95853,7 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95858
95853
|
"object-fit": "cover",
|
|
95859
95854
|
src: item.picture_url || "",
|
|
95860
95855
|
width: "72"
|
|
95861
|
-
}, null, 8, ["file-data", "src"])) : (openBlock(), createElementBlock("div",
|
|
95856
|
+
}, null, 8, ["file-data", "src"])) : (openBlock(), createElementBlock("div", _hoisted_61$1, [
|
|
95862
95857
|
searchType.value === "content" ? (openBlock(), createBlock(CIcon, {
|
|
95863
95858
|
key: 0,
|
|
95864
95859
|
color: "var(--p-text2)",
|
|
@@ -95871,15 +95866,15 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95871
95866
|
size: "32"
|
|
95872
95867
|
}))
|
|
95873
95868
|
])),
|
|
95874
|
-
createElementVNode("div",
|
|
95875
|
-
createElementVNode("h3",
|
|
95876
|
-
createElementVNode("p",
|
|
95869
|
+
createElementVNode("div", _hoisted_62$1, [
|
|
95870
|
+
createElementVNode("h3", _hoisted_63$1, toDisplayString(item.name), 1),
|
|
95871
|
+
createElementVNode("p", _hoisted_64$1, toDisplayString(searchType.value === "content" ? item.type === "folder" ? "Folder" : item.content_type || "PDF" : formatCanvasType(item.content_type)), 1)
|
|
95877
95872
|
]),
|
|
95878
|
-
createElementVNode("div",
|
|
95879
|
-
], 10,
|
|
95873
|
+
createElementVNode("div", _hoisted_65$1, toDisplayString(searchType.value === "content" && item.type === "folder" ? item.parent_folder?.name || "" : item.folder?.name || ""), 1)
|
|
95874
|
+
], 10, _hoisted_60$1);
|
|
95880
95875
|
}), 128))
|
|
95881
95876
|
]),
|
|
95882
|
-
searchError.value || shouldShowNoResults.value ? (openBlock(), createElementBlock("div",
|
|
95877
|
+
searchError.value || shouldShowNoResults.value ? (openBlock(), createElementBlock("div", _hoisted_66$1, [
|
|
95883
95878
|
createVNode(CIcon, {
|
|
95884
95879
|
class: "text-6xl",
|
|
95885
95880
|
color: searchError.value ? "var(--p-error)" : "var(--p-text3)",
|
|
@@ -95893,7 +95888,7 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95893
95888
|
])
|
|
95894
95889
|
]))
|
|
95895
95890
|
]),
|
|
95896
|
-
!showRecentView.value ? (openBlock(), createElementBlock("div",
|
|
95891
|
+
!showRecentView.value ? (openBlock(), createElementBlock("div", _hoisted_67$1, [
|
|
95897
95892
|
createVNode(CShortcut, null, {
|
|
95898
95893
|
default: withCtx(() => [
|
|
95899
95894
|
createVNode(CShortcutIcon, { icon: "arrow-up" }),
|
|
@@ -95935,7 +95930,7 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95935
95930
|
}
|
|
95936
95931
|
});
|
|
95937
95932
|
|
|
95938
|
-
const CAlgoliaSearch = /* @__PURE__ */ _export_sfc(_sfc_main$5I, [["__scopeId", "data-v-
|
|
95933
|
+
const CAlgoliaSearch = /* @__PURE__ */ _export_sfc(_sfc_main$5I, [["__scopeId", "data-v-2614a281"]]);
|
|
95939
95934
|
|
|
95940
95935
|
const BulletListExtended = BulletList.extend({
|
|
95941
95936
|
addOptions() {
|
|
@@ -98849,7 +98844,7 @@ const _hoisted_2$3e = {
|
|
|
98849
98844
|
key: 1,
|
|
98850
98845
|
class: "py-2 px-3"
|
|
98851
98846
|
};
|
|
98852
|
-
const _hoisted_3$
|
|
98847
|
+
const _hoisted_3$2C = { class: "flex items-center justify-between mb-2" };
|
|
98853
98848
|
const _sfc_main$5s = /* @__PURE__ */ defineComponent({
|
|
98854
98849
|
__name: "CFormatterWithFieldSelect",
|
|
98855
98850
|
props: {
|
|
@@ -99233,7 +99228,7 @@ const _sfc_main$5s = /* @__PURE__ */ defineComponent({
|
|
|
99233
99228
|
placeholder: unref(t)("canvasUI.CHandlebarsHelperTreeSelect.searchPlaceholder")
|
|
99234
99229
|
}, null, 8, ["options", "placeholder"])
|
|
99235
99230
|
])) : step.value === "field" ? (openBlock(), createElementBlock("div", _hoisted_2$3e, [
|
|
99236
|
-
createElementVNode("div", _hoisted_3$
|
|
99231
|
+
createElementVNode("div", _hoisted_3$2C, [
|
|
99237
99232
|
_cache[3] || (_cache[3] = createElementVNode("span", { class: "text-sm font-bold" }, "Now Select CRM Field", -1)),
|
|
99238
99233
|
createVNode(CButton, {
|
|
99239
99234
|
class: "text-xs",
|
|
@@ -99272,11 +99267,11 @@ const CFormatterWithFieldSelect = /* @__PURE__ */ _export_sfc(_sfc_main$5s, [["_
|
|
|
99272
99267
|
|
|
99273
99268
|
const _hoisted_1$4o = { class: "c-editor-menu__content px-3 py-1 gap-1 flex items-center" };
|
|
99274
99269
|
const _hoisted_2$3d = { class: "flex flex-wrap" };
|
|
99275
|
-
const _hoisted_3$
|
|
99270
|
+
const _hoisted_3$2B = {
|
|
99276
99271
|
key: 0,
|
|
99277
99272
|
class: "flex items-center justify-between gap-1"
|
|
99278
99273
|
};
|
|
99279
|
-
const _hoisted_4$
|
|
99274
|
+
const _hoisted_4$26 = {
|
|
99280
99275
|
key: 0,
|
|
99281
99276
|
class: "flex items-center"
|
|
99282
99277
|
};
|
|
@@ -99416,8 +99411,8 @@ const _sfc_main$5r = /* @__PURE__ */ defineComponent({
|
|
|
99416
99411
|
}, [
|
|
99417
99412
|
createElementVNode("div", _hoisted_1$4o, [
|
|
99418
99413
|
createElementVNode("div", _hoisted_2$3d, [
|
|
99419
|
-
isTextSelected.value || !isAddingTable.value && !_ctx.editor.isActive("table") ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
99420
|
-
_ctx.allowEdit ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
99414
|
+
isTextSelected.value || !isAddingTable.value && !_ctx.editor.isActive("table") ? (openBlock(), createElementBlock("div", _hoisted_3$2B, [
|
|
99415
|
+
_ctx.allowEdit ? (openBlock(), createElementBlock("div", _hoisted_4$26, [
|
|
99421
99416
|
createVNode(_sfc_main$5H, { editor: _ctx.editor }, null, 8, ["editor"]),
|
|
99422
99417
|
showFontControls.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
99423
99418
|
!editorFeatures.value.canvasTokens ? (openBlock(), createBlock(_sfc_main$5G, {
|
|
@@ -100263,7 +100258,7 @@ const CMonacoEditor = /* @__PURE__ */ _export_sfc(_sfc_main$5p, [["__scopeId", "
|
|
|
100263
100258
|
|
|
100264
100259
|
const _hoisted_1$4l = { class: "c-single-select flex flex-col gap-2 pa-2" };
|
|
100265
100260
|
const _hoisted_2$3a = ["onClick"];
|
|
100266
|
-
const _hoisted_3$
|
|
100261
|
+
const _hoisted_3$2A = { class: "ml-2" };
|
|
100267
100262
|
const _sfc_main$5o = /* @__PURE__ */ defineComponent({
|
|
100268
100263
|
__name: "CSingleSelect",
|
|
100269
100264
|
props: {
|
|
@@ -100295,7 +100290,7 @@ const _sfc_main$5o = /* @__PURE__ */ defineComponent({
|
|
|
100295
100290
|
class: "ml-2",
|
|
100296
100291
|
icon: option.icon
|
|
100297
100292
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
100298
|
-
createElementVNode("span", _hoisted_3$
|
|
100293
|
+
createElementVNode("span", _hoisted_3$2A, toDisplayString(option.title), 1)
|
|
100299
100294
|
], 10, _hoisted_2$3a);
|
|
100300
100295
|
}), 128))
|
|
100301
100296
|
]);
|
|
@@ -100395,8 +100390,8 @@ const _sfc_main$5n = /* @__PURE__ */ defineComponent({
|
|
|
100395
100390
|
|
|
100396
100391
|
const _hoisted_1$4k = ["onClick"];
|
|
100397
100392
|
const _hoisted_2$39 = { class: "ml-2" };
|
|
100398
|
-
const _hoisted_3$
|
|
100399
|
-
const _hoisted_4$
|
|
100393
|
+
const _hoisted_3$2z = { class: "flex flex-1 justify-end" };
|
|
100394
|
+
const _hoisted_4$25 = { class: "mr-2 rounded-5 px-2 py-1 c-multi-select__item__counter font-500 text-3 line-height-none" };
|
|
100400
100395
|
const _sfc_main$5m = /* @__PURE__ */ defineComponent({
|
|
100401
100396
|
__name: "CMultiSelect",
|
|
100402
100397
|
props: {
|
|
@@ -100459,8 +100454,8 @@ const _sfc_main$5m = /* @__PURE__ */ defineComponent({
|
|
|
100459
100454
|
"onUpdate:value": () => toggleItem(item)
|
|
100460
100455
|
}, null, 8, ["checked", "value", "onUpdate:value"]),
|
|
100461
100456
|
createElementVNode("span", _hoisted_2$39, toDisplayString(item.title), 1),
|
|
100462
|
-
createElementVNode("div", _hoisted_3$
|
|
100463
|
-
createElementVNode("span", _hoisted_4$
|
|
100457
|
+
createElementVNode("div", _hoisted_3$2z, [
|
|
100458
|
+
createElementVNode("span", _hoisted_4$25, toDisplayString(item.count), 1)
|
|
100464
100459
|
])
|
|
100465
100460
|
], 10, _hoisted_1$4k);
|
|
100466
100461
|
}), 128))
|
|
@@ -100571,8 +100566,8 @@ const CVirtualTableRow = /* @__PURE__ */ _export_sfc(_sfc_main$5l, [["__scopeId"
|
|
|
100571
100566
|
|
|
100572
100567
|
const _hoisted_1$4i = { class: "c-virtual-table w-full h-full flex flex-col" };
|
|
100573
100568
|
const _hoisted_2$38 = { class: "w-full flex c-virtual-table__header" };
|
|
100574
|
-
const _hoisted_3$
|
|
100575
|
-
const _hoisted_4$
|
|
100569
|
+
const _hoisted_3$2y = { class: "overflow-hidden c-virtual-table__content" };
|
|
100570
|
+
const _hoisted_4$24 = {
|
|
100576
100571
|
key: 0,
|
|
100577
100572
|
class: "flex py-8 justify-center h-full"
|
|
100578
100573
|
};
|
|
@@ -100669,8 +100664,8 @@ const _sfc_main$5k = /* @__PURE__ */ defineComponent({
|
|
|
100669
100664
|
], 2);
|
|
100670
100665
|
}), 128))
|
|
100671
100666
|
]),
|
|
100672
|
-
createElementVNode("div", _hoisted_3$
|
|
100673
|
-
tableDataWithIndexes.value?.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
100667
|
+
createElementVNode("div", _hoisted_3$2y, [
|
|
100668
|
+
tableDataWithIndexes.value?.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_4$24, [
|
|
100674
100669
|
createElementVNode("span", null, toDisplayString(unref(t)("canvasUI.common.noData")), 1)
|
|
100675
100670
|
])) : (openBlock(), createElementBlock("div", {
|
|
100676
100671
|
key: 1,
|
|
@@ -100910,8 +100905,8 @@ function useFilterSuggestions(options = {}) {
|
|
|
100910
100905
|
|
|
100911
100906
|
const _hoisted_1$4g = ["v-bind"];
|
|
100912
100907
|
const _hoisted_2$37 = { class: "flex items-center px-6 font-size-4" };
|
|
100913
|
-
const _hoisted_3$
|
|
100914
|
-
const _hoisted_4$
|
|
100908
|
+
const _hoisted_3$2x = { class: "mb-2 py-2 px-6" };
|
|
100909
|
+
const _hoisted_4$23 = { class: "flex items-center" };
|
|
100915
100910
|
const _hoisted_5$1J = { key: 0 };
|
|
100916
100911
|
const _hoisted_6$1u = {
|
|
100917
100912
|
key: 1,
|
|
@@ -101149,7 +101144,7 @@ const _sfc_main$5h = /* @__PURE__ */ defineComponent({
|
|
|
101149
101144
|
onClick: onClearSearch
|
|
101150
101145
|
}, toDisplayString(unref(t)("canvasUI.components.filters.clear")), 1)) : createCommentVNode("", true)
|
|
101151
101146
|
]),
|
|
101152
|
-
createElementVNode("div", _hoisted_3$
|
|
101147
|
+
createElementVNode("div", _hoisted_3$2x, [
|
|
101153
101148
|
!_ctx.isCustom && !!unref(pitcherSettings).enable_search_filter_with_suggestions ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
101154
101149
|
!hasMoreData.value && distinctValues.value.length > 0 ? (openBlock(), createBlock(unref(NSelect), {
|
|
101155
101150
|
key: 0,
|
|
@@ -101208,7 +101203,7 @@ const _sfc_main$5h = /* @__PURE__ */ defineComponent({
|
|
|
101208
101203
|
onClick: _cache[0] || (_cache[0] = ($event) => isOpen.value = !isOpen.value)
|
|
101209
101204
|
}, {
|
|
101210
101205
|
default: withCtx(() => [
|
|
101211
|
-
createElementVNode("div", _hoisted_4$
|
|
101206
|
+
createElementVNode("div", _hoisted_4$23, [
|
|
101212
101207
|
!_ctx.modelValue ? (openBlock(), createElementBlock("div", _hoisted_5$1J, toDisplayString(filterName.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_6$1u, toDisplayString(`${filterName.value}:`), 1)),
|
|
101213
101208
|
_ctx.modelValue ? (openBlock(), createElementBlock("div", _hoisted_7$17, toDisplayString(_ctx.modelValue), 1)) : createCommentVNode("", true)
|
|
101214
101209
|
])
|
|
@@ -101285,8 +101280,8 @@ const CSearchFilter = /* @__PURE__ */ _export_sfc(_sfc_main$5h, [["__scopeId", "
|
|
|
101285
101280
|
|
|
101286
101281
|
const _hoisted_1$4f = ["v-bind"];
|
|
101287
101282
|
const _hoisted_2$36 = { class: "flex items-center gap-2 px-6 font-size-4" };
|
|
101288
|
-
const _hoisted_3$
|
|
101289
|
-
const _hoisted_4$
|
|
101283
|
+
const _hoisted_3$2w = { class: "mb-2 py-2 px-6" };
|
|
101284
|
+
const _hoisted_4$22 = { class: "flex items-center" };
|
|
101290
101285
|
const _hoisted_5$1I = { key: 0 };
|
|
101291
101286
|
const _hoisted_6$1t = {
|
|
101292
101287
|
key: 1,
|
|
@@ -101390,7 +101385,7 @@ const _sfc_main$5g = /* @__PURE__ */ defineComponent({
|
|
|
101390
101385
|
onClick: onClearSelection
|
|
101391
101386
|
}, toDisplayString(unref(t)("canvasUI.components.filters.clear")), 1)) : createCommentVNode("", true)
|
|
101392
101387
|
]),
|
|
101393
|
-
createElementVNode("div", _hoisted_3$
|
|
101388
|
+
createElementVNode("div", _hoisted_3$2w, [
|
|
101394
101389
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, (option) => {
|
|
101395
101390
|
return openBlock(), createElementBlock("div", {
|
|
101396
101391
|
key: option.value,
|
|
@@ -101435,7 +101430,7 @@ const _sfc_main$5g = /* @__PURE__ */ defineComponent({
|
|
|
101435
101430
|
onClick: _cache[0] || (_cache[0] = ($event) => isOpen.value = !isOpen.value)
|
|
101436
101431
|
}, {
|
|
101437
101432
|
default: withCtx(() => [
|
|
101438
|
-
createElementVNode("div", _hoisted_4$
|
|
101433
|
+
createElementVNode("div", _hoisted_4$22, [
|
|
101439
101434
|
!activeFilterValues.value.length ? (openBlock(), createElementBlock("div", _hoisted_5$1I, toDisplayString(filterName.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_6$1t, toDisplayString(`${filterName.value}:`), 1)),
|
|
101440
101435
|
activeFilterValues.value.length ? (openBlock(), createElementBlock("div", _hoisted_7$16, toDisplayString(activeFilterValues.value[0]?.label), 1)) : createCommentVNode("", true),
|
|
101441
101436
|
activeFilterValues.value.length > 1 ? (openBlock(), createElementBlock("div", {
|
|
@@ -101510,8 +101505,8 @@ const CSelectFilter = /* @__PURE__ */ _export_sfc(_sfc_main$5g, [["__scopeId", "
|
|
|
101510
101505
|
|
|
101511
101506
|
const _hoisted_1$4e = ["v-bind"];
|
|
101512
101507
|
const _hoisted_2$35 = { class: "flex items-center px-6 font-size-4" };
|
|
101513
|
-
const _hoisted_3$
|
|
101514
|
-
const _hoisted_4$
|
|
101508
|
+
const _hoisted_3$2v = { class: "mb-2 py-2 px-6" };
|
|
101509
|
+
const _hoisted_4$21 = { key: 0 };
|
|
101515
101510
|
const _hoisted_5$1H = {
|
|
101516
101511
|
key: 1,
|
|
101517
101512
|
class: "font-bold"
|
|
@@ -101602,7 +101597,7 @@ const _sfc_main$5f = /* @__PURE__ */ defineComponent({
|
|
|
101602
101597
|
onClick: onClearSelection
|
|
101603
101598
|
}, toDisplayString(unref(t)("canvasUI.components.filters.clear")), 1)) : createCommentVNode("", true)
|
|
101604
101599
|
]),
|
|
101605
|
-
createElementVNode("div", _hoisted_3$
|
|
101600
|
+
createElementVNode("div", _hoisted_3$2v, [
|
|
101606
101601
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, (option) => {
|
|
101607
101602
|
return openBlock(), createElementBlock("div", {
|
|
101608
101603
|
key: option.value,
|
|
@@ -101655,7 +101650,7 @@ const _sfc_main$5f = /* @__PURE__ */ defineComponent({
|
|
|
101655
101650
|
onClick: togglePopover
|
|
101656
101651
|
}, {
|
|
101657
101652
|
default: withCtx(() => [
|
|
101658
|
-
!activeFilter.value && !_ctx.modelValue ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
101653
|
+
!activeFilter.value && !_ctx.modelValue ? (openBlock(), createElementBlock("span", _hoisted_4$21, toDisplayString(filterName.value), 1)) : (openBlock(), createElementBlock("span", _hoisted_5$1H, toDisplayString(`${filterName.value}:`), 1)),
|
|
101659
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)
|
|
101660
101655
|
]),
|
|
101661
101656
|
_: 1
|
|
@@ -101939,7 +101934,7 @@ const _sfc_main$5e = /* @__PURE__ */ defineComponent({
|
|
|
101939
101934
|
|
|
101940
101935
|
const _hoisted_1$4c = { class: "flex flex-col gap-1" };
|
|
101941
101936
|
const _hoisted_2$33 = { class: "flex flex-wrap gap-1" };
|
|
101942
|
-
const _hoisted_3$
|
|
101937
|
+
const _hoisted_3$2u = { class: "font-bold" };
|
|
101943
101938
|
const _sfc_main$5d = /* @__PURE__ */ defineComponent({
|
|
101944
101939
|
__name: "CCanvasDeleteDialogContent",
|
|
101945
101940
|
props: {
|
|
@@ -101951,7 +101946,7 @@ const _sfc_main$5d = /* @__PURE__ */ defineComponent({
|
|
|
101951
101946
|
return openBlock(), createElementBlock("div", _hoisted_1$4c, [
|
|
101952
101947
|
createElementVNode("div", _hoisted_2$33, [
|
|
101953
101948
|
createElementVNode("div", null, toDisplayString(_ctx.texts.name), 1),
|
|
101954
|
-
createElementVNode("div", _hoisted_3$
|
|
101949
|
+
createElementVNode("div", _hoisted_3$2u, toDisplayString(_ctx.name), 1)
|
|
101955
101950
|
]),
|
|
101956
101951
|
createElementVNode("div", null, toDisplayString(_ctx.texts.info), 1)
|
|
101957
101952
|
]);
|
|
@@ -101966,11 +101961,11 @@ const DEFAULT_PAGE_SIZE_OPTIONS = [20, 30, 50, 100];
|
|
|
101966
101961
|
|
|
101967
101962
|
const _hoisted_1$4b = { class: "c-table rounded-2 pa-2 bg-base" };
|
|
101968
101963
|
const _hoisted_2$32 = { key: 0 };
|
|
101969
|
-
const _hoisted_3$
|
|
101964
|
+
const _hoisted_3$2t = {
|
|
101970
101965
|
key: 0,
|
|
101971
101966
|
class: "sticky top-0 z-2 overflow-hidden w-[26px]"
|
|
101972
101967
|
};
|
|
101973
|
-
const _hoisted_4$
|
|
101968
|
+
const _hoisted_4$20 = ["onClick"];
|
|
101974
101969
|
const _hoisted_5$1G = ["onMousedown", "onTouchstart"];
|
|
101975
101970
|
const _hoisted_6$1r = { key: 1 };
|
|
101976
101971
|
const _hoisted_7$14 = {
|
|
@@ -102328,7 +102323,7 @@ const _sfc_main$5c = /* @__PURE__ */ defineComponent({
|
|
|
102328
102323
|
}, [
|
|
102329
102324
|
!!unref(table).getRowModel().rows.length ? (openBlock(), createElementBlock("thead", _hoisted_2$32, [
|
|
102330
102325
|
createElementVNode("tr", null, [
|
|
102331
|
-
_ctx.selectedRows && _ctx.selectable ? (openBlock(), createElementBlock("th", _hoisted_3$
|
|
102326
|
+
_ctx.selectedRows && _ctx.selectable ? (openBlock(), createElementBlock("th", _hoisted_3$2t, [
|
|
102332
102327
|
createElementVNode("div", {
|
|
102333
102328
|
class: "py-2 h-[40px] flex pl-3 items-center select-none bg-base",
|
|
102334
102329
|
style: normalizeStyle({ borderBottom: `1px solid ${unref(themeVars).primary5}` })
|
|
@@ -102403,7 +102398,7 @@ const _sfc_main$5c = /* @__PURE__ */ defineComponent({
|
|
|
102403
102398
|
onMousedown: withModifiers(($event) => handleResizeStart($event, header), ["stop"]),
|
|
102404
102399
|
onTouchstart: withModifiers(($event) => handleResizeStart($event, header), ["stop"])
|
|
102405
102400
|
}, null, 46, _hoisted_5$1G)) : createCommentVNode("", true)
|
|
102406
|
-
], 14, _hoisted_4$
|
|
102401
|
+
], 14, _hoisted_4$20);
|
|
102407
102402
|
}), 128))
|
|
102408
102403
|
])
|
|
102409
102404
|
])) : createCommentVNode("", true),
|
|
@@ -102581,8 +102576,8 @@ const _hoisted_1$4a = {
|
|
|
102581
102576
|
class: "flex items-center relative c-table-input--view flex-auto"
|
|
102582
102577
|
};
|
|
102583
102578
|
const _hoisted_2$31 = { class: "h-full flex gap-1 items-center relative min-w-0 flex-1 c-table-input--view__value" };
|
|
102584
|
-
const _hoisted_3$
|
|
102585
|
-
const _hoisted_4$
|
|
102579
|
+
const _hoisted_3$2s = ["innerHTML"];
|
|
102580
|
+
const _hoisted_4$1$ = { class: "flex-shrink-0" };
|
|
102586
102581
|
const _hoisted_5$1F = {
|
|
102587
102582
|
key: 1,
|
|
102588
102583
|
class: "flex items-center gap-[2px] c-table-input--edit flex-auto"
|
|
@@ -102658,7 +102653,7 @@ const _sfc_main$5a = /* @__PURE__ */ defineComponent({
|
|
|
102658
102653
|
ref: textRef,
|
|
102659
102654
|
class: normalizeClass(["overflow-hidden text-ellipsis whitespace-nowrap min-w-0", _ctx.valueClass]),
|
|
102660
102655
|
innerHTML: unref(highlight)(_ctx.modelValue, _ctx.search)
|
|
102661
|
-
}, null, 10, _hoisted_3$
|
|
102656
|
+
}, null, 10, _hoisted_3$2s), [
|
|
102662
102657
|
[_directive_tooltip, showTooltip.value ? _ctx.modelValue : null]
|
|
102663
102658
|
]),
|
|
102664
102659
|
!_ctx.readonly && (!unref(isPitcherOrIosDevice) || _ctx.alwaysDisplayEditIcon) ? withDirectives((openBlock(), createElementBlock("div", {
|
|
@@ -102674,7 +102669,7 @@ const _sfc_main$5a = /* @__PURE__ */ defineComponent({
|
|
|
102674
102669
|
[_directive_tooltip, unref(t)("canvasUI.common.edit")]
|
|
102675
102670
|
]) : createCommentVNode("", true)
|
|
102676
102671
|
]),
|
|
102677
|
-
createElementVNode("div", _hoisted_4$
|
|
102672
|
+
createElementVNode("div", _hoisted_4$1$, [
|
|
102678
102673
|
renderSlot(_ctx.$slots, "suffix")
|
|
102679
102674
|
])
|
|
102680
102675
|
])) : _ctx.state === "edit" ? (openBlock(), createElementBlock("div", _hoisted_5$1F, [
|
|
@@ -102709,11 +102704,11 @@ const _hoisted_2$30 = {
|
|
|
102709
102704
|
key: 0,
|
|
102710
102705
|
class: "flex items-center c-table-tag--view"
|
|
102711
102706
|
};
|
|
102712
|
-
const _hoisted_3$
|
|
102707
|
+
const _hoisted_3$2r = {
|
|
102713
102708
|
key: 0,
|
|
102714
102709
|
class: "c-table-tag--view__tags flex flex-wrap items-center truncate gap-1"
|
|
102715
102710
|
};
|
|
102716
|
-
const _hoisted_4$
|
|
102711
|
+
const _hoisted_4$1_ = {
|
|
102717
102712
|
key: 0,
|
|
102718
102713
|
class: "font-size-[14px] tracking-[0.4px] leading-normal color-text2 whitespace-pre-wrap"
|
|
102719
102714
|
};
|
|
@@ -102818,8 +102813,8 @@ const _sfc_main$59 = /* @__PURE__ */ defineComponent({
|
|
|
102818
102813
|
const _directive_tooltip = resolveDirective("tooltip");
|
|
102819
102814
|
return openBlock(), createElementBlock("div", _hoisted_1$49, [
|
|
102820
102815
|
_ctx.state === "view" ? (openBlock(), createElementBlock("div", _hoisted_2$30, [
|
|
102821
|
-
tags.value.length ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
102822
|
-
_ctx.displayAsText ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
102816
|
+
tags.value.length ? (openBlock(), createElementBlock("div", _hoisted_3$2r, [
|
|
102817
|
+
_ctx.displayAsText ? (openBlock(), createElementBlock("div", _hoisted_4$1_, [
|
|
102823
102818
|
createElementVNode("span", {
|
|
102824
102819
|
innerHTML: unref(highlight)(tags.value.join(", "), _ctx.search)
|
|
102825
102820
|
}, null, 8, _hoisted_5$1E)
|
|
@@ -102922,8 +102917,8 @@ const CTableTag = /* @__PURE__ */ _export_sfc(_sfc_main$59, [["__scopeId", "data
|
|
|
102922
102917
|
|
|
102923
102918
|
const _hoisted_1$48 = { class: "flex flex-col w-full px-2" };
|
|
102924
102919
|
const _hoisted_2$2$ = { class: "font-bold" };
|
|
102925
|
-
const _hoisted_3$
|
|
102926
|
-
const _hoisted_4$
|
|
102920
|
+
const _hoisted_3$2q = { class: "flex flex-col gap-2 mt-2 mb-4" };
|
|
102921
|
+
const _hoisted_4$1Z = ["onDragstart", "onDrop"];
|
|
102927
102922
|
const _sfc_main$58 = /* @__PURE__ */ defineComponent({
|
|
102928
102923
|
__name: "CTableColumnsSettings",
|
|
102929
102924
|
props: {
|
|
@@ -102990,7 +102985,7 @@ const _sfc_main$58 = /* @__PURE__ */ defineComponent({
|
|
|
102990
102985
|
default: withCtx(() => [
|
|
102991
102986
|
createElementVNode("div", _hoisted_1$48, [
|
|
102992
102987
|
createElementVNode("div", _hoisted_2$2$, toDisplayString(unref(t)("canvasUI.components.CTableColumnsSettings.show")), 1),
|
|
102993
|
-
createElementVNode("div", _hoisted_3$
|
|
102988
|
+
createElementVNode("div", _hoisted_3$2q, [
|
|
102994
102989
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.tableColumnsSettings, (item, index) => {
|
|
102995
102990
|
return openBlock(), createElementBlock("div", {
|
|
102996
102991
|
key: item.id,
|
|
@@ -103011,7 +103006,7 @@ const _sfc_main$58 = /* @__PURE__ */ defineComponent({
|
|
|
103011
103006
|
value: item.id,
|
|
103012
103007
|
"onUpdate:checked": ($event) => handleItemClick(item, $event)
|
|
103013
103008
|
}, null, 8, ["checked", "label", "value", "onUpdate:checked"])
|
|
103014
|
-
], 42, _hoisted_4$
|
|
103009
|
+
], 42, _hoisted_4$1Z);
|
|
103015
103010
|
}), 128))
|
|
103016
103011
|
]),
|
|
103017
103012
|
createVNode(CButton, {
|
|
@@ -103035,7 +103030,7 @@ const CTableColumnsSettings = /* @__PURE__ */ _export_sfc(_sfc_main$58, [["__sco
|
|
|
103035
103030
|
|
|
103036
103031
|
const _hoisted_1$47 = { class: "c-search-filters flex flex-wrap items-center gap-2 w-full" };
|
|
103037
103032
|
const _hoisted_2$2_ = { class: "flex flex-col ma-2" };
|
|
103038
|
-
const _hoisted_3$
|
|
103033
|
+
const _hoisted_3$2p = {
|
|
103039
103034
|
key: 0,
|
|
103040
103035
|
class: "flex flex-wrap gap-2"
|
|
103041
103036
|
};
|
|
@@ -103562,7 +103557,7 @@ const _sfc_main$57 = /* @__PURE__ */ defineComponent({
|
|
|
103562
103557
|
createVNode(unref(NCollapse), { "default-expanded-names": expandedNames.value }, {
|
|
103563
103558
|
default: withCtx(() => [
|
|
103564
103559
|
createElementVNode("div", _hoisted_2$2_, [
|
|
103565
|
-
hasAnySystemFilter.value ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
103560
|
+
hasAnySystemFilter.value ? (openBlock(), createElementBlock("div", _hoisted_3$2p, [
|
|
103566
103561
|
(openBlock(true), createElementBlock(Fragment, null, renderList(systemFilters.value, (f) => {
|
|
103567
103562
|
return openBlock(), createBlock(_sfc_main$5i, {
|
|
103568
103563
|
key: f.name,
|
|
@@ -104330,7 +104325,7 @@ function useSectionSmartFolderStore() {
|
|
|
104330
104325
|
|
|
104331
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" };
|
|
104332
104327
|
const _hoisted_2$2Z = { class: "flex flex-wrap items-center gap-2 flex-1" };
|
|
104333
|
-
const _hoisted_3$
|
|
104328
|
+
const _hoisted_3$2o = { class: "flex gap-2" };
|
|
104334
104329
|
const _sfc_main$56 = /* @__PURE__ */ defineComponent({
|
|
104335
104330
|
__name: "CSectionManagementToolbar",
|
|
104336
104331
|
props: {
|
|
@@ -104391,7 +104386,7 @@ const _sfc_main$56 = /* @__PURE__ */ defineComponent({
|
|
|
104391
104386
|
"onUpdate:search": _cache[1] || (_cache[1] = ($event) => emit("search", $event))
|
|
104392
104387
|
}), null, 16, ["customFilterComponents", "disabled", "filters", "include-draft-values", "initial-search-value", "placeholder"])
|
|
104393
104388
|
]),
|
|
104394
|
-
createElementVNode("div", _hoisted_3$
|
|
104389
|
+
createElementVNode("div", _hoisted_3$2o, [
|
|
104395
104390
|
showSmartFolderToggle.value ? withDirectives((openBlock(), createBlock(CButton, {
|
|
104396
104391
|
key: 0,
|
|
104397
104392
|
circle: "",
|
|
@@ -104599,7 +104594,7 @@ const _hoisted_1$44 = {
|
|
|
104599
104594
|
const _hoisted_2$2Y = {
|
|
104600
104595
|
class: "flex items-center gap-4"
|
|
104601
104596
|
};
|
|
104602
|
-
const _hoisted_3$
|
|
104597
|
+
const _hoisted_3$2n = {
|
|
104603
104598
|
class: "flex items-center gap-2"
|
|
104604
104599
|
};
|
|
104605
104600
|
const ACTIONS_FONT_SIZE_CLASS = 'font-size-4';
|
|
@@ -104803,7 +104798,7 @@ const _sfc_main$54 = /*@__PURE__*/defineComponent({
|
|
|
104803
104798
|
size: "12px"
|
|
104804
104799
|
})]),
|
|
104805
104800
|
_: 1
|
|
104806
|
-
}, 8, ["disabled"])), [[unref(vTooltip), props.shareboxTooltip || unref(t)('canvasUI.browserApp.contextMenu.addToSharebox')]]) : createCommentVNode("", true)]), createElementVNode("div", _hoisted_3$
|
|
104801
|
+
}, 8, ["disabled"])), [[unref(vTooltip), props.shareboxTooltip || unref(t)('canvasUI.browserApp.contextMenu.addToSharebox')]]) : createCommentVNode("", true)]), createElementVNode("div", _hoisted_3$2n, [renderSlot(_ctx.$slots, "start"), _ctx.showFavorite ? withDirectives((openBlock(), createBlock(CButton, {
|
|
104807
104802
|
key: 0,
|
|
104808
104803
|
circle: "",
|
|
104809
104804
|
color: _ctx.areAllSelectedFavorites ? unref(themeVars).accent : unref(themeVars).primary,
|
|
@@ -104892,7 +104887,7 @@ const _sfc_main$53 = /* @__PURE__ */ defineComponent({
|
|
|
104892
104887
|
|
|
104893
104888
|
const _hoisted_1$43 = { class: "c-popularity-and-engagement-icons" };
|
|
104894
104889
|
const _hoisted_2$2X = { key: 0 };
|
|
104895
|
-
const _hoisted_3$
|
|
104890
|
+
const _hoisted_3$2m = { key: 1 };
|
|
104896
104891
|
const _sfc_main$52 = /* @__PURE__ */ defineComponent({
|
|
104897
104892
|
__name: "CPopularityAndEngagementIcons",
|
|
104898
104893
|
props: {
|
|
@@ -105056,7 +105051,7 @@ const _sfc_main$52 = /* @__PURE__ */ defineComponent({
|
|
|
105056
105051
|
]),
|
|
105057
105052
|
default: withCtx(() => [
|
|
105058
105053
|
_ctx.popularity?.value ? (openBlock(), createElementBlock("span", _hoisted_2$2X, toDisplayString(_ctx.popularity?.value) + "% " + toDisplayString(unref(t)("canvasUI.CPopularityAndEngagementIcons.popularityScore")) + ", ", 1)) : createCommentVNode("", true),
|
|
105059
|
-
_ctx.views ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
105054
|
+
_ctx.views ? (openBlock(), createElementBlock("span", _hoisted_3$2m, toDisplayString(unref(t)("canvasUI.CPopularityAndEngagementIcons.views")) + ": " + toDisplayString(_ctx.views), 1)) : createCommentVNode("", true)
|
|
105060
105055
|
]),
|
|
105061
105056
|
_: 1
|
|
105062
105057
|
}, 8, ["style", "trigger"])) : createCommentVNode("", true),
|
|
@@ -105260,8 +105255,8 @@ function usePopularity() {
|
|
|
105260
105255
|
|
|
105261
105256
|
const _hoisted_1$42 = { class: "mb-2" };
|
|
105262
105257
|
const _hoisted_2$2W = { class: "w-full" };
|
|
105263
|
-
const _hoisted_3$
|
|
105264
|
-
const _hoisted_4$
|
|
105258
|
+
const _hoisted_3$2l = { class: "text-left px-2 py-1 font-bold bg-primary5" };
|
|
105259
|
+
const _hoisted_4$1Y = { class: "text-left px-2 py-1 font-bold bg-primary5" };
|
|
105265
105260
|
const _hoisted_5$1D = { class: "text-left px-2 py-1 font-bold bg-primary5" };
|
|
105266
105261
|
const _hoisted_6$1p = { class: "px-2 py-1" };
|
|
105267
105262
|
const _hoisted_7$12 = { class: "px-2 py-1" };
|
|
@@ -105286,8 +105281,8 @@ const _sfc_main$51 = /* @__PURE__ */ defineComponent({
|
|
|
105286
105281
|
createElementVNode("table", _hoisted_2$2W, [
|
|
105287
105282
|
createElementVNode("thead", null, [
|
|
105288
105283
|
createElementVNode("tr", null, [
|
|
105289
|
-
createElementVNode("th", _hoisted_3$
|
|
105290
|
-
createElementVNode("th", _hoisted_4$
|
|
105284
|
+
createElementVNode("th", _hoisted_3$2l, toDisplayString(_ctx.nameText ?? unref(t)("canvasUI.components.templates.CBulkDeleteErrors.name")), 1),
|
|
105285
|
+
createElementVNode("th", _hoisted_4$1Y, toDisplayString(_ctx.idText ?? unref(t)("canvasUI.components.templates.CBulkDeleteErrors.id")), 1),
|
|
105291
105286
|
createElementVNode("th", _hoisted_5$1D, toDisplayString(_ctx.msgText ?? unref(t)("canvasUI.components.templates.CBulkDeleteErrors.errorMessage")), 1)
|
|
105292
105287
|
])
|
|
105293
105288
|
]),
|
|
@@ -107165,7 +107160,7 @@ const _hoisted_1$40 = {
|
|
|
107165
107160
|
class: "flex items-center gap-2"
|
|
107166
107161
|
};
|
|
107167
107162
|
const _hoisted_2$2U = { key: 0 };
|
|
107168
|
-
const _hoisted_3$
|
|
107163
|
+
const _hoisted_3$2k = {
|
|
107169
107164
|
key: 0,
|
|
107170
107165
|
class: "flex gap-2"
|
|
107171
107166
|
};
|
|
@@ -107236,7 +107231,7 @@ const _sfc_main$4Z = /* @__PURE__ */ defineComponent({
|
|
|
107236
107231
|
]),
|
|
107237
107232
|
_: 1
|
|
107238
107233
|
})) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
107239
|
-
unref(launchDarkly).selectors_dnd_batch_add_style && ["buttons"].includes(unref(launchDarkly).selectors_dnd_batch_add_style) ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
107234
|
+
unref(launchDarkly).selectors_dnd_batch_add_style && ["buttons"].includes(unref(launchDarkly).selectors_dnd_batch_add_style) ? (openBlock(), createElementBlock("div", _hoisted_3$2k, [
|
|
107240
107235
|
createVNode(CButton, {
|
|
107241
107236
|
size: "small",
|
|
107242
107237
|
onClick: _cache[2] || (_cache[2] = ($event) => emit("items-added", _ctx.selectedItemIds, "top"))
|
|
@@ -107319,10 +107314,10 @@ const _hoisted_1$3$ = {
|
|
|
107319
107314
|
const _hoisted_2$2T = {
|
|
107320
107315
|
class: "actions-toolbar__nav bg-base rounded-2 pa-4 pb-4 flex flex-col gap-3"
|
|
107321
107316
|
};
|
|
107322
|
-
const _hoisted_3$
|
|
107317
|
+
const _hoisted_3$2j = {
|
|
107323
107318
|
class: "flex justify-between items-center flex-wrap"
|
|
107324
107319
|
};
|
|
107325
|
-
const _hoisted_4$
|
|
107320
|
+
const _hoisted_4$1X = {
|
|
107326
107321
|
class: "breadcrumb-area flex justify-between gap-2 items-center truncate"
|
|
107327
107322
|
};
|
|
107328
107323
|
const _hoisted_5$1C = {
|
|
@@ -107542,7 +107537,7 @@ const _sfc_main$4Y = /*@__PURE__*/defineComponent({
|
|
|
107542
107537
|
}
|
|
107543
107538
|
return (_ctx, _cache) => {
|
|
107544
107539
|
const _directive_tooltip = resolveDirective("tooltip");
|
|
107545
|
-
return openBlock(), createElementBlock("div", _hoisted_1$3$, [createElementVNode("div", _hoisted_2$2T, [createElementVNode("div", _hoisted_3$
|
|
107540
|
+
return openBlock(), createElementBlock("div", _hoisted_1$3$, [createElementVNode("div", _hoisted_2$2T, [createElementVNode("div", _hoisted_3$2j, [createElementVNode("div", _hoisted_4$1X, [createVNode(unref(NBreadcrumb), {
|
|
107546
107541
|
class: "overflow-x-auto",
|
|
107547
107542
|
separator: ">"
|
|
107548
107543
|
}, {
|
|
@@ -107794,11 +107789,11 @@ const _sfc_main$4W = /* @__PURE__ */ defineComponent({
|
|
|
107794
107789
|
|
|
107795
107790
|
const _hoisted_1$3Z = { class: "c-list w-full flex flex-col" };
|
|
107796
107791
|
const _hoisted_2$2S = { class: "overflow-hidden c-list__content" };
|
|
107797
|
-
const _hoisted_3$
|
|
107792
|
+
const _hoisted_3$2i = {
|
|
107798
107793
|
key: 0,
|
|
107799
107794
|
class: "flex py-8 justify-center h-full"
|
|
107800
107795
|
};
|
|
107801
|
-
const _hoisted_4$
|
|
107796
|
+
const _hoisted_4$1W = ["data-index"];
|
|
107802
107797
|
const _sfc_main$4V = /* @__PURE__ */ defineComponent({
|
|
107803
107798
|
__name: "CList",
|
|
107804
107799
|
props: {
|
|
@@ -107886,7 +107881,7 @@ const _sfc_main$4V = /* @__PURE__ */ defineComponent({
|
|
|
107886
107881
|
return (_ctx, _cache) => {
|
|
107887
107882
|
return openBlock(), createElementBlock("div", _hoisted_1$3Z, [
|
|
107888
107883
|
createElementVNode("div", _hoisted_2$2S, [
|
|
107889
|
-
listDataWithIndices.value?.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
107884
|
+
listDataWithIndices.value?.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_3$2i, [
|
|
107890
107885
|
createElementVNode("span", null, toDisplayString(unref(t)("canvasUI.common.noData")), 1)
|
|
107891
107886
|
])) : (openBlock(), createElementBlock("div", {
|
|
107892
107887
|
key: 1,
|
|
@@ -107939,7 +107934,7 @@ const _sfc_main$4V = /* @__PURE__ */ defineComponent({
|
|
|
107939
107934
|
]),
|
|
107940
107935
|
_: 2
|
|
107941
107936
|
}, 1032, ["context-menu-x", "context-menu-y", "index", "is-context-menu-open", "item", "movable", "selected-ids"])
|
|
107942
|
-
], 12, _hoisted_4$
|
|
107937
|
+
], 12, _hoisted_4$1W);
|
|
107943
107938
|
}), 128))
|
|
107944
107939
|
], 4)) : createCommentVNode("", true)
|
|
107945
107940
|
], 4))
|
|
@@ -108066,8 +108061,8 @@ const _hoisted_1$3X = {
|
|
|
108066
108061
|
class: "c-popularity-and-engagement-icons flex flex-wrap"
|
|
108067
108062
|
};
|
|
108068
108063
|
const _hoisted_2$2R = { key: 0 };
|
|
108069
|
-
const _hoisted_3$
|
|
108070
|
-
const _hoisted_4$
|
|
108064
|
+
const _hoisted_3$2h = { key: 1 };
|
|
108065
|
+
const _hoisted_4$1V = { key: 0 };
|
|
108071
108066
|
const _hoisted_5$1B = { key: 1 };
|
|
108072
108067
|
const _hoisted_6$1n = { key: 0 };
|
|
108073
108068
|
const _hoisted_7$10 = { key: 0 };
|
|
@@ -108217,7 +108212,7 @@ const _sfc_main$4S = /* @__PURE__ */ defineComponent({
|
|
|
108217
108212
|
_ctx.variation === "extended" ? (openBlock(), createElementBlock("div", _hoisted_2$2R, [
|
|
108218
108213
|
createElementVNode("span", null, toDisplayString(_ctx.popularity?.value) + "% ", 1),
|
|
108219
108214
|
createElementVNode("span", null, toDisplayString(unref(t)("canvasUI.CPopularityAndEngagementIcons.popularityScore")), 1)
|
|
108220
|
-
])) : _ctx.variation === "compact" ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
108215
|
+
])) : _ctx.variation === "compact" ? (openBlock(), createElementBlock("div", _hoisted_3$2h, [
|
|
108221
108216
|
createElementVNode("span", null, toDisplayString(_ctx.popularity?.value) + "% ", 1)
|
|
108222
108217
|
])) : createCommentVNode("", true)
|
|
108223
108218
|
]),
|
|
@@ -108230,7 +108225,7 @@ const _sfc_main$4S = /* @__PURE__ */ defineComponent({
|
|
|
108230
108225
|
], 2)
|
|
108231
108226
|
]),
|
|
108232
108227
|
default: withCtx(() => [
|
|
108233
|
-
_ctx.popularity?.value ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
108228
|
+
_ctx.popularity?.value ? (openBlock(), createElementBlock("span", _hoisted_4$1V, toDisplayString(_ctx.popularity?.value) + "% " + toDisplayString(unref(t)("canvasUI.CPopularityAndEngagementIcons.popularityScore")) + ", ", 1)) : createCommentVNode("", true),
|
|
108234
108229
|
_ctx.views ? (openBlock(), createElementBlock("span", _hoisted_5$1B, toDisplayString(unref(t)("canvasUI.CPopularityAndEngagementIcons.views")) + ": " + toDisplayString(_ctx.views), 1)) : createCommentVNode("", true)
|
|
108235
108230
|
]),
|
|
108236
108231
|
_: 1
|
|
@@ -109538,8 +109533,8 @@ function openFolder(folderId) {
|
|
|
109538
109533
|
|
|
109539
109534
|
const _hoisted_1$3W = { class: "flex items-center" };
|
|
109540
109535
|
const _hoisted_2$2Q = { class: "my-3" };
|
|
109541
|
-
const _hoisted_3$
|
|
109542
|
-
const _hoisted_4$
|
|
109536
|
+
const _hoisted_3$2g = { class: "flex flex-col justify-center gap-1 pa-3 truncate w-full" };
|
|
109537
|
+
const _hoisted_4$1U = { key: 0 };
|
|
109543
109538
|
const _hoisted_5$1A = { key: 0 };
|
|
109544
109539
|
const _hoisted_6$1m = { key: 1 };
|
|
109545
109540
|
const _hoisted_7$$ = {
|
|
@@ -109656,7 +109651,7 @@ const _sfc_main$4R = /* @__PURE__ */ defineComponent({
|
|
|
109656
109651
|
}, null, 8, ["item"])
|
|
109657
109652
|
])
|
|
109658
109653
|
]),
|
|
109659
|
-
createElementVNode("div", _hoisted_3$
|
|
109654
|
+
createElementVNode("div", _hoisted_3$2g, [
|
|
109660
109655
|
createVNode(_sfc_main$5a, {
|
|
109661
109656
|
modelValue: _ctx.name ?? _ctx.item.name,
|
|
109662
109657
|
readonly: isReadonly(),
|
|
@@ -109671,7 +109666,7 @@ const _sfc_main$4R = /* @__PURE__ */ defineComponent({
|
|
|
109671
109666
|
class: "truncate font-size-[12px]",
|
|
109672
109667
|
style: normalizeStyle({ color: _ctx.isContextMenuOpen || _ctx.isDraggedOver ? unref(themeVars).text2 : unref(themeVars).text3 })
|
|
109673
109668
|
}, [
|
|
109674
|
-
_ctx.item.type === "smart_folder" ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
109669
|
+
_ctx.item.type === "smart_folder" ? (openBlock(), createElementBlock("span", _hoisted_4$1U, [
|
|
109675
109670
|
createVNode(CIcon, {
|
|
109676
109671
|
class: "mr-1",
|
|
109677
109672
|
icon: "folder-bookmark"
|
|
@@ -109773,8 +109768,8 @@ const _hoisted_2$2P = {
|
|
|
109773
109768
|
key: 0,
|
|
109774
109769
|
class: "flex flex-col items-center justify-center h-full"
|
|
109775
109770
|
};
|
|
109776
|
-
const _hoisted_3$
|
|
109777
|
-
const _hoisted_4$
|
|
109771
|
+
const _hoisted_3$2f = { key: 2 };
|
|
109772
|
+
const _hoisted_4$1T = { class: "text-primary ml-1" };
|
|
109778
109773
|
const _sfc_main$4Q = /* @__PURE__ */ defineComponent({
|
|
109779
109774
|
__name: "CSectionSmartFolders",
|
|
109780
109775
|
props: {
|
|
@@ -110122,7 +110117,7 @@ const _sfc_main$4Q = /* @__PURE__ */ defineComponent({
|
|
|
110122
110117
|
])) : !unref(store).state.hierarchyLevels?.length ? (openBlock(), createBlock(_sfc_main$4X, {
|
|
110123
110118
|
key: 1,
|
|
110124
110119
|
"hide-configuration-button": ""
|
|
110125
|
-
})) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
110120
|
+
})) : (openBlock(), createElementBlock("div", _hoisted_3$2f, [
|
|
110126
110121
|
createVNode(_sfc_main$4V, {
|
|
110127
110122
|
ref_key: "listRef",
|
|
110128
110123
|
ref: listRef,
|
|
@@ -110150,7 +110145,7 @@ const _sfc_main$4Q = /* @__PURE__ */ defineComponent({
|
|
|
110150
110145
|
unref(store).state.viewMode === "folders" && item.items_count ? {
|
|
110151
110146
|
name: "folder-name-suffix",
|
|
110152
110147
|
fn: withCtx(() => [
|
|
110153
|
-
createElementVNode("span", _hoisted_4$
|
|
110148
|
+
createElementVNode("span", _hoisted_4$1T, "(" + toDisplayString(item.items_count) + ")", 1)
|
|
110154
110149
|
]),
|
|
110155
110150
|
key: "0"
|
|
110156
110151
|
} : void 0,
|
|
@@ -110896,7 +110891,7 @@ const _sfc_main$4P = /*@__PURE__*/defineComponent({
|
|
|
110896
110891
|
|
|
110897
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" };
|
|
110898
110893
|
const _hoisted_2$2O = { class: "flex flex-wrap items-center gap-2 flex-1" };
|
|
110899
|
-
const _hoisted_3$
|
|
110894
|
+
const _hoisted_3$2e = { class: "flex gap-4" };
|
|
110900
110895
|
const _sfc_main$4O = /* @__PURE__ */ defineComponent({
|
|
110901
110896
|
__name: "CBlockManagementToolbar",
|
|
110902
110897
|
props: {
|
|
@@ -110928,7 +110923,7 @@ const _sfc_main$4O = /* @__PURE__ */ defineComponent({
|
|
|
110928
110923
|
"onUpdate:search": _cache[1] || (_cache[1] = ($event) => emit("search", $event))
|
|
110929
110924
|
}, null, 8, ["customFilterComponents", "disabled", "filters", "initial-search-value", "placeholder"])
|
|
110930
110925
|
]),
|
|
110931
|
-
createElementVNode("div", _hoisted_3$
|
|
110926
|
+
createElementVNode("div", _hoisted_3$2e, [
|
|
110932
110927
|
!_ctx.hideView ? (openBlock(), createBlock(CTableColumnsSettings, {
|
|
110933
110928
|
key: 0,
|
|
110934
110929
|
"table-columns-settings": _ctx.tableColumnsSettings,
|
|
@@ -111583,8 +111578,8 @@ const _hoisted_2$2N = {
|
|
|
111583
111578
|
key: 1,
|
|
111584
111579
|
class: "w-full flex items-center justify-center h-[250px] mb-4 mt-3"
|
|
111585
111580
|
};
|
|
111586
|
-
const _hoisted_3$
|
|
111587
|
-
const _hoisted_4$
|
|
111581
|
+
const _hoisted_3$2d = { class: "flex flex-col items-center justify-center" };
|
|
111582
|
+
const _hoisted_4$1S = ["onClick"];
|
|
111588
111583
|
const _hoisted_5$1z = { class: "inline-flex items-center truncate" };
|
|
111589
111584
|
const _hoisted_6$1l = { class: "truncate" };
|
|
111590
111585
|
const _hoisted_7$_ = {
|
|
@@ -111673,7 +111668,7 @@ const _sfc_main$4L = /* @__PURE__ */ defineComponent({
|
|
|
111673
111668
|
_: 1
|
|
111674
111669
|
})) : createCommentVNode("", true),
|
|
111675
111670
|
_ctx.isMoving ? (openBlock(), createElementBlock("div", _hoisted_2$2N, [
|
|
111676
|
-
createElementVNode("div", _hoisted_3$
|
|
111671
|
+
createElementVNode("div", _hoisted_3$2d, [
|
|
111677
111672
|
createVNode(CIcon, {
|
|
111678
111673
|
class: "mb-2",
|
|
111679
111674
|
color: unref(themeVars).primary3,
|
|
@@ -111711,7 +111706,7 @@ const _sfc_main$4L = /* @__PURE__ */ defineComponent({
|
|
|
111711
111706
|
icon: "angle-right",
|
|
111712
111707
|
size: "14px"
|
|
111713
111708
|
})
|
|
111714
|
-
], 12, _hoisted_4$
|
|
111709
|
+
], 12, _hoisted_4$1S)
|
|
111715
111710
|
]),
|
|
111716
111711
|
_: 1
|
|
111717
111712
|
}, 8, ["items"])) : (openBlock(), createElementBlock("div", _hoisted_7$_, [
|
|
@@ -111770,10 +111765,10 @@ const _hoisted_1$3P = {
|
|
|
111770
111765
|
const _hoisted_2$2M = {
|
|
111771
111766
|
class: "flex gap-4"
|
|
111772
111767
|
};
|
|
111773
|
-
const _hoisted_3$
|
|
111768
|
+
const _hoisted_3$2c = {
|
|
111774
111769
|
class: "flex gap-2"
|
|
111775
111770
|
};
|
|
111776
|
-
const _hoisted_4$
|
|
111771
|
+
const _hoisted_4$1R = {
|
|
111777
111772
|
key: 1,
|
|
111778
111773
|
class: "w-full flex justify-between items-start"
|
|
111779
111774
|
};
|
|
@@ -112021,7 +112016,7 @@ const _sfc_main$4K = /*@__PURE__*/defineComponent({
|
|
|
112021
112016
|
}, 1032, ["class", "clickable", "onClick"]);
|
|
112022
112017
|
}), 128))]),
|
|
112023
112018
|
_: 1
|
|
112024
|
-
}), createElementVNode("div", _hoisted_2$2M, [createElementVNode("div", _hoisted_3$
|
|
112019
|
+
}), createElementVNode("div", _hoisted_2$2M, [createElementVNode("div", _hoisted_3$2c, [_ctx.canvasType !== 'section-template' ? withDirectives((openBlock(), createBlock(CButton, {
|
|
112025
112020
|
key: 0,
|
|
112026
112021
|
circle: "",
|
|
112027
112022
|
onClick: _cache[0] || (_cache[0] = $event => _ctx.$emit('toggle-view-mode'))
|
|
@@ -112072,7 +112067,7 @@ const _sfc_main$4K = /*@__PURE__*/defineComponent({
|
|
|
112072
112067
|
_: 1
|
|
112073
112068
|
})]),
|
|
112074
112069
|
_: 1
|
|
112075
|
-
}, 8, ["options"])) : createCommentVNode("", true)])])) : createCommentVNode("", true), !_ctx.isTemplateFolderEnabled ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
112070
|
+
}, 8, ["options"])) : createCommentVNode("", true)])])) : createCommentVNode("", true), !_ctx.isTemplateFolderEnabled ? (openBlock(), createElementBlock("div", _hoisted_4$1R, [createElementVNode("div", _hoisted_5$1y, [createVNode(_sfc_main$57, mergeProps({
|
|
112076
112071
|
ref_key: "searchFiltersRef",
|
|
112077
112072
|
ref: searchFiltersRef,
|
|
112078
112073
|
customFilterComponents: _ctx.customFilterComponents,
|
|
@@ -112636,11 +112631,11 @@ const _hoisted_2$2L = {
|
|
|
112636
112631
|
key: 0,
|
|
112637
112632
|
class: "canvas-thumbnail mr-2"
|
|
112638
112633
|
};
|
|
112639
|
-
const _hoisted_3$
|
|
112634
|
+
const _hoisted_3$2b = {
|
|
112640
112635
|
key: 1,
|
|
112641
112636
|
class: "mx-3 my-3"
|
|
112642
112637
|
};
|
|
112643
|
-
const _hoisted_4$
|
|
112638
|
+
const _hoisted_4$1Q = { class: "flex flex-col justify-center gap-1 pa-3 truncate w-full" };
|
|
112644
112639
|
const _hoisted_5$1x = { class: "flex items-center" };
|
|
112645
112640
|
const _hoisted_6$1j = { key: 0 };
|
|
112646
112641
|
const _hoisted_7$Y = { key: 0 };
|
|
@@ -112784,11 +112779,11 @@ const _sfc_main$4H = /* @__PURE__ */ defineComponent({
|
|
|
112784
112779
|
themeVars: unref(themeVars),
|
|
112785
112780
|
thumbnailUrl: unref(item).thumbnail_url ?? unref(item).metadata?.thumbnail
|
|
112786
112781
|
}, null, 8, ["isFolder", "item", "themeVars", "thumbnailUrl"])
|
|
112787
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
112782
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_3$2b, [
|
|
112788
112783
|
createVNode(CIcon, mergeProps({ class: "mr-2" }, getIconBindings(unref(item))), null, 16)
|
|
112789
112784
|
]))
|
|
112790
112785
|
]),
|
|
112791
|
-
createElementVNode("div", _hoisted_4$
|
|
112786
|
+
createElementVNode("div", _hoisted_4$1Q, [
|
|
112792
112787
|
createElementVNode("div", _hoisted_5$1x, [
|
|
112793
112788
|
!!unref(launchDarkly).enable_canvas_locks && !isFolder(unref(item)) && unref(isCanvasLocked)(String(unref(item).id)) ? withDirectives((openBlock(), createBlock(CIcon, {
|
|
112794
112789
|
key: 0,
|
|
@@ -114432,7 +114427,7 @@ const _sfc_main$4E = /*@__PURE__*/defineComponent({
|
|
|
114432
114427
|
|
|
114433
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" };
|
|
114434
114429
|
const _hoisted_2$2I = { class: "flex flex-wrap items-center gap-2 flex-1" };
|
|
114435
|
-
const _hoisted_3$
|
|
114430
|
+
const _hoisted_3$2a = { class: "flex gap-4" };
|
|
114436
114431
|
const _sfc_main$4D = /* @__PURE__ */ defineComponent({
|
|
114437
114432
|
__name: "CThemeManagementToolbar",
|
|
114438
114433
|
props: {
|
|
@@ -114463,7 +114458,7 @@ const _sfc_main$4D = /* @__PURE__ */ defineComponent({
|
|
|
114463
114458
|
"onUpdate:search": _cache[1] || (_cache[1] = ($event) => emit("search", $event))
|
|
114464
114459
|
}, null, 8, ["customFilterComponents", "disabled", "filters", "initial-search-value", "placeholder"])
|
|
114465
114460
|
]),
|
|
114466
|
-
createElementVNode("div", _hoisted_3$
|
|
114461
|
+
createElementVNode("div", _hoisted_3$2a, [
|
|
114467
114462
|
!_ctx.hideView ? (openBlock(), createBlock(CTableColumnsSettings, {
|
|
114468
114463
|
key: 0,
|
|
114469
114464
|
"table-columns-settings": _ctx.tableColumnsSettings,
|
|
@@ -115246,8 +115241,8 @@ const _hoisted_2$2H = {
|
|
|
115246
115241
|
key: 0,
|
|
115247
115242
|
class: "h-full flex items-center min-w-0"
|
|
115248
115243
|
};
|
|
115249
|
-
const _hoisted_3$
|
|
115250
|
-
const _hoisted_4$
|
|
115244
|
+
const _hoisted_3$29 = ["onClick"];
|
|
115245
|
+
const _hoisted_4$1P = { class: "underline underline-solid cursor-pointer select-none ml-1 c-table-more__more-items-trigger" };
|
|
115251
115246
|
const _hoisted_5$1w = {
|
|
115252
115247
|
key: 1,
|
|
115253
115248
|
class: "c-table-more__empty"
|
|
@@ -115291,7 +115286,7 @@ const _sfc_main$4y = /* @__PURE__ */ defineComponent({
|
|
|
115291
115286
|
class: "c-table-more__items",
|
|
115292
115287
|
size: "small",
|
|
115293
115288
|
onClick: ($event) => emit("click", item.key)
|
|
115294
|
-
}, toDisplayString(item.label), 9, _hoisted_3$
|
|
115289
|
+
}, toDisplayString(item.label), 9, _hoisted_3$29);
|
|
115295
115290
|
}), 128)),
|
|
115296
115291
|
remainingItems.value.length ? (openBlock(), createBlock(_sfc_main$6x, {
|
|
115297
115292
|
key: 0,
|
|
@@ -115299,7 +115294,7 @@ const _sfc_main$4y = /* @__PURE__ */ defineComponent({
|
|
|
115299
115294
|
trigger: "click"
|
|
115300
115295
|
}, {
|
|
115301
115296
|
trigger: withCtx(() => [
|
|
115302
|
-
createElementVNode("span", _hoisted_4$
|
|
115297
|
+
createElementVNode("span", _hoisted_4$1P, toDisplayString(unref(t)("canvasUI.components.tables.andCountMore", {
|
|
115303
115298
|
count: remainingItems.value.length
|
|
115304
115299
|
})), 1)
|
|
115305
115300
|
]),
|
|
@@ -115984,11 +115979,11 @@ const _hoisted_2$2G = {
|
|
|
115984
115979
|
key: 0,
|
|
115985
115980
|
class: "flex items-center gap-2 flex-1"
|
|
115986
115981
|
};
|
|
115987
|
-
const _hoisted_3$
|
|
115982
|
+
const _hoisted_3$28 = {
|
|
115988
115983
|
key: 1,
|
|
115989
115984
|
class: "flex flex-wrap items-center gap-2 flex-1"
|
|
115990
115985
|
};
|
|
115991
|
-
const _hoisted_4$
|
|
115986
|
+
const _hoisted_4$1O = { class: "flex gap-4" };
|
|
115992
115987
|
const _sfc_main$4w = /* @__PURE__ */ defineComponent({
|
|
115993
115988
|
__name: "CSavedCanvasesManagementToolbar",
|
|
115994
115989
|
props: {
|
|
@@ -116039,7 +116034,7 @@ const _sfc_main$4w = /* @__PURE__ */ defineComponent({
|
|
|
116039
116034
|
]),
|
|
116040
116035
|
_: 1
|
|
116041
116036
|
})
|
|
116042
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
116037
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_3$28, [
|
|
116043
116038
|
createVNode(_sfc_main$57, {
|
|
116044
116039
|
customFilterComponents: !!unref(launchDarkly).enable_saved_canvases_filters ? _ctx.customFilterComponents : void 0,
|
|
116045
116040
|
disabled: !!_ctx.isLoadingItems,
|
|
@@ -116054,7 +116049,7 @@ const _sfc_main$4w = /* @__PURE__ */ defineComponent({
|
|
|
116054
116049
|
"onUpdate:search": _cache[2] || (_cache[2] = ($event) => emit("search", $event))
|
|
116055
116050
|
}, null, 8, ["customFilterComponents", "disabled", "filters", "initial-search-value", "owner-id", "placeholder"])
|
|
116056
116051
|
])),
|
|
116057
|
-
createElementVNode("div", _hoisted_4$
|
|
116052
|
+
createElementVNode("div", _hoisted_4$1O, [
|
|
116058
116053
|
unref(launchDarkly).enable_smart_folders ? withDirectives((openBlock(), createBlock(CButton, {
|
|
116059
116054
|
key: 0,
|
|
116060
116055
|
circle: "",
|
|
@@ -116611,7 +116606,7 @@ const _hoisted_2$2F = {
|
|
|
116611
116606
|
key: 0,
|
|
116612
116607
|
class: "flex items-center"
|
|
116613
116608
|
};
|
|
116614
|
-
const _hoisted_3$
|
|
116609
|
+
const _hoisted_3$27 = { class: "overflow-hidden text-ellipsis whitespace-nowrap min-w-0" };
|
|
116615
116610
|
const _sfc_main$4t = /* @__PURE__ */ defineComponent({
|
|
116616
116611
|
__name: "CSavedCanvasesManagementOwnerCell",
|
|
116617
116612
|
props: {
|
|
@@ -116695,7 +116690,7 @@ const _sfc_main$4t = /* @__PURE__ */ defineComponent({
|
|
|
116695
116690
|
"onUpdate:value": onUserSelect
|
|
116696
116691
|
}, null, 8, ["filter", "loading", "options", "placeholder", "value"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
116697
116692
|
!_ctx.isEditing && !_ctx.isUpdating ? (openBlock(), createElementBlock("div", _hoisted_2$2F, [
|
|
116698
|
-
createElementVNode("div", _hoisted_3$
|
|
116693
|
+
createElementVNode("div", _hoisted_3$27, toDisplayString(_ctx.owner?.name), 1),
|
|
116699
116694
|
_ctx.editable && isCellHovered.value ? withDirectives((openBlock(), createBlock(CIcon, {
|
|
116700
116695
|
key: 0,
|
|
116701
116696
|
class: "cursor-pointer ml-2 flex-shrink-0",
|
|
@@ -116847,11 +116842,11 @@ const useShareCanvas = (sharingHandler, options = {
|
|
|
116847
116842
|
|
|
116848
116843
|
const _hoisted_1$3z = { class: "text-lg font-bold" };
|
|
116849
116844
|
const _hoisted_2$2E = { class: "flex flex-col h-[60vh]" };
|
|
116850
|
-
const _hoisted_3$
|
|
116845
|
+
const _hoisted_3$26 = {
|
|
116851
116846
|
key: 1,
|
|
116852
116847
|
class: "flex flex-col h-full"
|
|
116853
116848
|
};
|
|
116854
|
-
const _hoisted_4$
|
|
116849
|
+
const _hoisted_4$1N = { class: "flex-grow overflow-auto" };
|
|
116855
116850
|
const _hoisted_5$1v = { class: "font-500 tracking-[1.25px] my-4" };
|
|
116856
116851
|
const _hoisted_6$1i = { class: "flex items-center" };
|
|
116857
116852
|
const _hoisted_7$X = { class: "flex-grow border border-solid border-primary4 border-rounded-md pa-2 bg-base" };
|
|
@@ -116943,8 +116938,8 @@ const _sfc_main$4r = /* @__PURE__ */ defineComponent({
|
|
|
116943
116938
|
unref(isLoadingConfig) ? (openBlock(), createBlock(unref(NSpin), {
|
|
116944
116939
|
key: 0,
|
|
116945
116940
|
class: "flex-grow flex items-center justify-center"
|
|
116946
|
-
})) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
116947
|
-
createElementVNode("div", _hoisted_4$
|
|
116941
|
+
})) : (openBlock(), createElementBlock("div", _hoisted_3$26, [
|
|
116942
|
+
createElementVNode("div", _hoisted_4$1N, [
|
|
116948
116943
|
createElementVNode("div", _hoisted_5$1v, toDisplayString(unref(t)("canvasUI.smartFolders.smartFoldersConfigurationModal.categorizeBasedOn")), 1),
|
|
116949
116944
|
createVNode(unref(VueDraggable), {
|
|
116950
116945
|
modelValue: enabledPropertyNames.value,
|
|
@@ -117037,8 +117032,8 @@ const _sfc_main$4r = /* @__PURE__ */ defineComponent({
|
|
|
117037
117032
|
|
|
117038
117033
|
const _hoisted_1$3y = { class: "smart-folders mt-3" };
|
|
117039
117034
|
const _hoisted_2$2D = { key: 2 };
|
|
117040
|
-
const _hoisted_3$
|
|
117041
|
-
const _hoisted_4$
|
|
117035
|
+
const _hoisted_3$25 = { class: "flex justify-between items-center mb-3" };
|
|
117036
|
+
const _hoisted_4$1M = { class: "flex items-center gap-2" };
|
|
117042
117037
|
const _hoisted_5$1u = { key: 1 };
|
|
117043
117038
|
const _sfc_main$4q = /* @__PURE__ */ defineComponent({
|
|
117044
117039
|
__name: "SmartFolders",
|
|
@@ -117120,8 +117115,8 @@ const _sfc_main$4q = /* @__PURE__ */ defineComponent({
|
|
|
117120
117115
|
key: 1,
|
|
117121
117116
|
onConfigure: onSmartFoldersConfigure
|
|
117122
117117
|
})) : (openBlock(), createElementBlock("div", _hoisted_2$2D, [
|
|
117123
|
-
createElementVNode("div", _hoisted_3$
|
|
117124
|
-
createElementVNode("div", _hoisted_4$
|
|
117118
|
+
createElementVNode("div", _hoisted_3$25, [
|
|
117119
|
+
createElementVNode("div", _hoisted_4$1M, [
|
|
117125
117120
|
_ctx.isAnyTypeOfAdmin ? (openBlock(), createBlock(_sfc_main$4t, {
|
|
117126
117121
|
key: 0,
|
|
117127
117122
|
"dropdown-mode": "",
|
|
@@ -117196,8 +117191,8 @@ const _sfc_main$4q = /* @__PURE__ */ defineComponent({
|
|
|
117196
117191
|
|
|
117197
117192
|
const _hoisted_1$3x = { class: "flex flex-col gap-3" };
|
|
117198
117193
|
const _hoisted_2$2C = { class: "font-700 font-size-[18px]" };
|
|
117199
|
-
const _hoisted_3$
|
|
117200
|
-
const _hoisted_4$
|
|
117194
|
+
const _hoisted_3$24 = { class: "mb-2" };
|
|
117195
|
+
const _hoisted_4$1L = { class: "mt-3 flex justify-between" };
|
|
117201
117196
|
const _sfc_main$4p = /* @__PURE__ */ defineComponent({
|
|
117202
117197
|
__name: "CCanvasAccountModal",
|
|
117203
117198
|
props: {
|
|
@@ -117259,7 +117254,7 @@ const _sfc_main$4p = /* @__PURE__ */ defineComponent({
|
|
|
117259
117254
|
default: withCtx(() => [
|
|
117260
117255
|
createElementVNode("div", _hoisted_1$3x, [
|
|
117261
117256
|
createElementVNode("div", _hoisted_2$2C, toDisplayString(unref(t)("canvasUI.components.savedCanvases.CSavedCanvasesManagement.accountModal.title")), 1),
|
|
117262
|
-
createElementVNode("div", _hoisted_3$
|
|
117257
|
+
createElementVNode("div", _hoisted_3$24, [
|
|
117263
117258
|
createVNode(CSelect, {
|
|
117264
117259
|
bordered: "",
|
|
117265
117260
|
clearable: "",
|
|
@@ -117276,7 +117271,7 @@ const _sfc_main$4p = /* @__PURE__ */ defineComponent({
|
|
|
117276
117271
|
"onUpdate:value": setAccount
|
|
117277
117272
|
}, null, 8, ["loading", "options", "placeholder", "value"])
|
|
117278
117273
|
]),
|
|
117279
|
-
createElementVNode("div", _hoisted_4$
|
|
117274
|
+
createElementVNode("div", _hoisted_4$1L, [
|
|
117280
117275
|
createVNode(CButton, {
|
|
117281
117276
|
type: "secondary",
|
|
117282
117277
|
onClick: handleClose
|
|
@@ -118391,7 +118386,7 @@ const _sfc_main$4o = /*@__PURE__*/defineComponent({
|
|
|
118391
118386
|
|
|
118392
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" };
|
|
118393
118388
|
const _hoisted_2$2B = { class: "flex flex-wrap items-center gap-2 flex-1" };
|
|
118394
|
-
const _hoisted_3$
|
|
118389
|
+
const _hoisted_3$23 = { class: "flex gap-4" };
|
|
118395
118390
|
const _sfc_main$4n = /* @__PURE__ */ defineComponent({
|
|
118396
118391
|
__name: "CAssignedCanvasesManagementToolbar",
|
|
118397
118392
|
props: {
|
|
@@ -118437,7 +118432,7 @@ const _sfc_main$4n = /* @__PURE__ */ defineComponent({
|
|
|
118437
118432
|
"onUpdate:search": _cache[1] || (_cache[1] = ($event) => emit("search", $event))
|
|
118438
118433
|
}, null, 8, ["customFilterComponents", "disabled", "filters", "initial-search-value", "owner-id", "placeholder"])
|
|
118439
118434
|
]),
|
|
118440
|
-
createElementVNode("div", _hoisted_3$
|
|
118435
|
+
createElementVNode("div", _hoisted_3$23, [
|
|
118441
118436
|
!_ctx.hideView ? (openBlock(), createBlock(CTableColumnsSettings, {
|
|
118442
118437
|
key: 0,
|
|
118443
118438
|
"table-columns-settings": _ctx.tableColumnsSettings,
|
|
@@ -118908,8 +118903,8 @@ const CTableSelect = /* @__PURE__ */ _export_sfc(_sfc_main$4l, [["__scopeId", "d
|
|
|
118908
118903
|
|
|
118909
118904
|
const _hoisted_1$3s = { class: "flex flex-col gap-1" };
|
|
118910
118905
|
const _hoisted_2$2A = ["disabled", "onClick", "onMouseover"];
|
|
118911
|
-
const _hoisted_3$
|
|
118912
|
-
const _hoisted_4$
|
|
118906
|
+
const _hoisted_3$22 = { class: "flex items-center gap-2" };
|
|
118907
|
+
const _hoisted_4$1K = { class: "block truncate" };
|
|
118913
118908
|
const _sfc_main$4k = /* @__PURE__ */ defineComponent({
|
|
118914
118909
|
__name: "CEntitySelector",
|
|
118915
118910
|
props: {
|
|
@@ -119037,14 +119032,14 @@ const _sfc_main$4k = /* @__PURE__ */ defineComponent({
|
|
|
119037
119032
|
onMouseleave: _cache[1] || (_cache[1] = ($event) => isListItemHoveredId.value = null),
|
|
119038
119033
|
onMouseover: ($event) => isListItemHoveredId.value = item.id
|
|
119039
119034
|
}, [
|
|
119040
|
-
createElementVNode("div", _hoisted_3$
|
|
119035
|
+
createElementVNode("div", _hoisted_3$22, [
|
|
119041
119036
|
_ctx.multiple ? (openBlock(), createBlock(_sfc_main$6S, {
|
|
119042
119037
|
key: 0,
|
|
119043
119038
|
checked: _ctx.selectedItemIds?.includes(item.id),
|
|
119044
119039
|
"onUpdate:checked": (val) => handleCheckboxChange(val, item)
|
|
119045
119040
|
}, null, 8, ["checked", "onUpdate:checked"])) : createCommentVNode("", true),
|
|
119046
119041
|
createElementVNode("div", null, [
|
|
119047
|
-
createElementVNode("div", _hoisted_4$
|
|
119042
|
+
createElementVNode("div", _hoisted_4$1K, toDisplayString(renderProp("title", item)), 1),
|
|
119048
119043
|
_ctx.subtitle ? (openBlock(), createElementBlock("div", {
|
|
119049
119044
|
key: 0,
|
|
119050
119045
|
class: "block truncate c-entity-selector__recycle-list-item--subtitle",
|
|
@@ -119086,8 +119081,8 @@ const splitUserName = (name = "") => {
|
|
|
119086
119081
|
|
|
119087
119082
|
const _hoisted_1$3r = { class: "flex items-center justify-between gap-1" };
|
|
119088
119083
|
const _hoisted_2$2z = { class: "flex gap-4 items-center" };
|
|
119089
|
-
const _hoisted_3$
|
|
119090
|
-
const _hoisted_4$
|
|
119084
|
+
const _hoisted_3$21 = { class: "flex font-bold" };
|
|
119085
|
+
const _hoisted_4$1J = { class: "flex items-center justify-between gap-1" };
|
|
119091
119086
|
const _hoisted_5$1t = { class: "flex items-center gap-1" };
|
|
119092
119087
|
const _hoisted_6$1h = {
|
|
119093
119088
|
key: 0,
|
|
@@ -119226,7 +119221,7 @@ const _sfc_main$4j = /* @__PURE__ */ defineComponent({
|
|
|
119226
119221
|
icon: _ctx.itemType === "user" ? "user" : "users",
|
|
119227
119222
|
size: "14"
|
|
119228
119223
|
}, null, 8, ["icon"]),
|
|
119229
|
-
createElementVNode("div", _hoisted_3$
|
|
119224
|
+
createElementVNode("div", _hoisted_3$21, toDisplayString(displayTitle.value), 1)
|
|
119230
119225
|
]),
|
|
119231
119226
|
_ctx.itemType === "group" ? (openBlock(), createBlock(_sfc_main$4k, {
|
|
119232
119227
|
key: 0,
|
|
@@ -119307,7 +119302,7 @@ const _sfc_main$4j = /* @__PURE__ */ defineComponent({
|
|
|
119307
119302
|
)
|
|
119308
119303
|
}, {
|
|
119309
119304
|
default: withCtx(({ item }) => [
|
|
119310
|
-
createElementVNode("div", _hoisted_4$
|
|
119305
|
+
createElementVNode("div", _hoisted_4$1J, [
|
|
119311
119306
|
createElementVNode("div", _hoisted_5$1t, [
|
|
119312
119307
|
_ctx.itemType === "user" && "user" in item ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
119313
119308
|
createVNode(_sfc_main$5n, {
|
|
@@ -119506,8 +119501,8 @@ function useCanvasContext() {
|
|
|
119506
119501
|
|
|
119507
119502
|
const _hoisted_1$3p = { class: "flex justify-between items-center mb-4 sticky top-0 base z-1" };
|
|
119508
119503
|
const _hoisted_2$2y = { class: "panel-title font-600 font-size-[15px] line-height-[28px]" };
|
|
119509
|
-
const _hoisted_3$
|
|
119510
|
-
const _hoisted_4$
|
|
119504
|
+
const _hoisted_3$20 = ["onClick"];
|
|
119505
|
+
const _hoisted_4$1I = ["alt", "src", "onError"];
|
|
119511
119506
|
const _hoisted_5$1s = ["alt", "src"];
|
|
119512
119507
|
const _hoisted_6$1g = {
|
|
119513
119508
|
key: 2,
|
|
@@ -119792,7 +119787,7 @@ const _sfc_main$4h = /* @__PURE__ */ defineComponent({
|
|
|
119792
119787
|
class: "w-full h-full object-cover",
|
|
119793
119788
|
src: item.thumbnail_url,
|
|
119794
119789
|
onError: ($event) => handleThumbnailError($event, item)
|
|
119795
|
-
}, null, 40, _hoisted_4$
|
|
119790
|
+
}, null, 40, _hoisted_4$1I)) : unref(getDefaultThumbnailUrl)(item) ? (openBlock(), createElementBlock("img", {
|
|
119796
119791
|
key: 1,
|
|
119797
119792
|
alt: item.name ? item.name : "File thumbnail",
|
|
119798
119793
|
class: "w-full h-full object-cover",
|
|
@@ -119804,7 +119799,7 @@ const _sfc_main$4h = /* @__PURE__ */ defineComponent({
|
|
|
119804
119799
|
size: "24px"
|
|
119805
119800
|
}, null, 8, ["color"])
|
|
119806
119801
|
]))
|
|
119807
|
-
], 8, _hoisted_3$
|
|
119802
|
+
], 8, _hoisted_3$20)) : (openBlock(), createBlock(_sfc_main$6G, {
|
|
119808
119803
|
key: 1,
|
|
119809
119804
|
class: "w-16 h-10 flex flex-shrink-0 items-center justify-center cursor-pointer",
|
|
119810
119805
|
height: 40,
|
|
@@ -119897,11 +119892,11 @@ const _hoisted_2$2x = {
|
|
|
119897
119892
|
key: 2,
|
|
119898
119893
|
class: "text-lg tracking-[.25px]"
|
|
119899
119894
|
};
|
|
119900
|
-
const _hoisted_3$
|
|
119895
|
+
const _hoisted_3$1$ = {
|
|
119901
119896
|
key: 1,
|
|
119902
119897
|
class: "p-1 content-selector__section-title"
|
|
119903
119898
|
};
|
|
119904
|
-
const _hoisted_4$
|
|
119899
|
+
const _hoisted_4$1H = {
|
|
119905
119900
|
key: 2,
|
|
119906
119901
|
class: "p-1 content-selector__section-title"
|
|
119907
119902
|
};
|
|
@@ -120092,7 +120087,7 @@ const _sfc_main$4g = /* @__PURE__ */ defineComponent({
|
|
|
120092
120087
|
}), 128))
|
|
120093
120088
|
]),
|
|
120094
120089
|
_: 1
|
|
120095
|
-
})) : unref(selectedSection) === "favorites" ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
120090
|
+
})) : unref(selectedSection) === "favorites" ? (openBlock(), createElementBlock("div", _hoisted_3$1$, toDisplayString(unref(t)("canvasUI.contentSelectorApp.content.favorites")), 1)) : unref(selectedSection) === "recent" ? (openBlock(), createElementBlock("div", _hoisted_4$1H, toDisplayString(unref(t)("canvasUI.contentSelectorApp.content.recent")), 1)) : unref(selectedSection) === "trash" ? (openBlock(), createElementBlock("div", _hoisted_5$1r, toDisplayString(unref(t)("canvasUI.contentSelectorApp.content.trash")), 1)) : createCommentVNode("", true)
|
|
120096
120091
|
], 64)),
|
|
120097
120092
|
createElementVNode("div", _hoisted_6$1f, [
|
|
120098
120093
|
unref(selectedSection) === "all" ? (openBlock(), createBlock(unref(NDropdown), {
|
|
@@ -120189,11 +120184,11 @@ const _sfc_main$4f = /* @__PURE__ */ defineComponent({
|
|
|
120189
120184
|
|
|
120190
120185
|
const _hoisted_1$3n = ["draggable"];
|
|
120191
120186
|
const _hoisted_2$2w = { class: "absolute top-2 left-2 w-9 h-9 flex items-center justify-center rounded-5" };
|
|
120192
|
-
const _hoisted_3$
|
|
120187
|
+
const _hoisted_3$1_ = {
|
|
120193
120188
|
key: 0,
|
|
120194
120189
|
class: "absolute top-2 right-2 w-9 h-9 flex items-center justify-center rounded-5"
|
|
120195
120190
|
};
|
|
120196
|
-
const _hoisted_4$
|
|
120191
|
+
const _hoisted_4$1G = { class: "text-truncate max-w-[240px] font-700 text-center" };
|
|
120197
120192
|
const _hoisted_5$1q = { class: "flex items-center justify-between w-full" };
|
|
120198
120193
|
const _hoisted_6$1e = {
|
|
120199
120194
|
key: 1,
|
|
@@ -120352,7 +120347,7 @@ const _sfc_main$4e = /* @__PURE__ */ defineComponent({
|
|
|
120352
120347
|
_: 1
|
|
120353
120348
|
}, 8, ["color", "disabled", "text-color"])
|
|
120354
120349
|
]),
|
|
120355
|
-
_ctx.item.type === "file" ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
120350
|
+
_ctx.item.type === "file" ? (openBlock(), createElementBlock("div", _hoisted_3$1_, [
|
|
120356
120351
|
createVNode(CButton, {
|
|
120357
120352
|
circle: "",
|
|
120358
120353
|
color: unref(themeVars).primary6,
|
|
@@ -120378,7 +120373,7 @@ const _sfc_main$4e = /* @__PURE__ */ defineComponent({
|
|
|
120378
120373
|
src: _ctx.item.thumbnail_url,
|
|
120379
120374
|
width: "240"
|
|
120380
120375
|
}, null, 8, ["src"]),
|
|
120381
|
-
createElementVNode("div", _hoisted_4$
|
|
120376
|
+
createElementVNode("div", _hoisted_4$1G, toDisplayString(_ctx.item.name), 1),
|
|
120382
120377
|
createElementVNode("div", _hoisted_5$1q, [
|
|
120383
120378
|
createElementVNode("div", {
|
|
120384
120379
|
class: "text-truncate text-center",
|
|
@@ -120502,8 +120497,8 @@ const _hoisted_2$2v = {
|
|
|
120502
120497
|
key: 0,
|
|
120503
120498
|
class: "h-full"
|
|
120504
120499
|
};
|
|
120505
|
-
const _hoisted_3$
|
|
120506
|
-
const _hoisted_4$
|
|
120500
|
+
const _hoisted_3$1Z = { class: "flex flex-col gap-3 items-center justify-center max-w-[400px] text-center" };
|
|
120501
|
+
const _hoisted_4$1F = { class: "font-size-[20px]" };
|
|
120507
120502
|
const _hoisted_5$1p = { class: "font-size-[14px]" };
|
|
120508
120503
|
const _hoisted_6$1d = {
|
|
120509
120504
|
key: 0,
|
|
@@ -120588,12 +120583,12 @@ const _sfc_main$4d = /* @__PURE__ */ defineComponent({
|
|
|
120588
120583
|
class: "h-full w-full flex items-center justify-center",
|
|
120589
120584
|
style: normalizeStyle({ color: unref(themeVars).primary3 })
|
|
120590
120585
|
}, [
|
|
120591
|
-
createElementVNode("div", _hoisted_3$
|
|
120586
|
+
createElementVNode("div", _hoisted_3$1Z, [
|
|
120592
120587
|
createVNode(CIcon, {
|
|
120593
120588
|
icon: "circle-exclamation",
|
|
120594
120589
|
size: "36px"
|
|
120595
120590
|
}),
|
|
120596
|
-
createElementVNode("div", _hoisted_4$
|
|
120591
|
+
createElementVNode("div", _hoisted_4$1F, toDisplayString(unref(t)("canvasUI.contentSelectorApp.foldersFiles.thumbnailsAreMissing")), 1),
|
|
120597
120592
|
createElementVNode("div", _hoisted_5$1p, toDisplayString(unref(t)("canvasUI.contentSelectorApp.foldersFiles.pdfReuploadHint")), 1)
|
|
120598
120593
|
])
|
|
120599
120594
|
], 4))
|
|
@@ -120714,11 +120709,11 @@ function useImageAccessibility({ thumbnailUrl, hasAIEnabled, hasFile }) {
|
|
|
120714
120709
|
|
|
120715
120710
|
const _hoisted_1$3l = { class: "flex items-center" };
|
|
120716
120711
|
const _hoisted_2$2u = { class: "my-3" };
|
|
120717
|
-
const _hoisted_3$
|
|
120712
|
+
const _hoisted_3$1Y = {
|
|
120718
120713
|
key: 1,
|
|
120719
120714
|
class: "w-[152px] h-[100px] rounded-2 overflow-hidden"
|
|
120720
120715
|
};
|
|
120721
|
-
const _hoisted_4$
|
|
120716
|
+
const _hoisted_4$1E = ["alt", "src"];
|
|
120722
120717
|
const _hoisted_5$1o = {
|
|
120723
120718
|
key: 1,
|
|
120724
120719
|
class: "bg-primary6 w-full h-full flex items-center justify-center"
|
|
@@ -120836,13 +120831,13 @@ const _sfc_main$4c = /* @__PURE__ */ defineComponent({
|
|
|
120836
120831
|
_ctx.item.type === "file" && unref(hasValidThumbnail) ? (openBlock(), createBlock(_sfc_main$6G, {
|
|
120837
120832
|
key: 0,
|
|
120838
120833
|
item: _ctx.item
|
|
120839
|
-
}, 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$1Y, [
|
|
120840
120835
|
defaultThumbnailUrl.value ? (openBlock(), createElementBlock("img", {
|
|
120841
120836
|
key: 0,
|
|
120842
120837
|
alt: _ctx.item.name || "File thumbnail",
|
|
120843
120838
|
class: "w-full h-full object-cover",
|
|
120844
120839
|
src: defaultThumbnailUrl.value
|
|
120845
|
-
}, null, 8, _hoisted_4$
|
|
120840
|
+
}, null, 8, _hoisted_4$1E)) : (openBlock(), createElementBlock("div", _hoisted_5$1o, [
|
|
120846
120841
|
createVNode(CIcon, {
|
|
120847
120842
|
color: unref(themeVars).primary3,
|
|
120848
120843
|
icon: "file",
|
|
@@ -121245,11 +121240,11 @@ const _hoisted_2$2s = {
|
|
|
121245
121240
|
key: 0,
|
|
121246
121241
|
class: "bg-base overflow-auto flex flex-col flex-auto"
|
|
121247
121242
|
};
|
|
121248
|
-
const _hoisted_3$
|
|
121243
|
+
const _hoisted_3$1X = {
|
|
121249
121244
|
key: 0,
|
|
121250
121245
|
class: "flex justify-end items-center color-primary bg-base pa-2 min-h-11"
|
|
121251
121246
|
};
|
|
121252
|
-
const _hoisted_4$
|
|
121247
|
+
const _hoisted_4$1D = { class: "flex flex-col gap-3 items-center justify-center max-w-[400px] text-center" };
|
|
121253
121248
|
const _hoisted_5$1n = { class: "font-size-[20px]" };
|
|
121254
121249
|
const _hoisted_6$1b = { class: "font-size-[14px]" };
|
|
121255
121250
|
const _hoisted_7$R = {
|
|
@@ -121427,7 +121422,7 @@ const _sfc_main$4a = /* @__PURE__ */ defineComponent({
|
|
|
121427
121422
|
}, [
|
|
121428
121423
|
!!unref(activeFile) ? (openBlock(), createElementBlock("div", _hoisted_1$3j, [
|
|
121429
121424
|
unref(activeFile).content_thumbnails?.length ? (openBlock(), createElementBlock("div", _hoisted_2$2s, [
|
|
121430
|
-
unref(isDragNDropEnabled) ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
121425
|
+
unref(isDragNDropEnabled) ? (openBlock(), createElementBlock("div", _hoisted_3$1X, [
|
|
121431
121426
|
createVNode(_sfc_main$4Z, {
|
|
121432
121427
|
"added-item-ids": unref(addedItems).map((item) => item.id),
|
|
121433
121428
|
"selected-item-ids": unref(selectedItems).map((item) => item.id),
|
|
@@ -121472,7 +121467,7 @@ const _sfc_main$4a = /* @__PURE__ */ defineComponent({
|
|
|
121472
121467
|
class: "h-full w-full flex items-center justify-center",
|
|
121473
121468
|
style: normalizeStyle({ color: unref(themeVars).primary3 })
|
|
121474
121469
|
}, [
|
|
121475
|
-
createElementVNode("div", _hoisted_4$
|
|
121470
|
+
createElementVNode("div", _hoisted_4$1D, [
|
|
121476
121471
|
createVNode(CIcon, {
|
|
121477
121472
|
icon: "circle-exclamation",
|
|
121478
121473
|
size: "36px"
|
|
@@ -121897,8 +121892,8 @@ const _sfc_main$46 = /* @__PURE__ */ defineComponent({
|
|
|
121897
121892
|
|
|
121898
121893
|
const _hoisted_1$3e = { class: "content-selector-assets flex flex-col h-full" };
|
|
121899
121894
|
const _hoisted_2$2n = { class: "sticky top-0 z-1 bg-primary6 pb-2" };
|
|
121900
|
-
const _hoisted_3$
|
|
121901
|
-
const _hoisted_4$
|
|
121895
|
+
const _hoisted_3$1W = { class: "flex flex-col items-center justify-center" };
|
|
121896
|
+
const _hoisted_4$1C = {
|
|
121902
121897
|
key: 0,
|
|
121903
121898
|
class: "my-2"
|
|
121904
121899
|
};
|
|
@@ -122168,7 +122163,7 @@ const _sfc_main$45 = /* @__PURE__ */ defineComponent({
|
|
|
122168
122163
|
title: unref(t)("canvasUI.contentSelector.syncIosWarning"),
|
|
122169
122164
|
visible: unref(isPitcherOrIosDevice)
|
|
122170
122165
|
}, null, 8, ["title", "visible"]),
|
|
122171
|
-
createElementVNode("div", _hoisted_3$
|
|
122166
|
+
createElementVNode("div", _hoisted_3$1W, [
|
|
122172
122167
|
!unref(launchDarkly).hide_asset_uploader ? (openBlock(), createBlock(_sfc_main$47, {
|
|
122173
122168
|
key: 0,
|
|
122174
122169
|
onUploadsComplete: _cache[0] || (_cache[0] = () => fetchAssets(true))
|
|
@@ -122181,7 +122176,7 @@ const _sfc_main$45 = /* @__PURE__ */ defineComponent({
|
|
|
122181
122176
|
"page-size": pageSize$1
|
|
122182
122177
|
}, null, 8, ["page", "page-count"])) : createCommentVNode("", true)
|
|
122183
122178
|
]),
|
|
122184
|
-
!!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$1C, [
|
|
122185
122180
|
createElementVNode("div", _hoisted_5$1m, [
|
|
122186
122181
|
createVNode(CSearch, {
|
|
122187
122182
|
modelValue: search.value,
|
|
@@ -122319,7 +122314,7 @@ async function getMediaType(url) {
|
|
|
122319
122314
|
|
|
122320
122315
|
const _hoisted_1$3d = { class: "cs-media-preview" };
|
|
122321
122316
|
const _hoisted_2$2m = ["src"];
|
|
122322
|
-
const _hoisted_3$
|
|
122317
|
+
const _hoisted_3$1V = ["src"];
|
|
122323
122318
|
const _sfc_main$44 = /* @__PURE__ */ defineComponent({
|
|
122324
122319
|
__name: "MediaPreview",
|
|
122325
122320
|
props: {
|
|
@@ -122394,7 +122389,7 @@ const _sfc_main$44 = /* @__PURE__ */ defineComponent({
|
|
|
122394
122389
|
src: _ctx.url,
|
|
122395
122390
|
onError: onLoadError,
|
|
122396
122391
|
onLoadeddata: onLoad
|
|
122397
|
-
}, toDisplayString(unref(t)("canvasUI.contentSelector.mediaPreview.noVideoBrowser")), 41, _hoisted_3$
|
|
122392
|
+
}, toDisplayString(unref(t)("canvasUI.contentSelector.mediaPreview.noVideoBrowser")), 41, _hoisted_3$1V), [
|
|
122398
122393
|
[vShow, !isLoading.value && isVideo.value && _ctx.url]
|
|
122399
122394
|
]),
|
|
122400
122395
|
withDirectives(createElementVNode("div", {
|
|
@@ -122538,8 +122533,8 @@ const ExternalLinks = /* @__PURE__ */ _export_sfc(_sfc_main$43, [["__scopeId", "
|
|
|
122538
122533
|
|
|
122539
122534
|
const _hoisted_1$3b = { class: "mr-3 h-full" };
|
|
122540
122535
|
const _hoisted_2$2k = { class: "flex flex-col gap-3 mb-3" };
|
|
122541
|
-
const _hoisted_3$
|
|
122542
|
-
const _hoisted_4$
|
|
122536
|
+
const _hoisted_3$1U = { class: "flex justify-between w-full mb-3" };
|
|
122537
|
+
const _hoisted_4$1B = {
|
|
122543
122538
|
key: 0,
|
|
122544
122539
|
class: "text-error text-sm"
|
|
122545
122540
|
};
|
|
@@ -122742,8 +122737,8 @@ const _sfc_main$42 = /* @__PURE__ */ defineComponent({
|
|
|
122742
122737
|
_: 1
|
|
122743
122738
|
}, 8, ["label"])
|
|
122744
122739
|
]),
|
|
122745
|
-
createElementVNode("div", _hoisted_3$
|
|
122746
|
-
error.value ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
122740
|
+
createElementVNode("div", _hoisted_3$1U, [
|
|
122741
|
+
error.value ? (openBlock(), createElementBlock("div", _hoisted_4$1B, toDisplayString(error.value), 1)) : createCommentVNode("", true),
|
|
122747
122742
|
_cache[2] || (_cache[2] = createElementVNode("div", { class: "flex-grow" }, null, -1)),
|
|
122748
122743
|
createVNode(CButton, {
|
|
122749
122744
|
disabled: isGenerating.value || !prompt.value,
|
|
@@ -122821,8 +122816,8 @@ const AiImages = /* @__PURE__ */ _export_sfc(_sfc_main$42, [["__scopeId", "data-
|
|
|
122821
122816
|
|
|
122822
122817
|
const _hoisted_1$3a = { class: "mr-3 h-full" };
|
|
122823
122818
|
const _hoisted_2$2j = { class: "flex flex-col gap-3 mb-3" };
|
|
122824
|
-
const _hoisted_3$
|
|
122825
|
-
const _hoisted_4$
|
|
122819
|
+
const _hoisted_3$1T = { class: "flex justify-between w-full mb-3" };
|
|
122820
|
+
const _hoisted_4$1A = {
|
|
122826
122821
|
key: 0,
|
|
122827
122822
|
class: "text-error text-sm"
|
|
122828
122823
|
};
|
|
@@ -123029,8 +123024,8 @@ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
|
123029
123024
|
_: 1
|
|
123030
123025
|
}, 8, ["label"])
|
|
123031
123026
|
]),
|
|
123032
|
-
createElementVNode("div", _hoisted_3$
|
|
123033
|
-
error.value ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
123027
|
+
createElementVNode("div", _hoisted_3$1T, [
|
|
123028
|
+
error.value ? (openBlock(), createElementBlock("div", _hoisted_4$1A, toDisplayString(error.value), 1)) : createCommentVNode("", true),
|
|
123034
123029
|
_cache[2] || (_cache[2] = createElementVNode("div", { class: "flex-grow" }, null, -1)),
|
|
123035
123030
|
createVNode(CButton, {
|
|
123036
123031
|
disabled: isLoading.value || !searchQuery.value,
|
|
@@ -123133,11 +123128,11 @@ const PexelsImages = /* @__PURE__ */ _export_sfc(_sfc_main$41, [["__scopeId", "d
|
|
|
123133
123128
|
|
|
123134
123129
|
const _hoisted_1$39 = { class: "theme-images h-full flex flex-col" };
|
|
123135
123130
|
const _hoisted_2$2i = { class: "mr-3 h-full" };
|
|
123136
|
-
const _hoisted_3$
|
|
123131
|
+
const _hoisted_3$1S = {
|
|
123137
123132
|
key: 0,
|
|
123138
123133
|
class: "text-center py-10"
|
|
123139
123134
|
};
|
|
123140
|
-
const _hoisted_4$
|
|
123135
|
+
const _hoisted_4$1z = {
|
|
123141
123136
|
key: 1,
|
|
123142
123137
|
class: "mb-8"
|
|
123143
123138
|
};
|
|
@@ -123221,14 +123216,14 @@ const _sfc_main$40 = /* @__PURE__ */ defineComponent({
|
|
|
123221
123216
|
}, {
|
|
123222
123217
|
default: withCtx(() => [
|
|
123223
123218
|
createElementVNode("div", _hoisted_2$2i, [
|
|
123224
|
-
!unref(activeTheme) ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
123219
|
+
!unref(activeTheme) ? (openBlock(), createElementBlock("div", _hoisted_3$1S, [
|
|
123225
123220
|
createVNode(CIcon, {
|
|
123226
123221
|
class: "mb-4 color-primary3",
|
|
123227
123222
|
icon: "image",
|
|
123228
123223
|
size: "48"
|
|
123229
123224
|
}),
|
|
123230
123225
|
createElementVNode("p", null, toDisplayString(unref(t)("canvasUI.contentSelector.themeImages.noActiveTheme")), 1)
|
|
123231
|
-
])) : unref(activeTheme) ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
123226
|
+
])) : unref(activeTheme) ? (openBlock(), createElementBlock("div", _hoisted_4$1z, [
|
|
123232
123227
|
createElementVNode("h3", _hoisted_5$1j, toDisplayString(unref(t)("canvasUI.contentSelector.themeImages.logo")), 1),
|
|
123233
123228
|
unref(activeTheme).logo ? (openBlock(), createBlock(unref(NSpace), {
|
|
123234
123229
|
key: 0,
|
|
@@ -123929,8 +123924,8 @@ const ContentSelector = /* @__PURE__ */ _export_sfc(_sfc_main$3_, [["__scopeId",
|
|
|
123929
123924
|
|
|
123930
123925
|
const _hoisted_1$36 = { class: "flex items-center justify-between gap-1" };
|
|
123931
123926
|
const _hoisted_2$2g = { class: "flex gap-4 items-center" };
|
|
123932
|
-
const _hoisted_3$
|
|
123933
|
-
const _hoisted_4$
|
|
123927
|
+
const _hoisted_3$1R = { class: "flex font-bold" };
|
|
123928
|
+
const _hoisted_4$1y = { class: "flex items-center justify-between gap-1" };
|
|
123934
123929
|
const _hoisted_5$1i = { class: "flex items-center gap-1" };
|
|
123935
123930
|
const _hoisted_6$16 = { class: "font-bold" };
|
|
123936
123931
|
const _hoisted_7$N = { class: "flex items-center gap-4 mr-2" };
|
|
@@ -123986,7 +123981,7 @@ const _sfc_main$3Z = /* @__PURE__ */ defineComponent({
|
|
|
123986
123981
|
icon: "folder",
|
|
123987
123982
|
size: "14"
|
|
123988
123983
|
}),
|
|
123989
|
-
createElementVNode("div", _hoisted_3$
|
|
123984
|
+
createElementVNode("div", _hoisted_3$1R, toDisplayString(displayTitle.value), 1)
|
|
123990
123985
|
]),
|
|
123991
123986
|
createVNode(CButton, {
|
|
123992
123987
|
iconPlacement: "left",
|
|
@@ -124030,7 +124025,7 @@ const _sfc_main$3Z = /* @__PURE__ */ defineComponent({
|
|
|
124030
124025
|
style: normalizeStyle(_ctx.items.length > _ctx.maxItemsToRender ? { maxHeight: `${SCROLLER_ITEM_SIZE * _ctx.maxItemsToRender}px` } : void 0)
|
|
124031
124026
|
}, {
|
|
124032
124027
|
default: withCtx(({ item }) => [
|
|
124033
|
-
createElementVNode("div", _hoisted_4$
|
|
124028
|
+
createElementVNode("div", _hoisted_4$1y, [
|
|
124034
124029
|
createElementVNode("div", _hoisted_5$1i, [
|
|
124035
124030
|
createElementVNode("div", _hoisted_6$16, toDisplayString(item.file.name), 1)
|
|
124036
124031
|
]),
|
|
@@ -124076,8 +124071,8 @@ const _sfc_main$3Z = /* @__PURE__ */ defineComponent({
|
|
|
124076
124071
|
|
|
124077
124072
|
const _hoisted_1$35 = { class: "flex flex-col gap-6" };
|
|
124078
124073
|
const _hoisted_2$2f = { class: "flex items-center gap-4" };
|
|
124079
|
-
const _hoisted_3$
|
|
124080
|
-
const _hoisted_4$
|
|
124074
|
+
const _hoisted_3$1Q = { class: "font-bold" };
|
|
124075
|
+
const _hoisted_4$1x = { class: "flex flex-wrap" };
|
|
124081
124076
|
const _hoisted_5$1h = { key: 0 };
|
|
124082
124077
|
const _hoisted_6$15 = {
|
|
124083
124078
|
key: 0,
|
|
@@ -124118,9 +124113,9 @@ const _sfc_main$3Y = /* @__PURE__ */ defineComponent({
|
|
|
124118
124113
|
createElementVNode("div", _hoisted_1$35, [
|
|
124119
124114
|
createElementVNode("div", _hoisted_2$2f, [
|
|
124120
124115
|
createVNode(CIcon, { icon: "users" }),
|
|
124121
|
-
createElementVNode("div", _hoisted_3$
|
|
124116
|
+
createElementVNode("div", _hoisted_3$1Q, toDisplayString(_ctx.title ?? unref(t)("canvasUI.components.CGroupsAccessInfo.title", _ctx.items.length)), 1)
|
|
124122
124117
|
]),
|
|
124123
|
-
createElementVNode("div", _hoisted_4$
|
|
124118
|
+
createElementVNode("div", _hoisted_4$1x, [
|
|
124124
124119
|
(openBlock(true), createElementBlock(Fragment, null, renderList(roleItemsWithGroup.value, ({ group }, index) => {
|
|
124125
124120
|
return openBlock(), createElementBlock("div", {
|
|
124126
124121
|
key: group.id
|
|
@@ -124144,8 +124139,8 @@ const CGroupsAccessInfo = /* @__PURE__ */ _export_sfc(_sfc_main$3Y, [["__scopeId
|
|
|
124144
124139
|
|
|
124145
124140
|
const _hoisted_1$34 = { class: "flex flex-col gap-6" };
|
|
124146
124141
|
const _hoisted_2$2e = { class: "flex items-center gap-4" };
|
|
124147
|
-
const _hoisted_3$
|
|
124148
|
-
const _hoisted_4$
|
|
124142
|
+
const _hoisted_3$1P = { class: "font-bold" };
|
|
124143
|
+
const _hoisted_4$1w = { class: "flex flex-wrap items-center" };
|
|
124149
124144
|
const _hoisted_5$1g = {
|
|
124150
124145
|
key: 0,
|
|
124151
124146
|
class: "ml-4 truncate c-users-access-info__more"
|
|
@@ -124173,9 +124168,9 @@ const _sfc_main$3X = /* @__PURE__ */ defineComponent({
|
|
|
124173
124168
|
createElementVNode("div", _hoisted_1$34, [
|
|
124174
124169
|
createElementVNode("div", _hoisted_2$2e, [
|
|
124175
124170
|
createVNode(CIcon, { icon: "user" }),
|
|
124176
|
-
createElementVNode("div", _hoisted_3$
|
|
124171
|
+
createElementVNode("div", _hoisted_3$1P, toDisplayString(_ctx.title ?? unref(t)("canvasUI.components.CUsersAccessInfo.individualUsers", _ctx.items.length)), 1)
|
|
124177
124172
|
]),
|
|
124178
|
-
createElementVNode("div", _hoisted_4$
|
|
124173
|
+
createElementVNode("div", _hoisted_4$1w, [
|
|
124179
124174
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.items.slice(0, _ctx.maxItemsToShow), ({ user }) => {
|
|
124180
124175
|
return openBlock(), createBlock(_sfc_main$5n, {
|
|
124181
124176
|
key: user?.id,
|
|
@@ -124198,8 +124193,8 @@ const CUsersAccessInfo = /* @__PURE__ */ _export_sfc(_sfc_main$3X, [["__scopeId"
|
|
|
124198
124193
|
|
|
124199
124194
|
const _hoisted_1$33 = { class: "flex flex-col gap-6" };
|
|
124200
124195
|
const _hoisted_2$2d = { class: "flex items-center gap-4" };
|
|
124201
|
-
const _hoisted_3$
|
|
124202
|
-
const _hoisted_4$
|
|
124196
|
+
const _hoisted_3$1O = { class: "font-bold" };
|
|
124197
|
+
const _hoisted_4$1v = { class: "flex flex-wrap" };
|
|
124203
124198
|
const _hoisted_5$1f = { key: 0 };
|
|
124204
124199
|
const _hoisted_6$14 = {
|
|
124205
124200
|
key: 0,
|
|
@@ -124226,9 +124221,9 @@ const _sfc_main$3W = /* @__PURE__ */ defineComponent({
|
|
|
124226
124221
|
createElementVNode("div", _hoisted_1$33, [
|
|
124227
124222
|
createElementVNode("div", _hoisted_2$2d, [
|
|
124228
124223
|
createVNode(CIcon, { icon: "folder" }),
|
|
124229
|
-
createElementVNode("div", _hoisted_3$
|
|
124224
|
+
createElementVNode("div", _hoisted_3$1O, toDisplayString(_ctx.title ?? unref(t)("canvasUI.components.CFilesAccessInfo.title", _ctx.items.length)), 1)
|
|
124230
124225
|
]),
|
|
124231
|
-
createElementVNode("div", _hoisted_4$
|
|
124226
|
+
createElementVNode("div", _hoisted_4$1v, [
|
|
124232
124227
|
(openBlock(true), createElementBlock(Fragment, null, renderList(itemsToShow.value.slice(0, _ctx.maxItemsToShow), ({ file }, index) => {
|
|
124233
124228
|
return openBlock(), createElementBlock("div", {
|
|
124234
124229
|
key: file.id
|
|
@@ -124423,8 +124418,8 @@ const RECENT_FILES_STORAGE_KEY_IMPACT = "ciq_recent_files";
|
|
|
124423
124418
|
|
|
124424
124419
|
const _hoisted_1$32 = { class: "flex justify-between items-center gap-2" };
|
|
124425
124420
|
const _hoisted_2$2c = { class: "flex items-center gap-2" };
|
|
124426
|
-
const _hoisted_3$
|
|
124427
|
-
const _hoisted_4$
|
|
124421
|
+
const _hoisted_3$1N = { class: "c-file-viewer-top__file-name grid font-normal text-[20px] leading-8 tracking-wide" };
|
|
124422
|
+
const _hoisted_4$1u = {
|
|
124428
124423
|
key: 0,
|
|
124429
124424
|
class: "overflow-hidden max-h-[342px]"
|
|
124430
124425
|
};
|
|
@@ -124638,8 +124633,8 @@ const _sfc_main$3U = /* @__PURE__ */ defineComponent({
|
|
|
124638
124633
|
]
|
|
124639
124634
|
]) : createCommentVNode("", true)
|
|
124640
124635
|
]),
|
|
124641
|
-
createElementVNode("div", _hoisted_3$
|
|
124642
|
-
recentFilesToShow.value.length > 1 && _ctx.file ? withDirectives((openBlock(), createElementBlock("div", _hoisted_4$
|
|
124636
|
+
createElementVNode("div", _hoisted_3$1N, [
|
|
124637
|
+
recentFilesToShow.value.length > 1 && _ctx.file ? withDirectives((openBlock(), createElementBlock("div", _hoisted_4$1u, [
|
|
124643
124638
|
createVNode(CSelect, {
|
|
124644
124639
|
class: "flex-grow-1 select-none",
|
|
124645
124640
|
hideDetails: "",
|
|
@@ -124801,8 +124796,8 @@ const CFileViewerTop = /* @__PURE__ */ _export_sfc(_sfc_main$3U, [["__scopeId",
|
|
|
124801
124796
|
|
|
124802
124797
|
const _hoisted_1$31 = { class: "flex justify-between" };
|
|
124803
124798
|
const _hoisted_2$2b = { class: "flex items-center gap-2" };
|
|
124804
|
-
const _hoisted_3$
|
|
124805
|
-
const _hoisted_4$
|
|
124799
|
+
const _hoisted_3$1M = { class: "hotspot-toggle__text hotspot-toggle__text--checked tracking-wider uppercase overflow-hidden text-ellipsis whitespace-nowrap" };
|
|
124800
|
+
const _hoisted_4$1t = { class: "hotspot-toggle__text hotspot-toggle__text--unchecked tracking-wider uppercase overflow-hidden text-ellipsis whitespace-nowrap" };
|
|
124806
124801
|
const _hoisted_5$1d = { class: "absolute left-[50%] top-[50%] translate-[-50%]" };
|
|
124807
124802
|
const _hoisted_6$12 = { class: "flex items-center gap-2" };
|
|
124808
124803
|
const _sfc_main$3T = /* @__PURE__ */ defineComponent({
|
|
@@ -125017,10 +125012,10 @@ const _sfc_main$3T = /* @__PURE__ */ defineComponent({
|
|
|
125017
125012
|
"onUpdate:value": _cache[8] || (_cache[8] = ($event) => emit("toggleAnnotationVisibility"))
|
|
125018
125013
|
}, {
|
|
125019
125014
|
checked: withCtx(() => [
|
|
125020
|
-
createElementVNode("span", _hoisted_3$
|
|
125015
|
+
createElementVNode("span", _hoisted_3$1M, toDisplayString(unref(t)("canvasUI.components.fileViewer.annotations.visibility.show")), 1)
|
|
125021
125016
|
]),
|
|
125022
125017
|
unchecked: withCtx(() => [
|
|
125023
|
-
createElementVNode("span", _hoisted_4$
|
|
125018
|
+
createElementVNode("span", _hoisted_4$1t, toDisplayString(unref(t)("canvasUI.components.fileViewer.annotations.visibility.hide")), 1)
|
|
125024
125019
|
]),
|
|
125025
125020
|
"checked-icon": withCtx(() => [
|
|
125026
125021
|
createVNode(CIcon, {
|
|
@@ -125163,8 +125158,8 @@ const _hoisted_2$2a = {
|
|
|
125163
125158
|
key: 0,
|
|
125164
125159
|
class: "flex-grow flex flex-col gap-1 mx-2 min-w-0 w-full leading-none"
|
|
125165
125160
|
};
|
|
125166
|
-
const _hoisted_3$
|
|
125167
|
-
const _hoisted_4$
|
|
125161
|
+
const _hoisted_3$1L = { class: "title text-ellipsis whitespace-nowrap font-700 overflow-hidden" };
|
|
125162
|
+
const _hoisted_4$1s = {
|
|
125168
125163
|
key: 0,
|
|
125169
125164
|
class: "text-ellipsis whitespace-nowrap color-text2 truncate font-size-[12px]"
|
|
125170
125165
|
};
|
|
@@ -125219,8 +125214,8 @@ const _sfc_main$3R = /* @__PURE__ */ defineComponent({
|
|
|
125219
125214
|
width: 60
|
|
125220
125215
|
}, null, 8, ["item"]),
|
|
125221
125216
|
!_ctx.selectedPageIndex ? (openBlock(), createElementBlock("div", _hoisted_2$2a, [
|
|
125222
|
-
createElementVNode("div", _hoisted_3$
|
|
125223
|
-
!_ctx.hideContentType ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
125217
|
+
createElementVNode("div", _hoisted_3$1L, toDisplayString(_ctx.file.name), 1),
|
|
125218
|
+
!_ctx.hideContentType ? (openBlock(), createElementBlock("div", _hoisted_4$1s, [
|
|
125224
125219
|
(openBlock(), createBlock(resolveDynamicComponent(unref(renderContentType)(_ctx.file.content_type)), { class: "color-primary3" }))
|
|
125225
125220
|
])) : createCommentVNode("", true)
|
|
125226
125221
|
])) : (openBlock(), createElementBlock("div", _hoisted_5$1c, [
|
|
@@ -125313,8 +125308,8 @@ function enforceHttps(url) {
|
|
|
125313
125308
|
|
|
125314
125309
|
const _hoisted_1$2_ = { key: 0 };
|
|
125315
125310
|
const _hoisted_2$29 = { class: "flex flex-col gap-4 mb-2" };
|
|
125316
|
-
const _hoisted_3$
|
|
125317
|
-
const _hoisted_4$
|
|
125311
|
+
const _hoisted_3$1K = { class: "font-bold font-size-[20px]" };
|
|
125312
|
+
const _hoisted_4$1r = { class: "flex flex-col gap-2" };
|
|
125318
125313
|
const _hoisted_5$1b = {
|
|
125319
125314
|
key: 0,
|
|
125320
125315
|
class: "flex flex-col gap-2"
|
|
@@ -125561,10 +125556,10 @@ const _sfc_main$3Q = /* @__PURE__ */ defineComponent({
|
|
|
125561
125556
|
createVNode(_sfc_main$60, { "max-height": 500 }, {
|
|
125562
125557
|
default: withCtx(() => [
|
|
125563
125558
|
createElementVNode("div", _hoisted_2$29, [
|
|
125564
|
-
createElementVNode("div", _hoisted_3$
|
|
125559
|
+
createElementVNode("div", _hoisted_3$1K, toDisplayString(unref(t)("canvasUI.components.fileViewer.linkAnnotation.title")), 1),
|
|
125565
125560
|
createElementVNode("div", null, toDisplayString(unref(t)("canvasUI.components.fileViewer.linkAnnotation.subtitle")), 1)
|
|
125566
125561
|
]),
|
|
125567
|
-
createElementVNode("div", _hoisted_4$
|
|
125562
|
+
createElementVNode("div", _hoisted_4$1r, [
|
|
125568
125563
|
createVNode(unref(NFormItem), {
|
|
125569
125564
|
"show-feedback": false,
|
|
125570
125565
|
"show-label": false
|
|
@@ -125700,8 +125695,8 @@ const _sfc_main$3Q = /* @__PURE__ */ defineComponent({
|
|
|
125700
125695
|
|
|
125701
125696
|
const _hoisted_1$2Z = { class: "flex flex-col gap-2" };
|
|
125702
125697
|
const _hoisted_2$28 = { class: "flex flex-col gap-1 mt-1" };
|
|
125703
|
-
const _hoisted_3$
|
|
125704
|
-
const _hoisted_4$
|
|
125698
|
+
const _hoisted_3$1J = { class: "flex gap-2" };
|
|
125699
|
+
const _hoisted_4$1q = { class: "flex items-center gap-2 color-text3" };
|
|
125705
125700
|
const _hoisted_5$1a = { class: "flex items-center gap-2 color-text3" };
|
|
125706
125701
|
const _sfc_main$3P = /* @__PURE__ */ defineComponent({
|
|
125707
125702
|
__name: "CFileViewerCopyPagesMetadata.pdf",
|
|
@@ -125815,7 +125810,7 @@ const _sfc_main$3P = /* @__PURE__ */ defineComponent({
|
|
|
125815
125810
|
range: "",
|
|
125816
125811
|
step: 1
|
|
125817
125812
|
}, null, 8, ["value", "disabled", "max"]),
|
|
125818
|
-
createElementVNode("div", _hoisted_3$
|
|
125813
|
+
createElementVNode("div", _hoisted_3$1J, [
|
|
125819
125814
|
createVNode(unref(NInputNumber), {
|
|
125820
125815
|
value: range.value[0],
|
|
125821
125816
|
"onUpdate:value": _cache[4] || (_cache[4] = ($event) => range.value[0] = $event),
|
|
@@ -125826,7 +125821,7 @@ const _sfc_main$3P = /* @__PURE__ */ defineComponent({
|
|
|
125826
125821
|
precision: 0
|
|
125827
125822
|
}, {
|
|
125828
125823
|
prefix: withCtx(() => [
|
|
125829
|
-
createElementVNode("div", _hoisted_4$
|
|
125824
|
+
createElementVNode("div", _hoisted_4$1q, [
|
|
125830
125825
|
createVNode(CIcon, {
|
|
125831
125826
|
icon: "page",
|
|
125832
125827
|
size: "16px"
|
|
@@ -125902,8 +125897,8 @@ const _sfc_main$3O = /* @__PURE__ */ defineComponent({
|
|
|
125902
125897
|
|
|
125903
125898
|
const _hoisted_1$2X = { class: "flex flex-col gap-1" };
|
|
125904
125899
|
const _hoisted_2$27 = { class: "flex gap-2" };
|
|
125905
|
-
const _hoisted_3$
|
|
125906
|
-
const _hoisted_4$
|
|
125900
|
+
const _hoisted_3$1I = { class: "font-size-3 color-text2" };
|
|
125901
|
+
const _hoisted_4$1p = {
|
|
125907
125902
|
key: 1,
|
|
125908
125903
|
class: "flex flex-col gap-4 h-full"
|
|
125909
125904
|
};
|
|
@@ -126147,7 +126142,7 @@ const _sfc_main$3N = /* @__PURE__ */ defineComponent({
|
|
|
126147
126142
|
key: 0,
|
|
126148
126143
|
class: "flex h-full"
|
|
126149
126144
|
})) : createCommentVNode("", true),
|
|
126150
|
-
!_ctx.isLoadingInstanceMetadataTemplate ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
126145
|
+
!_ctx.isLoadingInstanceMetadataTemplate ? (openBlock(), createElementBlock("div", _hoisted_4$1p, [
|
|
126151
126146
|
createElementVNode("div", _hoisted_5$19, toDisplayString(unref(t)("canvasUI.components.fileViewer.pageMetadata.form.pageSettings")), 1),
|
|
126152
126147
|
createVNode(unref(NForm), {
|
|
126153
126148
|
model: flatPagesInfoModel[currentPageIndex.value]
|
|
@@ -126260,7 +126255,7 @@ const _sfc_main$3N = /* @__PURE__ */ defineComponent({
|
|
|
126260
126255
|
_: 1
|
|
126261
126256
|
}, 8, ["disabled"])
|
|
126262
126257
|
]),
|
|
126263
|
-
createElementVNode("div", _hoisted_3$
|
|
126258
|
+
createElementVNode("div", _hoisted_3$1I, toDisplayString(unref(t)("canvasUI.components.fileViewer.pageMetadata.form.currentPageHelpText")), 1)
|
|
126264
126259
|
])
|
|
126265
126260
|
]),
|
|
126266
126261
|
key: "0"
|
|
@@ -126436,8 +126431,8 @@ const _hoisted_2$26 = {
|
|
|
126436
126431
|
key: 0,
|
|
126437
126432
|
class: "c-file-viewer-search-results-sidebar-header"
|
|
126438
126433
|
};
|
|
126439
|
-
const _hoisted_3$
|
|
126440
|
-
const _hoisted_4$
|
|
126434
|
+
const _hoisted_3$1H = { class: "c-file-viewer-search-results-sidebar__page" };
|
|
126435
|
+
const _hoisted_4$1o = ["onClick"];
|
|
126441
126436
|
const _sfc_main$3M = /* @__PURE__ */ defineComponent({
|
|
126442
126437
|
__name: "CFileViewerSearchResultsSidebar.pdf",
|
|
126443
126438
|
props: {
|
|
@@ -126488,7 +126483,7 @@ const _sfc_main$3M = /* @__PURE__ */ defineComponent({
|
|
|
126488
126483
|
])) : createCommentVNode("", true),
|
|
126489
126484
|
searchState.value && searchState.value.results ? (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(resultsGroupsByPage.value, (results, focusedResultIndex) => {
|
|
126490
126485
|
return openBlock(), createElementBlock("div", { key: focusedResultIndex }, [
|
|
126491
|
-
createElementVNode("div", _hoisted_3$
|
|
126486
|
+
createElementVNode("div", _hoisted_3$1H, [
|
|
126492
126487
|
createElementVNode("div", null, toDisplayString(unref(t)("canvasUI.components.fileViewer.sidebars.searchResults.page")), 1),
|
|
126493
126488
|
createElementVNode("div", null, toDisplayString(results[0].pageIndex + 1), 1)
|
|
126494
126489
|
]),
|
|
@@ -126502,7 +126497,7 @@ const _sfc_main$3M = /* @__PURE__ */ defineComponent({
|
|
|
126502
126497
|
key: 1,
|
|
126503
126498
|
style: { cursor: "pointer" },
|
|
126504
126499
|
onClick: ($event) => jumpToHighlightedText(result, result.totalResultIndex)
|
|
126505
|
-
}, 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$1o)),
|
|
126506
126501
|
createElementVNode("span", null, toDisplayString(result.previewText.substring(result.locationInPreview + searchState.value.term.length)), 1),
|
|
126507
126502
|
_cache[0] || (_cache[0] = createElementVNode("hr", { class: "c-file-viewer-search-results-sidebar__page-results-divider" }, null, -1))
|
|
126508
126503
|
]);
|
|
@@ -127594,11 +127589,11 @@ const _hoisted_2$25 = {
|
|
|
127594
127589
|
key: 2,
|
|
127595
127590
|
class: "c-file-viewer__content-status-container"
|
|
127596
127591
|
};
|
|
127597
|
-
const _hoisted_3$
|
|
127592
|
+
const _hoisted_3$1G = {
|
|
127598
127593
|
key: 2,
|
|
127599
127594
|
class: "w-full h-full flex justify-center items-center"
|
|
127600
127595
|
};
|
|
127601
|
-
const _hoisted_4$
|
|
127596
|
+
const _hoisted_4$1n = ["href"];
|
|
127602
127597
|
const _hoisted_5$18 = { class: "block w-full min-h-[125px] max-w-lg hover:opacity-75 focus:opacity-75 transition-opacity" };
|
|
127603
127598
|
const _hoisted_6$_ = {
|
|
127604
127599
|
key: 4,
|
|
@@ -128128,7 +128123,7 @@ const _sfc_main$3L = /* @__PURE__ */ defineComponent({
|
|
|
128128
128123
|
"fit-parent": "",
|
|
128129
128124
|
icon: "face-worried",
|
|
128130
128125
|
title: unref(t)("canvasUI.components.fileViewer.missingFileUrl.title")
|
|
128131
|
-
}, 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$1G, [
|
|
128132
128127
|
createElementVNode("a", {
|
|
128133
128128
|
href: _ctx.file.content_url,
|
|
128134
128129
|
rel: "ar"
|
|
@@ -128138,7 +128133,7 @@ const _sfc_main$3L = /* @__PURE__ */ defineComponent({
|
|
|
128138
128133
|
"object-fit": "cover",
|
|
128139
128134
|
src: _ctx.file.thumbnail_url
|
|
128140
128135
|
}, null, 8, ["src"])
|
|
128141
|
-
], 8, _hoisted_4$
|
|
128136
|
+
], 8, _hoisted_4$1n)
|
|
128142
128137
|
])) : fileType.value === "ar" ? (openBlock(), createBlock(_sfc_main$6J, {
|
|
128143
128138
|
key: 3,
|
|
128144
128139
|
description: unref(t)("canvasUI.components.fileViewer.arContentNotAvailable.description"),
|
|
@@ -128307,13 +128302,13 @@ const CDetailPageSectionButtons = /* @__PURE__ */ _export_sfc(_sfc_main$3K, [["_
|
|
|
128307
128302
|
|
|
128308
128303
|
const _hoisted_1$2T = { class: "c-global-loader" };
|
|
128309
128304
|
const _hoisted_2$24 = { class: "c-global-loader__container" };
|
|
128310
|
-
const _hoisted_3$
|
|
128305
|
+
const _hoisted_3$1F = {
|
|
128311
128306
|
class: "c-global-loader__shape",
|
|
128312
128307
|
preserveAspectRatio: "xMidYMid meet",
|
|
128313
128308
|
viewBox: "124 269.5 128 128",
|
|
128314
128309
|
xmlns: "http://www.w3.org/2000/svg"
|
|
128315
128310
|
};
|
|
128316
|
-
const _hoisted_4$
|
|
128311
|
+
const _hoisted_4$1m = {
|
|
128317
128312
|
opacity: "1",
|
|
128318
128313
|
transform: "matrix(1,0,0,1,187.5,333.5)"
|
|
128319
128314
|
};
|
|
@@ -128425,8 +128420,8 @@ const _sfc_main$3J = /* @__PURE__ */ defineComponent({
|
|
|
128425
128420
|
return (_ctx, _cache) => {
|
|
128426
128421
|
return openBlock(), createElementBlock("div", _hoisted_1$2T, [
|
|
128427
128422
|
createElementVNode("div", _hoisted_2$24, [
|
|
128428
|
-
(openBlock(), createElementBlock("svg", _hoisted_3$
|
|
128429
|
-
createElementVNode("g", _hoisted_4$
|
|
128423
|
+
(openBlock(), createElementBlock("svg", _hoisted_3$1F, [
|
|
128424
|
+
createElementVNode("g", _hoisted_4$1m, [
|
|
128430
128425
|
createElementVNode("g", _hoisted_5$17, [
|
|
128431
128426
|
createElementVNode("path", {
|
|
128432
128427
|
id: "path1",
|
|
@@ -128469,8 +128464,8 @@ const CGlobalLoader = /* @__PURE__ */ _export_sfc(_sfc_main$3J, [["__scopeId", "
|
|
|
128469
128464
|
|
|
128470
128465
|
const _hoisted_1$2S = { class: "flex flex-col gap-1" };
|
|
128471
128466
|
const _hoisted_2$23 = { class: "flex flex-wrap gap-1" };
|
|
128472
|
-
const _hoisted_3$
|
|
128473
|
-
const _hoisted_4$
|
|
128467
|
+
const _hoisted_3$1E = { class: "font-bold" };
|
|
128468
|
+
const _hoisted_4$1l = {
|
|
128474
128469
|
key: 0,
|
|
128475
128470
|
class: "flex flex-wrap gap-1"
|
|
128476
128471
|
};
|
|
@@ -128487,9 +128482,9 @@ const _sfc_main$3I = /* @__PURE__ */ defineComponent({
|
|
|
128487
128482
|
return openBlock(), createElementBlock("div", _hoisted_1$2S, [
|
|
128488
128483
|
createElementVNode("div", _hoisted_2$23, [
|
|
128489
128484
|
createElementVNode("div", null, toDisplayString(_ctx.texts.name), 1),
|
|
128490
|
-
createElementVNode("div", _hoisted_3$
|
|
128485
|
+
createElementVNode("div", _hoisted_3$1E, toDisplayString(_ctx.name), 1)
|
|
128491
128486
|
]),
|
|
128492
|
-
_ctx.texts.type ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
128487
|
+
_ctx.texts.type ? (openBlock(), createElementBlock("div", _hoisted_4$1l, [
|
|
128493
128488
|
createElementVNode("div", null, toDisplayString(_ctx.texts.type), 1),
|
|
128494
128489
|
createElementVNode("div", _hoisted_5$16, toDisplayString(_ctx.texts.file ?? _ctx.texts.folder), 1)
|
|
128495
128490
|
])) : createCommentVNode("", true),
|
|
@@ -128507,8 +128502,8 @@ const catalogIqSvgAdmin = "data:image/svg+xml,%3csvg%20width='36'%20height='36'%
|
|
|
128507
128502
|
|
|
128508
128503
|
const _hoisted_1$2R = { class: "p-4 c-catalog-iq-switcher-content min-w-[270px]" };
|
|
128509
128504
|
const _hoisted_2$22 = { class: "flex justify-between items-center" };
|
|
128510
|
-
const _hoisted_3$
|
|
128511
|
-
const _hoisted_4$
|
|
128505
|
+
const _hoisted_3$1D = { class: "text-center text-20px font-500 leading-32px tracking-[0.25px] ma-0" };
|
|
128506
|
+
const _hoisted_4$1k = { class: "flex flex-col mt-3" };
|
|
128512
128507
|
const _hoisted_5$15 = ["href"];
|
|
128513
128508
|
const _hoisted_6$X = { class: "flex items-center gap-2" };
|
|
128514
128509
|
const _hoisted_7$G = ["alt", "src"];
|
|
@@ -128540,9 +128535,9 @@ const _sfc_main$3H = /* @__PURE__ */ defineComponent({
|
|
|
128540
128535
|
return (_ctx, _cache) => {
|
|
128541
128536
|
return openBlock(), createElementBlock("div", _hoisted_1$2R, [
|
|
128542
128537
|
createElementVNode("div", _hoisted_2$22, [
|
|
128543
|
-
createElementVNode("div", _hoisted_3$
|
|
128538
|
+
createElementVNode("div", _hoisted_3$1D, toDisplayString(unref(t)("canvasUI.components.CCatalogIqSwitcherContent.switchTo")), 1)
|
|
128544
128539
|
]),
|
|
128545
|
-
createElementVNode("div", _hoisted_4$
|
|
128540
|
+
createElementVNode("div", _hoisted_4$1k, [
|
|
128546
128541
|
(openBlock(true), createElementBlock(Fragment, null, renderList(items.value, (item) => {
|
|
128547
128542
|
return openBlock(), createElementBlock("a", {
|
|
128548
128543
|
key: item.app,
|
|
@@ -128646,8 +128641,8 @@ const _hoisted_1$2Q = {
|
|
|
128646
128641
|
class: "relative overflow-hidden c-carousel flex flex-col gap-4"
|
|
128647
128642
|
};
|
|
128648
128643
|
const _hoisted_2$21 = { class: "c-carousel__dots flex items-center" };
|
|
128649
|
-
const _hoisted_3$
|
|
128650
|
-
const _hoisted_4$
|
|
128644
|
+
const _hoisted_3$1C = ["onClick"];
|
|
128645
|
+
const _hoisted_4$1j = { class: "c-carousel__arrow-group flex gap-2" };
|
|
128651
128646
|
const _sfc_main$3F = /* @__PURE__ */ defineComponent({
|
|
128652
128647
|
__name: "CCarousel",
|
|
128653
128648
|
props: {
|
|
@@ -128787,10 +128782,10 @@ const _sfc_main$3F = /* @__PURE__ */ defineComponent({
|
|
|
128787
128782
|
key: index,
|
|
128788
128783
|
class: normalizeClass(["h-2 w-2 c-carousel__dot", { "c-carousel__dot--active n-carousel__dot--active": currentSlideIndex.value === index }]),
|
|
128789
128784
|
onClick: ($event) => goToSlide(index)
|
|
128790
|
-
}, null, 10, _hoisted_3$
|
|
128785
|
+
}, null, 10, _hoisted_3$1C);
|
|
128791
128786
|
}), 128))
|
|
128792
128787
|
]),
|
|
128793
|
-
createElementVNode("div", _hoisted_4$
|
|
128788
|
+
createElementVNode("div", _hoisted_4$1j, [
|
|
128794
128789
|
createVNode(CIcon, {
|
|
128795
128790
|
class: "cursor-pointer rounded-2 pa-[6px] c-carousel__arrow",
|
|
128796
128791
|
icon: "angle-left",
|
|
@@ -128812,7 +128807,7 @@ const CCarousel = /* @__PURE__ */ _export_sfc(_sfc_main$3F, [["__scopeId", "data
|
|
|
128812
128807
|
|
|
128813
128808
|
const _hoisted_1$2P = { class: "c-slide-viewer w-full h-full relative overflow-hidden" };
|
|
128814
128809
|
const _hoisted_2$20 = { class: "flex flex-col items-center space-y-2" };
|
|
128815
|
-
const _hoisted_3$
|
|
128810
|
+
const _hoisted_3$1B = { class: "text-sm" };
|
|
128816
128811
|
const PDF_CACHE_TTL_MS = 10 * 60 * 1e3;
|
|
128817
128812
|
const _sfc_main$3E = /* @__PURE__ */ defineComponent({
|
|
128818
128813
|
__name: "CSlideViewer.pdfjs",
|
|
@@ -129090,7 +129085,7 @@ const _sfc_main$3E = /* @__PURE__ */ defineComponent({
|
|
|
129090
129085
|
icon: "file-image",
|
|
129091
129086
|
size: "48"
|
|
129092
129087
|
}, null, 8, ["color"]),
|
|
129093
|
-
createElementVNode("span", _hoisted_3$
|
|
129088
|
+
createElementVNode("span", _hoisted_3$1B, toDisplayString(unref(t)("canvasUI.CSlideViewer.noPdfAvailable")), 1)
|
|
129094
129089
|
])
|
|
129095
129090
|
], 4)) : (openBlock(), createElementBlock("div", {
|
|
129096
129091
|
key: 2,
|
|
@@ -129113,8 +129108,8 @@ const _sfc_main$3E = /* @__PURE__ */ defineComponent({
|
|
|
129113
129108
|
|
|
129114
129109
|
const _hoisted_1$2O = { class: "w-full h-full overflow-hidden relative" };
|
|
129115
129110
|
const _hoisted_2$1$ = { class: "flex flex-col items-center space-y-2" };
|
|
129116
|
-
const _hoisted_3$
|
|
129117
|
-
const _hoisted_4$
|
|
129111
|
+
const _hoisted_3$1A = { class: "text-sm" };
|
|
129112
|
+
const _hoisted_4$1i = ["src"];
|
|
129118
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";
|
|
129119
129114
|
const _sfc_main$3D = /* @__PURE__ */ defineComponent({
|
|
129120
129115
|
__name: "CSlideViewer.pspdfkit",
|
|
@@ -129317,7 +129312,7 @@ const _sfc_main$3D = /* @__PURE__ */ defineComponent({
|
|
|
129317
129312
|
icon: "file-image",
|
|
129318
129313
|
size: "48"
|
|
129319
129314
|
}, null, 8, ["color"]),
|
|
129320
|
-
createElementVNode("span", _hoisted_3$
|
|
129315
|
+
createElementVNode("span", _hoisted_3$1A, toDisplayString(unref(t)("canvasUI.CSlideViewer.noPdfAvailable")), 1)
|
|
129321
129316
|
])
|
|
129322
129317
|
], 4)) : error.value ? (openBlock(), createElementBlock("div", {
|
|
129323
129318
|
key: 1,
|
|
@@ -129332,7 +129327,7 @@ const _sfc_main$3D = /* @__PURE__ */ defineComponent({
|
|
|
129332
129327
|
src: iframeUrl.value,
|
|
129333
129328
|
style: normalizeStyle(containerStyle.value),
|
|
129334
129329
|
onLoad: onIframeLoad
|
|
129335
|
-
}, null, 44, _hoisted_4$
|
|
129330
|
+
}, null, 44, _hoisted_4$1i)) : createCommentVNode("", true)
|
|
129336
129331
|
]);
|
|
129337
129332
|
};
|
|
129338
129333
|
}
|
|
@@ -129543,8 +129538,8 @@ const _hoisted_2$1_ = {
|
|
|
129543
129538
|
key: 0,
|
|
129544
129539
|
class: "flex gap-3 pa-5"
|
|
129545
129540
|
};
|
|
129546
|
-
const _hoisted_3$
|
|
129547
|
-
const _hoisted_4$
|
|
129541
|
+
const _hoisted_3$1z = { class: "flex flex-col gap-1" };
|
|
129542
|
+
const _hoisted_4$1h = { class: "tracking-wide leading-none text-base" };
|
|
129548
129543
|
const _hoisted_5$14 = { class: "tracking-wide leading-none text-sm" };
|
|
129549
129544
|
const _hoisted_6$W = { class: "flex flex-col gap-2 pa-3" };
|
|
129550
129545
|
const _hoisted_7$F = ["onClick"];
|
|
@@ -129603,8 +129598,8 @@ const _sfc_main$3z = /* @__PURE__ */ defineComponent({
|
|
|
129603
129598
|
lastName: _ctx.user.last_name,
|
|
129604
129599
|
picture: _ctx.user.picture
|
|
129605
129600
|
}, null, 8, ["email", "firstName", "lastName", "picture"]),
|
|
129606
|
-
createElementVNode("div", _hoisted_3$
|
|
129607
|
-
createElementVNode("span", _hoisted_4$
|
|
129601
|
+
createElementVNode("div", _hoisted_3$1z, [
|
|
129602
|
+
createElementVNode("span", _hoisted_4$1h, toDisplayString(`${_ctx.user.first_name} ${_ctx.user.last_name}`), 1),
|
|
129608
129603
|
createElementVNode("span", _hoisted_5$14, toDisplayString(_ctx.user.email), 1),
|
|
129609
129604
|
unref(isNonMemberRole)(_ctx.userRole) ? (openBlock(), createBlock(_sfc_main$4U, {
|
|
129610
129605
|
key: 0,
|
|
@@ -130351,8 +130346,8 @@ const ContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$3w, [["__scopeId", "da
|
|
|
130351
130346
|
|
|
130352
130347
|
const _hoisted_1$2K = { class: "basic-info w-full" };
|
|
130353
130348
|
const _hoisted_2$1Y = { class: "flex justify-center mb-2 text-[16px] leading-[24px] tracking-[0.5px]" };
|
|
130354
|
-
const _hoisted_3$
|
|
130355
|
-
const _hoisted_4$
|
|
130349
|
+
const _hoisted_3$1y = { class: "truncate font-500 text-center" };
|
|
130350
|
+
const _hoisted_4$1g = {
|
|
130356
130351
|
key: 0,
|
|
130357
130352
|
class: "flex w-full h-full"
|
|
130358
130353
|
};
|
|
@@ -130370,9 +130365,9 @@ const _sfc_main$3v = /* @__PURE__ */ defineComponent({
|
|
|
130370
130365
|
return (_ctx, _cache) => {
|
|
130371
130366
|
return openBlock(), createElementBlock("div", _hoisted_1$2K, [
|
|
130372
130367
|
createElementVNode("div", _hoisted_2$1Y, [
|
|
130373
|
-
createElementVNode("div", _hoisted_3$
|
|
130368
|
+
createElementVNode("div", _hoisted_3$1y, toDisplayString(file.value?.name), 1)
|
|
130374
130369
|
]),
|
|
130375
|
-
file.value ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
130370
|
+
file.value ? (openBlock(), createElementBlock("div", _hoisted_4$1g, [
|
|
130376
130371
|
createElementVNode("div", _hoisted_5$13, [
|
|
130377
130372
|
createVNode(_sfc_main$6G, {
|
|
130378
130373
|
height: "auto",
|
|
@@ -130418,8 +130413,8 @@ const _hoisted_2$1X = {
|
|
|
130418
130413
|
key: 1,
|
|
130419
130414
|
class: "c-rating-feedback flex flex-col gap-2"
|
|
130420
130415
|
};
|
|
130421
|
-
const _hoisted_3$
|
|
130422
|
-
const _hoisted_4$
|
|
130416
|
+
const _hoisted_3$1x = { class: "rating" };
|
|
130417
|
+
const _hoisted_4$1f = { class: "w-full font-600 ma-0" };
|
|
130423
130418
|
const _hoisted_5$12 = { class: "comment" };
|
|
130424
130419
|
const _hoisted_6$U = { class: "w-full font-600 ma-0" };
|
|
130425
130420
|
const _hoisted_7$E = { class: "flex justify-start gap-2" };
|
|
@@ -130467,8 +130462,8 @@ const _sfc_main$3t = /* @__PURE__ */ defineComponent({
|
|
|
130467
130462
|
}),
|
|
130468
130463
|
createElementVNode("span", null, toDisplayString(unref(t)("canvasUI.components.CRatingFeedback.feedbackMessage")), 1)
|
|
130469
130464
|
])) : (openBlock(), createElementBlock("div", _hoisted_2$1X, [
|
|
130470
|
-
createElementVNode("div", _hoisted_3$
|
|
130471
|
-
createElementVNode("p", _hoisted_4$
|
|
130465
|
+
createElementVNode("div", _hoisted_3$1x, [
|
|
130466
|
+
createElementVNode("p", _hoisted_4$1f, toDisplayString(unref(t)("canvasUI.components.CRatingFeedback.rating")), 1),
|
|
130472
130467
|
createVNode(_sfc_main$3u, {
|
|
130473
130468
|
clearable: "",
|
|
130474
130469
|
color: unref(themeVars).warning,
|
|
@@ -130581,8 +130576,8 @@ const getNumberWithRegex = (string) => {
|
|
|
130581
130576
|
|
|
130582
130577
|
const _hoisted_1$2I = { class: "details w-full" };
|
|
130583
130578
|
const _hoisted_2$1W = { class: "flex mb-[10px] mt-[34px] font-600" };
|
|
130584
|
-
const _hoisted_3$
|
|
130585
|
-
const _hoisted_4$
|
|
130579
|
+
const _hoisted_3$1w = { class: "flex gap-8 lg:gap-16" };
|
|
130580
|
+
const _hoisted_4$1e = { class: "flex flex-col gap-4" };
|
|
130586
130581
|
const _hoisted_5$11 = { class: "flex flex-col gap-2" };
|
|
130587
130582
|
const _hoisted_6$T = { class: "title" };
|
|
130588
130583
|
const _hoisted_7$D = { class: "flex flex-col gap-2" };
|
|
@@ -130705,8 +130700,8 @@ const _sfc_main$3s = /* @__PURE__ */ defineComponent({
|
|
|
130705
130700
|
createElementVNode("div", _hoisted_2$1W, [
|
|
130706
130701
|
createElementVNode("div", null, toDisplayString(unref(t)("canvasUI.browserApp.fileSelectionInfo.sections.details.title")), 1)
|
|
130707
130702
|
]),
|
|
130708
|
-
createElementVNode("div", _hoisted_3$
|
|
130709
|
-
createElementVNode("div", _hoisted_4$
|
|
130703
|
+
createElementVNode("div", _hoisted_3$1w, [
|
|
130704
|
+
createElementVNode("div", _hoisted_4$1e, [
|
|
130710
130705
|
createElementVNode("div", _hoisted_5$11, [
|
|
130711
130706
|
createElementVNode("div", _hoisted_6$T, toDisplayString(unref(t)("canvasUI.browserApp.fileSelectionInfo.sections.details.owner")), 1),
|
|
130712
130707
|
createElementVNode("div", null, toDisplayString(file.value?.created_by.name), 1)
|
|
@@ -130773,8 +130768,8 @@ const _hoisted_1$2H = {
|
|
|
130773
130768
|
class: "details w-full"
|
|
130774
130769
|
};
|
|
130775
130770
|
const _hoisted_2$1V = { class: "flex mb-[10px] mt-[34px] font-600" };
|
|
130776
|
-
const _hoisted_3$
|
|
130777
|
-
const _hoisted_4$
|
|
130771
|
+
const _hoisted_3$1v = { class: "flex flex-wrap" };
|
|
130772
|
+
const _hoisted_4$1d = { class: "title" };
|
|
130778
130773
|
const _sfc_main$3r = /* @__PURE__ */ defineComponent({
|
|
130779
130774
|
__name: "Metadata",
|
|
130780
130775
|
setup(__props) {
|
|
@@ -130833,13 +130828,13 @@ const _sfc_main$3r = /* @__PURE__ */ defineComponent({
|
|
|
130833
130828
|
createElementVNode("div", _hoisted_2$1V, [
|
|
130834
130829
|
createElementVNode("div", null, toDisplayString(unref(t)("canvasUI.browserApp.fileSelectionInfo.sections.details.metadata")), 1)
|
|
130835
130830
|
]),
|
|
130836
|
-
createElementVNode("div", _hoisted_3$
|
|
130831
|
+
createElementVNode("div", _hoisted_3$1v, [
|
|
130837
130832
|
(openBlock(true), createElementBlock(Fragment, null, renderList(fileMetadata.value, (item, index) => {
|
|
130838
130833
|
return openBlock(), createElementBlock("div", {
|
|
130839
130834
|
key: index,
|
|
130840
130835
|
class: "flex flex-col gap-2 metadata-field mb-4"
|
|
130841
130836
|
}, [
|
|
130842
|
-
createElementVNode("div", _hoisted_4$
|
|
130837
|
+
createElementVNode("div", _hoisted_4$1d, toDisplayString(item.label), 1),
|
|
130843
130838
|
createElementVNode("div", null, toDisplayString(item.value), 1)
|
|
130844
130839
|
]);
|
|
130845
130840
|
}), 128))
|
|
@@ -130856,8 +130851,8 @@ const _hoisted_2$1U = {
|
|
|
130856
130851
|
key: 0,
|
|
130857
130852
|
class: "flex mb-[10px] mt-[34px] font-600"
|
|
130858
130853
|
};
|
|
130859
|
-
const _hoisted_3$
|
|
130860
|
-
const _hoisted_4$
|
|
130854
|
+
const _hoisted_3$1u = { class: "flex flex-wrap center-items gap-1" };
|
|
130855
|
+
const _hoisted_4$1c = {
|
|
130861
130856
|
key: 0,
|
|
130862
130857
|
class: "ml-2"
|
|
130863
130858
|
};
|
|
@@ -130892,7 +130887,7 @@ const _sfc_main$3q = /* @__PURE__ */ defineComponent({
|
|
|
130892
130887
|
_ctx.showLabel ? (openBlock(), createElementBlock("div", _hoisted_2$1U, [
|
|
130893
130888
|
createElementVNode("div", null, toDisplayString(unref(t)("canvasUI.browserApp.fileSelectionInfo.sections.tags.title")), 1)
|
|
130894
130889
|
])) : createCommentVNode("", true),
|
|
130895
|
-
createElementVNode("div", _hoisted_3$
|
|
130890
|
+
createElementVNode("div", _hoisted_3$1u, [
|
|
130896
130891
|
(openBlock(true), createElementBlock(Fragment, null, renderList(tagsToRender.value, (tag, index) => {
|
|
130897
130892
|
return openBlock(), createBlock(_sfc_main$6D, {
|
|
130898
130893
|
key: index,
|
|
@@ -130905,7 +130900,7 @@ const _sfc_main$3q = /* @__PURE__ */ defineComponent({
|
|
|
130905
130900
|
_: 2
|
|
130906
130901
|
}, 1024);
|
|
130907
130902
|
}), 128)),
|
|
130908
|
-
(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$1c, toDisplayString(unref(t)(
|
|
130909
130904
|
"canvasUI.browserApp.fileSelectionInfo.sections.tags.andMoreTags",
|
|
130910
130905
|
(file.value?.tags?.length ?? 0) - _ctx.maxTagsToRender
|
|
130911
130906
|
)), 1)) : createCommentVNode("", true),
|
|
@@ -130945,11 +130940,11 @@ const _hoisted_1$2E = {
|
|
|
130945
130940
|
class: "file-access-management w-full"
|
|
130946
130941
|
};
|
|
130947
130942
|
const _hoisted_2$1T = { class: "flex justify-between items-center mb-[10px] mt-[34px] font-600" };
|
|
130948
|
-
const _hoisted_3$
|
|
130943
|
+
const _hoisted_3$1t = {
|
|
130949
130944
|
key: 0,
|
|
130950
130945
|
class: "flex justify-center py-4"
|
|
130951
130946
|
};
|
|
130952
|
-
const _hoisted_4$
|
|
130947
|
+
const _hoisted_4$1b = {
|
|
130953
130948
|
key: 1,
|
|
130954
130949
|
class: "flex flex-col gap-4"
|
|
130955
130950
|
};
|
|
@@ -131120,9 +131115,9 @@ const _sfc_main$3o = /* @__PURE__ */ defineComponent({
|
|
|
131120
131115
|
_: 1
|
|
131121
131116
|
})) : createCommentVNode("", true)
|
|
131122
131117
|
]),
|
|
131123
|
-
isLoading.value ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
131118
|
+
isLoading.value ? (openBlock(), createElementBlock("div", _hoisted_3$1t, [
|
|
131124
131119
|
createVNode(_sfc_main$6o)
|
|
131125
|
-
])) : isEditing.value ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
131120
|
+
])) : isEditing.value ? (openBlock(), createElementBlock("div", _hoisted_4$1b, [
|
|
131126
131121
|
allowUsersInDistribution.value ? (openBlock(), createBlock(CUsersGroupsAccessManage, {
|
|
131127
131122
|
key: 0,
|
|
131128
131123
|
items: usersCollaborations.value,
|
|
@@ -131240,8 +131235,8 @@ const _hoisted_1$2D = {
|
|
|
131240
131235
|
class: "flex gap-2 pb-4 uppercase tracking-wider"
|
|
131241
131236
|
};
|
|
131242
131237
|
const _hoisted_2$1S = { class: "flex items-center justify-between pa-4 gap-4" };
|
|
131243
|
-
const _hoisted_3$
|
|
131244
|
-
const _hoisted_4$
|
|
131238
|
+
const _hoisted_3$1s = { class: "text-sm" };
|
|
131239
|
+
const _hoisted_4$1a = { class: "flex items-center grow-0 basis-50" };
|
|
131245
131240
|
const _hoisted_5$_ = { class: "text-sm whitespace-nowrap" };
|
|
131246
131241
|
const _sfc_main$3n = /* @__PURE__ */ defineComponent({
|
|
131247
131242
|
__name: "AddComponentModal",
|
|
@@ -131730,8 +131725,8 @@ const _sfc_main$3n = /* @__PURE__ */ defineComponent({
|
|
|
131730
131725
|
])) : createCommentVNode("", true)
|
|
131731
131726
|
], 4),
|
|
131732
131727
|
createElementVNode("div", _hoisted_2$1S, [
|
|
131733
|
-
createElementVNode("span", _hoisted_3$
|
|
131734
|
-
createElementVNode("div", _hoisted_4$
|
|
131728
|
+
createElementVNode("span", _hoisted_3$1s, toDisplayString(unref(t)("canvasUI.canvasBuilder.components.name")) + " (" + toDisplayString(selections.value?.length) + ")", 1),
|
|
131729
|
+
createElementVNode("div", _hoisted_4$1a, [
|
|
131735
131730
|
createElementVNode("span", _hoisted_5$_, toDisplayString(unref(t)("canvasUI.canvasBuilder.components.sortBy")) + ":", 1),
|
|
131736
131731
|
createVNode(CSelect, {
|
|
131737
131732
|
class: "select-none",
|
|
@@ -132025,8 +132020,8 @@ const _hoisted_2$1R = {
|
|
|
132025
132020
|
key: 0,
|
|
132026
132021
|
class: "mt-4"
|
|
132027
132022
|
};
|
|
132028
|
-
const _hoisted_3$
|
|
132029
|
-
const _hoisted_4$
|
|
132023
|
+
const _hoisted_3$1r = { key: 0 };
|
|
132024
|
+
const _hoisted_4$19 = ["title"];
|
|
132030
132025
|
const _hoisted_5$Z = ["title"];
|
|
132031
132026
|
const _hoisted_6$R = {
|
|
132032
132027
|
key: 3,
|
|
@@ -132583,13 +132578,13 @@ const _sfc_main$3m = /* @__PURE__ */ defineComponent({
|
|
|
132583
132578
|
item: n
|
|
132584
132579
|
}, {
|
|
132585
132580
|
default: withCtx(() => [
|
|
132586
|
-
n ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
132581
|
+
n ? (openBlock(), createElementBlock("div", _hoisted_3$1r, [
|
|
132587
132582
|
n.renderExtra?.type === "heading" || n.renderExtra?.type === "both" ? (openBlock(), createElementBlock("div", {
|
|
132588
132583
|
key: 0,
|
|
132589
132584
|
class: "h-7 pt-3 text-xs tracking-wide uppercase relative top-2 left-1 text-truncate",
|
|
132590
132585
|
style: normalizeStyle({ color: unref(themeVars).primary3 }),
|
|
132591
132586
|
title: n.renderExtra?.name
|
|
132592
|
-
}, toDisplayString(n.renderExtra?.name), 13, _hoisted_4$
|
|
132587
|
+
}, toDisplayString(n.renderExtra?.name), 13, _hoisted_4$19)) : createCommentVNode("", true),
|
|
132593
132588
|
n.type === "PageBreak" ? (openBlock(), createElementBlock("div", {
|
|
132594
132589
|
key: 1,
|
|
132595
132590
|
class: "min-h-7 pt-3 text-xs tracking-wide uppercase left-1 top-2 overflow-visible",
|
|
@@ -132680,8 +132675,8 @@ const NavigatorPresentation = /* @__PURE__ */ _export_sfc(_sfc_main$3m, [["__sco
|
|
|
132680
132675
|
|
|
132681
132676
|
const _hoisted_1$2B = { class: "cb-navigator h-full w-[250px]" };
|
|
132682
132677
|
const _hoisted_2$1Q = { class: "cb-navigator__content h-full px-4 pb-4 pt-8 overflow-hidden" };
|
|
132683
|
-
const _hoisted_3$
|
|
132684
|
-
const _hoisted_4$
|
|
132678
|
+
const _hoisted_3$1q = { class: "top pr-1" };
|
|
132679
|
+
const _hoisted_4$18 = { class: "flex items-center justify-between" };
|
|
132685
132680
|
const _hoisted_5$Y = { class: "title" };
|
|
132686
132681
|
const _hoisted_6$Q = { class: "mt-4" };
|
|
132687
132682
|
const TOC_MODE_STORAGE_KEY = "canvas_builder_toc_mode_preference";
|
|
@@ -132713,8 +132708,8 @@ const _sfc_main$3l = /* @__PURE__ */ defineComponent({
|
|
|
132713
132708
|
return (_ctx, _cache) => {
|
|
132714
132709
|
return openBlock(), createElementBlock("div", _hoisted_1$2B, [
|
|
132715
132710
|
createElementVNode("div", _hoisted_2$1Q, [
|
|
132716
|
-
createElementVNode("div", _hoisted_3$
|
|
132717
|
-
createElementVNode("div", _hoisted_4$
|
|
132711
|
+
createElementVNode("div", _hoisted_3$1q, [
|
|
132712
|
+
createElementVNode("div", _hoisted_4$18, [
|
|
132718
132713
|
createElementVNode("div", _hoisted_5$Y, toDisplayString(unref(t)("canvasUI.canvasBuilder.navigator.navigation")), 1),
|
|
132719
132714
|
createVNode(CButton, { onClick: handleModeToggle }, {
|
|
132720
132715
|
icon: withCtx(() => [
|
|
@@ -132980,8 +132975,8 @@ const _hoisted_1$2z = {
|
|
|
132980
132975
|
class: "search-container pa-2"
|
|
132981
132976
|
};
|
|
132982
132977
|
const _hoisted_2$1P = ["onClick"];
|
|
132983
|
-
const _hoisted_3$
|
|
132984
|
-
const _hoisted_4$
|
|
132978
|
+
const _hoisted_3$1p = { class: "mb-3 flex items-center justify-center w-11 h-11 rounded-1 bg-primary6 hover:bg-primary5 transition-all" };
|
|
132979
|
+
const _hoisted_4$17 = { class: "text-xs text-center font-medium line-clamp-2" };
|
|
132985
132980
|
const _hoisted_5$X = {
|
|
132986
132981
|
key: 1,
|
|
132987
132982
|
class: "flex items-center justify-center h-full"
|
|
@@ -133064,7 +133059,7 @@ const _sfc_main$3j = /* @__PURE__ */ defineComponent({
|
|
|
133064
133059
|
class: "flex flex-col items-center justify-start cursor-pointer hover:bg-primary5/20 rounded-1 transition-all",
|
|
133065
133060
|
onClick: ($event) => emit("click", app)
|
|
133066
133061
|
}, [
|
|
133067
|
-
createElementVNode("div", _hoisted_3$
|
|
133062
|
+
createElementVNode("div", _hoisted_3$1p, [
|
|
133068
133063
|
createVNode(CIcon, {
|
|
133069
133064
|
class: "max-w-full max-h-full w-auto h-auto object-contain",
|
|
133070
133065
|
color: unref(themeVars).primary,
|
|
@@ -133073,7 +133068,7 @@ const _sfc_main$3j = /* @__PURE__ */ defineComponent({
|
|
|
133073
133068
|
size: "20"
|
|
133074
133069
|
}, null, 8, ["color", "fa-type", "icon"])
|
|
133075
133070
|
]),
|
|
133076
|
-
withDirectives((openBlock(), createElementBlock("span", _hoisted_4$
|
|
133071
|
+
withDirectives((openBlock(), createElementBlock("span", _hoisted_4$17, [
|
|
133077
133072
|
createTextVNode(toDisplayString(app.app_metadata?.display_name || app.app_metadata?.name), 1)
|
|
133078
133073
|
])), [
|
|
133079
133074
|
[unref(vTooltip), app.app_metadata?.display_name || app.app_metadata?.name]
|
|
@@ -133446,11 +133441,11 @@ const _hoisted_1$2y = {
|
|
|
133446
133441
|
class: "fixed top-2 left-2 bottom-20 z-11"
|
|
133447
133442
|
};
|
|
133448
133443
|
const _hoisted_2$1O = { class: "flex-1 flex justify-start" };
|
|
133449
|
-
const _hoisted_3$
|
|
133444
|
+
const _hoisted_3$1o = {
|
|
133450
133445
|
key: 0,
|
|
133451
133446
|
class: "flex-1 gap-2 flex justify-center"
|
|
133452
133447
|
};
|
|
133453
|
-
const _hoisted_4$
|
|
133448
|
+
const _hoisted_4$16 = { class: "flex-1 flex justify-end" };
|
|
133454
133449
|
const _sfc_main$3g = /* @__PURE__ */ defineComponent({
|
|
133455
133450
|
...{
|
|
133456
133451
|
inheritAttrs: false
|
|
@@ -133532,7 +133527,7 @@ const _sfc_main$3g = /* @__PURE__ */ defineComponent({
|
|
|
133532
133527
|
[_directive_tooltip, unref(t)("canvasUI.canvasBuilder.components.previousPage")]
|
|
133533
133528
|
]) : createCommentVNode("", true)
|
|
133534
133529
|
]),
|
|
133535
|
-
!unref(isCanvasPreviewMode) ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
133530
|
+
!unref(isCanvasPreviewMode) ? (openBlock(), createElementBlock("div", _hoisted_3$1o, [
|
|
133536
133531
|
unref(activeMode) !== unref(CanvasBuilderMode).SHARING ? withDirectives((openBlock(), createBlock(CButton, {
|
|
133537
133532
|
key: 0,
|
|
133538
133533
|
circle: "",
|
|
@@ -133656,7 +133651,7 @@ const _sfc_main$3g = /* @__PURE__ */ defineComponent({
|
|
|
133656
133651
|
placement: "top"
|
|
133657
133652
|
})
|
|
133658
133653
|
])) : createCommentVNode("", true),
|
|
133659
|
-
createElementVNode("div", _hoisted_4$
|
|
133654
|
+
createElementVNode("div", _hoisted_4$16, [
|
|
133660
133655
|
showPageButtons.value && !unref(isLastPage) ? withDirectives((openBlock(), createBlock(CButton, {
|
|
133661
133656
|
key: 0,
|
|
133662
133657
|
class: "h-14 w-11",
|
|
@@ -133862,11 +133857,11 @@ const _hoisted_2$1N = {
|
|
|
133862
133857
|
key: 0,
|
|
133863
133858
|
class: "flex flex-col gap-2"
|
|
133864
133859
|
};
|
|
133865
|
-
const _hoisted_3$
|
|
133860
|
+
const _hoisted_3$1n = {
|
|
133866
133861
|
key: 0,
|
|
133867
133862
|
class: "flex flex-col gap-2"
|
|
133868
133863
|
};
|
|
133869
|
-
const _hoisted_4$
|
|
133864
|
+
const _hoisted_4$15 = {
|
|
133870
133865
|
key: 1,
|
|
133871
133866
|
class: "flex flex-col gap-2"
|
|
133872
133867
|
};
|
|
@@ -133973,7 +133968,7 @@ const _sfc_main$3e = /* @__PURE__ */ defineComponent({
|
|
|
133973
133968
|
}, null, 8, ["file"])
|
|
133974
133969
|
])) : createCommentVNode("", true),
|
|
133975
133970
|
_ctx.backgroundImage ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
133976
|
-
!_ctx.hideBackgroundSize ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
133971
|
+
!_ctx.hideBackgroundSize ? (openBlock(), createElementBlock("div", _hoisted_3$1n, [
|
|
133977
133972
|
createElementVNode("span", {
|
|
133978
133973
|
class: "inline-block leading-5 text-base font-normal",
|
|
133979
133974
|
style: normalizeStyle({ color: unref(themeVars).text })
|
|
@@ -133986,7 +133981,7 @@ const _sfc_main$3e = /* @__PURE__ */ defineComponent({
|
|
|
133986
133981
|
"onUpdate:value": _cache[2] || (_cache[2] = (v) => updateBackgroundProperty("backgroundSize", v))
|
|
133987
133982
|
}, null, 8, ["options", "value"])
|
|
133988
133983
|
])) : createCommentVNode("", true),
|
|
133989
|
-
showBackgroundPositionX.value ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
133984
|
+
showBackgroundPositionX.value ? (openBlock(), createElementBlock("div", _hoisted_4$15, [
|
|
133990
133985
|
createElementVNode("span", {
|
|
133991
133986
|
class: "inline-block leading-5 text-base font-normal",
|
|
133992
133987
|
style: normalizeStyle({ color: unref(themeVars).text })
|
|
@@ -134156,8 +134151,8 @@ const _hoisted_2$1L = {
|
|
|
134156
134151
|
key: 0,
|
|
134157
134152
|
class: "flex flex-col gap-2"
|
|
134158
134153
|
};
|
|
134159
|
-
const _hoisted_3$
|
|
134160
|
-
const _hoisted_4$
|
|
134154
|
+
const _hoisted_3$1m = { class: "flex gap-1" };
|
|
134155
|
+
const _hoisted_4$14 = { class: "basis-1/2" };
|
|
134161
134156
|
const _hoisted_5$V = { class: "basis-1/2" };
|
|
134162
134157
|
const _hoisted_6$N = { class: "flex gap-1" };
|
|
134163
134158
|
const _hoisted_7$A = { class: "basis-1/2" };
|
|
@@ -134210,8 +134205,8 @@ const _sfc_main$3c = /* @__PURE__ */ defineComponent({
|
|
|
134210
134205
|
return (_ctx, _cache) => {
|
|
134211
134206
|
return openBlock(), createElementBlock("div", _hoisted_1$2u, [
|
|
134212
134207
|
isAdvancedMode.value ? (openBlock(), createElementBlock("div", _hoisted_2$1L, [
|
|
134213
|
-
createElementVNode("div", _hoisted_3$
|
|
134214
|
-
createElementVNode("div", _hoisted_4$
|
|
134208
|
+
createElementVNode("div", _hoisted_3$1m, [
|
|
134209
|
+
createElementVNode("div", _hoisted_4$14, [
|
|
134215
134210
|
createElementVNode("span", null, toDisplayString(unref(t)("canvasUI.canvasBuilder.canvasDrawerTheme.padding.top")), 1),
|
|
134216
134211
|
createVNode(unref(NInputNumber), {
|
|
134217
134212
|
value: values.top,
|
|
@@ -134289,7 +134284,7 @@ const _sfc_main$3c = /* @__PURE__ */ defineComponent({
|
|
|
134289
134284
|
|
|
134290
134285
|
const _hoisted_1$2t = { class: "c-swatch-selector w-full" };
|
|
134291
134286
|
const _hoisted_2$1K = { class: "flex flex-wrap gap-2 p-2" };
|
|
134292
|
-
const _hoisted_3$
|
|
134287
|
+
const _hoisted_3$1l = ["onClick"];
|
|
134293
134288
|
const _sfc_main$3b = /* @__PURE__ */ defineComponent({
|
|
134294
134289
|
__name: "CSwatchSelector",
|
|
134295
134290
|
props: {
|
|
@@ -134343,7 +134338,7 @@ const _sfc_main$3b = /* @__PURE__ */ defineComponent({
|
|
|
134343
134338
|
class: "w-6 h-6 ma-1 rounded-1",
|
|
134344
134339
|
style: normalizeStyle({ backgroundColor: color })
|
|
134345
134340
|
}, null, 4)
|
|
134346
|
-
], 10, _hoisted_3$
|
|
134341
|
+
], 10, _hoisted_3$1l);
|
|
134347
134342
|
}), 128)),
|
|
134348
134343
|
_ctx.includeTransparent ? (openBlock(), createElementBlock("div", {
|
|
134349
134344
|
key: 0,
|
|
@@ -134373,8 +134368,8 @@ const _hoisted_2$1J = {
|
|
|
134373
134368
|
key: 0,
|
|
134374
134369
|
class: "flex flex-col gap-2"
|
|
134375
134370
|
};
|
|
134376
|
-
const _hoisted_3$
|
|
134377
|
-
const _hoisted_4$
|
|
134371
|
+
const _hoisted_3$1k = { class: "flex gap-1" };
|
|
134372
|
+
const _hoisted_4$13 = { class: "basis-1/2" };
|
|
134378
134373
|
const _hoisted_5$U = { class: "basis-1/2" };
|
|
134379
134374
|
const _hoisted_6$M = { class: "flex gap-1" };
|
|
134380
134375
|
const _hoisted_7$z = { class: "basis-1/2" };
|
|
@@ -134427,8 +134422,8 @@ const _sfc_main$3a = /* @__PURE__ */ defineComponent({
|
|
|
134427
134422
|
return (_ctx, _cache) => {
|
|
134428
134423
|
return openBlock(), createElementBlock("div", _hoisted_1$2s, [
|
|
134429
134424
|
isAdvancedMode.value ? (openBlock(), createElementBlock("div", _hoisted_2$1J, [
|
|
134430
|
-
createElementVNode("div", _hoisted_3$
|
|
134431
|
-
createElementVNode("div", _hoisted_4$
|
|
134425
|
+
createElementVNode("div", _hoisted_3$1k, [
|
|
134426
|
+
createElementVNode("div", _hoisted_4$13, [
|
|
134432
134427
|
createElementVNode("span", null, toDisplayString(unref(t)("canvasUI.canvasBuilder.canvasDrawerTheme.borderRadius.topLeft")), 1),
|
|
134433
134428
|
createVNode(unref(NInputNumber), {
|
|
134434
134429
|
value: values.topLeft,
|
|
@@ -134509,11 +134504,11 @@ const _hoisted_2$1I = {
|
|
|
134509
134504
|
key: 0,
|
|
134510
134505
|
class: "flex flex-col gap-2"
|
|
134511
134506
|
};
|
|
134512
|
-
const _hoisted_3$
|
|
134507
|
+
const _hoisted_3$1j = {
|
|
134513
134508
|
key: 2,
|
|
134514
134509
|
class: "flex flex-col gap-2 mt-2"
|
|
134515
134510
|
};
|
|
134516
|
-
const _hoisted_4$
|
|
134511
|
+
const _hoisted_4$12 = {
|
|
134517
134512
|
key: 1,
|
|
134518
134513
|
class: "flex flex-col gap-2"
|
|
134519
134514
|
};
|
|
@@ -134622,7 +134617,7 @@ const _sfc_main$39 = /* @__PURE__ */ defineComponent({
|
|
|
134622
134617
|
updateInputModelOnDrop: true,
|
|
134623
134618
|
value: backgroundColor.value
|
|
134624
134619
|
}, null, 8, ["on-update:value", "swatches", "value"])),
|
|
134625
|
-
!!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$1j, [
|
|
134626
134621
|
createVNode(_sfc_main$3e, {
|
|
134627
134622
|
"background-attachment": _ctx.modelValue.backgroundAttachment,
|
|
134628
134623
|
"background-image": _ctx.modelValue.backgroundImage,
|
|
@@ -134640,7 +134635,7 @@ const _sfc_main$39 = /* @__PURE__ */ defineComponent({
|
|
|
134640
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"])
|
|
134641
134636
|
])) : createCommentVNode("", true)
|
|
134642
134637
|
])) : createCommentVNode("", true),
|
|
134643
|
-
showSpacingComponent.value ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
134638
|
+
showSpacingComponent.value ? (openBlock(), createElementBlock("div", _hoisted_4$12, [
|
|
134644
134639
|
createElementVNode("span", _hoisted_5$T, toDisplayString(unref(t)("canvasUI.canvasBuilder.canvasDrawerTheme.componentSpacing.title")) + ": " + toDisplayString(_ctx.modelValue.spacing) + "px ", 1),
|
|
134645
134640
|
createVNode(_sfc_main$61, {
|
|
134646
134641
|
"format-tooltip": (value) => `${value}px`,
|
|
@@ -137494,11 +137489,11 @@ const _sfc_main$2Z = /* @__PURE__ */ defineComponent({
|
|
|
137494
137489
|
|
|
137495
137490
|
const _hoisted_1$2i = ["data-slide-id"];
|
|
137496
137491
|
const _hoisted_2$1F = ["src", "title"];
|
|
137497
|
-
const _hoisted_3$
|
|
137492
|
+
const _hoisted_3$1i = {
|
|
137498
137493
|
key: 3,
|
|
137499
137494
|
class: "flex items-center justify-center h-full"
|
|
137500
137495
|
};
|
|
137501
|
-
const _hoisted_4$
|
|
137496
|
+
const _hoisted_4$11 = { key: 4 };
|
|
137502
137497
|
const _sfc_main$2Y = /* @__PURE__ */ defineComponent({
|
|
137503
137498
|
__name: "SlideContent",
|
|
137504
137499
|
props: {
|
|
@@ -137579,12 +137574,12 @@ const _sfc_main$2Y = /* @__PURE__ */ defineComponent({
|
|
|
137579
137574
|
class: "w-full h-full max-h-full max-w-full border-0",
|
|
137580
137575
|
src: _ctx.item.file.content_url ?? void 0,
|
|
137581
137576
|
title: unref(t)("canvasUI.collectionPlayer.webSlide")
|
|
137582
|
-
}, 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$1i, [
|
|
137583
137578
|
createVNode(_sfc_main$6o, {
|
|
137584
137579
|
color: unref(themeVars).primary,
|
|
137585
137580
|
size: "small"
|
|
137586
137581
|
}, null, 8, ["color"])
|
|
137587
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_4$
|
|
137582
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_4$11, toDisplayString(unref(t)("canvasUI.collectionPlayer.unsupportedType")), 1))
|
|
137588
137583
|
], 42, _hoisted_1$2i);
|
|
137589
137584
|
};
|
|
137590
137585
|
}
|
|
@@ -137595,7 +137590,7 @@ const _hoisted_1$2h = {
|
|
|
137595
137590
|
class: "flex flex-col gap-2 text-center items-center justify-center pa-4"
|
|
137596
137591
|
};
|
|
137597
137592
|
const _hoisted_2$1E = { class: "font-size-5 color-primary3" };
|
|
137598
|
-
const _hoisted_3$
|
|
137593
|
+
const _hoisted_3$1h = ["activeIndex", "direction"];
|
|
137599
137594
|
const _sfc_main$2X = /* @__PURE__ */ defineComponent({
|
|
137600
137595
|
__name: "MainContent",
|
|
137601
137596
|
setup(__props) {
|
|
@@ -137701,7 +137696,7 @@ const _sfc_main$2X = /* @__PURE__ */ defineComponent({
|
|
|
137701
137696
|
createVNode(_sfc_main$2Y, { item }, null, 8, ["item"])
|
|
137702
137697
|
]);
|
|
137703
137698
|
}), 128))
|
|
137704
|
-
], 44, _hoisted_3$
|
|
137699
|
+
], 44, _hoisted_3$1h)), [
|
|
137705
137700
|
[unref(vElementVisibility), unref(setSwiperVisibility)]
|
|
137706
137701
|
])
|
|
137707
137702
|
], 4);
|
|
@@ -137779,7 +137774,7 @@ const useTracking = ({
|
|
|
137779
137774
|
|
|
137780
137775
|
const _hoisted_1$2g = ["onClick"];
|
|
137781
137776
|
const _hoisted_2$1D = { class: "flex flex-col gap-6" };
|
|
137782
|
-
const _hoisted_3$
|
|
137777
|
+
const _hoisted_3$1g = ["onClick"];
|
|
137783
137778
|
const _sfc_main$2W = /* @__PURE__ */ defineComponent({
|
|
137784
137779
|
__name: "TableOfContents",
|
|
137785
137780
|
setup(__props) {
|
|
@@ -137844,7 +137839,7 @@ const _sfc_main$2W = /* @__PURE__ */ defineComponent({
|
|
|
137844
137839
|
createElementVNode("div", {
|
|
137845
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"]])
|
|
137846
137841
|
}, toDisplayString(index + 1), 3)
|
|
137847
|
-
], 8, _hoisted_3$
|
|
137842
|
+
], 8, _hoisted_3$1g);
|
|
137848
137843
|
}), 128))
|
|
137849
137844
|
])
|
|
137850
137845
|
]);
|
|
@@ -137860,11 +137855,11 @@ const _hoisted_1$2f = {
|
|
|
137860
137855
|
const _hoisted_2$1C = {
|
|
137861
137856
|
class: "flex justify-start items-center basis-0 flex-grow-1 gap-2"
|
|
137862
137857
|
};
|
|
137863
|
-
const _hoisted_3$
|
|
137858
|
+
const _hoisted_3$1f = {
|
|
137864
137859
|
key: 0,
|
|
137865
137860
|
class: "flex justify-start self-stretch items-stretch overflow-auto"
|
|
137866
137861
|
};
|
|
137867
|
-
const _hoisted_4$
|
|
137862
|
+
const _hoisted_4$10 = {
|
|
137868
137863
|
class: "flex justify-end items-center basis-0 flex-grow-1 gap-2"
|
|
137869
137864
|
};
|
|
137870
137865
|
const FONT_SIZE_CLASS = 'font-size-4';
|
|
@@ -138067,7 +138062,7 @@ const _sfc_main$2V = /*@__PURE__*/defineComponent({
|
|
|
138067
138062
|
_: 1
|
|
138068
138063
|
}, 8, ["disabled"])), [[_directive_tooltip, unref(t)('canvasUI.collectionPlayer.annotations.menu')]])]),
|
|
138069
138064
|
_: 1
|
|
138070
|
-
}, 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$1f, [createVNode(unref(NButtonGroup), {
|
|
138071
138066
|
class: "bg-primary6 px-2 rounded-8",
|
|
138072
138067
|
horizontal: "",
|
|
138073
138068
|
size: "small"
|
|
@@ -138085,7 +138080,7 @@ const _sfc_main$2V = /*@__PURE__*/defineComponent({
|
|
|
138085
138080
|
}, 1032, ["class", "onClick"]);
|
|
138086
138081
|
}), 128))]),
|
|
138087
138082
|
_: 1
|
|
138088
|
-
})])) : createCommentVNode("", true), createElementVNode("div", _hoisted_4$
|
|
138083
|
+
})])) : createCommentVNode("", true), createElementVNode("div", _hoisted_4$10, [unref(fitToWidth) ? withDirectives((openBlock(), createBlock(CButton, {
|
|
138089
138084
|
key: 0,
|
|
138090
138085
|
class: "w-11 h-11",
|
|
138091
138086
|
disabled: !unref(activeSlide),
|
|
@@ -138172,7 +138167,7 @@ const _sfc_main$2V = /*@__PURE__*/defineComponent({
|
|
|
138172
138167
|
|
|
138173
138168
|
const _hoisted_1$2e = { class: "pa-4 bg-white border-primary5 flex items-center gap-2" };
|
|
138174
138169
|
const _hoisted_2$1B = { class: "flex justify-start items-center basis-0 flex-grow-1" };
|
|
138175
|
-
const _hoisted_3$
|
|
138170
|
+
const _hoisted_3$1e = { class: "block overflow-hidden font-normal text-[20px] leading-8 tracking-wide text-ellipsis whitespace-nowrap" };
|
|
138176
138171
|
const _sfc_main$2U = /* @__PURE__ */ defineComponent({
|
|
138177
138172
|
__name: "AppHeader",
|
|
138178
138173
|
setup(__props) {
|
|
@@ -138199,7 +138194,7 @@ const _sfc_main$2U = /* @__PURE__ */ defineComponent({
|
|
|
138199
138194
|
[_directive_tooltip, unref(t)("canvasUI.common.close")]
|
|
138200
138195
|
])
|
|
138201
138196
|
]),
|
|
138202
|
-
withDirectives((openBlock(), createElementBlock("div", _hoisted_3$
|
|
138197
|
+
withDirectives((openBlock(), createElementBlock("div", _hoisted_3$1e, [
|
|
138203
138198
|
createTextVNode(toDisplayString(unref(data).name), 1)
|
|
138204
138199
|
])), [
|
|
138205
138200
|
[_directive_tooltip, unref(data).name]
|
|
@@ -138916,8 +138911,8 @@ const _hoisted_2$1A = {
|
|
|
138916
138911
|
key: 0,
|
|
138917
138912
|
class: "ma-4"
|
|
138918
138913
|
};
|
|
138919
|
-
const _hoisted_3$
|
|
138920
|
-
const _hoisted_4
|
|
138914
|
+
const _hoisted_3$1d = { class: "block overflow-hidden font-normal text-[20px] leading-8 tracking-wide text-ellipsis whitespace-nowrap text-left mb-4" };
|
|
138915
|
+
const _hoisted_4$$ = ["src"];
|
|
138921
138916
|
const _hoisted_5$S = ["src"];
|
|
138922
138917
|
const _hoisted_6$K = {
|
|
138923
138918
|
key: 1,
|
|
@@ -139332,7 +139327,7 @@ const _sfc_main$2R = /* @__PURE__ */ defineComponent({
|
|
|
139332
139327
|
key: group.id,
|
|
139333
139328
|
class: "break-after-page text-center"
|
|
139334
139329
|
}, [
|
|
139335
|
-
createElementVNode("div", _hoisted_3$
|
|
139330
|
+
createElementVNode("div", _hoisted_3$1d, toDisplayString(group.name), 1),
|
|
139336
139331
|
(openBlock(true), createElementBlock(Fragment, null, renderList(group.slides, (item) => {
|
|
139337
139332
|
return openBlock(), createElementBlock(Fragment, {
|
|
139338
139333
|
key: item.id
|
|
@@ -139341,7 +139336,7 @@ const _sfc_main$2R = /* @__PURE__ */ defineComponent({
|
|
|
139341
139336
|
key: 0,
|
|
139342
139337
|
class: "mb-4",
|
|
139343
139338
|
src: item.slide.url
|
|
139344
|
-
}, null, 8, _hoisted_4
|
|
139339
|
+
}, null, 8, _hoisted_4$$)) : item.file.content_type === unref(FileContentTypeEnum).IMAGE && item.file.content_url ? (openBlock(), createElementBlock("img", {
|
|
139345
139340
|
key: 1,
|
|
139346
139341
|
class: "mb-4",
|
|
139347
139342
|
src: item.file.content_url
|
|
@@ -139431,11 +139426,11 @@ const _hoisted_1$2b = {
|
|
|
139431
139426
|
class: "p-2 content-grid-file-item flex flex-col items-center"
|
|
139432
139427
|
};
|
|
139433
139428
|
const _hoisted_2$1z = { class: "relative flex" };
|
|
139434
|
-
const _hoisted_3$
|
|
139429
|
+
const _hoisted_3$1c = {
|
|
139435
139430
|
key: 1,
|
|
139436
139431
|
class: "content-grid-file-item__img rounded-2 overflow-hidden w-[240px] h-[135px]"
|
|
139437
139432
|
};
|
|
139438
|
-
const _hoisted_4
|
|
139433
|
+
const _hoisted_4$_ = ["alt", "src"];
|
|
139439
139434
|
const _hoisted_5$R = {
|
|
139440
139435
|
key: 1,
|
|
139441
139436
|
class: "bg-primary6 w-full h-full flex items-center justify-center"
|
|
@@ -139582,7 +139577,7 @@ const _sfc_main$2O = /* @__PURE__ */ defineComponent({
|
|
|
139582
139577
|
onTouchend: handleSwipe,
|
|
139583
139578
|
onTouchmove: handleTouchMove,
|
|
139584
139579
|
onTouchstart: handleTouchStart
|
|
139585
|
-
}, 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$1c, [
|
|
139586
139581
|
defaultThumbnailUrl.value ? (openBlock(), createElementBlock("img", {
|
|
139587
139582
|
key: 0,
|
|
139588
139583
|
alt: item.value.file?.name || "File thumbnail",
|
|
@@ -139590,7 +139585,7 @@ const _sfc_main$2O = /* @__PURE__ */ defineComponent({
|
|
|
139590
139585
|
src: defaultThumbnailUrl.value,
|
|
139591
139586
|
onError: _cache[0] || (_cache[0] = //@ts-ignore
|
|
139592
139587
|
(...args) => unref(onThumbnailError$1) && unref(onThumbnailError$1)(...args))
|
|
139593
|
-
}, null, 40, _hoisted_4
|
|
139588
|
+
}, null, 40, _hoisted_4$_)) : (openBlock(), createElementBlock("div", _hoisted_5$R, [
|
|
139594
139589
|
createVNode(CIcon, {
|
|
139595
139590
|
color: unref(themeVars).primary3,
|
|
139596
139591
|
"fa-type": "fas",
|
|
@@ -139696,7 +139691,7 @@ const ContentGridFileItem = /* @__PURE__ */ _export_sfc(_sfc_main$2O, [["__scope
|
|
|
139696
139691
|
|
|
139697
139692
|
const _hoisted_1$2a = { class: "flex items-center flex-col justify-center" };
|
|
139698
139693
|
const _hoisted_2$1y = { class: "text-center font-400 text-truncate font-size-4 line-height-6 color-text font-normal" };
|
|
139699
|
-
const _hoisted_3$
|
|
139694
|
+
const _hoisted_3$1b = { class: "text-center text-truncate font-size-3 line-height-5 color-text font-normal" };
|
|
139700
139695
|
const _sfc_main$2N = /* @__PURE__ */ defineComponent({
|
|
139701
139696
|
__name: "ContentGridDeletedFileItem",
|
|
139702
139697
|
emits: ["click"],
|
|
@@ -139720,7 +139715,7 @@ const _sfc_main$2N = /* @__PURE__ */ defineComponent({
|
|
|
139720
139715
|
}, null, 8, ["color"]),
|
|
139721
139716
|
createElementVNode("div", _hoisted_1$2a, [
|
|
139722
139717
|
createElementVNode("div", _hoisted_2$1y, toDisplayString(unref(t)("canvasUI.canvasBuilder.deletedFile.deleteMessage")), 1),
|
|
139723
|
-
createElementVNode("div", _hoisted_3$
|
|
139718
|
+
createElementVNode("div", _hoisted_3$1b, toDisplayString(unref(t)("canvasUI.canvasBuilder.deletedFile.clickMessage")), 1)
|
|
139724
139719
|
])
|
|
139725
139720
|
]);
|
|
139726
139721
|
};
|
|
@@ -139734,8 +139729,8 @@ const _hoisted_1$29 = {
|
|
|
139734
139729
|
class: "p-2 content-grid-raw__item__slide flex flex-col items-center"
|
|
139735
139730
|
};
|
|
139736
139731
|
const _hoisted_2$1x = { class: "relative flex" };
|
|
139737
|
-
const _hoisted_3$
|
|
139738
|
-
const _hoisted_4$
|
|
139732
|
+
const _hoisted_3$1a = { class: "font-700 text-truncate w-full mt-2" };
|
|
139733
|
+
const _hoisted_4$Z = { class: "content-grid-raw__item__hint flex items-center justify-between text-center text-truncate w-full min-h-8" };
|
|
139739
139734
|
const _hoisted_5$Q = {
|
|
139740
139735
|
key: 0,
|
|
139741
139736
|
class: "pt-1 flex justify-end w-full"
|
|
@@ -139832,8 +139827,8 @@ const _sfc_main$2M = /* @__PURE__ */ defineComponent({
|
|
|
139832
139827
|
width: "240"
|
|
139833
139828
|
}, null, 8, ["lazy", "src"])
|
|
139834
139829
|
]),
|
|
139835
|
-
createElementVNode("div", _hoisted_3$
|
|
139836
|
-
createElementVNode("div", _hoisted_4$
|
|
139830
|
+
createElementVNode("div", _hoisted_3$1a, toDisplayString(_ctx.item.file.name), 1),
|
|
139831
|
+
createElementVNode("div", _hoisted_4$Z, [
|
|
139837
139832
|
createTextVNode(toDisplayString(unref(t)("canvasUI.canvasBuilder.contentGrid.pageNumberDescription", { pageNumber: _ctx.item.slide.index + 1 })) + " ", 1),
|
|
139838
139833
|
!isShareable.value ? withDirectives((openBlock(), createBlock(_sfc_main$4U, {
|
|
139839
139834
|
key: 0,
|
|
@@ -139863,7 +139858,7 @@ const ContentGridItem = /* @__PURE__ */ _export_sfc(_sfc_main$2M, [["__scopeId",
|
|
|
139863
139858
|
|
|
139864
139859
|
const _hoisted_1$28 = ["onClick"];
|
|
139865
139860
|
const _hoisted_2$1w = ["onClick"];
|
|
139866
|
-
const _hoisted_3$
|
|
139861
|
+
const _hoisted_3$19 = {
|
|
139867
139862
|
key: 1,
|
|
139868
139863
|
class: "flex flex-col items-center pb-2"
|
|
139869
139864
|
};
|
|
@@ -139958,7 +139953,7 @@ const _sfc_main$2L = /* @__PURE__ */ defineComponent({
|
|
|
139958
139953
|
}), 128))
|
|
139959
139954
|
]),
|
|
139960
139955
|
_: 1
|
|
139961
|
-
}, 8, ["style"])) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
139956
|
+
}, 8, ["style"])) : (openBlock(), createElementBlock("div", _hoisted_3$19, [
|
|
139962
139957
|
createVNode(ContentGridItem, {
|
|
139963
139958
|
"all-items": _ctx.items,
|
|
139964
139959
|
index: 0,
|
|
@@ -139974,11 +139969,11 @@ const ContentGridCarousel = /* @__PURE__ */ _export_sfc(_sfc_main$2L, [["__scope
|
|
|
139974
139969
|
|
|
139975
139970
|
const _hoisted_1$27 = { class: "flex items-center" };
|
|
139976
139971
|
const _hoisted_2$1v = { class: "my-3 border border-solid border-primary6 rounded" };
|
|
139977
|
-
const _hoisted_3$
|
|
139972
|
+
const _hoisted_3$18 = {
|
|
139978
139973
|
key: 2,
|
|
139979
139974
|
class: "w-[152px] h-[100px] rounded-2 overflow-hidden"
|
|
139980
139975
|
};
|
|
139981
|
-
const _hoisted_4$
|
|
139976
|
+
const _hoisted_4$Y = ["alt", "src"];
|
|
139982
139977
|
const _hoisted_5$P = {
|
|
139983
139978
|
key: 1,
|
|
139984
139979
|
class: "bg-primary6 w-full h-full flex items-center justify-center"
|
|
@@ -140160,13 +140155,13 @@ const _sfc_main$2K = /* @__PURE__ */ defineComponent({
|
|
|
140160
140155
|
src: thumbnailUrl.value,
|
|
140161
140156
|
width: "152",
|
|
140162
140157
|
onError: unref(handleImageError)
|
|
140163
|
-
}, 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$18, [
|
|
140164
140159
|
defaultThumbnailUrl.value ? (openBlock(), createElementBlock("img", {
|
|
140165
140160
|
key: 0,
|
|
140166
140161
|
alt: enrichedFile.value.name || "File thumbnail",
|
|
140167
140162
|
class: "w-full h-full object-cover",
|
|
140168
140163
|
src: defaultThumbnailUrl.value
|
|
140169
|
-
}, null, 8, _hoisted_4$
|
|
140164
|
+
}, null, 8, _hoisted_4$Y)) : (openBlock(), createElementBlock("div", _hoisted_5$P, [
|
|
140170
140165
|
createVNode(CIcon, {
|
|
140171
140166
|
color: unref(themeVars).primary3,
|
|
140172
140167
|
icon: defaultIcon.value,
|
|
@@ -140935,8 +140930,8 @@ const RawDataCharts = /* @__PURE__ */ _export_sfc(_sfc_main$2F, [["__scopeId", "
|
|
|
140935
140930
|
|
|
140936
140931
|
const _hoisted_1$23 = { class: "flex gap-4 h-[calc(80vh-120px)] w-full" };
|
|
140937
140932
|
const _hoisted_2$1t = { class: "cb-data-charts-settings__card overflow-auto flex-1" };
|
|
140938
|
-
const _hoisted_3$
|
|
140939
|
-
const _hoisted_4$
|
|
140933
|
+
const _hoisted_3$17 = { class: "flex flex-col h-full" };
|
|
140934
|
+
const _hoisted_4$X = { class: "flex-grow overflow-y-auto overflow-x-hidden" };
|
|
140940
140935
|
const _hoisted_5$O = { class: "mb-4" };
|
|
140941
140936
|
const _hoisted_6$H = { class: "block mb-2" };
|
|
140942
140937
|
const _hoisted_7$v = { class: "mb-4" };
|
|
@@ -141435,8 +141430,8 @@ const _sfc_main$2E = /* @__PURE__ */ defineComponent({
|
|
|
141435
141430
|
default: withCtx(() => [
|
|
141436
141431
|
createElementVNode("div", _hoisted_1$23, [
|
|
141437
141432
|
createElementVNode("div", _hoisted_2$1t, [
|
|
141438
|
-
createElementVNode("div", _hoisted_3$
|
|
141439
|
-
createElementVNode("div", _hoisted_4$
|
|
141433
|
+
createElementVNode("div", _hoisted_3$17, [
|
|
141434
|
+
createElementVNode("div", _hoisted_4$X, [
|
|
141440
141435
|
createElementVNode("div", _hoisted_5$O, [
|
|
141441
141436
|
createElementVNode("label", _hoisted_6$H, toDisplayString(unref(t)("canvasUI.canvasBuilder.dataCharts.chartType")), 1),
|
|
141442
141437
|
createVNode(unref(NSelect), {
|
|
@@ -142222,7 +142217,7 @@ function useDataTablePrint() {
|
|
|
142222
142217
|
|
|
142223
142218
|
const _hoisted_1$21 = ["onClick"];
|
|
142224
142219
|
const _hoisted_2$1s = { key: 0 };
|
|
142225
|
-
const _hoisted_3$
|
|
142220
|
+
const _hoisted_3$16 = ["colspan"];
|
|
142226
142221
|
const _sfc_main$2B = /* @__PURE__ */ defineComponent({
|
|
142227
142222
|
__name: "DynamicDataTable.raw.header",
|
|
142228
142223
|
props: {
|
|
@@ -142312,7 +142307,7 @@ const _sfc_main$2B = /* @__PURE__ */ defineComponent({
|
|
|
142312
142307
|
backgroundColor: _ctx.groupHeaderBackgroundColor,
|
|
142313
142308
|
color: _ctx.groupHeaderForegroundColor
|
|
142314
142309
|
})
|
|
142315
|
-
}, 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$16)
|
|
142316
142311
|
])) : createCommentVNode("", true)
|
|
142317
142312
|
], 2);
|
|
142318
142313
|
};
|
|
@@ -142423,11 +142418,11 @@ function formatCellValue(value, property) {
|
|
|
142423
142418
|
|
|
142424
142419
|
const _hoisted_1$20 = { key: 1 };
|
|
142425
142420
|
const _hoisted_2$1r = ["data-property-cell"];
|
|
142426
|
-
const _hoisted_3$
|
|
142421
|
+
const _hoisted_3$15 = {
|
|
142427
142422
|
key: 0,
|
|
142428
142423
|
class: "text-center p-4 text-primary3"
|
|
142429
142424
|
};
|
|
142430
|
-
const _hoisted_4$
|
|
142425
|
+
const _hoisted_4$W = {
|
|
142431
142426
|
key: 1,
|
|
142432
142427
|
class: "flex items-center justify-end px-4 pt-4 gap-2"
|
|
142433
142428
|
};
|
|
@@ -142607,8 +142602,8 @@ const _sfc_main$2A = /* @__PURE__ */ defineComponent({
|
|
|
142607
142602
|
])) : createCommentVNode("", true)
|
|
142608
142603
|
], 2)
|
|
142609
142604
|
], 6),
|
|
142610
|
-
!_ctx.tableData.length ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
142611
|
-
_ctx.tableData.length && !_ctx.hidePagination && !_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
142605
|
+
!_ctx.tableData.length ? (openBlock(), createElementBlock("div", _hoisted_3$15)) : createCommentVNode("", true),
|
|
142606
|
+
_ctx.tableData.length && !_ctx.hidePagination && !_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_4$W, [
|
|
142612
142607
|
!_ctx.hideTotalResults ? (openBlock(), createElementBlock("div", _hoisted_5$N, toDisplayString(unref(t)("canvasUI.components.CTable.countResults", { count: _ctx.tableData.length })), 1)) : createCommentVNode("", true),
|
|
142613
142608
|
!_ctx.hidePageSelector && pageCount.value > 1 ? (openBlock(), createElementBlock("div", _hoisted_6$G, [
|
|
142614
142609
|
createVNode(CButton, {
|
|
@@ -144558,11 +144553,11 @@ const _hoisted_2$1o = {
|
|
|
144558
144553
|
key: 0,
|
|
144559
144554
|
class: "relative"
|
|
144560
144555
|
};
|
|
144561
|
-
const _hoisted_3$
|
|
144556
|
+
const _hoisted_3$14 = {
|
|
144562
144557
|
key: 0,
|
|
144563
144558
|
class: "absolute top-2 right-2 z-10"
|
|
144564
144559
|
};
|
|
144565
|
-
const _hoisted_4$
|
|
144560
|
+
const _hoisted_4$V = {
|
|
144566
144561
|
key: 0,
|
|
144567
144562
|
class: "absolute top-2 right-2 z-10"
|
|
144568
144563
|
};
|
|
@@ -144739,7 +144734,7 @@ const _sfc_main$2r = /* @__PURE__ */ defineComponent({
|
|
|
144739
144734
|
default: withCtx(() => [
|
|
144740
144735
|
createElementVNode("div", _hoisted_1$1W, [
|
|
144741
144736
|
!unref(pitcherSettings).enable_monaco_html_editor && effectiveEditState.value === unref(HtmlLayoutTypes).EDIT && unref(componentPermissions).canEdit ? (openBlock(), createElementBlock("div", _hoisted_2$1o, [
|
|
144742
|
-
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$14, [
|
|
144743
144738
|
createVNode(_sfc_main$2s, {
|
|
144744
144739
|
"model-value": _ctx.data?.html ?? "",
|
|
144745
144740
|
"theme-overrides": aiThemeOverrides.value,
|
|
@@ -144774,7 +144769,7 @@ const _sfc_main$2r = /* @__PURE__ */ defineComponent({
|
|
|
144774
144769
|
class: "cb-html__monaco-container relative overflow-hidden rounded-md",
|
|
144775
144770
|
style: normalizeStyle({ height: `${monacoHeight.value}px` })
|
|
144776
144771
|
}, [
|
|
144777
|
-
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$V, [
|
|
144778
144773
|
createVNode(_sfc_main$2s, {
|
|
144779
144774
|
"model-value": _ctx.data?.html ?? "",
|
|
144780
144775
|
"theme-overrides": aiThemeOverrides.value,
|
|
@@ -146521,8 +146516,8 @@ const Text = /* @__PURE__ */ _export_sfc(_sfc_main$2h, [["__scopeId", "data-v-b2
|
|
|
146521
146516
|
|
|
146522
146517
|
const _hoisted_1$1Q = { class: "absolute top-2 right-2 flex items-center gap-1 z-10" };
|
|
146523
146518
|
const _hoisted_2$1m = { class: "text-xs" };
|
|
146524
|
-
const _hoisted_3$
|
|
146525
|
-
const _hoisted_4$
|
|
146519
|
+
const _hoisted_3$13 = { class: "text-xs" };
|
|
146520
|
+
const _hoisted_4$U = { class: "text-lg font-bold mb-3" };
|
|
146526
146521
|
const _hoisted_5$L = { class: "flex flex-col h-[80vh]" };
|
|
146527
146522
|
const _hoisted_6$E = { class: "flex-1 overflow-hidden" };
|
|
146528
146523
|
const _hoisted_7$s = ["onClick"];
|
|
@@ -146845,7 +146840,7 @@ const _sfc_main$2g = /* @__PURE__ */ defineComponent({
|
|
|
146845
146840
|
icon: "unlink",
|
|
146846
146841
|
size: "14"
|
|
146847
146842
|
}),
|
|
146848
|
-
createElementVNode("span", _hoisted_3$
|
|
146843
|
+
createElementVNode("span", _hoisted_3$13, toDisplayString(unref(t)("canvasUI.canvasBuilder.linkableComponent.unlink")), 1)
|
|
146849
146844
|
])) : createCommentVNode("", true)
|
|
146850
146845
|
]),
|
|
146851
146846
|
showLinkModal.value ? (openBlock(), createBlock(_sfc_main$6y, {
|
|
@@ -146858,7 +146853,7 @@ const _sfc_main$2g = /* @__PURE__ */ defineComponent({
|
|
|
146858
146853
|
default: withCtx(() => [
|
|
146859
146854
|
createVNode(_sfc_main$6T, { class: "pa-4" }, {
|
|
146860
146855
|
default: withCtx(() => [
|
|
146861
|
-
createElementVNode("div", _hoisted_4$
|
|
146856
|
+
createElementVNode("div", _hoisted_4$U, toDisplayString(unref(t)("canvasUI.canvasBuilder.linkableComponent.linkTo")), 1),
|
|
146862
146857
|
createElementVNode("div", _hoisted_5$L, [
|
|
146863
146858
|
createVNode(CSearch, {
|
|
146864
146859
|
modelValue: searchTerm.value,
|
|
@@ -147887,8 +147882,8 @@ const ScribbleOriginal = /* @__PURE__ */ _export_sfc(_sfc_main$2e, [["__scopeId"
|
|
|
147887
147882
|
|
|
147888
147883
|
const _hoisted_1$1N = ["href"];
|
|
147889
147884
|
const _hoisted_2$1l = { key: 2 };
|
|
147890
|
-
const _hoisted_3$
|
|
147891
|
-
const _hoisted_4$
|
|
147885
|
+
const _hoisted_3$12 = ["id"];
|
|
147886
|
+
const _hoisted_4$T = { class: "w-full h-full flex items-center justify-center" };
|
|
147892
147887
|
const _hoisted_5$K = ["href"];
|
|
147893
147888
|
const DRAG_THROTTLE = 2;
|
|
147894
147889
|
const KEYBOARD_POSITION_ADJUSTMENT_STEP = 1;
|
|
@@ -148852,7 +148847,7 @@ const _sfc_main$2d = /* @__PURE__ */ defineComponent({
|
|
|
148852
148847
|
]),
|
|
148853
148848
|
_: 2
|
|
148854
148849
|
}, 1032, ["id", "used-in-section-id"])
|
|
148855
|
-
], 12, _hoisted_3$
|
|
148850
|
+
], 12, _hoisted_3$12)), [
|
|
148856
148851
|
[unref(vElementVisibility), (isVisible) => onElementVisibility(isVisible, component)]
|
|
148857
148852
|
]);
|
|
148858
148853
|
}), 128))
|
|
@@ -148875,7 +148870,7 @@ const _sfc_main$2d = /* @__PURE__ */ defineComponent({
|
|
|
148875
148870
|
"overflow-y-hidden": !unref(isEditMode)
|
|
148876
148871
|
})
|
|
148877
148872
|
}, [
|
|
148878
|
-
createElementVNode("div", _hoisted_4$
|
|
148873
|
+
createElementVNode("div", _hoisted_4$T, [
|
|
148879
148874
|
createElementVNode("div", {
|
|
148880
148875
|
ref_key: "containerRef",
|
|
148881
148876
|
ref: containerRef,
|
|
@@ -148978,7 +148973,7 @@ const _hoisted_1$1M = {
|
|
|
148978
148973
|
class: "flex justify-center p-8"
|
|
148979
148974
|
};
|
|
148980
148975
|
const _hoisted_2$1k = ["innerHTML"];
|
|
148981
|
-
const _hoisted_3$
|
|
148976
|
+
const _hoisted_3$11 = ["innerHTML"];
|
|
148982
148977
|
const _sfc_main$2b = /* @__PURE__ */ defineComponent({
|
|
148983
148978
|
__name: "Timeline.raw",
|
|
148984
148979
|
props: {
|
|
@@ -149031,7 +149026,7 @@ const _sfc_main$2b = /* @__PURE__ */ defineComponent({
|
|
|
149031
149026
|
class: "text-base",
|
|
149032
149027
|
style: normalizeStyle(event.description_style),
|
|
149033
149028
|
innerHTML: event.description
|
|
149034
|
-
}, null, 12, _hoisted_3$
|
|
149029
|
+
}, null, 12, _hoisted_3$11)
|
|
149035
149030
|
], 4),
|
|
149036
149031
|
index < _ctx.data.events.length - 1 ? (openBlock(), createElementBlock("div", {
|
|
149037
149032
|
key: 0,
|
|
@@ -149134,11 +149129,11 @@ const _hoisted_2$1j = {
|
|
|
149134
149129
|
key: 1,
|
|
149135
149130
|
class: "flex flex-col justify-center items-center p-4"
|
|
149136
149131
|
};
|
|
149137
|
-
const _hoisted_3$
|
|
149132
|
+
const _hoisted_3$10 = {
|
|
149138
149133
|
key: 2,
|
|
149139
149134
|
class: "flex justify-center items-center p-4 color-error"
|
|
149140
149135
|
};
|
|
149141
|
-
const _hoisted_4$
|
|
149136
|
+
const _hoisted_4$S = ["data-block-component-id"];
|
|
149142
149137
|
const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
149143
149138
|
__name: "Block",
|
|
149144
149139
|
props: {
|
|
@@ -149288,7 +149283,7 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
|
149288
149283
|
}, null, 8, ["class"]);
|
|
149289
149284
|
}), 64))
|
|
149290
149285
|
])) : createCommentVNode("", true),
|
|
149291
|
-
!isLoading.value && error.value && !unref(isEditMode) ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
149286
|
+
!isLoading.value && error.value && !unref(isEditMode) ? (openBlock(), createElementBlock("div", _hoisted_3$10, toDisplayString(error.value), 1)) : createCommentVNode("", true),
|
|
149292
149287
|
!isLoading.value && !error.value && blockContent.value?.length ? (openBlock(true), createElementBlock(Fragment, { key: 3 }, renderList(blockContent.value, (c) => {
|
|
149293
149288
|
return withDirectives((openBlock(), createElementBlock("div", {
|
|
149294
149289
|
key: c.id,
|
|
@@ -149299,7 +149294,7 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
|
149299
149294
|
})
|
|
149300
149295
|
}, [
|
|
149301
149296
|
(openBlock(), createBlock(resolveDynamicComponent(componentMap[c.type]), mergeProps({ ref_for: true }, getComponentBindings(c)), null, 16))
|
|
149302
|
-
], 12, _hoisted_4$
|
|
149297
|
+
], 12, _hoisted_4$S)), [
|
|
149303
149298
|
[unref(vElementVisibility), (isVisible) => onElementVisibility(isVisible, c)]
|
|
149304
149299
|
]);
|
|
149305
149300
|
}), 128)) : createCommentVNode("", true),
|
|
@@ -149565,8 +149560,8 @@ const _hoisted_2$1h = {
|
|
|
149565
149560
|
key: 1,
|
|
149566
149561
|
class: "cb-custom-data-table-raw__scroll-container"
|
|
149567
149562
|
};
|
|
149568
|
-
const _hoisted_3
|
|
149569
|
-
const _hoisted_4$
|
|
149563
|
+
const _hoisted_3$$ = { class: "cb-custom-data-table-raw__table" };
|
|
149564
|
+
const _hoisted_4$R = ["onClick"];
|
|
149570
149565
|
const _hoisted_5$J = ["colspan"];
|
|
149571
149566
|
const _hoisted_6$D = { class: "flex items-center gap-2" };
|
|
149572
149567
|
const _hoisted_7$r = { class: "font-medium" };
|
|
@@ -149758,7 +149753,7 @@ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
|
|
|
149758
149753
|
])
|
|
149759
149754
|
])) : createCommentVNode("", true),
|
|
149760
149755
|
flattenedRows.value.length ? (openBlock(), createElementBlock("div", _hoisted_2$1h, [
|
|
149761
|
-
createElementVNode("table", _hoisted_3
|
|
149756
|
+
createElementVNode("table", _hoisted_3$$, [
|
|
149762
149757
|
createVNode(_sfc_main$27, {
|
|
149763
149758
|
columns: columns.value,
|
|
149764
149759
|
"current-sorting": currentSorting.value,
|
|
@@ -149800,7 +149795,7 @@ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
|
|
|
149800
149795
|
])
|
|
149801
149796
|
])
|
|
149802
149797
|
], 12, _hoisted_5$J)
|
|
149803
|
-
], 12, _hoisted_4$
|
|
149798
|
+
], 12, _hoisted_4$R)) : row.type === "data" ? (openBlock(), createElementBlock("tr", {
|
|
149804
149799
|
key: 1,
|
|
149805
149800
|
class: "cb-custom-data-table-row hover:opacity-95",
|
|
149806
149801
|
style: normalizeStyle({ backgroundColor: getRowBackgroundColor(dataRowGlobalIndexMap.value.get(row.id) ?? 0) })
|
|
@@ -149992,7 +149987,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
149992
149987
|
|
|
149993
149988
|
const _hoisted_1$1I = { class: "flex gap-2 items-center border-primary5" };
|
|
149994
149989
|
const _hoisted_2$1g = { class: "color-primary3" };
|
|
149995
|
-
const _hoisted_3
|
|
149990
|
+
const _hoisted_3$_ = {
|
|
149996
149991
|
key: 0,
|
|
149997
149992
|
class: "mt-3 color-primary4 text-center"
|
|
149998
149993
|
};
|
|
@@ -150052,7 +150047,7 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
|
|
|
150052
150047
|
createElementVNode("div", _hoisted_2$1g, toDisplayString(_ctx.tracking_id !== unref(ComponentTypes).PageBreak ? _ctx.tracking_id : unref(t)("canvasUI.canvasBuilder.components.titles.pageBreak")), 1),
|
|
150053
150048
|
_cache[5] || (_cache[5] = createElementVNode("div", { class: "flex-1 h-[2px] bg-primary3" }, null, -1))
|
|
150054
150049
|
]),
|
|
150055
|
-
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)
|
|
150056
150051
|
], 16)
|
|
150057
150052
|
]),
|
|
150058
150053
|
_: 1
|
|
@@ -150066,8 +150061,8 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
|
|
|
150066
150061
|
|
|
150067
150062
|
const _hoisted_1$1H = { class: "flex items-center w-full" };
|
|
150068
150063
|
const _hoisted_2$1f = { class: "flex items-start gap-2 py-2 pr-2 b-rounded-2 w-full" };
|
|
150069
|
-
const _hoisted_3$
|
|
150070
|
-
const _hoisted_4$
|
|
150064
|
+
const _hoisted_3$Z = { class: "flex flex-wrap flex-col gap-2" };
|
|
150065
|
+
const _hoisted_4$Q = { class: "flex flex-wrap font-700 font-size-[18px] overflow-hidden whitespace-normal break-words" };
|
|
150071
150066
|
const _hoisted_5$I = { class: "flex flex-wrap gap-2" };
|
|
150072
150067
|
const _sfc_main$23 = /* @__PURE__ */ defineComponent({
|
|
150073
150068
|
__name: "SectionSelectorItem",
|
|
@@ -150143,8 +150138,8 @@ const _sfc_main$23 = /* @__PURE__ */ defineComponent({
|
|
|
150143
150138
|
onClick: _cache[1] || (_cache[1] = withModifiers(() => {
|
|
150144
150139
|
}, ["stop"]))
|
|
150145
150140
|
}, null, 8, ["ai-img-description", "src", "style"])),
|
|
150146
|
-
createElementVNode("div", _hoisted_3$
|
|
150147
|
-
createElementVNode("h4", _hoisted_4$
|
|
150141
|
+
createElementVNode("div", _hoisted_3$Z, [
|
|
150142
|
+
createElementVNode("h4", _hoisted_4$Q, toDisplayString(_ctx.item.name), 1),
|
|
150148
150143
|
createElementVNode("div", _hoisted_5$I, [
|
|
150149
150144
|
_ctx.data[_ctx.index]?.access_type === "restricted" ? (openBlock(), createBlock(_sfc_main$66, {
|
|
150150
150145
|
key: 0,
|
|
@@ -150274,10 +150269,8 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
|
150274
150269
|
}
|
|
150275
150270
|
});
|
|
150276
150271
|
|
|
150277
|
-
const _hoisted_1$1F = { class: "flex
|
|
150278
|
-
const _hoisted_2$1e = { class: "flex items-center gap-2 flex-
|
|
150279
|
-
const _hoisted_3$Z = { class: "flex items-center gap-2 flex-shrink-0" };
|
|
150280
|
-
const _hoisted_4$Q = { class: "font-size-3 font-400 uppercase" };
|
|
150272
|
+
const _hoisted_1$1F = { class: "flex justify-between items-center color-primary bg-base mt-3 pa-2 rounded-t-lg" };
|
|
150273
|
+
const _hoisted_2$1e = { class: "flex items-center gap-2 flex-1 font-700" };
|
|
150281
150274
|
const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
150282
150275
|
__name: "SectionSelectorToolbar",
|
|
150283
150276
|
props: {
|
|
@@ -150291,93 +150284,16 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
|
150291
150284
|
areAllSelected: { type: Boolean },
|
|
150292
150285
|
areSomeSelected: { type: Boolean },
|
|
150293
150286
|
addedItemIds: { default: () => [] },
|
|
150294
|
-
selectedItemIds: { default: () => [] }
|
|
150295
|
-
currentSort: {}
|
|
150287
|
+
selectedItemIds: { default: () => [] }
|
|
150296
150288
|
},
|
|
150297
|
-
emits: ["page-first", "page-last", "page-next", "page-previous", "toggle-select-all", "clear-selection", "items-added", "items-removed"
|
|
150289
|
+
emits: ["page-first", "page-last", "page-next", "page-previous", "toggle-select-all", "clear-selection", "items-added", "items-removed"],
|
|
150298
150290
|
setup(__props, { emit: __emit }) {
|
|
150299
|
-
const props = __props;
|
|
150300
150291
|
const emit = __emit;
|
|
150301
150292
|
const launchDarkly = inject(
|
|
150302
150293
|
"launchDarkly",
|
|
150303
150294
|
computed(() => ({}))
|
|
150304
150295
|
);
|
|
150305
150296
|
const { t } = useI18n();
|
|
150306
|
-
const sortOptionConfig = {
|
|
150307
|
-
name: {
|
|
150308
|
-
asc: {
|
|
150309
|
-
key: "name_asc",
|
|
150310
|
-
icon: "arrow-down-a-z"
|
|
150311
|
-
},
|
|
150312
|
-
desc: {
|
|
150313
|
-
key: "name_desc",
|
|
150314
|
-
icon: "arrow-down-z-a"
|
|
150315
|
-
}
|
|
150316
|
-
},
|
|
150317
|
-
modified_at: {
|
|
150318
|
-
asc: {
|
|
150319
|
-
key: "modified_at_asc",
|
|
150320
|
-
icon: "calendar-arrow-up"
|
|
150321
|
-
},
|
|
150322
|
-
desc: {
|
|
150323
|
-
key: "modified_at_desc",
|
|
150324
|
-
icon: "calendar-arrow-down"
|
|
150325
|
-
}
|
|
150326
|
-
}
|
|
150327
|
-
};
|
|
150328
|
-
const sortOptions = computed(() => [
|
|
150329
|
-
{
|
|
150330
|
-
label: () => h("div", t("canvasUI.browserApp.content.sortOptions.nameShortAsc")),
|
|
150331
|
-
key: sortOptionConfig.name.asc.key,
|
|
150332
|
-
icon: () => h(CIcon, { icon: sortOptionConfig.name.asc.icon })
|
|
150333
|
-
},
|
|
150334
|
-
{
|
|
150335
|
-
label: () => h("div", t("canvasUI.browserApp.content.sortOptions.nameShortDesc")),
|
|
150336
|
-
key: sortOptionConfig.name.desc.key,
|
|
150337
|
-
icon: () => h(CIcon, { icon: sortOptionConfig.name.desc.icon })
|
|
150338
|
-
},
|
|
150339
|
-
{
|
|
150340
|
-
label: () => h("div", t("canvasUI.browserApp.content.sortOptions.modifiedAsc")),
|
|
150341
|
-
key: sortOptionConfig.modified_at.asc.key,
|
|
150342
|
-
icon: () => h(CIcon, { icon: sortOptionConfig.modified_at.asc.icon })
|
|
150343
|
-
},
|
|
150344
|
-
{
|
|
150345
|
-
label: () => h("div", t("canvasUI.browserApp.content.sortOptions.modifiedDesc")),
|
|
150346
|
-
key: sortOptionConfig.modified_at.desc.key,
|
|
150347
|
-
icon: () => h(CIcon, { icon: sortOptionConfig.modified_at.desc.icon })
|
|
150348
|
-
}
|
|
150349
|
-
]);
|
|
150350
|
-
const currentSortKey = computed(() => `${props.currentSort?.field || "name"}_${props.currentSort?.order || "asc"}`);
|
|
150351
|
-
const currentSortIcon = computed(() => {
|
|
150352
|
-
const lastUnderscoreIndex = currentSortKey.value.lastIndexOf("_");
|
|
150353
|
-
const field = currentSortKey.value.substring(0, lastUnderscoreIndex);
|
|
150354
|
-
const order = currentSortKey.value.substring(lastUnderscoreIndex + 1);
|
|
150355
|
-
const fieldConfig = sortOptionConfig[field];
|
|
150356
|
-
if (fieldConfig && "asc" in fieldConfig && "desc" in fieldConfig) {
|
|
150357
|
-
return fieldConfig[order]?.icon || "arrow-down-wide-short";
|
|
150358
|
-
}
|
|
150359
|
-
return "arrow-down-wide-short";
|
|
150360
|
-
});
|
|
150361
|
-
const currentSortLabel = computed(() => {
|
|
150362
|
-
const key = currentSortKey.value;
|
|
150363
|
-
switch (key) {
|
|
150364
|
-
case "name_asc":
|
|
150365
|
-
return t("canvasUI.browserApp.content.sortOptions.nameShortAsc");
|
|
150366
|
-
case "name_desc":
|
|
150367
|
-
return t("canvasUI.browserApp.content.sortOptions.nameShortDesc");
|
|
150368
|
-
case "modified_at_asc":
|
|
150369
|
-
case "modified_at_desc":
|
|
150370
|
-
return t("canvasUI.browserApp.content.sortOptions.modifiedDate");
|
|
150371
|
-
default:
|
|
150372
|
-
return t("canvasUI.browserApp.content.sortOptions.nameShortAsc");
|
|
150373
|
-
}
|
|
150374
|
-
});
|
|
150375
|
-
function onSortSelect(key) {
|
|
150376
|
-
const lastUnderscoreIndex = key.lastIndexOf("_");
|
|
150377
|
-
const field = key.substring(0, lastUnderscoreIndex);
|
|
150378
|
-
const order = key.substring(lastUnderscoreIndex + 1);
|
|
150379
|
-
emit("sort-changed", { field, order });
|
|
150380
|
-
}
|
|
150381
150297
|
return (_ctx, _cache) => {
|
|
150382
150298
|
const _directive_tooltip = resolveDirective("tooltip");
|
|
150383
150299
|
return openBlock(), createElementBlock("div", _hoisted_1$1F, [
|
|
@@ -150413,57 +150329,26 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
|
150413
150329
|
onPagePrevious: _cache[4] || (_cache[4] = ($event) => emit("page-previous"))
|
|
150414
150330
|
}, null, 8, ["current-page", "disable-pagination", "loading", "page-size", "total-items"])) : createCommentVNode("", true)
|
|
150415
150331
|
]),
|
|
150416
|
-
|
|
150417
|
-
|
|
150418
|
-
|
|
150419
|
-
|
|
150420
|
-
|
|
150421
|
-
|
|
150422
|
-
|
|
150423
|
-
|
|
150424
|
-
|
|
150425
|
-
|
|
150426
|
-
|
|
150427
|
-
|
|
150428
|
-
|
|
150429
|
-
|
|
150430
|
-
|
|
150431
|
-
|
|
150432
|
-
|
|
150433
|
-
|
|
150434
|
-
|
|
150435
|
-
|
|
150436
|
-
createVNode(CButton, {
|
|
150437
|
-
class: "flex items-center gap-1",
|
|
150438
|
-
secondary: "",
|
|
150439
|
-
type: "default"
|
|
150440
|
-
}, {
|
|
150441
|
-
default: withCtx(() => [
|
|
150442
|
-
createElementVNode("span", _hoisted_4$Q, toDisplayString(unref(t)("canvasUI.common.sortBy")) + ": " + toDisplayString(currentSortLabel.value), 1),
|
|
150443
|
-
createVNode(CIcon, {
|
|
150444
|
-
class: "ml-1 mr-2",
|
|
150445
|
-
icon: currentSortIcon.value,
|
|
150446
|
-
size: "14px"
|
|
150447
|
-
}, null, 8, ["icon"]),
|
|
150448
|
-
createVNode(CIcon, {
|
|
150449
|
-
icon: "chevron-down",
|
|
150450
|
-
size: "12px"
|
|
150451
|
-
})
|
|
150452
|
-
]),
|
|
150453
|
-
_: 1
|
|
150454
|
-
})
|
|
150455
|
-
]),
|
|
150456
|
-
_: 1
|
|
150457
|
-
}, 8, ["options"])) : createCommentVNode("", true),
|
|
150458
|
-
createVNode(_sfc_main$4Z, {
|
|
150459
|
-
"added-item-ids": _ctx.addedItemIds,
|
|
150460
|
-
"selected-item-ids": _ctx.selectedItemIds,
|
|
150461
|
-
"total-selected": _ctx.totalSelected,
|
|
150462
|
-
onClearSelection: _cache[9] || (_cache[9] = ($event) => emit("clear-selection")),
|
|
150463
|
-
onItemsAdded: _cache[10] || (_cache[10] = (itemIds, position) => emit("items-added", itemIds, position)),
|
|
150464
|
-
onItemsRemoved: _cache[11] || (_cache[11] = (itemIds) => emit("items-removed", itemIds))
|
|
150465
|
-
}, null, 8, ["added-item-ids", "selected-item-ids", "total-selected"])
|
|
150466
|
-
])
|
|
150332
|
+
!unref(launchDarkly).enable_selectors_dnd ? (openBlock(), createBlock(_sfc_main$22, {
|
|
150333
|
+
key: 0,
|
|
150334
|
+
"current-page": _ctx.currentPage,
|
|
150335
|
+
"disable-pagination": _ctx.disablePagination,
|
|
150336
|
+
loading: _ctx.loading,
|
|
150337
|
+
"page-size": _ctx.pageSize,
|
|
150338
|
+
"total-items": _ctx.totalItems,
|
|
150339
|
+
onPageFirst: _cache[5] || (_cache[5] = ($event) => emit("page-first")),
|
|
150340
|
+
onPageLast: _cache[6] || (_cache[6] = ($event) => emit("page-last")),
|
|
150341
|
+
onPageNext: _cache[7] || (_cache[7] = ($event) => emit("page-next")),
|
|
150342
|
+
onPagePrevious: _cache[8] || (_cache[8] = ($event) => emit("page-previous"))
|
|
150343
|
+
}, null, 8, ["current-page", "disable-pagination", "loading", "page-size", "total-items"])) : createCommentVNode("", true),
|
|
150344
|
+
createVNode(_sfc_main$4Z, {
|
|
150345
|
+
"added-item-ids": _ctx.addedItemIds,
|
|
150346
|
+
"selected-item-ids": _ctx.selectedItemIds,
|
|
150347
|
+
"total-selected": _ctx.totalSelected,
|
|
150348
|
+
onClearSelection: _cache[9] || (_cache[9] = ($event) => emit("clear-selection")),
|
|
150349
|
+
onItemsAdded: _cache[10] || (_cache[10] = (itemIds, position) => emit("items-added", itemIds, position)),
|
|
150350
|
+
onItemsRemoved: _cache[11] || (_cache[11] = (itemIds) => emit("items-removed", itemIds))
|
|
150351
|
+
}, null, 8, ["added-item-ids", "selected-item-ids", "total-selected"])
|
|
150467
150352
|
]);
|
|
150468
150353
|
};
|
|
150469
150354
|
}
|
|
@@ -150885,41 +150770,10 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
|
150885
150770
|
)
|
|
150886
150771
|
);
|
|
150887
150772
|
const isPipeSearching = computed(() => pipeSearchTerms.value.length > 1);
|
|
150888
|
-
const sortByLocalStorage = useLocalStorage(
|
|
150889
|
-
"section-selector-sort-preference",
|
|
150890
|
-
{ field: "name", order: "asc" },
|
|
150891
|
-
{
|
|
150892
|
-
listenToStorageChanges: true
|
|
150893
|
-
}
|
|
150894
|
-
);
|
|
150895
|
-
const sortByRef = ref({ field: "name", order: "asc" });
|
|
150896
|
-
const currentSort = computed({
|
|
150897
|
-
get: () => launchDarkly.value.enable_sorting_in_section_picker ? sortByLocalStorage.value : sortByRef.value,
|
|
150898
|
-
set: (value) => {
|
|
150899
|
-
if (launchDarkly.value.enable_sorting_in_section_picker) {
|
|
150900
|
-
sortByLocalStorage.value = value;
|
|
150901
|
-
} else {
|
|
150902
|
-
sortByRef.value = value;
|
|
150903
|
-
}
|
|
150904
|
-
}
|
|
150905
|
-
});
|
|
150906
150773
|
const orderedAvailableSections = computed(() => {
|
|
150907
150774
|
if (enablePipeMultisearch.value && isPipeSearching.value) {
|
|
150908
150775
|
return availableSections.value;
|
|
150909
150776
|
}
|
|
150910
|
-
if (launchDarkly.value.enable_sorting_in_section_picker && currentSort.value) {
|
|
150911
|
-
const sortField = currentSort.value.field;
|
|
150912
|
-
const sortOrder = currentSort.value.order;
|
|
150913
|
-
if (sortField === "name") {
|
|
150914
|
-
return orderBy(availableSections.value, [(item) => (item.name || "").toLowerCase()], [sortOrder]);
|
|
150915
|
-
} else if (sortField === "modified_at") {
|
|
150916
|
-
return orderBy(
|
|
150917
|
-
availableSections.value,
|
|
150918
|
-
[(item) => item.modified_at ? new Date(item.modified_at).getTime() : 0],
|
|
150919
|
-
[sortOrder]
|
|
150920
|
-
);
|
|
150921
|
-
}
|
|
150922
|
-
}
|
|
150923
150777
|
const sorters = getOrderingConfiguration({ sortByMetadata: true });
|
|
150924
150778
|
return orderBy(
|
|
150925
150779
|
availableSections.value,
|
|
@@ -151118,9 +150972,6 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
|
151118
150972
|
);
|
|
151119
150973
|
else selectChunk();
|
|
151120
150974
|
}
|
|
151121
|
-
function handleSortChanged(sort) {
|
|
151122
|
-
currentSort.value = sort;
|
|
151123
|
-
}
|
|
151124
150975
|
onMounted(() => {
|
|
151125
150976
|
if (launchDarkly.value.show_popularity_icons) {
|
|
151126
150977
|
fetchPopularityData(EntityType.SECTION);
|
|
@@ -151207,7 +151058,6 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
|
151207
151058
|
"are-all-selected": areAllSelected.value,
|
|
151208
151059
|
"are-some-selected": areSomeSelected.value,
|
|
151209
151060
|
"current-page": currentPage.value,
|
|
151210
|
-
"current-sort": currentSort.value,
|
|
151211
151061
|
"disable-pagination": enablePipeMultisearch.value,
|
|
151212
151062
|
"first-page-total-displayed-items": firstPageTotalDisplayedSections.value ?? 0,
|
|
151213
151063
|
loading: isFetchingSections.value,
|
|
@@ -151218,9 +151068,8 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
|
151218
151068
|
onPageLast: fetchLastChunk,
|
|
151219
151069
|
onPageNext: fetchNextChunk,
|
|
151220
151070
|
onPagePrevious: fetchPreviousChunk,
|
|
151221
|
-
onSortChanged: handleSortChanged,
|
|
151222
151071
|
onToggleSelectAll: toggleSelectAll
|
|
151223
|
-
}, null, 8, ["are-all-selected", "are-some-selected", "current-page", "
|
|
151072
|
+
}, null, 8, ["are-all-selected", "are-some-selected", "current-page", "disable-pagination", "first-page-total-displayed-items", "loading", "page-size", "total-items", "total-selected"])
|
|
151224
151073
|
], 512),
|
|
151225
151074
|
isFetchingSections.value ? (openBlock(), createElementBlock("div", {
|
|
151226
151075
|
key: 0,
|
|
@@ -151310,7 +151159,7 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
|
151310
151159
|
}
|
|
151311
151160
|
});
|
|
151312
151161
|
|
|
151313
|
-
const SectionSelector = /* @__PURE__ */ _export_sfc(_sfc_main$1$, [["__scopeId", "data-v-
|
|
151162
|
+
const SectionSelector = /* @__PURE__ */ _export_sfc(_sfc_main$1$, [["__scopeId", "data-v-5eb1a0b2"]]);
|
|
151314
151163
|
|
|
151315
151164
|
const _hoisted_1$1C = { class: "flex items-start gap-2" };
|
|
151316
151165
|
const _hoisted_2$1c = { class: "flex gap-2 justify-end mt-2 relative top-1" };
|
|
@@ -151421,41 +151270,10 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
151421
151270
|
)
|
|
151422
151271
|
);
|
|
151423
151272
|
const isPipeSearching = computed(() => pipeSearchTerms.value.length > 1);
|
|
151424
|
-
const sortByLocalStorage = useLocalStorage(
|
|
151425
|
-
"section-selector-sort-preference",
|
|
151426
|
-
{ field: "name", order: "asc" },
|
|
151427
|
-
{
|
|
151428
|
-
listenToStorageChanges: true
|
|
151429
|
-
}
|
|
151430
|
-
);
|
|
151431
|
-
const sortByRef = ref({ field: "name", order: "asc" });
|
|
151432
|
-
const currentSort = computed({
|
|
151433
|
-
get: () => launchDarkly.value.enable_sorting_in_section_picker ? sortByLocalStorage.value : sortByRef.value,
|
|
151434
|
-
set: (value) => {
|
|
151435
|
-
if (launchDarkly.value.enable_sorting_in_section_picker) {
|
|
151436
|
-
sortByLocalStorage.value = value;
|
|
151437
|
-
} else {
|
|
151438
|
-
sortByRef.value = value;
|
|
151439
|
-
}
|
|
151440
|
-
}
|
|
151441
|
-
});
|
|
151442
151273
|
const orderedAvailableSections = computed(() => {
|
|
151443
151274
|
if (enablePipeMultisearch.value && isPipeSearching.value) {
|
|
151444
151275
|
return availableSections.value;
|
|
151445
151276
|
}
|
|
151446
|
-
if (launchDarkly.value.enable_sorting_in_section_picker && currentSort.value) {
|
|
151447
|
-
const sortField = currentSort.value.field;
|
|
151448
|
-
const sortOrder = currentSort.value.order;
|
|
151449
|
-
if (sortField === "name") {
|
|
151450
|
-
return orderBy(availableSections.value, [(item) => (item.name || "").toLowerCase()], [sortOrder]);
|
|
151451
|
-
} else if (sortField === "modified_at") {
|
|
151452
|
-
return orderBy(
|
|
151453
|
-
availableSections.value,
|
|
151454
|
-
[(item) => item.modified_at ? new Date(item.modified_at).getTime() : 0],
|
|
151455
|
-
[sortOrder]
|
|
151456
|
-
);
|
|
151457
|
-
}
|
|
151458
|
-
}
|
|
151459
151277
|
const sorters = getOrderingConfiguration({ sortByMetadata: true });
|
|
151460
151278
|
return orderBy(
|
|
151461
151279
|
availableSections.value,
|
|
@@ -151670,9 +151488,6 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
151670
151488
|
);
|
|
151671
151489
|
else selectChunk();
|
|
151672
151490
|
}
|
|
151673
|
-
function handleSortChanged(sort) {
|
|
151674
|
-
currentSort.value = sort;
|
|
151675
|
-
}
|
|
151676
151491
|
function addItems(itemIds, position, targetIndex) {
|
|
151677
151492
|
const itemsToMove = addedSections.value.filter((section) => itemIds.includes(section.id));
|
|
151678
151493
|
let newItemsToAdd = availableSections.value.filter(
|
|
@@ -151967,7 +151782,6 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
151967
151782
|
"are-all-selected": areAllSelected.value,
|
|
151968
151783
|
"are-some-selected": areSomeSelected.value,
|
|
151969
151784
|
"current-page": currentPage.value,
|
|
151970
|
-
"current-sort": currentSort.value,
|
|
151971
151785
|
"disable-pagination": enablePipeMultisearch.value,
|
|
151972
151786
|
"first-page-total-displayed-items": firstPageTotalDisplayedSections.value ?? 0,
|
|
151973
151787
|
loading: isFetchingSections.value,
|
|
@@ -151982,9 +151796,8 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
151982
151796
|
onPageLast: fetchLastChunk,
|
|
151983
151797
|
onPageNext: fetchNextChunk,
|
|
151984
151798
|
onPagePrevious: fetchPreviousChunk,
|
|
151985
|
-
onSortChanged: handleSortChanged,
|
|
151986
151799
|
onToggleSelectAll: toggleSelectAll
|
|
151987
|
-
}, null, 8, ["added-item-ids", "are-all-selected", "are-some-selected", "current-page", "
|
|
151800
|
+
}, null, 8, ["added-item-ids", "are-all-selected", "are-some-selected", "current-page", "disable-pagination", "first-page-total-displayed-items", "loading", "page-size", "selected-item-ids", "total-items", "total-selected"])
|
|
151988
151801
|
], 64)) : createCommentVNode("", true)
|
|
151989
151802
|
], 512),
|
|
151990
151803
|
shouldShowSmartFolderView.value ? (openBlock(), createBlock(_sfc_main$4Q, {
|
|
@@ -152126,7 +151939,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
152126
151939
|
}
|
|
152127
151940
|
});
|
|
152128
151941
|
|
|
152129
|
-
const SectionSelectorWithDragAndDrop = /* @__PURE__ */ _export_sfc(_sfc_main$1_, [["__scopeId", "data-v-
|
|
151942
|
+
const SectionSelectorWithDragAndDrop = /* @__PURE__ */ _export_sfc(_sfc_main$1_, [["__scopeId", "data-v-1297a269"]]);
|
|
152130
151943
|
|
|
152131
151944
|
const _hoisted_1$1B = { class: "text-truncate font-bold font-size-4" };
|
|
152132
151945
|
const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
|