@pc-nexus/models 0.8.0-next.1 → 0.8.0-next.11

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.
@@ -1,8 +1,11 @@
1
- var NexusAppEnvironment;
2
- (function (NexusAppEnvironment) {
3
- NexusAppEnvironment["Development"] = "development";
4
- NexusAppEnvironment["Production"] = "production";
5
- })(NexusAppEnvironment || (NexusAppEnvironment = {}));
1
+ var EnvironmentType;
2
+ (function (EnvironmentType) {
3
+ EnvironmentType["Development"] = "development";
4
+ EnvironmentType["Production"] = "production";
5
+ EnvironmentType["Staging"] = "staging";
6
+ })(EnvironmentType || (EnvironmentType = {}));
7
+
8
+ const NEXUS_EXTENSION_DATA_CONFIG_CHANGED = "NEXUS_EXTENSION_DATA_CONFIG_CHANGED";
6
9
 
7
10
  const SUPPORTED_LOCALE_CODES = ["zh-CN", "en-US"];
8
11
 
@@ -50,13 +53,31 @@ var WorkitemTypeGroup;
50
53
  WorkitemTypeGroup[WorkitemTypeGroup["Plan"] = 5] = "Plan";
51
54
  })(WorkitemTypeGroup || (WorkitemTypeGroup = {}));
52
55
 
53
- /*
54
- * Public API Surface of models
55
- */
56
+ const NX_BUTTON_TYPE = ["primary", "info", "danger", "warning", "success"];
57
+ const NX_BUTTON_GROUP_TYPE = ["primary", "outline-default", "outline-primary"];
58
+
59
+ const NX_HEADING_AS = ["h1", "h2", "h3", "h4", "h5", "h6"];
60
+
61
+ const NX_ICON_TYPE = ["outline", "fill"];
62
+
63
+ const NX_NAV_TYPE = ["pulled", "tabs", "pills", "lite", "card"];
64
+ const NX_NAV_HORIZONTAL = ["start", "center", "end"];
65
+
66
+ const NX_SIZE = ["small", "medium", "large"];
67
+
68
+ const NX_TABS_TYPE = ["pulled", "tabs", "pills", "lite"];
69
+
70
+ const NX_TAG_COLOR = ["default", "primary", "success", "info", "warning", "danger"];
71
+ const NX_TAG_APPEARANCE = ["fill", "outline", "subtle"];
72
+ const NX_TAG_SHAPE = ["pill", "rectangle"];
73
+
74
+ const NX_TEXT_AS = ["em", "p", "span", "strong", "strike"];
75
+ const NX_TEXT_ALIGN = ["center", "start", "end"];
76
+ const NX_TEXT_WEIGHT = ["bold", "medium", "regular", "semibold"];
56
77
 
57
78
  /**
58
79
  * Generated bundle index. Do not edit.
59
80
  */
60
81
 
