@cloudbase/cals 0.3.10-alpha.3 → 0.3.11-alpha.2

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,6 +1,6 @@
1
- import { IPlatformApp, IComplexComponent, IBasicComponent, IPageComponent, IDataSourceVariable, IDataVarMethod, // 勿删,为了生成d.ts
1
+ import { IAttributes, IPlatformApp, IComplexComponent, IBasicComponent, IPageComponent, IDataSourceVariable, IDataVarMethod, // 勿删,为了生成d.ts
2
2
  IPlatformDataSource, IDependencies, LCDS } from '../../types';
3
- import { IDynamicValue } from '../expression';
3
+ import { IDynamicValue, PropBindType } from '../expression';
4
4
  interface IDeserializeContext {
5
5
  app?: IPlatformApp;
6
6
  dependencies?: any[];
@@ -26,6 +26,61 @@ interface ISerializeContext {
26
26
  streamlineDefaultValue?: boolean;
27
27
  streamlineModuleName?: boolean;
28
28
  }
29
+ export declare function serializeValue({ ctx, key, dynamicValue, scope, streamlineDefaultValue, }: {
30
+ ctx: ISerializeContext;
31
+ key: string;
32
+ dynamicValue: {
33
+ type?: PropBindType | 'static';
34
+ value: any;
35
+ };
36
+ scope?: 'page' | 'component';
37
+ streamlineDefaultValue?: boolean;
38
+ }): {
39
+ key: string;
40
+ value: any;
41
+ };
42
+ export declare function deserializeValue(ctx: IDeserializeContext, key: string, value: any): {
43
+ key: string;
44
+ value: {
45
+ type: PropBindType;
46
+ value: any;
47
+ };
48
+ } | {
49
+ key: string;
50
+ value: {
51
+ type: undefined;
52
+ value: any;
53
+ } | undefined;
54
+ };
55
+ export declare function serializeDynamicMap({ ctx, map, scope, streamlineDefaultValue, }: {
56
+ ctx: ISerializeContext;
57
+ map: {
58
+ [key: string]: string | any;
59
+ };
60
+ scope?: 'page' | 'component';
61
+ streamlineDefaultValue?: boolean;
62
+ }): {
63
+ [key: string]: string;
64
+ };
65
+ export declare function deserializeDynamicMap(ctx: IDeserializeContext, map: {
66
+ [key: string]: string | any;
67
+ }): {
68
+ [key: string]: {
69
+ type?: string | undefined;
70
+ value: any;
71
+ };
72
+ };
73
+ export declare function serializeAttributes(ctx: ISerializeContext, scope: 'page' | 'component', attributes?: {
74
+ [key: string]: IDynamicValue;
75
+ }): {
76
+ [key: string]: string;
77
+ };
78
+ export declare function deserializeAttributes(ctx: IDeserializeContext, attributes?: IAttributes): {
79
+ [key: string]: {
80
+ type?: string | undefined;
81
+ value: any;
82
+ };
83
+ };
29
84
  export declare function deserializeDataVariables(ctx: IDeserializeContext, data: IDataSourceVariable): {
30
85
  title: string | undefined;
31
86
  name: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../parser/cals/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAEL,YAAY,EAEZ,iBAAiB,EACjB,eAAe,EACf,cAAc,EAGd,mBAAmB,EACnB,cAAc,EAAE,cAAc;AAC9B,mBAAmB,EACnB,aAAa,EACb,IAAI,EACL,MAAM,aAAa,CAAA;AAEpB,OAAO,EAGL,aAAa,EAEd,MAAM,eAAe,CAAA;AAgBtB,UAAU,mBAAmB;IAC3B,GAAG,CAAC,EAAE,YAAY,CAAA;IAClB,YAAY,CAAC,EAAE,GAAG,EAAE,CAAA;IACpB,eAAe,CAAC,EAAE,GAAG,CAAA;IACrB,IAAI,CAAC,EAAE,cAAc,CAAA;CACtB;AAED,UAAU,iBAAiB;IACzB,GAAG,CAAC,EAAE,GAAG,CAAA;IACT,IAAI,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,SAAS,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;IAC/D;;;OAGG;IACH,YAAY,CAAC,EAAE,GAAG,EAAE,CAAA;IACpB,eAAe,CAAC,EAAE,GAAG,CAAA;IACrB,sBAAsB,CAAC,EAAE,OAAO,CAAA;IAChC,o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E,IAAI,CACP,iBAAiB,EACjB,KAAK,GAAG,cAAc,GAAG,wBAAwB,CAClD,EACD,IAAI,EAAE,GAAG,GACR,cAAc,CAiEhB;AAWD;;;GAGG;AACH,wBAAgB,yBAAyB,CACvC,GAAG,EAAE,iBAAiB,GAAG;IACvB,IAAI,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAA;CAC1C,EACD,SAAS,EAAE,GAAG,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,GAC9B,eAAe,GAAG,iBAAiB,CA0GrC;AAsBD,wBAAgB,+BAA+B,CAAC,IAAI,EAAE;IACpD,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IACjB,YAAY,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;IACxC,UAAU,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC,UAAU,CAAA;KAAE,CAAA;IAC9C,OAAO,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC,OAAO,CAAA;KAAE,CAAA;CACzC;;;;;;;mBAUY,MAAM;;sBAEH,MAAM;;;6BACwB,OAAO;;;;;;EA+BpD"}
@@ -11,7 +11,7 @@ var __rest = (this && this.__rest) || function (s, e) {
11
11
  return t;
12
12
  };
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.deserializeComponentLibraryMeta = exports.serializeRuntimeComponent = exports.serializeRuntimePage = exports.deserializePlatformApp = exports.serializePlatformApp = exports.deserializePage = exports.serializePage = exports.deserializeComponent = exports.serializeComponent = exports.deserializeDataVariables = void 0;
14
+ exports.deserializeComponentLibraryMeta = exports.serializeRuntimeComponent = exports.serializeRuntimePage = exports.deserializePlatformApp = exports.serializePlatformApp = exports.deserializePage = exports.serializePage = exports.deserializeComponent = exports.serializeComponent = exports.deserializeDataVariables = exports.deserializeAttributes = exports.serializeAttributes = exports.deserializeDynamicMap = exports.serializeDynamicMap = exports.deserializeValue = exports.serializeValue = void 0;
15
15
  const lodash_1 = require("lodash");
16
16
  const common_1 = require("../../types/platform/common");
17
17
  const types_1 = require("../../types");
@@ -85,6 +85,7 @@ function serializeValue({ ctx, key, dynamicValue, scope = 'page', streamlineDefa
85
85
  }
86
86
  return { key, value };
87
87
  }
88
+ exports.serializeValue = serializeValue;
88
89
  function deserializeValue(ctx, key, value) {
89
90
  var _a;
90
91
  let matched = key.match(/^:(.*)$/);
@@ -130,6 +131,7 @@ function deserializeValue(ctx, key, value) {
130
131
  };
131
132
  }
132
133
  }
134
+ exports.deserializeValue = deserializeValue;
133
135
  function serializeDynamicMap({ ctx, map = {}, scope = 'page', streamlineDefaultValue, }) {
134
136
  let data = {};
135
137
  Object.keys(map)
@@ -164,6 +166,7 @@ function serializeDynamicMap({ ctx, map = {}, scope = 'page', streamlineDefaultV
164
166
  });
165
167
  return data;
166
168
  }
169
+ exports.serializeDynamicMap = serializeDynamicMap;
167
170
  function deserializeDynamicMap(ctx, map) {
168
171
  var _a;
169
172
  let data = {};
@@ -174,6 +177,7 @@ function deserializeDynamicMap(ctx, map) {
174
177
  }
175
178
  return data;
176
179
  }
180
+ exports.deserializeDynamicMap = deserializeDynamicMap;
177
181
  function serializeAttributes(ctx, scope, attributes = {}) {
178
182
  return serializeDynamicMap({
179
183
  ctx,
@@ -182,6 +186,7 @@ function serializeAttributes(ctx, scope, attributes = {}) {
182
186
  streamlineDefaultValue: ctx.streamlineDefaultValue,
183
187
  });
184
188
  }
189
+ exports.serializeAttributes = serializeAttributes;
185
190
  function deserializeAttributes(ctx, attributes = {}) {
186
191
  const reservedAttributes = ['style', 'commonStyle', 'class'];
187
192
  const reservedAttributesMap = reservedAttributes.reduce((map, key) => {
@@ -200,6 +205,7 @@ function deserializeAttributes(ctx, attributes = {}) {
200
205
  }
201
206
  return deserializeDynamicMap(ctx, restAttributes);
202
207
  }
208
+ exports.deserializeAttributes = deserializeAttributes;
203
209
  /**
204
210
  * 将dataset({state: {}, params: {}})从 weapp 结构转换为cals结构
205
211
  * 目前仅转换 state 中的 initMethod.params 和 updateMethod.params
@@ -485,7 +491,7 @@ function serializeComponent(ctx, component, scope = 'page') {
485
491
  commonStyle: (_p = component.xProps) === null || _p === void 0 ? void 0 : _p.commonStyle,
486
492
  xIndex: component.xIndex,
487
493
  styleBindPath: (_q = component === null || component === void 0 ? void 0 : component.xProps) === null || _q === void 0 ? void 0 : _q.styleBindPath,
488
- staticResourceAttribute: (_r = component === null || component === void 0 ? void 0 : component.xProps) === null || _r === void 0 ? void 0 : _r.staticResourceAttribute
494
+ staticResourceAttribute: (_r = component === null || component === void 0 ? void 0 : component.xProps) === null || _r === void 0 ? void 0 : _r.staticResourceAttribute,
489
495
  },
490
496
  };
491
497
  }
@@ -835,7 +841,7 @@ function serializeRuntimeComponent(ctx, component //IComponentSchemaJson
835
841
  commonStyle: (0, runtime_1.getValidValue)((0, style_1.removeInvalidStyleFormValue)(props.commonStyle)),
836
842
  xIndex: (0, runtime_1.getValidValue)(component['x-index']),
837
843
  styleBindPath: (0, runtime_1.getValidValue)(props.styleBindPath),
838
- staticResourceAttribute: (0, runtime_1.getValidValue)(props.staticResourceAttribute)
844
+ staticResourceAttribute: (0, runtime_1.getValidValue)(props.staticResourceAttribute),
839
845
  } });
840
846
  }
841
847
  else {
@@ -103,7 +103,7 @@ function parseDirectivesCals(ctx, directives) {
103
103
  }
104
104
  }
105
105
  function parseValueCals(ctx, value) {
106
- var _a, _b, _c;
106
+ var _a, _b;
107
107
  try {
108
108
  let parser = new expression_1.DynamicValueParser(value, { pageId: '$page' });
109
109
  let res = parser.parse();
@@ -141,7 +141,7 @@ function parseValueCals(ctx, value) {
141
141
  }
142
142
  }
143
143
  catch (e) {
144
- if (((_c = e) === null || _c === void 0 ? void 0 : _c.code) === 'INVALID_FOR_CONTEXT') {
144
+ if ((e === null || e === void 0 ? void 0 : e.code) === 'INVALID_FOR_CONTEXT') {
145
145
  throw e;
146
146
  }
147
147
  }
@@ -1,6 +1,6 @@
1
- export { serializePlatformApp, deserializePlatformApp, serializeComponent, deserializeComponent, serializePage, deserializePage, serializeRuntimePage, serializeRuntimeComponent, // deserializeRuntimeComponent,
2
- deserializeComponentLibraryMeta, } from './cals/index';
1
+ export * from './cals/index';
3
2
  export { upgrageToVersion2 } from './cals/utils/version';
4
3
  export { processComponentModule } from './cals/utils/spinoff';
5
4
  export { parseComponentCals } from './cals/utils/block';
5
+ export { ActionType, IDataBind, PropBindType } from './expression/index';
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../parser/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,kBAAkB,EAClB,oBAAoB,EACpB,aAAa,EACb,eAAe,EACf,oBAAoB,EAEpB,yBAAyB,EAAE,+BAA+B;AAC1D,+BAA+B,GAChC,MAAM,cAAc,CAAA;AAErB,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../parser/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AACvD,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA"}
@@ -1,20 +1,23 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
2
12
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.parseComponentCals = exports.processComponentModule = exports.upgrageToVersion2 = exports.deserializeComponentLibraryMeta = exports.serializeRuntimeComponent = exports.serializeRuntimePage = exports.deserializePage = exports.serializePage = exports.deserializeComponent = exports.serializeComponent = exports.deserializePlatformApp = exports.serializePlatformApp = void 0;
4
- var index_1 = require("./cals/index");
5
- Object.defineProperty(exports, "serializePlatformApp", { enumerable: true, get: function () { return index_1.serializePlatformApp; } });
6
- Object.defineProperty(exports, "deserializePlatformApp", { enumerable: true, get: function () { return index_1.deserializePlatformApp; } });
7
- Object.defineProperty(exports, "serializeComponent", { enumerable: true, get: function () { return index_1.serializeComponent; } });
8
- Object.defineProperty(exports, "deserializeComponent", { enumerable: true, get: function () { return index_1.deserializeComponent; } });
9
- Object.defineProperty(exports, "serializePage", { enumerable: true, get: function () { return index_1.serializePage; } });
10
- Object.defineProperty(exports, "deserializePage", { enumerable: true, get: function () { return index_1.deserializePage; } });
11
- Object.defineProperty(exports, "serializeRuntimePage", { enumerable: true, get: function () { return index_1.serializeRuntimePage; } });
12
- // deserializeRuntimePage,
13
- Object.defineProperty(exports, "serializeRuntimeComponent", { enumerable: true, get: function () { return index_1.serializeRuntimeComponent; } });
14
- Object.defineProperty(exports, "deserializeComponentLibraryMeta", { enumerable: true, get: function () { return index_1.deserializeComponentLibraryMeta; } });
13
+ exports.PropBindType = exports.ActionType = exports.parseComponentCals = exports.processComponentModule = exports.upgrageToVersion2 = void 0;
14
+ __exportStar(require("./cals/index"), exports);
15
15
  var version_1 = require("./cals/utils/version");
16
16
  Object.defineProperty(exports, "upgrageToVersion2", { enumerable: true, get: function () { return version_1.upgrageToVersion2; } });
17
17
  var spinoff_1 = require("./cals/utils/spinoff");
18
18
  Object.defineProperty(exports, "processComponentModule", { enumerable: true, get: function () { return spinoff_1.processComponentModule; } });
19
19
  var block_1 = require("./cals/utils/block");
20
20
  Object.defineProperty(exports, "parseComponentCals", { enumerable: true, get: function () { return block_1.parseComponentCals; } });
21
+ var index_1 = require("./expression/index");
22
+ Object.defineProperty(exports, "ActionType", { enumerable: true, get: function () { return index_1.ActionType; } });
23
+ Object.defineProperty(exports, "PropBindType", { enumerable: true, get: function () { return index_1.PropBindType; } });
@@ -1 +1 @@
1
- {"program":{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/@types/lodash/common/common.d.ts","../node_modules/@types/lodash/common/array.d.ts","../node_modules/@types/lodash/common/collection.d.ts","../node_modules/@types/lodash/common/date.d.ts","../node_modules/@types/lodash/common/function.d.ts","../node_modules/@types/lodash/common/lang.d.ts","../node_modules/@types/lodash/common/math.d.ts","../node_modules/@types/lodash/common/number.d.ts","../node_modules/@types/lodash/common/object.d.ts","../node_modules/@types/lodash/common/seq.d.ts","../node_modules/@types/lodash/common/string.d.ts","../node_modules/@types/lodash/common/util.d.ts","../node_modules/@types/lodash/index.d.ts","../types/basic/common.ts","../types/platform/datasource.ts","../types/platform/common.ts","../types/basic/datasource.ts","../types/basic/component.ts","../types/basic/app.ts","../types/platform/component.ts","../types/platform/app.ts","../types/lcds.ts","../types/index.ts","../node_modules/acorn/dist/acorn.d.ts","../parser/expression/index.ts","../parser/cals/utils/common.ts","../parser/cals/utils/style.ts","../parser/cals/utils/runtime.ts","../parser/cals/index.ts","../parser/cals/utils/version/config.ts","../parser/cals/utils/version/utils.ts","../parser/cals/utils/version/common.ts","../parser/cals/utils/version/parses.ts","../parser/cals/utils/version/index.ts","../parser/cals/utils/spinoff/index.ts","../parser/cals/utils/block/index.ts","../parser/index.ts","../types/platform/widget/form.ts","../types/platform/widget/meta.ts","../node_modules/typescript-json-schema/node_modules/typescript/lib/typescript.d.ts","../node_modules/@types/json-schema/index.d.ts","../node_modules/typescript-json-schema/dist/typescript-json-schema.d.ts","../utils/build.ts","../utils/global.d.ts","../utils/index.ts","../node_modules/@types/estree/index.d.ts","../node_modules/@types/acorn/index.d.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/index.d.ts"],"fileInfos":[{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06",{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"51b8b27c21c066bf877646e320bf6a722b80d1ade65e686923cd9d4494aef1ca","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"2c8c5ee58f30e7c944e04ab1fb5506fdbb4dd507c9efa6972cf4b91cec90c503","affectsGlobalScope":true},{"version":"2bb4b3927299434052b37851a47bf5c39764f2ba88a888a107b32262e9292b7c","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"4632665b87204bb1caa8b44d165bce0c50dfab177df5b561b345a567cabacf9a","affectsGlobalScope":true},"675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","378df8bbbb9e3f6fca05d58f644aab538e1062eab5e778fb0b83d41125df246d","d88a479cccf787b4aa82362150fbeba5211a32dbfafa7b92ba6995ecaf9a1a89","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","c24ad9be9adf28f0927e3d9d9e9cec1c677022356f241ccbbfb97bfe8fb3d1a1","0ec0998e2d085e8ea54266f547976ae152c9dd6cdb9ac4d8a520a230f5ebae84","9364c7566b0be2f7b70ff5285eb34686f83ccb01bda529b82d23b2a844653bfb","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","ae9930989ed57478eb03b9b80ad3efa7a3eacdfeff0f78ecf7894c4963a64f93","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3e59f00ab03c33717b3130066d4debb272da90eeded4935ff0604c2bc25a5cae","9fa6b83a35e897f340858995ca5d77e901d89fd18644cd4c9e8a4afe0b2e6363",{"version":"0714e2046df66c0e93c3330d30dbc0565b3e8cd3ee302cf99e4ede6220e5fec8","affectsGlobalScope":true},{"version":"499b66b9ed32d339c0227f5c839719d15a15aeb2cac7a6ef1d078e6a8ae9a818","signature":"d7be5b0d016a8e89509c42757d2de6e0254ff7a4b391f88a6c8e47b04096084d"},{"version":"5921a84a68e7140e869be9aec9dda5f65bb73ab8b2034f079e8105ed24f83e93","signature":"6bd91a0d0f8474da05b4729d9238fa4d566a2d6eb06d2d8930b7d2c64d48e4e8"},{"version":"0014967c3d74be556730cdf7bb289a156d34325ed4742e8971c51efb341c997a","signature":"6e64e2f44acb227e4ff8cd10e47365670a169d7362632eb39ffa752961db496d"},{"version":"4ad87367f0baf0e4f02b8c7c7c8da88ef51c2859b090fd8910a910c185187a88","signature":"6a6a1c839b5746a2b2830b513a487258c545b6b31cc464a44f0b47187b4f2dc8"},{"version":"1f4f97f5c6c43d972eba611693dee681c6caf28c63db1427ff96e407f0bdf812","signature":"0e3e41abb7d0dbce26afeab01dbef8ba5401729f0fa1a9fc644c87a2129493a5"},{"version":"868837e4a7a6b6c6e2d8ba8e01f18c735742c804beb7f1ee451dbff8ba87dddf","signature":"7166f17b732a873dce35ac26b5c9706a4bd2addc3c7db7bcd761ba0182c13ff1"},{"version":"c611eacc80f515f410101d8c1ad81aec625003637ef395c3f15a260ca83ea8e1","signature":"f24697ee40d2ee42770e9ac779b37bef8d849798eae4b1f10f74b71071833307"},{"version":"72b350c666411e1537532286719b6cdb92d76012ae57dce70a66ad264ddef461","signature":"c6dc2807bf7230548f1a7486c75133b4f9bbe5238f2af242abd19e922748ad7e"},{"version":"b143797f2cc8570ab79df4e0e3387841ca3cda61a75f028807e637b70f94f02d","signature":"be8dd609eb8334fe1d2b07c92168d017f2e6bb63ae54b3ac105f7bd390df1482"},{"version":"c8fbd0782df14cde27a5f1d2f68fe8b82c3c096d351164182a022efb850e1644","signature":"6268522ee5e43d926ae1090d6848d4f3e1881c81a4210cb3b240370f152e8d18"},"f212c443c26f61e0d3b81a830982e6f8c128156f7deb1490642eeca69edcf180",{"version":"e8406ad8d11f39e7693cc2ccb4ee6f8348032144df9fb8b1aa5f5fac88da8a2f","signature":"8c010f44ffe8bdde4ed8edbaa69f246ab9bdc4d09a55b3ab38d37a772b110274"},{"version":"ca16f791d473ba9b50a4be53dcf219a993200a2a48b20bd35458f6fd077d0f78","signature":"f8223150ff215a38db50472576c45891ae90c78668c133afb86384b9f570ba65"},{"version":"a214a0429a8907c26bb431e7cccb7a18233355836aaa0fdb9126967dbc27b04c","signature":"75f4e806a6033dd03e1d5f3e78c72020da7209977ad3a32dd15128ed1fd0f8e3"},{"version":"d10a8ae1a1d18d362110fd8fcd7204de810c845ba238d961cdf942ab53b4833e","signature":"21f1c6ae75f29f70292c9aeda6b0f6396af519baf7b86edc4337351c86ee8e3f"},"e498046708afcdf77f957b5b91573e80388e2962e6b11f1621cf5a24dc0a4033",{"version":"7b2618006919295e7809515b62713bdac4f70f8cdf58601981d44f3661d69c53","signature":"a9d167373f76a654e4bf5322b4e1e3f2d167f56408b705f725c9e8f0d1e32dba"},{"version":"f737b592cafd16c7087bbdb8bd8d6475571a00f974424ca3e1f926142729db34","signature":"63aa6988d7c691c84fd33650b589d9a6395361b829d2db0da410101b1280b6d1"},"56a26b5ece30626fb8fbbd86586dd1e1e8e8d2a99e0ab4b3a0d51336363a8e4c","ed6dcfe11505dd54503928ac4511608182333ac410f2dc8514c7312e9697c800","356e773501cfb0bf87381fe6100bb12a266d3d883029704b626a79737c8376da","5dce20a7335b9ac24e409b3b4e6315a8fdc3bf7b2cbb73f191c7d39be8860d0f","38417692f2e619c70ab70537951b172c8529504d5a12071ccec61bf9326d63ce","04fbb61b74f8d2c3552bc86f19a6139bbe24a2f41f0124f282f6da33d90ebfc1",{"version":"635c0e05a5ad26f24f67be5b3a28e6ada2a203128cafa427300721e197df6c71","signature":"464b84ec4cce0cec56c805630f572f13c5727d125e8e808a91f0955cbc7d18fb","affectsGlobalScope":true},{"version":"ba19b2d72419c9c74b04069b26f1a8a6fc4058f7aaff70fb7e52d1530b0d2f30","signature":"f4f5980b7939741afe303814226254355112b3c715d1fbb418be70d79b84d21f"},"d7b12d89dac50d74fc6e17b4429a2547026b6655d9a983bd442510770e68cca3","0359682c54e487c4cab2b53b2b4d35cc8dea4d9914bc6abcdb5701f8b8e745a4","3636dedd85f87967bea828be43351ae2b4348c8b7c196512fb67f73d21b6db3b",{"version":"9c6f28ec1fc6ee0767e9eecb57f8e22dfbe9c48497247ba3e1252f0379f0806c","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"0875d71f48051f81cee80e4c5b75c7cff30c8901e0c5881d3b604ff766d8617d","affectsGlobalScope":true},"21ff9d8dda05d0d81ba257db4fc6fc2dd5cf93e4c6d615e855973af45d6e5809","7d7c8ef7d48a035142c07dae60545ecc0e4af4c337742760cb09726f2f8e31db","3777eb752cef9aa8dd35bb997145413310008aa54ec44766de81a7ad891526cd","d555cd63a3fc837840db192596273fdf52fb28092b0a33bec98e89a0334b3a4c",{"version":"dc5f6951bbf5b544349cbdef895c08dee6929818abd27d7d53c38cf1209091b3","affectsGlobalScope":true},"85d545d430795d54a8b2896f67f9aeb7bf19fd74a1469ae0627311eb72f0dfa2","a473cf45c3d9809518f8af913312139d9f4db6887dc554e0d06d0f4e52722e6b","d5afcd002167b6b03d595fb8b9630a00456b6fb9d2c5e8b6aaa30cb31bc44e2b","3d68ecf05475492f041c88395372c3a01b30351619bebcd38287ab185be7f7e4",{"version":"a97ac401f6b334e9b1f6c8ee9319d6e21cc39d2f400e909805dfb8ab5eab0576","affectsGlobalScope":true},"45ac321f2e15d268fd74a90ddaa6467dcaaff2c5b13f95b4b85831520fb7a491","7674b65ac0a3b160232d84464b3486d727415581e5b99ff4aec324500adc98a4","87f16999a5832968485f6e20dd70529399143c3cf35003485020a037f338b75f","508e1e25ca40ea6cde332d3232c826fcd82f456f45ae535d817754684f048f9e",{"version":"2866a528b2708aa272ec3eaafd3c980abb23aec1ef831cfc5eb2186b98c37ce5","affectsGlobalScope":true},{"version":"8f8f6ee2a0c94077f79439f51640a625ac7e2f5dd6866bd3b5a41705c836adfc","affectsGlobalScope":true},"ad908b2432dc4143f3439d3c625255f1050447a0232a1e9c2bffa20f37ec0097","e8d2d40a15313520a510409c8f3aeed28b79aab61af41ae65084570f9843b306","9700d148ccc0784923f66a3a7162e523172b530e8b3aa9834f53a6e893127c80","88587b5c94b0c4f5d78026e4beeb93383b3933c860d9840b55d6bf47d7b632bb","a473ecd14d9bafbd6a33105524b033237bbf1d6ce2cd81eb71cc54bec2d83d55","4e9f66d07d1687983ef1903654f4a4977563a0318046e893c5ecdb4dac25d376","0cff7901aedfe78e314f7d44088f07e2afa1b6e4f0473a4169b8456ca2fb245d","7a2a3ff87ffd4313a6a2f3b012e801dd249ee58152cedf90c8718dcd2c811fe3","69640cc2e76dad52daeb9914e6b70c5c9a5591a3a65190a2d3ea432cf0015e16","a39a4c527b7a2dc7a2661b711a534c10c76852c5ad6ae320767d3f7d2621b67d","1bb5c9857b2ee32c199dd85bc0f4c0299112485d6e5dc91428eabfdee0dbd68c",{"version":"5daba568741c8ed283d67bf370c626a91e09fdfbc6d4abe22a7f93e2cf5138b9","affectsGlobalScope":true},"7f77304372efe3c9967e5f9ea2061f1b4bf41dc3cda3c83cdd676f2e5af6b7e6","662661bbf9ccd869f3bca82d34234b2abdc95c657e2187c35352d42dddb24c2d","bec890dbc489a627439ad67330f9418d7f03aed29d1f874e5219a121da040cfa","4c4334eb5d8fae83416a361d787b55a5743916aed8af812a909898bc7333e709","6feb6f75a3e4e017f8e6e12740cf06f18eefcf829284fa310da6c7f4d44fb2eb","4fd3c4debadce3e9ab9dec3eb45f7f5e2e3d4ad65cf975a6d938d883cfb25a50","0953427f9c2498f71dd912fdd8a81b19cf6925de3e1ad67ab9a77b9a0f79bf0b","b709ff1f6d6235f5e9c8dcbce3e683ff24ec35046b232d5a281af083026018d1","7df562288f949945cf69c21cd912100c2afedeeb7cdb219085f7f4b46cb7dde4","9d16690485ff1eb4f6fc57aebe237728fd8e03130c460919da3a35f4d9bd97f5","ee6a154ecccde26b413e89c97a0b824f25b253c4c50a3c392bcb2b4c6ba9c314","d9a653f75614c4d3f63e88b7aae66390bf71a8cea02f5f7db8ca6c1a8e8c3f1a","a364b4a8a015ae377052fa4fac94204d79a69d879567f444c7ceff1b7a18482d","c5ec3b97d9db756c689cd11f4a11eaa9e6077b2768e3e9b54ff727a93c03a909","c14e9e86f18189c7d32b5dd03b4cf3f40bed68f0509dec06d75d41b82c065fe2","bdb07038733b2d74a75ba9c381dcb92774cd6f161ee125bfa921eae7d883ccc9","ad93e960a3a07dff7394bf0c8a558006a9ff2d0725ab28fc33dec227d4cb251e",{"version":"2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1","affectsGlobalScope":true},"4362a776026a354985d9f2acc54b92630d8a084948ff9592ccd8f167276c5117"],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"module":1,"outDir":"./","skipLibCheck":true,"sourceMap":false,"strict":true,"target":2},"fileIdsList":[[74],[29,31,32,33,34,35,36,37,38,39,40,41],[29,30,32,33,34,35,36,37,38,39,40,41],[30,31,32,33,34,35,36,37,38,39,40,41],[29,30,31,33,34,35,36,37,38,39,40,41],[29,30,31,32,34,35,36,37,38,39,40,41],[29,30,31,32,33,35,36,37,38,39,40,41],[29,30,31,32,33,34,36,37,38,39,40,41],[29,30,31,32,33,34,35,37,38,39,40,41],[29,30,31,32,33,34,35,36,38,39,40,41],[29,30,31,32,33,34,35,36,37,39,40,41],[29,30,31,32,33,34,35,36,37,38,40,41],[29,30,31,32,33,34,35,36,37,38,39,41],[29,30,31,32,33,34,35,36,37,38,39,40],[88,89,96,105],[80,88,96],[112],[84,89,97],[105],[86,88,96],[88],[88,90,105,111],[89],[96,105,111],[88,89,91,96,105,108,111],[91,105,108,111],[76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118],[111],[86,88,105],[78],[110],[103,112,114],[96],[102],[88,90,105,111,114],[68,69],[41,44,51,53,54,55,56],[41,51,53],[53],[53,54,55],[54],[41,54,59,62],[57,59,60,61,89,98],[41,59,60],[41,58],[52],[57,62,63,64],[42,45,46],[42],[42,43,44,45,46,47,48,49,50],[43,44,46,47,48],[42,43],[43,44,46],[41,70,89,98],[51,65]],"referencedMap":[[75,1],[30,2],[31,3],[29,4],[32,5],[33,6],[34,7],[35,8],[36,9],[37,10],[38,11],[39,12],[40,13],[41,14],[80,15],[81,16],[82,17],[83,18],[84,19],[85,20],[87,21],[88,21],[89,22],[90,23],[91,24],[92,25],[93,26],[119,27],[94,21],[95,28],[96,29],[99,30],[100,31],[103,21],[104,32],[105,21],[108,33],[110,33],[111,34],[113,19],[116,35],[117,19],[70,36],[57,37],[64,38],[54,39],[56,40],[63,37],[55,41],[60,42],[62,43],[61,44],[59,45],[53,46],[65,47],[47,48],[46,49],[51,50],[49,51],[44,52],[48,53],[71,54],[73,55]],"exportedModulesMap":[[75,1],[30,2],[31,3],[29,4],[32,5],[33,6],[34,7],[35,8],[36,9],[37,10],[38,11],[39,12],[40,13],[41,14],[80,15],[81,16],[82,17],[83,18],[84,19],[85,20],[87,21],[88,21],[89,22],[90,23],[91,24],[92,25],[93,26],[119,27],[94,21],[95,28],[96,29],[99,30],[100,31],[103,21],[104,32],[105,21],[108,33],[110,33],[111,34],[113,19],[116,35],[117,19],[70,36],[57,37],[64,38],[54,39],[63,37],[60,42],[62,43],[61,44],[53,46],[65,47],[47,48],[46,49],[51,50],[49,51],[44,52],[48,53],[73,55]],"semanticDiagnosticsPerFile":[75,74,69,30,31,29,32,33,34,35,36,37,38,39,40,41,76,78,79,80,81,82,83,84,85,86,87,88,89,90,77,118,91,92,93,119,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,52,70,68,8,7,2,9,10,11,12,13,14,15,16,3,4,20,17,18,19,21,22,23,5,24,25,26,27,1,28,6,57,64,54,56,63,55,60,58,62,61,59,53,65,47,42,46,45,51,50,49,44,48,43,66,67,71,72,73]},"version":"4.4.4"}
1
+ {"program":{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/@types/lodash/common/common.d.ts","../node_modules/@types/lodash/common/array.d.ts","../node_modules/@types/lodash/common/collection.d.ts","../node_modules/@types/lodash/common/date.d.ts","../node_modules/@types/lodash/common/function.d.ts","../node_modules/@types/lodash/common/lang.d.ts","../node_modules/@types/lodash/common/math.d.ts","../node_modules/@types/lodash/common/number.d.ts","../node_modules/@types/lodash/common/object.d.ts","../node_modules/@types/lodash/common/seq.d.ts","../node_modules/@types/lodash/common/string.d.ts","../node_modules/@types/lodash/common/util.d.ts","../node_modules/@types/lodash/index.d.ts","../types/basic/common.ts","../types/platform/datasource.ts","../types/platform/common.ts","../types/basic/datasource.ts","../types/basic/component.ts","../types/basic/app.ts","../types/platform/component.ts","../types/platform/app.ts","../types/lcds.ts","../types/index.ts","../node_modules/acorn/dist/acorn.d.ts","../parser/expression/index.ts","../parser/cals/utils/common.ts","../parser/cals/utils/style.ts","../parser/cals/utils/runtime.ts","../parser/cals/index.ts","../parser/cals/utils/version/config.ts","../parser/cals/utils/version/utils.ts","../parser/cals/utils/version/common.ts","../parser/cals/utils/version/parses.ts","../parser/cals/utils/version/index.ts","../parser/cals/utils/spinoff/index.ts","../parser/cals/utils/block/index.ts","../parser/index.ts","../types/platform/widget/form.ts","../types/platform/widget/meta.ts","../node_modules/typescript-json-schema/node_modules/typescript/lib/typescript.d.ts","../node_modules/@types/json-schema/index.d.ts","../node_modules/typescript-json-schema/dist/typescript-json-schema.d.ts","../utils/build.ts","../utils/constant.ts","../utils/global.d.ts","../utils/index.ts","../node_modules/@types/estree/index.d.ts","../node_modules/@types/acorn/index.d.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/index.d.ts"],"fileInfos":[{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06",{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"51b8b27c21c066bf877646e320bf6a722b80d1ade65e686923cd9d4494aef1ca","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"2c8c5ee58f30e7c944e04ab1fb5506fdbb4dd507c9efa6972cf4b91cec90c503","affectsGlobalScope":true},{"version":"2bb4b3927299434052b37851a47bf5c39764f2ba88a888a107b32262e9292b7c","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"4632665b87204bb1caa8b44d165bce0c50dfab177df5b561b345a567cabacf9a","affectsGlobalScope":true},"675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","378df8bbbb9e3f6fca05d58f644aab538e1062eab5e778fb0b83d41125df246d","d88a479cccf787b4aa82362150fbeba5211a32dbfafa7b92ba6995ecaf9a1a89","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","c24ad9be9adf28f0927e3d9d9e9cec1c677022356f241ccbbfb97bfe8fb3d1a1","0ec0998e2d085e8ea54266f547976ae152c9dd6cdb9ac4d8a520a230f5ebae84","9364c7566b0be2f7b70ff5285eb34686f83ccb01bda529b82d23b2a844653bfb","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","ae9930989ed57478eb03b9b80ad3efa7a3eacdfeff0f78ecf7894c4963a64f93","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3e59f00ab03c33717b3130066d4debb272da90eeded4935ff0604c2bc25a5cae","9fa6b83a35e897f340858995ca5d77e901d89fd18644cd4c9e8a4afe0b2e6363",{"version":"0714e2046df66c0e93c3330d30dbc0565b3e8cd3ee302cf99e4ede6220e5fec8","affectsGlobalScope":true},"499b66b9ed32d339c0227f5c839719d15a15aeb2cac7a6ef1d078e6a8ae9a818","5921a84a68e7140e869be9aec9dda5f65bb73ab8b2034f079e8105ed24f83e93","0014967c3d74be556730cdf7bb289a156d34325ed4742e8971c51efb341c997a","4ad87367f0baf0e4f02b8c7c7c8da88ef51c2859b090fd8910a910c185187a88","1f4f97f5c6c43d972eba611693dee681c6caf28c63db1427ff96e407f0bdf812","868837e4a7a6b6c6e2d8ba8e01f18c735742c804beb7f1ee451dbff8ba87dddf","c611eacc80f515f410101d8c1ad81aec625003637ef395c3f15a260ca83ea8e1","31f41966f0fd5fcd45c6cb2dcdcc7654da1c044861caefdae119d4a10aa1283a","b143797f2cc8570ab79df4e0e3387841ca3cda61a75f028807e637b70f94f02d","c8fbd0782df14cde27a5f1d2f68fe8b82c3c096d351164182a022efb850e1644","f212c443c26f61e0d3b81a830982e6f8c128156f7deb1490642eeca69edcf180","e8406ad8d11f39e7693cc2ccb4ee6f8348032144df9fb8b1aa5f5fac88da8a2f","ca16f791d473ba9b50a4be53dcf219a993200a2a48b20bd35458f6fd077d0f78","a214a0429a8907c26bb431e7cccb7a18233355836aaa0fdb9126967dbc27b04c","d10a8ae1a1d18d362110fd8fcd7204de810c845ba238d961cdf942ab53b4833e","995f061e7aaea7350bcce35028ec11c9a2a998ce2381caabe7c73abc0aa06e18","7b2618006919295e7809515b62713bdac4f70f8cdf58601981d44f3661d69c53","f737b592cafd16c7087bbdb8bd8d6475571a00f974424ca3e1f926142729db34","56a26b5ece30626fb8fbbd86586dd1e1e8e8d2a99e0ab4b3a0d51336363a8e4c","ed6dcfe11505dd54503928ac4511608182333ac410f2dc8514c7312e9697c800","356e773501cfb0bf87381fe6100bb12a266d3d883029704b626a79737c8376da","5dce20a7335b9ac24e409b3b4e6315a8fdc3bf7b2cbb73f191c7d39be8860d0f","1be6877e088889da2ec69716af1c93cb8297021e3bc3c915714001d3259b4656","e67ec5149a7abff821f5a99694ac3c58e7ee0974bfe5070b1801da65783e13c8",{"version":"635c0e05a5ad26f24f67be5b3a28e6ada2a203128cafa427300721e197df6c71","affectsGlobalScope":true},"ba19b2d72419c9c74b04069b26f1a8a6fc4058f7aaff70fb7e52d1530b0d2f30","d7b12d89dac50d74fc6e17b4429a2547026b6655d9a983bd442510770e68cca3","0359682c54e487c4cab2b53b2b4d35cc8dea4d9914bc6abcdb5701f8b8e745a4","3636dedd85f87967bea828be43351ae2b4348c8b7c196512fb67f73d21b6db3b","9c6f28ec1fc6ee0767e9eecb57f8e22dfbe9c48497247ba3e1252f0379f0806c",{"version":"76c610892722ac275a3d7316055abb6107b0a9f0d8c228fd9aee4850051b4c4e","signature":"4a3e378de7f969f0eb0c6960ea406d408e9d06c40a1e0890ac27e38990891892"},{"version":"0875d71f48051f81cee80e4c5b75c7cff30c8901e0c5881d3b604ff766d8617d","affectsGlobalScope":true},{"version":"df575ddfda5f77d97fc62c01fa5de0c3bd896cfcaf5c93949292681ab922710f","signature":"052e66d0792492cd36e87ca281f6ad49e650f7c298ba41b3a40f6f45533f0e35"},"7d7c8ef7d48a035142c07dae60545ecc0e4af4c337742760cb09726f2f8e31db","3777eb752cef9aa8dd35bb997145413310008aa54ec44766de81a7ad891526cd","d555cd63a3fc837840db192596273fdf52fb28092b0a33bec98e89a0334b3a4c",{"version":"dc5f6951bbf5b544349cbdef895c08dee6929818abd27d7d53c38cf1209091b3","affectsGlobalScope":true},"85d545d430795d54a8b2896f67f9aeb7bf19fd74a1469ae0627311eb72f0dfa2","a473cf45c3d9809518f8af913312139d9f4db6887dc554e0d06d0f4e52722e6b","d5afcd002167b6b03d595fb8b9630a00456b6fb9d2c5e8b6aaa30cb31bc44e2b","3d68ecf05475492f041c88395372c3a01b30351619bebcd38287ab185be7f7e4",{"version":"a97ac401f6b334e9b1f6c8ee9319d6e21cc39d2f400e909805dfb8ab5eab0576","affectsGlobalScope":true},"45ac321f2e15d268fd74a90ddaa6467dcaaff2c5b13f95b4b85831520fb7a491","7674b65ac0a3b160232d84464b3486d727415581e5b99ff4aec324500adc98a4","87f16999a5832968485f6e20dd70529399143c3cf35003485020a037f338b75f","508e1e25ca40ea6cde332d3232c826fcd82f456f45ae535d817754684f048f9e",{"version":"2866a528b2708aa272ec3eaafd3c980abb23aec1ef831cfc5eb2186b98c37ce5","affectsGlobalScope":true},{"version":"8f8f6ee2a0c94077f79439f51640a625ac7e2f5dd6866bd3b5a41705c836adfc","affectsGlobalScope":true},"ad908b2432dc4143f3439d3c625255f1050447a0232a1e9c2bffa20f37ec0097","e8d2d40a15313520a510409c8f3aeed28b79aab61af41ae65084570f9843b306","9700d148ccc0784923f66a3a7162e523172b530e8b3aa9834f53a6e893127c80","88587b5c94b0c4f5d78026e4beeb93383b3933c860d9840b55d6bf47d7b632bb","a473ecd14d9bafbd6a33105524b033237bbf1d6ce2cd81eb71cc54bec2d83d55","4e9f66d07d1687983ef1903654f4a4977563a0318046e893c5ecdb4dac25d376","0cff7901aedfe78e314f7d44088f07e2afa1b6e4f0473a4169b8456ca2fb245d","7a2a3ff87ffd4313a6a2f3b012e801dd249ee58152cedf90c8718dcd2c811fe3","69640cc2e76dad52daeb9914e6b70c5c9a5591a3a65190a2d3ea432cf0015e16","a39a4c527b7a2dc7a2661b711a534c10c76852c5ad6ae320767d3f7d2621b67d","1bb5c9857b2ee32c199dd85bc0f4c0299112485d6e5dc91428eabfdee0dbd68c",{"version":"5daba568741c8ed283d67bf370c626a91e09fdfbc6d4abe22a7f93e2cf5138b9","affectsGlobalScope":true},"7f77304372efe3c9967e5f9ea2061f1b4bf41dc3cda3c83cdd676f2e5af6b7e6","662661bbf9ccd869f3bca82d34234b2abdc95c657e2187c35352d42dddb24c2d","bec890dbc489a627439ad67330f9418d7f03aed29d1f874e5219a121da040cfa","4c4334eb5d8fae83416a361d787b55a5743916aed8af812a909898bc7333e709","6feb6f75a3e4e017f8e6e12740cf06f18eefcf829284fa310da6c7f4d44fb2eb","4fd3c4debadce3e9ab9dec3eb45f7f5e2e3d4ad65cf975a6d938d883cfb25a50","0953427f9c2498f71dd912fdd8a81b19cf6925de3e1ad67ab9a77b9a0f79bf0b","b709ff1f6d6235f5e9c8dcbce3e683ff24ec35046b232d5a281af083026018d1","7df562288f949945cf69c21cd912100c2afedeeb7cdb219085f7f4b46cb7dde4","9d16690485ff1eb4f6fc57aebe237728fd8e03130c460919da3a35f4d9bd97f5","ee6a154ecccde26b413e89c97a0b824f25b253c4c50a3c392bcb2b4c6ba9c314","d9a653f75614c4d3f63e88b7aae66390bf71a8cea02f5f7db8ca6c1a8e8c3f1a","a364b4a8a015ae377052fa4fac94204d79a69d879567f444c7ceff1b7a18482d","c5ec3b97d9db756c689cd11f4a11eaa9e6077b2768e3e9b54ff727a93c03a909","c14e9e86f18189c7d32b5dd03b4cf3f40bed68f0509dec06d75d41b82c065fe2","bdb07038733b2d74a75ba9c381dcb92774cd6f161ee125bfa921eae7d883ccc9","ad93e960a3a07dff7394bf0c8a558006a9ff2d0725ab28fc33dec227d4cb251e",{"version":"2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1","affectsGlobalScope":true},"4362a776026a354985d9f2acc54b92630d8a084948ff9592ccd8f167276c5117"],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"module":1,"outDir":"./","skipLibCheck":true,"sourceMap":false,"strict":true,"target":2},"fileIdsList":[[75],[29,31,32,33,34,35,36,37,38,39,40,41],[29,30,32,33,34,35,36,37,38,39,40,41],[30,31,32,33,34,35,36,37,38,39,40,41],[29,30,31,33,34,35,36,37,38,39,40,41],[29,30,31,32,34,35,36,37,38,39,40,41],[29,30,31,32,33,35,36,37,38,39,40,41],[29,30,31,32,33,34,36,37,38,39,40,41],[29,30,31,32,33,34,35,37,38,39,40,41],[29,30,31,32,33,34,35,36,38,39,40,41],[29,30,31,32,33,34,35,36,37,39,40,41],[29,30,31,32,33,34,35,36,37,38,40,41],[29,30,31,32,33,34,35,36,37,38,39,41],[29,30,31,32,33,34,35,36,37,38,39,40],[89,90,97,106],[81,89,97],[113],[85,90,98],[106],[87,89,97],[89],[89,91,106,112],[90],[97,106,112],[89,90,92,97,106,109,112],[92,106,109,112],[77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119],[112],[87,89,106],[79],[111],[104,113,115],[97],[103],[89,91,106,112,115],[68,69],[41,44,51,53,54,55,56],[41,51,53],[53],[53,54,55],[54],[41,54,59,62],[57,59,60,61,90,99],[41,59,60],[41,58],[52],[53,57,62,63,64],[42,45,46],[42],[42,43,44,45,46,47,48,49,50],[43,44,46,47,48],[42,43],[43,44,46],[41,70,90,99],[51,65,72]],"referencedMap":[[76,1],[30,2],[31,3],[29,4],[32,5],[33,6],[34,7],[35,8],[36,9],[37,10],[38,11],[39,12],[40,13],[41,14],[81,15],[82,16],[83,17],[84,18],[85,19],[86,20],[88,21],[89,21],[90,22],[91,23],[92,24],[93,25],[94,26],[120,27],[95,21],[96,28],[97,29],[100,30],[101,31],[104,21],[105,32],[106,21],[109,33],[111,33],[112,34],[114,19],[117,35],[118,19],[70,36],[57,37],[64,38],[54,39],[56,40],[63,37],[55,41],[60,42],[62,43],[61,44],[59,45],[53,46],[65,47],[47,48],[46,49],[51,50],[49,51],[44,52],[48,53],[71,54],[74,55]],"exportedModulesMap":[[76,1],[30,2],[31,3],[29,4],[32,5],[33,6],[34,7],[35,8],[36,9],[37,10],[38,11],[39,12],[40,13],[41,14],[81,15],[82,16],[83,17],[84,18],[85,19],[86,20],[88,21],[89,21],[90,22],[91,23],[92,24],[93,25],[94,26],[120,27],[95,21],[96,28],[97,29],[100,30],[101,31],[104,21],[105,32],[106,21],[109,33],[111,33],[112,34],[114,19],[117,35],[118,19],[70,36],[57,37],[64,38],[54,39],[56,40],[63,37],[55,41],[60,42],[62,43],[61,44],[59,45],[53,46],[65,47],[47,48],[46,49],[51,50],[49,51],[44,52],[48,53],[71,54],[74,55]],"semanticDiagnosticsPerFile":[76,75,69,30,31,29,32,33,34,35,36,37,38,39,40,41,77,79,80,81,82,83,84,85,86,87,88,89,90,91,78,119,92,93,94,120,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,52,70,68,8,7,2,9,10,11,12,13,14,15,16,3,4,20,17,18,19,21,22,23,5,24,25,26,27,1,28,6,57,64,54,56,63,55,60,58,62,61,59,53,65,47,42,46,45,51,50,49,44,48,43,66,67,71,72,73,74]},"version":"4.4.4"}
@@ -42,20 +42,28 @@ export interface IPlatformApp extends Omit<Basic.IApp, 'attributes' | 'events' |
42
42
  dependencies: IDependencies;
43
43
  }
44
44
  /**
45
- * 因为组件库可能重名,故采用数组对象格式,记录id、name等信息
46
- * 例子: { id:'cg-jgjmnsvid6ot', name: 'CLOUDBASE_STANDARD', type: 'components', version: '0.1.0' }
45
+ * 格式和npm一样
46
+ * 格式:{ '@命名空间/组件库名称': <protocal>:<path>?v=<版本号> } 遵循URL规范
47
+ * 命名空间有:
48
+ * (1) @tcwd。value对应是‘weda:’开头
49
+ * (2) @账户ID。value对应是‘weda:’开头
50
+ * (2) 无命名空间,则认为是npm。value是版本号
51
+ *
52
+ * path代表类型,目前有:
53
+ * (1) components,代表组件库
54
+ * (2) datasources,代表数据源
55
+ * (3) app,应用
56
+ *
57
+ * 例子
58
+ * {
59
+ * "@tcwd/gsd-h5-react": "weda:components?v=1.0.0", // 官方组件库
60
+ * "@304028332/weda_business_ui: : "weda:components?v=1.0.0", // 用户组件库
61
+ * "lodash: "2.1.2", // npm包
62
+ * }
47
63
  */
48
- export declare type IDependencies = Array<IDependenciesItem>;
49
- export interface IDependenciesItem {
50
- id: string;
51
- name: string;
52
- type: IDependenciesType;
53
- version: string;
54
- }
55
- export declare enum IDependenciesType {
56
- COMPONENTS = "components",
57
- DATASOURCES = "dataSources"
58
- }
64
+ export declare type IDependencies = {
65
+ [key: string]: string;
66
+ };
59
67
  export interface IPlatformAppExtra {
60
68
  historyType?: 'HASH' | 'BROWSER';
61
69
  npmDependencies?: {
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../../types/platform/app.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,cAAc,CAAA;AACrC,OAAO,EACL,aAAa,EACb,QAAQ,EAGT,MAAM,UAAU,CAAA;AACjB,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAA;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAA;AAE5C;;GAEG;AACH,MAAM,WAAW,YACf,SAAQ,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,YAAY,GAAG,QAAQ,GAAG,WAAW,CAAC;IAC/D;;OAEG;IACH,KAAK,EAAE,cAAc,EAAE,CAAA;IAEvB;;OAEG;IACH,WAAW,CAAC,EAAE,mBAAmB,EAAE,CAAA;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{ value: true });
3
- exports.IDependenciesType = void 0;
4
- ;
5
- var IDependenciesType;
6
- (function (IDependenciesType) {
7
- IDependenciesType["COMPONENTS"] = "components";
8
- IDependenciesType["DATASOURCES"] = "dataSources";
9
- })(IDependenciesType = exports.IDependenciesType || (exports.IDependenciesType = {}));
@@ -1,11 +1,33 @@
1
1
  /**
2
- * cals->dependencies协议:
3
- * 格式:{ 组件库: <protocal>://<hostname><path>#semver:<版本号> } 遵循semver规范
4
- * 例子:
2
+ * 格式和npm一样
3
+ * 格式:{ '@命名空间/组件库名称': <protocal>:<path>?v=<版本号> } 遵循URL规范
4
+ * 命名空间有:
5
+ * (1) @tcwd。value对应是‘weda:’开头
6
+ * (2) @账户ID。value对应是‘weda:’开头
7
+ * (2) 无命名空间,则认为是npm。value是版本号
8
+ *
9
+ * path代表类型,目前有:
10
+ * (1) components,代表组件库
11
+ * (2) datasources,代表数据源
12
+ * (3) app,应用
13
+ *
14
+ * 例子
5
15
  * {
6
- * "gsd-h5-react": "weda://weda/components/#semver:1.0.0", //组件库
7
- * "@cloudbase/weda-cloud-sdk: : "1.2.1", //数据源是一个常规npm包
16
+ * "@tcwd/gsd-h5-react": "weda:components?v=1.0.0", // 官方组件库
17
+ * "@304028332/weda_business_ui: : "weda:components?v=1.0.0", // 用户组件库
18
+ * "lodash: "2.1.2", // npm包
8
19
  * }
9
20
  */
10
- export declare const WEDA_COMP_DEPENDENCIES_PREFIX = "weda://weda/components/#semver:";
21
+ export declare enum DEPENDENCIES_TYPE {
22
+ COMPONENTS = "components"
23
+ }
24
+ /**
25
+ * 微搭协议
26
+ */
27
+ export declare const WEDA_PROTOCOL = "weda";
28
+ export declare const WEDA_OFFICIAL_NAMESPACE = "@tcwd/";
29
+ /**
30
+ * 组件库协议前缀
31
+ */
32
+ export declare const WEDA_COMP_DEPENDENCIES_PREFIX: string;
11
33
  //# sourceMappingURL=constant.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constant.d.ts","sourceRoot":"","sources":["../../utils/constant.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACF,eAAO,MAAM,6BAA6B,oCAAoC,CAAC"}
1
+ {"version":3,"file":"constant.d.ts","sourceRoot":"","sources":["../../utils/constant.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,oBAAY,iBAAiB;IAC3B,UAAU,eAAe;CAC1B;AACD;;GAEG;AACH,eAAO,MAAM,aAAa,SAAS,CAAC;AAEpC,eAAO,MAAM,uBAAuB,WAAW,CAAC;AAEhD;;GAEG;AACH,eAAO,MAAM,6BAA6B,QAA0C,CAAC"}
@@ -1,13 +1,36 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WEDA_COMP_DEPENDENCIES_PREFIX = void 0;
3
+ exports.WEDA_COMP_DEPENDENCIES_PREFIX = exports.WEDA_OFFICIAL_NAMESPACE = exports.WEDA_PROTOCOL = exports.DEPENDENCIES_TYPE = void 0;
4
4
  /**
5
- * cals->dependencies协议:
6
- * 格式:{ 组件库: <protocal>://<hostname><path>#semver:<版本号> } 遵循semver规范
7
- * 例子:
5
+ * 格式和npm一样
6
+ * 格式:{ '@命名空间/组件库名称': <protocal>:<path>?v=<版本号> } 遵循URL规范
7
+ * 命名空间有:
8
+ * (1) @tcwd。value对应是‘weda:’开头
9
+ * (2) @账户ID。value对应是‘weda:’开头
10
+ * (2) 无命名空间,则认为是npm。value是版本号
11
+ *
12
+ * path代表类型,目前有:
13
+ * (1) components,代表组件库
14
+ * (2) datasources,代表数据源
15
+ * (3) app,应用
16
+ *
17
+ * 例子
8
18
  * {
9
- * "gsd-h5-react": "weda://weda/components/#semver:1.0.0", //组件库
10
- * "@cloudbase/weda-cloud-sdk: : "1.2.1", //数据源是一个常规npm包
19
+ * "@tcwd/gsd-h5-react": "weda:components?v=1.0.0", // 官方组件库
20
+ * "@304028332/weda_business_ui: : "weda:components?v=1.0.0", // 用户组件库
21
+ * "lodash: "2.1.2", // npm包
11
22
  * }
12
23
  */
13
- exports.WEDA_COMP_DEPENDENCIES_PREFIX = 'weda://weda/components/#semver:';
24
+ var DEPENDENCIES_TYPE;
25
+ (function (DEPENDENCIES_TYPE) {
26
+ DEPENDENCIES_TYPE["COMPONENTS"] = "components";
27
+ })(DEPENDENCIES_TYPE = exports.DEPENDENCIES_TYPE || (exports.DEPENDENCIES_TYPE = {}));
28
+ /**
29
+ * 微搭协议
30
+ */
31
+ exports.WEDA_PROTOCOL = 'weda';
32
+ exports.WEDA_OFFICIAL_NAMESPACE = '@tcwd/';
33
+ /**
34
+ * 组件库协议前缀
35
+ */
36
+ exports.WEDA_COMP_DEPENDENCIES_PREFIX = `${exports.WEDA_PROTOCOL}:${DEPENDENCIES_TYPE}`;
@@ -1,3 +1,4 @@
1
1
  export * from '../parser';
2
2
  export * from '../types/index';
3
+ export * from './constant';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,gBAAgB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA"}
@@ -12,3 +12,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
13
  __exportStar(require("../parser"), exports);
14
14
  __exportStar(require("../types/index"), exports);
15
+ __exportStar(require("./constant"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudbase/cals",
3
- "version": "0.3.10-alpha.3",
3
+ "version": "0.3.11-alpha.2",
4
4
  "description": "Common application specifications",
5
5
  "main": "lib/utils/index.js",
6
6
  "files": [