@code0-tech/pictor 0.0.0-mvp.31 → 0.0.0-mvp.32

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 (134) hide show
  1. package/dist/components/avatar/Avatar.js +7 -7
  2. package/dist/components/breadcrumb/Breadcrumb.js +4 -4
  3. package/dist/components/button/Button.js +8 -8
  4. package/dist/components/context-menu/ContextMenu.js +131 -131
  5. package/dist/components/d-flow/DFlow.edges.hook.js +22 -22
  6. package/dist/components/d-flow/DFlow.js +32 -32
  7. package/dist/components/d-flow/DFlow.nodes.hook.js +8 -8
  8. package/dist/components/d-flow-file/DFlowTabDefault.js +16 -16
  9. package/dist/components/d-flow-folder/DFlowFolder.js +13 -13
  10. package/dist/components/d-flow-folder/DFlowFolderContextMenu.js +5 -5
  11. package/dist/components/d-flow-folder/DFlowFolderCreateDialog.js +13 -13
  12. package/dist/components/d-flow-folder/DFlowFolderDeleteDialog.js +5 -5
  13. package/dist/components/d-flow-folder/DFlowFolderRenameDialog.js +11 -11
  14. package/dist/components/d-flow-function/DFlowFunctionDefaultCard.js +7 -7
  15. package/dist/components/d-flow-function/DFlowFunctionSuggestionCard.js +9 -9
  16. package/dist/components/d-flow-function/DFlowFunctionTriggerCard.js +12 -12
  17. package/dist/components/d-flow-input/DFlowInputDataType.js +16 -16
  18. package/dist/components/d-flow-input/DFlowInputNodeBadge.js +8 -8
  19. package/dist/components/d-flow-input/DFlowInputReferenceBadge.js +4 -4
  20. package/dist/components/d-flow-panel/DFlowExport.js +5 -5
  21. package/dist/components/d-flow-panel/DFlowPanelControl.js +4 -4
  22. package/dist/components/d-flow-suggestion/DFlowFunctionSuggestions.hook.js +4 -4
  23. package/dist/components/d-flow-suggestion/DFlowSuggestion.hook.js +7 -7
  24. package/dist/components/d-flow-suggestion/DFlowSuggestionMenu.js +12 -12
  25. package/dist/components/d-flow-suggestion/DFlowSuggestionSearchInput.js +5 -5
  26. package/dist/components/d-flow-suggestion/DFlowValueSuggestions.hook.js +4 -4
  27. package/dist/components/d-flow-validation/DNodeValidation.hook.js +3 -3
  28. package/dist/components/d-fullscreen/DFullScreen.js +2 -2
  29. package/dist/components/d-member/DNamespaceMemberList.js +5 -5
  30. package/dist/components/d-organization/DOrganizationList.js +7 -7
  31. package/dist/components/d-organization/DOrganizationMenu.js +5 -5
  32. package/dist/components/d-organization/DOrganizatonContent.js +22 -22
  33. package/dist/components/d-project/DNamespaceProjectContent.js +6 -6
  34. package/dist/components/d-project/DNamespaceProjectList.js +5 -5
  35. package/dist/components/d-project/DNamespaceProjectMenu.js +2 -2
  36. package/dist/components/d-role/DNamespaceRolePermissions.js +5 -5
  37. package/dist/components/d-runtime/DRuntimeList.js +7 -7
  38. package/dist/components/d-user/DUser.session.hook.js +2 -2
  39. package/dist/components/d-user/DUserContent.js +13 -13
  40. package/dist/components/d-user/DUserList.js +9 -9
  41. package/dist/components/form/CheckboxInput.js +4 -4
  42. package/dist/components/form/EmailInput.js +9 -9
  43. package/dist/components/form/Input.js +311 -230
  44. package/dist/components/form/Input.utils.js +1 -1
  45. package/dist/components/form/InputContentEditable.hook.d.ts +14 -2
  46. package/dist/components/form/InputContentEditable.hook.js +296 -317
  47. package/dist/components/form/NumberInput.js +9 -9
  48. package/dist/components/form/PasswordInput.js +2 -2
  49. package/dist/components/form/SwitchInput.js +7 -7
  50. package/dist/components/form/TextInput.js +6 -6
  51. package/dist/node_modules/react/cjs/react-compiler-runtime.development.js +2 -2
  52. package/dist/node_modules/react/cjs/react-compiler-runtime.production.js +8 -8
  53. package/dist/utils/objectStore.js +15 -15
  54. package/dist/utils/reactiveArrayService.js +10 -10
  55. package/package.json +18 -18
  56. package/dist/_virtual/_commonjsHelpers.js +0 -6
  57. package/dist/_virtual/index.js +0 -4
  58. package/dist/_virtual/index2.js +0 -4
  59. package/dist/_virtual/react-contenteditable.js +0 -7
  60. package/dist/_virtual/react-contenteditable2.js +0 -4
  61. package/dist/_virtual/react-dom-server-legacy.browser.development.js +0 -4
  62. package/dist/_virtual/react-dom-server-legacy.browser.production.js +0 -4
  63. package/dist/_virtual/react-dom-server.browser.development.js +0 -4
  64. package/dist/_virtual/react-dom-server.browser.production.js +0 -4
  65. package/dist/_virtual/react-is.development.js +0 -4
  66. package/dist/_virtual/react-is.production.min.js +0 -4
  67. package/dist/_virtual/server.browser.js +0 -5
  68. package/dist/_virtual/server.browser2.js +0 -4
  69. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -527
  70. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -402
  71. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -208
  72. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -136
  73. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -130
  74. package/dist/node_modules/@radix-ui/primitive/dist/index.js +0 -9
  75. package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +0 -24
  76. package/dist/node_modules/@radix-ui/react-collection/dist/index.js +0 -48
  77. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -29
  78. package/dist/node_modules/@radix-ui/react-context/dist/index.js +0 -53
  79. package/dist/node_modules/@radix-ui/react-context-menu/dist/index.js +0 -222
  80. package/dist/node_modules/@radix-ui/react-direction/dist/index.js +0 -10
  81. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -127
  82. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -17
  83. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -136
  84. package/dist/node_modules/@radix-ui/react-id/dist/index.js +0 -13
  85. package/dist/node_modules/@radix-ui/react-menu/dist/index.js +0 -636
  86. package/dist/node_modules/@radix-ui/react-popper/dist/index.js +0 -219
  87. package/dist/node_modules/@radix-ui/react-portal/dist/index.js +0 -15
  88. package/dist/node_modules/@radix-ui/react-presence/dist/index.js +0 -70
  89. package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +0 -36
  90. package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +0 -183
  91. package/dist/node_modules/@radix-ui/react-slot/dist/index.js +0 -49
  92. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -10
  93. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -52
  94. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -14
  95. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -6
  96. package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +0 -27
  97. package/dist/node_modules/aria-hidden/dist/es2015/index.js +0 -52
  98. package/dist/node_modules/fast-deep-equal/index.js +0 -31
  99. package/dist/node_modules/get-nonce/dist/es2015/index.js +0 -7
  100. package/dist/node_modules/object-assign/index.js +0 -49
  101. package/dist/node_modules/prop-types/checkPropTypes.js +0 -54
  102. package/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -52
  103. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -329
  104. package/dist/node_modules/prop-types/index.js +0 -17
  105. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -10
  106. package/dist/node_modules/prop-types/lib/has.js +0 -7
  107. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -87
  108. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -70
  109. package/dist/node_modules/prop-types/node_modules/react-is/index.js +0 -10
  110. package/dist/node_modules/react-contenteditable/lib/react-contenteditable.js +0 -132
  111. package/dist/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js +0 -6235
  112. package/dist/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.js +0 -4096
  113. package/dist/node_modules/react-dom/cjs/react-dom-server.browser.development.js +0 -6753
  114. package/dist/node_modules/react-dom/cjs/react-dom-server.browser.production.js +0 -4645
  115. package/dist/node_modules/react-dom/server.browser.js +0 -15
  116. package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -11
  117. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -112
  118. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -31
  119. package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -16
  120. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -68
  121. package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -5
  122. package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -7
  123. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -71
  124. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -7
  125. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -25
  126. package/dist/node_modules/react-style-singleton/dist/es2015/component.js +0 -11
  127. package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +0 -15
  128. package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -30
  129. package/dist/node_modules/tslib/tslib.es6.js +0 -27
  130. package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -6
  131. package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -26
  132. package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -25
  133. package/dist/node_modules/use-sidecar/dist/es2015/exports.js +0 -18
  134. package/dist/node_modules/use-sidecar/dist/es2015/medium.js +0 -67
