@datatechsolutions/ui 2.11.86 → 2.11.88

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 (75) hide show
  1. package/dist/billing-panel-DsHhhJqG.d.mts +18 -0
  2. package/dist/billing-panel-DsHhhJqG.d.ts +18 -0
  3. package/dist/chunk-4667D2ZT.mjs +61 -0
  4. package/dist/chunk-4667D2ZT.mjs.map +1 -0
  5. package/dist/chunk-5HXDJBVX.mjs +1330 -0
  6. package/dist/chunk-5HXDJBVX.mjs.map +1 -0
  7. package/dist/chunk-DJ33CSGJ.mjs +126 -0
  8. package/dist/chunk-DJ33CSGJ.mjs.map +1 -0
  9. package/dist/chunk-F4TOOARV.mjs +503 -0
  10. package/dist/chunk-F4TOOARV.mjs.map +1 -0
  11. package/dist/chunk-GEUGFYLO.mjs +237 -0
  12. package/dist/chunk-GEUGFYLO.mjs.map +1 -0
  13. package/dist/chunk-LBALE4JX.js +1342 -0
  14. package/dist/chunk-LBALE4JX.js.map +1 -0
  15. package/dist/chunk-MXFEU7A6.js +148 -0
  16. package/dist/chunk-MXFEU7A6.js.map +1 -0
  17. package/dist/chunk-NBCOVUQP.mjs +142 -0
  18. package/dist/chunk-NBCOVUQP.mjs.map +1 -0
  19. package/dist/chunk-P4RVGMZL.js +128 -0
  20. package/dist/chunk-P4RVGMZL.js.map +1 -0
  21. package/dist/chunk-Q2MG7S2E.js +239 -0
  22. package/dist/chunk-Q2MG7S2E.js.map +1 -0
  23. package/dist/chunk-RV555OEO.mjs +1009 -0
  24. package/dist/chunk-RV555OEO.mjs.map +1 -0
  25. package/dist/chunk-SAYVWIMJ.js +63 -0
  26. package/dist/chunk-SAYVWIMJ.js.map +1 -0
  27. package/dist/chunk-SUHNSUMH.mjs +1021 -0
  28. package/dist/chunk-SUHNSUMH.mjs.map +1 -0
  29. package/dist/chunk-TOEMSC4P.mjs +99 -0
  30. package/dist/chunk-TOEMSC4P.mjs.map +1 -0
  31. package/dist/chunk-UUHV5KHF.js +505 -0
  32. package/dist/chunk-UUHV5KHF.js.map +1 -0
  33. package/dist/chunk-UVEPTYZC.js +101 -0
  34. package/dist/chunk-UVEPTYZC.js.map +1 -0
  35. package/dist/chunk-X2KCCQPL.js +1049 -0
  36. package/dist/chunk-X2KCCQPL.js.map +1 -0
  37. package/dist/chunk-ZARCUQA6.js +1015 -0
  38. package/dist/chunk-ZARCUQA6.js.map +1 -0
  39. package/dist/platform/admin/index.d.mts +17 -0
  40. package/dist/platform/admin/index.d.ts +17 -0
  41. package/dist/platform/admin/index.js +39 -0
  42. package/dist/platform/admin/index.js.map +1 -0
  43. package/dist/platform/admin/index.mjs +10 -0
  44. package/dist/platform/admin/index.mjs.map +1 -0
  45. package/dist/platform/auth/index.d.mts +73 -0
  46. package/dist/platform/auth/index.d.ts +73 -0
  47. package/dist/platform/auth/index.js +107 -0
  48. package/dist/platform/auth/index.js.map +1 -0
  49. package/dist/platform/auth/index.mjs +10 -0
  50. package/dist/platform/auth/index.mjs.map +1 -0
  51. package/dist/platform/billing/index.d.mts +29 -0
  52. package/dist/platform/billing/index.d.ts +29 -0
  53. package/dist/platform/billing/index.js +22 -0
  54. package/dist/platform/billing/index.js.map +1 -0
  55. package/dist/platform/billing/index.mjs +9 -0
  56. package/dist/platform/billing/index.mjs.map +1 -0
  57. package/dist/platform/impersonation/index.d.mts +19 -0
  58. package/dist/platform/impersonation/index.d.ts +19 -0
  59. package/dist/platform/impersonation/index.js +17 -0
  60. package/dist/platform/impersonation/index.js.map +1 -0
  61. package/dist/platform/impersonation/index.mjs +8 -0
  62. package/dist/platform/impersonation/index.mjs.map +1 -0
  63. package/dist/platform/index.d.mts +45 -2
  64. package/dist/platform/index.d.ts +45 -2
  65. package/dist/platform/index.js +4850 -0
  66. package/dist/platform/index.js.map +1 -1
  67. package/dist/platform/index.mjs +4716 -3
  68. package/dist/platform/index.mjs.map +1 -1
  69. package/dist/platform/settings/index.d.mts +31 -0
  70. package/dist/platform/settings/index.d.ts +31 -0
  71. package/dist/platform/settings/index.js +21 -0
  72. package/dist/platform/settings/index.js.map +1 -0
  73. package/dist/platform/settings/index.mjs +12 -0
  74. package/dist/platform/settings/index.mjs.map +1 -0
  75. package/package.json +26 -1
