1/* 2 * Copyright (c) 2021 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16import path from 'path'; 17 18export const NATIVE_MODULE: Set<string> = new Set( 19 ['system.app', 'ohos.app', 'system.router', 'system.curves', 'ohos.curves', 'system.matrix4', 'ohos.matrix4']); 20export const VALIDATE_MODULE: string[] = ['application', 'util', 'screen', 'mediaquery']; 21export const SYSTEM_PLUGIN: string = 'system'; 22export const OHOS_PLUGIN: string = 'ohos'; 23 24export const COMPONENT_DECORATOR_ENTRY: string = '@Entry'; 25export const COMPONENT_DECORATOR_PREVIEW: string = '@Preview'; 26export const COMPONENT_DECORATOR_COMPONENT: string = '@Component'; 27export const COMPONENT_DECORATOR_CUSTOM_DIALOG: string = '@CustomDialog'; 28 29export const COMPONENT_NON_DECORATOR: string = 'regular'; 30export const COMPONENT_STATE_DECORATOR: string = '@State'; 31export const COMPONENT_PROP_DECORATOR: string = '@Prop'; 32export const COMPONENT_LINK_DECORATOR: string = '@Link'; 33export const COMPONENT_STORAGE_PROP_DECORATOR: string = '@StorageProp'; 34export const COMPONENT_STORAGE_LINK_DECORATOR: string = '@StorageLink'; 35export const COMPONENT_PROVIDE_DECORATOR: string = '@Provide'; 36export const COMPONENT_CONSUME_DECORATOR: string = '@Consume'; 37export const COMPONENT_OBJECT_LINK_DECORATOR: string = '@ObjectLink'; 38export const COMPONENT_WATCH_DECORATOR: string = '@Watch'; 39export const COMPONENT_BUILDERPARAM_DECORATOR: string = '@BuilderParam'; 40export const COMPONENT_LOCAL_STORAGE_LINK_DECORATOR: string = '@LocalStorageLink'; 41export const COMPONENT_LOCAL_STORAGE_PROP_DECORATOR: string = '@LocalStorageProp'; 42export const COMPONENT_CUSTOM_DECORATOR: string = 'COMPONENT_CUSTOM_DECORATOR'; 43 44export const COMPONENT_DECORATORS_PARAMS: Set<string> = new Set([COMPONENT_CONSUME_DECORATOR, 45 COMPONENT_STORAGE_PROP_DECORATOR, COMPONENT_STORAGE_LINK_DECORATOR, COMPONENT_PROVIDE_DECORATOR, 46 COMPONENT_WATCH_DECORATOR]); 47export const INNER_COMPONENT_DECORATORS: Set<string> = new Set([COMPONENT_DECORATOR_ENTRY, 48 COMPONENT_DECORATOR_PREVIEW, COMPONENT_DECORATOR_COMPONENT, COMPONENT_DECORATOR_CUSTOM_DIALOG]); 49export const INNER_COMPONENT_MEMBER_DECORATORS: Set<string> = new Set([COMPONENT_STATE_DECORATOR, 50 COMPONENT_PROP_DECORATOR, COMPONENT_LINK_DECORATOR, COMPONENT_STORAGE_PROP_DECORATOR, 51 COMPONENT_STORAGE_LINK_DECORATOR, COMPONENT_PROVIDE_DECORATOR, COMPONENT_CONSUME_DECORATOR, 52 COMPONENT_OBJECT_LINK_DECORATOR, COMPONENT_WATCH_DECORATOR, COMPONENT_BUILDERPARAM_DECORATOR, 53 COMPONENT_LOCAL_STORAGE_LINK_DECORATOR, COMPONENT_LOCAL_STORAGE_PROP_DECORATOR]); 54 55export const COMPONENT_OBSERVED_DECORATOR: string = '@Observed'; 56export const COMPONENT_BUILDER_DECORATOR: string = '@Builder'; 57export const COMPONENT_EXTEND_DECORATOR: string = '@Extend'; 58export const COMPONENT_STYLES_DECORATOR: string = '@Styles'; 59export const COMPONENT_CONCURRENT_DECORATOR: string = '@Concurrent'; 60export const CHECK_COMPONENT_EXTEND_DECORATOR: string = 'Extend'; 61 62export const OBSERVED_PROPERTY_SIMPLE: string = 'ObservedPropertySimple'; 63export const OBSERVED_PROPERTY_OBJECT: string = 'ObservedPropertyObject'; 64export const SYNCHED_PROPERTY_SIMPLE_ONE_WAY: string = 'SynchedPropertySimpleOneWay'; 65export const SYNCHED_PROPERTY_SIMPLE_TWO_WAY: string = 'SynchedPropertySimpleTwoWay'; 66export const SYNCHED_PROPERTY_OBJECT_TWO_WAY: string = 'SynchedPropertyObjectTwoWay'; 67export const SYNCHED_PROPERTY_NESED_OBJECT: string = 'SynchedPropertyNesedObject'; 68 69export const INITIALIZE_CONSUME_FUNCTION: string = 'initializeConsume'; 70export const ADD_PROVIDED_VAR: string = 'addProvidedVar'; 71 72export const APP_STORAGE: string = 'AppStorage'; 73export const APP_STORAGE_SET_AND_PROP: string = 'SetAndProp'; 74export const APP_STORAGE_SET_AND_LINK: string = 'SetAndLink'; 75 76export const PAGE_ENTRY_FUNCTION_NAME: string = 'loadDocument'; 77export const STORE_PREVIEW_COMPONENTS: string = 'storePreviewComponents'; 78export const PREVIEW_COMPONENT_FUNCTION_NAME: string = 'previewComponent'; 79export const GET_PREVIEW_FLAG_FUNCTION_NAME: string = 'getPreviewComponentFlag'; 80 81export const COMPONENT_DECORATOR_NAME_COMPONENT: string = 'Component'; 82export const XCOMPONENT_SINGLE_QUOTATION: string = `'component'`; 83export const XCOMPONENT_DOUBLE_QUOTATION: string = `"component"`; 84export const COMPONENT_DECORATOR_NAME_CUSTOMDIALOG: string = 'CustomDialog'; 85export const CUSTOM_DECORATOR_NAME: Set<string> = new Set([ 86 COMPONENT_DECORATOR_NAME_COMPONENT, COMPONENT_DECORATOR_NAME_CUSTOMDIALOG 87]); 88 89export const EXTNAME_ETS: string = '.ets'; 90export const NODE_MODULES: string = 'node_modules'; 91export const PACKAGES: string = 'pkg_modules'; 92export const INDEX_ETS: string = 'index.ets'; 93export const INDEX_TS: string = 'index.ts'; 94export const PACKAGE_JSON: string = 'package.json'; 95export const CUSTOM_COMPONENT_DEFAULT: string = 'default'; 96 97export const BASE_COMPONENT_NAME: string = 'View'; 98export const STRUCT: string = 'struct'; 99export const CLASS: string = 'class'; 100export const COMPONENT_BUILD_FUNCTION: string = 'build'; 101export const COMPONENT_RENDER_FUNCTION: string = 'render'; 102export const COMPONENT_TRANSITION_FUNCTION: string = 'pageTransition'; 103export const COMPONENT_TRANSITION_NAME: string = 'PageTransition'; 104export const CUSTOM_COMPONENT: string = 'CustomComponent'; 105 106export const COMPONENT_BUTTON: string = 'Button'; 107export const COMPONENT_FOREACH: string = 'ForEach'; 108export const COMPONENT_LAZYFOREACH: string = 'LazyForEach'; 109export const IS_RENDERING_IN_PROGRESS: string = 'isRenderingInProgress'; 110export const FOREACH_OBSERVED_OBJECT: string = 'ObservedObject'; 111export const FOREACH_GET_RAW_OBJECT: string = 'GetRawObject'; 112export const COMPONENT_IF: string = 'If'; 113export const COMPONENT_IF_BRANCH_ID_FUNCTION: string = 'branchId'; 114export const COMPONENT_IF_UNDEFINED: string = 'undefined'; 115export const GLOBAL_CONTEXT: string = 'Context'; 116export const ATTRIBUTE_ANIMATION: string = 'animation'; 117export const ATTRIBUTE_ANIMATETO: string = 'animateTo'; 118export const ATTRIBUTE_STATESTYLES: string = 'stateStyles'; 119export const ATTRIBUTE_ID: string = 'id'; 120export const TRUE: string = 'true'; 121export const FALSE: string = 'false'; 122export const NULL: string = 'null'; 123export const FOREACH_LAZYFOREACH: Set<string> = new Set([ 124 COMPONENT_FOREACH, COMPONENT_LAZYFOREACH 125]); 126 127export const COMPONENT_CONSTRUCTOR_ID: string = 'compilerAssignedUniqueChildId'; 128export const COMPONENT_CONSTRUCTOR_PARENT: string = 'parent'; 129export const COMPONENT_CONSTRUCTOR_PARAMS: string = 'params'; 130export const COMPONENT_CONSTRUCTOR_UNDEFINED: string = 'undefined'; 131export const COMPONENT_CONSTRUCTOR_LOCALSTORAGE: string = 'localStorage'; 132export const COMPONENT_SET_AND_LINK: string = 'setAndLink'; 133export const COMPONENT_SET_AND_PROP: string = 'setAndProp'; 134 135export const BUILD_ON: string = 'on'; 136export const BUILD_OFF: string = 'off'; 137 138export const START: string = 'start'; 139export const END: string = 'end'; 140 141export const COMPONENT_CREATE_FUNCTION: string = 'create'; 142export const COMPONENT_CREATE_LABEL_FUNCTION: string = 'createWithLabel'; 143export const COMPONENT_CREATE_CHILD_FUNCTION: string = 'createWithChild'; 144export const COMPONENT_POP_FUNCTION: string = 'pop'; 145export const COMPONENT_DEBUGLINE_FUNCTION: string = 'debugLine'; 146export const COMPONENT_COMMON: string = '__Common__'; 147 148export const COMPONENT_CONSTRUCTOR_UPDATE_PARAMS: string = 'updateWithValueParams'; 149export const COMPONENT_CONSTRUCTOR_DELETE_PARAMS: string = 'aboutToBeDeleted'; 150export const CREATE_GET_METHOD: string = 'get'; 151export const CREATE_SET_METHOD: string = 'set'; 152export const CREATE_NEWVALUE_IDENTIFIER: string = 'newValue'; 153export const CREATE_CONSTRUCTOR_PARAMS: string = 'params'; 154export const CREATE_CONSTRUCTOR_SUBSCRIBER_MANAGER: string = 'SubscriberManager'; 155export const CREATE_CONSTRUCTOR_GET_FUNCTION: string = 'Get'; 156export const CREATE_CONSTRUCTOR_DELETE_FUNCTION: string = 'delete'; 157export const ABOUT_TO_BE_DELETE_FUNCTION_ID: string = 'id'; 158export const COMPONENT_WATCH_FUNCTION: string = 'declareWatch'; 159 160export const CREATE_STATE_METHOD: string = 'createState'; 161export const CREATE_PROP_METHOD: string = 'createProp'; 162export const CREATE_LINK_METHOD: string = 'createLink'; 163export const CREATE_OBSERVABLE_OBJECT_METHOD: string = 'createObservableObject'; 164 165export const CUSTOM_COMPONENT_EARLIER_CREATE_CHILD: string = 'earlierCreatedChild_'; 166export const CUSTOM_COMPONENT_FUNCTION_FIND_CHILD_BY_ID: string = 'findChildById'; 167export const CUSTOM_COMPONENT_NEEDS_UPDATE_FUNCTION: string = 'needsUpdate'; 168export const CUSTOM_COMPONENT_MARK_STATIC_FUNCTION: string = 'markStatic'; 169 170export const COMPONENT_GESTURE: string = 'Gesture'; 171export const COMPONENT_GESTURE_GROUP: string = 'GestureGroup'; 172export const GESTURE_ATTRIBUTE: string = 'gesture'; 173export const PARALLEL_GESTURE_ATTRIBUTE: string = 'parallelGesture'; 174export const PRIORITY_GESTURE_ATTRIBUTE: string = 'priorityGesture'; 175export const GESTURE_ENUM_KEY: string = 'GesturePriority'; 176export const GESTURE_ENUM_VALUE_HIGH: string = 'High'; 177export const GESTURE_ENUM_VALUE_LOW: string = 'Low'; 178export const GESTURE_ENUM_VALUE_PARALLEL: string = 'Parallel'; 179 180export const RESOURCE: string = '$r'; 181export const RESOURCE_RAWFILE: string = '$rawfile'; 182export const RESOURCE_NAME_ID: string = 'id'; 183export const RESOURCE_NAME_TYPE: string = 'type'; 184export const RESOURCE_NAME_PARAMS: string = 'params'; 185export const RESOURCE_NAME_BUNDLE: string = 'bundleName'; 186export const RESOURCE_NAME_MODULE: string = 'moduleName'; 187export const RESOURCE_TYPE = { 188 color: 10001, 189 float: 10002, 190 string: 10003, 191 plural: 10004, 192 boolean: 10005, 193 intarray: 10006, 194 integer: 10007, 195 pattern: 10008, 196 strarray: 10009, 197 media: 20000, 198 rawfile: 30000 199}; 200 201export const WORKERS_DIR: string = 'workers'; 202export const WORKER_OBJECT: string = 'Worker'; 203 204export const SET_CONTROLLER_METHOD: string = 'setController'; 205export const SET_CONTROLLER_CTR: string = 'ctr'; 206export const SET_CONTROLLER_CTR_TYPE: string = 'CustomDialogController'; 207export const JS_DIALOG: string = 'jsDialog'; 208export const CUSTOM_DIALOG_CONTROLLER_BUILDER: string = 'builder'; 209 210export const BUILDER_ATTR_NAME: string = 'builder'; 211export const BUILDER_ATTR_BIND: string = 'bind'; 212 213export const GEOMETRY_VIEW: string = 'GeometryView'; 214 215export const MODULE_SHARE_PATH: string = 'src' + path.sep + 'main' + path.sep + 'ets' + path.sep + 'share'; 216export const BUILD_SHARE_PATH: string = '../share'; 217export const MODULE_ETS_PATH: string = 'src' + path.sep + 'main' + path.sep + 'ets'; 218export const MODULE_VISUAL_PATH: string = 'src' + path.sep + 'main' + path.sep + 'supervisual'; 219 220export const THIS: string = 'this'; 221export const STYLES: string = 'Styles'; 222export const VISUAL_STATE: string = 'visualState'; 223export const VIEW_STACK_PROCESSOR: string = 'ViewStackProcessor'; 224 225export const BIND_POPUP: string = 'bindPopup'; 226export const BIND_POPUP_SET: Set<string> = new Set(['bindPopup']); 227export const BIND_DRAG_SET: Set<string> = new Set(['onDragStart', 'onItemDragStart']); 228export const BIND_OBJECT_PROPERTY: Map<string, Set<string>> = new Map([ 229 ['Navigation', new Set(['title'])], 230 ['NavDestination', new Set(['title'])], 231 ['ListItem', new Set(['swipeAction'])] 232]); 233export const CREATE_BIND_COMPONENT: Set<string> = new Set(['ListItemGroup']); 234export const HEADER: string = 'header'; 235export const FOOTER: string = 'footer'; 236 237export const CHECKED: string = 'checked'; 238export const RADIO: string = 'Radio'; 239export const $$_VALUE: string = 'value'; 240export const $$_CHANGE_EVENT: string = 'changeEvent'; 241export const TEXT_TIMER: string = 'TextTimer'; 242export const REFRESH: string = 'Refresh'; 243export const REFRESHING: string = 'refreshing'; 244export const FORMAT: string = 'format'; 245export const IS_COUNT_DOWN: string = 'isCountDown'; 246export const COUNT: string = 'count'; 247export const $$_THIS: string = '$$this'; 248export const $$_NEW_VALUE: string = 'newValue'; 249export const $$: string = '$$'; 250export const $$_VISIBILITY: string = 'visibility'; 251export const $$_BLOCK_INTERFACE: Set<string> = new Set([REFRESH]); 252export const STYLE_ADD_DOUBLE_DOLLAR: Set<string> = new Set([BIND_POPUP, $$_VISIBILITY]); 253export const PROPERTIES_ADD_DOUBLE_DOLLAR: Map<string, Set<string>> = new Map([ 254 [RADIO, new Set([CHECKED])], [TEXT_TIMER, new Set([FORMAT, COUNT, IS_COUNT_DOWN])], [REFRESH, new Set([REFRESHING])] 255]); 256 257export const INTERFACE_NAME_SUFFIX:string = '_Params'; 258export const OBSERVED_PROPERTY_ABSTRACT:string = 'ObservedPropertyAbstract'; 259 260export const SUPERVISUAL: string = './supervisual'; 261export const SUPERVISUAL_SOURCEMAP_EXT: string = '.visual.js.map'; 262 263export const INSTANCE: string = 'Instance'; 264 265export const COMPONENT_TOGGLE: string = 'Toggle'; 266export const TTOGGLE_CHECKBOX: string = 'Checkbox'; 267export const TOGGLE_SWITCH: string = 'Switch'; 268 269export const FILESINFO_TXT: string = 'filesInfo.txt'; 270export const NPMENTRIES_TXT: string = 'npmEntries.txt'; 271export const MODULES_CACHE: string = 'modules.cache'; 272export const MODULES_ABC: string = 'modules.abc'; 273export const MODULELIST_JSON: string = 'moduleList.json'; 274export const PREBUILDINFO_JSON: string = 'preBuildInfo.json'; 275export const SOURCEMAPS_JSON: string = 'sourceMaps.json'; 276export const SOURCEMAPS: string = 'sourceMaps.map'; 277export const PROTO_FILESINFO_TXT: string = 'protoFilesInfo.txt'; 278export const AOT_FULL: string = 'full'; 279export const AOT_TYPE: string = 'type'; 280export const AOT_PARTIAL: string = 'partial'; 281export const AOT_PROFILE_SUFFIX: string = '.ap'; 282 283export const ESMODULE: string = 'esmodule'; 284export const JSBUNDLE: string = 'jsbundle'; 285export const ARK: string = 'ark'; 286export const TEMPORARY: string = 'temporary'; 287export const MAIN: string = 'main'; 288export const AUXILIARY: string = 'auxiliary'; 289export const ZERO: string = '0'; 290export const ONE: string = '1'; 291export const EXTNAME_JS: string = '.js'; 292export const EXTNAME_TS: string = '.ts'; 293export const EXTNAME_JS_MAP: string = '.js.map'; 294export const EXTNAME_TS_MAP: string = '.ts.map'; 295export const EXTNAME_MJS: string = '.mjs'; 296export const EXTNAME_CJS: string = '.cjs'; 297export const EXTNAME_D_TS: string = '.d.ts'; 298export const EXTNAME_D_ETS: string = '.d.ets'; 299export const EXTNAME_JSON: string = '.json'; 300export const EXTNAME_ABC: string = '.abc'; 301export const EXTNAME_PROTO_BIN: string = '.protoBin'; 302export const PATCH_SYMBOL_TABLE: string = "symbol.txt"; 303export const MANAGE_WORKERS_SCRIPT: string = 'manage_workers.js'; 304export const GEN_ABC_SCRIPT: string = "gen_abc.js"; 305export const GEN_MODULE_ABC_SCRIPT: string = "gen_module_abc.js"; 306 307export const SUCCESS: number = 0; 308export const FAIL: number = 1; 309 310export const TS2ABC: string = 'ts2abc'; 311export const ES2ABC: string = 'es2abc'; 312 313export const MAX_WORKER_NUMBER: number = 3; 314 315export const GENERATE_ID = 'generateId'; 316export const _GENERATE_ID = '__generate__Id'; 317 318export const COMPONENT_CONSTRUCTOR_INITIAL_PARAMS: string = 'setInitiallyProvidedValue'; 319export const COMPONENT_UPDATE_STATE_VARS: string = 'updateStateVars'; 320export const COMPONENT_RERENDER_FUNCTION: string = 'rerender'; 321export const COMPONENT_CONSTRUCTOR_PURGE_VARIABLE_DEP: string = 'purgeVariableDependenciesOnElmtId'; 322export const MARKDEPENDENTELEMENTSDIRTY: string = 'markDependentElementsDirty'; 323export const ABOUT_TO_BE_DELETE_FUNCTION_ID__: string = 'id__'; 324export const RMELMTID: string = 'rmElmtId'; 325export const PURGEDEPENDENCYONELMTID: string = 'purgeDependencyOnElmtId'; 326export const SETPROPERTYUNCHANGED: string = 'SetPropertyUnchanged'; 327export const ABOUTTOBEDELETEDINTERNAL: string = 'aboutToBeDeletedInternal'; 328export const UPDATEDIRTYELEMENTS: string = 'updateDirtyElements'; 329export const BASICDECORATORS: Set<string> = new Set([COMPONENT_STATE_DECORATOR, COMPONENT_PROP_DECORATOR, 330 COMPONENT_LINK_DECORATOR, COMPONENT_OBJECT_LINK_DECORATOR]); 331export const LINKS_DECORATORS: Set<string> = new Set([COMPONENT_LINK_DECORATOR, COMPONENT_OBJECT_LINK_DECORATOR]); 332export const ISINITIALRENDER: string = 'isInitialRender'; 333export const ELMTID: string = 'elmtId'; 334export const STARTGETACCESSRECORDINGFOR: string = 'StartGetAccessRecordingFor'; 335export const STOPGETACCESSRECORDING: string = 'StopGetAccessRecording'; 336export const UPDATE_STATE_VARS_OF_CHIND_BY_ELMTID: string = 'updateStateVarsOfChildByElmtId'; 337export const VIEWSTACKPROCESSOR: string = 'ViewStackProcessor'; 338export const OBSERVECOMPONENTCREATION: string = 'observeComponentCreation'; 339export const ISLAZYCREATE: string = 'isLazyCreate'; 340export const DEEPRENDERFUNCTION: string = 'deepRenderFunction'; 341export const ITEMCREATION: string = 'itemCreation'; 342export const OBSERVEDSHALLOWRENDER: string = 'observedShallowRender'; 343export const OBSERVEDDEEPRENDER:string = 'observedDeepRender'; 344export const ItemComponents: string[] = ['ListItem', 'GridItem']; 345export const FOREACHITEMGENFUNCTION: string = 'forEachItemGenFunction'; 346export const __LAZYFOREACHITEMGENFUNCTION: string = '__lazyForEachItemGenFunction'; 347export const _ITEM: string = '_item'; 348export const FOREACHITEMIDFUNC: string = 'forEachItemIdFunc'; 349export const __LAZYFOREACHITEMIDFUNC: string = '__lazyForEachItemIdFunc'; 350export const FOREACHUPDATEFUNCTION: string = 'forEachUpdateFunction'; 351export const ALLOCATENEWELMETIDFORNEXTCOMPONENT: string = 'AllocateNewElmetIdForNextComponent'; 352export const STATE_OBJECTLINK_DECORATORS: string[] = [COMPONENT_STATE_DECORATOR, COMPONENT_OBJECT_LINK_DECORATOR]; 353export const COMPONENT_INITIAl_RENDER_FUNCTION: string = 'initialRender'; 354export const GRID_COMPONENT: string = 'Grid'; 355export const GRIDITEM_COMPONENT: string = 'GridItem'; 356export const WILLUSEPROXY: string = 'willUseProxy'; 357export const BASE_COMPONENT_NAME_PU: string = 'ViewPU'; 358export const GLOBAL_THIS: string = 'globalThis'; 359export const OBSERVED_PROPERTY_SIMPLE_PU: string = 'ObservedPropertySimplePU'; 360export const OBSERVED_PROPERTY_OBJECT_PU: string = 'ObservedPropertyObjectPU'; 361export const SYNCHED_PROPERTY_SIMPLE_ONE_WAY_PU: string = 'SynchedPropertySimpleOneWayPU'; 362export const SYNCHED_PROPERTY_OBJECT_ONE_WAY_PU: string = 'SynchedPropertyObjectOneWayPU'; 363export const SYNCHED_PROPERTY_SIMPLE_TWO_WAY_PU: string = 'SynchedPropertySimpleTwoWayPU'; 364export const SYNCHED_PROPERTY_OBJECT_TWO_WAY_PU: string = 'SynchedPropertyObjectTwoWayPU'; 365export const SYNCHED_PROPERTY_NESED_OBJECT_PU: string = 'SynchedPropertyNesedObjectPU'; 366export const OBSERVED_PROPERTY_ABSTRACT_PU:string = 'ObservedPropertyAbstractPU'; 367export const COMPONENT_CONSTRUCTOR_LOCALSTORAGE_PU: string = '__localStorage'; 368export const COMPONENT_CONSTRUCTOR_LOCALSTORAGE_TYPE_PU: string = 'LocalStorage'; 369export const IFELSEBRANCHUPDATEFUNCTION = 'ifElseBranchUpdateFunction'; 370export const CREATE_STORAGE_LINK = 'createStorageLink'; 371export const CREATE_STORAGE_PROP = 'createStorageProp'; 372export const CREATE_LOCAL_STORAGE_LINK = 'createLocalStorageLink'; 373export const CREATE_LOCAL_STORAGE_PROP = 'createLocalStorageProp'; 374 375export const CARD_ENTRY_FUNCTION_NAME: string = 'loadEtsCard'; 376export const CARD_ENABLE_DECORATORS: Set<string> = new Set([ 377 '@StorageLink', '@StorageProp', '@LocalStorageLink', '@LocalStorageProp' 378]); 379export const CARD_ENABLE_COMPONENTS: Set<string> = new Set([ 380 'AbilityComponent', 'PluginComponent', 'FormComponent', 'RemoteWindow', 381 'XComponent', 'Web', 'RichText' 382]); 383export const TabContentAndNavDestination: Set<string> = new Set(['TabContent', 384 'NavDestination']); 385export const CARD_LOG_TYPE_DECORATORS = 1; 386export const CARD_LOG_TYPE_COMPONENTS = 2; 387export const CARD_LOG_TYPE_IMPORT = 3; 388 389export const CALL = 'call'; 390export const RESERT = 'reset'; 391 392export const TS_NOCHECK: string = '// @ts-nocheck'; 393 394export const BUILDER_PARAM_PROXY: string = 'makeBuilderParameterProxy'; 395export const BUILDER_TYPE: string = 'BuilderType'; 396