@pitcher/canvas-ui 2026.1.19-125904-beta → 2026.1.19-140513-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/canvas-ui.css +5 -5
  2. package/canvas-ui.js +297 -331
  3. package/canvas-ui.js.map +1 -1
  4. package/lib/apps/agenda-selector/composables/move-item-modal.use.d.ts +0 -4
  5. package/lib/apps/browser/stores/api.d.ts +0 -9
  6. package/lib/apps/browser/stores/upload.d.ts +0 -4
  7. package/lib/apps/canvas-builder/components/ui/ContentList/ContentList.vue.d.ts +8 -8
  8. package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.vue.d.ts +8 -3
  9. package/lib/apps/canvas-builder/composables/useCanvas.d.ts +0 -58
  10. package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +0 -12
  11. package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +0 -12
  12. package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +0 -2
  13. package/lib/apps/canvas-builder/composables/usePopupApps.d.ts +0 -2
  14. package/lib/apps/collection-selector/composables/move-slide-modal.use.d.ts +0 -4
  15. package/lib/apps/ppt-conversion-selector/composables/move-slide-modal.use.d.ts +0 -2
  16. package/lib/apps/ppt-conversion-selector/stores/app.store.d.ts +0 -2
  17. package/lib/components/CFileAttributes/CFileAttributes.vue.d.ts +0 -1
  18. package/lib/components/CSwitch/CSwitch.vue.d.ts +2 -4
  19. package/lib/types/launchDarkly.types.d.ts +1 -1
  20. package/lib/types/organizationSettings.types.d.ts +0 -1
  21. package/locale/de.json +0 -11
  22. package/locale/el.json +0 -11
  23. package/locale/en.json +0 -11
  24. package/locale/es.json +0 -11
  25. package/locale/fr.json +0 -11
  26. package/locale/it.json +0 -11
  27. package/locale/ja.json +0 -3
  28. package/locale/nl.json +0 -11
  29. package/locale/pl.json +0 -11
  30. package/locale/pt-br.json +0 -11
  31. package/locale/pt.json +0 -11
  32. package/locale/th.json +0 -11
  33. package/locale/tr.json +0 -11
  34. package/locale/zh.json +0 -3
  35. package/package.json +1 -1
  36. package/types/openapi/models/FilePermission.d.ts +0 -1
  37. package/types/openapi/models/FilePermissionRequest.d.ts +0 -1
  38. package/types/openapi/models/PaginatedAppList.d.ts +2 -2
  39. package/types/openapi/models/PaginatedAuthTokenList.d.ts +2 -2
  40. package/types/openapi/models/PaginatedCanvasList.d.ts +2 -2
  41. package/types/openapi/models/PaginatedCollaborationList.d.ts +2 -2
  42. package/types/openapi/models/PaginatedContentDistributionGroupList.d.ts +2 -2
  43. package/types/openapi/models/PaginatedContentDistributionGroupMembershipList.d.ts +2 -2
  44. package/types/openapi/models/PaginatedEnvironmentList.d.ts +2 -2
  45. package/types/openapi/models/PaginatedEventList.d.ts +2 -2
  46. package/types/openapi/models/PaginatedFavoriteList.d.ts +2 -2
  47. package/types/openapi/models/PaginatedFileList.d.ts +2 -2
  48. package/types/openapi/models/PaginatedFileRevisionList.d.ts +2 -2
  49. package/types/openapi/models/PaginatedFolderList.d.ts +2 -2
  50. package/types/openapi/models/PaginatedInstanceAssignmentGroupList.d.ts +2 -2
  51. package/types/openapi/models/PaginatedInstanceAssignmentGroupMembershipList.d.ts +2 -2
  52. package/types/openapi/models/PaginatedInstanceList.d.ts +2 -2
  53. package/types/openapi/models/PaginatedInstanceMembershipList.d.ts +2 -2
  54. package/types/openapi/models/PaginatedInvitationList.d.ts +2 -2
  55. package/types/openapi/models/PaginatedMetadataTemplateList.d.ts +2 -2
  56. package/types/openapi/models/PaginatedOfflineSyncFolderList.d.ts +2 -2
  57. package/types/openapi/models/PaginatedRegionList.d.ts +2 -2
  58. package/types/openapi/models/PaginatedRevisionList.d.ts +2 -2
  59. package/types/openapi/models/PaginatedUserList.d.ts +2 -2
