@vritti/quantum-ui 0.3.21 → 0.3.23
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/CopyField.js +5 -11
- package/dist/CopyField.js.map +1 -1
- package/dist/lib/components/CopyField/CopyField.d.ts.map +1 -1
- package/dist/lib/types/catalog-resolver.d.ts +7 -2
- package/dist/lib/types/catalog-resolver.d.ts.map +1 -1
- package/dist/types/catalog-resolver.js +3 -2
- package/dist/types/catalog-resolver.js.map +1 -1
- package/package.json +1 -1
package/dist/CopyField.js
CHANGED
|
@@ -3,7 +3,7 @@ import { useState, useRef, useEffect, useCallback } from 'react';
|
|
|
3
3
|
import { c as cn } from './utils.js';
|
|
4
4
|
import { B as Button } from './Button.js';
|
|
5
5
|
import { T as Tooltip } from './Tooltip.js';
|
|
6
|
-
import { e as FieldLabel, b as FieldDescription } from './field.js';
|
|
6
|
+
import { F as Field, e as FieldLabel, b as FieldDescription } from './field.js';
|
|
7
7
|
import { C as Check } from './check.js';
|
|
8
8
|
import { C as Copy } from './copy.js';
|
|
9
9
|
|
|
@@ -30,8 +30,8 @@ const CopyField = ({ value, label, description, mono = true, className }) => {
|
|
|
30
30
|
}
|
|
31
31
|
}, [value]);
|
|
32
32
|
const ariaLabel = label ? `Copy ${typeof label === "string" ? label : "value"}` : "Copy value";
|
|
33
|
-
return /* @__PURE__ */ jsxs(
|
|
34
|
-
label && /* @__PURE__ */ jsx(FieldLabel, {
|
|
33
|
+
return /* @__PURE__ */ jsxs(Field, { className, children: [
|
|
34
|
+
label && /* @__PURE__ */ jsx(FieldLabel, { children: label }),
|
|
35
35
|
/* @__PURE__ */ jsxs(
|
|
36
36
|
"div",
|
|
37
37
|
{
|
|
@@ -40,13 +40,7 @@ const CopyField = ({ value, label, description, mono = true, className }) => {
|
|
|
40
40
|
"transition-colors focus-within:border-ring focus-within:ring-1 focus-within:ring-ring hover:border-ring/60"
|
|
41
41
|
),
|
|
42
42
|
children: [
|
|
43
|
-
/* @__PURE__ */ jsx(
|
|
44
|
-
"span",
|
|
45
|
-
{
|
|
46
|
-
className: cn("min-w-0 flex-1 select-all break-all text-sm", mono && "font-mono"),
|
|
47
|
-
children: value
|
|
48
|
-
}
|
|
49
|
-
),
|
|
43
|
+
/* @__PURE__ */ jsx("span", { className: cn("min-w-0 flex-1 select-all break-all text-sm", mono && "font-mono"), children: value }),
|
|
50
44
|
/* @__PURE__ */ jsx(Tooltip, { content: copied ? "Copied" : "Copy", children: /* @__PURE__ */ jsx(
|
|
51
45
|
Button,
|
|
52
46
|
{
|
|
@@ -62,7 +56,7 @@ const CopyField = ({ value, label, description, mono = true, className }) => {
|
|
|
62
56
|
]
|
|
63
57
|
}
|
|
64
58
|
),
|
|
65
|
-
description && /* @__PURE__ */ jsx(FieldDescription, {
|
|
59
|
+
description && /* @__PURE__ */ jsx(FieldDescription, { children: description })
|
|
66
60
|
] });
|
|
67
61
|
};
|
|
68
62
|
CopyField.displayName = "CopyField";
|
package/dist/CopyField.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CopyField.js","sources":["../lib/components/CopyField/CopyField.tsx"],"sourcesContent":["import { Check, Copy } from 'lucide-react';\nimport type React from 'react';\nimport { useCallback, useEffect, useRef, useState } from 'react';\nimport { cn } from '../../../shadcn/utils';\nimport { Button } from '../Button';\nimport { FieldDescription, FieldLabel } from '../Field';\nimport { Tooltip } from '../Tooltip';\n\n/**\n * Props for the CopyField component\n */\nexport interface CopyFieldProps {\n /** The value shown and copied to the clipboard */\n value: string;\n /** Optional label rendered above the field; omit for a bare copy row */\n label?: React.ReactNode;\n /** Optional helper text rendered below the field */\n description?: React.ReactNode;\n /** Render the value in a monospace font (default: true) */\n mono?: boolean;\n /** Additional CSS classes applied to the field container */\n className?: string;\n}\n\n/**\n * CopyField renders a labeled, read-only value with an integrated copy-to-clipboard button.\n *\n * @example\n * ```tsx\n * <CopyField label=\"API Key\" value=\"sk_live_123\" />\n * ```\n */\nexport const CopyField: React.FC<CopyFieldProps> = ({ value, label, description, mono = true, className }) => {\n const [copied, setCopied] = useState(false);\n const timeoutRef = useRef<ReturnType<typeof setTimeout> | null>(null);\n\n // Clear any pending revert timer on unmount to avoid setting state on an unmounted component\n useEffect(\n () => () => {\n if (timeoutRef.current) {\n clearTimeout(timeoutRef.current);\n }\n },\n [],\n );\n\n // Write the value to the clipboard and briefly show the copied confirmation\n const handleCopy = useCallback(async () => {\n try {\n await navigator.clipboard.writeText(value);\n setCopied(true);\n if (timeoutRef.current) {\n clearTimeout(timeoutRef.current);\n }\n timeoutRef.current = setTimeout(() => setCopied(false), 1500);\n } catch {\n // Clipboard access can be denied or unavailable; fail silently without breaking the UI\n }\n }, [value]);\n\n const ariaLabel = label ? `Copy ${typeof label === 'string' ? label : 'value'}` : 'Copy value';\n\n return (\n <
|
|
1
|
+
{"version":3,"file":"CopyField.js","sources":["../lib/components/CopyField/CopyField.tsx"],"sourcesContent":["import { Check, Copy } from 'lucide-react';\nimport type React from 'react';\nimport { useCallback, useEffect, useRef, useState } from 'react';\nimport { cn } from '../../../shadcn/utils';\nimport { Button } from '../Button';\nimport { Field, FieldDescription, FieldLabel } from '../Field';\nimport { Tooltip } from '../Tooltip';\n\n/**\n * Props for the CopyField component\n */\nexport interface CopyFieldProps {\n /** The value shown and copied to the clipboard */\n value: string;\n /** Optional label rendered above the field; omit for a bare copy row */\n label?: React.ReactNode;\n /** Optional helper text rendered below the field */\n description?: React.ReactNode;\n /** Render the value in a monospace font (default: true) */\n mono?: boolean;\n /** Additional CSS classes applied to the field container */\n className?: string;\n}\n\n/**\n * CopyField renders a labeled, read-only value with an integrated copy-to-clipboard button.\n *\n * @example\n * ```tsx\n * <CopyField label=\"API Key\" value=\"sk_live_123\" />\n * ```\n */\nexport const CopyField: React.FC<CopyFieldProps> = ({ value, label, description, mono = true, className }) => {\n const [copied, setCopied] = useState(false);\n const timeoutRef = useRef<ReturnType<typeof setTimeout> | null>(null);\n\n // Clear any pending revert timer on unmount to avoid setting state on an unmounted component\n useEffect(\n () => () => {\n if (timeoutRef.current) {\n clearTimeout(timeoutRef.current);\n }\n },\n [],\n );\n\n // Write the value to the clipboard and briefly show the copied confirmation\n const handleCopy = useCallback(async () => {\n try {\n await navigator.clipboard.writeText(value);\n setCopied(true);\n if (timeoutRef.current) {\n clearTimeout(timeoutRef.current);\n }\n timeoutRef.current = setTimeout(() => setCopied(false), 1500);\n } catch {\n // Clipboard access can be denied or unavailable; fail silently without breaking the UI\n }\n }, [value]);\n\n const ariaLabel = label ? `Copy ${typeof label === 'string' ? label : 'value'}` : 'Copy value';\n\n return (\n <Field className={className}>\n {label && <FieldLabel>{label}</FieldLabel>}\n <div\n className={cn(\n 'group flex items-center gap-2 rounded-md border border-border bg-secondary pl-3 pr-1 py-1',\n 'transition-colors focus-within:border-ring focus-within:ring-1 focus-within:ring-ring hover:border-ring/60',\n )}\n >\n <span className={cn('min-w-0 flex-1 select-all break-all text-sm', mono && 'font-mono')}>{value}</span>\n <Tooltip content={copied ? 'Copied' : 'Copy'}>\n <Button\n type=\"button\"\n variant=\"ghost\"\n size=\"icon\"\n aria-label={ariaLabel}\n onClick={handleCopy}\n className=\"size-7 shrink-0 text-muted-foreground hover:text-foreground\"\n >\n {copied ? <Check className=\"size-4 text-success\" /> : <Copy className=\"size-4\" />}\n </Button>\n </Tooltip>\n </div>\n {description && <FieldDescription>{description}</FieldDescription>}\n </Field>\n );\n};\n\nCopyField.displayName = 'CopyField';\n"],"names":[],"mappings":";;;;;;;;;AAgCO,MAAM,SAAA,GAAsC,CAAC,EAAE,KAAA,EAAO,OAAO,WAAA,EAAa,IAAA,GAAO,IAAA,EAAM,SAAA,EAAU,KAAM;AAC5G,EAAA,MAAM,CAAC,MAAA,EAAQ,SAAS,CAAA,GAAI,SAAS,KAAK,CAAA;AAC1C,EAAA,MAAM,UAAA,GAAa,OAA6C,IAAI,CAAA;AAGpE,EAAA,SAAA;AAAA,IACE,MAAM,MAAM;AACV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AAAA,cACL,OAAA,EAAQ,OAAA;AAAA,cACR,IAAA,EAAK,MAAA;AAAA,cACL,YAAA,EAAY,SAAA;AAAA,cACZ,OAAA,EAAS,UAAA;AAAA,cACT,SAAA,EAAU,6DAAA;AAAA,cAET,QAAA,EAAA,MAAA,uBAAU,KAAA,EAAA,EAAM,SAAA,EAAU,uBAAsB,CAAA,mBAAK,GAAA,CAAC,IAAA,EAAA,EAAK,SAAA,EAAU,QAAA,EAAS;AAAA;AAAA,WACjF,EACF;AAAA;AAAA;AAAA,KACF;AAAA,IACC,WAAA,oBAAe,GAAA,CAAC,gBAAA,EAAA,EAAkB,QAAA,EAAA,WAAA,EAAY;AAAA,GAAA,EACjD,CAAA;AAEJ;AAEA,SAAA,CAAU,WAAA,GAAc,WAAA;;;;"}
|
|
@@ -1 +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,
|
|
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,CAwD9C,CAAC"}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
export type PlatformBucket = 'web' | 'mobile';
|
|
1
|
+
export type PlatformBucket = 'web' | 'mobile' | 'app';
|
|
2
2
|
export declare const PLATFORMS: PlatformBucket[];
|
|
3
|
+
export type UiPlatformBucket = Exclude<PlatformBucket, 'app'>;
|
|
4
|
+
export declare const UI_PLATFORMS: UiPlatformBucket[];
|
|
3
5
|
export interface PlatformCodes {
|
|
4
6
|
web?: string[];
|
|
5
7
|
mobile?: string[];
|
|
8
|
+
app?: string[];
|
|
6
9
|
}
|
|
7
10
|
export interface PlatformDenyCodes {
|
|
8
11
|
web?: string[] | null;
|
|
9
12
|
mobile?: string[] | null;
|
|
13
|
+
app?: string[] | null;
|
|
10
14
|
}
|
|
11
15
|
export type FeatureUnlocks = Record<string, PlatformCodes>;
|
|
12
16
|
export type FeatureLocks = Record<string, PlatformDenyCodes>;
|
|
@@ -150,6 +154,7 @@ export interface SiteMatrixPermission {
|
|
|
150
154
|
dependsOn: string[];
|
|
151
155
|
web: SiteMatrixCell | null;
|
|
152
156
|
mobile: SiteMatrixCell | null;
|
|
157
|
+
app: SiteMatrixCell | null;
|
|
153
158
|
}
|
|
154
159
|
export interface SiteMatrixFeature {
|
|
155
160
|
code: string;
|
|
@@ -179,7 +184,7 @@ export interface SiteMatrix {
|
|
|
179
184
|
locks: SiteFeatureLocks;
|
|
180
185
|
}
|
|
181
186
|
export type RevokedGrants = Record<string, PlatformDenyCodes>;
|
|
182
|
-
export type ClientPlatform = 'web' | 'ios' | 'android';
|
|
187
|
+
export type ClientPlatform = 'web' | 'ios' | 'android' | 'app';
|
|
183
188
|
export interface LockedPermission {
|
|
184
189
|
code: string;
|
|
185
190
|
reason: LockReason | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog-resolver.d.ts","sourceRoot":"","sources":["../../../lib/types/catalog-resolver.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"catalog-resolver.d.ts","sourceRoot":"","sources":["../../../lib/types/catalog-resolver.ts"],"names":[],"mappings":"AASA,MAAM,MAAM,cAAc,GAAG,KAAK,GAAG,QAAQ,GAAG,KAAK,CAAC;AAEtD,eAAO,MAAM,SAAS,EAAE,cAAc,EAA6B,CAAC;AAGpE,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC;AAE9D,eAAO,MAAM,YAAY,EAAE,gBAAgB,EAAsB,CAAC;AAElE,MAAM,WAAW,aAAa;IAC5B,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC;CAChB;AAED,MAAM,WAAW,iBAAiB;IAChC,GAAG,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IACzB,GAAG,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;CACvB;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,MAA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C;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"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
const PLATFORMS = ["web", "mobile"];
|
|
1
|
+
const PLATFORMS = ["web", "mobile", "app"];
|
|
2
|
+
const UI_PLATFORMS = ["web", "mobile"];
|
|
2
3
|
const SERVICE_CODES = ["GITEA"];
|
|
3
4
|
function snapshotFeatureKey(code, scope) {
|
|
4
5
|
return `${scope}.${code}`;
|
|
5
6
|
}
|
|
6
7
|
const SNAPSHOT_SCHEMA_VERSION = 2;
|
|
7
8
|
|
|
8
|
-
export { PLATFORMS, SERVICE_CODES, SNAPSHOT_SCHEMA_VERSION, snapshotFeatureKey };
|
|
9
|
+
export { PLATFORMS, SERVICE_CODES, SNAPSHOT_SCHEMA_VERSION, UI_PLATFORMS, snapshotFeatureKey };
|
|
9
10
|
//# 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 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":"
|
|
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\n\n/**\n * The surfaces a permission can be granted on.\n *\n * `web` and `mobile` are UI buckets, reached by loading a microfrontend. `app` is an API client\n * signing its own requests — no microfrontend and no route, so a headless feature is grantable\n * there and nowhere else.\n */\nexport type PlatformBucket = 'web' | 'mobile' | 'app';\n\nexport const PLATFORMS: PlatformBucket[] = ['web', 'mobile', 'app'];\n\n/** Buckets that reach their feature through a microfrontend, and so require one to resolve. */\nexport type UiPlatformBucket = Exclude<PlatformBucket, 'app'>;\n\nexport const UI_PLATFORMS: UiPlatformBucket[] = ['web', 'mobile'];\n\nexport interface PlatformCodes {\n web?: string[];\n mobile?: string[];\n app?: string[];\n}\n\nexport interface PlatformDenyCodes {\n web?: string[] | null;\n mobile?: string[] | null;\n app?: 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 app: 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' | 'app';\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":"AAWO,MAAM,SAAA,GAA8B,CAAC,KAAA,EAAO,QAAA,EAAU,KAAK;AAK3D,MAAM,YAAA,GAAmC,CAAC,KAAA,EAAO,QAAQ;AAmDzD,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;;;;"}
|