@vritti/quantum-ui 0.3.13 → 0.3.16
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/ActivePoints.js.map +1 -1
- package/dist/ActiveShapeUtils.js.map +1 -1
- package/dist/AreaChart.js.map +1 -1
- package/dist/BarChart.js.map +1 -1
- package/dist/CartesianChart.js.map +1 -1
- package/dist/Chart.js +53 -55
- package/dist/Chart.js.map +1 -1
- package/dist/CopyField.js +71 -0
- package/dist/CopyField.js.map +1 -0
- package/dist/ErrorBarContext.js.map +1 -1
- package/dist/IconSelect.js +2 -1
- package/dist/IconSelect.js.map +1 -1
- package/dist/LineChart.js.map +1 -1
- package/dist/OrgContext.js +37 -0
- package/dist/OrgContext.js.map +1 -0
- package/dist/PermissionGate.js +62 -22
- package/dist/PermissionGate.js.map +1 -1
- package/dist/PieChart.js.map +1 -1
- package/dist/PolarChart.js.map +1 -1
- package/dist/RadarChart.js.map +1 -1
- package/dist/RadialChart.js.map +1 -1
- package/dist/assets/quantum-ui.css +19 -0
- package/dist/components/CopyField.js +2 -0
- package/dist/components/CopyField.js.map +1 -0
- package/dist/components/PermissionGate.js +1 -1
- package/dist/context/index.js +1 -1
- package/dist/copy.js +18 -0
- package/dist/copy.js.map +1 -0
- package/dist/getClassNameFromUnknown.js.map +1 -1
- package/dist/getRadiusAndStrokeWidthFromDot.js.map +1 -1
- package/dist/getZIndexFromUnknown.js.map +1 -1
- package/dist/graphicalItemSelectors.js.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index38.js +2 -1
- package/dist/index38.js.map +1 -1
- package/dist/lib/components/CopyField/CopyField.d.ts +10 -0
- package/dist/lib/components/CopyField/CopyField.d.ts.map +1 -0
- package/dist/lib/components/CopyField/index.d.ts +2 -0
- package/dist/lib/components/CopyField/index.d.ts.map +1 -0
- package/dist/lib/components/PermissionGate/PermissionGate.d.ts +4 -2
- package/dist/lib/components/PermissionGate/PermissionGate.d.ts.map +1 -1
- package/dist/lib/components/PermissionGate/index.d.ts +1 -0
- package/dist/lib/components/PermissionGate/index.d.ts.map +1 -1
- package/dist/lib/components/index.d.ts +1 -0
- package/dist/lib/components/index.d.ts.map +1 -1
- package/dist/lib/context/OrgContext.d.ts +17 -0
- package/dist/lib/context/OrgContext.d.ts.map +1 -0
- package/dist/lib/context/index.d.ts +1 -0
- package/dist/lib/context/index.d.ts.map +1 -1
- package/dist/lib/types/catalog-resolver.d.ts +8 -1
- package/dist/lib/types/catalog-resolver.d.ts.map +1 -1
- package/dist/lib/utils/services.d.ts +4 -0
- package/dist/lib/utils/services.d.ts.map +1 -0
- package/dist/polarScaleSelectors.js.map +1 -1
- package/dist/tooltipContext.js.map +1 -1
- package/dist/types/catalog-resolver.js +2 -1
- package/dist/types/catalog-resolver.js.map +1 -1
- package/dist/youtube.js +15 -29
- package/dist/youtube.js.map +1 -1
- package/package.json +5 -1
- package/dist/LayoutModeContext.js +0 -19
- package/dist/LayoutModeContext.js.map +0 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface CopyFieldProps {
|
|
3
|
+
value: string;
|
|
4
|
+
label?: React.ReactNode;
|
|
5
|
+
description?: React.ReactNode;
|
|
6
|
+
mono?: boolean;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const CopyField: React.FC<CopyFieldProps>;
|
|
10
|
+
//# sourceMappingURL=CopyField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CopyField.d.ts","sourceRoot":"","sources":["../../../../lib/components/CopyField/CopyField.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,MAAM,WAAW,cAAc;IAE7B,KAAK,EAAE,MAAM,CAAC;IAEd,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAExB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE9B,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAUD,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA4D9C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/components/CopyField/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
|
|
2
|
+
import { ServiceCode } from '../../types/catalog-resolver';
|
|
3
|
+
export type PermissionLockReason = 'PLAN' | 'SITE' | 'SERVICE';
|
|
3
4
|
export interface PermissionGateResult {
|
|
4
5
|
granted: boolean;
|
|
5
6
|
locked: boolean;
|
|
6
7
|
reason: PermissionLockReason | null;
|
|
7
8
|
unlockPlans: string[];
|
|
9
|
+
missingServices: ServiceCode[];
|
|
8
10
|
available: boolean;
|
|
9
11
|
featureName: string | null;
|
|
10
12
|
}
|
|
@@ -16,7 +18,7 @@ export declare const PermissionLockIcon: React.FC<{
|
|
|
16
18
|
reason: PermissionLockReason | null;
|
|
17
19
|
className?: string;
|
|
18
20
|
}>;
|
|
19
|
-
export declare function lockedTip({ reason, unlockPlans }: Pick<PermissionGateResult, 'reason' | 'unlockPlans'>): string;
|
|
21
|
+
export declare function lockedTip({ reason, unlockPlans, missingServices, }: Pick<PermissionGateResult, 'reason' | 'unlockPlans'> & Partial<Pick<PermissionGateResult, 'missingServices'>>): string;
|
|
20
22
|
export interface PermissionGateProps {
|
|
21
23
|
permission?: string;
|
|
22
24
|
children: React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PermissionGate.d.ts","sourceRoot":"","sources":["../../../../lib/components/PermissionGate/PermissionGate.tsx"],"names":[],"mappings":"AACA,OAAO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C,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,MAAM,EAAE,oBAAoB,GAAG;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,KAAK,KAAK,CAAC,SAAS,CAAC,CAAC;CACnH;AAWD,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAMxD,CAAC"}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
export { SERVICE_LABELS, serviceLabels } from '../../utils/services';
|
|
1
2
|
export { lockedTip, PermissionGate, type PermissionGateFn, type PermissionGateProps, PermissionGateProvider, type PermissionGateResult, PermissionLockIcon, type PermissionLockReason, usePermission, usePermissionGate, } from './PermissionGate';
|
|
2
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/components/PermissionGate/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,cAAc,EACd,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,sBAAsB,EACtB,KAAK,oBAAoB,EACzB,kBAAkB,EAClB,KAAK,oBAAoB,EACzB,aAAa,EACb,iBAAiB,GAClB,MAAM,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/components/PermissionGate/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EACL,SAAS,EACT,cAAc,EACd,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,sBAAsB,EACtB,KAAK,oBAAoB,EACzB,kBAAkB,EAClB,KAAK,oBAAoB,EACzB,aAAa,EACb,iBAAiB,GAClB,MAAM,kBAAkB,CAAC"}
|
|
@@ -18,6 +18,7 @@ export * from './DatePicker';
|
|
|
18
18
|
export * from './DateRangePicker';
|
|
19
19
|
export * from './DateTimePicker';
|
|
20
20
|
export * from './DateTimeRangePicker';
|
|
21
|
+
export * from './CopyField';
|
|
21
22
|
export * from './DetailField';
|
|
22
23
|
export * from './Dialog';
|
|
23
24
|
export * from './DropdownMenu';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC;AACvB,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kB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
|
+
export interface OrgService {
|
|
3
|
+
service: ServiceCode;
|
|
4
|
+
externalId: string | null;
|
|
5
|
+
externalName: string | null;
|
|
6
|
+
}
|
|
7
|
+
export interface OrgContextValue {
|
|
8
|
+
id: string | null;
|
|
9
|
+
name: string | null;
|
|
10
|
+
subdomain: string | null;
|
|
11
|
+
logoUrl: string | null;
|
|
12
|
+
services: OrgService[];
|
|
13
|
+
}
|
|
14
|
+
export declare const OrgContextProvider: import('react').Provider<OrgContextValue>;
|
|
15
|
+
export declare function useOrgContext(): OrgContextValue;
|
|
16
|
+
export declare function useOrgService(service: ServiceCode): OrgService | null;
|
|
17
|
+
//# sourceMappingURL=OrgContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrgContext.d.ts","sourceRoot":"","sources":["../../../lib/context/OrgContext.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAI7D,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,WAAW,CAAC;IACrB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAClB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,QAAQ,EAAE,UAAU,EAAE,CAAC;CACxB;AAgBD,eAAO,MAAM,kBAAkB,2CAAsB,CAAC;AAGtD,wBAAgB,aAAa,IAAI,eAAe,CAE/C;AAGD,wBAAgB,aAAa,CAAC,OAAO,EAAE,WAAW,GAAG,UAAU,GAAG,IAAI,CAGrE"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { type LayoutMode, LayoutModeProvider, useLayoutMode } from './LayoutModeContext';
|
|
2
|
+
export { OrgContextProvider, type OrgContextValue, type OrgService, useOrgContext, useOrgService, } from './OrgContext';
|
|
2
3
|
export { ThemeContext, type ThemeContextValue, type ThemeMode, ThemeProvider, type ThemeProviderProps, } from './ThemeContext';
|
|
3
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/context/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzF,OAAO,EACL,YAAY,EACZ,KAAK,iBAAiB,EACtB,KAAK,SAAS,EACd,aAAa,EACb,KAAK,kBAAkB,GACxB,MAAM,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/context/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzF,OAAO,EACL,kBAAkB,EAClB,KAAK,eAAe,EACpB,KAAK,UAAU,EACf,aAAa,EACb,aAAa,GACd,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,YAAY,EACZ,KAAK,iBAAiB,EACtB,KAAK,SAAS,EACd,aAAa,EACb,KAAK,kBAAkB,GACxB,MAAM,gBAAgB,CAAC"}
|
|
@@ -39,6 +39,8 @@ export interface SnapshotMicrofrontends {
|
|
|
39
39
|
}
|
|
40
40
|
export type ScopeType = 'ORG' | 'LE' | 'SITE_GROUP' | 'SITE';
|
|
41
41
|
export type SiteType = 'OUTLET' | 'WAREHOUSE' | 'PRODUCTION';
|
|
42
|
+
export declare const SERVICE_CODES: readonly ["GITEA"];
|
|
43
|
+
export type ServiceCode = (typeof SERVICE_CODES)[number];
|
|
42
44
|
export interface SnapshotFeature {
|
|
43
45
|
code: string;
|
|
44
46
|
name: string;
|
|
@@ -49,6 +51,7 @@ export interface SnapshotFeature {
|
|
|
49
51
|
applicableSiteTypes: SiteType[];
|
|
50
52
|
permissions: SnapshotPermission[];
|
|
51
53
|
microfrontends: SnapshotMicrofrontends;
|
|
54
|
+
requiredServices?: ServiceCode[];
|
|
52
55
|
}
|
|
53
56
|
export interface SnapshotAppFeatureRef {
|
|
54
57
|
code: string;
|
|
@@ -100,12 +103,13 @@ export interface VersionSnapshot {
|
|
|
100
103
|
}
|
|
101
104
|
export declare function snapshotFeatureKey(code: string, scope: ScopeType): string;
|
|
102
105
|
export declare const SNAPSHOT_SCHEMA_VERSION = 2;
|
|
103
|
-
export type LockReason = 'PLAN' | 'SITE';
|
|
106
|
+
export type LockReason = 'PLAN' | 'SITE' | 'SERVICE';
|
|
104
107
|
export interface CatalogPermission {
|
|
105
108
|
code: string;
|
|
106
109
|
locked: boolean;
|
|
107
110
|
lockReason: LockReason | null;
|
|
108
111
|
unlockPlans: string[];
|
|
112
|
+
missingServices: ServiceCode[];
|
|
109
113
|
}
|
|
110
114
|
export interface FeatureCatalogEntry {
|
|
111
115
|
code: string;
|
|
@@ -131,6 +135,7 @@ export interface FeatureCatalogEntry {
|
|
|
131
135
|
locked: boolean;
|
|
132
136
|
lockReason: LockReason | null;
|
|
133
137
|
unlockPlans: string[];
|
|
138
|
+
missingServices: ServiceCode[];
|
|
134
139
|
permissions: CatalogPermission[];
|
|
135
140
|
}
|
|
136
141
|
export type RoleItem = SnapshotRoleTemplate;
|
|
@@ -179,6 +184,7 @@ export interface LockedPermission {
|
|
|
179
184
|
code: string;
|
|
180
185
|
reason: LockReason | null;
|
|
181
186
|
unlockPlans: string[];
|
|
187
|
+
missingServices: ServiceCode[];
|
|
182
188
|
}
|
|
183
189
|
export interface PlanUpsell {
|
|
184
190
|
plan: string;
|
|
@@ -194,6 +200,7 @@ export interface PermissionFeature {
|
|
|
194
200
|
locked: boolean;
|
|
195
201
|
lockReason: LockReason | null;
|
|
196
202
|
unlockPlans: string[];
|
|
203
|
+
missingServices: ServiceCode[];
|
|
197
204
|
lockedPermissions: LockedPermission[];
|
|
198
205
|
upsell: PlanUpsell[];
|
|
199
206
|
route: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog-resolver.d.ts","sourceRoot":"","sources":["../../../lib/types/catalog-resolver.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,cAAc,GAAG,KAAK,GAAG,QAAQ,CAAC;AAE9C,eAAO,MAAM,SAAS,EAAE,cAAc,EAAsB,CAAC;AAE7D,MAAM,WAAW,aAAa;IAC5B,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,MAAM,WAAW,iBAAiB;IAChC,GAAG,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;CAC1B;AAED,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;AAE3D,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC;AAC7D,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC;AAE5C,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,SAAS,EAAE,MAAM,EAAE,CAAC;CACrB;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,2BAA2B;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,kBAAkB,EAAE,MA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AC;KACrB,CAAC;IACF,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,yBAAyB;IACxC,QAAQ,EAAE,eAAe,CAAC;IAC1B,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,SAAS,EAAE,gBAAgB,GAAG,SAAS,CAAC;IACxC,YAAY,EAAE,cAAc,CAAC;IAC7B,QAAQ,EAAE,cAAc,CAAC;CAC1B;AAED,MAAM,WAAW,uBAAuB;IACtC,YAAY,EAAE,cAAc,GAAG,SAAS,CAAC;IACzC,SAAS,EAAE,cAAc,CAAC;IAC1B,OAAO,EAAE,aAAa,GAAG,SAAS,CAAC;CACpC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"services.d.ts","sourceRoot":"","sources":["../../../lib/utils/services.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAI7D,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CAEtD,CAAC;AAGF,wBAAgB,aAAa,CAAC,QAAQ,EAAE,WAAW,EAAE,GAAG,MAAM,CAK7D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"polarScaleSelectors.js","sources":["../node_modules/.pnpm/recharts@3.8.0_@types+react@19.2.14_react-dom@19.2.3_react@19.2.3__react-is@
|
|
1
|
+
{"version":3,"file":"polarScaleSelectors.js","sources":["../node_modules/.pnpm/recharts@3.8.0_@types+react@19.2.14_react-dom@19.2.3_react@19.2.3__react-is@18.3.1_react@19.2.3_redux@5.0.1/node_modules/recharts/es6/state/selectors/polarScaleSelectors.js"],"sourcesContent":["import { createSelector } from 'reselect';\nimport { combineAxisTicks, combineCategoricalDomain, combineGraphicalItemTicks, selectDuplicateDomain, selectRealScaleType, selectRenderableAxisSettings } from './axisSelectors';\nimport { selectAngleAxis, selectAngleAxisRangeWithReversed, selectRadiusAxis, selectRadiusAxisRangeWithReversed } from './polarAxisSelectors';\nimport { selectChartLayout } from '../../context/chartLayoutContext';\nimport { selectPolarAppliedValues, selectPolarAxisCheckedDomain, selectPolarNiceTicks } from './polarSelectors';\nimport { pickAxisType } from './pickAxisType';\nimport { rechartsScaleFactory } from '../../util/scale/RechartsScale';\nimport { combineConfiguredScale } from './combiners/combineConfiguredScale';\nexport var selectPolarAxis = (state, axisType, axisId) => {\n switch (axisType) {\n case 'angleAxis':\n {\n return selectAngleAxis(state, axisId);\n }\n case 'radiusAxis':\n {\n return selectRadiusAxis(state, axisId);\n }\n default:\n {\n throw new Error(\"Unexpected axis type: \".concat(axisType));\n }\n }\n};\nvar selectPolarAxisRangeWithReversed = (state, axisType, axisId) => {\n switch (axisType) {\n case 'angleAxis':\n {\n return selectAngleAxisRangeWithReversed(state, axisId);\n }\n case 'radiusAxis':\n {\n return selectRadiusAxisRangeWithReversed(state, axisId);\n }\n default:\n {\n throw new Error(\"Unexpected axis type: \".concat(axisType));\n }\n }\n};\nvar selectPolarConfiguredScale = createSelector([selectPolarAxis, selectRealScaleType, selectPolarAxisCheckedDomain, selectPolarAxisRangeWithReversed], combineConfiguredScale);\nexport var selectPolarAxisScale = createSelector([selectPolarConfiguredScale], rechartsScaleFactory);\nexport var selectPolarCategoricalDomain = createSelector([selectChartLayout, selectPolarAppliedValues, selectRenderableAxisSettings, pickAxisType], combineCategoricalDomain);\nexport var selectPolarAxisTicks = createSelector([selectChartLayout, selectPolarAxis, selectRealScaleType, selectPolarAxisScale, selectPolarNiceTicks, selectPolarAxisRangeWithReversed, selectDuplicateDomain, selectPolarCategoricalDomain, pickAxisType], combineAxisTicks);\nexport var selectPolarAngleAxisTicks = createSelector([selectPolarAxisTicks], ticks => {\n /*\n * Angle axis is circular; so here we need to look for ticks that overlap (i.e., 0 and 360 degrees)\n * and remove the duplicate tick to avoid rendering issues.\n */\n if (!ticks) {\n return undefined;\n }\n var uniqueTicksMap = new Map();\n ticks.forEach(tick => {\n var normalizedCoordinate = (tick.coordinate + 360) % 360;\n if (!uniqueTicksMap.has(normalizedCoordinate)) {\n uniqueTicksMap.set(normalizedCoordinate, tick);\n }\n });\n return Array.from(uniqueTicksMap.values());\n});\nexport var selectPolarGraphicalItemAxisTicks = createSelector([selectChartLayout, selectPolarAxis, selectPolarAxisScale, selectPolarAxisRangeWithReversed, selectDuplicateDomain, selectPolarCategoricalDomain, pickAxisType], combineGraphicalItemTicks);"],"names":[],"mappings":";;;AAQO,IAAI,eAAe,GAAG,CAAC,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK;AAC1D,EAAE,QAAQ,QAAQ;AAClB,IAAI,KAAK,WAAW;AACpB,MAAM;AACN,QAAQ,OAAO,eAAe,CAAC,KAAK,EAAE,MAAM,CAAC;AAC7C,MAAM;AACN,IAAI,KAAK,YAAY;AACrB,MAAM;AACN,QAAQ,OAAO,gBAAgB,CAAC,KAAK,EAAE,MAAM,CAAC;AAC9C,MAAM;AACN,IAAI;AACJ,MAAM;AACN,QAAQ,MAAM,IAAI,KAAK,CAAC,wBAAwB,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;AAClE,MAAM;AACN;AACA,CAAC;AACD,IAAI,gCAAgC,GAAG,CAAC,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK;AACpE,EAAE,QAAQ,QAAQ;AAClB,IAAI,KAAK,WAAW;AACpB,MAAM;AACN,QAAQ,OAAO,gCAAgC,CAAC,KAAK,EAAE,MAAM,CAAC;AAC9D,MAAM;AACN,IAAI,KAAK,YAAY;AACrB,MAAM;AACN,QAAQ,OAAO,iCAAiC,CAAC,KAAK,EAAE,MAAM,CAAC;AAC/D,MAAM;AACN,IAAI;AACJ,MAAM;AACN,QAAQ,MAAM,IAAI,KAAK,CAAC,wBAAwB,CAAC,MAAM,CAAC,QA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,EAAE,qBAAqB,EAAE,4BAA4B,EAAE,YAAY,CAAC,EAAE,yBAAyB;;;;","x_google_ignoreList":[0]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltipContext.js","sources":["../node_modules/.pnpm/recharts@3.8.0_@types+react@19.2.14_react-dom@19.2.3_react@19.2.3__react-is@
|
|
1
|
+
{"version":3,"file":"tooltipContext.js","sources":["../node_modules/.pnpm/recharts@3.8.0_@types+react@19.2.14_react-dom@19.2.3_react@19.2.3__react-is@18.3.1_react@19.2.3_redux@5.0.1/node_modules/recharts/es6/component/Cell.js","../node_modules/.pnpm/recharts@3.8.0_@types+react@19.2.14_react-dom@19.2.3_react@19.2.3__react-is@18.3.1_react@19.2.3_redux@5.0.1/node_modules/recharts/es6/context/tooltipContext.js"],"sourcesContent":["/**\n * Cell component used to define colors and styles of chart elements.\n *\n * This component is now deprecated and will be removed in Recharts 4.0.\n *\n * Please use the `shape` prop or `content` prop on the respective chart components\n * to customize the rendering of chart elements instead of using `Cell`.\n *\n * @see {@link https://recharts.github.io/en-US/guide/cell/ Guide: Migrate from Cell component to shape prop}\n *\n * @deprecated\n * @consumes CellReader\n */\nexport var Cell = _props => null;\nCell.displayName = 'Cell';","import { useAppDispatch } from '../state/hooks';\nimport { mouseLeaveItem, setActiveClickItemIndex, setActiveMouseOverItemIndex } from '../state/tooltipSlice';\n\n/**\n * Some graphical items choose to provide more information to the tooltip\n * and some do not.\n */\n\nexport var useMouseEnterItemDispatch = (onMouseEnterFromProps, dataKey, graphicalItemId) => {\n var dispatch = useAppDispatch();\n return (data, index) => event => {\n onMouseEnterFromProps === null || onMouseEnterFromProps === void 0 || onMouseEnterFromProps(data, index, event);\n dispatch(setActiveMouseOverItemIndex({\n activeIndex: String(index),\n activeDataKey: dataKey,\n activeCoordinate: data.tooltipPosition,\n activeGraphicalItemId: graphicalItemId\n }));\n };\n};\nexport var useMouseLeaveItemDispatch = onMouseLeaveFromProps => {\n var dispatch = useAppDispatch();\n return (data, index) => event => {\n onMouseLeaveFromProps === null || onMouseLeaveFromProps === void 0 || onMouseLeaveFromProps(data, index, event);\n dispatch(mouseLeaveItem());\n };\n};\nexport var useMouseClickItemDispatch = (onMouseClickFromProps, dataKey, graphicalItemId) => {\n var dispatch = useAppDispatch();\n return (data, index) => event => {\n onMouseClickFromProps === null || onMouseClickFromProps === void 0 || onMouseClickFromProps(data, index, event);\n dispatch(setActiveClickItemIndex({\n activeIndex: String(index),\n activeDataKey: dataKey,\n activeCoordinate: data.tooltipPosition,\n activeGraphicalItemId: graphicalItemId\n }));\n };\n};"],"names":[],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACU,IAAC,IAAI,GAAG,MAAM,IAAI;AAC5B,IAAI,CAAC,WAAW,GAAG,MAAM;;ACXzB;AACA;AACA;AACA;;AAEU,IAAC,yBAAyB,GAAG,CAAC,qBAAqB,EAAE,OAAO,EAAE,eAAe,KAAK;AAC5F,EAAE,IAAI,QAAQ,GAAG,cAAc,EAAE;AACjC,EAAE,OAAO,CAAC,IAAI,EAAE,KAAK,KAAK,KAAK,IAAI;AACnC,IAAI,qBAAqB,KAAK,IAAI,IAAI,qBAAqB,KAAK,MAAM,IAAI,qBAAqB,CAAC,IAAI,EAAE,KAAK,EAAE,KAAK,CAAC;AACnH,IAAI,QAAQ,CAAC,2BAA2B,CAAC;AACzC,MAAM,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC;AAChC,MAAM,aAAa,EAAE,OAAO;AAC5B,MAAM,gBAAgB,EAAE,IAAI,CAAC,eAAe;AAC5C,MAAM,qBAAqB,EAAE;AAC7B,KAAK,CAAC,CAAC;AACP,EAAE,CAAC;AACH;AACU,IAAC,yBAAyB,GAAG,qBAAqB,IAAI;AAChE,EAAE,IAAI,QAAQ,GAAG,cAAc,EAAE;AACjC,EAAE,OAAO,CAAC,IAAI,EAAE,KAAK,KAAK,KAAK,IAAI;AACnC,IAAI,qBAAqB,KAAK,IAAI,IAAI,qBAAqB,KAAK,MAAM,IAAI,qBAAqB,CAAC,IAAI,EAAE,KAAK,EAAE,KAAK,CAAC;AACnH,IAAI,QAAQ,CAAC,cAAc,EAAE,CAAC;AAC9B,EAAE,CAAC;AACH;AACU,IAAC,yBAAyB,GAAG,CAAC,qBAAqB,EAAE,OAAO,EAAE,eAAe,KAAK;AAC5F,EAAE,IAAI,QAAQ,GAAG,cAAc,EAAE;AACjC,EAAE,OAAO,CAAC,IAAI,EAAE,KAAK,KAAK,KAAK,IAAI;AACnC,IAAI,qBAAqB,KAAK,IAAI,IAAI,qBAAqB,KAAK,MAAM,IAAI,qBAAqB,CAAC,IAAI,EAAE,KAAK,EAAE,KAAK,CAAC;AACnH,IAAI,QAAQ,CAAC,uBAAuB,CAAC;AACrC,MAAM,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC;AAChC,MAAM,aAAa,EAAE,OAAO;AAC5B,MAAM,gBAAgB,EAAE,IAAI,CAAC,eAAe;AAC5C,MAAM,qBAAqB,EAAE;AAC7B,KAAK,CAAC,CAAC;AACP,EAAE,CAAC;AACH;;;;","x_google_ignoreList":[0,1]}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
const PLATFORMS = ["web", "mobile"];
|
|
2
|
+
const SERVICE_CODES = ["GITEA"];
|
|
2
3
|
function snapshotFeatureKey(code, scope) {
|
|
3
4
|
return `${scope}.${code}`;
|
|
4
5
|
}
|
|
5
6
|
const SNAPSHOT_SCHEMA_VERSION = 2;
|
|
6
7
|
|
|
7
|
-
export { PLATFORMS, SNAPSHOT_SCHEMA_VERSION, snapshotFeatureKey };
|
|
8
|
+
export { PLATFORMS, SERVICE_CODES, SNAPSHOT_SCHEMA_VERSION, snapshotFeatureKey };
|
|
8
9
|
//# sourceMappingURL=catalog-resolver.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog-resolver.js","sources":["../../lib/types/catalog-resolver.ts"],"sourcesContent":["// Frontend mirror of @vritti/api-sdk/catalog-resolver types — keep field-for-field in sync\nexport type PlatformBucket = 'web' | 'mobile';\n\nexport const PLATFORMS: PlatformBucket[] = ['web', 'mobile'];\n\nexport interface PlatformCodes {\n web?: string[];\n mobile?: string[];\n}\n\nexport interface PlatformDenyCodes {\n web?: string[] | null;\n mobile?: string[] | null;\n}\n\nexport type FeatureUnlocks = Record<string, PlatformCodes>;\n\nexport type FeatureLocks = Record<string, PlatformDenyCodes>;\nexport type SiteFeatureLocks = FeatureLocks;\n\nexport interface SnapshotPermission {\n code: string;\n label: string;\n isGlobal: boolean;\n businesses: string[];\n dependsOn: string[];\n}\n\nexport interface SnapshotMicrofrontendWeb {\n code: string;\n name: string;\n remoteEntry: string;\n exposedModule: string;\n routePrefix: string;\n}\n\nexport interface SnapshotMicrofrontendMobile {\n code: string;\n name: string;\n remoteEntryAndroid: string;\n remoteEntryIos: string;\n exposedModule: string;\n routePrefix: string;\n}\n\nexport interface SnapshotMicrofrontends {\n web?: SnapshotMicrofrontendWeb;\n mobile?: SnapshotMicrofrontendMobile;\n}\n\nexport type ScopeType = 'ORG' | 'LE' | 'SITE_GROUP' | 'SITE';\nexport type SiteType = 'OUTLET' | 'WAREHOUSE' | 'PRODUCTION';\nexport interface SnapshotFeature {\n code: string;\n name: string;\n lucideIcon: string;\n sfSymbol: string;\n materialSymbol: string;\n scope: ScopeType;\n applicableSiteTypes: SiteType[];\n permissions: SnapshotPermission[];\n microfrontends: SnapshotMicrofrontends;\n}\n\nexport interface SnapshotAppFeatureRef {\n code: string;\n scope: ScopeType;\n}\n\nexport interface SnapshotApp {\n code: string;\n name: string;\n icon: string;\n sortOrder: number;\n features: SnapshotAppFeatureRef[];\n}\n\nexport interface SnapshotRoleTemplate {\n name: string;\n code: string;\n scope: ScopeType;\n siteType: SiteType;\n features: FeatureUnlocks;\n}\n\nexport interface SnapshotPlan {\n code: string;\n name: string;\n isCustom: boolean;\n maxSites: number | null;\n unlockedPermissions: FeatureUnlocks;\n}\n\nexport interface VocabularyEntry {\n singular: string;\n plural: string;\n}\nexport interface BusinessVocabulary {\n site?: VocabularyEntry;\n siteGroup?: VocabularyEntry;\n outlet?: VocabularyEntry;\n warehouse?: VocabularyEntry;\n production?: VocabularyEntry;\n}\nexport interface SnapshotBusiness {\n name: string;\n vocabulary?: BusinessVocabulary;\n apps: SnapshotApp[];\n roleTemplates: Record<string, SnapshotRoleTemplate>;\n plans: Record<string, SnapshotPlan>;\n}\n\nexport interface VersionSnapshot {\n schemaVersion?: number;\n // Flat feature dictionary keyed by `${scope}.${code}` (see snapshotFeatureKey) — same-code features at different scopes stay distinct\n features: Record<string, SnapshotFeature>;\n businesses: Record<string, SnapshotBusiness>;\n}\n\n// Composite key for the snapshot feature dictionary — feature identity is (scope, code)\nexport function snapshotFeatureKey(code: string, scope: ScopeType): string {\n return `${scope}.${code}`;\n}\n\nexport const SNAPSHOT_SCHEMA_VERSION = 2;\n\nexport type LockReason = 'PLAN' | 'SITE';\n\nexport interface CatalogPermission {\n code: string;\n locked: boolean;\n lockReason: LockReason | null;\n unlockPlans: string[];\n}\n\nexport interface FeatureCatalogEntry {\n code: string;\n name: string;\n lucideIcon: string | null;\n sfSymbol: string;\n materialSymbol: string;\n web: {\n remoteEntry: string;\n exposedModule: string;\n routePrefix: string;\n } | null;\n mobile: {\n remoteEntryAndroid: string;\n remoteEntryIos: string;\n exposedModule: string;\n routePrefix: string;\n } | null;\n appCode: string;\n appName: string;\n appIcon: string | null;\n appSortOrder: number;\n locked: boolean;\n lockReason: LockReason | null;\n unlockPlans: string[];\n permissions: CatalogPermission[];\n}\n\nexport type RoleItem = SnapshotRoleTemplate;\n\nexport interface SiteMatrixCell {\n inPlan: boolean;\n selected: boolean;\n availableIn: string[];\n}\n\nexport interface SiteMatrixPermission {\n code: string;\n label: string;\n dependsOn: string[];\n web: SiteMatrixCell | null;\n mobile: SiteMatrixCell | null;\n}\n\nexport interface SiteMatrixFeature {\n code: string;\n name: string;\n icon: string | null;\n scope: ScopeType;\n applicableSiteTypes: SiteType[];\n platforms: PlatformBucket[];\n inPlan: boolean;\n availableIn: string[];\n permissions: SiteMatrixPermission[];\n}\n\nexport interface SiteMatrixApp {\n code: string;\n name: string;\n icon: string | null;\n unlockedCount: number;\n totalCount: number;\n features: SiteMatrixFeature[];\n}\n\nexport interface SiteMatrix {\n plan: { code: string; name: string };\n apps: SiteMatrixApp[];\n locks: SiteFeatureLocks;\n}\n\nexport type RevokedGrants = Record<string, PlatformDenyCodes>;\n\nexport type ClientPlatform = 'web' | 'ios' | 'android';\n\nexport interface LockedPermission {\n code: string;\n reason: LockReason | null;\n unlockPlans: string[];\n}\n\nexport interface PlanUpsell {\n plan: string;\n features: string[];\n}\n\nexport interface PermissionFeature {\n code: string;\n name: string;\n lucideIcon: string | null;\n sfSymbol: string;\n materialSymbol: string;\n permissions: string[];\n locked: boolean;\n lockReason: LockReason | null;\n unlockPlans: string[];\n lockedPermissions: LockedPermission[];\n upsell: PlanUpsell[];\n route: {\n remoteEntry: string;\n exposedModule: string;\n routePrefix: string;\n };\n appCode: string;\n appName: string;\n appIcon: string | null;\n appSortOrder: number;\n}\n\nexport interface ResolveUserFeaturesParams {\n snapshot: VersionSnapshot;\n businessCode: string;\n planCode: string | undefined;\n siteLocks: SiteFeatureLocks | undefined;\n roleFeatures: FeatureUnlocks;\n platform: ClientPlatform;\n}\n\nexport interface ComposeRoleGrantsParams {\n baseFeatures: FeatureUnlocks | undefined;\n additions: FeatureUnlocks;\n revoked: RevokedGrants | undefined;\n}\n"],"names":[],"mappings":"AAGO,MAAM,SAAA,GAA8B,CAAC,KAAA,EAAO,QAAQ;
|
|
1
|
+
{"version":3,"file":"catalog-resolver.js","sources":["../../lib/types/catalog-resolver.ts"],"sourcesContent":["// Frontend mirror of @vritti/api-sdk/catalog-resolver types — keep field-for-field in sync\nexport type PlatformBucket = 'web' | 'mobile';\n\nexport const PLATFORMS: PlatformBucket[] = ['web', 'mobile'];\n\nexport interface PlatformCodes {\n web?: string[];\n mobile?: string[];\n}\n\nexport interface PlatformDenyCodes {\n web?: string[] | null;\n mobile?: string[] | null;\n}\n\nexport type FeatureUnlocks = Record<string, PlatformCodes>;\n\nexport type FeatureLocks = Record<string, PlatformDenyCodes>;\nexport type SiteFeatureLocks = FeatureLocks;\n\nexport interface SnapshotPermission {\n code: string;\n label: string;\n isGlobal: boolean;\n businesses: string[];\n dependsOn: string[];\n}\n\nexport interface SnapshotMicrofrontendWeb {\n code: string;\n name: string;\n remoteEntry: string;\n exposedModule: string;\n routePrefix: string;\n}\n\nexport interface SnapshotMicrofrontendMobile {\n code: string;\n name: string;\n remoteEntryAndroid: string;\n remoteEntryIos: string;\n exposedModule: string;\n routePrefix: string;\n}\n\nexport interface SnapshotMicrofrontends {\n web?: SnapshotMicrofrontendWeb;\n mobile?: SnapshotMicrofrontendMobile;\n}\n\nexport type ScopeType = 'ORG' | 'LE' | 'SITE_GROUP' | 'SITE';\nexport type SiteType = 'OUTLET' | 'WAREHOUSE' | 'PRODUCTION';\nexport const SERVICE_CODES = ['GITEA'] as const;\nexport type ServiceCode = (typeof SERVICE_CODES)[number];\nexport interface SnapshotFeature {\n code: string;\n name: string;\n lucideIcon: string;\n sfSymbol: string;\n materialSymbol: string;\n scope: ScopeType;\n applicableSiteTypes: SiteType[];\n permissions: SnapshotPermission[];\n microfrontends: SnapshotMicrofrontends;\n requiredServices?: ServiceCode[];\n}\n\nexport interface SnapshotAppFeatureRef {\n code: string;\n scope: ScopeType;\n}\n\nexport interface SnapshotApp {\n code: string;\n name: string;\n icon: string;\n sortOrder: number;\n features: SnapshotAppFeatureRef[];\n}\n\nexport interface SnapshotRoleTemplate {\n name: string;\n code: string;\n scope: ScopeType;\n siteType: SiteType;\n features: FeatureUnlocks;\n}\n\nexport interface SnapshotPlan {\n code: string;\n name: string;\n isCustom: boolean;\n maxSites: number | null;\n unlockedPermissions: FeatureUnlocks;\n}\n\nexport interface VocabularyEntry {\n singular: string;\n plural: string;\n}\nexport interface BusinessVocabulary {\n site?: VocabularyEntry;\n siteGroup?: VocabularyEntry;\n outlet?: VocabularyEntry;\n warehouse?: VocabularyEntry;\n production?: VocabularyEntry;\n}\nexport interface SnapshotBusiness {\n name: string;\n vocabulary?: BusinessVocabulary;\n apps: SnapshotApp[];\n roleTemplates: Record<string, SnapshotRoleTemplate>;\n plans: Record<string, SnapshotPlan>;\n}\n\nexport interface VersionSnapshot {\n schemaVersion?: number;\n // Flat feature dictionary keyed by `${scope}.${code}` (see snapshotFeatureKey) — same-code features at different scopes stay distinct\n features: Record<string, SnapshotFeature>;\n businesses: Record<string, SnapshotBusiness>;\n}\n\n// Composite key for the snapshot feature dictionary — feature identity is (scope, code)\nexport function snapshotFeatureKey(code: string, scope: ScopeType): string {\n return `${scope}.${code}`;\n}\n\nexport const SNAPSHOT_SCHEMA_VERSION = 2;\n\nexport type LockReason = 'PLAN' | 'SITE' | 'SERVICE';\n\nexport interface CatalogPermission {\n code: string;\n locked: boolean;\n lockReason: LockReason | null;\n unlockPlans: string[];\n missingServices: ServiceCode[];\n}\n\nexport interface FeatureCatalogEntry {\n code: string;\n name: string;\n lucideIcon: string | null;\n sfSymbol: string;\n materialSymbol: string;\n web: {\n remoteEntry: string;\n exposedModule: string;\n routePrefix: string;\n } | null;\n mobile: {\n remoteEntryAndroid: string;\n remoteEntryIos: string;\n exposedModule: string;\n routePrefix: string;\n } | null;\n appCode: string;\n appName: string;\n appIcon: string | null;\n appSortOrder: number;\n locked: boolean;\n lockReason: LockReason | null;\n unlockPlans: string[];\n missingServices: ServiceCode[];\n permissions: CatalogPermission[];\n}\n\nexport type RoleItem = SnapshotRoleTemplate;\n\nexport interface SiteMatrixCell {\n inPlan: boolean;\n selected: boolean;\n availableIn: string[];\n}\n\nexport interface SiteMatrixPermission {\n code: string;\n label: string;\n dependsOn: string[];\n web: SiteMatrixCell | null;\n mobile: SiteMatrixCell | null;\n}\n\nexport interface SiteMatrixFeature {\n code: string;\n name: string;\n icon: string | null;\n scope: ScopeType;\n applicableSiteTypes: SiteType[];\n platforms: PlatformBucket[];\n inPlan: boolean;\n availableIn: string[];\n permissions: SiteMatrixPermission[];\n}\n\nexport interface SiteMatrixApp {\n code: string;\n name: string;\n icon: string | null;\n unlockedCount: number;\n totalCount: number;\n features: SiteMatrixFeature[];\n}\n\nexport interface SiteMatrix {\n plan: { code: string; name: string };\n apps: SiteMatrixApp[];\n locks: SiteFeatureLocks;\n}\n\nexport type RevokedGrants = Record<string, PlatformDenyCodes>;\n\nexport type ClientPlatform = 'web' | 'ios' | 'android';\n\nexport interface LockedPermission {\n code: string;\n reason: LockReason | null;\n unlockPlans: string[];\n missingServices: ServiceCode[];\n}\n\nexport interface PlanUpsell {\n plan: string;\n features: string[];\n}\n\nexport interface PermissionFeature {\n code: string;\n name: string;\n lucideIcon: string | null;\n sfSymbol: string;\n materialSymbol: string;\n permissions: string[];\n locked: boolean;\n lockReason: LockReason | null;\n unlockPlans: string[];\n // Which declared services the org has not provisioned — empty unless lockReason is 'SERVICE'\n missingServices: ServiceCode[];\n lockedPermissions: LockedPermission[];\n upsell: PlanUpsell[];\n route: {\n remoteEntry: string;\n exposedModule: string;\n routePrefix: string;\n };\n appCode: string;\n appName: string;\n appIcon: string | null;\n appSortOrder: number;\n}\n\nexport interface ResolveUserFeaturesParams {\n snapshot: VersionSnapshot;\n businessCode: string;\n planCode: string | undefined;\n siteLocks: SiteFeatureLocks | undefined;\n roleFeatures: FeatureUnlocks;\n platform: ClientPlatform;\n}\n\nexport interface ComposeRoleGrantsParams {\n baseFeatures: FeatureUnlocks | undefined;\n additions: FeatureUnlocks;\n revoked: RevokedGrants | undefined;\n}\n"],"names":[],"mappings":"AAGO,MAAM,SAAA,GAA8B,CAAC,KAAA,EAAO,QAAQ;AAiDpD,MAAM,aAAA,GAAgB,CAAC,OAAO;AAuE9B,SAAS,kBAAA,CAAmB,MAAc,KAAA,EAA0B;AACzE,EAAA,OAAO,CAAA,EAAG,KAAK,CAAA,CAAA,EAAI,IAAI,CAAA,CAAA;AACzB;AAEO,MAAM,uBAAA,GAA0B;;;;"}
|
package/dist/youtube.js
CHANGED
|
@@ -8,12 +8,12 @@ import { c as createLucideIcon } from './createLucideIcon.js';
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
const __iconNode$
|
|
11
|
+
const __iconNode$F = [
|
|
12
12
|
["path", { d: "M4 20h16", key: "14thso" }],
|
|
13
13
|
["path", { d: "m6 16 6-12 6 12", key: "1b4byz" }],
|
|
14
14
|
["path", { d: "M8 12h8", key: "1wcyev" }]
|
|
15
15
|
];
|
|
16
|
-
const Baseline = createLucideIcon("baseline", __iconNode$
|
|
16
|
+
const Baseline = createLucideIcon("baseline", __iconNode$F);
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* @license lucide-react v0.562.0 - ISC
|
|
@@ -23,13 +23,13 @@ const Baseline = createLucideIcon("baseline", __iconNode$G);
|
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
const __iconNode$
|
|
26
|
+
const __iconNode$E = [
|
|
27
27
|
[
|
|
28
28
|
"path",
|
|
29
29
|
{ d: "M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8", key: "mg9rjx" }
|
|
30
30
|
]
|
|
31
31
|
];
|
|
32
|
-
const Bold = createLucideIcon("bold", __iconNode$
|
|
32
|
+
const Bold = createLucideIcon("bold", __iconNode$E);
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
35
|
* @license lucide-react v0.562.0 - ISC
|
|
@@ -39,12 +39,12 @@ const Bold = createLucideIcon("bold", __iconNode$F);
|
|
|
39
39
|
*/
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
const __iconNode$
|
|
42
|
+
const __iconNode$D = [
|
|
43
43
|
["path", { d: "M18 20a6 6 0 0 0-12 0", key: "1qehca" }],
|
|
44
44
|
["circle", { cx: "12", cy: "10", r: "4", key: "1h16sb" }],
|
|
45
45
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]
|
|
46
46
|
];
|
|
47
|
-
const CircleUserRound = createLucideIcon("circle-user-round", __iconNode$
|
|
47
|
+
const CircleUserRound = createLucideIcon("circle-user-round", __iconNode$D);
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
50
|
* @license lucide-react v0.562.0 - ISC
|
|
@@ -54,7 +54,7 @@ const CircleUserRound = createLucideIcon("circle-user-round", __iconNode$E);
|
|
|
54
54
|
*/
|
|
55
55
|
|
|
56
56
|
|
|
57
|
-
const __iconNode$
|
|
57
|
+
const __iconNode$C = [
|
|
58
58
|
["rect", { width: "8", height: "4", x: "8", y: "2", rx: "1", ry: "1", key: "tgr4d6" }],
|
|
59
59
|
[
|
|
60
60
|
"path",
|
|
@@ -67,7 +67,7 @@ const __iconNode$D = [
|
|
|
67
67
|
["path", { d: "M11 17h2", key: "12w5me" }],
|
|
68
68
|
["path", { d: "M12 11v6", key: "1bwqyc" }]
|
|
69
69
|
];
|
|
70
|
-
const ClipboardType = createLucideIcon("clipboard-type", __iconNode$
|
|
70
|
+
const ClipboardType = createLucideIcon("clipboard-type", __iconNode$C);
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
73
|
* @license lucide-react v0.562.0 - ISC
|
|
@@ -77,7 +77,7 @@ const ClipboardType = createLucideIcon("clipboard-type", __iconNode$D);
|
|
|
77
77
|
*/
|
|
78
78
|
|
|
79
79
|
|
|
80
|
-
const __iconNode$
|
|
80
|
+
const __iconNode$B = [
|
|
81
81
|
["rect", { width: "8", height: "4", x: "8", y: "2", rx: "1", ry: "1", key: "tgr4d6" }],
|
|
82
82
|
[
|
|
83
83
|
"path",
|
|
@@ -87,7 +87,7 @@ const __iconNode$C = [
|
|
|
87
87
|
}
|
|
88
88
|
]
|
|
89
89
|
];
|
|
90
|
-
const Clipboard = createLucideIcon("clipboard", __iconNode$
|
|
90
|
+
const Clipboard = createLucideIcon("clipboard", __iconNode$B);
|
|
91
91
|
|
|
92
92
|
/**
|
|
93
93
|
* @license lucide-react v0.562.0 - ISC
|
|
@@ -97,11 +97,11 @@ const Clipboard = createLucideIcon("clipboard", __iconNode$C);
|
|
|
97
97
|
*/
|
|
98
98
|
|
|
99
99
|
|
|
100
|
-
const __iconNode$
|
|
100
|
+
const __iconNode$A = [
|
|
101
101
|
["path", { d: "m16 18 6-6-6-6", key: "eg8j8" }],
|
|
102
102
|
["path", { d: "m8 6-6 6 6 6", key: "ppft3o" }]
|
|
103
103
|
];
|
|
104
|
-
const Code = createLucideIcon("code", __iconNode$
|
|
104
|
+
const Code = createLucideIcon("code", __iconNode$A);
|
|
105
105
|
|
|
106
106
|
/**
|
|
107
107
|
* @license lucide-react v0.562.0 - ISC
|
|
@@ -111,26 +111,12 @@ const Code = createLucideIcon("code", __iconNode$B);
|
|
|
111
111
|
*/
|
|
112
112
|
|
|
113
113
|
|
|
114
|
-
const __iconNode$
|
|
114
|
+
const __iconNode$z = [
|
|
115
115
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
116
116
|
["path", { d: "M9 3v18", key: "fh3hqa" }],
|
|
117
117
|
["path", { d: "M15 3v18", key: "14nvp0" }]
|
|
118
118
|
];
|
|
119
|
-
const Columns3 = createLucideIcon("columns-3", __iconNode$
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* @license lucide-react v0.562.0 - ISC
|
|
123
|
-
*
|
|
124
|
-
* This source code is licensed under the ISC license.
|
|
125
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
126
|
-
*/
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
const __iconNode$z = [
|
|
130
|
-
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
|
131
|
-
["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
|
|
132
|
-
];
|
|
133
|
-
const Copy = createLucideIcon("copy", __iconNode$z);
|
|
119
|
+
const Columns3 = createLucideIcon("columns-3", __iconNode$z);
|
|
134
120
|
|
|
135
121
|
/**
|
|
136
122
|
* @license lucide-react v0.562.0 - ISC
|
|
@@ -733,5 +719,5 @@ const __iconNode = [
|
|
|
733
719
|
];
|
|
734
720
|
const Youtube = createLucideIcon("youtube", __iconNode);
|
|
735
721
|
|
|
736
|
-
export {
|
|
722
|
+
export { Type as A, Bold as B, Clipboard as C, Undo as D, Eraser as E, Heading3 as H, Italic as I, LockOpen as L, Mic as M, Pipette as P, Quote as Q, Redo as R, Send as S, Twitter as T, Underline as U, Youtube as Y, Link2Off as a, Scissors as b, ClipboardType as c, Trash as d, Strikethrough as e, Code as f, Link as g, Subscript as h, Superscript as i, CircleUserRound as j, TextAlignEnd as k, TextAlignCenter as l, TextAlignStart as m, List as n, ListTodo as o, Columns3 as p, Minus as q, Heading2 as r, Heading1 as s, Image as t, ListOrdered as u, Table as v, ListIndentDecrease as w, ListIndentIncrease as x, PaintBucket as y, Baseline as z };
|
|
737
723
|
//# sourceMappingURL=youtube.js.map
|