@wrdagency/blockout 1.0.30 → 1.0.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/assets/style20.css +1 -1
  2. package/dist/components/controls/select-control/select.js +47 -44
  3. package/dist/components/data-view/api.d.ts +2 -2
  4. package/dist/components/data-view/api.js +14 -17
  5. package/dist/components/data-view/data/normalize.d.ts +0 -2
  6. package/dist/components/data-view/data/normalize.js +24 -36
  7. package/dist/components/data-view/layouts/grid/group.js +3 -2
  8. package/dist/components/data-view/layouts/kanban/group.js +3 -2
  9. package/dist/components/data-view/layouts/list/group.js +3 -2
  10. package/dist/components/data-view/layouts/table/empty.js +3 -2
  11. package/dist/components/data-view/layouts/table/group.js +3 -2
  12. package/dist/components/data-view/layouts/table/root.js +3 -2
  13. package/dist/components/data-view/layouts/tile/group.js +3 -2
  14. package/dist/components/data-view/parts/controls/index.js +3 -2
  15. package/dist/components/data-view/parts/controls/search.js +3 -2
  16. package/dist/components/data-view/parts/footer/actions.js +43 -62
  17. package/dist/components/data-view/parts/footer/index.js +3 -2
  18. package/dist/components/data-view/parts/footer/selection.js +3 -2
  19. package/dist/components/data-view/parts/view-control/index.js +18 -17
  20. package/dist/components/data-view/root.js +3 -2
  21. package/dist/components/data-view/slots/item/actions.js +20 -34
  22. package/dist/components/data-view/types/actions.d.ts +4 -14
  23. package/dist/components/menu/context.d.ts +7 -0
  24. package/dist/components/menu/context.js +10 -0
  25. package/dist/components/menu/index.d.ts +5 -4
  26. package/dist/components/menu/index.js +19 -17
  27. package/dist/components/menu/item.d.ts +1 -1
  28. package/dist/components/menu/items/action.d.ts +1 -1
  29. package/dist/components/menu/items/action.js +10 -7
  30. package/dist/components/menu/items/submenu.d.ts +1 -1
  31. package/dist/components/menu/items/toggle.d.ts +1 -1
  32. package/dist/components/menu/items/toggle.js +20 -19
  33. package/dist/components/menu/types.d.ts +9 -9
  34. package/dist/types/options.d.ts +1 -0
  35. package/package.json +1 -1
