@pitcher/canvas-ui 2026.1.20-131745 → 2026.1.20-135703

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 (58) hide show
  1. package/canvas-ui.css +5 -5
  2. package/canvas-ui.js +367 -246
  3. package/canvas-ui.js.map +1 -1
  4. package/lib/apps/agenda-selector/composables/move-item-modal.use.d.ts +4 -0
  5. package/lib/apps/browser/stores/api.d.ts +9 -0
  6. package/lib/apps/browser/stores/upload.d.ts +4 -0
  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 +54 -0
  10. package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +12 -0
  11. package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +12 -0
  12. package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +2 -0
  13. package/lib/apps/canvas-builder/composables/usePopupApps.d.ts +2 -0
  14. package/lib/apps/collection-selector/composables/move-slide-modal.use.d.ts +4 -0
  15. package/lib/apps/ppt-conversion-selector/composables/move-slide-modal.use.d.ts +2 -0
  16. package/lib/apps/ppt-conversion-selector/stores/app.store.d.ts +2 -0
  17. package/lib/components/CFileAttributes/CFileAttributes.vue.d.ts +1 -0
  18. package/lib/components/CSwitch/CSwitch.vue.d.ts +4 -2
  19. package/lib/types/launchDarkly.types.d.ts +1 -1
  20. package/locale/de.json +11 -0
  21. package/locale/el.json +11 -0
  22. package/locale/en.json +11 -0
  23. package/locale/es.json +11 -0
  24. package/locale/fr.json +11 -0
  25. package/locale/it.json +11 -0
  26. package/locale/ja.json +3 -0
  27. package/locale/nl.json +11 -0
  28. package/locale/pl.json +11 -0
  29. package/locale/pt-br.json +11 -0
  30. package/locale/pt.json +11 -0
  31. package/locale/th.json +11 -0
  32. package/locale/tr.json +11 -0
  33. package/locale/zh.json +3 -0
  34. package/package.json +1 -1
  35. package/types/openapi/models/FilePermission.d.ts +1 -0
  36. package/types/openapi/models/FilePermissionRequest.d.ts +1 -0
  37. package/types/openapi/models/PaginatedAppList.d.ts +2 -2
  38. package/types/openapi/models/PaginatedAuthTokenList.d.ts +2 -2
  39. package/types/openapi/models/PaginatedCanvasList.d.ts +2 -2
  40. package/types/openapi/models/PaginatedCollaborationList.d.ts +2 -2
  41. package/types/openapi/models/PaginatedContentDistributionGroupList.d.ts +2 -2
  42. package/types/openapi/models/PaginatedContentDistributionGroupMembershipList.d.ts +2 -2
  43. package/types/openapi/models/PaginatedEnvironmentList.d.ts +2 -2
  44. package/types/openapi/models/PaginatedEventList.d.ts +2 -2
  45. package/types/openapi/models/PaginatedFavoriteList.d.ts +2 -2
  46. package/types/openapi/models/PaginatedFileList.d.ts +2 -2
  47. package/types/openapi/models/PaginatedFileRevisionList.d.ts +2 -2
  48. package/types/openapi/models/PaginatedFolderList.d.ts +2 -2
  49. package/types/openapi/models/PaginatedInstanceAssignmentGroupList.d.ts +2 -2
  50. package/types/openapi/models/PaginatedInstanceAssignmentGroupMembershipList.d.ts +2 -2
  51. package/types/openapi/models/PaginatedInstanceList.d.ts +2 -2
  52. package/types/openapi/models/PaginatedInstanceMembershipList.d.ts +2 -2
  53. package/types/openapi/models/PaginatedInvitationList.d.ts +2 -2
  54. package/types/openapi/models/PaginatedMetadataTemplateList.d.ts +2 -2
  55. package/types/openapi/models/PaginatedOfflineSyncFolderList.d.ts +2 -2
  56. package/types/openapi/models/PaginatedRegionList.d.ts +2 -2
  57. package/types/openapi/models/PaginatedRevisionList.d.ts +2 -2
  58. package/types/openapi/models/PaginatedUserList.d.ts +2 -2
