• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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';
96export const TS_WATCH_END_MSG: string = 'TS Watch End';
97
98export const BASE_COMPONENT_NAME: string = 'View';
99export const STRUCT: string = 'struct';
100export const CLASS: string = 'class';
101export const COMPONENT_BUILD_FUNCTION: string = 'build';
102export const COMPONENT_RENDER_FUNCTION: string = 'render';
103export const COMPONENT_TRANSITION_FUNCTION: string = 'pageTransition';
104export const COMPONENT_TRANSITION_NAME: string = 'PageTransition';
105export const CUSTOM_COMPONENT: string = 'CustomComponent';
106
107export const COMPONENT_BUTTON: string = 'Button';
108export const COMPONENT_FOREACH: string = 'ForEach';
109export const COMPONENT_LAZYFOREACH: string = 'LazyForEach';
110export const IS_RENDERING_IN_PROGRESS: string = 'isRenderingInProgress';
111export const FOREACH_OBSERVED_OBJECT: string = 'ObservedObject';
112export const FOREACH_GET_RAW_OBJECT: string = 'GetRawObject';
113export const COMPONENT_IF: string = 'If';
114export const COMPONENT_IF_BRANCH_ID_FUNCTION: string = 'branchId';
115export const COMPONENT_IF_UNDEFINED: string = 'undefined';
116export const GLOBAL_CONTEXT: string = 'Context';
117export const ATTRIBUTE_ANIMATION: string = 'animation';
118export const ATTRIBUTE_ANIMATETO: string = 'animateTo';
119export const ATTRIBUTE_STATESTYLES: string = 'stateStyles';
120export const ATTRIBUTE_ID: string = 'id';
121export const TRUE: string = 'true';
122export const FALSE: string = 'false';
123export const NULL: string = 'null';
124export const FOREACH_LAZYFOREACH: Set<string> = new Set([
125  COMPONENT_FOREACH, COMPONENT_LAZYFOREACH
126]);
127
128export const COMPONENT_CONSTRUCTOR_ID: string = 'compilerAssignedUniqueChildId';
129export const COMPONENT_CONSTRUCTOR_PARENT: string = 'parent';
130export const COMPONENT_CONSTRUCTOR_PARAMS: string = 'params';
131export const COMPONENT_CONSTRUCTOR_UNDEFINED: string = 'undefined';
132export const COMPONENT_CONSTRUCTOR_LOCALSTORAGE: string = 'localStorage';
133export const COMPONENT_SET_AND_LINK: string = 'setAndLink';
134export const COMPONENT_SET_AND_PROP: string = 'setAndProp';
135
136export const BUILD_ON: string = 'on';
137export const BUILD_OFF: string = 'off';
138
139export const START: string = 'start';
140export const END: string = 'end';
141
142export const COMPONENT_CREATE_FUNCTION: string = 'create';
143export const COMPONENT_CREATE_LABEL_FUNCTION: string = 'createWithLabel';
144export const COMPONENT_CREATE_CHILD_FUNCTION: string = 'createWithChild';
145export const COMPONENT_POP_FUNCTION: string = 'pop';
146export const COMPONENT_DEBUGLINE_FUNCTION: string = 'debugLine';
147export const COMPONENT_COMMON: string = '__Common__';
148
149export const COMPONENT_CONSTRUCTOR_UPDATE_PARAMS: string = 'updateWithValueParams';
150export const COMPONENT_CONSTRUCTOR_DELETE_PARAMS: string = 'aboutToBeDeleted';
151export const CREATE_GET_METHOD: string = 'get';
152export const CREATE_SET_METHOD: string = 'set';
153export const CREATE_NEWVALUE_IDENTIFIER: string = 'newValue';
154export const CREATE_CONSTRUCTOR_PARAMS: string = 'params';
155export const CREATE_CONSTRUCTOR_SUBSCRIBER_MANAGER: string = 'SubscriberManager';
156export const CREATE_CONSTRUCTOR_GET_FUNCTION: string = 'Get';
157export const CREATE_CONSTRUCTOR_DELETE_FUNCTION: string = 'delete';
158export const ABOUT_TO_BE_DELETE_FUNCTION_ID: string = 'id';
159export const COMPONENT_WATCH_FUNCTION: string = 'declareWatch';
160
161export const CREATE_STATE_METHOD: string = 'createState';
162export const CREATE_PROP_METHOD: string = 'createProp';
163export const CREATE_LINK_METHOD: string = 'createLink';
164export const CREATE_OBSERVABLE_OBJECT_METHOD: string = 'createObservableObject';
165
166export const CUSTOM_COMPONENT_EARLIER_CREATE_CHILD: string = 'earlierCreatedChild_';
167export const CUSTOM_COMPONENT_FUNCTION_FIND_CHILD_BY_ID: string = 'findChildById';
168export const CUSTOM_COMPONENT_NEEDS_UPDATE_FUNCTION: string = 'needsUpdate';
169export const CUSTOM_COMPONENT_MARK_STATIC_FUNCTION: string = 'markStatic';
170
171export const COMPONENT_GESTURE: string = 'Gesture';
172export const COMPONENT_GESTURE_GROUP: string = 'GestureGroup';
173export const GESTURE_ATTRIBUTE: string = 'gesture';
174export const PARALLEL_GESTURE_ATTRIBUTE: string = 'parallelGesture';
175export const PRIORITY_GESTURE_ATTRIBUTE: string = 'priorityGesture';
176export const GESTURE_ENUM_KEY: string = 'GesturePriority';
177export const GESTURE_ENUM_VALUE_HIGH: string = 'High';
178export const GESTURE_ENUM_VALUE_LOW: string = 'Low';
179export const GESTURE_ENUM_VALUE_PARALLEL: string = 'Parallel';
180
181export const RESOURCE: string = '$r';
182export const RESOURCE_RAWFILE: string = '$rawfile';
183export const RESOURCE_NAME_ID: string = 'id';
184export const RESOURCE_NAME_TYPE: string = 'type';
185export const RESOURCE_NAME_PARAMS: string = 'params';
186export const RESOURCE_NAME_BUNDLE: string = 'bundleName';
187export const RESOURCE_NAME_MODULE: string = 'moduleName';
188export const RESOURCE_TYPE = {
189  color: 10001,
190  float: 10002,
191  string: 10003,
192  plural: 10004,
193  boolean: 10005,
194  intarray: 10006,
195  integer: 10007,
196  pattern: 10008,
197  strarray: 10009,
198  media: 20000,
199  rawfile: 30000
200};
201
202export const WORKERS_DIR: string = 'workers';
203export const WORKER_OBJECT: string = 'Worker';
204
205export const TEST_RUNNER_DIR_SET: Set<string> = new Set(['TestRunner', 'testrunner']);
206
207export const SET_CONTROLLER_METHOD: string = 'setController';
208export const SET_CONTROLLER_CTR: string = 'ctr';
209export const SET_CONTROLLER_CTR_TYPE: string = 'CustomDialogController';
210export const JS_DIALOG: string = 'jsDialog';
211export const CUSTOM_DIALOG_CONTROLLER_BUILDER: string = 'builder';
212
213export const BUILDER_ATTR_NAME: string = 'builder';
214export const BUILDER_ATTR_BIND: string = 'bind';
215
216export const GEOMETRY_VIEW: string = 'GeometryView';
217
218export const MODULE_SHARE_PATH: string = 'src' + path.sep + 'main' + path.sep + 'ets' + path.sep + 'share';
219export const BUILD_SHARE_PATH: string = '../share';
220export const MODULE_ETS_PATH: string = 'src' + path.sep + 'main' + path.sep + 'ets';
221export const MODULE_VISUAL_PATH: string = 'src' + path.sep + 'main' + path.sep + 'supervisual';
222
223export const THIS: string = 'this';
224export const STYLES: string = 'Styles';
225export const VISUAL_STATE: string = 'visualState';
226export const VIEW_STACK_PROCESSOR: string = 'ViewStackProcessor';
227
228export const BIND_POPUP: string = 'bindPopup';
229export const BIND_POPUP_SET: Set<string> = new Set(['bindPopup']);
230export const BIND_DRAG_SET: Set<string> = new Set(['onDragStart', 'onItemDragStart']);
231export const BIND_OBJECT_PROPERTY: Map<string, Set<string>> = new Map([
232  ['Navigation', new Set(['title'])],
233  ['NavDestination', new Set(['title'])],
234  ['ListItem', new Set(['swipeAction'])]
235]);
236export const CREATE_BIND_COMPONENT: Set<string> = new Set(['ListItemGroup']);
237export const HEADER: string = 'header';
238export const FOOTER: string = 'footer';
239
240export const CHECKED: string = 'checked';
241export const RADIO: string = 'Radio';
242export const $$_VALUE: string = 'value';
243export const $$_CHANGE_EVENT: string = 'changeEvent';
244export const TEXT_TIMER: string = 'TextTimer';
245export const REFRESH: string = 'Refresh';
246export const REFRESHING: string = 'refreshing';
247export const FORMAT: string = 'format';
248export const IS_COUNT_DOWN: string = 'isCountDown';
249export const COUNT: string = 'count';
250export const $$_THIS: string = '$$this';
251export const $$_NEW_VALUE: string = 'newValue';
252export const $$: string = '$$';
253export const $$_VISIBILITY: string = 'visibility';
254export const $$_BLOCK_INTERFACE: Set<string> = new Set([REFRESH]);
255export const STYLE_ADD_DOUBLE_DOLLAR: Set<string> = new Set([BIND_POPUP, $$_VISIBILITY]);
256export const PROPERTIES_ADD_DOUBLE_DOLLAR: Map<string, Set<string>> = new Map([
257  [RADIO, new Set([CHECKED])], [TEXT_TIMER, new Set([FORMAT, COUNT, IS_COUNT_DOWN])], [REFRESH, new Set([REFRESHING])]
258]);
259
260export const INTERFACE_NAME_SUFFIX:string = '_Params';
261export const OBSERVED_PROPERTY_ABSTRACT:string = 'ObservedPropertyAbstract';
262
263export const SUPERVISUAL: string = './supervisual';
264export const SUPERVISUAL_SOURCEMAP_EXT: string = '.visual.js.map';
265
266export const INSTANCE: string = 'Instance';
267
268export const COMPONENT_TOGGLE: string = 'Toggle';
269export const TTOGGLE_CHECKBOX: string = 'Checkbox';
270export const TOGGLE_SWITCH: string = 'Switch';
271
272export const FILESINFO_TXT: string = 'filesInfo.txt';
273export const NPMENTRIES_TXT: string = 'npmEntries.txt';
274export const MODULES_CACHE: string = 'modules.cache';
275export const MODULES_ABC: string = 'modules.abc';
276export const MODULELIST_JSON: string = 'moduleList.json';
277export const PREBUILDINFO_JSON: string = 'preBuildInfo.json';
278export const SOURCEMAPS_JSON: string = 'sourceMaps.json';
279export const SOURCEMAPS: string = 'sourceMaps.map';
280export const PROTO_FILESINFO_TXT: string = 'protoFilesInfo.txt';
281export const AOT_FULL: string = 'full';
282export const AOT_TYPE: string = 'type';
283export const AOT_PARTIAL: string = 'partial';
284export const AOT_PROFILE_SUFFIX: string = '.ap';
285
286export const ESMODULE: string = 'esmodule';
287export const JSBUNDLE: string = 'jsbundle';
288export const ARK: string = 'ark';
289export const TEMPORARY: string = 'temporary';
290export const MAIN: string = 'main';
291export const AUXILIARY: string = 'auxiliary';
292export const ZERO: string = '0';
293export const ONE: string = '1';
294export const EXTNAME_JS: string = '.js';
295export const EXTNAME_TS: string = '.ts';
296export const EXTNAME_JS_MAP: string = '.js.map';
297export const EXTNAME_TS_MAP: string = '.ts.map';
298export const EXTNAME_MJS: string = '.mjs';
299export const EXTNAME_CJS: string = '.cjs';
300export const EXTNAME_D_TS: string = '.d.ts';
301export const EXTNAME_D_ETS: string = '.d.ets';
302export const EXTNAME_JSON: string = '.json';
303export const EXTNAME_ABC: string = '.abc';
304export const EXTNAME_PROTO_BIN: string = '.protoBin';
305export const PATCH_SYMBOL_TABLE: string = "symbol.txt";
306export const MANAGE_WORKERS_SCRIPT: string = 'manage_workers.js';
307export const GEN_ABC_SCRIPT: string = "gen_abc.js";
308export const GEN_MODULE_ABC_SCRIPT: string = "gen_module_abc.js";
309
310export const SUCCESS: number = 0;
311export const FAIL: number = 1;
312
313export const TS2ABC: string = 'ts2abc';
314export const ES2ABC: string = 'es2abc';
315
316export const MAX_WORKER_NUMBER: number = 3;
317
318export const GENERATE_ID = 'generateId';
319export const _GENERATE_ID = '__generate__Id';
320
321export const COMPONENT_CONSTRUCTOR_INITIAL_PARAMS: string = 'setInitiallyProvidedValue';
322export const COMPONENT_UPDATE_STATE_VARS: string = 'updateStateVars';
323export const COMPONENT_RERENDER_FUNCTION: string = 'rerender';
324export const COMPONENT_CONSTRUCTOR_PURGE_VARIABLE_DEP: string = 'purgeVariableDependenciesOnElmtId';
325export const MARKDEPENDENTELEMENTSDIRTY: string = 'markDependentElementsDirty';
326export const ABOUT_TO_BE_DELETE_FUNCTION_ID__: string = 'id__';
327export const RMELMTID: string = 'rmElmtId';
328export const PURGEDEPENDENCYONELMTID: string = 'purgeDependencyOnElmtId';
329export const SETPROPERTYUNCHANGED: string = 'SetPropertyUnchanged';
330export const ABOUTTOBEDELETEDINTERNAL: string = 'aboutToBeDeletedInternal';
331export const UPDATEDIRTYELEMENTS: string = 'updateDirtyElements';
332export const BASICDECORATORS: Set<string> = new Set([COMPONENT_STATE_DECORATOR, COMPONENT_PROP_DECORATOR,
333  COMPONENT_LINK_DECORATOR, COMPONENT_OBJECT_LINK_DECORATOR]);
334export const LINKS_DECORATORS: Set<string> = new Set([COMPONENT_LINK_DECORATOR, COMPONENT_OBJECT_LINK_DECORATOR]);
335export const ISINITIALRENDER: string = 'isInitialRender';
336export const ELMTID: string = 'elmtId';
337export const STARTGETACCESSRECORDINGFOR: string = 'StartGetAccessRecordingFor';
338export const STOPGETACCESSRECORDING: string = 'StopGetAccessRecording';
339export const UPDATE_STATE_VARS_OF_CHIND_BY_ELMTID: string = 'updateStateVarsOfChildByElmtId';
340export const VIEWSTACKPROCESSOR: string = 'ViewStackProcessor';
341export const OBSERVECOMPONENTCREATION: string = 'observeComponentCreation';
342export const ISLAZYCREATE: string = 'isLazyCreate';
343export const DEEPRENDERFUNCTION: string = 'deepRenderFunction';
344export const ITEMCREATION: string = 'itemCreation';
345export const OBSERVEDSHALLOWRENDER: string = 'observedShallowRender';
346export const OBSERVEDDEEPRENDER:string = 'observedDeepRender';
347export const ItemComponents: string[] = ['ListItem', 'GridItem'];
348export const FOREACHITEMGENFUNCTION: string = 'forEachItemGenFunction';
349export const __LAZYFOREACHITEMGENFUNCTION: string = '__lazyForEachItemGenFunction';
350export const _ITEM: string = '_item';
351export const FOREACHITEMIDFUNC: string = 'forEachItemIdFunc';
352export const __LAZYFOREACHITEMIDFUNC: string = '__lazyForEachItemIdFunc';
353export const FOREACHUPDATEFUNCTION: string = 'forEachUpdateFunction';
354export const ALLOCATENEWELMETIDFORNEXTCOMPONENT: string = 'AllocateNewElmetIdForNextComponent';
355export const STATE_OBJECTLINK_DECORATORS: string[] = [COMPONENT_STATE_DECORATOR, COMPONENT_OBJECT_LINK_DECORATOR];
356export const COMPONENT_INITIAl_RENDER_FUNCTION: string = 'initialRender';
357export const GRID_COMPONENT: string = 'Grid';
358export const GRIDITEM_COMPONENT: string = 'GridItem';
359export const WILLUSEPROXY: string = 'willUseProxy';
360export const BASE_COMPONENT_NAME_PU: string = 'ViewPU';
361export const GLOBAL_THIS: string = 'globalThis';
362export const OBSERVED_PROPERTY_SIMPLE_PU: string = 'ObservedPropertySimplePU';
363export const OBSERVED_PROPERTY_OBJECT_PU: string = 'ObservedPropertyObjectPU';
364export const SYNCHED_PROPERTY_SIMPLE_ONE_WAY_PU: string = 'SynchedPropertySimpleOneWayPU';
365export const SYNCHED_PROPERTY_OBJECT_ONE_WAY_PU: string = 'SynchedPropertyObjectOneWayPU';
366export const SYNCHED_PROPERTY_SIMPLE_TWO_WAY_PU: string = 'SynchedPropertySimpleTwoWayPU';
367export const SYNCHED_PROPERTY_OBJECT_TWO_WAY_PU: string = 'SynchedPropertyObjectTwoWayPU';
368export const SYNCHED_PROPERTY_NESED_OBJECT_PU: string = 'SynchedPropertyNesedObjectPU';
369export const OBSERVED_PROPERTY_ABSTRACT_PU:string = 'ObservedPropertyAbstractPU';
370export const COMPONENT_CONSTRUCTOR_LOCALSTORAGE_PU: string = '__localStorage';
371export const COMPONENT_CONSTRUCTOR_LOCALSTORAGE_TYPE_PU: string = 'LocalStorage';
372export const IFELSEBRANCHUPDATEFUNCTION = 'ifElseBranchUpdateFunction';
373export const CREATE_STORAGE_LINK = 'createStorageLink';
374export const CREATE_STORAGE_PROP = 'createStorageProp';
375export const CREATE_LOCAL_STORAGE_LINK = 'createLocalStorageLink';
376export const CREATE_LOCAL_STORAGE_PROP = 'createLocalStorageProp';
377
378export const CARD_ENTRY_FUNCTION_NAME: string = 'loadEtsCard';
379export const CARD_ENABLE_DECORATORS: Set<string> = new Set([
380  '@StorageLink', '@StorageProp', '@LocalStorageLink', '@LocalStorageProp'
381]);
382export const CARD_ENABLE_COMPONENTS: Set<string> = new Set([
383  'AbilityComponent', 'PluginComponent', 'FormComponent', 'RemoteWindow',
384  'XComponent', 'Web', 'RichText'
385]);
386export const TabContentAndNavDestination: Set<string> = new Set(['TabContent',
387  'NavDestination']);
388export const CARD_LOG_TYPE_DECORATORS = 1;
389export const CARD_LOG_TYPE_COMPONENTS = 2;
390export const CARD_LOG_TYPE_IMPORT = 3;
391
392export const CALL = 'call';
393export const RESERT = 'reset';
394
395export const TS_NOCHECK: string = '// @ts-nocheck';
396
397export const BUILDER_PARAM_PROXY: string = 'makeBuilderParameterProxy';
398export const BUILDER_TYPE: string = 'BuilderType';
399