@@ -0,0 +1,31 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { AdminClient } from '@datatechsolutions/shared-domain';
3
+ import { a as BillingPanelProps } from '../../billing-panel-DsHhhJqG.mjs';
4
+
5
+ type PlatformSettingsSection = 'account' | 'organization' | 'billing';
6
+ interface PlatformSettingsProps {
7
+ /**
8
+ * Sections to surface to the current user. The host app is responsible for
9
+ * picking the right set based on RBAC — e.g. hide `organization` for users
10
+ * without `org:manage` and hide `billing` for users without `billing:read`.
11
+ * Defaults to all three.
12
+ */
13
+ sections?: PlatformSettingsSection[];
14
+ /** Starting section. Defaults to the first item in `sections`. */
15
+ defaultSection?: PlatformSettingsSection;
16
+ /**
17
+ * Windsock admin API client. Required when `organization` is in `sections`.
18
+ * Create it once with `createAdminClient({ issuer, authClient })` and reuse.
19
+ */
20
+ adminClient?: AdminClient;
21
+ /**
22
+ * Current organization id (usually `ctx.organizationId` from the JWT).
23
+ * Required when `organization` is in `sections`.
24
+ */
25
+ organizationId?: string;
26
+ /** Forwarded to `<BillingPanel>` — e.g. redirect handler, billing interval. */
27
+ billing?: BillingPanelProps;
28
+ }
29
+ declare function PlatformSettings({ sections, defaultSection, adminClient, organizationId, billing, }: PlatformSettingsProps): react_jsx_runtime.JSX.Element | null;
30
+
31
+ export { PlatformSettings, type PlatformSettingsProps, type PlatformSettingsSection };
@@ -0,0 +1,31 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { AdminClient } from '@datatechsolutions/shared-domain';
3
+ import { a as BillingPanelProps } from '../../billing-panel-DsHhhJqG.js';
4
+
5
+ type PlatformSettingsSection = 'account' | 'organization' | 'billing';
6
+ interface PlatformSettingsProps {
7
+ /**
8
+ * Sections to surface to the current user. The host app is responsible for
9
+ * picking the right set based on RBAC — e.g. hide `organization` for users
10
+ * without `org:manage` and hide `billing` for users without `billing:read`.
11
+ * Defaults to all three.
12
+ */
13
+ sections?: PlatformSettingsSection[];
14
+ /** Starting section. Defaults to the first item in `sections`. */
15
+ defaultSection?: PlatformSettingsSection;
16
+ /**
17
+ * Windsock admin API client. Required when `organization` is in `sections`.
18
+ * Create it once with `createAdminClient({ issuer, authClient })` and reuse.
19
+ */
20
+ adminClient?: AdminClient;
21
+ /**
22
+ * Current organization id (usually `ctx.organizationId` from the JWT).
23
+ * Required when `organization` is in `sections`.
24
+ */
25
+ organizationId?: string;
26
+ /** Forwarded to `<BillingPanel>` — e.g. redirect handler, billing interval. */
27
+ billing?: BillingPanelProps;
28
+ }
29
+ declare function PlatformSettings({ sections, defaultSection, adminClient, organizationId, billing, }: PlatformSettingsProps): react_jsx_runtime.JSX.Element | null;
30
+
31
+ export { PlatformSettings, type PlatformSettingsProps, type PlatformSettingsSection };
@@ -0,0 +1,21 @@
1
+ "use client";
2
+ 'use strict';
3
+
4
+ var chunkUVEPTYZC_js = require('../../chunk-UVEPTYZC.js');
5
+ require('../../chunk-UUHV5KHF.js');
6
+ require('../../chunk-X2KCCQPL.js');
7
+ require('../../chunk-MXFEU7A6.js');
8
+ require('../../chunk-Q2MG7S2E.js');
9
+ require('../../chunk-KNXAOJAK.js');
10
+ require('../../chunk-UZ3CMNUJ.js');
11
+ require('../../chunk-YXN2K77G.js');
12
+ require('../../chunk-S7KHTUHA.js');
13
+
14
+
15
+
16
+ Object.defineProperty(exports, "PlatformSettings", {
17
+ enumerable: true,
18
+ get: function () { return chunkUVEPTYZC_js.PlatformSettings; }
19
+ });
20
+ //# sourceMappingURL=index.js.map
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,12 @@
1
+ "use client";
2
+ export { PlatformSettings } from '../../chunk-TOEMSC4P.mjs';
3
+ import '../../chunk-F4TOOARV.mjs';
4
+ import '../../chunk-SUHNSUMH.mjs';
5
+ import '../../chunk-NBCOVUQP.mjs';
6
+ import '../../chunk-GEUGFYLO.mjs';
7
+ import '../../chunk-ZJQ5RLGK.mjs';
8
+ import '../../chunk-D2JF6C3E.mjs';
9
+ import '../../chunk-7VJ7CMMT.mjs';
10
+ import '../../chunk-QWG2FMUN.mjs';
11
+ //# sourceMappingURL=index.mjs.map
12
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datatechsolutions/ui",
3
- "version": "2.11.86",
3
+ "version": "2.11.88",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -100,6 +100,31 @@
100
100
  "import": "./dist/platform/agents-workspace.mjs",
