@pitcher/canvas-ui 2025.12.8-115315-beta → 2025.12.8-121430-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/canvas-ui.css +16 -16
- package/canvas-ui.js +8 -25
- package/canvas-ui.js.map +1 -1
- package/package.json +1 -1
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-
|
|
554
|
+
}[data-v-3f7b50d5] .ais-SearchBox {
|
|
555
555
|
margin: 0;
|
|
556
556
|
}
|
|
557
|
-
[data-v-
|
|
557
|
+
[data-v-3f7b50d5] .ais-SearchBox-submit,[data-v-3f7b50d5] .ais-SearchBox-reset {
|
|
558
558
|
display: none;
|
|
559
559
|
}
|
|
560
|
-
.admin-search[data-v-
|
|
560
|
+
.admin-search[data-v-3f7b50d5] .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-
|
|
574
|
+
.admin-search[data-v-3f7b50d5] .ais-SearchBox-reset:hover {
|
|
575
575
|
color: var(--p-text2) !important;
|
|
576
576
|
}
|
|
577
|
-
.admin-search[data-v-
|
|
577
|
+
.admin-search[data-v-3f7b50d5] .ais-SearchBox-reset:focus {
|
|
578
578
|
outline: none !important;
|
|
579
579
|
color: var(--p-primary) !important;
|
|
580
580
|
}
|
|
581
|
-
.admin-search[data-v-
|
|
581
|
+
.admin-search[data-v-3f7b50d5] .ais-SearchBox-input {
|
|
582
582
|
padding-right: 40px !important;
|
|
583
583
|
}
|
|
584
|
-
[data-v-
|
|
584
|
+
[data-v-3f7b50d5] .ais-SearchBox-input {
|
|
585
585
|
width: 100%;
|
|
586
586
|
padding: 12px 16px 12px 40px;
|
|
587
587
|
border: 1px solid var(--p-primary4);
|
|
@@ -590,36 +590,36 @@ swiper-container::part(pagination) {
|
|
|
590
590
|
background-color: var(--p-base);
|
|
591
591
|
transition: border-color 0.2s ease;
|
|
592
592
|
}
|
|
593
|
-
[data-v-
|
|
593
|
+
[data-v-3f7b50d5] .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-
|
|
598
|
+
[data-v-3f7b50d5] .ais-SearchBox-input::placeholder {
|
|
599
599
|
color: var(--p-text3);
|
|
600
600
|
font-size: 14px;
|
|
601
601
|
}
|
|
602
|
-
.overflow-y-auto[data-v-
|
|
602
|
+
.overflow-y-auto[data-v-3f7b50d5] {
|
|
603
603
|
scrollbar-width: thin;
|
|
604
604
|
scrollbar-color: var(--p-border2) var(--p-surface2);
|
|
605
605
|
}
|
|
606
|
-
.overflow-y-auto[data-v-
|
|
606
|
+
.overflow-y-auto[data-v-3f7b50d5]::-webkit-scrollbar {
|
|
607
607
|
width: 6px;
|
|
608
608
|
}
|
|
609
|
-
.overflow-y-auto[data-v-
|
|
609
|
+
.overflow-y-auto[data-v-3f7b50d5]::-webkit-scrollbar-track {
|
|
610
610
|
background: var(--p-surface2);
|
|
611
611
|
}
|
|
612
|
-
.overflow-y-auto[data-v-
|
|
612
|
+
.overflow-y-auto[data-v-3f7b50d5]::-webkit-scrollbar-thumb {
|
|
613
613
|
background-color: var(--p-border2);
|
|
614
614
|
border-radius: 3px;
|
|
615
615
|
}
|
|
616
|
-
.overflow-y-auto[data-v-
|
|
616
|
+
.overflow-y-auto[data-v-3f7b50d5]::-webkit-scrollbar-thumb:hover {
|
|
617
617
|
background-color: var(--p-text3);
|
|
618
618
|
}
|
|
619
|
-
button[data-v-
|
|
619
|
+
button[data-v-3f7b50d5]:hover {
|
|
620
620
|
transition: all 0.2s ease;
|
|
621
621
|
}
|
|
622
|
-
button[data-v-
|
|
622
|
+
button[data-v-3f7b50d5]:focus {
|
|
623
623
|
outline: none;
|
|
624
624
|
}
|
|
625
625
|
.letter-spacing--inherit .n-base-select-option__content {
|
package/canvas-ui.js
CHANGED
|
@@ -94509,7 +94509,7 @@ const _hoisted_6$1w = { class: "flex space-x-0 items-center" };
|
|
|
94509
94509
|
const _hoisted_7$18 = { class: "uppercase" };
|
|
94510
94510
|
const _hoisted_8$Z = {
|
|
94511
94511
|
key: 1,
|
|
94512
|
-
class: "h-16px w-1px bg-
|
|
94512
|
+
class: "h-16px w-1px bg-primary5"
|
|
94513
94513
|
};
|
|
94514
94514
|
const _hoisted_9$O = {
|
|
94515
94515
|
key: 0,
|
|
@@ -94579,7 +94579,7 @@ const _hoisted_42$4 = {
|
|
|
94579
94579
|
class: "px-0 py-0"
|
|
94580
94580
|
};
|
|
94581
94581
|
const _hoisted_43$4 = { key: 1 };
|
|
94582
|
-
const _hoisted_44$4 = { class: "flex items-center px-0 pt-
|
|
94582
|
+
const _hoisted_44$4 = { class: "flex items-center px-0 pt-2 pb-1" };
|
|
94583
94583
|
const _hoisted_45$4 = { class: "text-m font-semibold text-gray-900" };
|
|
94584
94584
|
const _hoisted_46$4 = { class: "ml-2 text-sm text-gray-500" };
|
|
94585
94585
|
const _hoisted_47$4 = ["data-result-selected", "onClick"];
|
|
@@ -95130,7 +95130,7 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95130
95130
|
if (!contentType) return "Canvas";
|
|
95131
95131
|
switch (contentType) {
|
|
95132
95132
|
case "saved_canvas":
|
|
95133
|
-
return "Saved
|
|
95133
|
+
return "Saved PitchDeck";
|
|
95134
95134
|
case "template":
|
|
95135
95135
|
return "Template";
|
|
95136
95136
|
case "section":
|
|
@@ -95617,7 +95617,7 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95617
95617
|
(openBlock(true), createElementBlock(Fragment, null, renderList(recentSearches.value, (search) => {
|
|
95618
95618
|
return openBlock(), createElementBlock("div", {
|
|
95619
95619
|
key: search,
|
|
95620
|
-
class: "flex items-center py-2 px-0 hover:bg-primary5 cursor-pointer rounded",
|
|
95620
|
+
class: "flex items-center py-2 px-0 pl-1 hover:bg-primary5 cursor-pointer rounded",
|
|
95621
95621
|
onClick: ($event) => handleRecentSearchClick(search)
|
|
95622
95622
|
}, [
|
|
95623
95623
|
createVNode(CIcon, {
|
|
@@ -95930,7 +95930,7 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
95930
95930
|
}
|
|
95931
95931
|
});
|
|
95932
95932
|
|
|
95933
|
-
const CAlgoliaSearch = /* @__PURE__ */ _export_sfc(_sfc_main$5I, [["__scopeId", "data-v-
|
|
95933
|
+
const CAlgoliaSearch = /* @__PURE__ */ _export_sfc(_sfc_main$5I, [["__scopeId", "data-v-3f7b50d5"]]);
|
|
95934
95934
|
|
|
95935
95935
|
const BulletListExtended = BulletList.extend({
|
|
95936
95936
|
addOptions() {
|
|
@@ -113612,13 +113612,6 @@ const _sfc_main$4E = /*@__PURE__*/defineComponent({
|
|
|
113612
113612
|
return lowerTag === 'home' || lowerTag === 'share';
|
|
113613
113613
|
}) ?? false;
|
|
113614
113614
|
}
|
|
113615
|
-
function hasSystemOrExcludedTag(tags) {
|
|
113616
|
-
const systemTags = ['home', 'share', 'sharebox'];
|
|
113617
|
-
return tags?.some(tag => {
|
|
113618
|
-
const lowerTag = tag.toLowerCase();
|
|
113619
|
-
return systemTags.includes(lowerTag) || props.excludedTags?.map(t => t.toLowerCase()).includes(lowerTag);
|
|
113620
|
-
}) ?? false;
|
|
113621
|
-
}
|
|
113622
113615
|
function isEditingCurrentItem(id, prop) {
|
|
113623
113616
|
return editingItem.value?.id === id && editingItem.value?.prop === prop;
|
|
113624
113617
|
}
|
|
@@ -113777,7 +113770,7 @@ const _sfc_main$4E = /*@__PURE__*/defineComponent({
|
|
|
113777
113770
|
hideEdit: isReadonly(cellCtx.row.original),
|
|
113778
113771
|
hideDelete: isReadonly(cellCtx.row.original),
|
|
113779
113772
|
hideLock: !launchDarkly.value.enable_canvas_locks || (isOrgAdmin.value ? isImpact.value : isLockedBySomeoneElse(cellCtx.row.original) || isImpact.value),
|
|
113780
|
-
hideCreateFromTemplate: isAdmin.value || !!cellCtx.row.original.is_draft
|
|
113773
|
+
hideCreateFromTemplate: isAdmin.value || !!cellCtx.row.original.is_draft,
|
|
113781
113774
|
hideToggleDefault: props.canvasType === 'section-template' || !!cellCtx.row.original.is_draft || isImpact.value || hasHomeOrShareTag(cellCtx.row.original.tags) && !cellCtx.row.original.is_default,
|
|
113782
113775
|
hideToggleStatus: isReadonly(cellCtx.row.original) || isFolder(cellCtx.row.original),
|
|
113783
113776
|
hideViewNewTab: isPitcherWkWebView,
|
|
@@ -114356,7 +114349,7 @@ const _sfc_main$4E = /*@__PURE__*/defineComponent({
|
|
|
114356
114349
|
"hide-convert": isImpact.value || _ctx.hideConvert,
|
|
114357
114350
|
"hide-copy": isImpact.value || isFolder(toListItem(item)),
|
|
114358
114351
|
"hide-create": isImpact.value,
|
|
114359
|
-
"hide-create-from-template": isAdmin.value || !!item.is_draft || isFolder(toListItem(item))
|
|
114352
|
+
"hide-create-from-template": isAdmin.value || !!item.is_draft || isFolder(toListItem(item)),
|
|
114360
114353
|
"hide-delete": isReadonly(toListItem(item)),
|
|
114361
114354
|
"hide-edit": isReadonly(toListItem(item)) || isFolder(toListItem(item)),
|
|
114362
114355
|
"hide-lock": isFolder(toListItem(item)) || !unref(launchDarkly).enable_canvas_locks || (unref(isOrgAdmin) ? isImpact.value : isLockedBySomeoneElse(toListItem(item)) || isImpact.value),
|
|
@@ -117533,13 +117526,6 @@ const _sfc_main$4o = /*@__PURE__*/defineComponent({
|
|
|
117533
117526
|
console.error('Error during async download polling:', error);
|
|
117534
117527
|
}
|
|
117535
117528
|
}
|
|
117536
|
-
function hasSystemTag(tags) {
|
|
117537
|
-
const systemTags = ['home', 'share', 'sharebox'];
|
|
117538
|
-
return tags?.some(tag => {
|
|
117539
|
-
const lowerTag = tag.toLowerCase();
|
|
117540
|
-
return systemTags.includes(lowerTag);
|
|
117541
|
-
}) ?? false;
|
|
117542
|
-
}
|
|
117543
117529
|
const {
|
|
117544
117530
|
filterComponents: dataFilterComponents
|
|
117545
117531
|
} = useCanvasStandardFilters({
|
|
@@ -117633,12 +117619,9 @@ const _sfc_main$4o = /*@__PURE__*/defineComponent({
|
|
|
117633
117619
|
id: 'template',
|
|
117634
117620
|
cell: cellCtx => {
|
|
117635
117621
|
const templateId = cellCtx.row.original?.template?.id;
|
|
117636
|
-
const canvasTags = cellCtx.row.original?.tags;
|
|
117637
117622
|
// If distributed canvas feature is disabled, assume all templates are accessible
|
|
117638
117623
|
const hasAccess = launchDarkly.value.enable_canvas_core_distributions ? templateId ? accessibleTemplateIds.value.has(templateId) : true : true;
|
|
117639
|
-
|
|
117640
|
-
const hasSystemCanvasTag = hasSystemTag(canvasTags);
|
|
117641
|
-
const hideCreate = props.isCanvasCreationDisabled || !hasAccess || hasSystemCanvasTag;
|
|
117624
|
+
const hideCreate = props.isCanvasCreationDisabled || !hasAccess;
|
|
117642
117625
|
const disableOpen = props.noTabs || !hasAccess;
|
|
117643
117626
|
return createVNode(_sfc_main$4u, {
|
|
117644
117627
|
"name": cellCtx.row.original?.template?.name,
|