package/canvas-ui.js CHANGED
@@ -79001,6 +79001,41 @@ 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({
79004
79039
  __name: "CTag",
79005
79040
  setup(__props) {
79006
79041
  return (_ctx, _cache) => {
@@ -79027,7 +79062,7 @@ const _hoisted_1$57 = {
79027
79062
  };
79028
79063
  const _hoisted_2$3K = { key: 0 };
79029
79064
  const _hoisted_3$2$ = { class: "flex flex-wrap gap-1" };
79030
- const _sfc_main$6E = /* @__PURE__ */ defineComponent({
79065
+ const _sfc_main$6D = /* @__PURE__ */ defineComponent({
79031
79066
  __name: "CTags",
79032
79067
  props: {
79033
79068
  value: { default: () => [] },
@@ -79214,7 +79249,7 @@ const _sfc_main$6E = /* @__PURE__ */ defineComponent({
79214
79249
  _ctx.suggestedTagsTitle ? (openBlock(), createElementBlock("div", _hoisted_2$3K, toDisplayString(_ctx.suggestedTagsTitle), 1)) : createCommentVNode("", true),
79215
79250
  createElementVNode("div", _hoisted_3$2$, [
79216
79251
  (openBlock(true), createElementBlock(Fragment, null, renderList(options.value, (option) => {
79217
- return openBlock(), createBlock(_sfc_main$6F, {
79252
+ return openBlock(), createBlock(_sfc_main$6E, {
79218
79253
  key: option.value,
79219
79254
  class: "cursor-pointer",
79220
79255
  round: false,
@@ -79233,9 +79268,9 @@ const _sfc_main$6E = /* @__PURE__ */ defineComponent({
79233
79268
  }
79234
79269
  });
79235
79270
 
79236
- const CTags = /* @__PURE__ */ _export_sfc(_sfc_main$6E, [["__scopeId", "data-v-a1b19ddf"]]);
79271
+ const CTags = /* @__PURE__ */ _export_sfc(_sfc_main$6D, [["__scopeId", "data-v-a1b19ddf"]]);
79237
79272
 
79238
- const _sfc_main$6D = /* @__PURE__ */ defineComponent({
79273
+ const _sfc_main$6C = /* @__PURE__ */ defineComponent({
79239
79274
  __name: "CTagsPlaceholder",
79240
79275
  emits: ["select"],
79241
79276
  setup(__props, { emit: __emit }) {
@@ -79725,7 +79760,7 @@ const _hoisted_3$2_ = {
79725
79760
  key: 1,
79726
79761
  class: "flex gap-4 w-full"
79727
79762
  };
79728
- const _sfc_main$6C = /* @__PURE__ */ defineComponent({
79763
+ const _sfc_main$6B = /* @__PURE__ */ defineComponent({
79729
79764
  __name: "CFileAttributes",
79730
79765
  props: {
79731
79766
  modelValue: {},
@@ -79749,11 +79784,16 @@ const _sfc_main$6C = /* @__PURE__ */ defineComponent({
79749
79784
  "pitcherSettings",
79750
79785
  computed(() => ({}))
79751
79786
  );
79787
+ const launchDarkly = inject(
79788
+ "launchDarkly",
79789
+ computed(() => ({}))
79790
+ );
79752
79791
  const editingField = ref(null);
79753
79792
  const showTagsComponent = ref(!props.showKeepAsIsPlaceholder);
79754
79793
  const initialExpiresAtOption = ref(props.modelValue.expiresAtOption);
79755
79794
  const labels = {
79756
79795
  sharing: t("canvasUI.browserApp.uploadFilesModal.sharing.label"),
79796
+ divisible: t("canvasUI.browserApp.uploadFilesModal.divisible.label"),
79757
79797
  tags: t("canvasUI.browserApp.uploadFilesModal.tags.label"),
79758
79798
  expiresAtDateTime: t("canvasUI.browserApp.uploadFilesModal.expiresAt.label"),
79759
79799
  accessType: t("canvasUI.browserApp.uploadFilesModal.access.label")
@@ -79788,7 +79828,18 @@ const _sfc_main$6C = /* @__PURE__ */ defineComponent({
79788
79828
  }
79789
79829
  function onChangeSharing(value) {
79790
79830
  updateForm({
79791
- permissions: value === null ? { can_share: void 0 } : { can_share: value === "allowed" }
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
+ }
79792
79843
  });
79793
79844
  }
79794
79845
  function onChangeAccessType(value) {
@@ -79852,9 +79903,22 @@ const _sfc_main$6C = /* @__PURE__ */ defineComponent({
79852
79903
  }
79853
79904
  }
79854
79905
  });
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
+ });
79855
79917
  function isEditingFieldOrNonEmpty(fieldName) {
79856
79918
  if (fieldName === "permissions") {
79857
79919
  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;
79858
79922
  } else if (fieldName === "tags") {
79859
79923
  return editingField.value === fieldName || Array.isArray(form.value.tags) && form.value.tags.length > 0;
79860
79924
  }
@@ -79866,6 +79930,10 @@ const _sfc_main$6C = /* @__PURE__ */ defineComponent({
79866
79930
  editingField.value = null;
79867
79931
  return;
79868
79932
  }
79933
+ if (fieldName === "divisiblePermission" && form.value.permissions?.can_be_divided === void 0) {
79934
+ editingField.value = null;
79935
+ return;
79936
+ }
79869
79937
  if (fieldName === "tags") {
79870
79938
  if (!Array.isArray(form.value.tags) || form.value.tags.length === 0) {
79871
79939
  editingField.value = null;
@@ -79882,8 +79950,11 @@ const _sfc_main$6C = /* @__PURE__ */ defineComponent({
79882
79950
  editingField.value = fieldName;
79883
79951
  if (fieldName === "permissions") {
79884
79952
  if (form.value.permissions?.can_share === void 0) {
79885
- form.value.permissions = { can_share: true };
79886
- sharingValueAsText.value = "allowed";
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 };
79887
79958
  }
79888
79959
  }
79889
79960
  nextTick(() => {
@@ -79953,7 +80024,7 @@ const _sfc_main$6C = /* @__PURE__ */ defineComponent({
79953
80024
  }, {
79954
80025
  default: withCtx(() => [
79955
80026
  createElementVNode("div", _hoisted_1$56, [
79956
- _ctx.showKeepAsIsPlaceholder ? (openBlock(), createBlock(_sfc_main$6D, {
80027
+ _ctx.showKeepAsIsPlaceholder ? (openBlock(), createBlock(_sfc_main$6C, {
79957
80028
  key: 0,
79958
80029
  onSelect: handleTagsAction
79959
80030
  })) : createCommentVNode("", true),
@@ -80071,7 +80142,26 @@ const _sfc_main$6C = /* @__PURE__ */ defineComponent({
80071
80142
  ]))
80072
80143
  ]),
80073
80144
  _: 1
80074
- })) : createCommentVNode("", true)
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)
80075
80165
  ]),
80076
80166
  _: 1
80077
80167
  })
@@ -80085,7 +80175,7 @@ const _sfc_main$6C = /* @__PURE__ */ defineComponent({
80085
80175
  const __default__$3 = {
80086
80176
  name: "CInput"
80087
80177
  };
80088
- const _sfc_main$6B = /* @__PURE__ */ defineComponent({
80178
+ const _sfc_main$6A = /* @__PURE__ */ defineComponent({
80089
80179
  ...__default__$3,
80090
80180
  setup(__props, { expose: __expose }) {
80091
80181
  const inputRef = ref(null);
@@ -80111,7 +80201,7 @@ const _sfc_main$6B = /* @__PURE__ */ defineComponent({
80111
80201
  }
80112
80202
  });
80113
80203
 
80114
- const _sfc_main$6A = /* @__PURE__ */ defineComponent({
80204
+ const _sfc_main$6z = /* @__PURE__ */ defineComponent({
80115
80205
  __name: "CModal",
80116
80206
  setup(__props) {
80117
80207
  return (_ctx, _cache) => {
@@ -80129,7 +80219,7 @@ const _sfc_main$6A = /* @__PURE__ */ defineComponent({
80129
80219
  }
80130
80220
  });
80131
80221
 
80132
- const _sfc_main$6z = /* @__PURE__ */ defineComponent({
80222
+ const _sfc_main$6y = /* @__PURE__ */ defineComponent({
80133
80223
  __name: "CPopover",
80134
80224
  setup(__props) {
80135
80225
  return (_ctx, _cache) => {
@@ -80150,7 +80240,7 @@ const _sfc_main$6z = /* @__PURE__ */ defineComponent({
80150
80240
  }
80151
80241
  });
80152
80242
 
80153
- const _sfc_main$6y = /* @__PURE__ */ defineComponent({
80243
+ const _sfc_main$6x = /* @__PURE__ */ defineComponent({
80154
80244
  __name: "CSearch",
80155
80245
  props: {
80156
80246
  autofocus: { type: Boolean, default: false },
@@ -80167,7 +80257,7 @@ const _sfc_main$6y = /* @__PURE__ */ defineComponent({
80167
80257
  const emit = __emit;
80168
80258
  const { t } = useI18n();
80169
80259
  return (_ctx, _cache) => {
80170
- return openBlock(), createBlock(_sfc_main$6B, {
80260
+ return openBlock(), createBlock(_sfc_main$6A, {
80171
80261
  autofocus: _ctx.autofocus,
80172
80262
  class: normalizeClass(["c-search flex items-center justify-center", {
80173
80263
  "c-search--no-border": _ctx.hideBorder,
@@ -80206,10 +80296,10 @@ const _sfc_main$6y = /* @__PURE__ */ defineComponent({
80206
80296
  }
80207
80297
  });
80208
80298
 
80209
- const CSearch = /* @__PURE__ */ _export_sfc(_sfc_main$6y, [["__scopeId", "data-v-11dbab78"]]);
80299
+ const CSearch = /* @__PURE__ */ _export_sfc(_sfc_main$6x, [["__scopeId", "data-v-11dbab78"]]);
80210
80300
 
80211
80301
  const _hoisted_1$55 = { class: "c-search-on-click relative" };
80212
- const _sfc_main$6x = /* @__PURE__ */ defineComponent({
80302
+ const _sfc_main$6w = /* @__PURE__ */ defineComponent({
80213
80303
  __name: "CSearchOnClick",
80214
80304
  props: {
80215
80305
  disabled: { type: Boolean },
@@ -80266,7 +80356,7 @@ const _sfc_main$6x = /* @__PURE__ */ defineComponent({
80266
80356
  }, 8, ["disabled"])) : createCommentVNode("", true),
80267
80357
  createVNode(unref(NInputGroup), null, {
80268
80358
  default: withCtx(() => [
80269
- createVNode(_sfc_main$6B, {
80359
+ createVNode(_sfc_main$6A, {
80270
80360
  value: searchValue.value,
80271
80361
  "onUpdate:value": _cache[1] || (_cache[1] = ($event) => searchValue.value = $event),
80272
80362
  class: normalizeClass({ "max-w-[320px] min-w-[280px]": !_ctx.fullWidth, "w-full": _ctx.fullWidth, "pl-8": inputFocused.value || searchValue.value }),
@@ -80454,7 +80544,7 @@ function useMetadataSearch(options = {}) {
80454
80544
  const _hoisted_1$54 = {
80455
80545
  class: "c-search-on-click-with-suggestions relative"
80456
80546
  };
80457
- const _sfc_main$6w = /*@__PURE__*/defineComponent({
80547
+ const _sfc_main$6v = /*@__PURE__*/defineComponent({
80458
80548
  __name: 'CSearchOnClickWithSuggestions',
80459
80549
  props: {
80460
80550
  disabled: {
@@ -80669,9 +80759,9 @@ const _sfc_main$6w = /*@__PURE__*/defineComponent({
80669
80759
  }
80670
80760
  });
80671
80761
 
80672
- const CSearchOnClickWithSuggestions = /* @__PURE__ */ _export_sfc(_sfc_main$6w, [["__scopeId", "data-v-ba9e794b"]]);
80762
+ const CSearchOnClickWithSuggestions = /* @__PURE__ */ _export_sfc(_sfc_main$6v, [["__scopeId", "data-v-ba9e794b"]]);
80673
80763
 
80674
- const _sfc_main$6v = /* @__PURE__ */ defineComponent({
80764
+ const _sfc_main$6u = /* @__PURE__ */ defineComponent({
80675
80765
  __name: "CThemeEditor",
80676
80766
  setup(__props) {
80677
80767
  const showForm = ref(false);
@@ -80807,7 +80897,7 @@ const _sfc_main$6v = /* @__PURE__ */ defineComponent({
80807
80897
  const __default__$2 = {
80808
80898
  name: "CToolbar"
80809
80899
  };
80810
- const _sfc_main$6u = /* @__PURE__ */ defineComponent({
80900
+ const _sfc_main$6t = /* @__PURE__ */ defineComponent({
80811
80901
  ...__default__$2,
80812
80902
  props: {
80813
80903
  search: {},
@@ -80842,9 +80932,9 @@ const _sfc_main$6u = /* @__PURE__ */ defineComponent({
80842
80932
  }
80843
80933
  });
80844
80934
 
80845
- const CToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$6u, [["__scopeId", "data-v-50c62c45"]]);
80935
+ const CToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$6t, [["__scopeId", "data-v-50c62c45"]]);
80846
80936
 
80847
- const _sfc_main$6t = /* @__PURE__ */ defineComponent({
80937
+ const _sfc_main$6s = /* @__PURE__ */ defineComponent({
80848
80938
  __name: "CTooltip",
80849
80939
  setup(__props) {
80850
80940
  const isSSR = typeof window === "undefined";
@@ -80868,7 +80958,7 @@ const _sfc_main$6t = /* @__PURE__ */ defineComponent({
80868
80958
  }
80869
80959
  });
80870
80960
 
80871
- const _sfc_main$6s = /* @__PURE__ */ defineComponent({
80961
+ const _sfc_main$6r = /* @__PURE__ */ defineComponent({
80872
80962
  __name: "CAvatar",
80873
80963
  setup(__props) {
80874
80964
  const attrs = useAttrs();
@@ -80892,7 +80982,7 @@ const _sfc_main$6s = /* @__PURE__ */ defineComponent({
80892
80982
  }
80893
80983
  });
80894
80984
 
80895
- const _sfc_main$6r = /* @__PURE__ */ defineComponent({
80985
+ const _sfc_main$6q = /* @__PURE__ */ defineComponent({
80896
80986
  __name: "CCollapseTransition",
80897
80987
  setup(__props) {
80898
80988
  const attrs = useAttrs();
@@ -80909,7 +80999,7 @@ const _sfc_main$6r = /* @__PURE__ */ defineComponent({
80909
80999
  }
80910
81000
  });
80911
81001
 
80912
- const _sfc_main$6q = /* @__PURE__ */ defineComponent({
81002
+ const _sfc_main$6p = /* @__PURE__ */ defineComponent({
80913
81003
  __name: "CSpin",
80914
81004
  setup(__props) {
80915
81005
  return (_ctx, _cache) => {
@@ -80927,7 +81017,7 @@ const _sfc_main$6q = /* @__PURE__ */ defineComponent({
80927
81017
  }
80928
81018
  });
80929
81019
 
80930
- const _sfc_main$6p = /* @__PURE__ */ defineComponent({
81020
+ const _sfc_main$6o = /* @__PURE__ */ defineComponent({
80931
81021
  __name: "CEmpty",
80932
81022
  setup(__props) {
80933
81023
  return (_ctx, _cache) => {
@@ -80945,40 +81035,6 @@ const _sfc_main$6p = /* @__PURE__ */ defineComponent({
80945
81035
  }
80946
81036
  });
80947
81037
 
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
-
80982
81038
  let disableCustomTooltips = false;
80983
81039
  const tooltipDirective = {
80984
81040
  created() {
@@ -81322,7 +81378,7 @@ const _sfc_main$6n = /* @__PURE__ */ defineComponent({
81322
81378
  __expose({ hidePopup });
81323
81379
  return (_ctx, _cache) => {
81324
81380
  return withDirectives((openBlock(), createElementBlock("div", null, [
81325
- createVNode(_sfc_main$6z, {
81381
+ createVNode(_sfc_main$6y, {
81326
81382
  show: show.value,
81327
81383
  "onUpdate:show": _cache[2] || (_cache[2] = ($event) => show.value = $event),
81328
81384
  "content-class": "pa-2",
@@ -81820,7 +81876,7 @@ const _sfc_main$6e = /* @__PURE__ */ defineComponent({
81820
81876
  }, null, 8, ["active-canvas-id", "canvas"])) : createCommentVNode("", true),
81821
81877
  createElementVNode("div", _hoisted_3$2V, [
81822
81878
  _ctx.canvases?.length ? (openBlock(), createElementBlock("div", _hoisted_4$2k, toDisplayString(unref(t)("canvasUI.CCanvasSelector.lastUsed")), 1)) : createCommentVNode("", true),
81823
- createVNode(_sfc_main$6q, {
81879
+ createVNode(_sfc_main$6p, {
81824
81880
  class: "h-full",
81825
81881
  show: _ctx.isLoading
81826
81882
  }, {
@@ -83001,7 +83057,7 @@ const _sfc_main$69 = /* @__PURE__ */ defineComponent({
83001
83057
  class: normalizeClass(["c-contact-selector h-full flex", { "flex-col": _ctx.singleColumnView }])
83002
83058
  }, [
83003
83059
  createElementVNode("div", _hoisted_1$4Q, [
83004
- createVNode(_sfc_main$6x, {
83060
+ createVNode(_sfc_main$6w, {
83005
83061
  disabled: !!_ctx.loading,
83006
83062
  "full-width": "",
83007
83063
  "initial-search-value": _ctx.search,
@@ -83320,7 +83376,7 @@ const _sfc_main$66 = /* @__PURE__ */ defineComponent({
83320
83376
  index < tags.value.length - 1 ? (openBlock(), createElementBlock("span", _hoisted_5$1V, ", ")) : createCommentVNode("", true)
83321
83377
  ]);
83322
83378
  }), 128)),
83323
- remainingTags.value.length ? (openBlock(), createBlock(_sfc_main$6z, {
83379
+ remainingTags.value.length ? (openBlock(), createBlock(_sfc_main$6y, {
83324
83380
  key: 0,
83325
83381
  "keep-alive-on-hover": false,
83326
83382
  placement: _ctx.option.index === 0 ? "bottom" : "top",
@@ -85965,7 +86021,7 @@ const _sfc_main$5Z = /* @__PURE__ */ defineComponent({
85965
86021
  ]),
85966
86022
  _: 1
85967
86023
  }, 8, ["label"]),
85968
- createVNode(_sfc_main$6B, {
86024
+ createVNode(_sfc_main$6A, {
85969
86025
  placeholder: unref(t)("canvasUI.CTypographyConfiguratorItem.lineHeightLabel"),
85970
86026
  style: { "--n-color": "transparent" },
85971
86027
  value: _ctx.item.line_height,
@@ -85981,7 +86037,7 @@ const _sfc_main$5Z = /* @__PURE__ */ defineComponent({
85981
86037
  ]),
85982
86038
  _: 1
85983
86039
  }, 8, ["label"]),
85984
- createVNode(_sfc_main$6B, {
86040
+ createVNode(_sfc_main$6A, {
85985
86041
  placeholder: unref(t)("canvasUI.CTypographyConfiguratorItem.letterSpacingLabel"),
85986
86042
  style: { "--n-color": "transparent" },
85987
86043
  value: _ctx.item.letter_spacing,
@@ -87193,7 +87249,7 @@ const _sfc_main$5N = /* @__PURE__ */ defineComponent({
87193
87249
  emit("cancel");
87194
87250
  }
87195
87251
  return (_ctx, _cache) => {
87196
- return openBlock(), createBlock(_sfc_main$6A, {
87252
+ return openBlock(), createBlock(_sfc_main$6z, {
87197
87253
  onEsc: onCancel,
87198
87254
  show: ""
87199
87255
  }, {
@@ -95551,7 +95607,7 @@ const _sfc_main$5L = /* @__PURE__ */ defineComponent({
95551
95607
  });
95552
95608
  return (_ctx, _cache) => {
95553
95609
  return _ctx.value !== null && _ctx.value !== void 0 ? (openBlock(), createElementBlock("div", _hoisted_1$4x, [
95554
- createVNode(_sfc_main$6F, {
95610
+ createVNode(_sfc_main$6E, {
95555
95611
  class: "flex gap-1 bg-primary6 color-text",
95556
95612
  size: "small"
95557
95613
  }, {
@@ -101768,11 +101824,11 @@ const _sfc_main$5p = /* @__PURE__ */ defineComponent({
101768
101824
  }
101769
101825
  });
101770
101826
  return (_ctx, _cache) => {
101771
- return isValidPicture.value ? (openBlock(), createBlock(_sfc_main$6s, {
101827
+ return isValidPicture.value ? (openBlock(), createBlock(_sfc_main$6r, {
101772
101828
  key: 0,
101773
101829
  size: _ctx.size,
101774
101830
  src: _ctx.picture
101775
- }, null, 8, ["size", "src"])) : (openBlock(), createBlock(_sfc_main$6s, {
101831
+ }, null, 8, ["size", "src"])) : (openBlock(), createBlock(_sfc_main$6r, {
101776
101832
  key: 1,
101777
101833
  color: color.value,
101778
101834
  size: _ctx.size
@@ -102573,7 +102629,7 @@ const _sfc_main$5j = /* @__PURE__ */ defineComponent({
102573
102629
  "suggestions-fetcher": fetchDistinctValueSuggestions,
102574
102630
  onSearch
102575
102631
  }, null, 8, ["disabled", "initial-search-value", "min-search-length", "placeholder"]))
102576
- ], 64)) : (openBlock(), createBlock(_sfc_main$6x, {
102632
+ ], 64)) : (openBlock(), createBlock(_sfc_main$6w, {
102577
102633
  key: 1,
102578
102634
  ref_key: "searchOnClickRef",
102579
102635
  ref: searchOnClickRef,
@@ -102645,7 +102701,7 @@ const _sfc_main$5j = /* @__PURE__ */ defineComponent({
102645
102701
  "suggestions-fetcher": fetchDistinctValueSuggestions,
102646
102702
  onSearch
102647
102703
  }, null, 8, ["disabled", "initial-search-value", "min-search-length", "placeholder"]))
102648
- ], 64)) : (openBlock(), createBlock(_sfc_main$6x, {
102704
+ ], 64)) : (openBlock(), createBlock(_sfc_main$6w, {
102649
102705
  key: 1,
102650
102706
  ref_key: "searchOnClickRef",
102651
102707
  ref: searchOnClickRef,
@@ -104223,7 +104279,7 @@ const _sfc_main$5b = /* @__PURE__ */ defineComponent({
104223
104279
  innerHTML: unref(highlight)(tags.value.join(", "), _ctx.search)
104224
104280
  }, null, 8, _hoisted_5$1G)
104225
104281
  ])) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(tags.value, (tag, index) => {
104226
- return withDirectives((openBlock(), createBlock(_sfc_main$6F, {
104282
+ return withDirectives((openBlock(), createBlock(_sfc_main$6E, {
104227
104283
  key: index,
104228
104284
  class: normalizeClass(_ctx.tagsClass),
104229
104285
  size: "small"
@@ -104236,7 +104292,7 @@ const _sfc_main$5b = /* @__PURE__ */ defineComponent({
104236
104292
  [_directive_tooltip, shouldShowTagTooltip(tag) ? tag : null]
104237
104293
  ]);
104238
104294
  }), 128)),
104239
- remainingTags.value.length ? (openBlock(), createBlock(_sfc_main$6z, {
104295
+ remainingTags.value.length ? (openBlock(), createBlock(_sfc_main$6y, {
104240
104296
  key: 2,
104241
104297
  class: "c-table-tag__popover max-w-[600px]",
104242
104298
  placement: _ctx.rowIndex === 0 ? "bottom" : "top",
@@ -104261,7 +104317,7 @@ const _sfc_main$5b = /* @__PURE__ */ defineComponent({
104261
104317
  default: withCtx(() => [
104262
104318
  createElementVNode("div", _hoisted_6$1s, [
104263
104319
  _ctx.displayAsText ? (openBlock(), createElementBlock("div", _hoisted_7$14, toDisplayString(remainingTags.value.join(", ")), 1)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(remainingTags.value, (tag, index) => {
104264
- return openBlock(), createBlock(_sfc_main$6F, {
104320
+ return openBlock(), createBlock(_sfc_main$6E, {
104265
104321
  key: index,
104266
104322
  class: normalizeClass(_ctx.moreTagsClass),
104267
104323
  size: "small"
@@ -104364,7 +104420,7 @@ const _sfc_main$5a = /* @__PURE__ */ defineComponent({
104364
104420
  };
104365
104421
  return (_ctx, _cache) => {
104366
104422
  const _directive_tooltip = resolveDirective("tooltip");
104367
- return openBlock(), createBlock(_sfc_main$6z, {
104423
+ return openBlock(), createBlock(_sfc_main$6y, {
104368
104424
  placement: "bottom-end",
104369
104425
  "show-arrow": false,
104370
104426
  trigger: "click"
@@ -104835,7 +104891,7 @@ const _sfc_main$59 = /* @__PURE__ */ defineComponent({
104835
104891
  placeholder: _ctx.placeholder,
104836
104892
  "suggestions-fetcher": fetchSuggestions,
104837
104893
  onSearch: _cache[0] || (_cache[0] = ($event) => emit("update:search", $event, _ctx.filters))
104838
- }, null, 8, ["disabled", "initial-search-value", "placeholder"])) : (openBlock(), createBlock(_sfc_main$6x, {
104894
+ }, null, 8, ["disabled", "initial-search-value", "placeholder"])) : (openBlock(), createBlock(_sfc_main$6w, {
104839
104895
  key: 1,
104840
104896
  ref_key: "searchOnClickRef",
104841
104897
  ref: searchOnClickRef,
@@ -104933,7 +104989,7 @@ const _sfc_main$59 = /* @__PURE__ */ defineComponent({
104933
104989
  }), 128))
104934
104990
  ], 64))
104935
104991
  ], 64)) : createCommentVNode("", true),
104936
- unref(pitcherSettings).display_metadata_filters_in_modal && hasAnyFilter.value ? (openBlock(), createBlock(_sfc_main$6z, {
104992
+ unref(pitcherSettings).display_metadata_filters_in_modal && hasAnyFilter.value ? (openBlock(), createBlock(_sfc_main$6y, {
104937
104993
  key: 1,
104938
104994
  class: "min-w-[500px] max-w-[700px] max-h-[400px] overflow-y-auto",
104939
104995
  placement: "bottom",
@@ -107481,7 +107537,7 @@ function useCanvasesManagementBulk() {
107481
107537
  "name": "properties",
107482
107538
  "title": t('canvasUI.browserApp.uploadFilesModal.properties')
107483
107539
  }, {
107484
- default: () => [createVNode(_sfc_main$6C, {
107540
+ default: () => [createVNode(_sfc_main$6B, {
107485
107541
  "showExpirationSettings": false,
107486
107542
  "showPermissionSettings": false,
107487
107543
  "showAccessTypeSettings": false,
@@ -109377,7 +109433,7 @@ const _sfc_main$4W = /* @__PURE__ */ defineComponent({
109377
109433
  "w-fit": _ctx.fitContent
109378
109434
  }])
109379
109435
  }, [
109380
- _ctx.variation !== "minimal" ? (openBlock(), createBlock(_sfc_main$6F, {
109436
+ _ctx.variation !== "minimal" ? (openBlock(), createBlock(_sfc_main$6E, {
109381
109437
  key: 0,
109382
109438
  class: "flex",
109383
109439
  size: "small",
@@ -109601,7 +109657,7 @@ const _sfc_main$4U = /* @__PURE__ */ defineComponent({
109601
109657
  onClick: _cache[0] || (_cache[0] = withModifiers(() => {
109602
109658
  }, ["stop"]))
109603
109659
  }, [
109604
- _ctx.variation !== "minimal" ? (openBlock(), createBlock(_sfc_main$6F, {
109660
+ _ctx.variation !== "minimal" ? (openBlock(), createBlock(_sfc_main$6E, {
109605
109661
  key: 0,
109606
109662
  class: normalizeClass(`flex gap-1 ${getPopularityClass()}`),
109607
109663
  size: "small",
@@ -109654,7 +109710,7 @@ const _sfc_main$4U = /* @__PURE__ */ defineComponent({
109654
109710
  onClick: _cache[1] || (_cache[1] = withModifiers(() => {
109655
109711
  }, ["stop"]))
109656
109712
  }, [
109657
- _ctx.variation !== "minimal" ? (openBlock(), createBlock(_sfc_main$6F, {
109713
+ _ctx.variation !== "minimal" ? (openBlock(), createBlock(_sfc_main$6E, {
109658
109714
  key: 0,
109659
109715
  class: normalizeClass(`flex gap-1 ${getEngagementClass()}`),
109660
109716
  size: "small",
@@ -111192,7 +111248,7 @@ const _sfc_main$4T = /* @__PURE__ */ defineComponent({
111192
111248
  ])) : createCommentVNode("", true)
111193
111249
  ], 4),
111194
111250
  _ctx.item.type !== "smart_folder" ? (openBlock(), createElementBlock("div", _hoisted_10$z, [
111195
- createVNode(_sfc_main$6F, {
111251
+ createVNode(_sfc_main$6E, {
111196
111252
  size: "small",
111197
111253
  style: normalizeStyle({
111198
111254
  ...getStatusStyle(),
@@ -112125,7 +112181,7 @@ const _sfc_main$4R = /*@__PURE__*/defineComponent({
112125
112181
  id: 'is_draft',
112126
112182
  cell: cellCtx => createVNode("div", {
112127
112183
  "class": "flex items-center"
112128
- }, [createVNode(_sfc_main$6o, {
112184
+ }, [createVNode(_sfc_main$6F, {
112129
112185
  "checked": !cellCtx.getValue(),
112130
112186
  "disabled": isReadonly(cellCtx.row.original),
112131
112187
  "onChange": async newValue => await updateProperty(cellCtx.row.original, 'is_draft', !newValue),
@@ -112808,7 +112864,7 @@ const _sfc_main$4O = /*@__PURE__*/defineComponent({
112808
112864
  id: 'status',
112809
112865
  cell: cellCtx => createVNode("div", {
112810
112866
  "class": "flex items-center"
112811
- }, [createVNode(_sfc_main$6o, {
112867
+ }, [createVNode(_sfc_main$6F, {
112812
112868
  "checked": !cellCtx.getValue(),
112813
112869
  "disabled": isReadonly(cellCtx.row.original),
112814
112870
  "onChange": async newValue => await updateProperty(cellCtx.row.original, 'is_draft', !newValue),
@@ -113137,7 +113193,7 @@ const _sfc_main$4N = /* @__PURE__ */ defineComponent({
113137
113193
  fetchLevel(props.currentFolder.id);
113138
113194
  });
113139
113195
  return (_ctx, _cache) => {
113140
- return openBlock(), createBlock(_sfc_main$6A, {
113196
+ return openBlock(), createBlock(_sfc_main$6z, {
113141
113197
  "on-update:show": () => emit("update:show", false),
113142
113198
  show: _ctx.show,
113143
113199
  style: normalizeStyle({ backgroundColor: unref(themeVars).base })
@@ -114334,7 +114390,7 @@ const _sfc_main$4J = /* @__PURE__ */ defineComponent({
114334
114390
  _cache[6] || (_cache[6] = createElementVNode("span", { class: "inline-block h-1 w-1 bg-text3 rounded-full" }, null, -1))
114335
114391
  ])
114336
114392
  ])) : (openBlock(), createElementBlock("div", _hoisted_12$m, [
114337
- !isFolder(unref(item)) ? (openBlock(), createBlock(_sfc_main$6F, {
114393
+ !isFolder(unref(item)) ? (openBlock(), createBlock(_sfc_main$6E, {
114338
114394
  key: 0,
114339
114395
  size: "small",
114340
114396
  style: normalizeStyle({
@@ -114462,7 +114518,7 @@ const _sfc_main$4H = /* @__PURE__ */ defineComponent({
114462
114518
  }
114463
114519
  const themeVars = useThemeVars();
114464
114520
  return (_ctx, _cache) => {
114465
- return openBlock(), createBlock(_sfc_main$6A, {
114521
+ return openBlock(), createBlock(_sfc_main$6z, {
114466
114522
  "on-update:show": (val) => emit("update:show", val),
114467
114523
  show: "",
114468
114524
  style: normalizeStyle({ backgroundColor: unref(themeVars).base })
@@ -115241,7 +115297,7 @@ const _sfc_main$4G = /*@__PURE__*/defineComponent({
115241
115297
  id: 'is_draft',
115242
115298
  cell: cellCtx => createVNode("div", {
115243
115299
  "class": "flex items-center"
115244
- }, [createVNode(_sfc_main$6o, {
115300
+ }, [createVNode(_sfc_main$6F, {
115245
115301
  "checked": !cellCtx.getValue(),
115246
115302
  "disabled": isReadonly(cellCtx.row.original),
115247
115303
  "onChange": async newValue => await onUpdateStatus(cellCtx.row.original, newValue ? CanvasStatus.READY : CanvasStatus.DRAFT),
@@ -116434,7 +116490,7 @@ const _sfc_main$4B = /*@__PURE__*/defineComponent({
116434
116490
  id: 'status',
116435
116491
  cell: cellCtx => createVNode("div", {
116436
116492
  "class": "flex items-center"
116437
- }, [createVNode(_sfc_main$6o, {
116493
+ }, [createVNode(_sfc_main$6F, {
116438
116494
  "checked": cellCtx.getValue() === CanvasThemeStatus.READY,
116439
116495
  "onChange": async newValue => await onUpdateStatus(cellCtx.row.original, !newValue ? CanvasThemeStatus.DRAFT : CanvasThemeStatus.READY),
116440
116496
  "themeOverrides": {
@@ -116808,7 +116864,7 @@ const _sfc_main$4A = /* @__PURE__ */ defineComponent({
116808
116864
  onClick: ($event) => emit("click", item.key)
116809
116865
  }, toDisplayString(item.label), 9, _hoisted_3$2b);
116810
116866
  }), 128)),
116811
- remainingItems.value.length ? (openBlock(), createBlock(_sfc_main$6z, {
116867
+ remainingItems.value.length ? (openBlock(), createBlock(_sfc_main$6y, {
116812
116868
  key: 0,
116813
116869
  placement: _ctx.rowIndex === 0 ? "bottom" : "top",
116814
116870
  trigger: "click"
@@ -116821,7 +116877,7 @@ const _sfc_main$4A = /* @__PURE__ */ defineComponent({
116821
116877
  default: withCtx(() => [
116822
116878
  createElementVNode("div", null, [
116823
116879
  (openBlock(true), createElementBlock(Fragment, null, renderList(remainingItems.value, (item, index) => {
116824
- return openBlock(), createBlock(_sfc_main$6F, {
116880
+ return openBlock(), createBlock(_sfc_main$6E, {
116825
116881
  key: index,
116826
116882
  class: normalizeClass(["mr-1 c-table-more__more-items", { "c-table-more__clickable": _ctx.isClickable, underline: _ctx.isClickable }]),
116827
116883
  round: false,
@@ -118289,7 +118345,7 @@ const _sfc_main$4u = /* @__PURE__ */ defineComponent({
118289
118345
  ref_for: true
118290
118346
  }, getIconDataForInfoBadge(indicator.icon)), null, 16, ["background-color", "color", "text", "variation"])), [
118291
118347
  [_directive_tooltip, indicator.tooltip_text]
118292
- ]) : indicator.type ? withDirectives((openBlock(), createBlock(_sfc_main$6F, {
118348
+ ]) : indicator.type ? withDirectives((openBlock(), createBlock(_sfc_main$6E, {
118293
118349
  key: 1,
118294
118350
  class: "mr-2",
118295
118351
  type: indicator.type
@@ -118748,7 +118804,7 @@ const _sfc_main$4r = /* @__PURE__ */ defineComponent({
118748
118804
  emit("search", value);
118749
118805
  }
118750
118806
  return (_ctx, _cache) => {
118751
- return openBlock(), createBlock(_sfc_main$6A, {
118807
+ return openBlock(), createBlock(_sfc_main$6z, {
118752
118808
  onEsc: handleClose,
118753
118809
  persistent: "",
118754
118810
  show: "",
@@ -119229,7 +119285,7 @@ const _sfc_main$4q = /*@__PURE__*/defineComponent({
119229
119285
  id: 'is_draft',
119230
119286
  cell: cellCtx => createVNode("div", {
119231
119287
  "class": "flex items-center"
119232
- }, [createVNode(_sfc_main$6o, {
119288
+ }, [createVNode(_sfc_main$6F, {
119233
119289
  "disabled": !!editingColumn.value?.id || isCanvasLocked(cellCtx.row.original.id),
119234
119290
  "checked": !cellCtx.getValue(),
119235
119291
  "onChange": async newValue => await updateProperty(cellCtx.row.original, 'is_draft', !newValue),
@@ -120178,7 +120234,7 @@ const _sfc_main$4o = /*@__PURE__*/defineComponent({
120178
120234
  id: 'is_draft',
120179
120235
  cell: cellCtx => createVNode("div", {
120180
120236
  "class": "flex items-center"
120181
- }, [createVNode(_sfc_main$6o, {
120237
+ }, [createVNode(_sfc_main$6F, {
120182
120238
  "disabled": true,
120183
120239
  "checked": !cellCtx.getValue(),
120184
120240
  "themeOverrides": {
@@ -120553,7 +120609,7 @@ const _sfc_main$4m = /* @__PURE__ */ defineComponent({
120553
120609
  });
120554
120610
  };
120555
120611
  return (_ctx, _cache) => {
120556
- return openBlock(), createBlock(_sfc_main$6z, {
120612
+ return openBlock(), createBlock(_sfc_main$6y, {
120557
120613
  class: "c-entity-selector",
120558
120614
  overlap: _ctx.overlap,
120559
120615
  placement: "top-start",
@@ -121809,8 +121865,8 @@ const _sfc_main$4g = /* @__PURE__ */ defineComponent({
121809
121865
  ],
121810
121866
  setup(__props, { emit: __emit }) {
121811
121867
  useCssVars((_ctx) => ({
121812
- "3da35b40": unref(themeVars).base,
121813
- "49a7913e": unref(themeVars).primary4
121868
+ "340c455c": unref(themeVars).base,
121869
+ "409ab37d": unref(themeVars).primary4
121814
121870
  }));
121815
121871
  const props = __props;
121816
121872
  const myUser = inject(
@@ -121821,6 +121877,10 @@ const _sfc_main$4g = /* @__PURE__ */ defineComponent({
121821
121877
  "pitcherInfo",
121822
121878
  computed(() => null)
121823
121879
  );
121880
+ const launchDarkly = inject(
121881
+ "launchDarkly",
121882
+ computed(() => ({}))
121883
+ );
121824
121884
  const emit = __emit;
121825
121885
  const appProps = inject("appProps");
121826
121886
  const vTooltip = tooltipDirective;
@@ -121934,10 +121994,10 @@ const _sfc_main$4g = /* @__PURE__ */ defineComponent({
121934
121994
  }, 8, ["color", "disabled", "text-color"])
121935
121995
  ]),
121936
121996
  _ctx.item.type === "file" ? (openBlock(), createElementBlock("div", _hoisted_3$20, [
121937
- createVNode(CButton, {
121997
+ withDirectives((openBlock(), createBlock(CButton, {
121938
121998
  circle: "",
121939
121999
  color: unref(themeVars).primary6,
121940
- disabled: unref(appProps)?.contentType.value === "file" || _ctx.item.content_type !== "pdf",
122000
+ disabled: unref(appProps)?.contentType.value === "file" || _ctx.item.content_type !== "pdf" || unref(launchDarkly).enable_file_divisible_permission && _ctx.item.permissions?.can_be_divided === false,
121941
122001
  "text-color": unref(themeVars).primary,
121942
122002
  onClick: _cache[1] || (_cache[1] = withModifiers(($event) => emit("itemExpanded", _ctx.item), ["stop"]))
121943
122003
  }, {
@@ -121945,7 +122005,12 @@ const _sfc_main$4g = /* @__PURE__ */ defineComponent({
121945
122005
  createVNode(CIcon, { icon: "angle-right" })
121946
122006
  ]),
121947
122007
  _: 1
121948
- }, 8, ["color", "disabled", "text-color"])
122008
+ }, 8, ["color", "disabled", "text-color"])), [
122009
+ [
122010
+ unref(vTooltip),
122011
+ unref(launchDarkly).enable_file_divisible_permission && _ctx.item.permissions?.can_be_divided === false ? unref(t)("canvasUI.files.notDivisibleExpanded") : void 0
122012
+ ]
122013
+ ])
121949
122014
  ])) : createCommentVNode("", true),
121950
122015
  createVNode(_sfc_main$6K, {
121951
122016
  class: "rounded-2",
@@ -122076,7 +122141,7 @@ const _sfc_main$4g = /* @__PURE__ */ defineComponent({
122076
122141
  }
122077
122142
  });
122078
122143
 
122079
- const GridItem = /* @__PURE__ */ _export_sfc(_sfc_main$4g, [["__scopeId", "data-v-bd0629a2"]]);
122144
+ const GridItem = /* @__PURE__ */ _export_sfc(_sfc_main$4g, [["__scopeId", "data-v-7c4db1d5"]]);
122080
122145
 
122081
122146
  const _hoisted_1$3o = { class: "folders-files-pages-grid py-2 h-full" };
122082
122147
  const _hoisted_2$2x = {
@@ -122396,6 +122461,9 @@ const _sfc_main$4e = /* @__PURE__ */ defineComponent({
122396
122461
  // Not used here
122397
122462
  hasFile: computed(() => props.item.type === "file")
122398
122463
  });
122464
+ const isExpandFileDisabled = computed(() => {
122465
+ 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;
122466
+ });
122399
122467
  return (_ctx, _cache) => {
122400
122468
  const _directive_tooltip = resolveDirective("tooltip");
122401
122469
  return openBlock(), createElementBlock("div", {
@@ -122589,7 +122657,7 @@ const _sfc_main$4e = /* @__PURE__ */ defineComponent({
122589
122657
  key: 2,
122590
122658
  circle: "",
122591
122659
  class: "h-9 w-9",
122592
- disabled: _ctx.isDisabled || unref(appProps)?.contentType.value === "file" || _ctx.item.content_type !== "pdf",
122660
+ disabled: isExpandFileDisabled.value,
122593
122661
  secondary: "",
122594
122662
  type: "default",
122595
122663
  onClick: _cache[3] || (_cache[3] = withModifiers(($event) => emit("expand-file", _ctx.item), ["stop"]))
@@ -122603,7 +122671,10 @@ const _sfc_main$4e = /* @__PURE__ */ defineComponent({
122603
122671
  ]),
122604
122672
  _: 1
122605
122673
  }, 8, ["disabled"])), [
122606
- [_directive_tooltip, unref(t)("canvasUI.contentSelectorApp.contextMenu.expandFile")]
122674
+ [
122675
+ _directive_tooltip,
122676
+ unref(launchDarkly).enable_file_divisible_permission && _ctx.item.permissions?.can_be_divided === false ? unref(t)("canvasUI.files.notDivisibleExpanded") : unref(t)("canvasUI.contentSelectorApp.contextMenu.expandFile")
122677
+ ]
122607
122678
  ]) : createCommentVNode("", true),
122608
122679
  unref(isDragNDropEnabled) && _ctx.item?.type !== "folder" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
122609
122680
  _ctx.isSelected ? (openBlock(), createBlock(CButton, {
@@ -127371,7 +127442,7 @@ const _sfc_main$3Q = /* @__PURE__ */ defineComponent({
127371
127442
  }),
127372
127443
  linkType.value === "web" ? (openBlock(), createElementBlock("div", _hoisted_5$1b, [
127373
127444
  createElementVNode("label", null, toDisplayString(unref(t)("canvasUI.components.fileViewer.linkAnnotation.urlInput")), 1),
127374
- createVNode(_sfc_main$6B, {
127445
+ createVNode(_sfc_main$6A, {
127375
127446
  value: urlInput.value,
127376
127447
  "onUpdate:value": _cache[1] || (_cache[1] = ($event) => urlInput.value = $event),
127377
127448
  placeholder: "https://www.example.com",
@@ -127438,7 +127509,7 @@ const _sfc_main$3Q = /* @__PURE__ */ defineComponent({
127438
127509
  createElementVNode("div", _hoisted_8$D, [
127439
127510
  createElementVNode("div", _hoisted_9$w, [
127440
127511
  createElementVNode("label", null, toDisplayString(unref(t)("canvasUI.components.fileViewer.linkAnnotation.trackingId")), 1),
127441
- createVNode(_sfc_main$6B, {
127512
+ createVNode(_sfc_main$6A, {
127442
127513
  value: trackingId.value,
127443
127514
  "onUpdate:value": _cache[5] || (_cache[5] = ($event) => trackingId.value = $event)
127444
127515
  }, null, 8, ["value"])
@@ -127538,7 +127609,7 @@ const _sfc_main$3P = /* @__PURE__ */ defineComponent({
127538
127609
  class: "c-file-viewer-copy-pages-metadata w-full",
127539
127610
  onKeydown: withKeys(closePopover, ["esc"])
127540
127611
  }, [
127541
- createVNode(_sfc_main$6z, {
127612
+ createVNode(_sfc_main$6y, {
127542
127613
  class: "min-w[400px]",
127543
127614
  placement: "bottom-end",
127544
127615
  scrollable: "",
@@ -127932,7 +128003,7 @@ const _sfc_main$3N = /* @__PURE__ */ defineComponent({
127932
128003
  }, 8, ["disabled", "style"]),
127933
128004
  createVNode(_sfc_main$6N, { closable: false }, createSlots({
127934
128005
  default: withCtx(() => [
127935
- _ctx.isLoadingInstanceMetadataTemplate ? (openBlock(), createBlock(_sfc_main$6q, {
128006
+ _ctx.isLoadingInstanceMetadataTemplate ? (openBlock(), createBlock(_sfc_main$6p, {
127936
128007
  key: 0,
127937
128008
  class: "flex h-full"
127938
128009
  })) : createCommentVNode("", true),
@@ -129823,7 +129894,7 @@ const _sfc_main$3L = /* @__PURE__ */ defineComponent({
129823
129894
  { immediate: true }
129824
129895
  );
129825
129896
  return (_ctx, _cache) => {
129826
- return openBlock(), createBlock(_sfc_main$6A, {
129897
+ return openBlock(), createBlock(_sfc_main$6z, {
129827
129898
  onEsc: onCloseFile,
129828
129899
  show: "",
129829
129900
  to: unref(appElem),
@@ -129900,7 +129971,7 @@ const _sfc_main$3L = /* @__PURE__ */ defineComponent({
129900
129971
  _: 3
129901
129972
  }, 8, ["style"])) : createCommentVNode("", true),
129902
129973
  !_ctx.file ? (openBlock(), createElementBlock("div", _hoisted_1$2V, [
129903
- createVNode(_sfc_main$6q, {
129974
+ createVNode(_sfc_main$6p, {
129904
129975
  color: unref(themeVars).primary,
129905
129976
  size: "large"
129906
129977
  }, null, 8, ["color"])
@@ -132268,7 +132339,7 @@ const _sfc_main$3t = /* @__PURE__ */ defineComponent({
132268
132339
  ]),
132269
132340
  createElementVNode("div", _hoisted_5$12, [
132270
132341
  createElementVNode("p", _hoisted_6$U, toDisplayString(unref(t)("canvasUI.components.CRatingFeedback.review")), 1),
132271
- createVNode(_sfc_main$6B, {
132342
+ createVNode(_sfc_main$6A, {
132272
132343
  autosize: { minRows: 3, maxRows: 3 },
132273
132344
  class: "rounded-1 border-primary6 text-sm",
132274
132345
  placeholder: unref(t)("canvasUI.components.CRatingFeedback.reviewPlaceholder"),
@@ -132686,7 +132757,7 @@ const _sfc_main$3q = /* @__PURE__ */ defineComponent({
132686
132757
  ])) : createCommentVNode("", true),
132687
132758
  createElementVNode("div", _hoisted_3$1u, [
132688
132759
  (openBlock(true), createElementBlock(Fragment, null, renderList(tagsToRender.value, (tag, index) => {
132689
- return openBlock(), createBlock(_sfc_main$6F, {
132760
+ return openBlock(), createBlock(_sfc_main$6E, {
132690
132761
  key: index,
132691
132762
  class: "truncate",
132692
132763
  round: ""
@@ -132913,7 +132984,7 @@ const _sfc_main$3o = /* @__PURE__ */ defineComponent({
132913
132984
  })) : createCommentVNode("", true)
132914
132985
  ]),
132915
132986
  isLoading.value ? (openBlock(), createElementBlock("div", _hoisted_3$1t, [
132916
- createVNode(_sfc_main$6q)
132987
+ createVNode(_sfc_main$6p)
132917
132988
  ])) : isEditing.value ? (openBlock(), createElementBlock("div", _hoisted_4$1b, [
132918
132989
  allowUsersInDistribution.value ? (openBlock(), createBlock(CUsersGroupsAccessManage, {
132919
132990
  key: 0,
@@ -133437,7 +133508,7 @@ const _sfc_main$3n = /* @__PURE__ */ defineComponent({
133437
133508
  _: 1
133438
133509
  }, 8, ["value", "placeholder"]),
133439
133510
  !hideApps.value || shouldShowBlocksTab.value ? (openBlock(), createElementBlock("div", _hoisted_1$2D, [
133440
- createVNode(_sfc_main$6F, {
133511
+ createVNode(_sfc_main$6E, {
133441
133512
  bordered: activeFilter.value === "basic" /* Basic */,
133442
133513
  class: "text-xs cursor-pointer",
133443
133514
  closable: activeFilter.value === "basic" /* Basic */,
@@ -133451,7 +133522,7 @@ const _sfc_main$3n = /* @__PURE__ */ defineComponent({
133451
133522
  ]),
133452
133523
  _: 1
133453
133524
  }, 8, ["bordered", "closable"]),
133454
- !hideApps.value ? (openBlock(), createBlock(_sfc_main$6F, {
133525
+ !hideApps.value ? (openBlock(), createBlock(_sfc_main$6E, {
133455
133526
  key: 0,
133456
133527
  bordered: activeFilter.value === "apps" /* Apps */,
133457
133528
  class: "text-xs cursor-pointer",
@@ -133466,7 +133537,7 @@ const _sfc_main$3n = /* @__PURE__ */ defineComponent({
133466
133537
  ]),
133467
133538
  _: 1
133468
133539
  }, 8, ["bordered", "closable"])) : createCommentVNode("", true),
133469
- shouldShowBlocksTab.value ? (openBlock(), createBlock(_sfc_main$6F, {
133540
+ shouldShowBlocksTab.value ? (openBlock(), createBlock(_sfc_main$6E, {
133470
133541
  key: 1,
133471
133542
  bordered: activeFilter.value === "blocks" /* Blocks */,
133472
133543
  class: "text-xs cursor-pointer",
@@ -134481,7 +134552,7 @@ const _sfc_main$3l = /* @__PURE__ */ defineComponent({
134481
134552
  })
134482
134553
  ]),
134483
134554
  createElementVNode("div", _hoisted_6$Q, [
134484
- createVNode(_sfc_main$6B, {
134555
+ createVNode(_sfc_main$6A, {
134485
134556
  ref_key: "searchRef",
134486
134557
  ref: searchRef,
134487
134558
  value: search.value,
@@ -134675,7 +134746,7 @@ const _sfc_main$3k = /* @__PURE__ */ defineComponent({
134675
134746
  }, 1032, ["circle", "onClick"])), [
134676
134747
  [_directive_tooltip, shortcut.tooltip || shortcut.displayName]
134677
134748
  ]);
134678
- }), 128)) : (openBlock(), createBlock(_sfc_main$6z, {
134749
+ }), 128)) : (openBlock(), createBlock(_sfc_main$6y, {
134679
134750
  key: 1,
134680
134751
  show: isPopoverVisible.value,
134681
134752
  "onUpdate:show": _cache[1] || (_cache[1] = ($event) => isPopoverVisible.value = $event),
@@ -135054,7 +135125,7 @@ const _sfc_main$3i = /* @__PURE__ */ defineComponent({
135054
135125
  ]);
135055
135126
  }), 128))
135056
135127
  ], 64)) : unref(shouldShowPopupApps) && !_ctx.inline ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
135057
- unref(hasMultipleApps) ? (openBlock(), createBlock(_sfc_main$6z, {
135128
+ unref(hasMultipleApps) ? (openBlock(), createBlock(_sfc_main$6y, {
135058
135129
  key: 0,
135059
135130
  placement: _ctx.placement,
135060
135131
  showArrow: true,
@@ -136585,7 +136656,7 @@ const _sfc_main$38 = /* @__PURE__ */ defineComponent({
136585
136656
  });
136586
136657
  return (_ctx, _cache) => {
136587
136658
  const _directive_tooltip = resolveDirective("tooltip");
136588
- return _ctx.selected ? (openBlock(), createBlock(_sfc_main$6z, {
136659
+ return _ctx.selected ? (openBlock(), createBlock(_sfc_main$6y, {
136589
136660
  key: 0,
136590
136661
  class: normalizeClass({
136591
136662
  "-top-1": _ctx.placement.includes("top"),
@@ -137936,19 +138007,37 @@ function useComponentPermissions({
137936
138007
  isAnyTypeOfAdmin: false
137937
138008
  }))
137938
138009
  );
137939
- const { canvasContent } = useCanvas$1();
138010
+ const launchDarkly = inject(
138011
+ "launchDarkly",
138012
+ computed(() => ({}))
138013
+ );
138014
+ const { canvasContent, activeCanvas } = useCanvas$1();
137940
138015
  return computed(() => {
137941
- if (!usedInSectionId.value) return calculateCanvasPermissions(id.value, !!pitcherInfo.value?.isAnyTypeOfAdmin);
137942
- const parent = findParentByNodeId(canvasContent.value, id.value);
137943
- const canRemove = !!when_used_in_section.value?.is_removable;
137944
- const canEdit = !!when_used_in_section.value?.is_editable;
137945
- const canDuplicate = parent ? !!parent.when_used_in_section?.is_editable : false;
137946
- return {
137947
- hasSomethingEditable: canEdit || canRemove || canDuplicate,
137948
- canRemove,
137949
- canEdit,
137950
- canDuplicate
137951
- };
138016
+ if (usedInSectionId.value) {
138017
+ const parent = findParentByNodeId(canvasContent.value, id.value);
138018
+ const canRemove = !!when_used_in_section.value?.is_removable;
138019
+ const canEdit = !!when_used_in_section.value?.is_editable;
138020
+ const canDuplicate = parent ? !!parent.when_used_in_section?.is_editable : false;
138021
+ return {
138022
+ hasSomethingEditable: canEdit || canRemove || canDuplicate,
138023
+ canRemove,
138024
+ canEdit,
138025
+ canDuplicate
138026
+ };
138027
+ }
138028
+ 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);
138029
+ if (activeCanvas.value?.template?.id && launchDarkly.value.enable_template_component_permissions && hasExplicitPermissions) {
138030
+ const canRemove = !!when_used_in_section.value?.is_removable;
138031
+ const canEdit = !!when_used_in_section.value?.is_editable;
138032
+ const canDuplicate = canEdit;
138033
+ return {
138034
+ hasSomethingEditable: canEdit || canRemove || canDuplicate,
138035
+ canRemove,
138036
+ canEdit,
138037
+ canDuplicate
138038
+ };
138039
+ }
138040
+ return calculateCanvasPermissions(id.value, !!pitcherInfo.value?.isAnyTypeOfAdmin);
137952
138041
  });
137953
138042
  }
137954
138043
 
@@ -139334,7 +139423,7 @@ const _sfc_main$2Y = /* @__PURE__ */ defineComponent({
139334
139423
  src: _ctx.item.file.content_url ?? void 0,
139335
139424
  title: unref(t)("canvasUI.collectionPlayer.webSlide")
139336
139425
  }, null, 8, _hoisted_2$1F)) : !_ctx.item.file || !_ctx.item.file.content_type ? (openBlock(), createElementBlock("div", _hoisted_3$1i, [
139337
- createVNode(_sfc_main$6q, {
139426
+ createVNode(_sfc_main$6p, {
139338
139427
  color: unref(themeVars).primary,
139339
139428
  size: "small"
139340
139429
  }, null, 8, ["color"])
@@ -139969,7 +140058,7 @@ const _sfc_main$2T = /* @__PURE__ */ defineComponent({
139969
140058
  setup(__props) {
139970
140059
  const { closeApp, inModal } = useAppStore$3();
139971
140060
  return (_ctx, _cache) => {
139972
- return unref(inModal) ? (openBlock(), createBlock(_sfc_main$6A, {
140061
+ return unref(inModal) ? (openBlock(), createBlock(_sfc_main$6z, {
139973
140062
  key: 0,
139974
140063
  class: "h-[100vh] w-[100vw]",
139975
140064
  show: "",
@@ -140160,7 +140249,7 @@ const _sfc_main$2S = /* @__PURE__ */ defineComponent({
140160
140249
  style: normalizeStyle({ aspectRatio: _ctx.aspectRatio })
140161
140250
  }, [
140162
140251
  unref(isOpenTableOfContents) ? (openBlock(), createBlock(_sfc_main$2W, { key: 0 })) : createCommentVNode("", true),
140163
- isLoading.value ? (openBlock(), createBlock(_sfc_main$6q, {
140252
+ isLoading.value ? (openBlock(), createBlock(_sfc_main$6p, {
140164
140253
  key: 1,
140165
140254
  color: unref(themeVars).primary,
140166
140255
  size: "large"
@@ -140714,7 +140803,7 @@ const _sfc_main$2R = /* @__PURE__ */ defineComponent({
140714
140803
  key: 0,
140715
140804
  onSelectCollectionContent: _cache[0] || (_cache[0] = ($event) => unref(selectContent)({ id: unref(id), initialData: unref(data) }))
140716
140805
  })) : needsFileResolution.value ? (openBlock(), createElementBlock("div", _hoisted_1$2d, [
140717
- createVNode(_sfc_main$6q, {
140806
+ createVNode(_sfc_main$6p, {
140718
140807
  color: unref(themeVars).primary,
140719
140808
  size: "large"
140720
140809
  }, null, 8, ["color"])
@@ -140758,7 +140847,7 @@ const _sfc_main$2R = /* @__PURE__ */ defineComponent({
140758
140847
  ]);
140759
140848
  }), 128))
140760
140849
  ])) : needsFileResolution.value ? (openBlock(), createElementBlock("div", _hoisted_6$K, [
140761
- createVNode(_sfc_main$6q, {
140850
+ createVNode(_sfc_main$6p, {
140762
140851
  color: unref(themeVars).primary,
140763
140852
  size: "large"
140764
140853
  }, null, 8, ["color"])
@@ -148487,7 +148576,7 @@ const _sfc_main$2i = /* @__PURE__ */ defineComponent({
148487
148576
  unref(computedMultimediaProps).data.type === "video" && !unref(isIosDevice) ? {
148488
148577
  name: "toolbar-slot",
148489
148578
  fn: withCtx(() => [
148490
- createVNode(_sfc_main$6z, {
148579
+ createVNode(_sfc_main$6y, {
148491
148580
  placement: "bottom",
148492
148581
  trigger: "click",
148493
148582
  width: 280
@@ -149480,7 +149569,7 @@ const _sfc_main$2g = /* @__PURE__ */ defineComponent({
149480
149569
  createElementVNode("span", _hoisted_3$13, toDisplayString(unref(t)("canvasUI.canvasBuilder.linkableComponent.unlink")), 1)
149481
149570
  ])) : createCommentVNode("", true)
149482
149571
  ]),
149483
- showLinkModal.value ? (openBlock(), createBlock(_sfc_main$6A, {
149572
+ showLinkModal.value ? (openBlock(), createBlock(_sfc_main$6z, {
149484
149573
  key: 0,
149485
149574
  bordered: false,
149486
149575
  class: "cb-linkable-settings",
@@ -154863,7 +154952,7 @@ const _sfc_main$1X = /* @__PURE__ */ defineComponent({
154863
154952
  _: 1
154864
154953
  }))
154865
154954
  ], 64)),
154866
- createVNode(_sfc_main$6A, {
154955
+ createVNode(_sfc_main$6z, {
154867
154956
  show: showModal.value,
154868
154957
  "onUpdate:show": _cache[6] || (_cache[6] = ($event) => showModal.value = $event),
154869
154958
  "mask-closable": !isEnhancedStatesEnabled.value,
@@ -155285,7 +155374,7 @@ const _sfc_main$1V = /* @__PURE__ */ defineComponent({
155285
155374
  const emit = __emit;
155286
155375
  const { t } = useI18n();
155287
155376
  return (_ctx, _cache) => {
155288
- return openBlock(), createBlock(_sfc_main$6B, {
155377
+ return openBlock(), createBlock(_sfc_main$6A, {
155289
155378
  autofocus: _ctx.autofocus,
155290
155379
  class: "c-search flex items-center justify-center border-primary5",
155291
155380
  clearable: "",
@@ -155507,7 +155596,7 @@ const _sfc_main$1U = /*@__PURE__*/defineComponent({
155507
155596
  "onUpdate:search": _cache[0] || (_cache[0] = $event => search.value = $event),
155508
155597
  class: "w-full max-w-[300px] min-w-[150px]",
155509
155598
  placeholder: unref(t)('canvasUI.canvasBuilder.sectionListRaw.searchPlaceholder')
155510
- }, null, 8, ["search", "placeholder"]), createVNode(_sfc_main$6z, {
155599
+ }, null, 8, ["search", "placeholder"]), createVNode(_sfc_main$6y, {
155511
155600
  class: "max-w-[220px] max-h-[400px] overflow-y-auto",
155512
155601
  placement: "bottom-end",
155513
155602
  "show-arrow": false,
@@ -155889,7 +155978,7 @@ const _sfc_main$1S = /* @__PURE__ */ defineComponent({
155889
155978
  computed(() => rootRef.value)
155890
155979
  );
155891
155980
  return (_ctx, _cache) => {
155892
- return openBlock(), createBlock(_sfc_main$6A, {
155981
+ return openBlock(), createBlock(_sfc_main$6z, {
155893
155982
  "auto-focus": true,
155894
155983
  class: "c-section-item-modal",
155895
155984
  show: "",
@@ -156925,7 +157014,9 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
156925
157014
  visible: {},
156926
157015
  allow_admins_to_overwrite: { type: Boolean },
156927
157016
  style: {},
156928
- printModeIdx: {}
157017
+ printModeIdx: {},
157018
+ when_used_in_section: {},
157019
+ usedInSectionId: { default: "" }
156929
157020
  },
156930
157021
  emits: ["style"],
156931
157022
  setup(__props, { emit: __emit }) {
@@ -156940,12 +157031,42 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
156940
157031
  computed(() => [])
156941
157032
  );
156942
157033
  const { isCompletionWizardEnabled, retriggerWizard } = useCanvasCompletionWizard();
156943
- const isEditable = computed(
156944
- () => isImpact.value ? !props.data.selection_strategy || props.data.selection_strategy === "free" || isCompletionWizardEnabled.value && wizardStepSectionListIds.value.includes(props.id) : true
156945
- );
156946
- const isRemovable = computed(
156947
- () => isImpact.value ? !props.data.selection_strategy || props.data.selection_strategy === "free" : true
156948
- );
157034
+ const {
157035
+ isImpact,
157036
+ mode,
157037
+ isEditMode,
157038
+ componentSelectedMode,
157039
+ isViewOnlyMode,
157040
+ componentEditMode,
157041
+ componentNodesById,
157042
+ activeCanvas,
157043
+ saveCanvasContentWithContext,
157044
+ removeComponentById,
157045
+ setComponentSelectedMode,
157046
+ setComponentSettingsMode,
157047
+ updateNodeDataById,
157048
+ canvasContent
157049
+ } = useCanvas$1();
157050
+ const { id, usedInSectionId, when_used_in_section } = toRefs(props);
157051
+ const componentPermissions = useComponentPermissions({
157052
+ id,
157053
+ usedInSectionId,
157054
+ when_used_in_section
157055
+ });
157056
+ const isEditable = computed(() => {
157057
+ if (!componentPermissions.value.canEdit) return false;
157058
+ if (isImpact.value) {
157059
+ return !props.data.selection_strategy || props.data.selection_strategy === "free" || isCompletionWizardEnabled.value && wizardStepSectionListIds.value.includes(props.id);
157060
+ }
157061
+ return true;
157062
+ });
157063
+ const isRemovable = computed(() => {
157064
+ if (!componentPermissions.value.canRemove) return false;
157065
+ if (isImpact.value) {
157066
+ return !props.data.selection_strategy || props.data.selection_strategy === "free";
157067
+ }
157068
+ return true;
157069
+ });
156949
157070
  const sectionSelectorAppSrc = computed(() => {
156950
157071
  if (!sectionSelectorApps.value?.length || !props.data.selection_app_name) return null;
156951
157072
  const relatedApp = sectionSelectorApps.value.find((app) => app.app_metadata?.name === props.data.selection_app_name);
@@ -157012,7 +157133,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
157012
157133
  async (selectedData) => {
157013
157134
  console.info(`[SectionList]: Received done callback for ${props.id} with data`, selectedData);
157014
157135
  if (!selectedData) return;
157015
- const sections = (selectedData?.section_ids || []).map((id) => ({ id: typeof id === "string" ? id : id.id }));
157136
+ const sections = (selectedData?.section_ids || []).map((id2) => ({ id: typeof id2 === "string" ? id2 : id2.id }));
157016
157137
  const updatedData = { ...props.data, sections };
157017
157138
  updateNodeDataById(props.id, updatedData);
157018
157139
  const currentContext = cloneDeep(activeCanvas.value?.context || {});
@@ -157038,22 +157159,6 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
157038
157159
  sectionListRef.value?.toggleSectionSelector();
157039
157160
  }
157040
157161
  }
157041
- const {
157042
- isImpact,
157043
- mode,
157044
- isEditMode,
157045
- componentSelectedMode,
157046
- isViewOnlyMode,
157047
- componentEditMode,
157048
- componentNodesById,
157049
- activeCanvas,
157050
- saveCanvasContentWithContext,
157051
- removeComponentById,
157052
- setComponentSelectedMode,
157053
- setComponentSettingsMode,
157054
- updateNodeDataById,
157055
- canvasContent
157056
- } = useCanvas$1();
157057
157162
  return (_ctx, _cache) => {
157058
157163
  return openBlock(), createElementBlock(Fragment, null, [
157059
157164
  unref(shouldDisplayPlaceholderComponent)(unref(isEditMode), unref(mode), _ctx.visible) ? (openBlock(), createBlock(PlaceholderComponent, {
@@ -157061,25 +157166,25 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
157061
157166
  name: _ctx.tracking_id
157062
157167
  }, null, 8, ["name"])) : unref(isEditMode) && !unref(isViewOnlyMode) ? (openBlock(), createBlock(_sfc_main$34, {
157063
157168
  key: 1,
157064
- id: _ctx.id,
157065
- active: unref(componentEditMode) && unref(componentEditMode)?.id === _ctx.id,
157169
+ id: unref(id),
157170
+ active: unref(componentEditMode) && unref(componentEditMode)?.id === unref(id),
157066
157171
  class: normalizeClass({ "mt-12": sectionListName.value }),
157067
157172
  edit: isEditable.value,
157068
157173
  "exclude-stylables": [unref(ThemeComponentOptionEnum).COLOR_PICKER],
157069
157174
  remove: isRemovable.value,
157070
- selected: unref(componentSelectedMode) && unref(componentSelectedMode)?.id === _ctx.id,
157175
+ selected: unref(componentSelectedMode) && unref(componentSelectedMode)?.id === unref(id),
157071
157176
  settings: "",
157072
157177
  stylable: "",
157073
157178
  style: normalizeStyle(unref(omit$1)(_ctx.style, "paddingBottom", "paddingLeft", "paddingTop", "paddingRight")),
157074
157179
  onEdit: handleEdit,
157075
- onRemove: _cache[0] || (_cache[0] = ($event) => unref(removeComponentById)(_ctx.id)),
157076
- onSelect: _cache[1] || (_cache[1] = ($event) => unref(setComponentSelectedMode)(_ctx.id)),
157077
- onSettings: _cache[2] || (_cache[2] = ($event) => unref(setComponentSettingsMode)(_ctx.id)),
157180
+ onRemove: _cache[0] || (_cache[0] = ($event) => unref(removeComponentById)(unref(id))),
157181
+ onSelect: _cache[1] || (_cache[1] = ($event) => unref(setComponentSelectedMode)(unref(id))),
157182
+ onSettings: _cache[2] || (_cache[2] = ($event) => unref(setComponentSettingsMode)(unref(id))),
157078
157183
  onStyle: _cache[3] || (_cache[3] = ($event) => emit("style", $event))
157079
157184
  }, {
157080
157185
  default: withCtx(() => [
157081
157186
  createVNode(RawSectionList, mergeProps({
157082
- id: _ctx.id,
157187
+ id: unref(id),
157083
157188
  ref_key: "sectionListRef",
157084
157189
  ref: sectionListRef,
157085
157190
  class: "pa-2",
@@ -157097,7 +157202,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
157097
157202
  _: 1
157098
157203
  }, 8, ["id", "active", "class", "edit", "exclude-stylables", "remove", "selected", "style"])) : (openBlock(), createBlock(RawSectionList, mergeProps({
157099
157204
  key: 2,
157100
- id: _ctx.id,
157205
+ id: unref(id),
157101
157206
  data: _ctx.data
157102
157207
  }, unref(attrs), {
157103
157208
  "has-section-selector-app": !!sectionSelectorAppSrc.value,
@@ -159625,7 +159730,8 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
159625
159730
  autofill: {},
159626
159731
  linkable: {},
159627
159732
  autofill_content_types: {},
159628
- when_used_in_section: {}
159733
+ when_used_in_section: {},
159734
+ usedInSectionId: { default: "" }
159629
159735
  },
159630
159736
  emits: ["style"],
159631
159737
  setup(__props, { emit: __emit }) {
@@ -159640,12 +159746,42 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
159640
159746
  computed(() => ({}))
159641
159747
  );
159642
159748
  const { isCompletionWizardEnabled, retriggerWizard } = useCanvasCompletionWizard();
159643
- const isEditable = computed(
159644
- () => isImpact.value ? !props.data.selection_strategy || props.data.selection_strategy === "free" || isCompletionWizardEnabled.value && wizardStepSectionListIds.value.includes(props.id) : true
159645
- );
159646
- const isRemovable = computed(
159647
- () => isImpact.value ? !props.data.selection_strategy || props.data.selection_strategy === "free" : true
159648
- );
159749
+ const {
159750
+ isImpact,
159751
+ mode,
159752
+ isEditMode,
159753
+ componentSelectedMode,
159754
+ isViewOnlyMode,
159755
+ componentEditMode,
159756
+ componentNodesById,
159757
+ activeCanvas,
159758
+ saveCanvasContentWithContext,
159759
+ removeComponentById,
159760
+ setComponentSelectedMode,
159761
+ setComponentSettingsMode,
159762
+ updateNodeDataById,
159763
+ canvasContent
159764
+ } = useCanvas$1();
159765
+ const { id, usedInSectionId, when_used_in_section } = toRefs(props);
159766
+ const componentPermissions = useComponentPermissions({
159767
+ id,
159768
+ usedInSectionId,
159769
+ when_used_in_section
159770
+ });
159771
+ const isEditable = computed(() => {
159772
+ if (!componentPermissions.value.canEdit) return false;
159773
+ if (isImpact.value) {
159774
+ return !props.data.selection_strategy || props.data.selection_strategy === "free" || isCompletionWizardEnabled.value && wizardStepSectionListIds.value.includes(props.id);
159775
+ }
159776
+ return true;
159777
+ });
159778
+ const isRemovable = computed(() => {
159779
+ if (!componentPermissions.value.canRemove) return false;
159780
+ if (isImpact.value) {
159781
+ return !props.data.selection_strategy || props.data.selection_strategy === "free";
159782
+ }
159783
+ return true;
159784
+ });
159649
159785
  const sectionSelectorAppSrc = computed(() => {
159650
159786
  if (!sectionSelectorApps.value?.length || !props.data.selection_app_name) return null;
159651
159787
  const relatedApp = sectionSelectorApps.value.find((app) => app.app_metadata?.name === props.data.selection_app_name);
@@ -159712,7 +159848,7 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
159712
159848
  async (selectedData) => {
159713
159849
  console.info(`[SectionList]: Received done callback for ${props.id} with data`, selectedData);
159714
159850
  if (!selectedData) return;
159715
- const sections = (selectedData?.section_ids || []).map((id) => ({ id: typeof id === "string" ? id : id.id }));
159851
+ const sections = (selectedData?.section_ids || []).map((id2) => ({ id: typeof id2 === "string" ? id2 : id2.id }));
159716
159852
  const updatedData = { ...props.data, sections };
159717
159853
  updateNodeDataById(props.id, updatedData);
159718
159854
  const currentContext = cloneDeep(activeCanvas.value?.context || {});
@@ -159738,22 +159874,6 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
159738
159874
  contentListRef.value?.toggleSectionSelector();
159739
159875
  }
159740
159876
  }
159741
- const {
159742
- isImpact,
159743
- mode,
159744
- isEditMode,
159745
- componentSelectedMode,
159746
- isViewOnlyMode,
159747
- componentEditMode,
159748
- componentNodesById,
159749
- activeCanvas,
159750
- saveCanvasContentWithContext,
159751
- removeComponentById,
159752
- setComponentSelectedMode,
159753
- setComponentSettingsMode,
159754
- updateNodeDataById,
159755
- canvasContent
159756
- } = useCanvas$1();
159757
159877
  return (_ctx, _cache) => {
159758
159878
  return openBlock(), createElementBlock(Fragment, null, [
159759
159879
  unref(shouldDisplayPlaceholderComponent)(unref(isEditMode), unref(mode), _ctx.visible) ? (openBlock(), createBlock(PlaceholderComponent, {
@@ -159761,25 +159881,25 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
159761
159881
  name: _ctx.tracking_id
159762
159882
  }, null, 8, ["name"])) : unref(isEditMode) && !unref(isViewOnlyMode) ? (openBlock(), createBlock(_sfc_main$34, {
159763
159883
  key: 1,
159764
- id: _ctx.id,
159765
- active: unref(componentEditMode) && unref(componentEditMode)?.id === _ctx.id,
159884
+ id: unref(id),
159885
+ active: unref(componentEditMode) && unref(componentEditMode)?.id === unref(id),
159766
159886
  class: normalizeClass({ "mt-12": componentName.value }),
159767
159887
  edit: isEditable.value,
159768
159888
  "exclude-stylables": [unref(ThemeComponentOptionEnum).COLOR_PICKER],
159769
159889
  remove: isRemovable.value,
159770
- selected: unref(componentSelectedMode) && unref(componentSelectedMode)?.id === _ctx.id,
159890
+ selected: unref(componentSelectedMode) && unref(componentSelectedMode)?.id === unref(id),
159771
159891
  settings: "",
159772
159892
  stylable: "",
159773
159893
  style: normalizeStyle(unref(omit$1)(_ctx.style, "paddingBottom", "paddingLeft", "paddingTop", "paddingRight")),
159774
159894
  onEdit: handleEdit,
159775
- onRemove: _cache[0] || (_cache[0] = ($event) => unref(removeComponentById)(_ctx.id)),
159776
- onSelect: _cache[1] || (_cache[1] = ($event) => unref(setComponentSelectedMode)(_ctx.id)),
159777
- onSettings: _cache[2] || (_cache[2] = ($event) => unref(setComponentSettingsMode)(_ctx.id)),
159895
+ onRemove: _cache[0] || (_cache[0] = ($event) => unref(removeComponentById)(unref(id))),
159896
+ onSelect: _cache[1] || (_cache[1] = ($event) => unref(setComponentSelectedMode)(unref(id))),
159897
+ onSettings: _cache[2] || (_cache[2] = ($event) => unref(setComponentSettingsMode)(unref(id))),
159778
159898
  onStyle: _cache[3] || (_cache[3] = ($event) => emit("style", $event))
159779
159899
  }, {
159780
159900
  default: withCtx(() => [
159781
159901
  createVNode(ContentListRaw, mergeProps({
159782
- id: _ctx.id,
159902
+ id: unref(id),
159783
159903
  ref_key: "contentListRef",
159784
159904
  ref: contentListRef,
159785
159905
  class: ["pa-2", props.class],
@@ -159797,7 +159917,7 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
159797
159917
  _: 1
159798
159918
  }, 8, ["id", "active", "class", "edit", "exclude-stylables", "remove", "selected", "style"])) : (openBlock(), createBlock(ContentListRaw, mergeProps({
159799
159919
  key: 2,
159800
- id: _ctx.id,
159920
+ id: unref(id),
159801
159921
  data: _ctx.data
159802
159922
  }, unref(attrs), {
159803
159923
  "has-section-selector-app": !!sectionSelectorAppSrc.value,
@@ -161055,7 +161175,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
161055
161175
  showCustomSize.value ? (openBlock(), createElementBlock("div", _hoisted_3$N, [
161056
161176
  createElementVNode("div", _hoisted_4$F, [
161057
161177
  createElementVNode("label", _hoisted_5$y, toDisplayString(unref(t)("canvasUI.components.CPdfDimensionsSelector.width")), 1),
161058
- createVNode(_sfc_main$6B, {
161178
+ createVNode(_sfc_main$6A, {
161059
161179
  value: localWidthValue.value,
161060
161180
  "onUpdate:value": [
161061
161181
  _cache[0] || (_cache[0] = ($event) => localWidthValue.value = $event),
@@ -161068,7 +161188,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
161068
161188
  ]),
161069
161189
  createElementVNode("div", _hoisted_6$u, [
161070
161190
  createElementVNode("label", _hoisted_7$j, toDisplayString(unref(t)("canvasUI.components.CPdfDimensionsSelector.height")), 1),
161071
- createVNode(_sfc_main$6B, {
161191
+ createVNode(_sfc_main$6A, {
161072
161192
  value: localHeightValue.value,
161073
161193
  "onUpdate:value": [
161074
161194
  _cache[1] || (_cache[1] = ($event) => localHeightValue.value = $event),
@@ -161756,7 +161876,7 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
161756
161876
  ]),
161757
161877
  _: 1
161758
161878
  }, 8, ["label"]),
161759
- createVNode(_sfc_main$6B, {
161879
+ createVNode(_sfc_main$6A, {
161760
161880
  value: unref(backgroundVideoUrl),
161761
161881
  "onUpdate:value": _cache[6] || (_cache[6] = ($event) => isRef(backgroundVideoUrl) ? backgroundVideoUrl.value = $event : null),
161762
161882
  placeholder: unref(t)("canvasUI.canvasBuilder.canvasDrawerTheme.backgroundVideoLabel"),
@@ -161964,7 +162084,7 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
161964
162084
  ]),
161965
162085
  _: 1
161966
162086
  }, 8, ["label"]),
161967
- createVNode(_sfc_main$6B, {
162087
+ createVNode(_sfc_main$6A, {
161968
162088
  value: unref(backgroundVideoUrl),
161969
162089
  "onUpdate:value": _cache[18] || (_cache[18] = ($event) => isRef(backgroundVideoUrl) ? backgroundVideoUrl.value = $event : null),
161970
162090
  placeholder: unref(t)("canvasUI.canvasBuilder.canvasDrawerTheme.backgroundVideoLabel"),
@@ -162709,7 +162829,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
162709
162829
  );
162710
162830
  const areSectionsSystemControlled = computed(() => launchDarkly.value?.are_sections_system_controlled);
162711
162831
  const allowEditOrRemove = computed(
162712
- () => (selectedComponentType.value === ComponentTypes.Text || selectedComponentType.value === ComponentTypes.Carousel || selectedComponentType.value === ComponentTypes.Multimedia) && isAdmin.value && isSection.value
162832
+ () => isAdmin.value && ((selectedComponentType.value === ComponentTypes.Text || selectedComponentType.value === ComponentTypes.Carousel || selectedComponentType.value === ComponentTypes.Multimedia) && isSection.value || launchDarkly.value.enable_template_component_permissions && isCanvasTemplate.value)
162713
162833
  );
162714
162834
  const canSelectSectionListStrategy = computed(
162715
162835
  () => isAdmin.value && isCanvasTemplate.value && isSectionOrContentList.value
@@ -162771,7 +162891,8 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
162771
162891
  formValues.contentGridDataAccessor = value || "";
162772
162892
  }
162773
162893
  function getEditOrRemoveOption() {
162774
- const map = activeSettingsNode.value?.when_used_in_section ?? cloneDeep(defaultWhenUsedInSection);
162894
+ const defaultPermissions = isCanvasTemplate.value && launchDarkly.value.enable_template_component_permissions ? { is_editable: true, is_removable: true } : cloneDeep(defaultWhenUsedInSection);
162895
+ const map = activeSettingsNode.value?.when_used_in_section ?? defaultPermissions;
162775
162896
  let value = "";
162776
162897
  value += map.is_editable ? "1" : "0";
162777
162898
  value += map.is_removable ? "1" : "0";
@@ -163272,7 +163393,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
163272
163393
  }
163273
163394
  });
163274
163395
 
163275
- const ComponentDrawerSettings = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["__scopeId", "data-v-dce6a881"]]);
163396
+ const ComponentDrawerSettings = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["__scopeId", "data-v-1ab19780"]]);
163276
163397
 
163277
163398
  function useConnectUpload() {
163278
163399
  async function uploadToConnect(formData) {
@@ -164506,7 +164627,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
164506
164627
  createElementVNode("div", _hoisted_23$1, [
164507
164628
  createElementVNode("div", _hoisted_24$1, toDisplayString(prop.key), 1),
164508
164629
  createElementVNode("div", _hoisted_25$1, [
164509
- createVNode(_sfc_main$6B, {
164630
+ createVNode(_sfc_main$6A, {
164510
164631
  value: prop.display_name,
164511
164632
  "onUpdate:value": ($event) => prop.display_name = $event,
164512
164633
  class: "bg-primary6 border-primary6 flex-1 max-w-[400px]",
@@ -165208,7 +165329,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
165208
165329
  createElementVNode("div", _hoisted_9$a, [
165209
165330
  createElementVNode("div", _hoisted_10$6, [
165210
165331
  createElementVNode("div", _hoisted_11$6, toDisplayString(unref(t)("canvasUI.canvasBuilder.customDataTable.path")), 1),
165211
- createVNode(_sfc_main$6B, {
165332
+ createVNode(_sfc_main$6A, {
165212
165333
  value: level.path,
165213
165334
  "onUpdate:value": ($event) => level.path = $event,
165214
165335
  placeholder: unref(t)("canvasUI.canvasBuilder.customDataTable.pathPlaceholder")
@@ -165216,7 +165337,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
165216
165337
  ]),
165217
165338
  level.type === "group" ? (openBlock(), createElementBlock("div", _hoisted_12$3, [
165218
165339
  createElementVNode("div", _hoisted_13$3, toDisplayString(unref(t)("canvasUI.canvasBuilder.customDataTable.groupByKey")), 1),
165219
- createVNode(_sfc_main$6B, {
165340
+ createVNode(_sfc_main$6A, {
165220
165341
  value: level.group_by_key,
165221
165342
  "onUpdate:value": ($event) => level.group_by_key = $event,
165222
165343
  placeholder: unref(t)("canvasUI.canvasBuilder.customDataTable.groupByKeyPlaceholder")
@@ -165291,7 +165412,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
165291
165412
  createElementVNode("div", _hoisted_18$1, [
165292
165413
  createElementVNode("div", _hoisted_19$1, toDisplayString(col.key), 1),
165293
165414
  createElementVNode("div", _hoisted_20$1, [
165294
- createVNode(_sfc_main$6B, {
165415
+ createVNode(_sfc_main$6A, {
165295
165416
  value: col.display_name,
165296
165417
  "onUpdate:value": ($event) => col.display_name = $event,
165297
165418
  class: "bg-primary6 border-primary6 flex-1 max-w-[400px]",
@@ -165472,7 +165593,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
165472
165593
  _: 1
165473
165594
  }),
165474
165595
  createElementVNode("div", _hoisted_28, toDisplayString(unref(t)("canvasUI.canvasBuilder.customDataTable.addColumn")), 1),
165475
- createVNode(_sfc_main$6B, {
165596
+ createVNode(_sfc_main$6A, {
165476
165597
  value: newColumnKey.value,
165477
165598
  "onUpdate:value": _cache[3] || (_cache[3] = ($event) => newColumnKey.value = $event),
165478
165599
  placeholder: unref(t)("canvasUI.canvasBuilder.customDataTable.addColumnPlaceholder"),
@@ -165502,7 +165623,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
165502
165623
  createElementVNode("div", _hoisted_30, [
165503
165624
  createElementVNode("div", _hoisted_31, toDisplayString(unref(t)("canvasUI.canvasBuilder.customDataTable.header")), 1),
165504
165625
  createElementVNode("div", _hoisted_32, toDisplayString(unref(t)("canvasUI.canvasBuilder.customDataTable.headerHelp")), 1),
165505
- createVNode(_sfc_main$6B, {
165626
+ createVNode(_sfc_main$6A, {
165506
165627
  value: headerPath.value,
165507
165628
  "onUpdate:value": _cache[4] || (_cache[4] = ($event) => headerPath.value = $event),
165508
165629
  placeholder: unref(t)("canvasUI.canvasBuilder.customDataTable.headerPathPlaceholder"),
@@ -165512,7 +165633,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
165512
165633
  createElementVNode("div", null, [
165513
165634
  createElementVNode("div", _hoisted_33, toDisplayString(unref(t)("canvasUI.canvasBuilder.customDataTable.footer")), 1),
165514
165635
  createElementVNode("div", _hoisted_34, toDisplayString(unref(t)("canvasUI.canvasBuilder.customDataTable.footerHelp")), 1),
165515
- createVNode(_sfc_main$6B, {
165636
+ createVNode(_sfc_main$6A, {
165516
165637
  value: footerPath.value,
165517
165638
  "onUpdate:value": _cache[5] || (_cache[5] = ($event) => footerPath.value = $event),
165518
165639
  placeholder: unref(t)("canvasUI.canvasBuilder.customDataTable.footerPathPlaceholder"),
@@ -166963,7 +167084,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
166963
167084
  label: labels.name
166964
167085
  }, unref(bindValidation)("name"), { required: "" }), {
166965
167086
  default: withCtx(() => [
166966
- createVNode(_sfc_main$6B, {
167087
+ createVNode(_sfc_main$6A, {
166967
167088
  value: form.name,
166968
167089
  "onUpdate:value": _cache[0] || (_cache[0] = ($event) => form.name = $event),
166969
167090
  disabled: isCanvasLocked.value,
@@ -167030,7 +167151,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
167030
167151
  label: labels.thumbnailUrl
167031
167152
  }, {
167032
167153
  default: withCtx(() => [
167033
- createVNode(_sfc_main$6B, {
167154
+ createVNode(_sfc_main$6A, {
167034
167155
  value: form.thumbnailUrl,
167035
167156
  "onUpdate:value": _cache[6] || (_cache[6] = ($event) => form.thumbnailUrl = $event),
167036
167157
  disabled: isCanvasLocked.value,
@@ -167365,7 +167486,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
167365
167486
  }
167366
167487
  }
167367
167488
  return (_ctx, _cache) => {
167368
- return openBlock(), createBlock(_sfc_main$6A, {
167489
+ return openBlock(), createBlock(_sfc_main$6z, {
167369
167490
  class: "min-w-[720px] bg-base rounded-2",
167370
167491
  show: "",
167371
167492
  "z-index": 1200
@@ -167376,7 +167497,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
167376
167497
  createElementVNode("div", _hoisted_3$D, toDisplayString(unref(t)("canvasUI.canvasBuilder.components.aiPrompt.title")) + " (PIA) ", 1)
167377
167498
  ]),
167378
167499
  createElementVNode("div", _hoisted_4$x, [
167379
- createVNode(_sfc_main$6B, {
167500
+ createVNode(_sfc_main$6A, {
167380
167501
  value: prompt.value,
167381
167502
  "onUpdate:value": _cache[0] || (_cache[0] = ($event) => prompt.value = $event),
167382
167503
  class: "w-full rounded-lg min-h-[250px] text-base z-5",
@@ -167813,7 +167934,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
167813
167934
  [unref(vTooltip), app.app_metadata?.display_name || app.name]
167814
167935
  ]);
167815
167936
  }), 128)),
167816
- shouldShowPopover.value ? (openBlock(), createBlock(_sfc_main$6z, {
167937
+ shouldShowPopover.value ? (openBlock(), createBlock(_sfc_main$6y, {
167817
167938
  key: 0,
167818
167939
  placement: _ctx.placement,
167819
167940
  showArrow: true,
@@ -169689,7 +169810,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
169689
169810
  ])
169690
169811
  ])
169691
169812
  ]),
169692
- createVNode(_sfc_main$6A, {
169813
+ createVNode(_sfc_main$6z, {
169693
169814
  show: showCancelConfirmation.value,
169694
169815
  "onUpdate:show": [
169695
169816
  _cache[1] || (_cache[1] = ($event) => showCancelConfirmation.value = $event),
@@ -172043,7 +172164,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
172043
172164
  }
172044
172165
  });
172045
172166
  return (_ctx, _cache) => {
172046
- return openBlock(), createBlock(_sfc_main$6A, {
172167
+ return openBlock(), createBlock(_sfc_main$6z, {
172047
172168
  "on-esc": close,
172048
172169
  show: "",
172049
172170
  "z-index": _ctx.zIndex
@@ -172169,7 +172290,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
172169
172290
  });
172170
172291
  return (_ctx, _cache) => {
172171
172292
  return openBlock(), createElementBlock(Fragment, null, [
172172
- createVNode(_sfc_main$6A, {
172293
+ createVNode(_sfc_main$6z, {
172173
172294
  "auto-focus": false,
172174
172295
  show: "",
172175
172296
  to: _ctx.attachTo,
@@ -172214,7 +172335,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
172214
172335
  _: 1
172215
172336
  }, 16, ["model-value", "onUpdate:modelValue"]),
172216
172337
  unref(isLoadingFiles) || !unref(areRequiredFilesLoaded) ? (openBlock(), createElementBlock("div", _hoisted_3$t, [
172217
- createVNode(_sfc_main$6q, {
172338
+ createVNode(_sfc_main$6p, {
172218
172339
  color: unref(themeVars).primary,
172219
172340
  size: "large"
172220
172341
  }, null, 8, ["color"])
@@ -173308,7 +173429,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
173308
173429
  }
173309
173430
  });
173310
173431
  return (_ctx, _cache) => {
173311
- return openBlock(), createBlock(_sfc_main$6A, {
173432
+ return openBlock(), createBlock(_sfc_main$6z, {
173312
173433
  "on-esc": close,
173313
173434
  show: "",
173314
173435
  "z-index": _ctx.zIndex
@@ -173397,7 +173518,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
173397
173518
  });
173398
173519
  return (_ctx, _cache) => {
173399
173520
  return openBlock(), createElementBlock(Fragment, null, [
173400
- createVNode(_sfc_main$6A, {
173521
+ createVNode(_sfc_main$6z, {
173401
173522
  "auto-focus": false,
173402
173523
  show: "",
173403
173524
  to: _ctx.attachTo,
@@ -174554,7 +174675,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
174554
174675
  }
174555
174676
  });
174556
174677
  return (_ctx, _cache) => {
174557
- return openBlock(), createBlock(_sfc_main$6A, {
174678
+ return openBlock(), createBlock(_sfc_main$6z, {
174558
174679
  "on-esc": close,
174559
174680
  show: "",
174560
174681
  "z-index": _ctx.zIndex
@@ -174656,7 +174777,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
174656
174777
  initialize();
174657
174778
  return (_ctx, _cache) => {
174658
174779
  return openBlock(), createElementBlock(Fragment, null, [
174659
- createVNode(_sfc_main$6A, {
174780
+ createVNode(_sfc_main$6z, {
174660
174781
  "auto-focus": false,
174661
174782
  show: "",
174662
174783
  to: _ctx.attachTo,
@@ -174690,7 +174811,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
174690
174811
  _: 1
174691
174812
  }, 16, ["disabled", "model-value", "onUpdate:modelValue"])
174692
174813
  ], 64)) : (openBlock(), createElementBlock("div", _hoisted_3$l, [
174693
- createVNode(_sfc_main$6q, {
174814
+ createVNode(_sfc_main$6p, {
174694
174815
  color: unref(themeVars).primary,
174695
174816
  size: "large"
174696
174817
  }, null, 8, ["color"])
@@ -175139,7 +175260,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
175139
175260
  default: withCtx(() => [
175140
175261
  createElementVNode("div", _hoisted_1$v, [
175141
175262
  createElementVNode("div", _hoisted_2$m, toDisplayString(unref(t)("canvasUI.browserApp.panel.title")), 1),
175142
- unref(apiGetters).isLoading ? (openBlock(), createBlock(_sfc_main$6q, {
175263
+ unref(apiGetters).isLoading ? (openBlock(), createBlock(_sfc_main$6p, {
175143
175264
  key: 0,
175144
175265
  class: "m-a"
175145
175266
  })) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
@@ -175200,7 +175321,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
175200
175321
  })
175201
175322
  ]),
175202
175323
  createElementVNode("div", _hoisted_3$h, [
175203
- _ctx.isLoading ? (openBlock(), createBlock(_sfc_main$6q, {
175324
+ _ctx.isLoading ? (openBlock(), createBlock(_sfc_main$6p, {
175204
175325
  key: 0,
175205
175326
  class: "m-a"
175206
175327
  })) : renderSlot(_ctx.$slots, "default", { key: 1 }, void 0, true)
@@ -176990,7 +177111,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
176990
177111
  const { selectedItemIds, isContentPanelOpen, displayedFavorites } = useAppStore$4();
176991
177112
  const getTypedItem = (item) => item;
176992
177113
  return (_ctx, _cache) => {
176993
- return unref(apiState).isFetchingFavorites ? (openBlock(), createBlock(_sfc_main$6q, {
177114
+ return unref(apiState).isFetchingFavorites ? (openBlock(), createBlock(_sfc_main$6p, {
176994
177115
  key: 0,
176995
177116
  class: "flex h-full"
176996
177117
  })) : (openBlock(), createElementBlock("div", {
@@ -177046,7 +177167,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
177046
177167
  await fetchTemplate();
177047
177168
  });
177048
177169
  return (_ctx, _cache) => {
177049
- return unref(apiState).isFetchingRecentFiles ? (openBlock(), createBlock(_sfc_main$6q, {
177170
+ return unref(apiState).isFetchingRecentFiles ? (openBlock(), createBlock(_sfc_main$6p, {
177050
177171
  key: 0,
177051
177172
  class: "flex h-full"
177052
177173
  })) : (openBlock(), createElementBlock("div", {
@@ -178202,7 +178323,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
178202
178323
  const { appName } = useAppStore$4();
178203
178324
  return (_ctx, _cache) => {
178204
178325
  return openBlock(), createElementBlock("div", _hoisted_1$f, [
178205
- createVNode(_sfc_main$6C, {
178326
+ createVNode(_sfc_main$6B, {
178206
178327
  modelValue: form.value,
178207
178328
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => form.value = $event),
178208
178329
  "app-name": unref(appName)
@@ -178420,7 +178541,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
178420
178541
  });
178421
178542
  return (_ctx, _cache) => {
178422
178543
  return openBlock(), createElementBlock(Fragment, null, [
178423
- createVNode(_sfc_main$6A, {
178544
+ createVNode(_sfc_main$6z, {
178424
178545
  class: "max-h-[calc(100vh-48px)]",
178425
178546
  show: true
178426
178547
  }, {
@@ -178710,7 +178831,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
178710
178831
  ]),
178711
178832
  createElementVNode("div", _hoisted_11, [
178712
178833
  upload.uploadStatus === "transferring" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
178713
- createVNode(_sfc_main$6q, {
178834
+ createVNode(_sfc_main$6p, {
178714
178835
  class: "mr-1",
178715
178836
  size: "small"
178716
178837
  }),
@@ -184444,5 +184565,5 @@ const localeNames = {
184444
184565
  };
184445
184566
  const localeDropdownOptions = supportedLocales.map((locale) => ({ key: locale, name: localeNames[locale] }));
184446
184567
 
184447
- 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 };
184568
+ 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 };
184448
184569
  //# sourceMappingURL=canvas-ui.js.map