101
101
  "require": "./dist/platform/agents-workspace.js"
102
102
  },
103
+ "./platform/auth": {
104
+ "types": "./dist/platform/auth/index.d.ts",
105
+ "import": "./dist/platform/auth/index.mjs",
106
+ "require": "./dist/platform/auth/index.js"
107
+ },
108
+ "./platform/billing": {
109
+ "types": "./dist/platform/billing/index.d.ts",
110
+ "import": "./dist/platform/billing/index.mjs",
111
+ "require": "./dist/platform/billing/index.js"
112
+ },
113
+ "./platform/impersonation": {
114
+ "types": "./dist/platform/impersonation/index.d.ts",
115
+ "import": "./dist/platform/impersonation/index.mjs",
116
+ "require": "./dist/platform/impersonation/index.js"
117
+ },
118
+ "./platform/admin": {
119
+ "types": "./dist/platform/admin/index.d.ts",
120
+ "import": "./dist/platform/admin/index.mjs",
121
+ "require": "./dist/platform/admin/index.js"
122
+ },
123
+ "./platform/settings": {
124
+ "types": "./dist/platform/settings/index.d.ts",
125
+ "import": "./dist/platform/settings/index.mjs",
126
+ "require": "./dist/platform/settings/index.js"
127
+ },
103
128
  "./styles": "./src/styles/liquid-glass.css",
104
129
  "./styles/*": "./src/styles/*"
105
130
  },