@@ -1 +1 @@
1
- .component-menu__menu-wrapper{z-index:9999!important}.primitive-popover__target{cursor:pointer}.component-menu__window{background-color:var(--blockout__colours__surface--200);border:1px solid var(--blockout__colours__surface--300);border-radius:var(--blockout__radius--lg);box-shadow:0 .175rem .375rem #0000001a;min-width:calc(var(--popover-anchor-width) + 2px);max-height:var(--popover-available-height);overflow-y:auto;padding:.5rem;min-height:40px}.component-menu__item{display:flex;align-items:baseline;gap:.875rem;padding:.375rem .675rem;width:100%;cursor:pointer;transition:background-color .25s ease}.component-menu__item[data-active-item=true]{background-color:var(--blockout__colours__surface--100);border-radius:var(--blockout__radius--md)}.component-menu__item:focus-visible{outline:none}.component-menu__item[data-active-item=true] .component-menu__item__label{color:var(--blockout__colours__surface--950)}.component-menu__item[data-active-item=true] .component-menu__item__description{color:var(--blockout__colours__surface--700)}.component-menu__item[aria-disabled=true] .component-menu__item__label{color:var(--blockout__colours__surface--500)}.component-menu__item[aria-disabled=true] .component-menu__item__description{color:var(--blockout__colours__surface--300)}.component-menu__item__icon{width:1.25rem;height:1.25rem;fill:var(--blockout__colours__surface--400)}.component-menu__window:not(:has(.component-menu__item__icon--pictoral:not(.component-menu__item__icon--empty))) .component-menu__item__icon--pictoral{display:none}.component-menu__item__icon--pictoral{transform:translateY(.25rem)}.component-menu__item__text{flex-grow:1}.component-menu__item__text__header{display:flex;align-items:center;gap:2rem;justify-content:space-between;width:100%}.component-menu__item__text__header+.component-menu__item__description{margin-top:.25rem}.component-menu__item__label{font-weight:500;color:var(--blockout__colours__surface--950);transition:color .25s ease}.component-menu__item__description{font-weight:400;color:var(--blockout__colours__surface--600);font-size:.875rem;padding-right:.375rem;transition:color .25s ease,opacity .25s ease}.component-menu__item--toggle--checked .component-menu__item__icon--checkbox{fill:var(--blockout__colours__surface--950)}.component-menu__separator{margin:.5rem;border-top:1px solid var(--blockout__colours__surface--300);border-bottom:none}
1
+ .component-menu__menu-wrapper{z-index:9999!important}.primitive-popover__target{cursor:pointer}.component-menu__window{background-color:var(--blockout__colours__surface--200);border:1px solid var(--blockout__colours__surface--300);border-radius:var(--blockout__radius--lg);box-shadow:0 .175rem .375rem #0000001a;min-width:calc(var(--popover-anchor-width) + 2px);max-height:var(--popover-available-height);overflow-y:auto;padding:.5rem;min-height:40px}.component-menu__item{display:flex;align-items:baseline;gap:.875rem;padding:.375rem 1.375rem .375rem .675rem;width:100%;cursor:pointer;transition:background-color .25s ease}.component-menu__item[data-active-item=true]{background-color:var(--blockout__colours__surface--100);border-radius:var(--blockout__radius--md)}.component-menu__item:focus-visible{outline:none}.component-menu__item[data-active-item=true] .component-menu__item__label{color:var(--blockout__colours__surface--950)}.component-menu__item[data-active-item=true] .component-menu__item__description{color:var(--blockout__colours__surface--700)}.component-menu__item[aria-disabled=true] .component-menu__item__label{color:var(--blockout__colours__surface--500)}.component-menu__item[aria-disabled=true] .component-menu__item__description{color:var(--blockout__colours__surface--300)}.component-menu__item__icon{width:1.25rem;height:1.25rem;fill:var(--blockout__colours__surface--500)}.component-menu__window:not(:has(.component-menu__item__icon--pictoral:not(.component-menu__item__icon--empty))) .component-menu__item__icon--pictoral{display:none}.component-menu__item__icon--pictoral{transform:translateY(.25rem);margin-left:-.25rem}.component-menu__item__text{flex-grow:1}.component-menu__item__text__header{display:flex;align-items:center;gap:2rem;justify-content:space-between;width:100%}.component-menu__item__text__header+.component-menu__item__description{margin-top:.25rem}.component-menu__item__label{font-weight:500;color:var(--blockout__colours__surface--950);transition:color .25s ease}.component-menu__item__description{font-weight:400;color:var(--blockout__colours__surface--600);font-size:.875rem;padding-right:.375rem;transition:color .25s ease,opacity .25s ease}.component-menu__item--toggle--checked .component-menu__item__icon--checkbox{fill:var(--blockout__colours__surface--950)}.component-menu__separator{margin:.5rem;border-top:1px solid var(--blockout__colours__surface--300);border-bottom:none}
@@ -1,71 +1,74 @@
1
1
  import { jsx as s, jsxs as r } from "react/jsx-runtime";
2
- import { cn as x } from "../../../utils/css.js";
2
+ import { cn as j } from "../../../utils/css.js";
3
3
  import '../../../assets/style16.css';import '../../../assets/styles.css';import '../../../assets/style6.css';import '../../../assets/style5.css';import '../../../assets/style4.css';import '../../../assets/style3.css';import '../../../assets/style2.css';import '../../../assets/style.css';import '../../../assets/style10.css';import '../../../assets/style7.css';/* empty css */
4
- import { noop as j } from "../../../utils/noop.js";
5
- import { useState as h, useMemo as y, startTransition as g } from "react";
4
+ import { noop as y } from "../../../utils/noop.js";
5
+ import { useState as h, useMemo as g, startTransition as k } from "react";
6
6
  /* empty css */
7
7
  /* empty css */
8
8
  /* empty css */
9
9
  import "../../../primitives/popover/index.js";
10
10
  /* empty css */
11
- import { ScrollArea as k } from "../../../primitives/scroll-area/index.js";
11
+ import { ScrollArea as z } from "../../../primitives/scroll-area/index.js";
12
12
  import "../../../primitives/symbol/index.js";
13
13
  /* empty css */
14
14
  /* empty css */
15
15
  /* empty css */
16
16
  /* empty css */
17
- import { normalizeOptions as z, findOption as A } from "../../../types/options.js";
18
- import { s as H } from "../../../MagnifyingGlass.es-CLstwG_v.js";
19
- import { m as M } from "../../../match-sorter.esm-MNVE8H_6.js";
17
+ import { normalizeOptions as A, findOption as H } from "../../../types/options.js";
18
+ import { s as M } from "../../../MagnifyingGlass.es-CLstwG_v.js";
19
+ import { m as T } from "../../../match-sorter.esm-MNVE8H_6.js";
20
20
  /* empty css */
21
- import { C as T, a as f, b as $ } from "../../../MAXQOH4L-BYWBWXpb.js";
22
- import { S as q, a as B, b as D, c as E, d as F, e as J, f as K } from "../../../select-popover-CGgkyRb4.js";
23
- import { C as Q } from "../../../combobox-popover-BZ_1wNrj.js";
24
- import { C as R, a as U } from "../../../combobox-group-hNvv1WJm.js";
21
+ import { C as $, a as f, b as q } from "../../../MAXQOH4L-BYWBWXpb.js";
22
+ import { S as B, a as D, b as E, c as F, d as J, e as K, f as Q } from "../../../select-popover-CGgkyRb4.js";
23
+ import { C as R } from "../../../combobox-popover-BZ_1wNrj.js";
24
+ import { C as U, a as W } from "../../../combobox-group-hNvv1WJm.js";
25
25
  import { C as u } from "../../../JMHAJKUZ-D5KCN1Aj.js";
26
- const be = ({
26
+ const Ie = ({
27
27
  className: v,
28
28
  value: i,
29
- onChangeValue: a = j,
29
+ onChangeValue: c = y,
30
30
  options: S = [],
31
31
  searchable: l = !1,
32
32
  combobox: e = !1,
33
33
  placeholder: N = "Choose an option...",
34
- prefix: W,
35
- suffix: X,
34
+ prefix: X,
35
+ suffix: Y,
36
36
  children: C,
37
- withIcon: Y,
37
+ withIcon: Z,
38
38
  ...O
39
39
  }) => {
40
40
  e && (l = !0);
41
- const [n, p] = h(!1), [c, P] = h(""), m = z(S), _ = y(() => M(m, c, {
42
- baseSort: (o, t) => o.index < t.index ? -1 : 1,
43
- keys: ["label", "description"]
44
- }), [c]), L = l || e ? $ : E, w = e ? u : K, G = e ? f : B, b = e ? Q : D, I = e ? R : F, V = e ? U : J, d = !!!A(m, i);
41
+ const [a, p] = h(!1), [n, P] = h(""), m = A(S), _ = g(() => m.map((t) => ({
42
+ ...t,
43
+ items: T(t.items, n, {
44
+ baseSort: (o, x) => o.index < x.index ? -1 : 1,
45
+ keys: ["label", "description", "aliases"]
46
+ })
47
+ })), [n]), L = l || e ? q : F, w = e ? u : Q, G = e ? f : D, b = e ? R : E, I = e ? U : J, V = e ? W : K, d = !!!H(m, i);
45
48
  return /* @__PURE__ */ s(
46
- T,
49
+ $,
47
50
  {
48
51
  resetValueOnHide: !e,
49
- open: n,
52
+ open: a,
50
53
  setOpen: p,
51
- value: e ? i : c,
52
- setValue: (o) => {
53
- e && a(o), g(() => {
54
- P(o);
54
+ value: e ? i : n,
55
+ setValue: (t) => {
56
+ e && c(t), k(() => {
57
+ P(t);
55
58
  });
56
59
  },
57
60
  children: /* @__PURE__ */ r(
58
- q,
61
+ B,
59
62
  {
60
63
  value: d ? "" : i,
61
- setValue: a,
62
- open: n,
64
+ setValue: c,
65
+ open: a,
63
66
  setOpen: p,
64
67
  children: [
65
68
  /* @__PURE__ */ s(
66
69
  G,
67
70
  {
68
- className: x(
71
+ className: j(
69
72
  v,
70
73
  "component-select__input",
71
74
  d && "component-select__input--placeholder"
@@ -75,7 +78,7 @@ const be = ({
75
78
  ...O
76
79
  }
77
80
  ),
78
- n && _.length > 0 && /* @__PURE__ */ s(
81
+ a && _.length > 0 && /* @__PURE__ */ s(
79
82
  b,
80
83
  {
81
84
  className: "component-select__popover",
@@ -87,9 +90,9 @@ const be = ({
87
90
  gutter: 8,
88
91
  overflowPadding: 4,
89
92
  shift: -1,
90
- children: /* @__PURE__ */ r(k, { className: "component-select__popover__scroll", axis: "y", children: [
93
+ children: /* @__PURE__ */ r(z, { className: "component-select__popover__scroll", axis: "y", children: [
91
94
  l && !e && /* @__PURE__ */ r("div", { className: "component-select__popover__search-wrapper", children: [
92
- /* @__PURE__ */ s(H, { className: "component-select__popover__search-icon" }),
95
+ /* @__PURE__ */ s(M, { className: "component-select__popover__search-icon" }),
93
96
  /* @__PURE__ */ s(
94
97
  f,
95
98
  {
@@ -99,32 +102,32 @@ const be = ({
99
102
  }
100
103
  )
101
104
  ] }),
102
- /* @__PURE__ */ s(L, { className: "component-select__list", children: _.map((o) => /* @__PURE__ */ r(
105
+ /* @__PURE__ */ s(L, { className: "component-select__list", children: _.filter((t) => t.items.length > 0).map((t) => /* @__PURE__ */ r(
103
106
  I,
104
107
  {
105
108
  className: "component-select__list__group",
106
109
  children: [
107
- o.label && /* @__PURE__ */ s(V, { className: "component-select__list__group__label", children: o.label }),
108
- o.items.map((t) => /* @__PURE__ */ r(
110
+ t.label && /* @__PURE__ */ s(V, { className: "component-select__list__group__label", children: t.label }),
111
+ t.items.map((o) => /* @__PURE__ */ r(
109
112
  w,
110
113
  {
111
- disabled: t.disabled,
112
- value: t.value,
114
+ disabled: o.disabled,
115
+ value: o.value,
113
116
  className: "component-select__option",
114
117
  render: /* @__PURE__ */ s(u, {}),
115
118
  children: [
116
119
  /* @__PURE__ */ r("div", { className: "component-select__option__label", children: [
117
- t.icon,
118
- t.label
120
+ o.icon,
121
+ o.label
119
122
  ] }),
120
- t.description && /* @__PURE__ */ s("div", { className: "component-select__option__description", children: t.description })
123
+ o.description && /* @__PURE__ */ s("div", { className: "component-select__option__description", children: o.description })
121
124
  ]
122
125
  },
123
- t.value
126
+ o.value
124
127
  ))
125
128
  ]
126
129
  },
127
- o.label
130
+ t.label
128
131
  )) })
129
132
  ] })
130
133
  }
@@ -136,5 +139,5 @@ const be = ({
136
139
  );
137
140
  };
138
141
  export {
139
- be as Select
142
+ Ie as Select
140
143
  };
@@ -1,12 +1,12 @@
1
1
  import { Field, PartialField, PartialView, View } from './types';
2
- import { Action, PartialAction } from './types/actions';
2
+ import { Action } from './types/actions';
3
3
  import { HierarchyDefinition } from './types/hierarchy';
4
4
  export declare function useSchema<TData extends object = object>(schema: PartialSchema<TData>): Schema<TData>;
5
5
  export type PartialSchema<TData extends object = object> = {
6
6
  primaryKey: keyof TData;
7
7
  fields: PartialField<TData>[];
8
8
  hierarchy?: HierarchyDefinition<TData>;
9
- actions?: PartialAction<TData>[];
9
+ actions?: Action<TData>[];
10
10
  };
11
11
  export type Schema<TData extends object = object> = {
12
12
  primaryKey: keyof TData;
@@ -1,31 +1,28 @@
1
1
  import { u as a } from "../../index-D7vLJIGX.js";
2
- import { useMemo as s, useState as l } from "react";
3
- import { normalizeField as u, normalizeAction as c, normalizeView as f } from "./data/normalize.js";
4
- function d(i) {
5
- const e = s(
2
+ import { useMemo as r, useState as l } from "react";
3
+ import { normalizeField as u, normalizeView as f } from "./data/normalize.js";
4
+ function p(i) {
5
+ const e = r(
6
6
  () => i.fields.map(u),
7
7
  [i.fields]
8
- ), t = s(
9
- () => (i.actions || []).map(c),
10
- [i.actions]
11
8
  );
12
9
  return {
13
10
  ...i,
14
- actions: t,
11
+ actions: i.actions || [],
15
12
  fields: e
16
13
  };
17
14
  }
18
- function V(i = {}) {
19
- const { initial: e = {}, saveKey: t } = i, r = s(() => f(e), [e]);
20
- if (t) {
21
- const [o, n] = a(t, r);
22
- return { view: o, setView: n };
15
+ function d(i = {}) {
16
+ const { initial: e = {}, saveKey: n } = i, s = r(() => f(e), [e]);
17
+ if (n) {
18
+ const [t, o] = a(n, s);
19
+ return { view: t, setView: o };
23
20
  } else {
24
- const [o, n] = l(r);
25
- return { view: o, setView: n };
21
+ const [t, o] = l(s);
22
+ return { view: t, setView: o };
26
23
  }
27
24
  }
28
25
  export {
29
- d as useSchema,
30
- V as useView
26
+ p as useSchema,
27
+ d as useView
31
28
  };
@@ -1,5 +1,3 @@
1
1
  import { Field, PartialField, PartialView, View } from '../types';
2
- import { Action, PartialAction } from '../types/actions';
3
2
  export declare function normalizeField<TItem extends object = object, TType extends any = any>(field: PartialField<TItem, TType>): Field<TItem, TType>;
4
3
  export declare function normalizeView(view: PartialView): View;
5
- export declare function normalizeAction<TItem extends object = object>(action: PartialAction<TItem>): Action<TItem>;
@@ -1,44 +1,44 @@
1
- import { normalizeOption as a } from "../../../types/options.js";
2
- import { dot as n } from "../../../utils/object.js";
3
- function p(e) {
4
- var t;
1
+ import { normalizeOption as i } from "../../../types/options.js";
2
+ import { dot as s } from "../../../utils/object.js";
3
+ function p(r) {
4
+ var l;
5
5
  return {
6
- id: e.id,
7
- getValue: e.getValue || ((r) => n(r, e.id)),
8
- elements: ((t = e.elements) == null ? void 0 : t.map(a)) || [],
6
+ id: r.id,
7
+ getValue: r.getValue || ((e) => s(e, r.id)),
8
+ elements: ((l = r.elements) == null ? void 0 : l.map(i)) || [],
9
9
  display: {
10
- label: e.id,
10
+ label: r.id,
11
11
  hideable: !0,
12
12
  placement: "property",
13
- header: ({ field: r }) => {
14
- var i;
15
- return ((i = r.display) == null ? void 0 : i.label) || r.id || "";
13
+ header: ({ field: e }) => {
14
+ var t;
15
+ return ((t = e.display) == null ? void 0 : t.label) || e.id || "";
16
16
  },
17
- cell: ({ item: r, field: i }) => String(i.getValue(r)),
18
- ...e.display
17
+ cell: ({ item: e, field: t }) => String(t.getValue(e)),
18
+ ...r.display
19
19
  },
20
20
  editing: {
21
21
  editable: !1,
22
22
  editFn: console.log,
23
- ...e.editing
23
+ ...r.editing
24
24
  },
25
25
  sorting: {
26
26
  sortable: !0,
27
- sortFn: (r, i, l) => r < i ? l === "asc" ? -1 : 1 : r > i ? l === "asc" ? 1 : -1 : 0,
27
+ sortFn: (e, t, a) => e < t ? a === "asc" ? -1 : 1 : e > t ? a === "asc" ? 1 : -1 : 0,
28
28
  groupable: !1,
29
- groupFn: (r) => Array.isArray(r) ? r.map(String) : String(r),
30
- labelFn: (r) => String(r),
31
- ...e.sorting
29
+ groupFn: (e) => Array.isArray(e) ? e.map(String) : String(e),
30
+ labelFn: (e) => String(e),
31
+ ...r.sorting
32
32
  },
33
33
  filtering: {
34
34
  searchable: !1,
35
35
  filterable: !1,
36
36
  types: [],
37
- ...e.filtering
37
+ ...r.filtering
38
38
  }
39
39
  };
40
40
  }
41
- function u(e) {
41
+ function g(r) {
42
42
  return {
43
43
  layout: "table",
44
44
  groupBy: !1,
@@ -50,27 +50,15 @@ function u(e) {
50
50
  sortOrder: "asc",
51
51
  search: "",
52
52
  filters: [],
53
- ...e,
54
- fields: (e.fields || []).map((t) => ({
55
- id: t,
53
+ ...r,
54
+ fields: (r.fields || []).map((l) => ({
55
+ id: l,
56
56
  visible: !0
57
57
  })),
58
58
  relationships: "full"
59
59
  };
60
60
  }
61
- function g(e) {
62
- return {
63
- label: e.id,
64
- icon: void 0,
65
- variant: "primary",
66
- disabled: !1,
67
- singleFn: void 0,
68
- bulkFn: void 0,
69
- ...e
70
- };
71
- }
72
61
  export {
73
- g as normalizeAction,
74
62
  p as normalizeField,
75
- u as normalizeView
63
+ g as normalizeView
76
64
  };
@@ -2,6 +2,7 @@ import { jsxs as i, jsx as r } from "react/jsx-runtime";
2
2
  import { G as o } from "../../../../index-BLCPauyN.js";
3
3
  import "react";
4
4
  import "../../../button/index.js";
5
+ import "../../../menu/context.js";
5
6
  import '../../../../assets/style21.css';import '../../../../assets/style26.css';import '../../../../assets/styles3.css';import '../../../../assets/style18.css';import '../../../../assets/style17.css';import '../../../../assets/styles5.css';import '../../../../assets/styles4.css';import '../../../../assets/style16.css';import '../../../../assets/style19.css';import '../../../../assets/style15.css';import '../../../../assets/style14.css';import '../../../../assets/style13.css';import '../../../../assets/prosemirror.css';import '../../../../assets/style12.css';import '../../../../assets/style11.css';import '../../../../assets/style9.css';import '../../../../assets/styles.css';import '../../../../assets/style6.css';import '../../../../assets/style5.css';import '../../../../assets/style4.css';import '../../../../assets/style3.css';import '../../../../assets/style2.css';import '../../../../assets/style.css';import '../../../../assets/style10.css';import '../../../../assets/style7.css';import '../../../../assets/style8.css';import '../../../../assets/styles2.css';import '../../../../assets/style20.css';/* empty css */
6
7
  /* empty css */
7
8
  import "../../../../style-CWAa57kN.js";
@@ -43,7 +44,7 @@ import "../../slots/property/context.js";
43
44
  /* empty css */
44
45
  import "../../../tag/index.js";
45
46
  /* empty css */
46
- const W = ({ children: t }) => /* @__PURE__ */ i("div", { className: "data-view-layout-grid__group", children: [
47
+ const X = ({ children: t }) => /* @__PURE__ */ i("div", { className: "data-view-layout-grid__group", children: [
47
48
  /* @__PURE__ */ i(o.Header, { className: "data-view-layout-grid__group__header", children: [
48
49
  /* @__PURE__ */ r(o.Checkbox, {}),
49
50
  /* @__PURE__ */ i("h2", { className: "data-view-layout-grid__group__heading", children: [
@@ -54,5 +55,5 @@ const W = ({ children: t }) => /* @__PURE__ */ i("div", { className: "data-view-
54
55
  /* @__PURE__ */ r("div", { className: "data-view-layout-grid__group__grid", children: t })
55
56
  ] });
56
57
  export {
57
- W as Group
58
+ X as Group
58
59
  };
@@ -2,6 +2,7 @@ import { jsxs as t, jsx as o } from "react/jsx-runtime";
2
2
  import { G as r } from "../../../../index-BLCPauyN.js";
3
3
  import "react";
4
4
  import "../../../button/index.js";
5
+ import "../../../menu/context.js";
5
6
  import '../../../../assets/style22.css';import '../../../../assets/style26.css';import '../../../../assets/styles3.css';import '../../../../assets/style18.css';import '../../../../assets/style17.css';import '../../../../assets/styles5.css';import '../../../../assets/styles4.css';import '../../../../assets/style16.css';import '../../../../assets/style19.css';import '../../../../assets/style15.css';import '../../../../assets/style14.css';import '../../../../assets/style13.css';import '../../../../assets/prosemirror.css';import '../../../../assets/style12.css';import '../../../../assets/style11.css';import '../../../../assets/style9.css';import '../../../../assets/styles.css';import '../../../../assets/style6.css';import '../../../../assets/style5.css';import '../../../../assets/style4.css';import '../../../../assets/style3.css';import '../../../../assets/style2.css';import '../../../../assets/style.css';import '../../../../assets/style10.css';import '../../../../assets/style7.css';import '../../../../assets/style8.css';import '../../../../assets/styles2.css';import '../../../../assets/style20.css';/* empty css */
6
7
  /* empty css */
7
8
  import "../../../../style-CWAa57kN.js";
@@ -43,7 +44,7 @@ import "../../slots/property/context.js";
43
44
  /* empty css */
44
45
  import "../../../tag/index.js";
45
46
  /* empty css */
46
- const W = ({ children: i }) => /* @__PURE__ */ t("div", { className: "data-view-layout-kanban__group", children: [
47
+ const X = ({ children: i }) => /* @__PURE__ */ t("div", { className: "data-view-layout-kanban__group", children: [
47
48
  /* @__PURE__ */ t(r.Header, { className: "data-view-layout-kanban__group__header", children: [
48
49
  /* @__PURE__ */ o(r.Checkbox, { className: "data-view-layout-kanban__group__checkbox" }),
49
50
  /* @__PURE__ */ t("h2", { className: "data-view-layout-kanban__group__heading", children: [
@@ -54,5 +55,5 @@ const W = ({ children: i }) => /* @__PURE__ */ t("div", { className: "data-view-
54
55
  /* @__PURE__ */ o("ul", { className: "data-view-layout-kanban__group__list", children: i })
55
56
  ] });
56
57
  export {
57
- W as Group
58
+ X as Group
58
59
  };
@@ -2,6 +2,7 @@ import { jsxs as i, jsx as o } from "react/jsx-runtime";
2
2
  import { G as t } from "../../../../index-BLCPauyN.js";
3
3
  import "react";
4
4
  import "../../../button/index.js";
5
+ import "../../../menu/context.js";
5
6
  import '../../../../assets/style23.css';import '../../../../assets/style26.css';import '../../../../assets/styles3.css';import '../../../../assets/style18.css';import '../../../../assets/style17.css';import '../../../../assets/styles5.css';import '../../../../assets/styles4.css';import '../../../../assets/style16.css';import '../../../../assets/style19.css';import '../../../../assets/style15.css';import '../../../../assets/style14.css';import '../../../../assets/style13.css';import '../../../../assets/prosemirror.css';import '../../../../assets/style12.css';import '../../../../assets/style11.css';import '../../../../assets/style9.css';import '../../../../assets/styles.css';import '../../../../assets/style6.css';import '../../../../assets/style5.css';import '../../../../assets/style4.css';import '../../../../assets/style3.css';import '../../../../assets/style2.css';import '../../../../assets/style.css';import '../../../../assets/style10.css';import '../../../../assets/style7.css';import '../../../../assets/style8.css';import '../../../../assets/styles2.css';import '../../../../assets/style20.css';/* empty css */
6
7
  /* empty css */
7
8
  import "../../../../style-CWAa57kN.js";
@@ -43,7 +44,7 @@ import "../../slots/property/context.js";
43
44
  /* empty css */
44
45
  import "../../../tag/index.js";
45
46
  /* empty css */
46
- const W = ({ children: r }) => /* @__PURE__ */ i("div", { className: "data-view-layout-list__group", children: [
47
+ const X = ({ children: r }) => /* @__PURE__ */ i("div", { className: "data-view-layout-list__group", children: [
47
48
  /* @__PURE__ */ i(t.Header, { className: "data-view-layout-list__group__header", children: [
48
49
  /* @__PURE__ */ o(t.Checkbox, { className: "data-view-layout-list__group__checkbox" }),
49
50
  /* @__PURE__ */ i("h2", { className: "data-view-layout-list__group__heading", children: [
@@ -54,5 +55,5 @@ const W = ({ children: r }) => /* @__PURE__ */ i("div", { className: "data-view-
54
55
  /* @__PURE__ */ o("div", { className: "data-view-layout-list__group__list", children: r })
55
56
  ] });
56
57
  export {
57
- W as Group
58
+ X as Group
58
59
  };
@@ -37,13 +37,14 @@ import "../../../../match-sorter.esm-MNVE8H_6.js";
37
37
  /* empty css */
38
38
  import { R as i } from "../../../../index-CLl-PPjx.js";
39
39
  import "../../slots/group/context.js";
40
+ import "../../../menu/context.js";
40
41
  /* empty css */
41
42
  import "../../slots/item/context.js";
42
43
  import "../../slots/property/context.js";
43
44
  /* empty css */
44
45
  import "../../../tag/index.js";
45
46
  /* empty css */
46
- const Y = () => {
47
+ const Z = () => {
47
48
  const { selection: m, placements: t } = i.use(), r = t.property.length + (t.thumbnail ? 1 : 0) + 1;
48
49
  return /* @__PURE__ */ p("tr", { className: "data-view-layout-table__empty", children: [
49
50
  m && /* @__PURE__ */ o("td", {}),
@@ -51,5 +52,5 @@ const Y = () => {
51
52
  ] });
52
53
  };
53
54
  export {
54
- Y as Empty
55
+ Z as Empty
55
56
  };
@@ -2,6 +2,7 @@ import { jsxs as i, jsx as t } from "react/jsx-runtime";
2
2
  import { G as r } from "../../../../index-BLCPauyN.js";
3
3
  import "react";
4
4
  import "../../../button/index.js";
5
+ import "../../../menu/context.js";
5
6
  import '../../../../assets/style24.css';import '../../../../assets/style26.css';import '../../../../assets/styles3.css';import '../../../../assets/style18.css';import '../../../../assets/style17.css';import '../../../../assets/styles5.css';import '../../../../assets/styles4.css';import '../../../../assets/style16.css';import '../../../../assets/style19.css';import '../../../../assets/style15.css';import '../../../../assets/style14.css';import '../../../../assets/style13.css';import '../../../../assets/prosemirror.css';import '../../../../assets/style12.css';import '../../../../assets/style11.css';import '../../../../assets/style9.css';import '../../../../assets/styles.css';import '../../../../assets/style6.css';import '../../../../assets/style5.css';import '../../../../assets/style4.css';import '../../../../assets/style3.css';import '../../../../assets/style2.css';import '../../../../assets/style.css';import '../../../../assets/style10.css';import '../../../../assets/style7.css';import '../../../../assets/style8.css';import '../../../../assets/styles2.css';import '../../../../assets/style20.css';/* empty css */
6
7
  import { R as e } from "../../../../index-CLl-PPjx.js";
7
8
  import "../../slots/item/context.js";
@@ -43,7 +44,7 @@ import "../../slots/property/context.js";
43
44
  /* empty css */
44
45
  import "../../../tag/index.js";
45
46
  /* empty css */
46
- const $ = ({ children: p }) => {
47
+ const oo = ({ children: p }) => {
47
48
  const { placements: m, selection: o } = e.use(), a = m.property.length + (m.thumbnail ? 1 : 0) + ((o == null ? void 0 : o.mode) === "single" ? 1 : 0) + 2;
48
49
  return /* @__PURE__ */ i("tbody", { className: "data-view-layout-table__group", children: [
49
50
  /* @__PURE__ */ i(
@@ -71,5 +72,5 @@ const $ = ({ children: p }) => {
71
72
  ] });
72
73
  };
73
74
  export {
74
- $ as Group
75
+ oo as Group
75
76
  };
@@ -39,6 +39,7 @@ import "../../../../match-sorter.esm-MNVE8H_6.js";
39
39
  /* empty css */
40
40
  import { R as n } from "../../../../index-CLl-PPjx.js";
41
41
  import "../../slots/group/context.js";
42
+ import "../../../menu/context.js";
42
43
  /* empty css */
43
44
  import "../../slots/item/context.js";
44
45
  import "../../slots/property/context.js";
@@ -99,7 +100,7 @@ const u = /* @__PURE__ */ new Map([
99
100
  ]
100
101
  ]), d = e.forwardRef((l, a) => /* @__PURE__ */ e.createElement(p, { ref: a, ...l, weights: u }));
101
102
  d.displayName = "ArrowUpIcon";
102
- const i0 = ({ children: l }) => {
103
+ const n0 = ({ children: l }) => {
103
104
  const { placements: a, selection: m, view: i } = n.use();
104
105
  return /* @__PURE__ */ t(
105
106
  "div",
@@ -131,5 +132,5 @@ const i0 = ({ children: l }) => {
131
132
  );
132
133
  };
133
134
  export {
134
- i0 as Root
135
+ n0 as Root
135
136
  };
@@ -2,6 +2,7 @@ import { jsxs as r, jsx as o } from "react/jsx-runtime";
2
2
  import { G as t } from "../../../../index-BLCPauyN.js";
3
3
  import "react";
4
4
  import "../../../button/index.js";
5
+ import "../../../menu/context.js";
5
6
  import '../../../../assets/style25.css';import '../../../../assets/style26.css';import '../../../../assets/styles3.css';import '../../../../assets/style18.css';import '../../../../assets/style17.css';import '../../../../assets/styles5.css';import '../../../../assets/styles4.css';import '../../../../assets/style16.css';import '../../../../assets/style19.css';import '../../../../assets/style15.css';import '../../../../assets/style14.css';import '../../../../assets/style13.css';import '../../../../assets/prosemirror.css';import '../../../../assets/style12.css';import '../../../../assets/style11.css';import '../../../../assets/style9.css';import '../../../../assets/styles.css';import '../../../../assets/style6.css';import '../../../../assets/style5.css';import '../../../../assets/style4.css';import '../../../../assets/style3.css';import '../../../../assets/style2.css';import '../../../../assets/style.css';import '../../../../assets/style10.css';import '../../../../assets/style7.css';import '../../../../assets/style8.css';import '../../../../assets/styles2.css';import '../../../../assets/style20.css';/* empty css */
6
7
  /* empty css */
7
8
  import "../../../../style-CWAa57kN.js";
@@ -43,7 +44,7 @@ import "../../slots/property/context.js";
43
44
  /* empty css */
44
45
  import "../../../tag/index.js";
45
46
  /* empty css */
46
- const W = ({ children: i }) => /* @__PURE__ */ r("div", { className: "data-view-layout-tile__group", children: [
47
+ const X = ({ children: i }) => /* @__PURE__ */ r("div", { className: "data-view-layout-tile__group", children: [
47
48
  /* @__PURE__ */ r(t.Header, { className: "data-view-layout-tile__group__header", children: [
48
49
  /* @__PURE__ */ o(t.Checkbox, {}),
49
50
  /* @__PURE__ */ r("h2", { className: "data-view-layout-tile__group__heading", children: [
@@ -54,5 +55,5 @@ const W = ({ children: i }) => /* @__PURE__ */ r("div", { className: "data-view-
54
55
  /* @__PURE__ */ o("div", { className: "data-view-layout-tile__group__items", children: i })
55
56
  ] });
56
57
  export {
57
- W as Group
58
+ X as Group
58
59
  };
@@ -42,6 +42,7 @@ import "../../../../match-sorter.esm-MNVE8H_6.js";
42
42
  /* empty css */
43
43
  import { R as _ } from "../../../../index-CLl-PPjx.js";
44
44
  import "../../slots/group/context.js";
45
+ import "../../../menu/context.js";
45
46
  /* empty css */
46
47
  import "../../slots/item/context.js";
47
48
  import "../../slots/property/context.js";
@@ -83,7 +84,7 @@ const F = /* @__PURE__ */ new Map([
83
84
  ]
84
85
  ]), s = t.forwardRef((o, r) => /* @__PURE__ */ t.createElement(w, { ref: r, ...o, weights: F }));
85
86
  s.displayName = "FunnelIcon";
86
- const E1 = ({ children: o }) => {
87
+ const Z1 = ({ children: o }) => {
87
88
  const { view: r, fields: c, setView: d, hide: a } = _.use(), [n, A] = g(r.filters.length > 0), h = (l) => {
88
89
  d({ ...r, filters: l });
89
90
  }, f = v(
@@ -136,5 +137,5 @@ const E1 = ({ children: o }) => {
136
137
  ] });
137
138
  };
138
139
  export {
139
- E1 as Controls
140
+ Z1 as Controls
140
141
  };
@@ -39,12 +39,13 @@ import { TextControl as c } from "../../../controls/text-control/index.js";
39
39
  /* empty css */
40
40
  import { R as l } from "../../../../index-CLl-PPjx.js";
41
41
  import "../../slots/group/context.js";
42
+ import "../../../menu/context.js";
42
43
  /* empty css */
43
44
  import "../../slots/item/context.js";
44
45
  import "../../slots/property/context.js";
45
46
  /* empty css */
46
47
  import "../../../tag/index.js";
47
- const ir = ({}) => {
48
+ const mr = ({}) => {
48
49
  const { view: r, setView: t } = l.use(), i = (p) => {
49
50
  t({ ...r, search: p });
50
51
  }, m = () => {
@@ -74,5 +75,5 @@ const ir = ({}) => {
74
75
  );
75
76
  };
76
77
  export {
77
- ir as Search
78
+ mr as Search
78
79
  };