package/canvas-ui.js CHANGED
@@ -79001,41 +79001,6 @@ const _sfc_main$6G = /* @__PURE__ */ defineComponent({
79001
79001
  const CSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6G, [["__scopeId", "data-v-de7c987d"]]);
79002
79002
 
79003
79003
  const _sfc_main$6F = /* @__PURE__ */ defineComponent({
79004
- __name: "CSwitch",
79005
- props: {
79006
- checked: { type: Boolean },
79007
- disabled: { type: Boolean },
79008
- themeOverrides: {},
79009
- size: { default: "medium" }
79010
- },
79011
- emits: ["update:checked", "change"],
79012
- setup(__props) {
79013
- return (_ctx, _cache) => {
79014
- return openBlock(), createBlock(unref(NSwitch), {
79015
- class: "c-switch",
79016
- disabled: _ctx.disabled,
79017
- size: _ctx.size,
79018
- "theme-overrides": _ctx.themeOverrides,
79019
- value: _ctx.checked,
79020
- "onUpdate:value": _cache[0] || (_cache[0] = (val) => {
79021
- _ctx.$emit("update:checked", val);
79022
- _ctx.$emit("change", val);
79023
- })
79024
- }, createSlots({ _: 2 }, [
79025
- renderList(_ctx.$slots, (_, name) => {
79026
- return {
79027
- name,
79028
- fn: withCtx((slotProps) => [
79029
- renderSlot(_ctx.$slots, name, normalizeProps(guardReactiveProps(slotProps || {})))
79030
- ])
79031
- };
79032
- })
79033
- ]), 1032, ["disabled", "size", "theme-overrides", "value"]);
79034
- };
79035
- }
79036
- });
79037
-
79038
- const _sfc_main$6E = /* @__PURE__ */ defineComponent({
79039
79004
  __name: "CTag",
79040
79005
  setup(__props) {
79041
79006
  return (_ctx, _cache) => {
@@ -79062,7 +79027,7 @@ const _hoisted_1$57 = {
79062
79027
  };
79063
79028
  const _hoisted_2$3K = { key: 0 };
79064
79029
  const _hoisted_3$2$ = { class: "flex flex-wrap gap-1" };
79065
- const _sfc_main$6D = /* @__PURE__ */ defineComponent({
79030
+ const _sfc_main$6E = /* @__PURE__ */ defineComponent({
79066
79031
  __name: "CTags",
79067
79032
  props: {
79068
79033
  value: { default: () => [] },
@@ -79249,7 +79214,7 @@ const _sfc_main$6D = /* @__PURE__ */ defineComponent({
79249
79214
  _ctx.suggestedTagsTitle ? (openBlock(), createElementBlock("div", _hoisted_2$3K, toDisplayString(_ctx.suggestedTagsTitle), 1)) : createCommentVNode("", true),
79250
79215
  createElementVNode("div", _hoisted_3$2$, [
79251
79216
  (openBlock(true), createElementBlock(Fragment, null, renderList(options.value, (option) => {
79252
- return openBlock(), createBlock(_sfc_main$6E, {
79217
+ return openBlock(), createBlock(_sfc_main$6F, {
79253
79218
  key: option.value,
79254
79219
  class: "cursor-pointer",
79255
79220
  round: false,
@@ -79268,9 +79233,9 @@ const _sfc_main$6D = /* @__PURE__ */ defineComponent({
79268
79233
  }
79269
79234
  });
79270
79235
 
79271
- const CTags = /* @__PURE__ */ _export_sfc(_sfc_main$6D, [["__scopeId", "data-v-a1b19ddf"]]);
79236
+ const CTags = /* @__PURE__ */ _export_sfc(_sfc_main$6E, [["__scopeId", "data-v-a1b19ddf"]]);
79272
79237
 
79273
- const _sfc_main$6C = /* @__PURE__ */ defineComponent({
79238
+ const _sfc_main$6D = /* @__PURE__ */ defineComponent({
79274
79239
  __name: "CTagsPlaceholder",
79275
79240
  emits: ["select"],
79276
79241
  setup(__props, { emit: __emit }) {
@@ -79760,7 +79725,7 @@ const _hoisted_3$2_ = {
79760
79725
  key: 1,
79761
79726
  class: "flex gap-4 w-full"
79762
79727
  };
79763
- const _sfc_main$6B = /* @__PURE__ */ defineComponent({
79728
+ const _sfc_main$6C = /* @__PURE__ */ defineComponent({
79764
79729
  __name: "CFileAttributes",
79765
79730
  props: {
79766
79731
  modelValue: {},
@@ -79784,16 +79749,11 @@ const _sfc_main$6B = /* @__PURE__ */ defineComponent({
79784
79749
  "pitcherSettings",
79785
79750
  computed(() => ({}))
79786
79751
  );
79787
- const launchDarkly = inject(
79788
- "launchDarkly",
79789
- computed(() => ({}))
79790
- );
79791
79752
  const editingField = ref(null);
79792
79753
  const showTagsComponent = ref(!props.showKeepAsIsPlaceholder);
79793
79754
  const initialExpiresAtOption = ref(props.modelValue.expiresAtOption);
79794
79755
  const labels = {
79795
79756
  sharing: t("canvasUI.browserApp.uploadFilesModal.sharing.label"),
79796
- divisible: t("canvasUI.browserApp.uploadFilesModal.divisible.label"),
79797
79757
  tags: t("canvasUI.browserApp.uploadFilesModal.tags.label"),
79798
79758
  expiresAtDateTime: t("canvasUI.browserApp.uploadFilesModal.expiresAt.label"),
79799
79759
  accessType: t("canvasUI.browserApp.uploadFilesModal.access.label")
@@ -79828,18 +79788,7 @@ const _sfc_main$6B = /* @__PURE__ */ defineComponent({
79828
79788
  }
79829
79789
  function onChangeSharing(value) {
79830
79790
  updateForm({
79831
- permissions: {
79832
- ...form.value.permissions,
79833
- can_share: value === null ? void 0 : value === "allowed"
79834
- }
79835
- });
79836
- }
79837
- function onChangeDivisible(value) {
79838
- updateForm({
79839
- permissions: {
79840
- ...form.value.permissions,
79841
- can_be_divided: value
79842
- }
79791
+ permissions: value === null ? { can_share: void 0 } : { can_share: value === "allowed" }
79843
79792
  });
79844
79793
  }
79845
79794
  function onChangeAccessType(value) {
@@ -79903,22 +79852,9 @@ const _sfc_main$6B = /* @__PURE__ */ defineComponent({
79903
79852
  }
79904
79853
  }
79905
79854
  });
79906
- const divisibleValueAsBoolean = computed({
79907
- get: () => {
79908
- return form.value.permissions?.can_be_divided ?? true;
79909
- },
79910
- set: (value) => {
79911
- if (!form.value.permissions) {
79912
- form.value.permissions = {};
79913
- }
79914
- form.value.permissions.can_be_divided = value;
79915
- }
79916
- });
79917
79855
  function isEditingFieldOrNonEmpty(fieldName) {
79918
79856
  if (fieldName === "permissions") {
79919
79857
  return form.value.permissions?.can_share !== void 0 || editingField.value === fieldName;
79920
- } else if (fieldName === "divisiblePermission") {
79921
- return form.value.permissions?.can_be_divided !== void 0 || editingField.value === fieldName;
79922
79858
  } else if (fieldName === "tags") {
79923
79859
  return editingField.value === fieldName || Array.isArray(form.value.tags) && form.value.tags.length > 0;
79924
79860
  }
@@ -79930,10 +79866,6 @@ const _sfc_main$6B = /* @__PURE__ */ defineComponent({
79930
79866
  editingField.value = null;
79931
79867
  return;
79932
79868
  }
79933
- if (fieldName === "divisiblePermission" && form.value.permissions?.can_be_divided === void 0) {
79934
- editingField.value = null;
79935
- return;
79936
- }
79937
79869
  if (fieldName === "tags") {
79938
79870
  if (!Array.isArray(form.value.tags) || form.value.tags.length === 0) {
79939
79871
  editingField.value = null;
@@ -79950,11 +79882,8 @@ const _sfc_main$6B = /* @__PURE__ */ defineComponent({
79950
79882
  editingField.value = fieldName;
79951
79883
  if (fieldName === "permissions") {
79952
79884
  if (form.value.permissions?.can_share === void 0) {
79953
- form.value.permissions = { ...form.value.permissions, can_share: true };
79954
- }
79955
- } else if (fieldName === "divisiblePermission") {
79956
- if (form.value.permissions?.can_be_divided === void 0) {
79957
- form.value.permissions = { ...form.value.permissions, can_be_divided: true };
79885
+ form.value.permissions = { can_share: true };
79886
+ sharingValueAsText.value = "allowed";
79958
79887
  }
79959
79888
  }
79960
79889
  nextTick(() => {
@@ -80024,7 +79953,7 @@ const _sfc_main$6B = /* @__PURE__ */ defineComponent({
80024
79953
  }, {
80025
79954
  default: withCtx(() => [
80026
79955
  createElementVNode("div", _hoisted_1$56, [
80027
- _ctx.showKeepAsIsPlaceholder ? (openBlock(), createBlock(_sfc_main$6C, {
79956
+ _ctx.showKeepAsIsPlaceholder ? (openBlock(), createBlock(_sfc_main$6D, {
80028
79957
  key: 0,
80029
79958
  onSelect: handleTagsAction
80030
79959
  })) : createCommentVNode("", true),
@@ -80142,26 +80071,7 @@ const _sfc_main$6B = /* @__PURE__ */ defineComponent({
80142
80071
  ]))
80143
80072
  ]),
80144
80073
  _: 1
80145
- })) : createCommentVNode("", true),
80146
- _ctx.showPermissionSettings && unref(launchDarkly).enable_file_divisible_permission ? (openBlock(), createBlock(unref(NFormItemGridItem), {
80147
- key: 3,
80148
- label: labels.divisible
80149
- }, {
80150
- default: withCtx(() => [
80151
- _ctx.showKeepAsIsPlaceholder && !isEditingFieldOrNonEmpty("divisiblePermission") ? (openBlock(), createBlock(CInputPlaceholder, {
80152
- key: 0,
80153
- onClick: _cache[9] || (_cache[9] = ($event) => enableEditing("divisiblePermission", unref(MetadataTemplateFieldTypeEnum).SELECT))
80154
- })) : (openBlock(), createBlock(_sfc_main$6F, {
80155
- key: 1,
80156
- checked: divisibleValueAsBoolean.value,
80157
- class: "mx-1",
80158
- "data-field": "divisiblePermission",
80159
- onBlur: _cache[10] || (_cache[10] = ($event) => handleBlur("divisiblePermission")),
80160
- "onUpdate:checked": onChangeDivisible
80161
- }, null, 8, ["checked"]))
80162
- ]),
80163
- _: 1
80164
- }, 8, ["label"])) : createCommentVNode("", true)
80074
+ })) : createCommentVNode("", true)
80165
80075
  ]),
80166
80076
  _: 1
80167
80077
  })
@@ -80175,7 +80085,7 @@ const _sfc_main$6B = /* @__PURE__ */ defineComponent({
80175
80085
  const __default__$3 = {
80176
80086
  name: "CInput"
80177
80087
  };
80178
- const _sfc_main$6A = /* @__PURE__ */ defineComponent({
80088
+ const _sfc_main$6B = /* @__PURE__ */ defineComponent({
80179
80089
  ...__default__$3,
80180
80090
  setup(__props, { expose: __expose }) {
80181
80091
  const inputRef = ref(null);
@@ -80201,7 +80111,7 @@ const _sfc_main$6A = /* @__PURE__ */ defineComponent({
80201
80111
  }
80202
80112
  });
80203
80113
 
80204
- const _sfc_main$6z = /* @__PURE__ */ defineComponent({
80114
+ const _sfc_main$6A = /* @__PURE__ */ defineComponent({
80205
80115
  __name: "CModal",
80206
80116
  setup(__props) {
80207
80117
  return (_ctx, _cache) => {
@@ -80219,7 +80129,7 @@ const _sfc_main$6z = /* @__PURE__ */ defineComponent({
80219
80129
  }
80220
80130
  });
80221
80131
 
80222
- const _sfc_main$6y = /* @__PURE__ */ defineComponent({
80132
+ const _sfc_main$6z = /* @__PURE__ */ defineComponent({
80223
80133
  __name: "CPopover",
80224
80134
  setup(__props) {
80225
80135
  return (_ctx, _cache) => {
@@ -80240,7 +80150,7 @@ const _sfc_main$6y = /* @__PURE__ */ defineComponent({
80240
80150
  }
80241
80151
  });
80242
80152
 
80243
- const _sfc_main$6x = /* @__PURE__ */ defineComponent({
80153
+ const _sfc_main$6y = /* @__PURE__ */ defineComponent({
80244
80154
  __name: "CSearch",
80245
80155
  props: {
80246
80156
  autofocus: { type: Boolean, default: false },
@@ -80257,7 +80167,7 @@ const _sfc_main$6x = /* @__PURE__ */ defineComponent({
80257
80167
  const emit = __emit;
80258
80168
  const { t } = useI18n();
80259
80169
  return (_ctx, _cache) => {
80260
- return openBlock(), createBlock(_sfc_main$6A, {
80170
+ return openBlock(), createBlock(_sfc_main$6B, {
80261
80171
  autofocus: _ctx.autofocus,
80262
80172
  class: normalizeClass(["c-search flex items-center justify-center", {
80263
80173
  "c-search--no-border": _ctx.hideBorder,
@@ -80296,10 +80206,10 @@ const _sfc_main$6x = /* @__PURE__ */ defineComponent({
80296
80206
  }
80297
80207
  });
80298
80208
 
80299
- const CSearch = /* @__PURE__ */ _export_sfc(_sfc_main$6x, [["__scopeId", "data-v-11dbab78"]]);
80209
+ const CSearch = /* @__PURE__ */ _export_sfc(_sfc_main$6y, [["__scopeId", "data-v-11dbab78"]]);
80300
80210
 
80301
80211
  const _hoisted_1$55 = { class: "c-search-on-click relative" };
80302
- const _sfc_main$6w = /* @__PURE__ */ defineComponent({
80212
+ const _sfc_main$6x = /* @__PURE__ */ defineComponent({
80303
80213
  __name: "CSearchOnClick",
80304
80214
  props: {
80305
80215
  disabled: { type: Boolean },
@@ -80356,7 +80266,7 @@ const _sfc_main$6w = /* @__PURE__ */ defineComponent({
80356
80266
  }, 8, ["disabled"])) : createCommentVNode("", true),
80357
80267
  createVNode(unref(NInputGroup), null, {
80358
80268
  default: withCtx(() => [
80359
- createVNode(_sfc_main$6A, {
80269
+ createVNode(_sfc_main$6B, {
80360
80270
  value: searchValue.value,
80361
80271
  "onUpdate:value": _cache[1] || (_cache[1] = ($event) => searchValue.value = $event),
80362
80272
  class: normalizeClass({ "max-w-[320px] min-w-[280px]": !_ctx.fullWidth, "w-full": _ctx.fullWidth, "pl-8": inputFocused.value || searchValue.value }),
@@ -80544,7 +80454,7 @@ function useMetadataSearch(options = {}) {
80544
80454
  const _hoisted_1$54 = {
80545
80455
  class: "c-search-on-click-with-suggestions relative"
80546
80456
  };
80547
- const _sfc_main$6v = /*@__PURE__*/defineComponent({
80457
+ const _sfc_main$6w = /*@__PURE__*/defineComponent({
80548
80458
  __name: 'CSearchOnClickWithSuggestions',
80549
80459
  props: {
80550
80460
  disabled: {
@@ -80759,9 +80669,9 @@ const _sfc_main$6v = /*@__PURE__*/defineComponent({
80759
80669
  }
80760
80670
  });
80761
80671
 
80762
- const CSearchOnClickWithSuggestions = /* @__PURE__ */ _export_sfc(_sfc_main$6v, [["__scopeId", "data-v-ba9e794b"]]);
80672
+ const CSearchOnClickWithSuggestions = /* @__PURE__ */ _export_sfc(_sfc_main$6w, [["__scopeId", "data-v-ba9e794b"]]);
80763
80673
 
80764
- const _sfc_main$6u = /* @__PURE__ */ defineComponent({
80674
+ const _sfc_main$6v = /* @__PURE__ */ defineComponent({
80765
80675
  __name: "CThemeEditor",
80766
80676
  setup(__props) {
80767
80677
  const showForm = ref(false);
@@ -80897,7 +80807,7 @@ const _sfc_main$6u = /* @__PURE__ */ defineComponent({
80897
80807
  const __default__$2 = {
80898
80808
  name: "CToolbar"
80899
80809
  };
80900
- const _sfc_main$6t = /* @__PURE__ */ defineComponent({
80810
+ const _sfc_main$6u = /* @__PURE__ */ defineComponent({
80901
80811
  ...__default__$2,
80902
80812
  props: {
80903
80813
  search: {},
@@ -80932,9 +80842,9 @@ const _sfc_main$6t = /* @__PURE__ */ defineComponent({
80932
80842
  }
80933
80843
  });
80934
80844
 
80935
- const CToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$6t, [["__scopeId", "data-v-50c62c45"]]);
80845
+ const CToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$6u, [["__scopeId", "data-v-50c62c45"]]);
80936
80846
 
80937
- const _sfc_main$6s = /* @__PURE__ */ defineComponent({
80847
+ const _sfc_main$6t = /* @__PURE__ */ defineComponent({
80938
80848
  __name: "CTooltip",
80939
80849
  setup(__props) {
80940
80850
  const isSSR = typeof window === "undefined";
@@ -80958,7 +80868,7 @@ const _sfc_main$6s = /* @__PURE__ */ defineComponent({
80958
80868
  }
80959
80869
  });
80960
80870
 
80961
- const _sfc_main$6r = /* @__PURE__ */ defineComponent({
80871
+ const _sfc_main$6s = /* @__PURE__ */ defineComponent({
80962
80872
  __name: "CAvatar",
80963
80873
  setup(__props) {
80964
80874
  const attrs = useAttrs();
@@ -80982,7 +80892,7 @@ const _sfc_main$6r = /* @__PURE__ */ defineComponent({
80982
80892
  }
80983
80893
  });
80984
80894
 
80985
- const _sfc_main$6q = /* @__PURE__ */ defineComponent({
80895
+ const _sfc_main$6r = /* @__PURE__ */ defineComponent({
80986
80896
  __name: "CCollapseTransition",
80987
80897
  setup(__props) {
80988
80898
  const attrs = useAttrs();
@@ -80999,7 +80909,7 @@ const _sfc_main$6q = /* @__PURE__ */ defineComponent({
80999
80909
  }
81000
80910
  });
81001
80911
 
81002
- const _sfc_main$6p = /* @__PURE__ */ defineComponent({
80912
+ const _sfc_main$6q = /* @__PURE__ */ defineComponent({
81003
80913
  __name: "CSpin",
81004
80914
  setup(__props) {
81005
80915
  return (_ctx, _cache) => {
@@ -81017,7 +80927,7 @@ const _sfc_main$6p = /* @__PURE__ */ defineComponent({
81017
80927
  }
81018
80928
  });
81019
80929
 
81020
- const _sfc_main$6o = /* @__PURE__ */ defineComponent({
80930
+ const _sfc_main$6p = /* @__PURE__ */ defineComponent({
81021
80931
  __name: "CEmpty",
81022
80932
  setup(__props) {
81023
80933
  return (_ctx, _cache) => {
@@ -81035,6 +80945,40 @@ const _sfc_main$6o = /* @__PURE__ */ defineComponent({
81035
80945
  }
81036
80946
  });
81037
80947
 
80948
+ const _sfc_main$6o = /* @__PURE__ */ defineComponent({
80949
+ __name: "CSwitch",
80950
+ props: {
80951
+ checked: { type: Boolean },
80952
+ disabled: { type: Boolean },
80953
+ themeOverrides: {},
80954
+ size: {}
80955
+ },
80956
+ emits: ["update:checked", "change"],
80957
+ setup(__props) {
80958
+ return (_ctx, _cache) => {
80959
+ return openBlock(), createBlock(unref(NSwitch), {
80960
+ class: "c-switch",
80961
+ disabled: _ctx.disabled,
80962
+ "theme-overrides": _ctx.themeOverrides,
80963
+ value: _ctx.checked,
80964
+ "onUpdate:value": _cache[0] || (_cache[0] = (val) => {
80965
+ _ctx.$emit("update:checked", val);
80966
+ _ctx.$emit("change", val);
80967
+ })
80968
+ }, createSlots({ _: 2 }, [
80969
+ renderList(_ctx.$slots, (_, name) => {
80970
+ return {
80971
+ name,
80972
+ fn: withCtx((slotProps) => [
80973
+ renderSlot(_ctx.$slots, name, normalizeProps(guardReactiveProps(slotProps || {})))
80974
+ ])
80975
+ };
80976
+ })
80977
+ ]), 1032, ["disabled", "theme-overrides", "value"]);
80978
+ };
80979
+ }
80980
+ });
80981
+
81038
80982
  let disableCustomTooltips = false;
81039
80983
  const tooltipDirective = {
81040
80984
  created() {
@@ -81378,7 +81322,7 @@ const _sfc_main$6n = /* @__PURE__ */ defineComponent({
81378
81322
  __expose({ hidePopup });
81379
81323
  return (_ctx, _cache) => {
81380
81324
  return withDirectives((openBlock(), createElementBlock("div", null, [
81381
- createVNode(_sfc_main$6y, {
81325
+ createVNode(_sfc_main$6z, {
81382
81326
  show: show.value,
81383
81327
  "onUpdate:show": _cache[2] || (_cache[2] = ($event) => show.value = $event),
81384
81328
  "content-class": "pa-2",
@@ -81876,7 +81820,7 @@ const _sfc_main$6e = /* @__PURE__ */ defineComponent({
81876
81820
  }, null, 8, ["active-canvas-id", "canvas"])) : createCommentVNode("", true),
81877
81821
  createElementVNode("div", _hoisted_3$2V, [
81878
81822
  _ctx.canvases?.length ? (openBlock(), createElementBlock("div", _hoisted_4$2k, toDisplayString(unref(t)("canvasUI.CCanvasSelector.lastUsed")), 1)) : createCommentVNode("", true),
81879
- createVNode(_sfc_main$6p, {
81823
+ createVNode(_sfc_main$6q, {
81880
81824
  class: "h-full",
81881
81825
  show: _ctx.isLoading
81882
81826
  }, {
@@ -83057,7 +83001,7 @@ const _sfc_main$69 = /* @__PURE__ */ defineComponent({
83057
83001
  class: normalizeClass(["c-contact-selector h-full flex", { "flex-col": _ctx.singleColumnView }])
83058
83002
  }, [
83059
83003
  createElementVNode("div", _hoisted_1$4Q, [
83060
- createVNode(_sfc_main$6w, {
83004
+ createVNode(_sfc_main$6x, {
83061
83005
  disabled: !!_ctx.loading,
83062
83006
  "full-width": "",
83063
83007
  "initial-search-value": _ctx.search,
@@ -83376,7 +83320,7 @@ const _sfc_main$66 = /* @__PURE__ */ defineComponent({
83376
83320
  index < tags.value.length - 1 ? (openBlock(), createElementBlock("span", _hoisted_5$1V, ", ")) : createCommentVNode("", true)
83377
83321
  ]);
83378
83322
  }), 128)),
83379
- remainingTags.value.length ? (openBlock(), createBlock(_sfc_main$6y, {
83323
+ remainingTags.value.length ? (openBlock(), createBlock(_sfc_main$6z, {
83380
83324
  key: 0,
83381
83325
  "keep-alive-on-hover": false,
83382
83326
  placement: _ctx.option.index === 0 ? "bottom" : "top",
@@ -86021,7 +85965,7 @@ const _sfc_main$5Z = /* @__PURE__ */ defineComponent({
86021
85965
  ]),
86022
85966
  _: 1
86023
85967
  }, 8, ["label"]),
86024
- createVNode(_sfc_main$6A, {
85968
+ createVNode(_sfc_main$6B, {
86025
85969
  placeholder: unref(t)("canvasUI.CTypographyConfiguratorItem.lineHeightLabel"),
86026
85970
  style: { "--n-color": "transparent" },
86027
85971
  value: _ctx.item.line_height,
@@ -86037,7 +85981,7 @@ const _sfc_main$5Z = /* @__PURE__ */ defineComponent({
86037
85981
  ]),
86038
85982
  _: 1
86039
85983
  }, 8, ["label"]),
86040
- createVNode(_sfc_main$6A, {
85984
+ createVNode(_sfc_main$6B, {
86041
85985
  placeholder: unref(t)("canvasUI.CTypographyConfiguratorItem.letterSpacingLabel"),
86042
85986
  style: { "--n-color": "transparent" },
86043
85987
  value: _ctx.item.letter_spacing,
@@ -87249,7 +87193,7 @@ const _sfc_main$5N = /* @__PURE__ */ defineComponent({
87249
87193
  emit("cancel");
87250
87194
  }
87251
87195
  return (_ctx, _cache) => {
87252
- return openBlock(), createBlock(_sfc_main$6z, {
87196
+ return openBlock(), createBlock(_sfc_main$6A, {
87253
87197
  onEsc: onCancel,
87254
87198
  show: ""
87255
87199
  }, {
@@ -95607,7 +95551,7 @@ const _sfc_main$5L = /* @__PURE__ */ defineComponent({
95607
95551
  });
95608
95552
  return (_ctx, _cache) => {
95609
95553
  return _ctx.value !== null && _ctx.value !== void 0 ? (openBlock(), createElementBlock("div", _hoisted_1$4x, [
95610
- createVNode(_sfc_main$6E, {
95554
+ createVNode(_sfc_main$6F, {
95611
95555
  class: "flex gap-1 bg-primary6 color-text",
95612
95556
  size: "small"
95613
95557
  }, {
@@ -101824,11 +101768,11 @@ const _sfc_main$5p = /* @__PURE__ */ defineComponent({
101824
101768
  }
101825
101769
  });
101826
101770
  return (_ctx, _cache) => {
101827
- return isValidPicture.value ? (openBlock(), createBlock(_sfc_main$6r, {
101771
+ return isValidPicture.value ? (openBlock(), createBlock(_sfc_main$6s, {
101828
101772
  key: 0,
101829
101773
  size: _ctx.size,
101830
101774
  src: _ctx.picture
101831
- }, null, 8, ["size", "src"])) : (openBlock(), createBlock(_sfc_main$6r, {
101775
+ }, null, 8, ["size", "src"])) : (openBlock(), createBlock(_sfc_main$6s, {
101832
101776
  key: 1,
101833
101777
  color: color.value,
101834
101778
  size: _ctx.size
@@ -102629,7 +102573,7 @@ const _sfc_main$5j = /* @__PURE__ */ defineComponent({
102629
102573
  "suggestions-fetcher": fetchDistinctValueSuggestions,
102630
102574
  onSearch
102631
102575
  }, null, 8, ["disabled", "initial-search-value", "min-search-length", "placeholder"]))
102632
- ], 64)) : (openBlock(), createBlock(_sfc_main$6w, {
102576
+ ], 64)) : (openBlock(), createBlock(_sfc_main$6x, {
102633
102577
  key: 1,
102634
102578
  ref_key: "searchOnClickRef",
102635
102579
  ref: searchOnClickRef,
@@ -102701,7 +102645,7 @@ const _sfc_main$5j = /* @__PURE__ */ defineComponent({
102701
102645
  "suggestions-fetcher": fetchDistinctValueSuggestions,
102702
102646
  onSearch
102703
102647
  }, null, 8, ["disabled", "initial-search-value", "min-search-length", "placeholder"]))
102704
- ], 64)) : (openBlock(), createBlock(_sfc_main$6w, {
102648
+ ], 64)) : (openBlock(), createBlock(_sfc_main$6x, {
102705
102649
  key: 1,
102706
102650
  ref_key: "searchOnClickRef",
102707
102651
  ref: searchOnClickRef,
@@ -104279,7 +104223,7 @@ const _sfc_main$5b = /* @__PURE__ */ defineComponent({
104279
104223
  innerHTML: unref(highlight)(tags.value.join(", "), _ctx.search)
104280
104224
  }, null, 8, _hoisted_5$1G)
104281
104225
  ])) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(tags.value, (tag, index) => {
104282
- return withDirectives((openBlock(), createBlock(_sfc_main$6E, {
104226
+ return withDirectives((openBlock(), createBlock(_sfc_main$6F, {
104283
104227
  key: index,
104284
104228
  class: normalizeClass(_ctx.tagsClass),
104285
104229
  size: "small"
@@ -104292,7 +104236,7 @@ const _sfc_main$5b = /* @__PURE__ */ defineComponent({
104292
104236
  [_directive_tooltip, shouldShowTagTooltip(tag) ? tag : null]
104293
104237
  ]);
104294
104238
  }), 128)),
104295
- remainingTags.value.length ? (openBlock(), createBlock(_sfc_main$6y, {
104239
+ remainingTags.value.length ? (openBlock(), createBlock(_sfc_main$6z, {
104296
104240
  key: 2,
104297
104241
  class: "c-table-tag__popover max-w-[600px]",
104298
104242
  placement: _ctx.rowIndex === 0 ? "bottom" : "top",
@@ -104317,7 +104261,7 @@ const _sfc_main$5b = /* @__PURE__ */ defineComponent({
104317
104261
  default: withCtx(() => [
104318
104262
  createElementVNode("div", _hoisted_6$1s, [
104319
104263
  _ctx.displayAsText ? (openBlock(), createElementBlock("div", _hoisted_7$14, toDisplayString(remainingTags.value.join(", ")), 1)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(remainingTags.value, (tag, index) => {
104320
- return openBlock(), createBlock(_sfc_main$6E, {
104264
+ return openBlock(), createBlock(_sfc_main$6F, {
104321
104265
  key: index,
104322
104266
  class: normalizeClass(_ctx.moreTagsClass),
104323
104267
  size: "small"
@@ -104420,7 +104364,7 @@ const _sfc_main$5a = /* @__PURE__ */ defineComponent({
104420
104364
  };
104421
104365
  return (_ctx, _cache) => {
104422
104366
  const _directive_tooltip = resolveDirective("tooltip");
104423
- return openBlock(), createBlock(_sfc_main$6y, {
104367
+ return openBlock(), createBlock(_sfc_main$6z, {
104424
104368
  placement: "bottom-end",
104425
104369
  "show-arrow": false,
104426
104370
  trigger: "click"
@@ -104891,7 +104835,7 @@ const _sfc_main$59 = /* @__PURE__ */ defineComponent({
104891
104835
  placeholder: _ctx.placeholder,
104892
104836
  "suggestions-fetcher": fetchSuggestions,
104893
104837
  onSearch: _cache[0] || (_cache[0] = ($event) => emit("update:search", $event, _ctx.filters))
104894
- }, null, 8, ["disabled", "initial-search-value", "placeholder"])) : (openBlock(), createBlock(_sfc_main$6w, {
104838
+ }, null, 8, ["disabled", "initial-search-value", "placeholder"])) : (openBlock(), createBlock(_sfc_main$6x, {
104895
104839
  key: 1,
104896
104840
  ref_key: "searchOnClickRef",
104897
104841
  ref: searchOnClickRef,
@@ -104989,7 +104933,7 @@ const _sfc_main$59 = /* @__PURE__ */ defineComponent({
104989
104933
  }), 128))
104990
104934
  ], 64))
104991
104935
  ], 64)) : createCommentVNode("", true),
104992
- unref(pitcherSettings).display_metadata_filters_in_modal && hasAnyFilter.value ? (openBlock(), createBlock(_sfc_main$6y, {
104936
+ unref(pitcherSettings).display_metadata_filters_in_modal && hasAnyFilter.value ? (openBlock(), createBlock(_sfc_main$6z, {
104993
104937
  key: 1,
104994
104938
  class: "min-w-[500px] max-w-[700px] max-h-[400px] overflow-y-auto",
104995
104939
  placement: "bottom",
@@ -107537,7 +107481,7 @@ function useCanvasesManagementBulk() {
107537
107481
  "name": "properties",
107538
107482
  "title": t('canvasUI.browserApp.uploadFilesModal.properties')
107539
107483
  }, {
107540
- default: () => [createVNode(_sfc_main$6B, {
107484
+ default: () => [createVNode(_sfc_main$6C, {
107541
107485
  "showExpirationSettings": false,
107542
107486
  "showPermissionSettings": false,
107543
107487
  "showAccessTypeSettings": false,
@@ -109433,7 +109377,7 @@ const _sfc_main$4W = /* @__PURE__ */ defineComponent({
109433
109377
  "w-fit": _ctx.fitContent
109434
109378
  }])
109435
109379
  }, [
109436
- _ctx.variation !== "minimal" ? (openBlock(), createBlock(_sfc_main$6E, {
109380
+ _ctx.variation !== "minimal" ? (openBlock(), createBlock(_sfc_main$6F, {
109437
109381
  key: 0,
109438
109382
  class: "flex",
109439
109383
  size: "small",
@@ -109657,7 +109601,7 @@ const _sfc_main$4U = /* @__PURE__ */ defineComponent({
109657
109601
  onClick: _cache[0] || (_cache[0] = withModifiers(() => {
109658
109602
  }, ["stop"]))
109659
109603
  }, [
109660
- _ctx.variation !== "minimal" ? (openBlock(), createBlock(_sfc_main$6E, {
109604
+ _ctx.variation !== "minimal" ? (openBlock(), createBlock(_sfc_main$6F, {
109661
109605
  key: 0,
109662
109606
  class: normalizeClass(`flex gap-1 ${getPopularityClass()}`),
109663
109607
  size: "small",
@@ -109710,7 +109654,7 @@ const _sfc_main$4U = /* @__PURE__ */ defineComponent({
109710
109654
  onClick: _cache[1] || (_cache[1] = withModifiers(() => {
109711
109655
  }, ["stop"]))
109712
109656
  }, [
109713
- _ctx.variation !== "minimal" ? (openBlock(), createBlock(_sfc_main$6E, {
109657
+ _ctx.variation !== "minimal" ? (openBlock(), createBlock(_sfc_main$6F, {
109714
109658
  key: 0,
109715
109659
  class: normalizeClass(`flex gap-1 ${getEngagementClass()}`),
109716
109660
  size: "small",
@@ -109786,18 +109730,16 @@ const _sfc_main$4U = /* @__PURE__ */ defineComponent({
109786
109730
 
109787
109731
  function filterByItemVisibility(items) {
109788
109732
  const isAdmin = state$3.appName.value === "admin";
109789
- const isSearchMode = state$3.showFilteredResults.value;
109790
109733
  return items.reduce((acc, item) => {
109791
109734
  const hasCountData = "files_count" in item || "folders_count" in item || "available_files_count" in item || "available_folders_count" in item;
109792
109735
  const filesCount = item.available_files_count ?? item.files_count ?? 0;
109793
109736
  const foldersCount = item.available_folders_count ?? item.folders_count ?? 0;
109794
109737
  const isFolderEmpty = item.type == "folder" && hasCountData && filesCount === 0 && foldersCount === 0;
109795
- const isFolderWithoutData = item.type == "folder" && !hasCountData && isSearchMode;
109796
109738
  const shouldHideItem = item.name?.startsWith(".") || isFolderEmpty || item.folder?.file_thumbnail_urls?.length === 0;
109797
109739
  if (!shouldHideItem && !isAdmin || isAdmin) {
109798
109740
  acc.push({
109799
109741
  ...item,
109800
- opacity: isFolderWithoutData || shouldHideItem && isAdmin ? 0.5 : 1
109742
+ opacity: shouldHideItem && isAdmin ? 0.5 : 1
109801
109743
  });
109802
109744
  }
109803
109745
  return acc;
@@ -110389,13 +110331,6 @@ function init({
110389
110331
  canvas_thumbnail_urls: []
110390
110332
  }
110391
110333
  ];
110392
- state$2.folderCache[folder.id] = {
110393
- files_count: 0,
110394
- folders_count: 0,
110395
- available_files_count: 0,
110396
- available_folders_count: 0,
110397
- timestamp: Date.now()
110398
- };
110399
110334
  return folder;
110400
110335
  };
110401
110336
  state$2.folderUpdater = async function(payload) {
@@ -110419,7 +110354,6 @@ function init({
110419
110354
  state$2.folderDeleter = async function(payload) {
110420
110355
  await onFolderDelete(payload);
110421
110356
  state$2.folders = state$2.folders.filter((folder) => folder.id !== payload);
110422
- delete state$2.folderCache[payload];
110423
110357
  useAppStore$4().removeSelectedItems([payload]);
110424
110358
  };
110425
110359
  state$2.folderFetcher = async function(folderId) {
@@ -110440,9 +110374,6 @@ function init({
110440
110374
  const response = await onFoldersDelete(payload);
110441
110375
  const deletedIdsSet = new Set(response.deleted_ids);
110442
110376
  state$2.folders = state$2.folders.filter((folder) => !deletedIdsSet.has(folder.id));
110443
- response.deleted_ids.forEach((id2) => {
110444
- delete state$2.folderCache[id2];
110445
- });
110446
110377
  useAppStore$4().removeSelectedItems(response.deleted_ids);
110447
110378
  return response;
110448
110379
  };
@@ -111195,7 +111126,7 @@ const _sfc_main$4T = /* @__PURE__ */ defineComponent({
111195
111126
  ])) : createCommentVNode("", true)
111196
111127
  ], 4),
111197
111128
  _ctx.item.type !== "smart_folder" ? (openBlock(), createElementBlock("div", _hoisted_10$z, [
111198
- createVNode(_sfc_main$6E, {
111129
+ createVNode(_sfc_main$6F, {
111199
111130
  size: "small",
111200
111131
  style: normalizeStyle({
111201
111132
  ...getStatusStyle(),
@@ -112128,7 +112059,7 @@ const _sfc_main$4R = /*@__PURE__*/defineComponent({
112128
112059
  id: 'is_draft',
112129
112060
  cell: cellCtx => createVNode("div", {
112130
112061
  "class": "flex items-center"
112131
- }, [createVNode(_sfc_main$6F, {
112062
+ }, [createVNode(_sfc_main$6o, {
112132
112063
  "checked": !cellCtx.getValue(),
112133
112064
  "disabled": isReadonly(cellCtx.row.original),
112134
112065
  "onChange": async newValue => await updateProperty(cellCtx.row.original, 'is_draft', !newValue),
@@ -112811,7 +112742,7 @@ const _sfc_main$4O = /*@__PURE__*/defineComponent({
112811
112742
  id: 'status',
112812
112743
  cell: cellCtx => createVNode("div", {
112813
112744
  "class": "flex items-center"
112814
- }, [createVNode(_sfc_main$6F, {
112745
+ }, [createVNode(_sfc_main$6o, {
112815
112746
  "checked": !cellCtx.getValue(),
112816
112747
  "disabled": isReadonly(cellCtx.row.original),
112817
112748
  "onChange": async newValue => await updateProperty(cellCtx.row.original, 'is_draft', !newValue),
@@ -113140,7 +113071,7 @@ const _sfc_main$4N = /* @__PURE__ */ defineComponent({
113140
113071
  fetchLevel(props.currentFolder.id);
113141
113072
  });
113142
113073
  return (_ctx, _cache) => {
113143
- return openBlock(), createBlock(_sfc_main$6z, {
113074
+ return openBlock(), createBlock(_sfc_main$6A, {
113144
113075
  "on-update:show": () => emit("update:show", false),
113145
113076
  show: _ctx.show,
113146
113077
  style: normalizeStyle({ backgroundColor: unref(themeVars).base })
@@ -114337,7 +114268,7 @@ const _sfc_main$4J = /* @__PURE__ */ defineComponent({
114337
114268
  _cache[6] || (_cache[6] = createElementVNode("span", { class: "inline-block h-1 w-1 bg-text3 rounded-full" }, null, -1))
114338
114269
  ])
114339
114270
  ])) : (openBlock(), createElementBlock("div", _hoisted_12$m, [
114340
- !isFolder(unref(item)) ? (openBlock(), createBlock(_sfc_main$6E, {
114271
+ !isFolder(unref(item)) ? (openBlock(), createBlock(_sfc_main$6F, {
114341
114272
  key: 0,
114342
114273
  size: "small",
114343
114274
  style: normalizeStyle({
@@ -114465,7 +114396,7 @@ const _sfc_main$4H = /* @__PURE__ */ defineComponent({
114465
114396
  }
114466
114397
  const themeVars = useThemeVars();
114467
114398
  return (_ctx, _cache) => {
114468
- return openBlock(), createBlock(_sfc_main$6z, {
114399
+ return openBlock(), createBlock(_sfc_main$6A, {
114469
114400
  "on-update:show": (val) => emit("update:show", val),
114470
114401
  show: "",
114471
114402
  style: normalizeStyle({ backgroundColor: unref(themeVars).base })
@@ -115244,7 +115175,7 @@ const _sfc_main$4G = /*@__PURE__*/defineComponent({
115244
115175
  id: 'is_draft',
115245
115176
  cell: cellCtx => createVNode("div", {
115246
115177
  "class": "flex items-center"
115247
- }, [createVNode(_sfc_main$6F, {
115178
+ }, [createVNode(_sfc_main$6o, {
115248
115179
  "checked": !cellCtx.getValue(),
115249
115180
  "disabled": isReadonly(cellCtx.row.original),
115250
115181
  "onChange": async newValue => await onUpdateStatus(cellCtx.row.original, newValue ? CanvasStatus.READY : CanvasStatus.DRAFT),
@@ -116437,7 +116368,7 @@ const _sfc_main$4B = /*@__PURE__*/defineComponent({
116437
116368
  id: 'status',
116438
116369
  cell: cellCtx => createVNode("div", {
116439
116370
  "class": "flex items-center"
116440
- }, [createVNode(_sfc_main$6F, {
116371
+ }, [createVNode(_sfc_main$6o, {
116441
116372
  "checked": cellCtx.getValue() === CanvasThemeStatus.READY,
116442
116373
  "onChange": async newValue => await onUpdateStatus(cellCtx.row.original, !newValue ? CanvasThemeStatus.DRAFT : CanvasThemeStatus.READY),
116443
116374
  "themeOverrides": {
@@ -116811,7 +116742,7 @@ const _sfc_main$4A = /* @__PURE__ */ defineComponent({
116811
116742
  onClick: ($event) => emit("click", item.key)
116812
116743
  }, toDisplayString(item.label), 9, _hoisted_3$2b);
116813
116744
  }), 128)),
116814
- remainingItems.value.length ? (openBlock(), createBlock(_sfc_main$6y, {
116745
+ remainingItems.value.length ? (openBlock(), createBlock(_sfc_main$6z, {
116815
116746
  key: 0,
116816
116747
  placement: _ctx.rowIndex === 0 ? "bottom" : "top",
116817
116748
  trigger: "click"
@@ -116824,7 +116755,7 @@ const _sfc_main$4A = /* @__PURE__ */ defineComponent({
116824
116755
  default: withCtx(() => [
116825
116756
  createElementVNode("div", null, [
116826
116757
  (openBlock(true), createElementBlock(Fragment, null, renderList(remainingItems.value, (item, index) => {
116827
- return openBlock(), createBlock(_sfc_main$6E, {
116758
+ return openBlock(), createBlock(_sfc_main$6F, {
116828
116759
  key: index,
116829
116760
  class: normalizeClass(["mr-1 c-table-more__more-items", { "c-table-more__clickable": _ctx.isClickable, underline: _ctx.isClickable }]),
116830
116761
  round: false,
@@ -118292,7 +118223,7 @@ const _sfc_main$4u = /* @__PURE__ */ defineComponent({
118292
118223
  ref_for: true
118293
118224
  }, getIconDataForInfoBadge(indicator.icon)), null, 16, ["background-color", "color", "text", "variation"])), [
118294
118225
  [_directive_tooltip, indicator.tooltip_text]
118295
- ]) : indicator.type ? withDirectives((openBlock(), createBlock(_sfc_main$6E, {
118226
+ ]) : indicator.type ? withDirectives((openBlock(), createBlock(_sfc_main$6F, {
118296
118227
  key: 1,
118297
118228
  class: "mr-2",
118298
118229
  type: indicator.type
@@ -118751,7 +118682,7 @@ const _sfc_main$4r = /* @__PURE__ */ defineComponent({
118751
118682
  emit("search", value);
118752
118683
  }
118753
118684
  return (_ctx, _cache) => {
118754
- return openBlock(), createBlock(_sfc_main$6z, {
118685
+ return openBlock(), createBlock(_sfc_main$6A, {
118755
118686
  onEsc: handleClose,
118756
118687
  persistent: "",
118757
118688
  show: "",
@@ -119232,7 +119163,7 @@ const _sfc_main$4q = /*@__PURE__*/defineComponent({
119232
119163
  id: 'is_draft',
119233
119164
  cell: cellCtx => createVNode("div", {
119234
119165
  "class": "flex items-center"
119235
- }, [createVNode(_sfc_main$6F, {
119166
+ }, [createVNode(_sfc_main$6o, {
119236
119167
  "disabled": !!editingColumn.value?.id || isCanvasLocked(cellCtx.row.original.id),
119237
119168
  "checked": !cellCtx.getValue(),
119238
119169
  "onChange": async newValue => await updateProperty(cellCtx.row.original, 'is_draft', !newValue),
@@ -120181,7 +120112,7 @@ const _sfc_main$4o = /*@__PURE__*/defineComponent({
120181
120112
  id: 'is_draft',
120182
120113
  cell: cellCtx => createVNode("div", {
120183
120114
  "class": "flex items-center"
120184
- }, [createVNode(_sfc_main$6F, {
120115
+ }, [createVNode(_sfc_main$6o, {
120185
120116
  "disabled": true,
120186
120117
  "checked": !cellCtx.getValue(),
120187
120118
  "themeOverrides": {
@@ -120556,7 +120487,7 @@ const _sfc_main$4m = /* @__PURE__ */ defineComponent({
120556
120487
  });
120557
120488
  };
120558
120489
  return (_ctx, _cache) => {
120559
- return openBlock(), createBlock(_sfc_main$6y, {
120490
+ return openBlock(), createBlock(_sfc_main$6z, {
120560
120491
  class: "c-entity-selector",
120561
120492
  overlap: _ctx.overlap,
120562
120493
  placement: "top-start",
@@ -121812,8 +121743,8 @@ const _sfc_main$4g = /* @__PURE__ */ defineComponent({
121812
121743
  ],
121813
121744
  setup(__props, { emit: __emit }) {
121814
121745
  useCssVars((_ctx) => ({
121815
- "340c455c": unref(themeVars).base,
121816
- "409ab37d": unref(themeVars).primary4
121746
+ "3da35b40": unref(themeVars).base,
121747
+ "49a7913e": unref(themeVars).primary4
121817
121748
  }));
121818
121749
  const props = __props;
121819
121750
  const myUser = inject(
@@ -121824,10 +121755,6 @@ const _sfc_main$4g = /* @__PURE__ */ defineComponent({
121824
121755
  "pitcherInfo",
121825
121756
  computed(() => null)
121826
121757
  );
121827
- const launchDarkly = inject(
121828
- "launchDarkly",
121829
- computed(() => ({}))
121830
- );
121831
121758
  const emit = __emit;
121832
121759
  const appProps = inject("appProps");
121833
121760
  const vTooltip = tooltipDirective;
@@ -121941,10 +121868,10 @@ const _sfc_main$4g = /* @__PURE__ */ defineComponent({
121941
121868
  }, 8, ["color", "disabled", "text-color"])
121942
121869
  ]),
121943
121870
  _ctx.item.type === "file" ? (openBlock(), createElementBlock("div", _hoisted_3$20, [
121944
- withDirectives((openBlock(), createBlock(CButton, {
121871
+ createVNode(CButton, {
121945
121872
  circle: "",
121946
121873
  color: unref(themeVars).primary6,
121947
- disabled: unref(appProps)?.contentType.value === "file" || _ctx.item.content_type !== "pdf" || unref(launchDarkly).enable_file_divisible_permission && _ctx.item.permissions?.can_be_divided === false,
121874
+ disabled: unref(appProps)?.contentType.value === "file" || _ctx.item.content_type !== "pdf",
121948
121875
  "text-color": unref(themeVars).primary,
121949
121876
  onClick: _cache[1] || (_cache[1] = withModifiers(($event) => emit("itemExpanded", _ctx.item), ["stop"]))
121950
121877
  }, {
@@ -121952,12 +121879,7 @@ const _sfc_main$4g = /* @__PURE__ */ defineComponent({
121952
121879
  createVNode(CIcon, { icon: "angle-right" })
121953
121880
  ]),
121954
121881
  _: 1
121955
- }, 8, ["color", "disabled", "text-color"])), [
121956
- [
121957
- unref(vTooltip),
121958
- unref(launchDarkly).enable_file_divisible_permission && _ctx.item.permissions?.can_be_divided === false ? unref(t)("canvasUI.files.notDivisibleExpanded") : void 0
121959
- ]
121960
- ])
121882
+ }, 8, ["color", "disabled", "text-color"])
121961
121883
  ])) : createCommentVNode("", true),
121962
121884
  createVNode(_sfc_main$6K, {
121963
121885
  class: "rounded-2",
@@ -122088,7 +122010,7 @@ const _sfc_main$4g = /* @__PURE__ */ defineComponent({
122088
122010
  }
122089
122011
  });
122090
122012
 
122091
- const GridItem = /* @__PURE__ */ _export_sfc(_sfc_main$4g, [["__scopeId", "data-v-7c4db1d5"]]);
122013
+ const GridItem = /* @__PURE__ */ _export_sfc(_sfc_main$4g, [["__scopeId", "data-v-bd0629a2"]]);
122092
122014
 
122093
122015
  const _hoisted_1$3o = { class: "folders-files-pages-grid py-2 h-full" };
122094
122016
  const _hoisted_2$2x = {
@@ -122408,9 +122330,6 @@ const _sfc_main$4e = /* @__PURE__ */ defineComponent({
122408
122330
  // Not used here
122409
122331
  hasFile: computed(() => props.item.type === "file")
122410
122332
  });
122411
- const isExpandFileDisabled = computed(() => {
122412
- return props.isDisabled || appProps?.contentType.value === "file" || props.item.content_type !== "pdf" || launchDarkly.value.enable_file_divisible_permission && props.item.permissions?.can_be_divided === false;
122413
- });
122414
122333
  return (_ctx, _cache) => {
122415
122334
  const _directive_tooltip = resolveDirective("tooltip");
122416
122335
  return openBlock(), createElementBlock("div", {
@@ -122604,7 +122523,7 @@ const _sfc_main$4e = /* @__PURE__ */ defineComponent({
122604
122523
  key: 2,
122605
122524
  circle: "",
122606
122525
  class: "h-9 w-9",
122607
- disabled: isExpandFileDisabled.value,
122526
+ disabled: _ctx.isDisabled || unref(appProps)?.contentType.value === "file" || _ctx.item.content_type !== "pdf",
122608
122527
  secondary: "",
122609
122528
  type: "default",
122610
122529
  onClick: _cache[3] || (_cache[3] = withModifiers(($event) => emit("expand-file", _ctx.item), ["stop"]))
@@ -122618,10 +122537,7 @@ const _sfc_main$4e = /* @__PURE__ */ defineComponent({
122618
122537
  ]),
122619
122538
  _: 1
122620
122539
  }, 8, ["disabled"])), [
122621
- [
122622
- _directive_tooltip,
122623
- unref(launchDarkly).enable_file_divisible_permission && _ctx.item.permissions?.can_be_divided === false ? unref(t)("canvasUI.files.notDivisibleExpanded") : unref(t)("canvasUI.contentSelectorApp.contextMenu.expandFile")
122624
- ]
122540
+ [_directive_tooltip, unref(t)("canvasUI.contentSelectorApp.contextMenu.expandFile")]
122625
122541
  ]) : createCommentVNode("", true),
122626
122542
  unref(isDragNDropEnabled) && _ctx.item?.type !== "folder" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
122627
122543
  _ctx.isSelected ? (openBlock(), createBlock(CButton, {
@@ -127389,7 +127305,7 @@ const _sfc_main$3Q = /* @__PURE__ */ defineComponent({
127389
127305
  }),
127390
127306
  linkType.value === "web" ? (openBlock(), createElementBlock("div", _hoisted_5$1b, [
127391
127307
  createElementVNode("label", null, toDisplayString(unref(t)("canvasUI.components.fileViewer.linkAnnotation.urlInput")), 1),
127392
- createVNode(_sfc_main$6A, {
127308
+ createVNode(_sfc_main$6B, {
127393
127309
  value: urlInput.value,
127394
127310
  "onUpdate:value": _cache[1] || (_cache[1] = ($event) => urlInput.value = $event),
127395
127311
  placeholder: "https://www.example.com",
@@ -127456,7 +127372,7 @@ const _sfc_main$3Q = /* @__PURE__ */ defineComponent({
127456
127372
  createElementVNode("div", _hoisted_8$D, [
127457
127373
  createElementVNode("div", _hoisted_9$w, [
127458
127374
  createElementVNode("label", null, toDisplayString(unref(t)("canvasUI.components.fileViewer.linkAnnotation.trackingId")), 1),
127459
- createVNode(_sfc_main$6A, {
127375
+ createVNode(_sfc_main$6B, {
127460
127376
  value: trackingId.value,
127461
127377
  "onUpdate:value": _cache[5] || (_cache[5] = ($event) => trackingId.value = $event)
127462
127378
  }, null, 8, ["value"])
@@ -127556,7 +127472,7 @@ const _sfc_main$3P = /* @__PURE__ */ defineComponent({
127556
127472
  class: "c-file-viewer-copy-pages-metadata w-full",
127557
127473
  onKeydown: withKeys(closePopover, ["esc"])
127558
127474
  }, [
127559
- createVNode(_sfc_main$6y, {
127475
+ createVNode(_sfc_main$6z, {
127560
127476
  class: "min-w[400px]",
127561
127477
  placement: "bottom-end",
127562
127478
  scrollable: "",
@@ -127950,7 +127866,7 @@ const _sfc_main$3N = /* @__PURE__ */ defineComponent({
127950
127866
  }, 8, ["disabled", "style"]),
127951
127867
  createVNode(_sfc_main$6N, { closable: false }, createSlots({
127952
127868
  default: withCtx(() => [
127953
- _ctx.isLoadingInstanceMetadataTemplate ? (openBlock(), createBlock(_sfc_main$6p, {
127869
+ _ctx.isLoadingInstanceMetadataTemplate ? (openBlock(), createBlock(_sfc_main$6q, {
127954
127870
  key: 0,
127955
127871
  class: "flex h-full"
127956
127872
  })) : createCommentVNode("", true),
@@ -129841,7 +129757,7 @@ const _sfc_main$3L = /* @__PURE__ */ defineComponent({
129841
129757
  { immediate: true }
129842
129758
  );
129843
129759
  return (_ctx, _cache) => {
129844
- return openBlock(), createBlock(_sfc_main$6z, {
129760
+ return openBlock(), createBlock(_sfc_main$6A, {
129845
129761
  onEsc: onCloseFile,
129846
129762
  show: "",
129847
129763
  to: unref(appElem),
@@ -129918,7 +129834,7 @@ const _sfc_main$3L = /* @__PURE__ */ defineComponent({
129918
129834
  _: 3
129919
129835
  }, 8, ["style"])) : createCommentVNode("", true),
129920
129836
  !_ctx.file ? (openBlock(), createElementBlock("div", _hoisted_1$2V, [
129921
- createVNode(_sfc_main$6p, {
129837
+ createVNode(_sfc_main$6q, {
129922
129838
  color: unref(themeVars).primary,
129923
129839
  size: "large"
129924
129840
  }, null, 8, ["color"])
@@ -132286,7 +132202,7 @@ const _sfc_main$3t = /* @__PURE__ */ defineComponent({
132286
132202
  ]),
132287
132203
  createElementVNode("div", _hoisted_5$12, [
132288
132204
  createElementVNode("p", _hoisted_6$U, toDisplayString(unref(t)("canvasUI.components.CRatingFeedback.review")), 1),
132289
- createVNode(_sfc_main$6A, {
132205
+ createVNode(_sfc_main$6B, {
132290
132206
  autosize: { minRows: 3, maxRows: 3 },
132291
132207
  class: "rounded-1 border-primary6 text-sm",
132292
132208
  placeholder: unref(t)("canvasUI.components.CRatingFeedback.reviewPlaceholder"),
@@ -132704,7 +132620,7 @@ const _sfc_main$3q = /* @__PURE__ */ defineComponent({
132704
132620
  ])) : createCommentVNode("", true),
132705
132621
  createElementVNode("div", _hoisted_3$1u, [
132706
132622
  (openBlock(true), createElementBlock(Fragment, null, renderList(tagsToRender.value, (tag, index) => {
132707
- return openBlock(), createBlock(_sfc_main$6E, {
132623
+ return openBlock(), createBlock(_sfc_main$6F, {
132708
132624
  key: index,
132709
132625
  class: "truncate",
132710
132626
  round: ""
@@ -132931,7 +132847,7 @@ const _sfc_main$3o = /* @__PURE__ */ defineComponent({
132931
132847
  })) : createCommentVNode("", true)
132932
132848
  ]),
132933
132849
  isLoading.value ? (openBlock(), createElementBlock("div", _hoisted_3$1t, [
132934
- createVNode(_sfc_main$6p)
132850
+ createVNode(_sfc_main$6q)
132935
132851
  ])) : isEditing.value ? (openBlock(), createElementBlock("div", _hoisted_4$1b, [
132936
132852
  allowUsersInDistribution.value ? (openBlock(), createBlock(CUsersGroupsAccessManage, {
132937
132853
  key: 0,
@@ -133455,7 +133371,7 @@ const _sfc_main$3n = /* @__PURE__ */ defineComponent({
133455
133371
  _: 1
133456
133372
  }, 8, ["value", "placeholder"]),
133457
133373
  !hideApps.value || shouldShowBlocksTab.value ? (openBlock(), createElementBlock("div", _hoisted_1$2D, [
133458
- createVNode(_sfc_main$6E, {
133374
+ createVNode(_sfc_main$6F, {
133459
133375
  bordered: activeFilter.value === "basic" /* Basic */,
133460
133376
  class: "text-xs cursor-pointer",
133461
133377
  closable: activeFilter.value === "basic" /* Basic */,
@@ -133469,7 +133385,7 @@ const _sfc_main$3n = /* @__PURE__ */ defineComponent({
133469
133385
  ]),
133470
133386
  _: 1
133471
133387
  }, 8, ["bordered", "closable"]),
133472
- !hideApps.value ? (openBlock(), createBlock(_sfc_main$6E, {
133388
+ !hideApps.value ? (openBlock(), createBlock(_sfc_main$6F, {
133473
133389
  key: 0,
133474
133390
  bordered: activeFilter.value === "apps" /* Apps */,
133475
133391
  class: "text-xs cursor-pointer",
@@ -133484,7 +133400,7 @@ const _sfc_main$3n = /* @__PURE__ */ defineComponent({
133484
133400
  ]),
133485
133401
  _: 1
133486
133402
  }, 8, ["bordered", "closable"])) : createCommentVNode("", true),
133487
- shouldShowBlocksTab.value ? (openBlock(), createBlock(_sfc_main$6E, {
133403
+ shouldShowBlocksTab.value ? (openBlock(), createBlock(_sfc_main$6F, {
133488
133404
  key: 1,
133489
133405
  bordered: activeFilter.value === "blocks" /* Blocks */,
133490
133406
  class: "text-xs cursor-pointer",
@@ -134499,7 +134415,7 @@ const _sfc_main$3l = /* @__PURE__ */ defineComponent({
134499
134415
  })
134500
134416
  ]),
134501
134417
  createElementVNode("div", _hoisted_6$Q, [
134502
- createVNode(_sfc_main$6A, {
134418
+ createVNode(_sfc_main$6B, {
134503
134419
  ref_key: "searchRef",
134504
134420
  ref: searchRef,
134505
134421
  value: search.value,
@@ -134693,7 +134609,7 @@ const _sfc_main$3k = /* @__PURE__ */ defineComponent({
134693
134609
  }, 1032, ["circle", "onClick"])), [
134694
134610
  [_directive_tooltip, shortcut.tooltip || shortcut.displayName]
134695
134611
  ]);
134696
- }), 128)) : (openBlock(), createBlock(_sfc_main$6y, {
134612
+ }), 128)) : (openBlock(), createBlock(_sfc_main$6z, {
134697
134613
  key: 1,
134698
134614
  show: isPopoverVisible.value,
134699
134615
  "onUpdate:show": _cache[1] || (_cache[1] = ($event) => isPopoverVisible.value = $event),
@@ -135072,7 +134988,7 @@ const _sfc_main$3i = /* @__PURE__ */ defineComponent({
135072
134988
  ]);
135073
134989
  }), 128))
135074
134990
  ], 64)) : unref(shouldShowPopupApps) && !_ctx.inline ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
135075
- unref(hasMultipleApps) ? (openBlock(), createBlock(_sfc_main$6y, {
134991
+ unref(hasMultipleApps) ? (openBlock(), createBlock(_sfc_main$6z, {
135076
134992
  key: 0,
135077
134993
  placement: _ctx.placement,
135078
134994
  showArrow: true,
@@ -136603,7 +136519,7 @@ const _sfc_main$38 = /* @__PURE__ */ defineComponent({
136603
136519
  });
136604
136520
  return (_ctx, _cache) => {
136605
136521
  const _directive_tooltip = resolveDirective("tooltip");
136606
- return _ctx.selected ? (openBlock(), createBlock(_sfc_main$6y, {
136522
+ return _ctx.selected ? (openBlock(), createBlock(_sfc_main$6z, {
136607
136523
  key: 0,
136608
136524
  class: normalizeClass({
136609
136525
  "-top-1": _ctx.placement.includes("top"),
@@ -137954,19 +137870,37 @@ function useComponentPermissions({
137954
137870
  isAnyTypeOfAdmin: false
137955
137871
  }))
137956
137872
  );
137957
- const { canvasContent } = useCanvas$1();
137873
+ const launchDarkly = inject(
137874
+ "launchDarkly",
137875
+ computed(() => ({}))
137876
+ );
137877
+ const { canvasContent, activeCanvas } = useCanvas$1();
137958
137878
  return computed(() => {
137959
- if (!usedInSectionId.value) return calculateCanvasPermissions(id.value, !!pitcherInfo.value?.isAnyTypeOfAdmin);
137960
- const parent = findParentByNodeId(canvasContent.value, id.value);
137961
- const canRemove = !!when_used_in_section.value?.is_removable;
137962
- const canEdit = !!when_used_in_section.value?.is_editable;
137963
- const canDuplicate = parent ? !!parent.when_used_in_section?.is_editable : false;
137964
- return {
137965
- hasSomethingEditable: canEdit || canRemove || canDuplicate,
137966
- canRemove,
137967
- canEdit,
137968
- canDuplicate
137969
- };
137879
+ if (usedInSectionId.value) {
137880
+ const parent = findParentByNodeId(canvasContent.value, id.value);
137881
+ const canRemove = !!when_used_in_section.value?.is_removable;
137882
+ const canEdit = !!when_used_in_section.value?.is_editable;
137883
+ const canDuplicate = parent ? !!parent.when_used_in_section?.is_editable : false;
137884
+ return {
137885
+ hasSomethingEditable: canEdit || canRemove || canDuplicate,
137886
+ canRemove,
137887
+ canEdit,
137888
+ canDuplicate
137889
+ };
137890
+ }
137891
+ const hasExplicitPermissions = when_used_in_section.value !== null && when_used_in_section.value !== void 0 && (when_used_in_section.value.is_editable !== void 0 || when_used_in_section.value.is_removable !== void 0);
137892
+ if (activeCanvas.value?.template?.id && launchDarkly.value.enable_template_component_permissions && hasExplicitPermissions) {
137893
+ const canRemove = !!when_used_in_section.value?.is_removable;
137894
+ const canEdit = !!when_used_in_section.value?.is_editable;
137895
+ const canDuplicate = canEdit;
137896
+ return {
137897
+ hasSomethingEditable: canEdit || canRemove || canDuplicate,
137898
+ canRemove,
137899
+ canEdit,
137900
+ canDuplicate
137901
+ };
137902
+ }
137903
+ return calculateCanvasPermissions(id.value, !!pitcherInfo.value?.isAnyTypeOfAdmin);
137970
137904
  });
137971
137905
  }
137972
137906
 
@@ -139352,7 +139286,7 @@ const _sfc_main$2Y = /* @__PURE__ */ defineComponent({
139352
139286
  src: _ctx.item.file.content_url ?? void 0,
139353
139287
  title: unref(t)("canvasUI.collectionPlayer.webSlide")
139354
139288
  }, null, 8, _hoisted_2$1F)) : !_ctx.item.file || !_ctx.item.file.content_type ? (openBlock(), createElementBlock("div", _hoisted_3$1i, [
139355
- createVNode(_sfc_main$6p, {
139289
+ createVNode(_sfc_main$6q, {
139356
139290
  color: unref(themeVars).primary,
139357
139291
  size: "small"
139358
139292
  }, null, 8, ["color"])
@@ -139987,7 +139921,7 @@ const _sfc_main$2T = /* @__PURE__ */ defineComponent({
139987
139921
  setup(__props) {
139988
139922
  const { closeApp, inModal } = useAppStore$3();
139989
139923
  return (_ctx, _cache) => {
139990
- return unref(inModal) ? (openBlock(), createBlock(_sfc_main$6z, {
139924
+ return unref(inModal) ? (openBlock(), createBlock(_sfc_main$6A, {
139991
139925
  key: 0,
139992
139926
  class: "h-[100vh] w-[100vw]",
139993
139927
  show: "",
@@ -140178,7 +140112,7 @@ const _sfc_main$2S = /* @__PURE__ */ defineComponent({
140178
140112
  style: normalizeStyle({ aspectRatio: _ctx.aspectRatio })
140179
140113
  }, [
140180
140114
  unref(isOpenTableOfContents) ? (openBlock(), createBlock(_sfc_main$2W, { key: 0 })) : createCommentVNode("", true),
140181
- isLoading.value ? (openBlock(), createBlock(_sfc_main$6p, {
140115
+ isLoading.value ? (openBlock(), createBlock(_sfc_main$6q, {
140182
140116
  key: 1,
140183
140117
  color: unref(themeVars).primary,
140184
140118
  size: "large"
@@ -140732,7 +140666,7 @@ const _sfc_main$2R = /* @__PURE__ */ defineComponent({
140732
140666
  key: 0,
140733
140667
  onSelectCollectionContent: _cache[0] || (_cache[0] = ($event) => unref(selectContent)({ id: unref(id), initialData: unref(data) }))
140734
140668
  })) : needsFileResolution.value ? (openBlock(), createElementBlock("div", _hoisted_1$2d, [
140735
- createVNode(_sfc_main$6p, {
140669
+ createVNode(_sfc_main$6q, {
140736
140670
  color: unref(themeVars).primary,
140737
140671
  size: "large"
140738
140672
  }, null, 8, ["color"])
@@ -140776,7 +140710,7 @@ const _sfc_main$2R = /* @__PURE__ */ defineComponent({
140776
140710
  ]);
140777
140711
  }), 128))
140778
140712
  ])) : needsFileResolution.value ? (openBlock(), createElementBlock("div", _hoisted_6$K, [
140779
- createVNode(_sfc_main$6p, {
140713
+ createVNode(_sfc_main$6q, {
140780
140714
  color: unref(themeVars).primary,
140781
140715
  size: "large"
140782
140716
  }, null, 8, ["color"])
@@ -148505,7 +148439,7 @@ const _sfc_main$2i = /* @__PURE__ */ defineComponent({
148505
148439
  unref(computedMultimediaProps).data.type === "video" && !unref(isIosDevice) ? {
148506
148440
  name: "toolbar-slot",
148507
148441
  fn: withCtx(() => [
148508
- createVNode(_sfc_main$6y, {
148442
+ createVNode(_sfc_main$6z, {
148509
148443
  placement: "bottom",
148510
148444
  trigger: "click",
148511
148445
  width: 280
@@ -149498,7 +149432,7 @@ const _sfc_main$2g = /* @__PURE__ */ defineComponent({
149498
149432
  createElementVNode("span", _hoisted_3$13, toDisplayString(unref(t)("canvasUI.canvasBuilder.linkableComponent.unlink")), 1)
149499
149433
  ])) : createCommentVNode("", true)
149500
149434
  ]),
149501
- showLinkModal.value ? (openBlock(), createBlock(_sfc_main$6z, {
149435
+ showLinkModal.value ? (openBlock(), createBlock(_sfc_main$6A, {
149502
149436
  key: 0,
149503
149437
  bordered: false,
149504
149438
  class: "cb-linkable-settings",
@@ -154881,7 +154815,7 @@ const _sfc_main$1X = /* @__PURE__ */ defineComponent({
154881
154815
  _: 1
154882
154816
  }))
154883
154817
  ], 64)),
154884
- createVNode(_sfc_main$6z, {
154818
+ createVNode(_sfc_main$6A, {
154885
154819
  show: showModal.value,
154886
154820
  "onUpdate:show": _cache[6] || (_cache[6] = ($event) => showModal.value = $event),
154887
154821
  "mask-closable": !isEnhancedStatesEnabled.value,
@@ -155303,7 +155237,7 @@ const _sfc_main$1V = /* @__PURE__ */ defineComponent({
155303
155237
  const emit = __emit;
155304
155238
  const { t } = useI18n();
155305
155239
  return (_ctx, _cache) => {
155306
- return openBlock(), createBlock(_sfc_main$6A, {
155240
+ return openBlock(), createBlock(_sfc_main$6B, {
155307
155241
  autofocus: _ctx.autofocus,
155308
155242
  class: "c-search flex items-center justify-center border-primary5",
155309
155243
  clearable: "",
@@ -155525,7 +155459,7 @@ const _sfc_main$1U = /*@__PURE__*/defineComponent({
155525
155459
  "onUpdate:search": _cache[0] || (_cache[0] = $event => search.value = $event),
155526
155460
  class: "w-full max-w-[300px] min-w-[150px]",
155527
155461
  placeholder: unref(t)('canvasUI.canvasBuilder.sectionListRaw.searchPlaceholder')
155528
- }, null, 8, ["search", "placeholder"]), createVNode(_sfc_main$6y, {
155462
+ }, null, 8, ["search", "placeholder"]), createVNode(_sfc_main$6z, {
155529
155463
  class: "max-w-[220px] max-h-[400px] overflow-y-auto",
155530
155464
  placement: "bottom-end",
155531
155465
  "show-arrow": false,
@@ -155907,7 +155841,7 @@ const _sfc_main$1S = /* @__PURE__ */ defineComponent({
155907
155841
  computed(() => rootRef.value)
155908
155842
  );
155909
155843
  return (_ctx, _cache) => {
155910
- return openBlock(), createBlock(_sfc_main$6z, {
155844
+ return openBlock(), createBlock(_sfc_main$6A, {
155911
155845
  "auto-focus": true,
155912
155846
  class: "c-section-item-modal",
155913
155847
  show: "",
@@ -156943,7 +156877,9 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
156943
156877
  visible: {},
156944
156878
  allow_admins_to_overwrite: { type: Boolean },
156945
156879
  style: {},
156946
- printModeIdx: {}
156880
+ printModeIdx: {},
156881
+ when_used_in_section: {},
156882
+ usedInSectionId: { default: "" }
156947
156883
  },
156948
156884
  emits: ["style"],
156949
156885
  setup(__props, { emit: __emit }) {
@@ -156958,12 +156894,42 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
156958
156894
  computed(() => [])
156959
156895
  );
156960
156896
  const { isCompletionWizardEnabled, retriggerWizard } = useCanvasCompletionWizard();
156961
- const isEditable = computed(
156962
- () => isImpact.value ? !props.data.selection_strategy || props.data.selection_strategy === "free" || isCompletionWizardEnabled.value && wizardStepSectionListIds.value.includes(props.id) : true
156963
- );
156964
- const isRemovable = computed(
156965
- () => isImpact.value ? !props.data.selection_strategy || props.data.selection_strategy === "free" : true
156966
- );
156897
+ const {
156898
+ isImpact,
156899
+ mode,
156900
+ isEditMode,
156901
+ componentSelectedMode,
156902
+ isViewOnlyMode,
156903
+ componentEditMode,
156904
+ componentNodesById,
156905
+ activeCanvas,
156906
+ saveCanvasContentWithContext,
156907
+ removeComponentById,
156908
+ setComponentSelectedMode,
156909
+ setComponentSettingsMode,
156910
+ updateNodeDataById,
156911
+ canvasContent
156912
+ } = useCanvas$1();
156913
+ const { id, usedInSectionId, when_used_in_section } = toRefs(props);
156914
+ const componentPermissions = useComponentPermissions({
156915
+ id,
156916
+ usedInSectionId,
156917
+ when_used_in_section
156918
+ });
156919
+ const isEditable = computed(() => {
156920
+ if (!componentPermissions.value.canEdit) return false;
156921
+ if (isImpact.value) {
156922
+ return !props.data.selection_strategy || props.data.selection_strategy === "free" || isCompletionWizardEnabled.value && wizardStepSectionListIds.value.includes(props.id);
156923
+ }
156924
+ return true;
156925
+ });
156926
+ const isRemovable = computed(() => {
156927
+ if (!componentPermissions.value.canRemove) return false;
156928
+ if (isImpact.value) {
156929
+ return !props.data.selection_strategy || props.data.selection_strategy === "free";
156930
+ }
156931
+ return true;
156932
+ });
156967
156933
  const sectionSelectorAppSrc = computed(() => {
156968
156934
  if (!sectionSelectorApps.value?.length || !props.data.selection_app_name) return null;
156969
156935
  const relatedApp = sectionSelectorApps.value.find((app) => app.app_metadata?.name === props.data.selection_app_name);
@@ -157030,7 +156996,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
157030
156996
  async (selectedData) => {
157031
156997
  console.info(`[SectionList]: Received done callback for ${props.id} with data`, selectedData);
157032
156998
  if (!selectedData) return;
157033
- const sections = (selectedData?.section_ids || []).map((id) => ({ id: typeof id === "string" ? id : id.id }));
156999
+ const sections = (selectedData?.section_ids || []).map((id2) => ({ id: typeof id2 === "string" ? id2 : id2.id }));
157034
157000
  const updatedData = { ...props.data, sections };
157035
157001
  updateNodeDataById(props.id, updatedData);
157036
157002
  const currentContext = cloneDeep(activeCanvas.value?.context || {});
@@ -157056,22 +157022,6 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
157056
157022
  sectionListRef.value?.toggleSectionSelector();
157057
157023
  }
157058
157024
  }
157059
- const {
157060
- isImpact,
157061
- mode,
157062
- isEditMode,
157063
- componentSelectedMode,
157064
- isViewOnlyMode,
157065
- componentEditMode,
157066
- componentNodesById,
157067
- activeCanvas,
157068
- saveCanvasContentWithContext,
157069
- removeComponentById,
157070
- setComponentSelectedMode,
157071
- setComponentSettingsMode,
157072
- updateNodeDataById,
157073
- canvasContent
157074
- } = useCanvas$1();
157075
157025
  return (_ctx, _cache) => {
157076
157026
  return openBlock(), createElementBlock(Fragment, null, [
157077
157027
  unref(shouldDisplayPlaceholderComponent)(unref(isEditMode), unref(mode), _ctx.visible) ? (openBlock(), createBlock(PlaceholderComponent, {
@@ -157079,25 +157029,25 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
157079
157029
  name: _ctx.tracking_id
157080
157030
  }, null, 8, ["name"])) : unref(isEditMode) && !unref(isViewOnlyMode) ? (openBlock(), createBlock(_sfc_main$34, {
157081
157031
  key: 1,
157082
- id: _ctx.id,
157083
- active: unref(componentEditMode) && unref(componentEditMode)?.id === _ctx.id,
157032
+ id: unref(id),
157033
+ active: unref(componentEditMode) && unref(componentEditMode)?.id === unref(id),
157084
157034
  class: normalizeClass({ "mt-12": sectionListName.value }),
157085
157035
  edit: isEditable.value,
157086
157036
  "exclude-stylables": [unref(ThemeComponentOptionEnum).COLOR_PICKER],
157087
157037
  remove: isRemovable.value,
157088
- selected: unref(componentSelectedMode) && unref(componentSelectedMode)?.id === _ctx.id,
157038
+ selected: unref(componentSelectedMode) && unref(componentSelectedMode)?.id === unref(id),
157089
157039
  settings: "",
157090
157040
  stylable: "",
157091
157041
  style: normalizeStyle(unref(omit$1)(_ctx.style, "paddingBottom", "paddingLeft", "paddingTop", "paddingRight")),
157092
157042
  onEdit: handleEdit,
157093
- onRemove: _cache[0] || (_cache[0] = ($event) => unref(removeComponentById)(_ctx.id)),
157094
- onSelect: _cache[1] || (_cache[1] = ($event) => unref(setComponentSelectedMode)(_ctx.id)),
157095
- onSettings: _cache[2] || (_cache[2] = ($event) => unref(setComponentSettingsMode)(_ctx.id)),
157043
+ onRemove: _cache[0] || (_cache[0] = ($event) => unref(removeComponentById)(unref(id))),
157044
+ onSelect: _cache[1] || (_cache[1] = ($event) => unref(setComponentSelectedMode)(unref(id))),
157045
+ onSettings: _cache[2] || (_cache[2] = ($event) => unref(setComponentSettingsMode)(unref(id))),
157096
157046
  onStyle: _cache[3] || (_cache[3] = ($event) => emit("style", $event))
157097
157047
  }, {
157098
157048
  default: withCtx(() => [
157099
157049
  createVNode(RawSectionList, mergeProps({
157100
- id: _ctx.id,
157050
+ id: unref(id),
157101
157051
  ref_key: "sectionListRef",
157102
157052
  ref: sectionListRef,
157103
157053
  class: "pa-2",
@@ -157115,7 +157065,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
157115
157065
  _: 1
157116
157066
  }, 8, ["id", "active", "class", "edit", "exclude-stylables", "remove", "selected", "style"])) : (openBlock(), createBlock(RawSectionList, mergeProps({
157117
157067
  key: 2,
157118
- id: _ctx.id,
157068
+ id: unref(id),
157119
157069
  data: _ctx.data
157120
157070
  }, unref(attrs), {
157121
157071
  "has-section-selector-app": !!sectionSelectorAppSrc.value,
@@ -159643,7 +159593,8 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
159643
159593
  autofill: {},
159644
159594
  linkable: {},
159645
159595
  autofill_content_types: {},
159646
- when_used_in_section: {}
159596
+ when_used_in_section: {},
159597
+ usedInSectionId: { default: "" }
159647
159598
  },
159648
159599
  emits: ["style"],
159649
159600
  setup(__props, { emit: __emit }) {
@@ -159654,12 +159605,42 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
159654
159605
  computed(() => [])
159655
159606
  );
159656
159607
  const { isCompletionWizardEnabled, retriggerWizard } = useCanvasCompletionWizard();
159657
- const isEditable = computed(
159658
- () => isImpact.value ? !props.data.selection_strategy || props.data.selection_strategy === "free" || isCompletionWizardEnabled.value && wizardStepSectionListIds.value.includes(props.id) : true
159659
- );
159660
- const isRemovable = computed(
159661
- () => isImpact.value ? !props.data.selection_strategy || props.data.selection_strategy === "free" : true
159662
- );
159608
+ const {
159609
+ isImpact,
159610
+ mode,
159611
+ isEditMode,
159612
+ componentSelectedMode,
159613
+ isViewOnlyMode,
159614
+ componentEditMode,
159615
+ componentNodesById,
159616
+ activeCanvas,
159617
+ saveCanvasContentWithContext,
159618
+ removeComponentById,
159619
+ setComponentSelectedMode,
159620
+ setComponentSettingsMode,
159621
+ updateNodeDataById,
159622
+ canvasContent
159623
+ } = useCanvas$1();
159624
+ const { id, usedInSectionId, when_used_in_section } = toRefs(props);
159625
+ const componentPermissions = useComponentPermissions({
159626
+ id,
159627
+ usedInSectionId,
159628
+ when_used_in_section
159629
+ });
159630
+ const isEditable = computed(() => {
159631
+ if (!componentPermissions.value.canEdit) return false;
159632
+ if (isImpact.value) {
159633
+ return !props.data.selection_strategy || props.data.selection_strategy === "free" || isCompletionWizardEnabled.value && wizardStepSectionListIds.value.includes(props.id);
159634
+ }
159635
+ return true;
159636
+ });
159637
+ const isRemovable = computed(() => {
159638
+ if (!componentPermissions.value.canRemove) return false;
159639
+ if (isImpact.value) {
159640
+ return !props.data.selection_strategy || props.data.selection_strategy === "free";
159641
+ }
159642
+ return true;
159643
+ });
159663
159644
  const sectionSelectorAppSrc = computed(() => {
159664
159645
  if (!sectionSelectorApps.value?.length || !props.data.selection_app_name) return null;
159665
159646
  const relatedApp = sectionSelectorApps.value.find((app) => app.app_metadata?.name === props.data.selection_app_name);
@@ -159725,7 +159706,7 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
159725
159706
  async (selectedData) => {
159726
159707
  console.info(`[SectionList]: Received done callback for ${props.id} with data`, selectedData);
159727
159708
  if (!selectedData) return;
159728
- const sections = (selectedData?.section_ids || []).map((id) => ({ id: typeof id === "string" ? id : id.id }));
159709
+ const sections = (selectedData?.section_ids || []).map((id2) => ({ id: typeof id2 === "string" ? id2 : id2.id }));
159729
159710
  const updatedData = { ...props.data, sections };
159730
159711
  updateNodeDataById(props.id, updatedData);
159731
159712
  const currentContext = cloneDeep(activeCanvas.value?.context || {});
@@ -159751,22 +159732,6 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
159751
159732
  contentListRef.value?.toggleSectionSelector();
159752
159733
  }
159753
159734
  }
159754
- const {
159755
- isImpact,
159756
- mode,
159757
- isEditMode,
159758
- componentSelectedMode,
159759
- isViewOnlyMode,
159760
- componentEditMode,
159761
- componentNodesById,
159762
- activeCanvas,
159763
- saveCanvasContentWithContext,
159764
- removeComponentById,
159765
- setComponentSelectedMode,
159766
- setComponentSettingsMode,
159767
- updateNodeDataById,
159768
- canvasContent
159769
- } = useCanvas$1();
159770
159735
  return (_ctx, _cache) => {
159771
159736
  return openBlock(), createElementBlock(Fragment, null, [
159772
159737
  unref(shouldDisplayPlaceholderComponent)(unref(isEditMode), unref(mode), _ctx.visible) ? (openBlock(), createBlock(PlaceholderComponent, {
@@ -159774,25 +159739,25 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
159774
159739
  name: _ctx.tracking_id
159775
159740
  }, null, 8, ["name"])) : unref(isEditMode) && !unref(isViewOnlyMode) ? (openBlock(), createBlock(_sfc_main$34, {
159776
159741
  key: 1,
159777
- id: _ctx.id,
159778
- active: unref(componentEditMode) && unref(componentEditMode)?.id === _ctx.id,
159742
+ id: unref(id),
159743
+ active: unref(componentEditMode) && unref(componentEditMode)?.id === unref(id),
159779
159744
  class: normalizeClass({ "mt-12": componentName.value }),
159780
159745
  edit: isEditable.value,
159781
159746
  "exclude-stylables": [unref(ThemeComponentOptionEnum).COLOR_PICKER],
159782
159747
  remove: isRemovable.value,
159783
- selected: unref(componentSelectedMode) && unref(componentSelectedMode)?.id === _ctx.id,
159748
+ selected: unref(componentSelectedMode) && unref(componentSelectedMode)?.id === unref(id),
159784
159749
  settings: "",
159785
159750
  stylable: "",
159786
159751
  style: normalizeStyle(unref(omit$1)(_ctx.style, "paddingBottom", "paddingLeft", "paddingTop", "paddingRight")),
159787
159752
  onEdit: handleEdit,
159788
- onRemove: _cache[0] || (_cache[0] = ($event) => unref(removeComponentById)(_ctx.id)),
159789
- onSelect: _cache[1] || (_cache[1] = ($event) => unref(setComponentSelectedMode)(_ctx.id)),
159790
- onSettings: _cache[2] || (_cache[2] = ($event) => unref(setComponentSettingsMode)(_ctx.id)),
159753
+ onRemove: _cache[0] || (_cache[0] = ($event) => unref(removeComponentById)(unref(id))),
159754
+ onSelect: _cache[1] || (_cache[1] = ($event) => unref(setComponentSelectedMode)(unref(id))),
159755
+ onSettings: _cache[2] || (_cache[2] = ($event) => unref(setComponentSettingsMode)(unref(id))),
159791
159756
  onStyle: _cache[3] || (_cache[3] = ($event) => emit("style", $event))
159792
159757
  }, {
159793
159758
  default: withCtx(() => [
159794
159759
  createVNode(ContentListRaw, mergeProps({
159795
- id: _ctx.id,
159760
+ id: unref(id),
159796
159761
  ref_key: "contentListRef",
159797
159762
  ref: contentListRef,
159798
159763
  class: ["pa-2", props.class],
@@ -159810,7 +159775,7 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
159810
159775
  _: 1
159811
159776
  }, 8, ["id", "active", "class", "edit", "exclude-stylables", "remove", "selected", "style"])) : (openBlock(), createBlock(ContentListRaw, mergeProps({
159812
159777
  key: 2,
159813
- id: _ctx.id,
159778
+ id: unref(id),
159814
159779
  data: _ctx.data
159815
159780
  }, unref(attrs), {
159816
159781
  "has-section-selector-app": !!sectionSelectorAppSrc.value,
@@ -161068,7 +161033,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
161068
161033
  showCustomSize.value ? (openBlock(), createElementBlock("div", _hoisted_3$N, [
161069
161034
  createElementVNode("div", _hoisted_4$F, [
161070
161035
  createElementVNode("label", _hoisted_5$y, toDisplayString(unref(t)("canvasUI.components.CPdfDimensionsSelector.width")), 1),
161071
- createVNode(_sfc_main$6A, {
161036
+ createVNode(_sfc_main$6B, {
161072
161037
  value: localWidthValue.value,
161073
161038
  "onUpdate:value": [
161074
161039
  _cache[0] || (_cache[0] = ($event) => localWidthValue.value = $event),
@@ -161081,7 +161046,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
161081
161046
  ]),
161082
161047
  createElementVNode("div", _hoisted_6$u, [
161083
161048
  createElementVNode("label", _hoisted_7$j, toDisplayString(unref(t)("canvasUI.components.CPdfDimensionsSelector.height")), 1),
161084
- createVNode(_sfc_main$6A, {
161049
+ createVNode(_sfc_main$6B, {
161085
161050
  value: localHeightValue.value,
161086
161051
  "onUpdate:value": [
161087
161052
  _cache[1] || (_cache[1] = ($event) => localHeightValue.value = $event),
@@ -161769,7 +161734,7 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
161769
161734
  ]),
161770
161735
  _: 1
161771
161736
  }, 8, ["label"]),
161772
- createVNode(_sfc_main$6A, {
161737
+ createVNode(_sfc_main$6B, {
161773
161738
  value: unref(backgroundVideoUrl),
161774
161739
  "onUpdate:value": _cache[6] || (_cache[6] = ($event) => isRef(backgroundVideoUrl) ? backgroundVideoUrl.value = $event : null),
161775
161740
  placeholder: unref(t)("canvasUI.canvasBuilder.canvasDrawerTheme.backgroundVideoLabel"),
@@ -161977,7 +161942,7 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
161977
161942
  ]),
161978
161943
  _: 1
161979
161944
  }, 8, ["label"]),
161980
- createVNode(_sfc_main$6A, {
161945
+ createVNode(_sfc_main$6B, {
161981
161946
  value: unref(backgroundVideoUrl),
161982
161947
  "onUpdate:value": _cache[18] || (_cache[18] = ($event) => isRef(backgroundVideoUrl) ? backgroundVideoUrl.value = $event : null),
161983
161948
  placeholder: unref(t)("canvasUI.canvasBuilder.canvasDrawerTheme.backgroundVideoLabel"),
@@ -162722,7 +162687,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
162722
162687
  );
162723
162688
  const areSectionsSystemControlled = computed(() => launchDarkly.value?.are_sections_system_controlled);
162724
162689
  const allowEditOrRemove = computed(
162725
- () => (selectedComponentType.value === ComponentTypes.Text || selectedComponentType.value === ComponentTypes.Carousel || selectedComponentType.value === ComponentTypes.Multimedia) && isAdmin.value && isSection.value
162690
+ () => isAdmin.value && ((selectedComponentType.value === ComponentTypes.Text || selectedComponentType.value === ComponentTypes.Carousel || selectedComponentType.value === ComponentTypes.Multimedia) && isSection.value || launchDarkly.value.enable_template_component_permissions && isCanvasTemplate.value)
162726
162691
  );
162727
162692
  const canSelectSectionListStrategy = computed(
162728
162693
  () => isAdmin.value && isCanvasTemplate.value && isSectionOrContentList.value
@@ -162784,7 +162749,8 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
162784
162749
  formValues.contentGridDataAccessor = value || "";
162785
162750
  }
162786
162751
  function getEditOrRemoveOption() {
162787
- const map = activeSettingsNode.value?.when_used_in_section ?? cloneDeep(defaultWhenUsedInSection);
162752
+ const defaultPermissions = isCanvasTemplate.value && launchDarkly.value.enable_template_component_permissions ? { is_editable: true, is_removable: true } : cloneDeep(defaultWhenUsedInSection);
162753
+ const map = activeSettingsNode.value?.when_used_in_section ?? defaultPermissions;
162788
162754
  let value = "";
162789
162755
  value += map.is_editable ? "1" : "0";
162790
162756
  value += map.is_removable ? "1" : "0";
@@ -163285,7 +163251,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
163285
163251
  }
163286
163252
  });
163287
163253
 
163288
- const ComponentDrawerSettings = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["__scopeId", "data-v-dce6a881"]]);
163254
+ const ComponentDrawerSettings = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["__scopeId", "data-v-1ab19780"]]);
163289
163255
 
163290
163256
  function useConnectUpload() {
163291
163257
  async function uploadToConnect(formData) {
@@ -164519,7 +164485,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
164519
164485
  createElementVNode("div", _hoisted_23$1, [
164520
164486
  createElementVNode("div", _hoisted_24$1, toDisplayString(prop.key), 1),
164521
164487
  createElementVNode("div", _hoisted_25$1, [
164522
- createVNode(_sfc_main$6A, {
164488
+ createVNode(_sfc_main$6B, {
164523
164489
  value: prop.display_name,
164524
164490
  "onUpdate:value": ($event) => prop.display_name = $event,
164525
164491
  class: "bg-primary6 border-primary6 flex-1 max-w-[400px]",
@@ -165221,7 +165187,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
165221
165187
  createElementVNode("div", _hoisted_9$a, [
165222
165188
  createElementVNode("div", _hoisted_10$6, [
165223
165189
  createElementVNode("div", _hoisted_11$6, toDisplayString(unref(t)("canvasUI.canvasBuilder.customDataTable.path")), 1),
165224
- createVNode(_sfc_main$6A, {
165190
+ createVNode(_sfc_main$6B, {
165225
165191
  value: level.path,
165226
165192
  "onUpdate:value": ($event) => level.path = $event,
165227
165193
  placeholder: unref(t)("canvasUI.canvasBuilder.customDataTable.pathPlaceholder")
@@ -165229,7 +165195,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
165229
165195
  ]),
165230
165196
  level.type === "group" ? (openBlock(), createElementBlock("div", _hoisted_12$3, [
165231
165197
  createElementVNode("div", _hoisted_13$3, toDisplayString(unref(t)("canvasUI.canvasBuilder.customDataTable.groupByKey")), 1),
165232
- createVNode(_sfc_main$6A, {
165198
+ createVNode(_sfc_main$6B, {
165233
165199
  value: level.group_by_key,
165234
165200
  "onUpdate:value": ($event) => level.group_by_key = $event,
165235
165201
  placeholder: unref(t)("canvasUI.canvasBuilder.customDataTable.groupByKeyPlaceholder")
@@ -165304,7 +165270,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
165304
165270
  createElementVNode("div", _hoisted_18$1, [
165305
165271
  createElementVNode("div", _hoisted_19$1, toDisplayString(col.key), 1),
165306
165272
  createElementVNode("div", _hoisted_20$1, [
165307
- createVNode(_sfc_main$6A, {
165273
+ createVNode(_sfc_main$6B, {
165308
165274
  value: col.display_name,
165309
165275
  "onUpdate:value": ($event) => col.display_name = $event,
165310
165276
  class: "bg-primary6 border-primary6 flex-1 max-w-[400px]",
@@ -165485,7 +165451,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
165485
165451
  _: 1
165486
165452
  }),
165487
165453
  createElementVNode("div", _hoisted_28, toDisplayString(unref(t)("canvasUI.canvasBuilder.customDataTable.addColumn")), 1),
165488
- createVNode(_sfc_main$6A, {
165454
+ createVNode(_sfc_main$6B, {
165489
165455
  value: newColumnKey.value,
165490
165456
  "onUpdate:value": _cache[3] || (_cache[3] = ($event) => newColumnKey.value = $event),
165491
165457
  placeholder: unref(t)("canvasUI.canvasBuilder.customDataTable.addColumnPlaceholder"),
@@ -165515,7 +165481,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
165515
165481
  createElementVNode("div", _hoisted_30, [
165516
165482
  createElementVNode("div", _hoisted_31, toDisplayString(unref(t)("canvasUI.canvasBuilder.customDataTable.header")), 1),
165517
165483
  createElementVNode("div", _hoisted_32, toDisplayString(unref(t)("canvasUI.canvasBuilder.customDataTable.headerHelp")), 1),
165518
- createVNode(_sfc_main$6A, {
165484
+ createVNode(_sfc_main$6B, {
165519
165485
  value: headerPath.value,
165520
165486
  "onUpdate:value": _cache[4] || (_cache[4] = ($event) => headerPath.value = $event),
165521
165487
  placeholder: unref(t)("canvasUI.canvasBuilder.customDataTable.headerPathPlaceholder"),
@@ -165525,7 +165491,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
165525
165491
  createElementVNode("div", null, [
165526
165492
  createElementVNode("div", _hoisted_33, toDisplayString(unref(t)("canvasUI.canvasBuilder.customDataTable.footer")), 1),
165527
165493
  createElementVNode("div", _hoisted_34, toDisplayString(unref(t)("canvasUI.canvasBuilder.customDataTable.footerHelp")), 1),
165528
- createVNode(_sfc_main$6A, {
165494
+ createVNode(_sfc_main$6B, {
165529
165495
  value: footerPath.value,
165530
165496
  "onUpdate:value": _cache[5] || (_cache[5] = ($event) => footerPath.value = $event),
165531
165497
  placeholder: unref(t)("canvasUI.canvasBuilder.customDataTable.footerPathPlaceholder"),
@@ -166976,7 +166942,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
166976
166942
  label: labels.name
166977
166943
  }, unref(bindValidation)("name"), { required: "" }), {
166978
166944
  default: withCtx(() => [
166979
- createVNode(_sfc_main$6A, {
166945
+ createVNode(_sfc_main$6B, {
166980
166946
  value: form.name,
166981
166947
  "onUpdate:value": _cache[0] || (_cache[0] = ($event) => form.name = $event),
166982
166948
  disabled: isCanvasLocked.value,
@@ -167043,7 +167009,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
167043
167009
  label: labels.thumbnailUrl
167044
167010
  }, {
167045
167011
  default: withCtx(() => [
167046
- createVNode(_sfc_main$6A, {
167012
+ createVNode(_sfc_main$6B, {
167047
167013
  value: form.thumbnailUrl,
167048
167014
  "onUpdate:value": _cache[6] || (_cache[6] = ($event) => form.thumbnailUrl = $event),
167049
167015
  disabled: isCanvasLocked.value,
@@ -167378,7 +167344,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
167378
167344
  }
167379
167345
  }
167380
167346
  return (_ctx, _cache) => {
167381
- return openBlock(), createBlock(_sfc_main$6z, {
167347
+ return openBlock(), createBlock(_sfc_main$6A, {
167382
167348
  class: "min-w-[720px] bg-base rounded-2",
167383
167349
  show: "",
167384
167350
  "z-index": 1200
@@ -167389,7 +167355,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
167389
167355
  createElementVNode("div", _hoisted_3$D, toDisplayString(unref(t)("canvasUI.canvasBuilder.components.aiPrompt.title")) + " (PIA) ", 1)
167390
167356
  ]),
167391
167357
  createElementVNode("div", _hoisted_4$x, [
167392
- createVNode(_sfc_main$6A, {
167358
+ createVNode(_sfc_main$6B, {
167393
167359
  value: prompt.value,
167394
167360
  "onUpdate:value": _cache[0] || (_cache[0] = ($event) => prompt.value = $event),
167395
167361
  class: "w-full rounded-lg min-h-[250px] text-base z-5",
@@ -167826,7 +167792,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
167826
167792
  [unref(vTooltip), app.app_metadata?.display_name || app.name]
167827
167793
  ]);
167828
167794
  }), 128)),
167829
- shouldShowPopover.value ? (openBlock(), createBlock(_sfc_main$6y, {
167795
+ shouldShowPopover.value ? (openBlock(), createBlock(_sfc_main$6z, {
167830
167796
  key: 0,
167831
167797
  placement: _ctx.placement,
167832
167798
  showArrow: true,
@@ -169702,7 +169668,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
169702
169668
  ])
169703
169669
  ])
169704
169670
  ]),
169705
- createVNode(_sfc_main$6z, {
169671
+ createVNode(_sfc_main$6A, {
169706
169672
  show: showCancelConfirmation.value,
169707
169673
  "onUpdate:show": [
169708
169674
  _cache[1] || (_cache[1] = ($event) => showCancelConfirmation.value = $event),
@@ -172056,7 +172022,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
172056
172022
  }
172057
172023
  });
172058
172024
  return (_ctx, _cache) => {
172059
- return openBlock(), createBlock(_sfc_main$6z, {
172025
+ return openBlock(), createBlock(_sfc_main$6A, {
172060
172026
  "on-esc": close,
172061
172027
  show: "",
172062
172028
  "z-index": _ctx.zIndex
@@ -172182,7 +172148,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
172182
172148
  });
172183
172149
  return (_ctx, _cache) => {
172184
172150
  return openBlock(), createElementBlock(Fragment, null, [
172185
- createVNode(_sfc_main$6z, {
172151
+ createVNode(_sfc_main$6A, {
172186
172152
  "auto-focus": false,
172187
172153
  show: "",
172188
172154
  to: _ctx.attachTo,
@@ -172227,7 +172193,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
172227
172193
  _: 1
172228
172194
  }, 16, ["model-value", "onUpdate:modelValue"]),
172229
172195
  unref(isLoadingFiles) || !unref(areRequiredFilesLoaded) ? (openBlock(), createElementBlock("div", _hoisted_3$t, [
172230
- createVNode(_sfc_main$6p, {
172196
+ createVNode(_sfc_main$6q, {
172231
172197
  color: unref(themeVars).primary,
172232
172198
  size: "large"
172233
172199
  }, null, 8, ["color"])
@@ -173321,7 +173287,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
173321
173287
  }
173322
173288
  });
173323
173289
  return (_ctx, _cache) => {
173324
- return openBlock(), createBlock(_sfc_main$6z, {
173290
+ return openBlock(), createBlock(_sfc_main$6A, {
173325
173291
  "on-esc": close,
173326
173292
  show: "",
173327
173293
  "z-index": _ctx.zIndex
@@ -173410,7 +173376,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
173410
173376
  });
173411
173377
  return (_ctx, _cache) => {
173412
173378
  return openBlock(), createElementBlock(Fragment, null, [
173413
- createVNode(_sfc_main$6z, {
173379
+ createVNode(_sfc_main$6A, {
173414
173380
  "auto-focus": false,
173415
173381
  show: "",
173416
173382
  to: _ctx.attachTo,
@@ -174567,7 +174533,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
174567
174533
  }
174568
174534
  });
174569
174535
  return (_ctx, _cache) => {
174570
- return openBlock(), createBlock(_sfc_main$6z, {
174536
+ return openBlock(), createBlock(_sfc_main$6A, {
174571
174537
  "on-esc": close,
174572
174538
  show: "",
174573
174539
  "z-index": _ctx.zIndex
@@ -174669,7 +174635,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
174669
174635
  initialize();
174670
174636
  return (_ctx, _cache) => {
174671
174637
  return openBlock(), createElementBlock(Fragment, null, [
174672
- createVNode(_sfc_main$6z, {
174638
+ createVNode(_sfc_main$6A, {
174673
174639
  "auto-focus": false,
174674
174640
  show: "",
174675
174641
  to: _ctx.attachTo,
@@ -174703,7 +174669,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
174703
174669
  _: 1
174704
174670
  }, 16, ["disabled", "model-value", "onUpdate:modelValue"])
174705
174671
  ], 64)) : (openBlock(), createElementBlock("div", _hoisted_3$l, [
174706
- createVNode(_sfc_main$6p, {
174672
+ createVNode(_sfc_main$6q, {
174707
174673
  color: unref(themeVars).primary,
174708
174674
  size: "large"
174709
174675
  }, null, 8, ["color"])
@@ -175152,7 +175118,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
175152
175118
  default: withCtx(() => [
175153
175119
  createElementVNode("div", _hoisted_1$v, [
175154
175120
  createElementVNode("div", _hoisted_2$m, toDisplayString(unref(t)("canvasUI.browserApp.panel.title")), 1),
175155
- unref(apiGetters).isLoading ? (openBlock(), createBlock(_sfc_main$6p, {
175121
+ unref(apiGetters).isLoading ? (openBlock(), createBlock(_sfc_main$6q, {
175156
175122
  key: 0,
175157
175123
  class: "m-a"
175158
175124
  })) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
@@ -175213,7 +175179,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
175213
175179
  })
175214
175180
  ]),
175215
175181
  createElementVNode("div", _hoisted_3$h, [
175216
- _ctx.isLoading ? (openBlock(), createBlock(_sfc_main$6p, {
175182
+ _ctx.isLoading ? (openBlock(), createBlock(_sfc_main$6q, {
175217
175183
  key: 0,
175218
175184
  class: "m-a"
175219
175185
  })) : renderSlot(_ctx.$slots, "default", { key: 1 }, void 0, true)
@@ -177003,7 +176969,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
177003
176969
  const { selectedItemIds, isContentPanelOpen, displayedFavorites } = useAppStore$4();
177004
176970
  const getTypedItem = (item) => item;
177005
176971
  return (_ctx, _cache) => {
177006
- return unref(apiState).isFetchingFavorites ? (openBlock(), createBlock(_sfc_main$6p, {
176972
+ return unref(apiState).isFetchingFavorites ? (openBlock(), createBlock(_sfc_main$6q, {
177007
176973
  key: 0,
177008
176974
  class: "flex h-full"
177009
176975
  })) : (openBlock(), createElementBlock("div", {
@@ -177059,7 +177025,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
177059
177025
  await fetchTemplate();
177060
177026
  });
177061
177027
  return (_ctx, _cache) => {
177062
- return unref(apiState).isFetchingRecentFiles ? (openBlock(), createBlock(_sfc_main$6p, {
177028
+ return unref(apiState).isFetchingRecentFiles ? (openBlock(), createBlock(_sfc_main$6q, {
177063
177029
  key: 0,
177064
177030
  class: "flex h-full"
177065
177031
  })) : (openBlock(), createElementBlock("div", {
@@ -178215,7 +178181,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
178215
178181
  const { appName } = useAppStore$4();
178216
178182
  return (_ctx, _cache) => {
178217
178183
  return openBlock(), createElementBlock("div", _hoisted_1$f, [
178218
- createVNode(_sfc_main$6B, {
178184
+ createVNode(_sfc_main$6C, {
178219
178185
  modelValue: form.value,
178220
178186
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => form.value = $event),
178221
178187
  "app-name": unref(appName)
@@ -178433,7 +178399,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
178433
178399
  });
178434
178400
  return (_ctx, _cache) => {
178435
178401
  return openBlock(), createElementBlock(Fragment, null, [
178436
- createVNode(_sfc_main$6z, {
178402
+ createVNode(_sfc_main$6A, {
178437
178403
  class: "max-h-[calc(100vh-48px)]",
178438
178404
  show: true
178439
178405
  }, {
@@ -178723,7 +178689,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
178723
178689
  ]),
178724
178690
  createElementVNode("div", _hoisted_11, [
178725
178691
  upload.uploadStatus === "transferring" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
178726
- createVNode(_sfc_main$6p, {
178692
+ createVNode(_sfc_main$6q, {
178727
178693
  class: "mr-1",
178728
178694
  size: "small"
178729
178695
  }),
@@ -184457,5 +184423,5 @@ const localeNames = {
184457
184423
  };
184458
184424
  const localeDropdownOptions = supportedLocales.map((locale) => ({ key: locale, name: localeNames[locale] }));
184459
184425
 
184460
- export { ADMIN_API_METHOD_TYPES, ADMIN_API_TYPES, ADMIN_MESSAGE, ADMIN_MESSAGE_TYPES, APPS_DB, AccessTypeEnum, App$3 as AgendaSelectorApp, AppTypeEnum, _sfc_main as AssetsManagerApp, App$1 as Browser, BulkUpdateMetadataOperationEnum, BulkUpdateTagsOperationEnum, CALL_STORAGE_KEY, CANVASES, CANVAS_HOOKS, CANVAS_TYPOGRAPHY_CSS_PROPERTIES, CANVAS_TYPOGRAPHY_PRESETS, CAlgoliaSearch, CAssignedCanvasesManagement, _sfc_main$4p as CAssignedCanvasesManagementToolbar, _sfc_main$6r as CAvatar, _sfc_main$4O as CBlockManagement, CButton, _sfc_main$5f as CCanvasDeleteDialogContent, _sfc_main$5g as CCanvasMetadataFilters, CCanvasSelector, _sfc_main$6V as CCard, CCarousel, _sfc_main$3G as CCatalogIqSwitcher, _sfc_main$6U as CCheckbox, _sfc_main$3A as CChip, CCollapse, _sfc_main$6R as CCollapseItem, _sfc_main$6q as CCollapseTransition, NColorPicker as CColorPicker, CComponentListItem, CConfigEditor, NConfigProvider as CConfigProvider, _sfc_main$6h as CConfirmationAction, CConfirmationContent, CConfirmationHeader, CConfirmationModal, CContactSelector, CContactSelectorSelected, _sfc_main$68 as CContentError, _sfc_main$65 as CCreateCanvasModal, _sfc_main$64 as CCreateTemplateSectionBlockModal, _sfc_main$5V as CCreateThemeModal, CDP_EVENT_TYPE, CDataTable, NDatePicker as CDatePicker, CDateRangeFilter, CDetailPageSectionButtons, NDialogProvider as CDialogProvider, _sfc_main$6P as CDivider, _sfc_main$6O as CDrawer, _sfc_main$6N as CDrawerContent, _sfc_main$6M as CDropdown, _sfc_main$6o as CEmpty, _sfc_main$4m as CEntitySelector, _sfc_main$6L as CErrorFullScreen, _sfc_main$6n as CFeedback, _sfc_main$3o as CFileAccessManagement, _sfc_main$6B as CFileAttributes, _sfc_main$3p as CFilePanel, _sfc_main$6I as CFileThumbnail, CFileViewer, CFilesAccessInfo, _sfc_main$3$ as CFilesAccessManage, _sfc_main$3I as CFilesFolderDeleteDialogContent, NForm as CForm, NFormItem as CFormItem, NFormItemCol as CFormItemCol, NFormItemGridItem as CFormItemGi, NFormItemGridItem as CFormItemGridItem, FormItemRow as CFormItemRow, _sfc_main$4h as CFullScreenLoader, NGridItem as CGi, CGlobalLoader, _sfc_main$5O as CGlobalSearch, GlobalStyle as CGlobalStyle, NGrid as CGrid, NGridItem as CGridItem, CGroupsAccessInfo, NH1 as CH1, NH2 as CH2, NH3 as CH3, NH4 as CH4, NH5 as CH5, NH6 as CH6, _sfc_main$6m as CHelpText, CIcon, _sfc_main$6K as CImage, _sfc_main$4W as CInfoBadge, _sfc_main$6A as CInput, NInputNumber as CInputNumber, _sfc_main$3y as CKnockNotificationsAppWrapper, CLIENT_TYPE, NLayout as CLayout, NLayoutContent as CLayoutContent, LayoutFooter as CLayoutFooter, LayoutHeader as CLayoutHeader, LayoutSider as CLayoutSider, _sfc_main$4X as CList, NMessageProvider as CMessageProvider, _sfc_main$5L as CMetaDataBadge, _sfc_main$6z as CModal, CMonacoEditor, CMovableWidget, CMultiSelect, NNotificationProvider as CNotificationProvider, NPagination as CPagination, _sfc_main$6l as CPillSelect, _sfc_main$6y as CPopover, _sfc_main$6J as CProcessingOverlay, NProgress as CProgress, _sfc_main$5s as CRichTextEditor, _sfc_main$4q as CSavedCanvasesManagement, CSearch, _sfc_main$6w as CSearchOnClick, CSearchOnClickWithSuggestions, CSecondaryNav, _sfc_main$4R as CSectionManagement, CSelect, CSelectFilter, _sfc_main$3x as CSettingsEditor, CShortcut, CSingleSelect, NSkeleton as CSkeleton, _sfc_main$3C as CSlideViewer, NSpace as CSpace, _sfc_main$6p as CSpin, _sfc_main$6F as CSwitch, CTable, _sfc_main$5c as CTableInput, CTableMore, CTableSelect, CTableTag, _sfc_main$6E as CTag, CTags, CTemplateAccessInfo, _sfc_main$3_ as CTemplateAccessManage, _sfc_main$4G as CTemplateManagement, text as CText, _sfc_main$6u as CThemeEditor, _sfc_main$4B as CThemeManagement, _sfc_main$5l as CToastProvider, CToolbar, _sfc_main$6s as CTooltip, CUpsertFolderModal, _sfc_main$5p as CUserAvatar, CUserMenu, CUsersAccessInfo, CUsersGroupsAccessManage, _sfc_main$5m as CVirtualTable, _sfc_main$48 as CWarningAlert, CallState, CanvasActions, _sfc_main$15 as CanvasBuilderApp, CanvasBuilderMode, CanvasExcludedComponentTypesEnum, CanvasHistoryAction, App as CanvasSelector, CanvasStatus, CanvasThemeStatus, CanvasesViewsTypes, CollaborationRoleEnum, CollectionPlayerApp, App$4 as CollectionSelectorApp, ComponentIcon, ComponentTypes, ContactSelectorQuickFilterType, ContentGridLayoutTypes, ContentSelector, CoreFolderEntityType, DATE_TIME_FORMAT, DEFAULT_ADMIN_TABLE_HEIGHT, DEFAULT_ADMIN_TABLE_WITH_PAGINATION_HEIGHT, DEFAULT_GLOBAL_COMPONENT_SPACING, DEFAULT_GLOBAL_COMPONENT_SPACING_INTERVAL, DEFAULT_ITEMS_PER_PAGE, DEFAULT_PAGE_SIZE, DEFAULT_PAGE_SIZE_OPTIONS, DEFAULT_PEER_CONNECTIVITY_VERSION, DEFAULT_PITCHER_SETTINGS, DSR_API_METHOD_TYPES, DSR_API_TYPES, DSR_MESSAGE, DSR_MESSAGE_TYPES, DSR_TYPE, DefaultExpiresAtEnum, DownloadTypeEnum, EMBED_TYPE, EventAction, EventExternalObjectContentTypeEnum, EventStatusEnum, FileContentTypeEnum, FileStatusEnum, FileTypeEnum, GlobalSearchResultType, GridLayoutTypes, HIDE_IF_EMPTY_COMPONENT_ID_TAG_PREFIX, HIDE_IF_EMPTY_COMPONENT_TRACKING_ID_TAG_PREFIX, HIDE_TAGS_WITH_PREFIX, HtmlLayoutTypes, IFRAME_ACTION_TYPES, IFRAME_DATA_MESSAGE, INITIAL_CALL_STATE, IS_DEV_ORG, IS_LOCALHOST, InstanceMembershipRoleEnum, InstanceMembershipUserStatusEnum, InvitationStatusEnum, LanguageEnum, LinkAlignmentTypes, LinkAnchorTypes, LinkPreviewTypes, MAX_LUMINANCE_FOR_LIGHT_TEXT, MAX_UPLOAD_SIZE, MIN_DIFFERENCE_IN_MINUTES, MetadataTemplateFieldTypeEnum, MultimediaHorizontalAlignmentOptions, NON_MEMBER_ROLES, NotesApp, OperatorEnum, PAPER_SIZE_PRESETS, PEER_CONNECTIVITY_EVENT, PEER_CONNECTIVITY_HANDLER_MATCH_ALL, PITCHER_EVENT, PITCHER_SETTINGS_KEY, PLATFORM_TYPE, PRINT_SCALE_FACTOR, PeerConnectivityActions, PitcherBroadcastedEventName, PitcherEventName, PitcherExternalEventName, PitcherMessageType, PitcherResponseStatus, PostAction, App$2 as PptConversionSelectorApp, REQUEST_DEFAULT_CANCEL_TIMEOUT, SEARCH_DEBOUNCE_TIME, SUPPORTED_FONT_EXTENSIONS, SUPPORTED_FONT_TYPES, SUPPORTED_IMAGE_EXTENSIONS, SUPPORTED_IMAGE_TYPES, SUPPORTED_UPLOAD_FILE_EXTENSIONS, SUPPORTED_VIDEO_EXTENSIONS, SUPPORTED_VIDEO_TYPES, SfEventColors, SfEventColorsLight, StorageRegionEnum, TRACKING_EVENTS_STORAGE_KEY, UI_API_METHOD_TYPES, UI_MESSAGE, UI_MESSAGE_TYPES, UI_NATIVE_MESSAGE_TYPES, UserRoleEnum, ViewCompactItemType, addCanvasComponent, _export as agendaSelector, appRequiresCrm, applyCanvasThemeAssetsToNode, applyFont, applyToTreeBy, autofocus as autofocusDirective, camelCaseKeys, canvasUiUnoPreset, clearLocalStorageIfNeeded, ClickOutsideDirective as clickOutsideDirective, collectAllNodesByCondition, _export$3 as collectionPlayer, _export$2 as collectionSelector, componentIconType, computeLocalStorageBytes, convertSecondsToMinutes, convertSoqlToSmartQuery, convertToPixels, convertToSosl, createNodeId, createPitcherSettings, dayjs, deepDiff, deepToRaw, derivePatchRequestFields, determineUserRole, discardSectionComponentOverride, displayBytesWithMUnit, displayIntegerWithMunit, doesLocalOverrideExist, doesNotHaveAnyModuleOrHookSpecified, downloadFile, draggable as draggableDirective, elementMounted as elementMountedDirective, escapeSoqlString, evaluateAccessor, evaluateIsExecutedCondition, evaluateIsExecutedForPascalCaseEvent, executeWithDoublingTime, exitFullscreen, extractFieldNamesFromCondition, fallbackLocale, fetchAll, fetchAllWithOffset, fetchFirstChunkAndRemainingAsync, filterSidebarApps, filterTreeBy, findAllEmbeddableTypesInCanvasContent, findAllEmbeddableTypesInSectionsContent, findEmbeddableInCanvasContent, findEmbeddableInSectionsContent, findNodeInTreeByCondition, findNodeInTreeById, findNodeInTreeByType, findParentByNodeId, formatDate, formatDateDetailed, formatDateTime, formatDateTimeAgo, formatDayMonthBasedOnBrowserLang, formatDimensionForGotenberg, generateAIThumbnailUrl, getAllPages, getAppConfigFromAppSource, getAvailableApis, getComponentDescription, getComponentKeywords, getComponentTitle, getContrastTextColor, getDefinedProps, getEventColor, getExcessItemsIndexes, getFontAwesomeIconNameAndType, getImageSize, getLocalOverrideUrl, getLuminance, getNextPageParam, getNodeDisplayNameByComponentType, getNumberWithRegex, getPageQuantity, getPageRange, getPreviewUrl, getRoleIcon, getSectionGlobalComponentSpacing, handleThemeAssetComparison, hasAppTypeDefined, highLevelApi, indirectEval, insertItemSorted, isAfter, isBefore, isBeforeMinDate, isCanvasDrawerApp, isCanvasSectionExecution, isEmbeddableWithZeroHeight, isFileViewerReplacement, isFirefox, isFullscreen, isHeadlessOrNotAvailableApp, isImageAccessible, isIosDevice, isMac, isMobile, isModifierClick, isNonMemberRole, isOriginValid, isPastMaxDate, isPitcherOrIosDevice, isPitcherWkWebView, isPostcallApp, isQueryParamTruthy, isSafari, isSafariOnIosDevice, isSameOrAfter, isSameOrBefore, isTextComponentEmpty, isTheUiItself, isTouchScreen, isValidHex, isWindows, lightThemeOverrides, loadCustomHelpersFromApps, loadRemoteScriptWithCtx, loadScript, loadScriptStyle, loadStyle, localeDropdownOptions, localeNames, locales, minFutureDate, minPastDate, moveNodeTo, msToSeconds, navigateTo, normalizeFilterParams, normalizeNetworkFilterParams, openUsdz, parseCollectionPlayerSlidesToContentSelector, parseContentSelectorToCollectionPlayerSlides, parseFileToCollectionPlayer, parsePdfFileToCollectionPlayer, parsePptxFileToCollectionPlayer, pascalCaseKeys, _export$1 as pptConversionSelector, processCanvasForSectionThemeOverride, regenerateTreeIds, registerCustomHelper, registerCustomHelpers, registerPeerConnectivityHandler, renderTemplate, replaceThemePresetsWithInlineStyles, replaceTranslationMessagesWithOverrides, requestFullscreen, requestStream, scrollCanvasToTop, scrollToComponentById, secondsToHumanReadable, sendPeerConnectivityEvent, setDateTime, shouldDisplayPlaceholderComponent, shouldOpenInCollectionPlayerViewer, shouldShowEmbeddable, shouldShowInSidebar, skipElementsInTree, snakeCaseKeys, someNodeInTree, sortCollectionByString, splitUserName, stringToHslColor, supportedLocales, tapDirective, titleCase, toggleFullscreen, tooltipDirective, transformFilesToCollectionPlayer, transformFilesToContentGrid, updateFirstCollectionPlayerWithShareboxItems, updateFirstContentGridWithShareboxItems, urlSafeFetchInChunks, useAdmin, useAdminAndDsrState, useApi, useAppsDb, useBindValidation, useBroadcastRouteChange, useCanvasById, useCanvasLocks, useCanvasOverlay, useCanvasVisibility, useCanvasesAsInfinity, useCollectionPlayerOverlay, useCommentTracking, useConfirmation, useCreateEvent, useDeleteEvent, useDsr, useFetchCanvases, useFetchEvents, useFetchUsers, useFileDisplayHelpers, useFolderNameDescription, useGlobalSearch, useInfiniteScroll, useLocation, useMetadataSearch, useMetadataTemplates, useNotesApp, useNotification, useOpenFileStack, usePitcherApi, usePolling, usePresentationHistory, useRecentFiles, useShareCanvas, useSharedCommentsStorage, useSmartStore, useSuggestedTags, useTheme, useThemeVars, useToast, useUi, useUpdateEvent, useWindowEvents, vueQueryPluginOptions, wait, waitForIframeInitialize, waitForValue };
184426
+ export { ADMIN_API_METHOD_TYPES, ADMIN_API_TYPES, ADMIN_MESSAGE, ADMIN_MESSAGE_TYPES, APPS_DB, AccessTypeEnum, App$3 as AgendaSelectorApp, AppTypeEnum, _sfc_main as AssetsManagerApp, App$1 as Browser, BulkUpdateMetadataOperationEnum, BulkUpdateTagsOperationEnum, CALL_STORAGE_KEY, CANVASES, CANVAS_HOOKS, CANVAS_TYPOGRAPHY_CSS_PROPERTIES, CANVAS_TYPOGRAPHY_PRESETS, CAlgoliaSearch, CAssignedCanvasesManagement, _sfc_main$4p as CAssignedCanvasesManagementToolbar, _sfc_main$6s as CAvatar, _sfc_main$4O as CBlockManagement, CButton, _sfc_main$5f as CCanvasDeleteDialogContent, _sfc_main$5g as CCanvasMetadataFilters, CCanvasSelector, _sfc_main$6V as CCard, CCarousel, _sfc_main$3G as CCatalogIqSwitcher, _sfc_main$6U as CCheckbox, _sfc_main$3A as CChip, CCollapse, _sfc_main$6R as CCollapseItem, _sfc_main$6r as CCollapseTransition, NColorPicker as CColorPicker, CComponentListItem, CConfigEditor, NConfigProvider as CConfigProvider, _sfc_main$6h as CConfirmationAction, CConfirmationContent, CConfirmationHeader, CConfirmationModal, CContactSelector, CContactSelectorSelected, _sfc_main$68 as CContentError, _sfc_main$65 as CCreateCanvasModal, _sfc_main$64 as CCreateTemplateSectionBlockModal, _sfc_main$5V as CCreateThemeModal, CDP_EVENT_TYPE, CDataTable, NDatePicker as CDatePicker, CDateRangeFilter, CDetailPageSectionButtons, NDialogProvider as CDialogProvider, _sfc_main$6P as CDivider, _sfc_main$6O as CDrawer, _sfc_main$6N as CDrawerContent, _sfc_main$6M as CDropdown, _sfc_main$6p as CEmpty, _sfc_main$4m as CEntitySelector, _sfc_main$6L as CErrorFullScreen, _sfc_main$6n as CFeedback, _sfc_main$3o as CFileAccessManagement, _sfc_main$6C as CFileAttributes, _sfc_main$3p as CFilePanel, _sfc_main$6I as CFileThumbnail, CFileViewer, CFilesAccessInfo, _sfc_main$3$ as CFilesAccessManage, _sfc_main$3I as CFilesFolderDeleteDialogContent, NForm as CForm, NFormItem as CFormItem, NFormItemCol as CFormItemCol, NFormItemGridItem as CFormItemGi, NFormItemGridItem as CFormItemGridItem, FormItemRow as CFormItemRow, _sfc_main$4h as CFullScreenLoader, NGridItem as CGi, CGlobalLoader, _sfc_main$5O as CGlobalSearch, GlobalStyle as CGlobalStyle, NGrid as CGrid, NGridItem as CGridItem, CGroupsAccessInfo, NH1 as CH1, NH2 as CH2, NH3 as CH3, NH4 as CH4, NH5 as CH5, NH6 as CH6, _sfc_main$6m as CHelpText, CIcon, _sfc_main$6K as CImage, _sfc_main$4W as CInfoBadge, _sfc_main$6B as CInput, NInputNumber as CInputNumber, _sfc_main$3y as CKnockNotificationsAppWrapper, CLIENT_TYPE, NLayout as CLayout, NLayoutContent as CLayoutContent, LayoutFooter as CLayoutFooter, LayoutHeader as CLayoutHeader, LayoutSider as CLayoutSider, _sfc_main$4X as CList, NMessageProvider as CMessageProvider, _sfc_main$5L as CMetaDataBadge, _sfc_main$6A as CModal, CMonacoEditor, CMovableWidget, CMultiSelect, NNotificationProvider as CNotificationProvider, NPagination as CPagination, _sfc_main$6l as CPillSelect, _sfc_main$6z as CPopover, _sfc_main$6J as CProcessingOverlay, NProgress as CProgress, _sfc_main$5s as CRichTextEditor, _sfc_main$4q as CSavedCanvasesManagement, CSearch, _sfc_main$6x as CSearchOnClick, CSearchOnClickWithSuggestions, CSecondaryNav, _sfc_main$4R as CSectionManagement, CSelect, CSelectFilter, _sfc_main$3x as CSettingsEditor, CShortcut, CSingleSelect, NSkeleton as CSkeleton, _sfc_main$3C as CSlideViewer, NSpace as CSpace, _sfc_main$6q as CSpin, _sfc_main$6o as CSwitch, CTable, _sfc_main$5c as CTableInput, CTableMore, CTableSelect, CTableTag, _sfc_main$6F as CTag, CTags, CTemplateAccessInfo, _sfc_main$3_ as CTemplateAccessManage, _sfc_main$4G as CTemplateManagement, text as CText, _sfc_main$6v as CThemeEditor, _sfc_main$4B as CThemeManagement, _sfc_main$5l as CToastProvider, CToolbar, _sfc_main$6t as CTooltip, CUpsertFolderModal, _sfc_main$5p as CUserAvatar, CUserMenu, CUsersAccessInfo, CUsersGroupsAccessManage, _sfc_main$5m as CVirtualTable, _sfc_main$48 as CWarningAlert, CallState, CanvasActions, _sfc_main$15 as CanvasBuilderApp, CanvasBuilderMode, CanvasExcludedComponentTypesEnum, CanvasHistoryAction, App as CanvasSelector, CanvasStatus, CanvasThemeStatus, CanvasesViewsTypes, CollaborationRoleEnum, CollectionPlayerApp, App$4 as CollectionSelectorApp, ComponentIcon, ComponentTypes, ContactSelectorQuickFilterType, ContentGridLayoutTypes, ContentSelector, CoreFolderEntityType, DATE_TIME_FORMAT, DEFAULT_ADMIN_TABLE_HEIGHT, DEFAULT_ADMIN_TABLE_WITH_PAGINATION_HEIGHT, DEFAULT_GLOBAL_COMPONENT_SPACING, DEFAULT_GLOBAL_COMPONENT_SPACING_INTERVAL, DEFAULT_ITEMS_PER_PAGE, DEFAULT_PAGE_SIZE, DEFAULT_PAGE_SIZE_OPTIONS, DEFAULT_PEER_CONNECTIVITY_VERSION, DEFAULT_PITCHER_SETTINGS, DSR_API_METHOD_TYPES, DSR_API_TYPES, DSR_MESSAGE, DSR_MESSAGE_TYPES, DSR_TYPE, DefaultExpiresAtEnum, DownloadTypeEnum, EMBED_TYPE, EventAction, EventExternalObjectContentTypeEnum, EventStatusEnum, FileContentTypeEnum, FileStatusEnum, FileTypeEnum, GlobalSearchResultType, GridLayoutTypes, HIDE_IF_EMPTY_COMPONENT_ID_TAG_PREFIX, HIDE_IF_EMPTY_COMPONENT_TRACKING_ID_TAG_PREFIX, HIDE_TAGS_WITH_PREFIX, HtmlLayoutTypes, IFRAME_ACTION_TYPES, IFRAME_DATA_MESSAGE, INITIAL_CALL_STATE, IS_DEV_ORG, IS_LOCALHOST, InstanceMembershipRoleEnum, InstanceMembershipUserStatusEnum, InvitationStatusEnum, LanguageEnum, LinkAlignmentTypes, LinkAnchorTypes, LinkPreviewTypes, MAX_LUMINANCE_FOR_LIGHT_TEXT, MAX_UPLOAD_SIZE, MIN_DIFFERENCE_IN_MINUTES, MetadataTemplateFieldTypeEnum, MultimediaHorizontalAlignmentOptions, NON_MEMBER_ROLES, NotesApp, OperatorEnum, PAPER_SIZE_PRESETS, PEER_CONNECTIVITY_EVENT, PEER_CONNECTIVITY_HANDLER_MATCH_ALL, PITCHER_EVENT, PITCHER_SETTINGS_KEY, PLATFORM_TYPE, PRINT_SCALE_FACTOR, PeerConnectivityActions, PitcherBroadcastedEventName, PitcherEventName, PitcherExternalEventName, PitcherMessageType, PitcherResponseStatus, PostAction, App$2 as PptConversionSelectorApp, REQUEST_DEFAULT_CANCEL_TIMEOUT, SEARCH_DEBOUNCE_TIME, SUPPORTED_FONT_EXTENSIONS, SUPPORTED_FONT_TYPES, SUPPORTED_IMAGE_EXTENSIONS, SUPPORTED_IMAGE_TYPES, SUPPORTED_UPLOAD_FILE_EXTENSIONS, SUPPORTED_VIDEO_EXTENSIONS, SUPPORTED_VIDEO_TYPES, SfEventColors, SfEventColorsLight, StorageRegionEnum, TRACKING_EVENTS_STORAGE_KEY, UI_API_METHOD_TYPES, UI_MESSAGE, UI_MESSAGE_TYPES, UI_NATIVE_MESSAGE_TYPES, UserRoleEnum, ViewCompactItemType, addCanvasComponent, _export as agendaSelector, appRequiresCrm, applyCanvasThemeAssetsToNode, applyFont, applyToTreeBy, autofocus as autofocusDirective, camelCaseKeys, canvasUiUnoPreset, clearLocalStorageIfNeeded, ClickOutsideDirective as clickOutsideDirective, collectAllNodesByCondition, _export$3 as collectionPlayer, _export$2 as collectionSelector, componentIconType, computeLocalStorageBytes, convertSecondsToMinutes, convertSoqlToSmartQuery, convertToPixels, convertToSosl, createNodeId, createPitcherSettings, dayjs, deepDiff, deepToRaw, derivePatchRequestFields, determineUserRole, discardSectionComponentOverride, displayBytesWithMUnit, displayIntegerWithMunit, doesLocalOverrideExist, doesNotHaveAnyModuleOrHookSpecified, downloadFile, draggable as draggableDirective, elementMounted as elementMountedDirective, escapeSoqlString, evaluateAccessor, evaluateIsExecutedCondition, evaluateIsExecutedForPascalCaseEvent, executeWithDoublingTime, exitFullscreen, extractFieldNamesFromCondition, fallbackLocale, fetchAll, fetchAllWithOffset, fetchFirstChunkAndRemainingAsync, filterSidebarApps, filterTreeBy, findAllEmbeddableTypesInCanvasContent, findAllEmbeddableTypesInSectionsContent, findEmbeddableInCanvasContent, findEmbeddableInSectionsContent, findNodeInTreeByCondition, findNodeInTreeById, findNodeInTreeByType, findParentByNodeId, formatDate, formatDateDetailed, formatDateTime, formatDateTimeAgo, formatDayMonthBasedOnBrowserLang, formatDimensionForGotenberg, generateAIThumbnailUrl, getAllPages, getAppConfigFromAppSource, getAvailableApis, getComponentDescription, getComponentKeywords, getComponentTitle, getContrastTextColor, getDefinedProps, getEventColor, getExcessItemsIndexes, getFontAwesomeIconNameAndType, getImageSize, getLocalOverrideUrl, getLuminance, getNextPageParam, getNodeDisplayNameByComponentType, getNumberWithRegex, getPageQuantity, getPageRange, getPreviewUrl, getRoleIcon, getSectionGlobalComponentSpacing, handleThemeAssetComparison, hasAppTypeDefined, highLevelApi, indirectEval, insertItemSorted, isAfter, isBefore, isBeforeMinDate, isCanvasDrawerApp, isCanvasSectionExecution, isEmbeddableWithZeroHeight, isFileViewerReplacement, isFirefox, isFullscreen, isHeadlessOrNotAvailableApp, isImageAccessible, isIosDevice, isMac, isMobile, isModifierClick, isNonMemberRole, isOriginValid, isPastMaxDate, isPitcherOrIosDevice, isPitcherWkWebView, isPostcallApp, isQueryParamTruthy, isSafari, isSafariOnIosDevice, isSameOrAfter, isSameOrBefore, isTextComponentEmpty, isTheUiItself, isTouchScreen, isValidHex, isWindows, lightThemeOverrides, loadCustomHelpersFromApps, loadRemoteScriptWithCtx, loadScript, loadScriptStyle, loadStyle, localeDropdownOptions, localeNames, locales, minFutureDate, minPastDate, moveNodeTo, msToSeconds, navigateTo, normalizeFilterParams, normalizeNetworkFilterParams, openUsdz, parseCollectionPlayerSlidesToContentSelector, parseContentSelectorToCollectionPlayerSlides, parseFileToCollectionPlayer, parsePdfFileToCollectionPlayer, parsePptxFileToCollectionPlayer, pascalCaseKeys, _export$1 as pptConversionSelector, processCanvasForSectionThemeOverride, regenerateTreeIds, registerCustomHelper, registerCustomHelpers, registerPeerConnectivityHandler, renderTemplate, replaceThemePresetsWithInlineStyles, replaceTranslationMessagesWithOverrides, requestFullscreen, requestStream, scrollCanvasToTop, scrollToComponentById, secondsToHumanReadable, sendPeerConnectivityEvent, setDateTime, shouldDisplayPlaceholderComponent, shouldOpenInCollectionPlayerViewer, shouldShowEmbeddable, shouldShowInSidebar, skipElementsInTree, snakeCaseKeys, someNodeInTree, sortCollectionByString, splitUserName, stringToHslColor, supportedLocales, tapDirective, titleCase, toggleFullscreen, tooltipDirective, transformFilesToCollectionPlayer, transformFilesToContentGrid, updateFirstCollectionPlayerWithShareboxItems, updateFirstContentGridWithShareboxItems, urlSafeFetchInChunks, useAdmin, useAdminAndDsrState, useApi, useAppsDb, useBindValidation, useBroadcastRouteChange, useCanvasById, useCanvasLocks, useCanvasOverlay, useCanvasVisibility, useCanvasesAsInfinity, useCollectionPlayerOverlay, useCommentTracking, useConfirmation, useCreateEvent, useDeleteEvent, useDsr, useFetchCanvases, useFetchEvents, useFetchUsers, useFileDisplayHelpers, useFolderNameDescription, useGlobalSearch, useInfiniteScroll, useLocation, useMetadataSearch, useMetadataTemplates, useNotesApp, useNotification, useOpenFileStack, usePitcherApi, usePolling, usePresentationHistory, useRecentFiles, useShareCanvas, useSharedCommentsStorage, useSmartStore, useSuggestedTags, useTheme, useThemeVars, useToast, useUi, useUpdateEvent, useWindowEvents, vueQueryPluginOptions, wait, waitForIframeInitialize, waitForValue };
184461
184427
  //# sourceMappingURL=canvas-ui.js.map