diff --git a/compiler/src/pre_define.ts b/compiler/src/pre_define.ts index 84468634ed5ffef86f63371e9326c2e2a396cb08..659f618b2fba39cacda6310276cc74e5581dd233 100644 --- a/compiler/src/pre_define.ts +++ b/compiler/src/pre_define.ts @@ -65,12 +65,14 @@ export const DECORATOR_REUSABLE_V2: string = 'ReusableV2'; export const REUSABLE_V2_INNER_DECORATOR: string = '__ReusableV2_Inner_Decorator__'; export const REUSE_ATTRIBUTE: string = 'reuse'; +export const COMPONENT_USER_INTENTS_DECORATOR_PAGE: string = '@InsightIntentPage'; + export const COMPONENT_DECORATORS_PARAMS: Set = new Set([COMPONENT_CONSUME_DECORATOR, COMPONENT_STORAGE_PROP_DECORATOR, COMPONENT_STORAGE_LINK_DECORATOR, COMPONENT_PROVIDE_DECORATOR, COMPONENT_WATCH_DECORATOR]); export const INNER_COMPONENT_DECORATORS: Set = new Set([COMPONENT_DECORATOR_ENTRY, COMPONENT_DECORATOR_PREVIEW, COMPONENT_DECORATOR_COMPONENT, COMPONENT_DECORATOR_CUSTOM_DIALOG, - COMPONENT_DECORATOR_REUSEABLE, COMPONENT_DECORATOR_COMPONENT_V2, COMPONENT_DECORATOR_REUSABLE_V2]); + COMPONENT_DECORATOR_REUSEABLE, COMPONENT_DECORATOR_COMPONENT_V2, COMPONENT_DECORATOR_REUSABLE_V2, COMPONENT_USER_INTENTS_DECORATOR_PAGE]); export const INNER_COMPONENT_MEMBER_DECORATORS: Set = new Set([COMPONENT_STATE_DECORATOR, COMPONENT_PROP_DECORATOR, COMPONENT_LINK_DECORATOR, COMPONENT_STORAGE_PROP_DECORATOR, COMPONENT_STORAGE_LINK_DECORATOR, COMPONENT_PROVIDE_DECORATOR, COMPONENT_CONSUME_DECORATOR, @@ -97,7 +99,6 @@ export const COMPONENT_USER_INTENTS_DECORATOR: string = '@InsightIntentLink'; export const COMPONENT_USER_INTENTS_DECORATOR_ENTRY: string = '@InsightIntentEntry'; export const COMPONENT_USER_INTENTS_DECORATOR_FUNCTION: string = '@InsightIntentFunction'; export const COMPONENT_USER_INTENTS_DECORATOR_METHOD: string = '@InsightIntentFunctionMethod'; -export const COMPONENT_USER_INTENTS_DECORATOR_PAGE: string = '@InsightIntentPage'; export const COMPONENT_USER_INTENTS_DECORATOR_ENTITY: string = '@InsightIntentEntity'; export const COMPONENT_USER_INTENTS_DECORATOR_FORM: string = '@InsightIntentForm'; export const CHECK_COMPONENT_EXTEND_DECORATOR: string = 'Extend';