@@ -1,20 +1,20 @@
1
- import { jsxs as t, jsx as e } from "react/jsx-runtime";
1
+ import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
2
  import n from "react";
3
3
  import { useStore as c, useService as s } from "../../utils/contextStore.js";
4
4
  import "merge-props";
5
- import { Text as a } from "../text/Text.js";
5
+ import { Text as m } from "../text/Text.js";
6
6
  import { DOrganizationReactiveService as v } from "./DOrganization.service.js";
7
7
  import { IconFolders as k, IconUsers as L, IconServer as N, IconEdit as w, IconLogout as F } from "@tabler/icons-react";
8
- import { Flex as i } from "../flex/Flex.js";
8
+ import { Flex as t } from "../flex/Flex.js";
9
9
  import { Button as S } from "../button/Button.js";
10
10
  import { Spacing as P } from "../spacing/Spacing.js";
11
- import { Avatar as _ } from "../avatar/Avatar.js";
11
+ import { Avatar as E } from "../avatar/Avatar.js";
12
12
  import { DUserReactiveService as b } from "../d-user/DUser.service.js";
13
13
  import "../../_virtual/compiler-runtime.js";
14
14
  import '../../assets/components/dialog/Dialog.style.css';import '../../assets/components/tooltip/Tooltip.style.css';import '../../assets/components/form/Input.style.css';import '../../assets/components/card/Card.style.css';import '../../assets/components/menu/Menu.style.css';/* empty css */
