@pstdio/ui 0.43.0-nightly.20261012031318 → 0.43.0
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/dist/{MermaidComponent-Ck8YZ-eC.js → MermaidComponent-X7N-8w2S.js} +2 -2
- package/dist/{MermaidComponent-Ck8YZ-eC.js.map → MermaidComponent-X7N-8w2S.js.map} +1 -1
- package/dist/chat-ui.d.ts +50 -50
- package/dist/chat-ui.js +2 -2
- package/dist/{collection-view-grouping-DmjlnPQj.js → collection-view-grouping-DnuJ1U4R.js} +24 -24
- package/dist/{collection-view-grouping-DmjlnPQj.js.map → collection-view-grouping-DnuJ1U4R.js.map} +1 -1
- package/dist/{collection-view-search-CW7B2YP1.js → collection-view-search-D_7Qvz7p.js} +22 -16
- package/dist/collection-view-search-D_7Qvz7p.js.map +1 -0
- package/dist/collection-view.d.ts +90 -3
- package/dist/collection-view.js +112 -2
- package/dist/collection-view.js.map +1 -0
- package/dist/{data-table-stats-row-B2MYAoHu.js → data-table-stats-row-C8CtvdDt.js} +2 -2
- package/dist/{data-table-stats-row-B2MYAoHu.js.map → data-table-stats-row-C8CtvdDt.js.map} +1 -1
- package/dist/data-table.d.ts +1 -2
- package/dist/data-table.js +14 -14
- package/dist/data-table.js.map +1 -1
- package/dist/{display-sort-control-CmFg-wcP.js → display-sort-control-n3L5WvkJ.js} +86 -86
- package/dist/{display-sort-control-CmFg-wcP.js.map → display-sort-control-n3L5WvkJ.js.map} +1 -1
- package/dist/{edit-mode-data-table-oEYutEBB.js → edit-mode-data-table-BclZ-pWe.js} +8 -8
- package/dist/{edit-mode-data-table-oEYutEBB.js.map → edit-mode-data-table-BclZ-pWe.js.map} +1 -1
- package/dist/{index-DNurZJZ3.d.ts → index-DjZsR4Ey.d.ts} +1 -1
- package/dist/index.d.ts +50 -50
- package/dist/kanban-renderer.d.ts +1 -1
- package/dist/kanban-renderer.js +79 -79
- package/dist/kanban-renderer.js.map +1 -1
- package/dist/{markdown-editor-oklbG4fY.js → markdown-editor-CN4qOKky.js} +4 -4
- package/dist/{markdown-editor-oklbG4fY.js.map → markdown-editor-CN4qOKky.js.map} +1 -1
- package/dist/{param-editor-Br3Qm5B4.js → param-editor-28dBRSV4.js} +2 -2
- package/dist/{param-editor-Br3Qm5B4.js.map → param-editor-28dBRSV4.js.map} +1 -1
- package/dist/{param-editor-field-Cg-C40tt.js → param-editor-field-GxhFb86w.js} +2 -2
- package/dist/{param-editor-field-Cg-C40tt.js.map → param-editor-field-GxhFb86w.js.map} +1 -1
- package/dist/param-editor.js +2 -2
- package/dist/{rich-text-DSZ23B46.js → rich-text-DOK4dDeb.js} +2 -2
- package/dist/{rich-text-DSZ23B46.js.map → rich-text-DOK4dDeb.js.map} +1 -1
- package/dist/rich-text.js +3 -3
- package/dist/{workspace-badge-BKtB805G.d.ts → workspace-badge-oFp29Gbe.d.ts} +1 -1
- package/package.json +2 -2
- package/dist/collection-view-search-CW7B2YP1.js.map +0 -1
- package/dist/index-DgwJmKVC.d.ts +0 -80
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as KanbanRendererSettings, S as KanbanRendererSavedView, a as CollectionViewStoreState, b as KanbanRendererCreateSubmission, f as CollectionBadgeItem, m as EnumOption, s as AttributeDescriptor, u as AttributeType, w as KanbanRendererViewsSource, x as KanbanRendererRow, y as KanbanRendererCreateRowConfig } from "./collection-view-fields-CajuwtKF.js";
|
|
2
|
-
import { n as WorkspaceBadgeProps, u as ResourceContextAction } from "./workspace-badge-
|
|
2
|
+
import { n as WorkspaceBadgeProps, u as ResourceContextAction } from "./workspace-badge-oFp29Gbe.js";
|
|
3
3
|
import { ComponentProps, ComponentType, DragEventHandler, ReactNode } from "react";
|
|
4
4
|
import { ViewFilterGroup, ViewSort } from "@pstdio/sdk/extensions";
|
|
5
5
|
//#region src/components/kanban-renderer/kanban-renderer-badge-helpers.d.ts
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as ScrollAreaProps, r as ScrollArea, t as ResourceBadge } from "./resource-badge-nOWPqxFU.js";
|
|
2
2
|
import { _ as ActivityHeader, a as ActivityComposerProps, b as ActivityRootProps, c as ActivityReply, d as ActivityEventProps, f as ActivityActor, g as ActivityFeedProps, h as ActivityFeed, i as ActivityComposer, l as ActivityReplyProps, m as ActivityTimelineProps, n as ActivityAvatar, o as ActivityComment, p as ActivityTimeline, r as ActivityAvatarProps, s as ActivityCommentProps, t as Activity, u as ActivityEvent, v as ActivityHeaderProps, y as ActivityRoot } from "./index-DlmvvQ6x.js";
|
|
3
3
|
import { n as HostStorageProvider, t as HostStorage } from "./host-storage-J0089Hyk.js";
|
|
4
|
-
import { a as resolveSessionIndicatorColor, c as ResourceActionMenu, d as ResourceContextMenu, i as SessionIndicator, l as ResourceActionMenuProps, n as WorkspaceBadgeProps, o as resolveSessionIndicatorIcon, r as SessionCompletionStatus, s as sessionCompletionStatuses, t as WorkspaceBadge, u as ResourceContextAction } from "./workspace-badge-
|
|
4
|
+
import { a as resolveSessionIndicatorColor, c as ResourceActionMenu, d as ResourceContextMenu, i as SessionIndicator, l as ResourceActionMenuProps, n as WorkspaceBadgeProps, o as resolveSessionIndicatorIcon, r as SessionCompletionStatus, s as sessionCompletionStatuses, t as WorkspaceBadge, u as ResourceContextAction } from "./workspace-badge-oFp29Gbe.js";
|
|
5
5
|
import { a as createThemePreferenceFromVsCodeTheme, c as ThemePreferenceOption, d as defaultThemePreferences, f as getThemePreferenceClassName, h as isThemePreference, i as createMonacoThemeFromVsCodeTheme, l as ThemePreferenceTokens, m as getThemePreferenceMode, n as MonacoThemeData, o as ThemePreference, p as getThemePreferenceClassNames, r as VsCodeColorTheme, s as ThemePreferenceMode, t as _default, u as applyThemePreference } from "./index-Dd6e8lU_.js";
|
|
6
6
|
import { Alert, BadgeProps, BoxProps, Breadcrumb as Breadcrumb$1, CenterProps, ChakraProvider, Checkbox as Checkbox$1, ConditionalValue, EmptyState as EmptyState$1, FlexProps, HTMLChakraProps, IconButtonProps, IconProps, Menu, RadioGroup as RadioGroup$1, RecipeVariantProps, Slider as Slider$1, StackProps, Switch as Switch$1, SystemStyleObject, TextProps, Tooltip as Tooltip$1, chakra, createToaster } from "@chakra-ui/react";
|
|
7
7
|
import * as React$2 from "react";
|
|
@@ -590,61 +590,18 @@ export declare const optionIcons: ({
|
|
|
590
590
|
onChange?: import("react").ChangeEventHandler<HTMLSpanElement, Element> | undefined;
|
|
591
591
|
onError?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
592
592
|
onSubmit?: import("react").SubmitEventHandler<HTMLSpanElement> | undefined;
|
|
593
|
-
id?: string | undefined | undefined;
|
|
594
593
|
resource?: string | undefined | undefined;
|
|
595
|
-
|
|
596
|
-
style?: import("react").CSSProperties | undefined;
|
|
597
|
-
title?: string | undefined | undefined;
|
|
598
|
-
color?: string | undefined | undefined;
|
|
599
|
-
content?: string | undefined | undefined;
|
|
600
|
-
translate?: "yes" | "no" | undefined | undefined;
|
|
601
|
-
hidden?: boolean | undefined | undefined;
|
|
602
|
-
"aria-roledescription"?: string | undefined | undefined;
|
|
603
|
-
role?: import("react").AriaRole | undefined;
|
|
604
|
-
defaultChecked?: boolean | undefined | undefined;
|
|
605
|
-
defaultValue?: string | number | readonly string[] | undefined;
|
|
606
|
-
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
594
|
+
id?: string | undefined | undefined;
|
|
607
595
|
suppressHydrationWarning?: boolean | undefined | undefined;
|
|
608
|
-
accessKey?: string | undefined | undefined;
|
|
609
|
-
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
610
|
-
autoFocus?: boolean | undefined | undefined;
|
|
611
596
|
className?: string | undefined | undefined;
|
|
612
|
-
|
|
613
|
-
contextMenu?: string | undefined | undefined;
|
|
614
|
-
dir?: string | undefined | undefined;
|
|
615
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
616
|
-
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
597
|
+
color?: string | undefined | undefined;
|
|
617
598
|
lang?: string | undefined | undefined;
|
|
618
599
|
nonce?: string | undefined | undefined;
|
|
619
|
-
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
620
|
-
tabIndex?: number | undefined | undefined;
|
|
621
|
-
radioGroup?: string | undefined | undefined;
|
|
622
|
-
about?: string | undefined | undefined;
|
|
623
|
-
datatype?: string | undefined | undefined;
|
|
624
|
-
inlist?: any;
|
|
625
|
-
prefix?: string | undefined | undefined;
|
|
626
|
-
property?: string | undefined | undefined;
|
|
627
|
-
rel?: string | undefined | undefined;
|
|
628
|
-
rev?: string | undefined | undefined;
|
|
629
|
-
typeof?: string | undefined | undefined;
|
|
630
|
-
vocab?: string | undefined | undefined;
|
|
631
|
-
autoCorrect?: string | undefined | undefined;
|
|
632
|
-
autoSave?: string | undefined | undefined;
|
|
633
|
-
itemProp?: string | undefined | undefined;
|
|
634
|
-
itemScope?: boolean | undefined | undefined;
|
|
635
|
-
itemType?: string | undefined | undefined;
|
|
636
|
-
itemID?: string | undefined | undefined;
|
|
637
|
-
itemRef?: string | undefined | undefined;
|
|
638
|
-
results?: number | undefined | undefined;
|
|
639
|
-
security?: string | undefined | undefined;
|
|
640
|
-
unselectable?: "on" | "off" | undefined | undefined;
|
|
641
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
642
|
-
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
643
|
-
popoverTarget?: string | undefined | undefined;
|
|
644
|
-
inert?: boolean | undefined | undefined;
|
|
645
|
-
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
646
|
-
exportparts?: string | undefined | undefined;
|
|
647
600
|
part?: string | undefined | undefined;
|
|
601
|
+
slot?: string | undefined | undefined;
|
|
602
|
+
style?: import("react").CSSProperties | undefined;
|
|
603
|
+
role?: import("react").AriaRole | undefined;
|
|
604
|
+
tabIndex?: number | undefined | undefined;
|
|
648
605
|
"aria-activedescendant"?: string | undefined | undefined;
|
|
649
606
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
650
607
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
@@ -686,6 +643,7 @@ export declare const optionIcons: ({
|
|
|
686
643
|
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
687
644
|
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
688
645
|
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
646
|
+
"aria-roledescription"?: string | undefined | undefined;
|
|
689
647
|
"aria-rowcount"?: number | undefined | undefined;
|
|
690
648
|
"aria-rowindex"?: number | undefined | undefined;
|
|
691
649
|
"aria-rowindextext"?: string | undefined | undefined;
|
|
@@ -865,6 +823,48 @@ export declare const optionIcons: ({
|
|
|
865
823
|
onTransitionRunCapture?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
866
824
|
onTransitionStart?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
867
825
|
onTransitionStartCapture?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
826
|
+
title?: string | undefined | undefined;
|
|
827
|
+
content?: string | undefined | undefined;
|
|
828
|
+
translate?: "yes" | "no" | undefined | undefined;
|
|
829
|
+
hidden?: boolean | undefined | undefined;
|
|
830
|
+
defaultChecked?: boolean | undefined | undefined;
|
|
831
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
832
|
+
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
833
|
+
accessKey?: string | undefined | undefined;
|
|
834
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
835
|
+
autoFocus?: boolean | undefined | undefined;
|
|
836
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
837
|
+
contextMenu?: string | undefined | undefined;
|
|
838
|
+
dir?: string | undefined | undefined;
|
|
839
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
840
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
841
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
842
|
+
radioGroup?: string | undefined | undefined;
|
|
843
|
+
about?: string | undefined | undefined;
|
|
844
|
+
datatype?: string | undefined | undefined;
|
|
845
|
+
inlist?: any;
|
|
846
|
+
prefix?: string | undefined | undefined;
|
|
847
|
+
property?: string | undefined | undefined;
|
|
848
|
+
rel?: string | undefined | undefined;
|
|
849
|
+
rev?: string | undefined | undefined;
|
|
850
|
+
typeof?: string | undefined | undefined;
|
|
851
|
+
vocab?: string | undefined | undefined;
|
|
852
|
+
autoCorrect?: string | undefined | undefined;
|
|
853
|
+
autoSave?: string | undefined | undefined;
|
|
854
|
+
itemProp?: string | undefined | undefined;
|
|
855
|
+
itemScope?: boolean | undefined | undefined;
|
|
856
|
+
itemType?: string | undefined | undefined;
|
|
857
|
+
itemID?: string | undefined | undefined;
|
|
858
|
+
itemRef?: string | undefined | undefined;
|
|
859
|
+
results?: number | undefined | undefined;
|
|
860
|
+
security?: string | undefined | undefined;
|
|
861
|
+
unselectable?: "on" | "off" | undefined | undefined;
|
|
862
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
863
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
864
|
+
popoverTarget?: string | undefined | undefined;
|
|
865
|
+
inert?: boolean | undefined | undefined;
|
|
866
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
867
|
+
exportparts?: string | undefined | undefined;
|
|
868
868
|
}>;
|
|
869
869
|
} | {
|
|
870
870
|
value: null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { A as CollectionSavedView, C as KanbanRendererSettings, D as findAttribute, E as ViewMode, F as ViewFilterGroup, I as ViewFilterRule, L as ViewSort, M as CollectionViewsSource, N as EMPTY_VIEW_FILTER, O as isAttributesSource, P as ViewFilterCondition, R as ViewSortDirection, S as KanbanRendererSavedView, T as NO_GROUPING, _ as KanbanRendererCreateField, b as KanbanRendererCreateSubmission, c as AttributeDisplayDescriptor, d as AttributesSource, g as EnumOptionsSource, h as EnumOptions, k as isEnumOptionsSource, l as AttributeKind, m as EnumOption, n as getAttributeValue, p as DEFAULT_KANBAN_RENDERER_SETTINGS, s as AttributeDescriptor, t as getAttributeStringValues, u as AttributeType, v as KanbanRendererCreateFieldType, w as KanbanRendererViewsSource, x as KanbanRendererRow, y as KanbanRendererCreateRowConfig } from "./collection-view-fields-CajuwtKF.js";
|
|
2
|
-
import { C as buildGroupingOptions, D as getEnumOptions, E as renderBadgeListDisplay, O as AttributeBadge, S as buildFilterCategories, T as renderAttributeBadge, _ as KanbanRendererCardProps, a as KanbanRendererToolbarProps, b as MenuOption, c as KanbanRendererCreateDialog, d as KanbanRendererProps, f as KanbanRendererBoard, g as KanbanRendererCard, h as KanbanRendererBoardItem, i as KanbanRendererToolbar, l as BoardColumnConfig, m as KanbanRendererBoardColumnAction, n as useResolvedAttributes, o as KanbanRendererList, p as KanbanRendererBoardColumn, r as useKanbanRendererStore, s as KanbanRendererListItem, t as resolveAttributeOptions, u as KanbanRenderer, v as DisplayMenu, w as collectDisplayBadges, x as buildDisplayPropertyOptions, y as FilterCategoryView } from "./index-
|
|
2
|
+
import { C as buildGroupingOptions, D as getEnumOptions, E as renderBadgeListDisplay, O as AttributeBadge, S as buildFilterCategories, T as renderAttributeBadge, _ as KanbanRendererCardProps, a as KanbanRendererToolbarProps, b as MenuOption, c as KanbanRendererCreateDialog, d as KanbanRendererProps, f as KanbanRendererBoard, g as KanbanRendererCard, h as KanbanRendererBoardItem, i as KanbanRendererToolbar, l as BoardColumnConfig, m as KanbanRendererBoardColumnAction, n as useResolvedAttributes, o as KanbanRendererList, p as KanbanRendererBoardColumn, r as useKanbanRendererStore, s as KanbanRendererListItem, t as resolveAttributeOptions, u as KanbanRenderer, v as DisplayMenu, w as collectDisplayBadges, x as buildDisplayPropertyOptions, y as FilterCategoryView } from "./index-DjZsR4Ey.js";
|
|
3
3
|
export { type AttributeBadge, type AttributeDescriptor, type AttributeDisplayDescriptor, type AttributeKind, type AttributeType, type AttributesSource, type BoardColumnConfig, type CollectionSavedView, type CollectionViewsSource, DEFAULT_KANBAN_RENDERER_SETTINGS, DisplayMenu, EMPTY_VIEW_FILTER, type EnumOption, type EnumOptions, type EnumOptionsSource, type FilterCategoryView, KanbanRenderer, KanbanRendererBoard, type KanbanRendererBoardColumn, type KanbanRendererBoardColumnAction, type KanbanRendererBoardItem, KanbanRendererCard, type KanbanRendererCardProps, KanbanRendererCreateDialog, type KanbanRendererCreateField, type KanbanRendererCreateFieldType, type KanbanRendererCreateRowConfig, type KanbanRendererCreateSubmission, KanbanRendererList, type KanbanRendererListItem, type KanbanRendererProps, type KanbanRendererRow, type KanbanRendererSavedView, type KanbanRendererSettings, KanbanRendererToolbar, type KanbanRendererToolbarProps, type KanbanRendererViewsSource, type MenuOption, NO_GROUPING, type ViewFilterCondition, type ViewFilterGroup, type ViewFilterRule, type ViewMode, type ViewSort, type ViewSortDirection, buildDisplayPropertyOptions, buildFilterCategories, buildGroupingOptions, collectDisplayBadges, findAttribute, getAttributeStringValues, getAttributeValue, getEnumOptions, isAttributesSource, isEnumOptionsSource, renderAttributeBadge, renderBadgeListDisplay, resolveAttributeOptions, useKanbanRendererStore, useResolvedAttributes };
|
|
4
4
|
export {};
|
package/dist/kanban-renderer.js
CHANGED
|
@@ -5,10 +5,10 @@ import { o as a, t as o } from "./workspace-badge-BfSkiGP_.js";
|
|
|
5
5
|
import { t as s } from "./empty-state-3mVV_pV-.js";
|
|
6
6
|
import { t as c } from "./icon-options-Tt6Wzhtv.js";
|
|
7
7
|
import { i as l, n as u, r as d } from "./host-storage-BIo5azql.js";
|
|
8
|
-
import {
|
|
9
|
-
import { a as j, i as M, r as N } from "./collection-view-grouping-
|
|
10
|
-
import { c as P, i as F, m as I, r as L, t as R } from "./param-editor-field-
|
|
11
|
-
import { a as ee, c as z, d as B, f as te, l as V, n as H, o as U, p as ne, r as re, s as ie, t as ae, u as oe } from "./display-sort-control-
|
|
8
|
+
import { A as f, C as p, D as m, M as h, N as g, O as _, P as v, S as y, T as b, a as x, b as S, i as C, j as w, l as T, n as E, r as D, s as O, u as k, x as A } from "./collection-view-search-D_7Qvz7p.js";
|
|
9
|
+
import { a as j, i as M, r as N } from "./collection-view-grouping-DnuJ1U4R.js";
|
|
10
|
+
import { c as P, i as F, m as I, r as L, t as R } from "./param-editor-field-GxhFb86w.js";
|
|
11
|
+
import { a as ee, c as z, d as B, f as te, l as V, n as H, o as U, p as ne, r as re, s as ie, t as ae, u as oe } from "./display-sort-control-n3L5WvkJ.js";
|
|
12
12
|
import { Badge as se, Box as W, Button as ce, ButtonGroup as le, CloseButton as ue, Dialog as G, HStack as K, Icon as q, IconButton as de, Input as fe, Menu as J, Portal as pe, Spacer as me, Stack as he, Text as Y, Textarea as ge, VStack as _e, Wrap as ve } from "@chakra-ui/react";
|
|
13
13
|
import { c as X } from "react/compiler-runtime";
|
|
14
14
|
import { Fragment as ye, jsx as Z, jsxs as Q } from "react/jsx-runtime";
|
|
@@ -26,7 +26,7 @@ var Le = async (e, t, n) => {
|
|
|
26
26
|
n(t, e);
|
|
27
27
|
}
|
|
28
28
|
}, Re = (e, t) => {
|
|
29
|
-
let { attributes: n, columnGrouping: r, rowGrouping: i, knownColumnKeys: a, structureRows: o = e } = t, s =
|
|
29
|
+
let { attributes: n, columnGrouping: r, rowGrouping: i, knownColumnKeys: a, structureRows: o = e } = t, s = h(n, r), c = h(n, i), l = s ? N(o, s) : [];
|
|
30
30
|
return (s ? N(e, s, a ?? l.map((e) => e.key)) : [{
|
|
31
31
|
key: "all",
|
|
32
32
|
label: "All",
|
|
@@ -39,9 +39,9 @@ var Le = async (e, t, n) => {
|
|
|
39
39
|
};
|
|
40
40
|
});
|
|
41
41
|
}, ze = (e, t, n) => {
|
|
42
|
-
let r = {}, i =
|
|
42
|
+
let r = {}, i = h(n, t);
|
|
43
43
|
if (!i) return r;
|
|
44
|
-
for (let t of e) for (let e of
|
|
44
|
+
for (let t of e) for (let e of y(t, i)) r[e] = (r[e] ?? 0) + 1;
|
|
45
45
|
return r;
|
|
46
46
|
}, Be = (e) => {
|
|
47
47
|
let t = e.attributes.id;
|
|
@@ -51,13 +51,13 @@ var Le = async (e, t, n) => {
|
|
|
51
51
|
e.title,
|
|
52
52
|
...l(e),
|
|
53
53
|
...s.flatMap((t) => {
|
|
54
|
-
let n =
|
|
55
|
-
return n ?
|
|
54
|
+
let n = S(i, t);
|
|
55
|
+
return n ? A(e, n) : [];
|
|
56
56
|
})
|
|
57
|
-
], d =
|
|
57
|
+
], d = k(t, n, r), f = E(d, o, u), p = Re(d, {
|
|
58
58
|
attributes: i,
|
|
59
59
|
columnGrouping: a.columnGrouping,
|
|
60
|
-
rowGrouping:
|
|
60
|
+
rowGrouping: w
|
|
61
61
|
});
|
|
62
62
|
return {
|
|
63
63
|
filteredRows: d,
|
|
@@ -65,24 +65,24 @@ var Le = async (e, t, n) => {
|
|
|
65
65
|
columnTotals: new Map(p.map((e) => [e.key, e.rows.length]))
|
|
66
66
|
};
|
|
67
67
|
}, He = (e) => {
|
|
68
|
-
let { grouped: t, settings: n, sorts: r, fields: i, attributes: a, search: o, columnTotals: s } = e, { getBoardColumnConfig: c, getRowContextMenuActions: l, onAttributeChange: u, onActionError: d, onRowClick: f } = e,
|
|
68
|
+
let { grouped: t, settings: n, sorts: r, fields: i, attributes: a, search: o, columnTotals: s } = e, { getBoardColumnConfig: c, getRowContextMenuActions: l, onAttributeChange: u, onActionError: d, onRowClick: f } = e, p = n.displayProperties.filter((e) => e !== "id"), g = n.displayProperties.includes("id"), _ = h(a, n.columnGrouping), v = (e) => M(e, r, i).map((e) => ({
|
|
69
69
|
id: e.id,
|
|
70
70
|
contextMenuActions: l?.(e),
|
|
71
71
|
cardProps: {
|
|
72
|
-
eyebrow:
|
|
72
|
+
eyebrow: g ? Be(e) : void 0,
|
|
73
73
|
title: e.title,
|
|
74
74
|
highlight: o,
|
|
75
|
-
badges: z(e, a,
|
|
76
|
-
customSlots: V(e, a,
|
|
75
|
+
badges: z(e, a, p),
|
|
76
|
+
customSlots: V(e, a, p),
|
|
77
77
|
onBadgeChange: u ? (t, n) => Le("Update attribute", () => u(e.id, t, n), d) : void 0,
|
|
78
78
|
onClick: () => f?.(e)
|
|
79
79
|
}
|
|
80
80
|
}));
|
|
81
81
|
return t.map((e) => {
|
|
82
|
-
let t = c?.(e.key) ?? {}, n =
|
|
82
|
+
let t = c?.(e.key) ?? {}, n = _ ? m(_.type, e.key) : void 0, r = e.subgroups.length > 0 ? e.subgroups.map((e) => ({
|
|
83
83
|
key: e.key,
|
|
84
84
|
label: e.label,
|
|
85
|
-
items:
|
|
85
|
+
items: v(e.rows)
|
|
86
86
|
})) : void 0;
|
|
87
87
|
return {
|
|
88
88
|
id: e.key,
|
|
@@ -93,7 +93,7 @@ var Le = async (e, t, n) => {
|
|
|
93
93
|
canDragOut: t.canDragOut ?? !1,
|
|
94
94
|
canCreate: t.canCreate ?? !1,
|
|
95
95
|
actions: t.actions ?? [],
|
|
96
|
-
items:
|
|
96
|
+
items: v(e.rows),
|
|
97
97
|
groups: r,
|
|
98
98
|
totalCount: s?.get(e.key)
|
|
99
99
|
};
|
|
@@ -1380,7 +1380,7 @@ var zt = (e) => {
|
|
|
1380
1380
|
"is-any-of",
|
|
1381
1381
|
"has-any-of",
|
|
1382
1382
|
"has-all-of"
|
|
1383
|
-
].includes(e.condition)).flatMap((e) => e.value === void 0 ? [] : [e.value]).flat(), r =
|
|
1383
|
+
].includes(e.condition)).flatMap((e) => e.value === void 0 ? [] : [e.value]).flat(), r = _(e.type).map((e) => e.value);
|
|
1384
1384
|
if (e.type.kind !== "enum-multi") return [
|
|
1385
1385
|
...n,
|
|
1386
1386
|
...r,
|
|
@@ -1405,7 +1405,7 @@ var zt = (e) => {
|
|
|
1405
1405
|
for (let a of i) {
|
|
1406
1406
|
let i = e.filter((e) => e.attributeId === a.id);
|
|
1407
1407
|
if (i.length === 0) continue;
|
|
1408
|
-
let s = (a.id === t ? [n] : Bt(a, i)).find((e) =>
|
|
1408
|
+
let s = (a.id === t ? [n] : Bt(a, i)).find((e) => k([{
|
|
1409
1409
|
id: "draft",
|
|
1410
1410
|
title: "",
|
|
1411
1411
|
attributes: { [a.id]: e }
|
|
@@ -1448,7 +1448,7 @@ var zt = (e) => {
|
|
|
1448
1448
|
placeholder: e.label,
|
|
1449
1449
|
clearable: !t,
|
|
1450
1450
|
disabled: t,
|
|
1451
|
-
options:
|
|
1451
|
+
options: _(e.type).map((e) => ({
|
|
1452
1452
|
id: e.value,
|
|
1453
1453
|
name: e.label,
|
|
1454
1454
|
icon: e.icon ?? void 0,
|
|
@@ -1634,76 +1634,76 @@ var zt = (e) => {
|
|
|
1634
1634
|
}) })]
|
|
1635
1635
|
}) : null;
|
|
1636
1636
|
}, Xt = (e) => {
|
|
1637
|
-
let { settings: t, sorts: n, search: r, visibleRows: i, grouped: a, attributes: o, onRowClick: s, onActionError: l, onAttributeChange: u, onReorder: d, getRowContextMenuActions: f } = e,
|
|
1638
|
-
let n =
|
|
1637
|
+
let { settings: t, sorts: n, search: r, visibleRows: i, grouped: a, attributes: o, onRowClick: s, onActionError: l, onAttributeChange: u, onReorder: d, getRowContextMenuActions: f } = e, p = n.length === 0, g = b(o), _ = (e) => M(e, n, g), v = t.displayProperties.filter((e) => e !== "id"), y = (e, t) => {
|
|
1638
|
+
let n = h(o, e), r = n ? m(n.type, t) : void 0;
|
|
1639
1639
|
return {
|
|
1640
1640
|
statusColorPalette: r?.color,
|
|
1641
1641
|
statusIcon: c(r?.icon)
|
|
1642
1642
|
};
|
|
1643
|
-
},
|
|
1643
|
+
}, x = (e) => {
|
|
1644
1644
|
let t = e.attributes.status;
|
|
1645
|
-
return typeof t == "string" ?
|
|
1646
|
-
},
|
|
1645
|
+
return typeof t == "string" ? y("status", t) : {};
|
|
1646
|
+
}, S = (e, n) => {
|
|
1647
1647
|
let i = typeof e.attributes.id == "string" ? e.attributes.id : void 0;
|
|
1648
1648
|
return {
|
|
1649
1649
|
id: e.id,
|
|
1650
1650
|
eyebrow: i && i !== e.title ? i : void 0,
|
|
1651
1651
|
title: e.title,
|
|
1652
1652
|
highlight: r,
|
|
1653
|
-
...
|
|
1654
|
-
badges: z(e, o,
|
|
1655
|
-
customSlots: V(e, o,
|
|
1653
|
+
...x(e),
|
|
1654
|
+
badges: z(e, o, v),
|
|
1655
|
+
customSlots: V(e, o, v),
|
|
1656
1656
|
contextMenuActions: f?.(e),
|
|
1657
1657
|
onClick: () => s?.(e),
|
|
1658
1658
|
onBadgeChange: u ? (t, n) => Le("Update attribute", () => u(e.id, t, n), l) : void 0,
|
|
1659
1659
|
draggable: !!(u || d),
|
|
1660
|
-
onDropRow:
|
|
1660
|
+
onDropRow: p && (u || d) ? (r) => Le("Move row", async () => {
|
|
1661
1661
|
let i = ne(t.columnGrouping, n);
|
|
1662
1662
|
i && t.columnGrouping !== "none" && u && await u(r, t.columnGrouping, i), t.rowGrouping !== "none" && n?.rowKey && u && await u(r, t.rowGrouping, n.rowKey), await d?.(r, e.id);
|
|
1663
1663
|
}, l) : void 0
|
|
1664
1664
|
};
|
|
1665
|
-
},
|
|
1665
|
+
}, C = (e, n) => {
|
|
1666
1666
|
let r = n ? t.rowGrouping : t.columnGrouping;
|
|
1667
1667
|
return {
|
|
1668
1668
|
id: n ? `group::${n.columnKey}::${e.key}` : `group::${e.key}`,
|
|
1669
1669
|
title: e.label,
|
|
1670
1670
|
isGroup: !0,
|
|
1671
1671
|
countBadge: e.rows.length,
|
|
1672
|
-
...
|
|
1672
|
+
...y(r, e.key),
|
|
1673
1673
|
onDropRow: u && t.columnGrouping !== "none" ? (r) => Le("Move row", async () => {
|
|
1674
1674
|
let i = n?.columnKey ?? e.key;
|
|
1675
1675
|
await u(r, t.columnGrouping, i), t.rowGrouping !== "none" && n && await u(r, t.rowGrouping, e.key);
|
|
1676
1676
|
}, l) : void 0,
|
|
1677
|
-
children:
|
|
1677
|
+
children: _(e.rows).map((t) => S(t, {
|
|
1678
1678
|
columnKey: n?.columnKey ?? e.key,
|
|
1679
1679
|
rowKey: n ? e.key : void 0
|
|
1680
1680
|
}))
|
|
1681
1681
|
};
|
|
1682
1682
|
};
|
|
1683
|
-
return t.columnGrouping === "none" ?
|
|
1683
|
+
return t.columnGrouping === "none" ? _(i).map((e) => S(e)) : a.map((e) => e.subgroups.length > 0 ? {
|
|
1684
1684
|
id: `group::${e.key}`,
|
|
1685
1685
|
title: e.label,
|
|
1686
1686
|
isGroup: !0,
|
|
1687
1687
|
countBadge: e.rows.length,
|
|
1688
|
-
...
|
|
1688
|
+
...y(t.columnGrouping, e.key),
|
|
1689
1689
|
onDropRow: u ? (n) => Le("Move row", () => u(n, t.columnGrouping, e.key), l) : void 0,
|
|
1690
|
-
children: e.subgroups.map((t) =>
|
|
1691
|
-
} :
|
|
1690
|
+
children: e.subgroups.map((t) => C(t, { columnKey: e.key }))
|
|
1691
|
+
} : C(e));
|
|
1692
1692
|
}, Zt = (e) => ({
|
|
1693
1693
|
settings: {
|
|
1694
|
-
...
|
|
1694
|
+
...f,
|
|
1695
1695
|
...e?.settings
|
|
1696
1696
|
},
|
|
1697
1697
|
filter: e?.filter,
|
|
1698
1698
|
sorts: e?.sorts
|
|
1699
1699
|
}), Qt = (e, t, n) => {
|
|
1700
1700
|
let r = X(2), i;
|
|
1701
|
-
return r[0] === n ? i = r[1] : (i = Zt(n), r[0] = n, r[1] = i),
|
|
1701
|
+
return r[0] === n ? i = r[1] : (i = Zt(n), r[0] = n, r[1] = i), x(e, i, t);
|
|
1702
1702
|
}, $t = (e) => {
|
|
1703
1703
|
let t = [];
|
|
1704
|
-
for (let n of e) (n.type.kind === "enum" || n.type.kind === "enum-multi") &&
|
|
1704
|
+
for (let n of e) (n.type.kind === "enum" || n.type.kind === "enum-multi") && v(n.type.options) && t.push(n.type.options);
|
|
1705
1705
|
return t;
|
|
1706
|
-
}, en = (e) => e.map((e) => e.type.kind !== "enum" && e.type.kind !== "enum-multi" || !
|
|
1706
|
+
}, en = (e) => e.map((e) => e.type.kind !== "enum" && e.type.kind !== "enum-multi" || !v(e.type.options) ? e : {
|
|
1707
1707
|
...e,
|
|
1708
1708
|
type: {
|
|
1709
1709
|
...e.type,
|
|
@@ -1742,26 +1742,26 @@ var rn = (e, t) => e.includes(t) ? e.filter((e) => e !== t) : [...e, t], an = (e
|
|
|
1742
1742
|
initialState: m,
|
|
1743
1743
|
fields: h
|
|
1744
1744
|
}, t[4] = h, t[5] = m, t[6] = e, t[7] = g) : g = t[7];
|
|
1745
|
-
let _ =
|
|
1746
|
-
t[8] !== h || t[9] !== n ? (
|
|
1747
|
-
let
|
|
1748
|
-
t[11] !== h || t[12] !==
|
|
1745
|
+
let _ = C(g), { settings: v, setSettings: y, sorts: x, setSorts: S } = Qt(r, on, m), w;
|
|
1746
|
+
t[8] !== h || t[9] !== n ? (w = U(h, n), t[8] = h, t[9] = n, t[10] = w) : w = t[10];
|
|
1747
|
+
let T = w, E;
|
|
1748
|
+
t[11] !== h || t[12] !== T || t[13] !== n ? (E = (e) => {
|
|
1749
1749
|
let t = ze(n, e.id, h);
|
|
1750
|
-
return (
|
|
1750
|
+
return (T.find((t) => t.id === e.id)?.options ?? []).map((e) => ({
|
|
1751
1751
|
...e,
|
|
1752
1752
|
count: t[e.value] ?? 0
|
|
1753
1753
|
}));
|
|
1754
|
-
}, t[11] = h, t[12] =
|
|
1755
|
-
let
|
|
1756
|
-
t[15] === h ? M = t[16] : (M =
|
|
1754
|
+
}, t[11] = h, t[12] = T, t[13] = n, t[14] = E) : E = t[14];
|
|
1755
|
+
let O = E, k = e.itemLabel, A = _.views, j = e.viewsSource, M;
|
|
1756
|
+
t[15] === h ? M = t[16] : (M = b(h), t[15] = h, t[16] = M);
|
|
1757
1757
|
let N;
|
|
1758
|
-
t[17] === h ? N = t[18] : (N =
|
|
1758
|
+
t[17] === h ? N = t[18] : (N = b(h), t[17] = h, t[18] = N);
|
|
1759
1759
|
let P;
|
|
1760
|
-
t[19] !==
|
|
1760
|
+
t[19] !== S || t[20] !== x || t[21] !== N ? (P = /* @__PURE__ */ Z(ae, {
|
|
1761
1761
|
fields: N,
|
|
1762
|
-
sorts:
|
|
1763
|
-
onSortsChange:
|
|
1764
|
-
}), t[19] =
|
|
1762
|
+
sorts: x,
|
|
1763
|
+
onSortsChange: S
|
|
1764
|
+
}), t[19] = S, t[20] = x, t[21] = N, t[22] = P) : P = t[22];
|
|
1765
1765
|
let F;
|
|
1766
1766
|
t[23] === h ? F = t[24] : (F = ie(h), t[23] = h, t[24] = F);
|
|
1767
1767
|
let I;
|
|
@@ -1782,21 +1782,21 @@ var rn = (e, t) => e.includes(t) ? e.filter((e) => e !== t) : [...e, t], an = (e
|
|
|
1782
1782
|
onDisplayPropertyToggle: B
|
|
1783
1783
|
}), t[34] = v, t[35] = F, t[36] = I, t[37] = L, t[38] = R, t[39] = z, t[40] = B, t[41] = P, t[42] = te) : te = t[42];
|
|
1784
1784
|
let V;
|
|
1785
|
-
return t[43] !== f || t[44] !== m || t[45] !== d || t[46] !== l || t[47] !==
|
|
1786
|
-
itemLabel:
|
|
1785
|
+
return t[43] !== f || t[44] !== m || t[45] !== d || t[46] !== l || t[47] !== O || t[48] !== e.itemLabel || t[49] !== e.viewsSource || t[50] !== c || t[51] !== u || t[52] !== r || t[53] !== te || t[54] !== M || t[55] !== _.views ? (V = /* @__PURE__ */ Z(D, {
|
|
1786
|
+
itemLabel: k,
|
|
1787
1787
|
storageKey: r,
|
|
1788
1788
|
initialState: m,
|
|
1789
|
-
views:
|
|
1789
|
+
views: A,
|
|
1790
1790
|
viewsSource: j,
|
|
1791
1791
|
fields: M,
|
|
1792
|
-
optionsFor:
|
|
1792
|
+
optionsFor: O,
|
|
1793
1793
|
search: c,
|
|
1794
1794
|
onSearchChange: l,
|
|
1795
1795
|
searchResultLabel: u,
|
|
1796
1796
|
leading: d,
|
|
1797
1797
|
actions: f,
|
|
1798
1798
|
displayControl: te
|
|
1799
|
-
}), t[43] = f, t[44] = m, t[45] = d, t[46] = l, t[47] =
|
|
1799
|
+
}), t[43] = f, t[44] = m, t[45] = d, t[46] = l, t[47] = O, t[48] = e.itemLabel, t[49] = e.viewsSource, t[50] = c, t[51] = u, t[52] = r, t[53] = te, t[54] = M, t[55] = _.views, t[56] = V) : V = t[56], V;
|
|
1800
1800
|
};
|
|
1801
1801
|
function on(e) {
|
|
1802
1802
|
return e;
|
|
@@ -1804,12 +1804,12 @@ function on(e) {
|
|
|
1804
1804
|
//#endregion
|
|
1805
1805
|
//#region src/components/kanban-renderer/kanban-renderer.tsx
|
|
1806
1806
|
var sn = (e) => {
|
|
1807
|
-
let t = X(77), { rows: n, storageKey: r, attributes: i, selectedRowId: a, emptyState: o, emptyTitle: s, emptyDescription: c, contentPlaceholder: l, defaultSettings: u, defaultFilter: d, defaultSorts: f, viewsSource: p, defaultViews: m, defaultActiveViewId: h, onRowClick: g, onActionError: _, onAttributeChange: v, onReorder: y, createRow:
|
|
1807
|
+
let t = X(77), { rows: n, storageKey: r, attributes: i, selectedRowId: a, emptyState: o, emptyTitle: s, emptyDescription: c, contentPlaceholder: l, defaultSettings: u, defaultFilter: d, defaultSorts: f, viewsSource: p, defaultViews: m, defaultActiveViewId: h, onRowClick: g, onActionError: _, onAttributeChange: v, onReorder: y, createRow: x, onCreateRow: S, onColumnAction: w, getBoardColumnConfig: E, getRowContextMenuActions: D, hideToolbar: O, toolbarActions: k, toolbarLeading: A } = e, j = a === void 0 ? null : a, M = s === void 0 ? "No rows found" : s, N = c === void 0 ? "Try changing filters or display settings." : c, P = O !== void 0 && O, F = Zt({
|
|
1808
1808
|
settings: u,
|
|
1809
1809
|
filter: d,
|
|
1810
1810
|
sorts: f
|
|
1811
|
-
}), I = tn(i), L =
|
|
1812
|
-
|
|
1811
|
+
}), I = tn(i), L = b(I);
|
|
1812
|
+
C({
|
|
1813
1813
|
...e,
|
|
1814
1814
|
initialState: F,
|
|
1815
1815
|
fields: L
|
|
@@ -1840,7 +1840,7 @@ var sn = (e) => {
|
|
|
1840
1840
|
onActionError: _,
|
|
1841
1841
|
onAttributeChange: v,
|
|
1842
1842
|
onReorder: y,
|
|
1843
|
-
getRowContextMenuActions:
|
|
1843
|
+
getRowContextMenuActions: D
|
|
1844
1844
|
}), q = He({
|
|
1845
1845
|
grouped: G,
|
|
1846
1846
|
settings: H,
|
|
@@ -1849,8 +1849,8 @@ var sn = (e) => {
|
|
|
1849
1849
|
attributes: I,
|
|
1850
1850
|
search: V,
|
|
1851
1851
|
columnTotals: ue ? ce : void 0,
|
|
1852
|
-
getBoardColumnConfig:
|
|
1853
|
-
getRowContextMenuActions:
|
|
1852
|
+
getBoardColumnConfig: E,
|
|
1853
|
+
getRowContextMenuActions: D,
|
|
1854
1854
|
onAttributeChange: v,
|
|
1855
1855
|
onActionError: _,
|
|
1856
1856
|
onRowClick: g
|
|
@@ -1880,7 +1880,7 @@ var sn = (e) => {
|
|
|
1880
1880
|
}), _);
|
|
1881
1881
|
}, t[8] = _, t[9] = v, t[10] = y, t[11] = H, t[12] = re, t[13] = J) : J = t[13];
|
|
1882
1882
|
let pe = J, me;
|
|
1883
|
-
t[14] !== I || t[15] !== h || t[16] !== d || t[17] !== u || t[18] !== f || t[19] !== m || t[20] !== se.length || t[21] !== P || t[22] !== e.itemLabel || t[23] !== n || t[24] !== z || t[25] !== ue || t[26] !== B || t[27] !== r || t[28] !==
|
|
1883
|
+
t[14] !== I || t[15] !== h || t[16] !== d || t[17] !== u || t[18] !== f || t[19] !== m || t[20] !== se.length || t[21] !== P || t[22] !== e.itemLabel || t[23] !== n || t[24] !== z || t[25] !== ue || t[26] !== B || t[27] !== r || t[28] !== k || t[29] !== A || t[30] !== p || t[31] !== W.length ? (me = P ? null : /* @__PURE__ */ Z(an, {
|
|
1884
1884
|
itemLabel: e.itemLabel,
|
|
1885
1885
|
rows: n,
|
|
1886
1886
|
storageKey: r,
|
|
@@ -1894,17 +1894,17 @@ var sn = (e) => {
|
|
|
1894
1894
|
viewsSource: p,
|
|
1895
1895
|
defaultViews: m,
|
|
1896
1896
|
defaultActiveViewId: h,
|
|
1897
|
-
leading:
|
|
1898
|
-
actions:
|
|
1899
|
-
}), t[14] = I, t[15] = h, t[16] = d, t[17] = u, t[18] = f, t[19] = m, t[20] = se.length, t[21] = P, t[22] = e.itemLabel, t[23] = n, t[24] = z, t[25] = ue, t[26] = B, t[27] = r, t[28] =
|
|
1897
|
+
leading: A,
|
|
1898
|
+
actions: k
|
|
1899
|
+
}), t[14] = I, t[15] = h, t[16] = d, t[17] = u, t[18] = f, t[19] = m, t[20] = se.length, t[21] = P, t[22] = e.itemLabel, t[23] = n, t[24] = z, t[25] = ue, t[26] = B, t[27] = r, t[28] = k, t[29] = A, t[30] = p, t[31] = W.length, t[32] = me) : me = t[32];
|
|
1900
1900
|
let Y = n.length, ge = se.length, _e = W.length, ve;
|
|
1901
|
-
t[33] === U ? ve = t[34] : (ve =
|
|
1901
|
+
t[33] === U ? ve = t[34] : (ve = T(U), t[33] = U, t[34] = ve);
|
|
1902
1902
|
let ye;
|
|
1903
1903
|
t[35] === B ? ye = t[36] : (ye = () => B(""), t[35] = B, t[36] = ye);
|
|
1904
1904
|
let $;
|
|
1905
1905
|
t[37] !== P || t[38] !== oe ? ($ = P ? void 0 : () => oe("filter"), t[37] = P, t[38] = oe, t[39] = $) : $ = t[39];
|
|
1906
|
-
let xe =
|
|
1907
|
-
t[40] !== q || t[41] !== l || t[42] !== V || t[43] !== N || t[44] !== o || t[45] !== M || t[46] !== ie || t[47] !== se.length || t[48] !== fe || t[49] !== pe || t[50] !== K || t[51] !==
|
|
1906
|
+
let xe = x && S ? ee : void 0, Se = `${H.columnGrouping}:${H.rowGrouping}`, Ce;
|
|
1907
|
+
t[40] !== q || t[41] !== l || t[42] !== V || t[43] !== N || t[44] !== o || t[45] !== M || t[46] !== ie || t[47] !== se.length || t[48] !== fe || t[49] !== pe || t[50] !== K || t[51] !== w || t[52] !== n.length || t[53] !== j || t[54] !== ae || t[55] !== H.viewMode || t[56] !== ve || t[57] !== ye || t[58] !== $ || t[59] !== xe || t[60] !== Se || t[61] !== W.length ? (Ce = /* @__PURE__ */ Z(vt, {
|
|
1908
1908
|
contentPlaceholder: l,
|
|
1909
1909
|
sourceCount: Y,
|
|
1910
1910
|
filteredCount: ge,
|
|
@@ -1924,17 +1924,17 @@ var sn = (e) => {
|
|
|
1924
1924
|
onBoardMoveItem: fe,
|
|
1925
1925
|
onBoardMoveToGroup: pe,
|
|
1926
1926
|
onCreateRow: xe,
|
|
1927
|
-
onColumnAction:
|
|
1927
|
+
onColumnAction: w,
|
|
1928
1928
|
onListExpandedGroupChange: ae,
|
|
1929
1929
|
listKey: Se
|
|
1930
|
-
}), t[40] = q, t[41] = l, t[42] = V, t[43] = N, t[44] = o, t[45] = M, t[46] = ie, t[47] = se.length, t[48] = fe, t[49] = pe, t[50] = K, t[51] =
|
|
1930
|
+
}), t[40] = q, t[41] = l, t[42] = V, t[43] = N, t[44] = o, t[45] = M, t[46] = ie, t[47] = se.length, t[48] = fe, t[49] = pe, t[50] = K, t[51] = w, t[52] = n.length, t[53] = j, t[54] = ae, t[55] = H.viewMode, t[56] = ve, t[57] = ye, t[58] = $, t[59] = xe, t[60] = Se, t[61] = W.length, t[62] = Ce) : Ce = t[62];
|
|
1931
1931
|
let Te;
|
|
1932
|
-
t[63] !== ne || t[64] !== I || t[65] !== R || t[66] !==
|
|
1932
|
+
t[63] !== ne || t[64] !== I || t[65] !== R || t[66] !== x || t[67] !== U || t[68] !== S || t[69] !== ee || t[70] !== H.columnGrouping || t[71] !== r ? (Te = x && S && R ? /* @__PURE__ */ Z(Yt, {
|
|
1933
1933
|
open: !0,
|
|
1934
1934
|
columnId: R,
|
|
1935
1935
|
columnAttributeId: H.columnGrouping === "none" ? void 0 : H.columnGrouping,
|
|
1936
1936
|
attributes: I,
|
|
1937
|
-
config:
|
|
1937
|
+
config: x,
|
|
1938
1938
|
draftKey: JSON.stringify([
|
|
1939
1939
|
r,
|
|
1940
1940
|
ne,
|
|
@@ -1942,8 +1942,8 @@ var sn = (e) => {
|
|
|
1942
1942
|
]),
|
|
1943
1943
|
filter: U,
|
|
1944
1944
|
onClose: () => ee(null),
|
|
1945
|
-
onSubmit:
|
|
1946
|
-
}) : null, t[63] = ne, t[64] = I, t[65] = R, t[66] =
|
|
1945
|
+
onSubmit: S
|
|
1946
|
+
}) : null, t[63] = ne, t[64] = I, t[65] = R, t[66] = x, t[67] = U, t[68] = S, t[69] = ee, t[70] = H.columnGrouping, t[71] = r, t[72] = Te) : Te = t[72];
|
|
1947
1947
|
let Ee;
|
|
1948
1948
|
return t[73] !== Ce || t[74] !== Te || t[75] !== me ? (Ee = /* @__PURE__ */ Q(he, {
|
|
1949
1949
|
"data-testid": "kanban-renderer",
|
|
@@ -1981,6 +1981,6 @@ function mn(e) {
|
|
|
1981
1981
|
return e.setOpenMenu;
|
|
1982
1982
|
}
|
|
1983
1983
|
//#endregion
|
|
1984
|
-
export {
|
|
1984
|
+
export { f as DEFAULT_KANBAN_RENDERER_SETTINGS, re as DisplayMenu, O as EMPTY_VIEW_FILTER, sn as KanbanRenderer, ot as KanbanRendererBoard, $e as KanbanRendererCard, Yt as KanbanRendererCreateDialog, ht as KanbanRendererList, an as KanbanRendererToolbar, w as NO_GROUPING, ee as buildDisplayPropertyOptions, U as buildFilterCategories, ie as buildGroupingOptions, z as collectDisplayBadges, h as findAttribute, y as getAttributeStringValues, p as getAttributeValue, _ as getEnumOptions, g as isAttributesSource, v as isEnumOptionsSource, oe as renderAttributeBadge, B as renderBadgeListDisplay, en as resolveAttributeOptions, Qt as useKanbanRendererStore, tn as useResolvedAttributes };
|
|
1985
1985
|
|
|
1986
1986
|
//# sourceMappingURL=kanban-renderer.js.map
|