@pitcher/canvas-ui 2025.12.9-184113-beta → 2025.12.10-74659

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/canvas-ui.css CHANGED
@@ -551,13 +551,13 @@ swiper-container::part(pagination) {
551
551
  line-height: 20px;
552
552
  letter-spacing: 0.25px;
553
553
  color: var(--ad430d74);
554
- }[data-v-b3a9f0d5] .ais-SearchBox {
554
+ }[data-v-a3ec6533] .ais-SearchBox {
555
555
  margin: 0;
556
556
  }
557
- [data-v-b3a9f0d5] .ais-SearchBox-submit,[data-v-b3a9f0d5] .ais-SearchBox-reset {
557
+ [data-v-a3ec6533] .ais-SearchBox-submit,[data-v-a3ec6533] .ais-SearchBox-reset {
558
558
  display: none;
559
559
  }
560
- .admin-search[data-v-b3a9f0d5] .ais-SearchBox-reset {
560
+ .admin-search[data-v-a3ec6533] .ais-SearchBox-reset {
561
561
  display: block !important;
562
562
  position: absolute !important;
563
563
  right: 12px !important;
@@ -571,17 +571,17 @@ swiper-container::part(pagination) {
571
571
  font-size: 16px !important;
572
572
  z-index: 10 !important;
573
573
  }
574
- .admin-search[data-v-b3a9f0d5] .ais-SearchBox-reset:hover {
574
+ .admin-search[data-v-a3ec6533] .ais-SearchBox-reset:hover {
575
575
  color: var(--p-text2) !important;
576
576
  }
577
- .admin-search[data-v-b3a9f0d5] .ais-SearchBox-reset:focus {
577
+ .admin-search[data-v-a3ec6533] .ais-SearchBox-reset:focus {
578
578
  outline: none !important;
579
579
  color: var(--p-primary) !important;
580
580
  }
581
- .admin-search[data-v-b3a9f0d5] .ais-SearchBox-input {
581
+ .admin-search[data-v-a3ec6533] .ais-SearchBox-input {
582
582
  padding-right: 40px !important;
583
583
  }
584
- [data-v-b3a9f0d5] .ais-SearchBox-input {
584
+ [data-v-a3ec6533] .ais-SearchBox-input {
585
585
  width: 100%;
586
586
  padding: 12px 16px 12px 40px;
587
587
  border: 1px solid var(--p-primary4);
@@ -590,38 +590,42 @@ swiper-container::part(pagination) {
590
590
  background-color: var(--p-base);
591
591
  transition: border-color 0.2s ease;
592
592
  }
593
- [data-v-b3a9f0d5] .ais-SearchBox-input:focus {
593
+ [data-v-a3ec6533] .ais-SearchBox-input:focus {
594
594
  outline: none;
595
595
  border-color: var(--p-primary);
596
596
  box-shadow: 0 0 0 3px var(--p-primary5);
597
597
  }
598
- [data-v-b3a9f0d5] .ais-SearchBox-input::placeholder {
598
+ [data-v-a3ec6533] .ais-SearchBox-input::placeholder {
599
599
  color: var(--p-text3);
600
600
  font-size: 14px;
601
601
  }
602
- .overflow-y-auto[data-v-b3a9f0d5] {
602
+ .overflow-y-auto[data-v-a3ec6533] {
603
603
  scrollbar-width: thin;
604
604
  scrollbar-color: var(--p-border2) var(--p-surface2);
605
605
  }
606
- .overflow-y-auto[data-v-b3a9f0d5]::-webkit-scrollbar {
606
+ .overflow-y-auto[data-v-a3ec6533]::-webkit-scrollbar {
607
607
  width: 6px;
608
608
  }
609
- .overflow-y-auto[data-v-b3a9f0d5]::-webkit-scrollbar-track {
609
+ .overflow-y-auto[data-v-a3ec6533]::-webkit-scrollbar-track {
610
610
  background: var(--p-surface2);
611
611
  }
612
- .overflow-y-auto[data-v-b3a9f0d5]::-webkit-scrollbar-thumb {
612
+ .overflow-y-auto[data-v-a3ec6533]::-webkit-scrollbar-thumb {
613
613
  background-color: var(--p-border2);
614
614
  border-radius: 3px;
615
615
  }
616
- .overflow-y-auto[data-v-b3a9f0d5]::-webkit-scrollbar-thumb:hover {
616
+ .overflow-y-auto[data-v-a3ec6533]::-webkit-scrollbar-thumb:hover {
617
617
  background-color: var(--p-text3);
618
618
  }
619
- button[data-v-b3a9f0d5]:hover {
619
+ button[data-v-a3ec6533]:hover {
620
620
  transition: all 0.2s ease;
621
621
  }
622
- button[data-v-b3a9f0d5]:focus {
622
+ button[data-v-a3ec6533]:focus {
623
623
  outline: none;
624
624
  }
625
+ [data-v-a3ec6533] mark,[data-v-a3ec6533] em {
626
+ font-weight: bold;
627
+ font-style: normal;
628
+ }
625
629
  .letter-spacing--inherit .n-base-select-option__content {
626
630
  letter-spacing: inherit;
627
631
  }
package/canvas-ui.js CHANGED
@@ -92770,6 +92770,55 @@ function renderTemplate(template, context = {}) {
92770
92770
  return template;
92771
92771
  }
92772
92772
  }
92773
+ function registerCustomHelper(helper) {
92774
+ if (!helper || typeof helper.name !== "string" || !helper.name.trim()) {
92775
+ console.warn("[handlebars] Invalid helper: missing or empty name");
92776
+ return false;
92777
+ }
92778
+ if (typeof helper.code !== "string" || !helper.code.trim()) {
92779
+ console.warn(`[handlebars] Invalid helper "${helper.name}": missing or empty code`);
92780
+ return false;
92781
+ }
92782
+ try {
92783
+ const fn = new Function("return " + helper.code)();
92784
+ if (typeof fn !== "function") {
92785
+ console.warn(`[handlebars] Helper "${helper.name}" code does not evaluate to a function`);
92786
+ return false;
92787
+ }
92788
+ Handlebars.registerHelper(helper.name, fn);
92789
+ console.info(`[handlebars] Registered custom helper: ${helper.name}`);
92790
+ return true;
92791
+ } catch (e) {
92792
+ console.warn(`[handlebars] Failed to register helper "${helper.name}":`, e?.message);
92793
+ return false;
92794
+ }
92795
+ }
92796
+ function registerCustomHelpers(helpers) {
92797
+ let registered = 0;
92798
+ let failed = 0;
92799
+ for (const helper of helpers) {
92800
+ if (registerCustomHelper(helper)) {
92801
+ registered++;
92802
+ } else {
92803
+ failed++;
92804
+ }
92805
+ }
92806
+ return { registered, failed };
92807
+ }
92808
+ function loadCustomHelpersFromApps(installedApps) {
92809
+ const helpersApp = installedApps.find((app) => app.app_metadata?.name === "handlebars-helpers");
92810
+ if (!helpersApp) {
92811
+ console.info("[handlebars] No handlebars-helpers app installed");
92812
+ return { registered: 0, failed: 0 };
92813
+ }
92814
+ const helpers = helpersApp.metadata?.handlebars_helpers;
92815
+ if (!helpers || !Array.isArray(helpers) || helpers.length === 0) {
92816
+ console.info("[handlebars] handlebars-helpers app has no helpers configured");
92817
+ return { registered: 0, failed: 0 };
92818
+ }
92819
+ console.info(`[handlebars] Loading ${helpers.length} custom helper(s) from handlebars-helpers app`);
92820
+ return registerCustomHelpers(helpers);
92821
+ }
92773
92822
 
92774
92823
  function createPageId(fileId, pageIndex) {
92775
92824
  return `file-${fileId}-page-index-${pageIndex}`;
@@ -94572,52 +94621,54 @@ const _hoisted_37$4 = {
94572
94621
  };
94573
94622
  const _hoisted_38$4 = { class: "flex-1 min-w-0" };
94574
94623
  const _hoisted_39$4 = { class: "text-sm font-bold text-gray-900 truncate mb-1" };
94575
- const _hoisted_40$4 = { class: "text-xs text-gray-500" };
94576
- const _hoisted_41$4 = { class: "text-xs text-gray-400" };
94577
- const _hoisted_42$4 = {
94624
+ const _hoisted_40$4 = ["innerHTML"];
94625
+ const _hoisted_41$4 = { class: "text-xs text-gray-500" };
94626
+ const _hoisted_42$4 = { class: "text-xs text-gray-400" };
94627
+ const _hoisted_43$4 = {
94578
94628
  key: 0,
94579
94629
  class: "px-0 py-0"
94580
94630
  };
94581
- const _hoisted_43$4 = { key: 1 };
94582
- const _hoisted_44$4 = { class: "flex items-center px-0 pt-2 pb-1" };
94583
- const _hoisted_45$4 = { class: "text-m font-semibold text-gray-900" };
94584
- const _hoisted_46$4 = { class: "ml-2 text-sm text-gray-500" };
94585
- const _hoisted_47$4 = ["data-result-selected", "onClick"];
94586
- const _hoisted_48$4 = { class: "w-18 h-14 border-rounded-1 mr-4 flex-shrink-0 bg-gray-200 flex items-center justify-center" };
94587
- const _hoisted_49$4 = { class: "flex-1 min-w-0" };
94588
- const _hoisted_50$4 = { class: "text-sm font-bold text-gray-900 truncate mb-1" };
94589
- const _hoisted_51$2 = { class: "text-xs text-gray-500" };
94590
- const _hoisted_52$2 = { class: "text-xs text-gray-400" };
94591
- const _hoisted_53$2 = {
94631
+ const _hoisted_44$4 = { key: 1 };
94632
+ const _hoisted_45$4 = { class: "flex items-center px-0 pt-2 pb-1" };
94633
+ const _hoisted_46$4 = { class: "text-m font-semibold text-gray-900" };
94634
+ const _hoisted_47$4 = { class: "ml-2 text-sm text-gray-500" };
94635
+ const _hoisted_48$4 = ["data-result-selected", "onClick"];
94636
+ const _hoisted_49$4 = { class: "w-18 h-14 border-rounded-1 mr-4 flex-shrink-0 bg-gray-200 flex items-center justify-center" };
94637
+ const _hoisted_50$4 = { class: "flex-1 min-w-0" };
94638
+ const _hoisted_51$2 = { class: "text-sm font-bold text-gray-900 truncate mb-1" };
94639
+ const _hoisted_52$2 = { class: "text-xs text-gray-500" };
94640
+ const _hoisted_53$2 = { class: "text-xs text-gray-400" };
94641
+ const _hoisted_54$1 = {
94592
94642
  key: 0,
94593
94643
  class: "px-0 py-0"
94594
94644
  };
94595
- const _hoisted_54$1 = {
94645
+ const _hoisted_55$1 = {
94596
94646
  key: 0,
94597
94647
  class: "flex flex-col items-center justify-center text-center p-8 gap-4"
94598
94648
  };
94599
- const _hoisted_55$1 = {
94649
+ const _hoisted_56$1 = {
94600
94650
  key: 2,
94601
94651
  class: "flex-1 overflow-y-auto bg-white w-full"
94602
94652
  };
94603
- const _hoisted_56$1 = { class: "w-full px-0" };
94604
- const _hoisted_57$1 = { class: "flex items-center px-0 pt-2 pb-1" };
94605
- const _hoisted_58$1 = { class: "text-m font-semibold text-gray-900" };
94606
- const _hoisted_59$1 = { class: "ml-2 text-sm text-gray-500" };
94607
- const _hoisted_60$1 = ["data-result-selected", "onClick"];
94608
- const _hoisted_61$1 = {
94653
+ const _hoisted_57$1 = { class: "w-full px-0" };
94654
+ const _hoisted_58$1 = { class: "flex items-center px-0 pt-2 pb-1" };
94655
+ const _hoisted_59$1 = { class: "text-m font-semibold text-gray-900" };
94656
+ const _hoisted_60$1 = { class: "ml-2 text-sm text-gray-500" };
94657
+ const _hoisted_61$1 = ["data-result-selected", "onClick"];
94658
+ const _hoisted_62$1 = {
94609
94659
  key: 1,
94610
94660
  class: "w-18 h-14 border-rounded-1 mr-4 flex-shrink-0 bg-gray-200 flex items-center justify-center"
94611
94661
  };
94612
- const _hoisted_62$1 = { class: "flex-1 min-w-0" };
94613
- const _hoisted_63$1 = { class: "text-sm font-bold text-gray-900 truncate mb-1" };
94614
- const _hoisted_64$1 = { class: "text-xs text-gray-500" };
94615
- const _hoisted_65$1 = { class: "text-xs text-gray-400" };
94616
- const _hoisted_66$1 = {
94662
+ const _hoisted_63$1 = { class: "flex-1 min-w-0" };
94663
+ const _hoisted_64$1 = { class: "text-sm font-bold text-gray-900 truncate mb-1" };
94664
+ const _hoisted_65$1 = ["innerHTML"];
94665
+ const _hoisted_66$1 = { class: "text-xs text-gray-500" };
94666
+ const _hoisted_67$1 = { class: "text-xs text-gray-400" };
94667
+ const _hoisted_68$1 = {
94617
94668
  key: 0,
94618
94669
  class: "flex flex-col items-center justify-center text-center p-8 gap-4"
94619
94670
  };
94620
- const _hoisted_67$1 = {
94671
+ const _hoisted_69 = {
94621
94672
  key: 0,
94622
94673
  class: "flex flex-wrap line-height-6 pt-4 pb-2 px-6 border-t border-gray-200 gap-y-4 gap-x-4"
94623
94674
  };
@@ -95141,6 +95192,19 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
95141
95192
  return t("canvasUI.CAlgoliaSearch.canvasFilters.saved");
95142
95193
  }
95143
95194
  };
95195
+ const getSnippet = (item) => {
95196
+ if (!searchQuery.value || searchQuery.value.trim() === "/") {
95197
+ return "";
95198
+ }
95199
+ if (!item._snippetResult?.searchable_content?.value) {
95200
+ return "";
95201
+ }
95202
+ const nameMatched = item._highlightResult?.name?.matchLevel && item._highlightResult.name.matchLevel !== "none";
95203
+ if (nameMatched) {
95204
+ return "";
95205
+ }
95206
+ return sanitizeHtml(item._snippetResult.searchable_content.value);
95207
+ };
95144
95208
  const toggleCanvasFilter = (filterType) => {
95145
95209
  if (selectedCanvasFilters.value.includes(filterType)) {
95146
95210
  selectedCanvasFilters.value.splice(selectedCanvasFilters.value.indexOf(filterType), 1);
@@ -95712,7 +95776,7 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
95712
95776
  }, [
95713
95777
  item.type === "file" ? (openBlock(), createBlock(_sfc_main$6I, {
95714
95778
  key: 0,
95715
- class: "h-14 border-rounded-1 overflow-hidden flex-0 mr-4",
95779
+ class: "w-18 h-14 border-rounded-1 overflow-hidden flex-shrink-0 mr-4",
95716
95780
  cover: "",
95717
95781
  "file-data": item,
95718
95782
  "object-fit": "cover",
@@ -95727,13 +95791,18 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
95727
95791
  ])),
95728
95792
  createElementVNode("div", _hoisted_38$4, [
95729
95793
  createElementVNode("h3", _hoisted_39$4, toDisplayString(item.name), 1),
95730
- createElementVNode("p", _hoisted_40$4, toDisplayString(item.type === "folder" ? "Folder" : item.content_type || "PDF"), 1)
95794
+ item.type === "file" && getSnippet(item) ? (openBlock(), createElementBlock("p", {
95795
+ key: 0,
95796
+ class: "text-xs text-gray-600 mb-1",
95797
+ innerHTML: getSnippet(item)
95798
+ }, null, 8, _hoisted_40$4)) : createCommentVNode("", true),
95799
+ createElementVNode("p", _hoisted_41$4, toDisplayString(item.type === "folder" ? "Folder" : item.content_type || "PDF"), 1)
95731
95800
  ]),
95732
- createElementVNode("div", _hoisted_41$4, toDisplayString(item.type === "folder" ? item.parent_folder?.name || "" : item.folder?.name || ""), 1)
95801
+ createElementVNode("div", _hoisted_42$4, toDisplayString(item.type === "folder" ? item.parent_folder?.name || "" : item.folder?.name || ""), 1)
95733
95802
  ], 10, _hoisted_36$4);
95734
95803
  }), 128))
95735
95804
  ]),
95736
- filteredContentFiles.value.length > 5 ? (openBlock(), createElementBlock("div", _hoisted_42$4, [
95805
+ filteredContentFiles.value.length > 5 ? (openBlock(), createElementBlock("div", _hoisted_43$4, [
95737
95806
  createElementVNode("span", {
95738
95807
  class: "text-sm text-gray-600 hover:text-gray-800 font-bold flex items-center cursor-pointer",
95739
95808
  onClick: _cache[13] || (_cache[13] = ($event) => searchType.value = "content")
@@ -95747,16 +95816,16 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
95747
95816
  ])
95748
95817
  ])) : createCommentVNode("", true)
95749
95818
  ])) : createCommentVNode("", true),
95750
- filteredCanvasFiles.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_43$4, [
95751
- createElementVNode("div", _hoisted_44$4, [
95819
+ filteredCanvasFiles.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_44$4, [
95820
+ createElementVNode("div", _hoisted_45$4, [
95752
95821
  createVNode(CIcon, {
95753
95822
  class: "mr-2",
95754
95823
  color: "var(--p-text2)",
95755
95824
  icon: "presentation",
95756
95825
  size: "16"
95757
95826
  }),
95758
- createElementVNode("span", _hoisted_45$4, toDisplayString(unref(t)("canvasUI.CAlgoliaSearch.sections.pitchDecks")), 1),
95759
- createElementVNode("span", _hoisted_46$4, "(" + toDisplayString(filteredCanvasFiles.value.length) + ")", 1)
95827
+ createElementVNode("span", _hoisted_46$4, toDisplayString(unref(t)("canvasUI.CAlgoliaSearch.sections.pitchDecks")), 1),
95828
+ createElementVNode("span", _hoisted_47$4, "(" + toDisplayString(filteredCanvasFiles.value.length) + ")", 1)
95760
95829
  ]),
95761
95830
  createElementVNode("div", null, [
95762
95831
  (openBlock(true), createElementBlock(Fragment, null, renderList(filteredCanvasFiles.value.slice(0, 5), (item) => {
@@ -95770,22 +95839,22 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
95770
95839
  "data-result-selected": isResultSelected(item),
95771
95840
  onClick: ($event) => handleResultClick(item, "canvas")
95772
95841
  }, [
95773
- createElementVNode("div", _hoisted_48$4, [
95842
+ createElementVNode("div", _hoisted_49$4, [
95774
95843
  createVNode(CIcon, {
95775
95844
  color: "var(--p-text2)",
95776
95845
  icon: "presentation",
95777
95846
  size: "32"
95778
95847
  })
95779
95848
  ]),
95780
- createElementVNode("div", _hoisted_49$4, [
95781
- createElementVNode("h3", _hoisted_50$4, toDisplayString(item.name), 1),
95782
- createElementVNode("p", _hoisted_51$2, toDisplayString(formatCanvasType(item.content_type)), 1)
95849
+ createElementVNode("div", _hoisted_50$4, [
95850
+ createElementVNode("h3", _hoisted_51$2, toDisplayString(item.name), 1),
95851
+ createElementVNode("p", _hoisted_52$2, toDisplayString(formatCanvasType(item.content_type)), 1)
95783
95852
  ]),
95784
- createElementVNode("div", _hoisted_52$2, toDisplayString(item.folder?.name || ""), 1)
95785
- ], 10, _hoisted_47$4);
95853
+ createElementVNode("div", _hoisted_53$2, toDisplayString(item.folder?.name || ""), 1)
95854
+ ], 10, _hoisted_48$4);
95786
95855
  }), 128))
95787
95856
  ]),
95788
- filteredCanvasFiles.value.length > 5 ? (openBlock(), createElementBlock("div", _hoisted_53$2, [
95857
+ filteredCanvasFiles.value.length > 5 ? (openBlock(), createElementBlock("div", _hoisted_54$1, [
95789
95858
  createElementVNode("span", {
95790
95859
  class: "text-sm text-gray-600 hover:text-gray-800 font-bold flex items-center cursor-pointer",
95791
95860
  onClick: _cache[14] || (_cache[14] = ($event) => searchType.value = "canvases")
@@ -95800,7 +95869,7 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
95800
95869
  ])) : createCommentVNode("", true)
95801
95870
  ])) : createCommentVNode("", true)
95802
95871
  ]),
95803
- searchError.value || shouldShowNoResults.value ? (openBlock(), createElementBlock("div", _hoisted_54$1, [
95872
+ searchError.value || shouldShowNoResults.value ? (openBlock(), createElementBlock("div", _hoisted_55$1, [
95804
95873
  createVNode(CIcon, {
95805
95874
  class: "text-6xl",
95806
95875
  color: searchError.value ? "var(--p-error)" : "var(--p-text3)",
@@ -95811,9 +95880,9 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
95811
95880
  class: normalizeClass(searchError.value ? "text-error font-semibold" : "text-text2")
95812
95881
  }, toDisplayString(searchError.value || unref(t)("canvasUI.CGlobalSearch.noResults")), 3)
95813
95882
  ])) : createCommentVNode("", true)
95814
- ])) : (openBlock(), createElementBlock("div", _hoisted_55$1, [
95815
- createElementVNode("div", _hoisted_56$1, [
95816
- createElementVNode("div", _hoisted_57$1, [
95883
+ ])) : (openBlock(), createElementBlock("div", _hoisted_56$1, [
95884
+ createElementVNode("div", _hoisted_57$1, [
95885
+ createElementVNode("div", _hoisted_58$1, [
95817
95886
  searchType.value === "content" ? (openBlock(), createBlock(CIcon, {
95818
95887
  key: 0,
95819
95888
  class: "mr-2",
@@ -95827,8 +95896,8 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
95827
95896
  icon: "presentation",
95828
95897
  size: "16"
95829
95898
  })),
95830
- createElementVNode("span", _hoisted_58$1, toDisplayString(searchType.value === "content" ? unref(t)("canvasUI.CAlgoliaSearch.sections.content") : unref(t)("canvasUI.CAlgoliaSearch.sections.pitchDecks")), 1),
95831
- createElementVNode("span", _hoisted_59$1, " (" + toDisplayString(searchType.value === "content" ? filteredContentFiles.value.length : filteredCanvasFiles.value.length) + ") ", 1)
95899
+ createElementVNode("span", _hoisted_59$1, toDisplayString(searchType.value === "content" ? unref(t)("canvasUI.CAlgoliaSearch.sections.content") : unref(t)("canvasUI.CAlgoliaSearch.sections.pitchDecks")), 1),
95900
+ createElementVNode("span", _hoisted_60$1, " (" + toDisplayString(searchType.value === "content" ? filteredContentFiles.value.length : filteredCanvasFiles.value.length) + ") ", 1)
95832
95901
  ]),
95833
95902
  createElementVNode("div", null, [
95834
95903
  (openBlock(true), createElementBlock(Fragment, null, renderList(searchType.value === "content" ? filteredContentFiles.value : filteredCanvasFiles.value, (item) => {
@@ -95847,13 +95916,13 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
95847
95916
  }, [
95848
95917
  searchType.value === "content" && item.type === "file" ? (openBlock(), createBlock(_sfc_main$6I, {
95849
95918
  key: 0,
95850
- class: "h-14 border-rounded-1 overflow-hidden flex-0 mr-4",
95919
+ class: "w-18 h-14 border-rounded-1 overflow-hidden flex-shrink-0 mr-4",
95851
95920
  cover: "",
95852
95921
  "file-data": item,
95853
95922
  "object-fit": "cover",
95854
95923
  src: item.picture_url || "",
95855
95924
  width: "72"
95856
- }, null, 8, ["file-data", "src"])) : (openBlock(), createElementBlock("div", _hoisted_61$1, [
95925
+ }, null, 8, ["file-data", "src"])) : (openBlock(), createElementBlock("div", _hoisted_62$1, [
95857
95926
  searchType.value === "content" ? (openBlock(), createBlock(CIcon, {
95858
95927
  key: 0,
95859
95928
  color: "var(--p-text2)",
@@ -95866,15 +95935,20 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
95866
95935
  size: "32"
95867
95936
  }))
95868
95937
  ])),
95869
- createElementVNode("div", _hoisted_62$1, [
95870
- createElementVNode("h3", _hoisted_63$1, toDisplayString(item.name), 1),
95871
- createElementVNode("p", _hoisted_64$1, toDisplayString(searchType.value === "content" ? item.type === "folder" ? "Folder" : item.content_type || "PDF" : formatCanvasType(item.content_type)), 1)
95938
+ createElementVNode("div", _hoisted_63$1, [
95939
+ createElementVNode("h3", _hoisted_64$1, toDisplayString(item.name), 1),
95940
+ searchType.value === "content" && item.type === "file" && getSnippet(item) ? (openBlock(), createElementBlock("p", {
95941
+ key: 0,
95942
+ class: "text-xs text-gray-600 mb-1",
95943
+ innerHTML: getSnippet(item)
95944
+ }, null, 8, _hoisted_65$1)) : createCommentVNode("", true),
95945
+ createElementVNode("p", _hoisted_66$1, toDisplayString(searchType.value === "content" ? item.type === "folder" ? "Folder" : item.content_type || "PDF" : formatCanvasType(item.content_type)), 1)
95872
95946
  ]),
95873
- createElementVNode("div", _hoisted_65$1, toDisplayString(searchType.value === "content" && item.type === "folder" ? item.parent_folder?.name || "" : item.folder?.name || ""), 1)
95874
- ], 10, _hoisted_60$1);
95947
+ createElementVNode("div", _hoisted_67$1, toDisplayString(searchType.value === "content" && item.type === "folder" ? item.parent_folder?.name || "" : item.folder?.name || ""), 1)
95948
+ ], 10, _hoisted_61$1);
95875
95949
  }), 128))
95876
95950
  ]),
95877
- searchError.value || shouldShowNoResults.value ? (openBlock(), createElementBlock("div", _hoisted_66$1, [
95951
+ searchError.value || shouldShowNoResults.value ? (openBlock(), createElementBlock("div", _hoisted_68$1, [
95878
95952
  createVNode(CIcon, {
95879
95953
  class: "text-6xl",
95880
95954
  color: searchError.value ? "var(--p-error)" : "var(--p-text3)",
@@ -95888,7 +95962,7 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
95888
95962
  ])
95889
95963
  ]))
95890
95964
  ]),
95891
- !showRecentView.value ? (openBlock(), createElementBlock("div", _hoisted_67$1, [
95965
+ !showRecentView.value ? (openBlock(), createElementBlock("div", _hoisted_69, [
95892
95966
  createVNode(CShortcut, null, {
95893
95967
  default: withCtx(() => [
95894
95968
  createVNode(CShortcutIcon, { icon: "arrow-up" }),
@@ -95930,7 +96004,7 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
95930
96004
  }
95931
96005
  });
95932
96006
 
95933
- const CAlgoliaSearch = /* @__PURE__ */ _export_sfc(_sfc_main$5I, [["__scopeId", "data-v-b3a9f0d5"]]);
96007
+ const CAlgoliaSearch = /* @__PURE__ */ _export_sfc(_sfc_main$5I, [["__scopeId", "data-v-a3ec6533"]]);
95934
96008
 
95935
96009
  const BulletListExtended = BulletList.extend({
95936
96010
  addOptions() {
@@ -181019,19 +181093,6 @@ const convertToSosl = (soqlQuery, searchString, searchInField = "ALL") => {
181019
181093
  return `FIND {${searchString}} IN ${searchInField} FIELDS RETURNING ${objectName}(${fields.join(", ")}${soslWhereClause}${soslOrderByClause}${soslLimitClause})`;
181020
181094
  };
181021
181095
 
181022
- const isTheUiItself = (app) => !!app?.app_metadata?.provide?.includes("ui");
181023
- const isPostcallApp = (app) => !!app?.app_metadata?.provide?.includes("postcall");
181024
- const isFileViewerReplacement = (app) => !!app?.app_metadata?.replaces?.includes("file-viewer") || !!app?.app_metadata?.replaces?.some(
181025
- (r) => r && typeof r !== "string" && r.module === "file-viewer"
181026
- );
181027
- const doesNotHaveAnyModuleOrHookSpecified = (app) => !app?.app_metadata?.module && !app?.app_metadata?.hooks && !app?.app_metadata?.app_type;
181028
- const hasAppTypeDefined = (app) => !!app?.app_metadata?.app_type;
181029
- const isCanvasSectionExecution = (app) => !!app?.app_metadata?.module?.canvas_section_execution?.enabled;
181030
- const isCanvasDrawerApp = (app) => !!app?.app_metadata?.module?.canvas_drawer?.enabled;
181031
- const appRequiresCrm = (app) => !!app?.app_metadata?.require?.includes("crm");
181032
- const shouldShowInSidebar = (app) => !isTheUiItself(app) && (!!app?.app_metadata?.module?.ui_app?.enabled || doesNotHaveAnyModuleOrHookSpecified(app) && !isPostcallApp(app) && !isFileViewerReplacement(app) && !isCanvasDrawerApp(app) && !isCanvasSectionExecution(app) && !hasAppTypeDefined(app));
181033
- const filterSidebarApps = (apps) => apps.filter(shouldShowInSidebar);
181034
-
181035
181096
  var EventAction = /* @__PURE__ */ ((EventAction2) => {
181036
181097
  EventAction2["CREATE"] = "create";
181037
181098
  EventAction2["PATCH"] = "patch";
@@ -181667,5 +181728,5 @@ const localeNames = {
181667
181728
  };
181668
181729
  const localeDropdownOptions = supportedLocales.map((locale) => ({ key: locale, name: localeNames[locale] }));
181669
181730
 
181670
- 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$4n as CAssignedCanvasesManagementToolbar, _sfc_main$6q as CAvatar, _sfc_main$4M as CBlockManagement, CButton, _sfc_main$5d as CCanvasDeleteDialogContent, _sfc_main$5e as CCanvasMetadataFilters, CCanvasSelector, _sfc_main$6T as CCard, CCarousel, _sfc_main$3G as CCatalogIqSwitcher, _sfc_main$6S as CCheckbox, _sfc_main$3A as CChip, CCollapse, _sfc_main$6P as CCollapseItem, _sfc_main$6p as CCollapseTransition, NColorPicker as CColorPicker, CComponentListItem, CConfigEditor, NConfigProvider as CConfigProvider, _sfc_main$6f as CConfirmationAction, CConfirmationContent, CConfirmationHeader, CConfirmationModal, CContactSelector, CContactSelectorSelected, _sfc_main$66 as CContentError, _sfc_main$63 as CCreateCanvasModal, _sfc_main$62 as CCreateTemplateSectionBlockModal, _sfc_main$5T as CCreateThemeModal, CDP_EVENT_TYPE, CDataTable, NDatePicker as CDatePicker, CDateRangeFilter, CDetailPageSectionButtons, NDialogProvider as CDialogProvider, _sfc_main$6N as CDivider, _sfc_main$6M as CDrawer, _sfc_main$6L as CDrawerContent, _sfc_main$6K as CDropdown, _sfc_main$6n as CEmpty, _sfc_main$4k as CEntitySelector, _sfc_main$6J as CErrorFullScreen, _sfc_main$6l as CFeedback, _sfc_main$3o as CFileAccessManagement, _sfc_main$6A as CFileAttributes, _sfc_main$3p as CFilePanel, _sfc_main$6G as CFileThumbnail, CFileViewer, CFilesAccessInfo, _sfc_main$3Z 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$4f as CFullScreenLoader, NGridItem as CGi, CGlobalLoader, _sfc_main$5M 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$6k as CHelpText, CIcon, _sfc_main$6I as CImage, _sfc_main$4U as CInfoBadge, _sfc_main$6z 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$4V as CList, NMessageProvider as CMessageProvider, _sfc_main$5J as CMetaDataBadge, _sfc_main$6y as CModal, CMonacoEditor, CMovableWidget, CMultiSelect, NNotificationProvider as CNotificationProvider, NPagination as CPagination, _sfc_main$6j as CPillSelect, _sfc_main$6x as CPopover, _sfc_main$6H as CProcessingOverlay, NProgress as CProgress, _sfc_main$5q as CRichTextEditor, _sfc_main$4o as CSavedCanvasesManagement, CSearch, _sfc_main$6v as CSearchOnClick, CSearchOnClickWithSuggestions, CSecondaryNav, _sfc_main$4P as CSectionManagement, CSelect, CSelectFilter, _sfc_main$3x as CSettingsEditor, CShortcut, CSingleSelect, NSkeleton as CSkeleton, _sfc_main$3C as CSlideViewer, NSpace as CSpace, _sfc_main$6o as CSpin, _sfc_main$6m as CSwitch, CTable, _sfc_main$5a as CTableInput, CTableMore, CTableSelect, CTableTag, _sfc_main$6D as CTag, CTags, _sfc_main$4E as CTemplateManagement, text as CText, _sfc_main$6t as CThemeEditor, _sfc_main$4z as CThemeManagement, _sfc_main$5j as CToastProvider, CToolbar, _sfc_main$6r as CTooltip, CUpsertFolderModal, _sfc_main$5n as CUserAvatar, CUserMenu, CUsersAccessInfo, CUsersGroupsAccessManage, _sfc_main$5k as CVirtualTable, _sfc_main$46 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, convertToPixels, convertToSosl, createNodeId, createPitcherSettings, dayjs, deepDiff, deepToRaw, derivePatchRequestFields, determineUserRole, discardSectionComponentOverride, displayBytesWithMUnit, displayIntegerWithMunit, doesLocalOverrideExist, doesNotHaveAnyModuleOrHookSpecified, downloadFile, draggable as draggableDirective, elementMounted as elementMountedDirective, escapeSoqlString, evaluateAccessor, executeWithDoublingTime, exitFullscreen, 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, 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, registerPeerConnectivityHandler, 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, 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, useSuggestedTags, useTheme, useThemeVars, useToast, useUi, useUpdateEvent, useWindowEvents, vueQueryPluginOptions, wait, waitForIframeInitialize, waitForValue };
181731
+ 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$4n as CAssignedCanvasesManagementToolbar, _sfc_main$6q as CAvatar, _sfc_main$4M as CBlockManagement, CButton, _sfc_main$5d as CCanvasDeleteDialogContent, _sfc_main$5e as CCanvasMetadataFilters, CCanvasSelector, _sfc_main$6T as CCard, CCarousel, _sfc_main$3G as CCatalogIqSwitcher, _sfc_main$6S as CCheckbox, _sfc_main$3A as CChip, CCollapse, _sfc_main$6P as CCollapseItem, _sfc_main$6p as CCollapseTransition, NColorPicker as CColorPicker, CComponentListItem, CConfigEditor, NConfigProvider as CConfigProvider, _sfc_main$6f as CConfirmationAction, CConfirmationContent, CConfirmationHeader, CConfirmationModal, CContactSelector, CContactSelectorSelected, _sfc_main$66 as CContentError, _sfc_main$63 as CCreateCanvasModal, _sfc_main$62 as CCreateTemplateSectionBlockModal, _sfc_main$5T as CCreateThemeModal, CDP_EVENT_TYPE, CDataTable, NDatePicker as CDatePicker, CDateRangeFilter, CDetailPageSectionButtons, NDialogProvider as CDialogProvider, _sfc_main$6N as CDivider, _sfc_main$6M as CDrawer, _sfc_main$6L as CDrawerContent, _sfc_main$6K as CDropdown, _sfc_main$6n as CEmpty, _sfc_main$4k as CEntitySelector, _sfc_main$6J as CErrorFullScreen, _sfc_main$6l as CFeedback, _sfc_main$3o as CFileAccessManagement, _sfc_main$6A as CFileAttributes, _sfc_main$3p as CFilePanel, _sfc_main$6G as CFileThumbnail, CFileViewer, CFilesAccessInfo, _sfc_main$3Z 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$4f as CFullScreenLoader, NGridItem as CGi, CGlobalLoader, _sfc_main$5M 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$6k as CHelpText, CIcon, _sfc_main$6I as CImage, _sfc_main$4U as CInfoBadge, _sfc_main$6z 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$4V as CList, NMessageProvider as CMessageProvider, _sfc_main$5J as CMetaDataBadge, _sfc_main$6y as CModal, CMonacoEditor, CMovableWidget, CMultiSelect, NNotificationProvider as CNotificationProvider, NPagination as CPagination, _sfc_main$6j as CPillSelect, _sfc_main$6x as CPopover, _sfc_main$6H as CProcessingOverlay, NProgress as CProgress, _sfc_main$5q as CRichTextEditor, _sfc_main$4o as CSavedCanvasesManagement, CSearch, _sfc_main$6v as CSearchOnClick, CSearchOnClickWithSuggestions, CSecondaryNav, _sfc_main$4P as CSectionManagement, CSelect, CSelectFilter, _sfc_main$3x as CSettingsEditor, CShortcut, CSingleSelect, NSkeleton as CSkeleton, _sfc_main$3C as CSlideViewer, NSpace as CSpace, _sfc_main$6o as CSpin, _sfc_main$6m as CSwitch, CTable, _sfc_main$5a as CTableInput, CTableMore, CTableSelect, CTableTag, _sfc_main$6D as CTag, CTags, _sfc_main$4E as CTemplateManagement, text as CText, _sfc_main$6t as CThemeEditor, _sfc_main$4z as CThemeManagement, _sfc_main$5j as CToastProvider, CToolbar, _sfc_main$6r as CTooltip, CUpsertFolderModal, _sfc_main$5n as CUserAvatar, CUserMenu, CUsersAccessInfo, CUsersGroupsAccessManage, _sfc_main$5k as CVirtualTable, _sfc_main$46 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, applyCanvasThemeAssetsToNode, applyFont, applyToTreeBy, autofocus as autofocusDirective, camelCaseKeys, canvasUiUnoPreset, clearLocalStorageIfNeeded, ClickOutsideDirective as clickOutsideDirective, collectAllNodesByCondition, _export$3 as collectionPlayer, _export$2 as collectionSelector, componentIconType, computeLocalStorageBytes, convertSecondsToMinutes, convertToPixels, convertToSosl, createNodeId, createPitcherSettings, dayjs, deepDiff, deepToRaw, derivePatchRequestFields, determineUserRole, discardSectionComponentOverride, displayBytesWithMUnit, displayIntegerWithMunit, doesLocalOverrideExist, downloadFile, draggable as draggableDirective, elementMounted as elementMountedDirective, escapeSoqlString, evaluateAccessor, executeWithDoublingTime, exitFullscreen, fallbackLocale, fetchAll, fetchAllWithOffset, fetchFirstChunkAndRemainingAsync, 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, highLevelApi, indirectEval, insertItemSorted, isAfter, isBefore, isBeforeMinDate, isEmbeddableWithZeroHeight, isFirefox, isFullscreen, isHeadlessOrNotAvailableApp, isImageAccessible, isIosDevice, isMac, isMobile, isModifierClick, isNonMemberRole, isOriginValid, isPastMaxDate, isPitcherOrIosDevice, isPitcherWkWebView, isQueryParamTruthy, isSafari, isSafariOnIosDevice, isSameOrAfter, isSameOrBefore, isTextComponentEmpty, 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, skipElementsInTree, snakeCaseKeys, someNodeInTree, sortCollectionByString, splitUserName, stringToHslColor, supportedLocales, tapDirective, titleCase, toggleFullscreen, tooltipDirective, transformFilesToCollectionPlayer, transformFilesToContentGrid, 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, useSuggestedTags, useTheme, useThemeVars, useToast, useUi, useUpdateEvent, useWindowEvents, vueQueryPluginOptions, wait, waitForIframeInitialize, waitForValue };
181671
181732
  //# sourceMappingURL=canvas-ui.js.map