15
15
  import "@radix-ui/react-dropdown-menu";
16
16
  /* empty css */
17
- import { useUserSession as E } from "../d-user/DUser.session.hook.js";
17
+ import { useUserSession as T } from "../d-user/DUser.session.hook.js";
18
18
  import { Badge as d } from "../badge/Badge.js";
19
19
  import "@radix-ui/react-checkbox";
20
20
  /* empty css */
@@ -35,59 +35,59 @@ import "@radix-ui/react-dialog";
35
35
  /* empty css */
36
36
  const Ie = (I) => {
37
37
  const {
38
- organizationId: m,
38
+ organizationId: a,
39
39
  onLeave: M = () => {
40
40
  },
41
41
  onSetting: j = () => {
42
42
  }
43
- } = I, B = c(v), C = s(v), D = c(z), $ = s(z), A = c(x), R = s(x), U = s(b), O = c(b), u = E(), p = n.useMemo(() => U.getById(u?.user?.id), [O, u]), r = n.useMemo(() => m ? C.getById(m) : null, [B, m]), o = n.useMemo(() => r ? $.getById(r.namespace?.id) : null, [D, r]), g = n.useMemo(() => o && p ? R.getByNamespaceIdAndUserId(o.id, p.id) : null, [A, o, p]), h = o?.projects?.count, f = o?.members?.count, y = o?.runtimes?.count;
44
- return /* @__PURE__ */ t(i, { align: "center", style: {
43
+ } = I, B = c(v), C = s(v), D = c(z), $ = s(z), A = c(x), R = s(x), U = s(b), O = c(b), u = T(), p = n.useMemo(() => U.getById(u?.user?.id), [O, u]), r = n.useMemo(() => a ? C.getById(a) : null, [B, a]), o = n.useMemo(() => r ? $.getById(r.namespace?.id) : null, [D, r]), g = n.useMemo(() => o && p ? R.getByNamespaceIdAndUserId(o.id, p.id) : null, [A, o, p]), h = o?.projects?.count, y = o?.members?.count, f = o?.runtimes?.count;
44
+ return /* @__PURE__ */ i(t, { align: "center", style: {
45
45
  gap: "1.3rem"
46
46
  }, justify: "space-between", children: [
47
- /* @__PURE__ */ t(i, { align: "center", style: {
47
+ /* @__PURE__ */ i(t, { align: "center", style: {
48
48
  gap: "1.3rem"
49
49
  }, children: [
50
- /* @__PURE__ */ e(_, { bg: "transparent", identifier: r?.name ?? "" }),
51
- /* @__PURE__ */ t(i, { style: {
50
+ /* @__PURE__ */ e(E, { bg: "transparent", identifier: r?.name ?? "" }),
51
+ /* @__PURE__ */ i(t, { style: {
52
52
  flexDirection: "column"
53
53
  }, children: [
54
- /* @__PURE__ */ e(a, { size: "lg", hierarchy: "primary", display: "block", children: r?.name }),
54
+ /* @__PURE__ */ e(m, { size: "lg", hierarchy: "primary", display: "block", children: r?.name }),
55
55
  /* @__PURE__ */ e(P, { spacing: "xxs" }),
56
- /* @__PURE__ */ t(i, { align: "center", style: {
56
+ /* @__PURE__ */ i(t, { align: "center", style: {
57
57
  gap: "0.35rem",
58
58
  flexWrap: "wrap"
59
59
  }, children: [
60
- /* @__PURE__ */ e(d, { border: !0, children: /* @__PURE__ */ t(i, { align: "center", style: {
60
+ /* @__PURE__ */ e(d, { border: !0, children: /* @__PURE__ */ i(t, { align: "center", style: {
61
61
  gap: "0.35rem"
62
62
  }, children: [
63
63
  /* @__PURE__ */ e(k, { size: 16 }),
64
- /* @__PURE__ */ e(a, { size: "xs", hierarchy: "tertiary", children: `${h ?? 0} project${(h ?? 0) !== 1 ? "s" : ""}` })
64
+ /* @__PURE__ */ e(m, { size: "xs", hierarchy: "tertiary", children: `${h ?? 0} project${(h ?? 0) !== 1 ? "s" : ""}` })
65
65
  ] }) }),
66
- /* @__PURE__ */ e(d, { border: !0, children: /* @__PURE__ */ t(i, { align: "center", style: {
66
+ /* @__PURE__ */ e(d, { border: !0, children: /* @__PURE__ */ i(t, { align: "center", style: {
67
67
  gap: "0.35rem"
68
68
  }, children: [
69
69
  /* @__PURE__ */ e(L, { size: 16 }),
70
- /* @__PURE__ */ t(a, { size: "xs", hierarchy: "tertiary", children: [
70
+ /* @__PURE__ */ i(m, { size: "xs", hierarchy: "tertiary", children: [
71
71
  " ",
72
- `${f ?? 0} member${(f ?? 0) !== 1 ? "s" : ""}`
72
+ `${y ?? 0} member${(y ?? 0) !== 1 ? "s" : ""}`
73
73
  ] })
74
74
  ] }) }),
75
- /* @__PURE__ */ e(d, { border: !0, children: /* @__PURE__ */ t(i, { align: "center", style: {
75
+ /* @__PURE__ */ e(d, { border: !0, children: /* @__PURE__ */ i(t, { align: "center", style: {
76
76
  gap: "0.35rem"
77
77
  }, children: [
78
78
  /* @__PURE__ */ e(N, { size: 16 }),
79
- /* @__PURE__ */ e(a, { size: "xs", hierarchy: "tertiary", children: `${y ?? 0} runtime${(y ?? 0) !== 1 ? "s" : ""}` })
79
+ /* @__PURE__ */ e(m, { size: "xs", hierarchy: "tertiary", children: `${f ?? 0} runtime${(f ?? 0) !== 1 ? "s" : ""}` })
80
80
  ] }) })
81
81
  ] })
82
82
  ] })
83
83
  ] }),
84
- /* @__PURE__ */ t(i, { align: "center", style: {
84
+ /* @__PURE__ */ i(t, { align: "center", style: {
85
85
  gap: "0.7rem"
86
86
  }, children: [
87
87
  r?.userAbilities?.deleteOrganization || r?.userAbilities?.updateOrganization ? /* @__PURE__ */ e(S, { variant: "filled", color: "secondary", onClick: (l) => {
88
88
  l.stopPropagation(), j(r);
89
89
  }, children: /* @__PURE__ */ e(w, { size: 16 }) }) : null,
90
- g && g.userAbilities?.deleteMember ? /* @__PURE__ */ t(S, { variant: "filled", color: "error", onClick: (l) => {
90
+ g && g.userAbilities?.deleteMember ? /* @__PURE__ */ i(S, { variant: "filled", color: "error", onClick: (l) => {
91
91
  l.stopPropagation(), r && M(r);
92
92
  }, children: [
93
93
  /* @__PURE__ */ e(F, { size: 16 }),
@@ -1,5 +1,5 @@
1
1
  import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
- import { useService as m } from "../../utils/contextStore.js";
2
+ import { useService as a } from "../../utils/contextStore.js";
3
3
  import p from "react";
4
4
  import "merge-props";
5
5
  import { Flex as t } from "../flex/Flex.js";
@@ -12,13 +12,13 @@ import { DRuntimeReactiveService as b } from "../d-runtime/DRuntime.service.js";
12
12
  import "../../_virtual/compiler-runtime.js";
13
13
  import '../../assets/components/card/Card.style.css';/* empty css */
14
14
  import { Button as S } from "../button/Button.js";
15
- const G = (d) => {
15
+ const T = (d) => {
16
16
  const {
17
17
  projectId: s,
18
18
  onSetting: u = () => {
19
19
  },
20
20
  minimized: o = !1
21
- } = d, l = m(y), h = o ? null : m(b), r = p.useMemo(() => l.getById(s), [l, s]), a = o ? null : p.useMemo(() => r ? h.getById(r.primaryRuntime?.id) : null, [r]);
21
+ } = d, l = a(y), h = o ? null : a(b), r = p.useMemo(() => l.getById(s), [l, s]), m = o ? null : p.useMemo(() => r ? h.getById(r.primaryRuntime?.id) : null, [r]);
22
22
  return /* @__PURE__ */ i(t, { align: "center", style: {
23
23
  gap: "1.3rem"
24
24
  }, justify: "space-between", children: [
@@ -54,9 +54,9 @@ const G = (d) => {
54
54
  /* @__PURE__ */ e(v, { size: 16 }),
55
55
  /* @__PURE__ */ e(n, { size: "xs", children: r?.runtimes?.count ?? 0 })
56
56
  ] }),
57
- a && /* @__PURE__ */ i(c, { border: !0, children: [
57
+ m && /* @__PURE__ */ i(c, { border: !0, children: [
58
58
  /* @__PURE__ */ e(z, { size: 16 }),
59
- /* @__PURE__ */ e(n, { size: "xs", children: a.name })
59
+ /* @__PURE__ */ e(n, { size: "xs", children: m.name })
60
60
  ] })
61
61
  ] })
62
62
  ] }),
@@ -67,5 +67,5 @@ const G = (d) => {
67
67
  ] });
68
68
  };
69
69
  export {
70
- G as DNamespaceProjectContent
70
+ T as DNamespaceProjectContent
71
71
  };
@@ -1,25 +1,25 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import f from "react";
3
3
  import { Card as u } from "../card/Card.js";
4
- import { useService as l, useStore as S } from "../../utils/contextStore.js";
4
+ import { useService as S, useStore as l } from "../../utils/contextStore.js";
5
5
  import "merge-props";
6
6
  import { DNamespaceProjectReactiveService as i } from "./DNamespaceProject.service.js";
7
7
  import v from "../card/CardSection.js";
8
8
  import { DNamespaceProjectContent as j } from "./DNamespaceProjectContent.js";
9
- const _ = (c) => {
9
+ const b = (c) => {
10
10
  const {
11
11
  namespaceId: t,
12
12
  filter: m = () => !0,
13
13
  onSetting: s,
14
14
  onSelect: o,
15
15
  ...n
16
- } = c, a = l(i), p = S(i), d = f.useMemo(() => a.values({
16
+ } = c, p = S(i), a = l(i), d = f.useMemo(() => p.values({
17
17
  namespaceId: t
18
- }), [p, t]);
18
+ }), [a, t]);
19
19
  return /* @__PURE__ */ r(u, { ...n, children: d.filter(m).map((e) => e.id && /* @__PURE__ */ r(v, { border: !0, hover: !0, onClick: () => {
20
20
  o && o(e);
21
21
  }, children: /* @__PURE__ */ r(j, { onSetting: s, projectId: e?.id }) }, e.id)) });
22
22
  };
23
23
  export {
24
- _ as DNamespaceProjectList
24
+ b as DNamespaceProjectList
25
25
  };
@@ -10,7 +10,7 @@ import { Flex as t } from "../flex/Flex.js";
10
10
  import { Badge as n } from "../badge/Badge.js";
11
11
  import { IconArrowUp as B, IconArrowDown as N, IconCornerDownLeft as A } from "@tabler/icons-react";
12
12
  import { Spacing as F } from "../spacing/Spacing.js";
13
- const J = (i) => {
13
+ const K = (i) => {
14
14
  const {
15
15
  onProjectSelect: h,
16
16
  namespaceId: c,
@@ -53,5 +53,5 @@ const J = (i) => {
53
53
  ] }), [a]);
54
54
  };
55
55
  export {
56
- J as default
56
+ K as default
57
57
  };
@@ -1,8 +1,8 @@
1
1
  import { jsx as i, jsxs as s, Fragment as l } from "react/jsx-runtime";
2
- import a from "react";
2
+ import m from "react";
3
3
  import { Flex as A } from "../flex/Flex.js";
4
4
  import { Text as c } from "../text/Text.js";
5
- import { Badge as m } from "../badge/Badge.js";
5
+ import { Badge as a } from "../badge/Badge.js";
6
6
  import { IconCheck as T } from "@tabler/icons-react";
7
7
  import { Tooltip as _, TooltipTrigger as u, TooltipPortal as C, TooltipContent as R, TooltipArrow as f } from "../tooltip/Tooltip.js";
8
8
  const h = {
@@ -73,7 +73,7 @@ function g(e) {
73
73
  t.action,
74
74
  " ",
75
75
  /* @__PURE__ */ s(_, { children: [
76
- /* @__PURE__ */ i(u, { asChild: !0, children: /* @__PURE__ */ i(m, { color: "info", style: {
76
+ /* @__PURE__ */ i(u, { asChild: !0, children: /* @__PURE__ */ i(a, { color: "info", style: {
77
77
  verticalAlign: "middle"
78
78
  }, children: /* @__PURE__ */ i(c, { style: {
79
79
  color: "inherit"
@@ -103,7 +103,7 @@ function g(e) {
103
103
  return /* @__PURE__ */ s(l, { children: [
104
104
  "Can",
105
105
  " ",
106
- n.map((t, E) => /* @__PURE__ */ s(a.Fragment, { children: [
106
+ n.map((t, E) => /* @__PURE__ */ s(m.Fragment, { children: [
107
107
  E > 0 && ", ",
108
108
  r(t)
109
109
  ] }, t.category)),
@@ -115,7 +115,7 @@ function g(e) {
115
115
  const b = (e) => {
116
116
  const {
117
117
  abilities: r
118
- } = e, n = a.useMemo(() => S(r), [r]);
118
+ } = e, n = m.useMemo(() => S(r), [r]);
119
119
  return /* @__PURE__ */ i(c, { size: "sm", hierarchy: "secondary", children: g(n) });
120
120
  };
121
121
  export {
@@ -1,12 +1,12 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import { Card as a } from "../card/Card.js";
3
- import l from "react";
4
- import { useService as S, useStore as v } from "../../utils/contextStore.js";
3
+ import S from "react";
4
+ import { useService as l, useStore as v } from "../../utils/contextStore.js";
5
5
  import "merge-props";
6
6
  import { DRuntimeReactiveService as m } from "./DRuntime.service.js";
7
7
  import R from "../card/CardSection.js";
8
8
  import { DRuntimeContent as C } from "./DRuntimeContent.js";
9
- const j = (n) => {
9
+ const k = (n) => {
10
10
  const {
11
11
  namespaceId: t,
12
12
  minimized: i = !1,
@@ -14,15 +14,15 @@ const j = (n) => {
14
14
  onSetting: s,
15
15
  onSelect: o,
16
16
  ...d
17
- } = n, u = S(m), f = v(m), p = l.useMemo(() => u.values({
17
+ } = n, p = l(m), u = v(m), f = S.useMemo(() => p.values({
18
18
  namespaceId: t
19
- }), [f, t]);
19
+ }), [u, t]);
20
20
  return /* @__PURE__ */ r(a, { ...d, ...i ? {
21
21
  paddingSize: "sm"
22
- } : {}, children: p.filter(c).map((e) => e.id && /* @__PURE__ */ r(R, { border: !0, hover: !0, onClick: () => {
22
+ } : {}, children: f.filter(c).map((e) => e.id && /* @__PURE__ */ r(R, { border: !0, hover: !0, onClick: () => {
23
23
  o && o(e);
24
24
  }, children: /* @__PURE__ */ r(C, { minimized: i, onSetting: s, runtimeId: e?.id }) }, e.id)) });
25
25
  };
26
26
  export {
27
- j as DRuntimeList
27
+ k as DRuntimeList
28
28
  };
@@ -1,6 +1,6 @@
1
1
  import { c } from "../../_virtual/compiler-runtime.js";
2
2
  import i from "react";
3
- const m = () => {
3
+ const a = () => {
4
4
  const e = c.c(2), [n, r] = i.useState(void 0);
5
5
  let s, o;
6
6
  return e[0] === Symbol.for("react.memo_cache_sentinel") ? (s = () => {
@@ -12,5 +12,5 @@ const m = () => {
12
12
  };
13
13
  export {
14
14
  S as setUserSession,
15
- m as useUserSession
15
+ a as useUserSession
16
16
  };
@@ -1,7 +1,7 @@
1
- import { jsx as d, jsxs as u } from "react/jsx-runtime";
1
+ import { jsx as d, jsxs as p } from "react/jsx-runtime";
2
2
  import { c as V } from "../../_virtual/compiler-runtime.js";
3
3
  import w from "react";
4
- import { Flex as p } from "../flex/Flex.js";
4
+ import { Flex as u } from "../flex/Flex.js";
5
5
  import { Avatar as B } from "../avatar/Avatar.js";
6
6
  import { useUserSession as E } from "./DUser.session.hook.js";
7
7
  import { useService as k } from "../../utils/contextStore.js";
@@ -39,43 +39,43 @@ const Z = (D) => {
39
39
  let l;
40
40
  e[10] !== r.admin ? (l = r.admin ? /* @__PURE__ */ d(C, { color: "secondary", children: "Owner" }) : null, e[10] = r.admin, e[11] = l) : l = e[11];
41
41
  let s;
42
- e[12] !== i || e[13] !== l ? (s = /* @__PURE__ */ u(p, { align: "center", style: v, children: [
42
+ e[12] !== i || e[13] !== l ? (s = /* @__PURE__ */ p(u, { align: "center", style: v, children: [
43
43
  i,
44
44
  l
45
45
  ] }), e[12] = i, e[13] = l, e[14] = s) : s = e[14];
46
46
  let n;
47
47
  e[15] !== r.email ? (n = /* @__PURE__ */ d(R, { size: "sm", hierarchy: "tertiary", children: r.email }), e[15] = r.email, e[16] = n) : n = e[16];
48
48
  let m;
49
- e[17] !== s || e[18] !== n ? (m = /* @__PURE__ */ u(p, { style: g, children: [
49
+ e[17] !== s || e[18] !== n ? (m = /* @__PURE__ */ p(u, { style: g, children: [
50
50
  s,
51
51
  n
52
52
  ] }), e[17] = s, e[18] = n, e[19] = m) : m = e[19];
53
53
  let o;
54
- e[20] !== m || e[21] !== t ? (o = /* @__PURE__ */ u(p, { style: y, align: "center", children: [
54
+ e[20] !== m || e[21] !== t ? (o = /* @__PURE__ */ p(u, { style: y, align: "center", children: [
55
55
  t,
56
56
  m
57
57
  ] }), e[20] = m, e[21] = t, e[22] = o) : o = e[22];
58
- let _;
59
- e[23] === Symbol.for("react.memo_cache_sentinel") ? (_ = {
58
+ let S;
59
+ e[23] === Symbol.for("react.memo_cache_sentinel") ? (S = {
60
60
  gap: "1.3rem"
61
- }, e[23] = _) : _ = e[23];
61
+ }, e[23] = S) : S = e[23];
62
62
  let c;
63
- e[24] !== r.emailVerifiedAt ? (c = r?.emailVerifiedAt ? /* @__PURE__ */ u(C, { border: !0, children: [
63
+ e[24] !== r.emailVerifiedAt ? (c = r?.emailVerifiedAt ? /* @__PURE__ */ p(C, { border: !0, children: [
64
64
  /* @__PURE__ */ d(M, { size: 16 }),
65
65
  /* @__PURE__ */ d(R, { size: "xs", hierarchy: "tertiary", children: "Email verified" })
66
66
  ] }) : null, e[24] = r.emailVerifiedAt, e[25] = c) : c = e[25];
67
67
  let a;
68
68
  e[26] !== j || e[27] !== A || e[28] !== U || e[29] !== r ? (a = null, e[26] = j, e[27] = A, e[28] = U, e[29] = r, e[30] = a) : a = e[30];
69
69
  let f;
70
- e[31] !== c || e[32] !== a ? (f = /* @__PURE__ */ u(p, { style: _, align: "center", children: [
70
+ e[31] !== c || e[32] !== a ? (f = /* @__PURE__ */ p(u, { style: S, align: "center", children: [
71
71
  c,
72
72
  a
73
73
  ] }), e[31] = c, e[32] = a, e[33] = f) : f = e[33];
74
- let S;
75
- return e[34] !== o || e[35] !== f ? (S = /* @__PURE__ */ u(p, { justify: "space-between", align: "center", children: [
74
+ let _;
75
+ return e[34] !== o || e[35] !== f ? (_ = /* @__PURE__ */ p(u, { justify: "space-between", align: "center", children: [
76
76
  o,
77
77
  f
78
- ] }), e[34] = o, e[35] = f, e[36] = S) : S = e[36], S;
78
+ ] }), e[34] = o, e[35] = f, e[36] = _) : _ = e[36], _;
79
79
  };
80
80
  function O() {
81
81
  }
@@ -1,22 +1,22 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import p from "react";
2
+ import d from "react";
3
3
  import { useService as u, useStore as l } from "../../utils/contextStore.js";
4
4
  import "merge-props";
5
5
  import { DUserReactiveService as t } from "./DUser.service.js";
6
- import { Card as a } from "../card/Card.js";
7
- import v from "../card/CardSection.js";
8
- import { DUserContent as S } from "./DUserContent.js";
9
- const j = (i) => {
6
+ import { Card as v } from "../card/Card.js";
7
+ import S from "../card/CardSection.js";
8
+ import { DUserContent as a } from "./DUserContent.js";
9
+ const k = (i) => {
10
10
  const {
11
11
  filter: m = () => !0,
12
12
  onRemove: s,
13
13
  onSelect: o,
14
14
  ...c
15
- } = i, n = u(t), f = l(t), d = p.useMemo(() => n.values(), [f]);
16
- return /* @__PURE__ */ e(a, { ...c, children: d.filter(m).map((r) => r && r.id && /* @__PURE__ */ e(v, { border: !0, hover: !0, onClick: () => {
15
+ } = i, n = u(t), f = l(t), p = d.useMemo(() => n.values(), [f]);
16
+ return /* @__PURE__ */ e(v, { ...c, children: p.filter(m).map((r) => r && r.id && /* @__PURE__ */ e(S, { border: !0, hover: !0, onClick: () => {
17
17
  o && o(r);
18
- }, children: /* @__PURE__ */ e(S, { onRemove: s, userId: r?.id }) }, r.id)) });
18
+ }, children: /* @__PURE__ */ e(a, { onRemove: s, userId: r?.id }) }, r.id)) });
19
19
  };
20
20
  export {
21
- j as DUserList
21
+ k as DUserList
22
22
  };
@@ -10,8 +10,8 @@ import '../../assets/components/form/Input.style.css';/* empty css
10
10
  import { IconMinus as T, IconCheck as q } from "@tabler/icons-react";
11
11
  const Y = (l) => {
12
12
  const e = $.c(40), {
13
- title: _,
14
- description: b,
13
+ title: b,
14
+ description: _,
15
15
  formValidation: k,
16
16
  ...N
17
17
  } = l;
@@ -29,9 +29,9 @@ const Y = (l) => {
29
29
  let v;
30
30
  e[5] !== t ? (v = [t], e[5] = t, e[6] = v) : v = e[6], z.useEffect(g, v);
31
31
  let o;
32
- e[7] !== _ ? (o = _ ? /* @__PURE__ */ n(F, { children: _ }) : null, e[7] = _, e[8] = o) : o = e[8];
32
+ e[7] !== b ? (o = b ? /* @__PURE__ */ n(F, { children: b }) : null, e[7] = b, e[8] = o) : o = e[8];
33
33
  let c;
34
- e[9] !== b ? (c = b ? /* @__PURE__ */ n(L, { children: b }) : null, e[9] = b, e[10] = c) : c = e[10];
34
+ e[9] !== _ ? (c = _ ? /* @__PURE__ */ n(L, { children: _ }) : null, e[9] = _, e[10] = c) : c = e[10];
35
35
  const V = `input ${i?.valid ? "" : "input--not-valid"} checkbox-input`;
36
36
  let s;
37
37
  e[11] !== V ? (s = E(V, {}), e[11] = V, e[12] = s) : s = e[12];
@@ -1,21 +1,21 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import e from "react";
3
- import { Input as l } from "./Input.js";
4
- import { IconX as m } from "@tabler/icons-react";
2
+ import r from "react";
3
+ import { Input as m } from "./Input.js";
4
+ import { IconX as l } from "@tabler/icons-react";
5
5
  import { Button as f } from "../button/Button.js";
6
6
  import { clearInputElement as s } from "./Input.utils.js";
7
- const p = /(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])/, I = (t) => p.test(t), _ = e.forwardRef((t, x) => {
8
- x = x || e.useRef(null);
7
+ const p = /(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])/, d = (t) => p.test(t), R = r.forwardRef((t, x) => {
8
+ x = x || r.useRef(null);
9
9
  const {
10
- clearable: r = !1,
10
+ clearable: e = !1,
11
11
  right: n,
12
12
  ...c
13
13
  } = t, i = () => {
14
14
  s(x.current);
15
15
  }, a = [n];
16
- return r && a.push(/* @__PURE__ */ o(f, { onClick: i, children: /* @__PURE__ */ o(m, { size: 13 }) })), /* @__PURE__ */ o(l, { right: a, type: "email", ref: x, ...c });
16
+ return e && a.push(/* @__PURE__ */ o(f, { onClick: i, children: /* @__PURE__ */ o(l, { size: 13 }) })), /* @__PURE__ */ o(m, { right: a, type: "email", ref: x, ...c });
17
17
  });
18
18
  export {
19
- _ as EmailInput,
20
- I as emailValidation
19
+ R as EmailInput,
20
+ d as emailValidation
21
21
  };