61
- export { HOST_DISPATCH_NATIVE_UI_EVENT, HistoryAction, NEXUS_CONFIG_READY_EVENT, NEXUS_CONTENT_CHANGE_EVENT, NEXUS_CONTENT_UPDATE_EVENT, NavigationTarget, NexusAppEnvironment, NotifyType, SUPPORTED_LOCALE_CODES, WorkitemTypeGroup };
82
+ export { EnvironmentType, HOST_DISPATCH_NATIVE_UI_EVENT, HistoryAction, NEXUS_CONFIG_READY_EVENT, NEXUS_CONTENT_CHANGE_EVENT, NEXUS_CONTENT_UPDATE_EVENT, NEXUS_EXTENSION_DATA_CONFIG_CHANGED, NX_BUTTON_GROUP_TYPE, NX_BUTTON_TYPE, NX_HEADING_AS, NX_ICON_TYPE, NX_NAV_HORIZONTAL, NX_NAV_TYPE, NX_SIZE, NX_TABS_TYPE, NX_TAG_APPEARANCE, NX_TAG_COLOR, NX_TAG_SHAPE, NX_TEXT_ALIGN, NX_TEXT_AS, NX_TEXT_WEIGHT, NavigationTarget, NotifyType, SUPPORTED_LOCALE_CODES, WorkitemTypeGroup };
62
83
  //# sourceMappingURL=pc-nexus-models.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"pc-nexus-models.mjs","sources":["../../../../web/models/src/environment.ts","../../../../web/models/src/locale.ts","../../../../web/models/src/navigation.ts","../../../../web/models/src/notify.ts","../../../../web/models/src/richtext.ts","../../../../web/models/src/v-dom.ts","../../../../web/models/src/view.ts","../../../../web/models/src/workitem.ts","../../../../web/models/src/public-api.ts","../../../../web/models/src/pc-nexus-models.ts"],"sourcesContent":["export enum NexusAppEnvironment {\n Development = \"development\",\n Production = \"production\",\n}\n","export const SUPPORTED_LOCALE_CODES = [\"zh-CN\", \"en-US\"] as const;\n\nexport type SupportedLocaleCode = (typeof SUPPORTED_LOCALE_CODES)[number];\n\nexport interface Translator {\n translate: (key: string, params?: Record<string, any>) => TranslationsResourceContent | string;\n}\nexport interface GetTranslationsResult {\n locale: SupportedLocaleCode;\n translations: TranslationsResourceContent | null;\n}\n\nexport interface TranslationsResourceContent {\n [key: string]: string | TranslationsResourceContent;\n}\n","export enum NavigationTarget {\n Workitem = \"workitem\",\n Testcase = \"testcase\",\n Page = \"page\",\n Idea = \"idea\",\n Ticket = \"ticket\",\n Project = \"project\",\n Library = \"library\",\n Space = \"space\",\n Product = \"product\",\n}\n\ninterface NavigationTargetParams {\n target: NavigationTarget;\n id: string;\n}\n\nexport type NavigationLocation = NavigationTargetParams;\n","export enum NotifyType {\n Success = \"success\",\n Error = \"error\",\n Warning = \"warning\",\n Info = \"info\",\n}\n\nexport interface NotifyOptions {\n type: NotifyType;\n title?: string;\n description?: string;\n detail?: string | NotifyDetail;\n actions?: NotifyAction[];\n isAutoClose?: boolean;\n}\n\nexport interface NotifyRef {\n readonly close: () => void;\n}\n\nexport interface NotifyDetail {\n link?: string;\n content?: string;\n}\n\nexport interface NotifyAction {\n text: string;\n icon?: string;\n onClick: (event?: Event) => void;\n}\n","export const NEXUS_CONTENT_UPDATE_EVENT = \"nexus:content:update\";\nexport const NEXUS_CONTENT_CHANGE_EVENT = \"nexus:content:change\";\nexport const NEXUS_CONFIG_READY_EVENT = \"nexus:config:ready\";\n\nexport interface RichtextText {\n text: string;\n [key: string]: unknown;\n}\n\nexport interface RichtextElement {\n type: string;\n children: (RichtextDescendant | RichtextText)[];\n [key: string]: unknown;\n}\n\nexport type RichtextDescendant = RichtextElement;\nexport type RichtextContent = RichtextDescendant[];\n\nexport interface RichtextRendererRef {\n readonly iframe: HTMLIFrameElement;\n readonly update: (content: RichtextContent) => void;\n}\n\nexport interface RichtextEditorRef extends RichtextRendererRef {\n readonly destroy: () => void;\n}\n\nexport interface RichtextRendererOptions {\n content?: RichtextContent;\n}\n\nexport interface RichtextEditorOptions extends RichtextRendererOptions {\n onContentChange?: (content: RichtextContent) => void;\n}\n\nexport interface RichtextBridgeMessage {\n type: string;\n content?: any;\n timestamp?: number;\n source?: string;\n readonly?: boolean;\n}\n","export interface VirtualNodeSnapshot {\n kind: string;\n id: number;\n tagName?: string;\n namespace?: string | null;\n value?: string;\n attributes?: Record<string, string>;\n classes?: string[];\n styles?: Record<string, VirtualStyle>;\n properties?: Record<string, unknown>;\n listeners?: VirtualListener[];\n children?: VirtualNodeSnapshot[];\n}\n\nexport interface ReconcilePayload {\n version: number;\n snapshot: VirtualNodeSnapshot;\n}\n\nexport interface VirtualStyle {\n value: string;\n flags?: number;\n}\n\nexport interface VirtualListener {\n name: string;\n id: string;\n options?: unknown;\n}\n\nexport interface DispatchEventPayload {\n id: string;\n name: string;\n nodeId: number;\n /** 组件 output 等场景下的回调参数(如 Switch 的 checked 值) */\n detail?: unknown;\n}\n\n/** Host → Child:派发虚拟 DOM 节点事件 */\nexport const HOST_DISPATCH_NATIVE_UI_EVENT = \"hostDispatchToNativeUiEvent\";\n","export enum HistoryAction {\n Pop = \"POP\",\n Push = \"PUSH\",\n Replace = \"REPLACE\",\n}\n\nexport interface HistoryPath {\n pathname: string;\n search: string;\n hash: string;\n}\n\nexport type HistoryTo = string | Partial<HistoryPath>;\n\nexport type HistoryState = unknown;\n\nexport interface HistoryLocation extends HistoryPath {\n state: HistoryState;\n}\n\nexport interface HistoryUpdate {\n action: HistoryAction;\n location: HistoryLocation;\n}\n\nexport interface HistoryListener {\n (update: HistoryUpdate): void;\n}\n\nexport type UnlistenCallback = () => void;\n\nexport interface NexusHistory {\n action: HistoryAction;\n location: HistoryLocation;\n push(to: HistoryTo, state?: HistoryState): void;\n replace(to: HistoryTo, state?: HistoryState): void;\n go(delta: number): void;\n back(): void;\n forward(): void;\n listen(listener: HistoryListener): Promise<UnlistenCallback>;\n}\n","export enum WorkitemTypeGroup {\n Requirement = 1,\n Task = 2,\n Bug = 3,\n Issue = 4,\n Plan = 5,\n}\n\nexport interface Workitem {\n id: string;\n short_id: string;\n identifier: string;\n title: string;\n type_group?: WorkitemTypeGroup;\n type_id?: string;\n}\n\nexport interface WorkitemOpenCreateOptions {\n defaultValues?: {\n title?: string;\n project_id?: string;\n description?: string;\n };\n onSuccess?: (payload: Workitem) => void;\n}\n","/*\n * Public API Surface of models\n */\n\nexport * from \"./api\";\nexport * from \"./baseline\";\nexport * from \"./condition\";\nexport * from \"./context\";\nexport * from \"./dialog\";\nexport * from \"./environment\";\nexport * from \"./events\";\nexport * from \"./extension\";\nexport * from \"./idea\";\nexport * from \"./invoke\";\nexport * from \"./locale\";\nexport * from \"./navigation\";\nexport * from \"./notify\";\nexport * from \"./page\";\nexport * from \"./processor\";\nexport * from \"./remote\";\nexport * from \"./richtext\";\nexport * from \"./store\";\nexport * from \"./testcase\";\nexport * from \"./ticket\";\nexport * from \"./user\";\nexport * from \"./v-dom\";\nexport * from \"./view\";\nexport * from \"./viewport\";\nexport * from \"./workitem\";\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"IAAY;AAAZ,CAAA,UAAY,mBAAmB,EAAA;AAC3B,IAAA,mBAAA,CAAA,aAAA,CAAA,GAAA,aAA2B;AAC3B,IAAA,mBAAA,CAAA,YAAA,CAAA,GAAA,YAAyB;AAC7B,CAAC,EAHW,mBAAmB,KAAnB,mBAAmB,GAAA,EAAA,CAAA,CAAA;;MCAlB,sBAAsB,GAAG,CAAC,OAAO,EAAE,OAAO;;ICA3C;AAAZ,CAAA,UAAY,gBAAgB,EAAA;AACxB,IAAA,gBAAA,CAAA,UAAA,CAAA,GAAA,UAAqB;AACrB,IAAA,gBAAA,CAAA,UAAA,CAAA,GAAA,UAAqB;AACrB,IAAA,gBAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACb,IAAA,gBAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACb,IAAA,gBAAA,CAAA,QAA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iBAAA,CAAA,iBAAA,CAAA,OAAA,CAAA,GAAA,CAAA,CAAA,GAAA,OAAS;AACT,IAAA,iBAAA,CAAA,iBAAA,CAAA,MAAA,CAAA,GAAA,CAAA,CAAA,GAAA,MAAQ;AACZ,CAAC,EANW,iBAAiB,KAAjB,iBAAiB,GAAA,EAAA,CAAA,CAAA;;ACA7B;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"pc-nexus-models.mjs","sources":["../../../../web/models/src/environment.ts","../../../../web/models/src/events.ts","../../../../web/models/src/locale.ts","../../../../web/models/src/navigation.ts","../../../../web/models/src/notify.ts","../../../../web/models/src/richtext.ts","../../../../web/models/src/v-dom.ts","../../../../web/models/src/view.ts","../../../../web/models/src/workitem.ts","../../../../web/models/src/components/button.ts","../../../../web/models/src/components/heading.ts","../../../../web/models/src/components/icon.ts","../../../../web/models/src/components/nav.ts","../../../../web/models/src/components/size.ts","../../../../web/models/src/components/tabs.ts","../../../../web/models/src/components/tag.ts","../../../../web/models/src/components/text.ts","../../../../web/models/src/pc-nexus-models.ts"],"sourcesContent":["export enum EnvironmentType {\n Development = \"development\",\n\n Production = \"production\",\n\n Staging = \"staging\",\n}\n","export const NEXUS_EXTENSION_DATA_CONFIG_CHANGED = \"NEXUS_EXTENSION_DATA_CONFIG_CHANGED\";\n\nexport interface Subscription {\n unsubscribe: () => void;\n}\n","export const SUPPORTED_LOCALE_CODES = [\"zh-CN\", \"en-US\"] as const;\n\nexport type SupportedLocaleCode = (typeof SUPPORTED_LOCALE_CODES)[number];\n\nexport interface Translator {\n translate: (key: string, params?: Record<string, any>) => TranslationsResourceContent | string;\n}\nexport interface GetTranslationsResult {\n locale: SupportedLocaleCode;\n translations: TranslationsResourceContent | null;\n}\n\nexport interface TranslationsResourceContent {\n [key: string]: string | TranslationsResourceContent;\n}\n","export enum NavigationTarget {\n Workitem = \"workitem\",\n Testcase = \"testcase\",\n Page = \"page\",\n Idea = \"idea\",\n Ticket = \"ticket\",\n Project = \"project\",\n Library = \"library\",\n Space = \"space\",\n Product = \"product\",\n}\n\ninterface NavigationTargetParams {\n target: NavigationTarget;\n id: string;\n}\n\nexport type NavigationLocation = NavigationTargetParams;\n","export enum NotifyType {\n Success = \"success\",\n Error = \"error\",\n Warning = \"warning\",\n Info = \"info\",\n}\n\nexport interface NotifyOptions {\n type: NotifyType;\n title?: string;\n description?: string;\n detail?: string | NotifyDetail;\n actions?: NotifyAction[];\n isAutoClose?: boolean;\n}\n\nexport interface NotifyRef {\n readonly close: () => void;\n}\n\nexport interface NotifyDetail {\n link?: string;\n content?: string;\n}\n\nexport interface NotifyAction {\n text: string;\n icon?: string;\n onClick: (event?: Event) => void;\n}\n","export const NEXUS_CONTENT_UPDATE_EVENT = \"nexus:content:update\";\nexport const NEXUS_CONTENT_CHANGE_EVENT = \"nexus:content:change\";\nexport const NEXUS_CONFIG_READY_EVENT = \"nexus:config:ready\";\n\nexport interface RichtextText {\n text: string;\n [key: string]: unknown;\n}\n\nexport interface RichtextElement {\n type: string;\n children: (RichtextDescendant | RichtextText)[];\n [key: string]: unknown;\n}\n\nexport type RichtextDescendant = RichtextElement;\nexport type RichtextContent = RichtextDescendant[];\n\nexport interface RichtextRendererRef {\n readonly iframe: HTMLIFrameElement;\n readonly update: (content: RichtextContent) => void;\n}\n\nexport interface RichtextEditorRef extends RichtextRendererRef {\n readonly destroy: () => void;\n}\n\nexport interface RichtextRendererOptions {\n content?: RichtextContent;\n}\n\nexport interface RichtextEditorOptions extends RichtextRendererOptions {\n onContentChange?: (content: RichtextContent) => void;\n}\n\nexport interface RichtextBridgeMessage {\n type: string;\n content?: any;\n timestamp?: number;\n source?: string;\n readonly?: boolean;\n}\n","export interface VirtualNodeSnapshot {\n kind: string;\n id: number;\n tagName?: string;\n namespace?: string | null;\n value?: string;\n attributes?: Record<string, string>;\n classes?: string[];\n styles?: Record<string, VirtualStyle>;\n properties?: Record<string, unknown>;\n listeners?: VirtualListener[];\n children?: VirtualNodeSnapshot[];\n /**\n * Host 侧投影复用:父组件含 ng-content 时预创建的 DOM 节点(元素宿主或文本)。\n */\n hostNode?: Node;\n}\n\nexport interface SupportedFrontendFramework {\n name: \"react\" | \"angular\";\n version: string;\n}\n\nexport interface ReconcilePayload {\n version: number;\n snapshot: VirtualNodeSnapshot;\n}\n\nexport interface VirtualStyle {\n value: string;\n flags?: number;\n}\n\nexport interface VirtualListener {\n name: string;\n id: string;\n options?: unknown;\n}\n\nexport interface SerialisableEvent {\n bubbles: boolean;\n cancelable: boolean;\n defaultPrevented: boolean;\n eventPhase: number;\n isTrusted: boolean;\n target: {\n selectionStart?: number | null;\n selectionEnd?: number | null;\n value?: any;\n checked?: boolean;\n name?: string;\n id?: string;\n tagName?: string;\n type?: string;\n };\n timeStamp: number;\n type: string;\n}\n\nexport interface DispatchEventPayload {\n id: string;\n name: string;\n nodeId: number;\n detail?: SerialisableEvent | unknown;\n}\n\n/** Host → Child:派发虚拟 DOM 节点事件 */\nexport const HOST_DISPATCH_NATIVE_UI_EVENT = \"hostDispatchToNativeUiEvent\";\n","export enum HistoryAction {\n Pop = \"POP\",\n Push = \"PUSH\",\n Replace = \"REPLACE\",\n}\n\nexport interface HistoryPath {\n pathname: string;\n search: string;\n hash: string;\n}\n\nexport type HistoryTo = string | Partial<HistoryPath>;\n\nexport type HistoryState = unknown;\n\nexport interface HistoryLocation extends HistoryPath {\n state: HistoryState;\n}\n\nexport interface HistoryUpdate {\n action: HistoryAction;\n location: HistoryLocation;\n}\n\nexport interface HistoryListener {\n (update: HistoryUpdate): void;\n}\n\nexport type UnlistenCallback = () => void;\n\nexport interface NexusHistory {\n action: HistoryAction;\n location: HistoryLocation;\n push(to: HistoryTo, state?: HistoryState): void;\n replace(to: HistoryTo, state?: HistoryState): void;\n go(delta: number): void;\n back(): void;\n forward(): void;\n listen(listener: HistoryListener): Promise<UnlistenCallback>;\n}\n","export enum WorkitemTypeGroup {\n Requirement = 1,\n Task = 2,\n Bug = 3,\n Issue = 4,\n Plan = 5,\n}\n\nexport interface Workitem {\n id: string;\n short_id: string;\n identifier: string;\n title: string;\n type_group?: WorkitemTypeGroup;\n type_id?: string;\n}\n\nexport interface WorkitemOpenCreateOptions {\n defaultValues?: {\n title?: string;\n project_id?: string;\n description?: string;\n };\n onSuccess?: (payload: Workitem) => void;\n}\n","import type { NxSize } from \"./size\";\n\nexport const NX_BUTTON_TYPE = [\"primary\", \"info\", \"danger\", \"warning\", \"success\"] as const;\n\nexport type NxButtonType = (typeof NX_BUTTON_TYPE)[number];\n\nexport interface NxButtonInputs {\n type?: NxButtonType;\n size?: NxSize;\n icon?: string;\n block?: boolean;\n disabled?: boolean;\n}\n\nexport const NX_BUTTON_GROUP_TYPE = [\"primary\", \"outline-default\", \"outline-primary\"] as const;\n\nexport type NxButtonGroupType = (typeof NX_BUTTON_GROUP_TYPE)[number];\n\nexport interface NxButtonGroupInputs {\n size?: NxSize;\n type?: NxButtonGroupType;\n}\n","export const NX_HEADING_AS = [\"h1\", \"h2\", \"h3\", \"h4\", \"h5\", \"h6\"] as const;\n\nexport type NxHeadingAs = (typeof NX_HEADING_AS)[number];\n\nexport interface NxHeadingInputs {\n as?: NxHeadingAs;\n id?: string;\n}\n","export const NX_ICON_TYPE = [\"outline\", \"fill\"] as const;\n\nexport type NxIconType = (typeof NX_ICON_TYPE)[number];\n\nexport interface NxIconInputs {\n name: string;\n type?: NxIconType;\n rotate?: number;\n}\n","import { NxSize } from \"./size\";\n\nexport const NX_NAV_TYPE = [\"pulled\", \"tabs\", \"pills\", \"lite\", \"card\"] as const;\n\nexport type NxNavType = (typeof NX_NAV_TYPE)[number];\n\nexport const NX_NAV_HORIZONTAL = [\"start\", \"center\", \"end\"] as const;\n\nexport type NxNavHorizontal = (typeof NX_NAV_HORIZONTAL)[number];\n\nexport interface NxNavInputs {\n type?: NxNavType;\n size?: NxSize;\n horizontal?: NxNavHorizontal;\n responsive?: boolean;\n}\n\nexport interface NxNavItemInputs {\n active?: boolean;\n disabled?: boolean;\n}\n","export const NX_SIZE = [\"small\", \"medium\", \"large\"] as const;\n\nexport type NxSize = (typeof NX_SIZE)[number];\n","import type { NxSize } from \"./size\";\n\nexport const NX_TABS_TYPE = [\"pulled\", \"tabs\", \"pills\", \"lite\"] as const;\n\nexport type NxTabsType = (typeof NX_TABS_TYPE)[number];\n\nexport type NxActiveTab = number;\n\nexport interface NxTabsInputs {\n type?: NxTabsType;\n size?: NxSize;\n activeTab?: NxActiveTab;\n animated?: boolean;\n responsive?: boolean;\n}\n\nexport interface NxTabInputs {\n title?: string;\n disabled?: boolean;\n}\n","import type { NxSize } from \"./size\";\n\nexport const NX_TAG_COLOR = [\"default\", \"primary\", \"success\", \"info\", \"warning\", \"danger\"] as const;\n\nexport type NxTagColor = (typeof NX_TAG_COLOR)[number];\n\nexport const NX_TAG_APPEARANCE = [\"fill\", \"outline\", \"subtle\"] as const;\n\nexport type NxTagAppearance = (typeof NX_TAG_APPEARANCE)[number];\n\nexport const NX_TAG_SHAPE = [\"pill\", \"rectangle\"] as const;\n\nexport type NxTagShape = (typeof NX_TAG_SHAPE)[number];\n\nexport interface NxTagInputs {\n color?: NxTagColor | (string & {});\n appearance?: NxTagAppearance;\n size?: NxSize;\n shape?: NxTagShape;\n hoverable?: boolean;\n}\n","export const NX_TEXT_AS = [\"em\", \"p\", \"span\", \"strong\", \"strike\"] as const;\n\nexport type NxTextAs = (typeof NX_TEXT_AS)[number];\n\nexport const NX_TEXT_ALIGN = [\"center\", \"start\", \"end\"] as const;\n\nexport type NxTextAlign = (typeof NX_TEXT_ALIGN)[number];\n\nexport const NX_TEXT_WEIGHT = [\"bold\", \"medium\", \"regular\", \"semibold\"] as const;\n\nexport type NxTextWeight = (typeof NX_TEXT_WEIGHT)[number];\n\nexport interface NxTextInputs {\n as?: NxTextAs;\n align?: NxTextAlign;\n weight?: NxTextWeight;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"IAAY;AAAZ,CAAA,UAAY,eAAe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,MAAM,OAAO,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO;;ACE3C,MAAM,YAAY,GAAG,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM;;ACAvD,MAAM,YAAY,GAAG,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ;AAIlF,MAAM,iBAAiB,GAAG,CAAC,MAAM,EAAE,SAAS,EAAE,QAAQ;MAIhD,YAAY,GAAG,CAAC,MAAM,EAAE,WAAW;;ACVzC,MAAM,UAAU,GAAG,CAAC,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ;AAIzD,MAAM,aAAa,GAAG,CAAC,QAAQ,EAAE,OAAO,EAAE,KAAK;AAI/C,MAAM,cAAc,GAAG,CAAC,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU;;ACRtE;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,8 @@
1
1
  {
2
2
  "name": "@pc-nexus/models",
3
- "version": "0.8.0-next.1",
3
+ "version": "0.8.0-next.11",
4
+ "main": "src/public-api.ts",
5
+ "types": "src/public-api.ts",
4
6
  "peerDependencies": {},
5
7
  "dependencies": {
6
8
  "tslib": "^2.3.0"
@@ -23,9 +23,10 @@ interface Conditions {
23
23
  [path: string]: ConditionValue | Conditions | undefined;
24
24
  }
25
25
 
26
- declare enum NexusAppEnvironment {
26
+ declare enum EnvironmentType {
27
27
  Development = "development",
28
- Production = "production"
28
+ Production = "production",
29
+ Staging = "staging"
29
30
  }
30
31
 
31
32
  declare const SUPPORTED_LOCALE_CODES: readonly ["zh-CN", "en-US"];
@@ -49,7 +50,7 @@ interface NexusAppContext<T = ExtensionData> {
49
50
  };
50
51
  environment: {
51
52
  id: string;
52
- type: NexusAppEnvironment;
53
+ type: EnvironmentType;
53
54
  };
54
55
  team: {
55
56
  id: string;
@@ -99,6 +100,7 @@ interface DialogConfirmOptions {
99
100
  onCancel?: () => void;
100
101
  }
101
102
 
103
+ declare const NEXUS_EXTENSION_DATA_CONFIG_CHANGED = "NEXUS_EXTENSION_DATA_CONFIG_CHANGED";
102
104
  interface Subscription {
103
105
  unsubscribe: () => void;
104
106
  }
@@ -109,12 +111,13 @@ interface ExtensionProperties<T extends Conditions = Conditions> {
109
111
  function: string;
110
112
  };
111
113
  resource: string;
112
- render?: string;
114
+ native_resources?: string[];
113
115
  resource_upload_id: string;
114
116
  title: string;
115
117
  icon?: string;
116
118
  viewport?: Viewport;
117
119
  display?: T;
120
+ emitReadyEvent?: boolean;
118
121
  }
119
122
  interface EgressItem {
120
123
  addresses: string[];
@@ -129,10 +132,11 @@ interface NexusAppExtension<T extends ExtensionProperties = ExtensionProperties>
129
132
  extension_id: string;
130
133
  environment_id: string;
131
134
  environment_key: string;
132
- environment_type: NexusAppEnvironment;
135
+ environment_type: EnvironmentType;
133
136
  installation_id: string;
134
137
  properties: T;
135
138
  egress?: EgressItem[];
139
+ fetch_client_addresses?: string[];
136
140
  resource_ports?: Record<string, number>;
137
141
  }
138
142
 
@@ -392,6 +396,14 @@ interface VirtualNodeSnapshot {
392
396
  properties?: Record<string, unknown>;
393
397
  listeners?: VirtualListener[];
394
398
  children?: VirtualNodeSnapshot[];
399
+ /**
400
+ * Host 侧投影复用:父组件含 ng-content 时预创建的 DOM 节点(元素宿主或文本)。
401
+ */
402
+ hostNode?: Node;
403
+ }
404
+ interface SupportedFrontendFramework {
405
+ name: "react" | "angular";
406
+ version: string;
395
407
  }
396
408
  interface ReconcilePayload {
397
409
  version: number;
@@ -406,12 +418,30 @@ interface VirtualListener {
406
418
  id: string;
407
419
  options?: unknown;
408
420
  }
421
+ interface SerialisableEvent {
422
+ bubbles: boolean;
423
+ cancelable: boolean;
424
+ defaultPrevented: boolean;
425
+ eventPhase: number;
426
+ isTrusted: boolean;
427
+ target: {
428
+ selectionStart?: number | null;
429
+ selectionEnd?: number | null;
430
+ value?: any;
431
+ checked?: boolean;
432
+ name?: string;
433
+ id?: string;
434
+ tagName?: string;
435
+ type?: string;
436
+ };
437
+ timeStamp: number;
438
+ type: string;
439
+ }
409
440
  interface DispatchEventPayload {
410
441
  id: string;
411
442
  name: string;
412
443
  nodeId: number;
413
- /** 组件 output 等场景下的回调参数(如 Switch 的 checked 值) */
414
- detail?: unknown;
444
+ detail?: SerialisableEvent | unknown;
415
445
  }
416
446
  /** Host → Child:派发虚拟 DOM 节点事件 */
417
447
  declare const HOST_DISPATCH_NATIVE_UI_EVENT = "hostDispatchToNativeUiEvent";
@@ -474,5 +504,149 @@ interface WorkitemOpenCreateOptions {
474
504
  onSuccess?: (payload: Workitem) => void;
475
505
  }
476
506
 
477
- export { HOST_DISPATCH_NATIVE_UI_EVENT, HistoryAction, NEXUS_CONFIG_READY_EVENT, NEXUS_CONTENT_CHANGE_EVENT, NEXUS_CONTENT_UPDATE_EVENT, NavigationTarget, NexusAppEnvironment, NotifyType, SUPPORTED_LOCALE_CODES, WorkitemTypeGroup };
478
- export type { ApiInvokeOptions, Baseline, ConditionPrimitive, ConditionValue, Conditions, DialogConfirmOptions, DialogOpenOptions, DialogRef, DispatchEventPayload, DownloadResult, EgressItem, ExtensionData, ExtensionProperties, GetMetadataResult, GetTranslationsResult, HistoryListener, HistoryLocation, HistoryPath, HistoryState, HistoryTo, HistoryUpdate, Idea, IdeaOpenCreateOptions, InvokeFunctionParams, InvokeResponseData, MultipleUserOpenPopoverOptions, NavigationLocation, NexusAppContext, NexusAppExtension, NexusHistory, NotifyAction, NotifyDetail, NotifyOptions, NotifyRef, Page, PageOpenCreateOptions, ProcessOptions, ProcessRef, ReconcilePayload, RemoteInvokeOptions, RemoteRequestBody, RemoteRequestOptions, RemoteRequestPayload, RemoteRequestResponseData, RemoteRequestSerializedInit, RemoteSerializedBlob, RemoteSerializedFormDataEntry, RichtextBridgeMessage, RichtextContent, RichtextDescendant, RichtextEditorOptions, RichtextEditorRef, RichtextElement, RichtextRendererOptions, RichtextRendererRef, RichtextText, SingleUserOpenPopoverOptions, Subscription, SupportedLocaleCode, Testcase, TestcaseOpenCreateOptions, Ticket, TicketOpenCreateOptions, TranslationsResourceContent, Translator, UnlistenCallback, UploadResult, UserInfo, UserOpenDialogOptions, UserOpenDialogRef, UserOpenPopoverOptions, UserOpenPopoverRef, Viewport, ViewportSize, VirtualListener, VirtualNodeSnapshot, VirtualStyle, Workitem, WorkitemOpenCreateOptions };
507
+ interface NxBoxInputs {
508
+ role?: string;
509
+ }
510
+
511
+ declare const NX_SIZE: readonly ["small", "medium", "large"];
512
+ type NxSize = (typeof NX_SIZE)[number];
513
+
514
+ declare const NX_BUTTON_TYPE: readonly ["primary", "info", "danger", "warning", "success"];
515
+ type NxButtonType = (typeof NX_BUTTON_TYPE)[number];
516
+ interface NxButtonInputs {
517
+ type?: NxButtonType;
518
+ size?: NxSize;
519
+ icon?: string;
520
+ block?: boolean;
521
+ disabled?: boolean;
522
+ }
523
+ declare const NX_BUTTON_GROUP_TYPE: readonly ["primary", "outline-default", "outline-primary"];
524
+ type NxButtonGroupType = (typeof NX_BUTTON_GROUP_TYPE)[number];
525
+ interface NxButtonGroupInputs {
526
+ size?: NxSize;
527
+ type?: NxButtonGroupType;
528
+ }
529
+
530
+ interface NxCodeInputs {
531
+ text?: string;
532
+ }
533
+ interface NxCodeBlockInputs {
534
+ text?: string;
535
+ language?: string;
536
+ showLineNumbers?: boolean;
537
+ autoWrap?: boolean;
538
+ }
539
+
540
+ declare const NX_HEADING_AS: readonly ["h1", "h2", "h3", "h4", "h5", "h6"];
541
+ type NxHeadingAs = (typeof NX_HEADING_AS)[number];
542
+ interface NxHeadingInputs {
543
+ as?: NxHeadingAs;
544
+ id?: string;
545
+ }
546
+
547
+ declare const NX_ICON_TYPE: readonly ["outline", "fill"];
548
+ type NxIconType = (typeof NX_ICON_TYPE)[number];
549
+ interface NxIconInputs {
550
+ name: string;
551
+ type?: NxIconType;
552
+ rotate?: number;
553
+ }
554
+
555
+ interface NxInputInputs {
556
+ size?: NxSize;
557
+ }
558
+
559
+ interface NxLinkInputs {
560
+ href?: string;
561
+ openNewTab?: boolean;
562
+ disabled?: boolean;
563
+ }
564
+
565
+ declare const NX_NAV_TYPE: readonly ["pulled", "tabs", "pills", "lite", "card"];
566
+ type NxNavType = (typeof NX_NAV_TYPE)[number];
567
+ declare const NX_NAV_HORIZONTAL: readonly ["start", "center", "end"];
568
+ type NxNavHorizontal = (typeof NX_NAV_HORIZONTAL)[number];
569
+ interface NxNavInputs {
570
+ type?: NxNavType;
571
+ size?: NxSize;
572
+ horizontal?: NxNavHorizontal;
573
+ responsive?: boolean;
574
+ }
575
+ interface NxNavItemInputs {
576
+ active?: boolean;
577
+ disabled?: boolean;
578
+ }
579
+
580
+ declare const NX_TABS_TYPE: readonly ["pulled", "tabs", "pills", "lite"];
581
+ type NxTabsType = (typeof NX_TABS_TYPE)[number];
582
+ type NxActiveTab = number;
583
+ interface NxTabsInputs {
584
+ type?: NxTabsType;
585
+ size?: NxSize;
586
+ activeTab?: NxActiveTab;
587
+ animated?: boolean;
588
+ responsive?: boolean;
589
+ }
590
+ interface NxTabInputs {
591
+ title?: string;
592
+ disabled?: boolean;
593
+ }
594
+
595
+ declare const NX_TAG_COLOR: readonly ["default", "primary", "success", "info", "warning", "danger"];
596
+ type NxTagColor = (typeof NX_TAG_COLOR)[number];
597
+ declare const NX_TAG_APPEARANCE: readonly ["fill", "outline", "subtle"];
598
+ type NxTagAppearance = (typeof NX_TAG_APPEARANCE)[number];
599
+ declare const NX_TAG_SHAPE: readonly ["pill", "rectangle"];
600
+ type NxTagShape = (typeof NX_TAG_SHAPE)[number];
601
+ interface NxTagInputs {
602
+ color?: NxTagColor | (string & {});
603
+ appearance?: NxTagAppearance;
604
+ size?: NxSize;
605
+ shape?: NxTagShape;
606
+ hoverable?: boolean;
607
+ }
608
+
609
+ declare const NX_TEXT_AS: readonly ["em", "p", "span", "strong", "strike"];
610
+ type NxTextAs = (typeof NX_TEXT_AS)[number];
611
+ declare const NX_TEXT_ALIGN: readonly ["center", "start", "end"];
612
+ type NxTextAlign = (typeof NX_TEXT_ALIGN)[number];
613
+ declare const NX_TEXT_WEIGHT: readonly ["bold", "medium", "regular", "semibold"];
614
+ type NxTextWeight = (typeof NX_TEXT_WEIGHT)[number];
615
+ interface NxTextInputs {
616
+ as?: NxTextAs;
617
+ align?: NxTextAlign;
618
+ weight?: NxTextWeight;
619
+ }
620
+
621
+ type RealtimeOptions = {
622
+ scope?: "self" | "global";
623
+ } | {
624
+ scope: "context";
625
+ context: RealtimeContext;
626
+ } | {
627
+ scope: "token";
628
+ token: string;
629
+ };
630
+ type RealtimePublishOptions = RealtimeOptions;
631
+ type RealtimeSubscribeOptions = RealtimeOptions;
632
+ type RealtimeScope = "self" | "global" | "token" | "context";
633
+ interface RealtimePublishResult {
634
+ message_id: string;
635
+ }
636
+ type RealtimeContext = "project" | "workitem" | "sprint" | "product" | "idea" | "ticket" | "space" | "page" | "library" | "testcase" | "testplan" | "baseline" | "release" | "plan" | "widget" | "dashboard" | "entry";
637
+ interface RealtimeSubscribeCallback<TPayload = unknown> {
638
+ (payload?: TPayload): void;
639
+ }
640
+ interface RealtimeSubscribeParams<TPayload = unknown> {
641
+ channel: string;
642
+ callback: RealtimeSubscribeCallback<TPayload>;
643
+ options?: RealtimeSubscribeOptions;
644
+ }
645
+ interface RealtimePublishParams<TPayload> {
646
+ channel: string;
647
+ payload: TPayload;
648
+ options?: RealtimePublishOptions;
649
+ }
650
+
651
+ export { EnvironmentType, HOST_DISPATCH_NATIVE_UI_EVENT, HistoryAction, NEXUS_CONFIG_READY_EVENT, NEXUS_CONTENT_CHANGE_EVENT, NEXUS_CONTENT_UPDATE_EVENT, NEXUS_EXTENSION_DATA_CONFIG_CHANGED, NX_BUTTON_GROUP_TYPE, NX_BUTTON_TYPE, NX_HEADING_AS, NX_ICON_TYPE, NX_NAV_HORIZONTAL, NX_NAV_TYPE, NX_SIZE, NX_TABS_TYPE, NX_TAG_APPEARANCE, NX_TAG_COLOR, NX_TAG_SHAPE, NX_TEXT_ALIGN, NX_TEXT_AS, NX_TEXT_WEIGHT, NavigationTarget, NotifyType, SUPPORTED_LOCALE_CODES, WorkitemTypeGroup };
652
+ export type { ApiInvokeOptions, Baseline, ConditionPrimitive, ConditionValue, Conditions, DialogConfirmOptions, DialogOpenOptions, DialogRef, DispatchEventPayload, DownloadResult, EgressItem, ExtensionData, ExtensionProperties, GetMetadataResult, GetTranslationsResult, HistoryListener, HistoryLocation, HistoryPath, HistoryState, HistoryTo, HistoryUpdate, Idea, IdeaOpenCreateOptions, InvokeFunctionParams, InvokeResponseData, MultipleUserOpenPopoverOptions, NavigationLocation, NexusAppContext, NexusAppExtension, NexusHistory, NotifyAction, NotifyDetail, NotifyOptions, NotifyRef, NxActiveTab, NxBoxInputs, NxButtonGroupInputs, NxButtonGroupType, NxButtonInputs, NxButtonType, NxCodeBlockInputs, NxCodeInputs, NxHeadingAs, NxHeadingInputs, NxIconInputs, NxIconType, NxInputInputs, NxLinkInputs, NxNavHorizontal, NxNavInputs, NxNavItemInputs, NxNavType, NxSize, NxTabInputs, NxTabsInputs, NxTabsType, NxTagAppearance, NxTagColor, NxTagInputs, NxTagShape, NxTextAlign, NxTextAs, NxTextInputs, NxTextWeight, Page, PageOpenCreateOptions, ProcessOptions, ProcessRef, RealtimeContext, RealtimePublishOptions, RealtimePublishParams, RealtimePublishResult, RealtimeScope, RealtimeSubscribeCallback, RealtimeSubscribeOptions, RealtimeSubscribeParams, ReconcilePayload, RemoteInvokeOptions, RemoteRequestBody, RemoteRequestOptions, RemoteRequestPayload, RemoteRequestResponseData, RemoteRequestSerializedInit, RemoteSerializedBlob, RemoteSerializedFormDataEntry, RichtextBridgeMessage, RichtextContent, RichtextDescendant, RichtextEditorOptions, RichtextEditorRef, RichtextElement, RichtextRendererOptions, RichtextRendererRef, RichtextText, SerialisableEvent, SingleUserOpenPopoverOptions, Subscription, SupportedFrontendFramework, SupportedLocaleCode, Testcase, TestcaseOpenCreateOptions, Ticket, TicketOpenCreateOptions, TranslationsResourceContent, Translator, UnlistenCallback, UploadResult, UserInfo, UserOpenDialogOptions, UserOpenDialogRef, UserOpenPopoverOptions, UserOpenPopoverRef, Viewport, ViewportSize, VirtualListener, VirtualNodeSnapshot, VirtualStyle, Workitem, WorkitemOpenCreateOptions };