@farris/jit-engine 1.3.304 → 1.3.305

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.
Files changed (150) hide show
  1. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-expression.js +1 -1
  2. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-expression.js.map +1 -1
  3. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-filter-generator.js +8 -8
  4. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-index-resource-generator.js +2 -2
  5. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-model-provider-generator.js +9 -9
  6. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-model-proxy-generator.js +34 -34
  7. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-router-generator.js +17 -17
  8. package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-bindingdata-generator.js +11 -11
  9. package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-handler-generator.js +25 -25
  10. package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-provider-generator.js +51 -51
  11. package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-statemachine-generator.js +19 -19
  12. package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-viewmodel-generator.js +31 -31
  13. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/app-vue-generator.js +7 -7
  14. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/babel-config-js-generator.js +6 -6
  15. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/gitignore-generator.js +23 -23
  16. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/main-ts-generator.js +11 -11
  17. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/package-json-generator.js +47 -47
  18. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/readme-md-generator.js +20 -20
  19. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/shims-tsx-d-ts-generator.js +15 -15
  20. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/shimx-vue-d-ts-generator.js +31 -31
  21. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/tsconfig-json-generator.js +38 -38
  22. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/vue-config-js-generator.js +20 -20
  23. package/lib/mobileapp/vue/domstructure/devkit/befproxy/vue-bef-proxy-content.js +11 -11
  24. package/lib/mobileapp/vue/domstructure/devkit/befproxy/vue-bef-proxy-operation-parameter.js +18 -18
  25. package/lib/mobileapp/vue/domstructure/devkit/befproxy/vue-bef-proxy-operation.js +13 -13
  26. package/lib/mobileapp/vue/domstructure/devkit/befproxy/vue-bef-proxy-service.js +9 -9
  27. package/lib/mobileapp/vue/domstructure/devkit/befproxy/vue-bef-proxy.js +2 -2
  28. package/lib/mobileapp/vue/domstructure/internal-entity/page-flow/vue-page-flow-entity.js +2 -2
  29. package/lib/mobileapp/vue/domstructure/internal-entity/page-flow/vue-page-flow-page.js +2 -2
  30. package/lib/mobileapp/vue/domstructure/internal-entity/page-flow/vue-page-flow-project.js +2 -2
  31. package/lib/mobileapp/vue/domstructure/ui/basic/button/button.js.map +1 -1
  32. package/lib/mobileapp/vue/domstructure/ui/basic/image/image.js +3 -19
  33. package/lib/mobileapp/vue/domstructure/ui/basic/image/image.js.map +1 -1
  34. package/lib/mobileapp/vue/domstructure/ui/basic/index.js +0 -3
  35. package/lib/mobileapp/vue/domstructure/ui/basic/index.js.map +1 -1
  36. package/lib/mobileapp/vue/domstructure/ui/basic/tab/vue-tab-bar.js +1 -1
  37. package/lib/mobileapp/vue/domstructure/ui/basic/tab/vue-tab-bar.js.map +1 -1
  38. package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-area.js +1 -29
  39. package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-area.js.map +1 -1
  40. package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-comments.js +0 -10
  41. package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-comments.js.map +1 -1
  42. package/lib/mobileapp/vue/domstructure/ui/business/scroll-navbar.js +0 -24
  43. package/lib/mobileapp/vue/domstructure/ui/business/scroll-navbar.js.map +1 -1
  44. package/lib/mobileapp/vue/domstructure/ui/common/vue-position.js +5 -2
  45. package/lib/mobileapp/vue/domstructure/ui/common/vue-position.js.map +1 -1
  46. package/lib/mobileapp/vue/domstructure/ui/common/vue-toolbar.js.map +1 -1
  47. package/lib/mobileapp/vue/domstructure/ui/container/index.js +0 -4
  48. package/lib/mobileapp/vue/domstructure/ui/container/index.js.map +1 -1
  49. package/lib/mobileapp/vue/domstructure/ui/container/vue-container.js +0 -9
  50. package/lib/mobileapp/vue/domstructure/ui/container/vue-container.js.map +1 -1
  51. package/lib/mobileapp/vue/domstructure/ui/container/vue-content-container.js +6 -0
  52. package/lib/mobileapp/vue/domstructure/ui/container/vue-content-container.js.map +1 -1
  53. package/lib/mobileapp/vue/domstructure/ui/container/vue-float-container.js +6 -0
  54. package/lib/mobileapp/vue/domstructure/ui/container/vue-float-container.js.map +1 -1
  55. package/lib/mobileapp/vue/domstructure/ui/container/vue-section.js +0 -10
  56. package/lib/mobileapp/vue/domstructure/ui/container/vue-section.js.map +1 -1
  57. package/lib/mobileapp/vue/domstructure/ui/display/index.js +0 -2
  58. package/lib/mobileapp/vue/domstructure/ui/display/index.js.map +1 -1
  59. package/lib/mobileapp/vue/domstructure/ui/display/list-view/vue-list-view.js +0 -16
  60. package/lib/mobileapp/vue/domstructure/ui/display/list-view/vue-list-view.js.map +1 -1
  61. package/lib/mobileapp/vue/domstructure/ui/input/number.js +1 -2
  62. package/lib/mobileapp/vue/domstructure/ui/input/number.js.map +1 -1
  63. package/lib/mobileapp/vue/domstructure/ui/input/picker.js.map +1 -1
  64. package/lib/mobileapp/vue/domstructure/ui/input/radio-group.js.map +1 -1
  65. package/lib/mobileapp/vue/domstructure/ui/input/text-box.js +0 -1
  66. package/lib/mobileapp/vue/domstructure/ui/input/text-box.js.map +1 -1
  67. package/lib/mobileapp/vue/domstructure/ui/vue-base-component.js +1 -11
  68. package/lib/mobileapp/vue/domstructure/ui/vue-base-component.js.map +1 -1
  69. package/lib/mobileapp/vue/pug-template/config/ui-template-config.js +1 -19
  70. package/lib/mobileapp/vue/pug-template/config/ui-template-config.js.map +1 -1
  71. package/lib/mobileapp/vue/static/.editorconfig +9 -9
  72. package/lib/mobileapp/vue/static/.gitignore +13 -0
  73. package/lib/mobileapp/vue/static/.npmignore +13 -0
  74. package/lib/mobileapp/vue/static/.prettierrc +6 -6
  75. package/lib/mobileapp/vue/static/README.md +18 -18
  76. package/lib/mobileapp/vue/static/babel.config.js +13 -13
  77. package/lib/mobileapp/vue/static/src/main.ts +9 -9
  78. package/lib/mobileapp/vue/static/src/shims-vue.d.ts +32 -32
  79. package/lib/mobileapp/vue/static/tsconfig.json +20 -20
  80. package/lib/mobileapp/vue/task/vue-recursiveGenerateDevkit.js +0 -12
  81. package/lib/mobileapp/vue/task/vue-recursiveGenerateDevkit.js.map +1 -1
  82. package/lib/mobileapp/vue/utility/parameter-collector/page-component-collector/page-component-ref-parameter.js +2 -2
  83. package/lib/mobileapp/vue/utility/template-generator/page-component-control-generator.js +2 -2
  84. package/lib/mobileapp/vue/utility/template-generator/page-component-ref-generator.js +1 -1
  85. package/lib/mobileapp/vue/utility/template-generator/page-statemachine-generator.js +21 -21
  86. package/lib/mobileapp/vue/utility/vue-content-type-creator.js +0 -9
  87. package/lib/mobileapp/vue/utility/vue-content-type-creator.js.map +1 -1
  88. package/lib/template/ui/mobilevue/action-bar.pug +10 -10
  89. package/lib/template/ui/mobilevue/approval-comments.pug +1 -1
  90. package/lib/template/ui/mobilevue/banner.pug +4 -4
  91. package/lib/template/ui/mobilevue/button.pug +1 -1
  92. package/lib/template/ui/mobilevue/component-ref.pug +3 -3
  93. package/lib/template/ui/mobilevue/field-set.pug +1 -2
  94. package/lib/template/ui/mobilevue/image-uploader.pug +15 -15
  95. package/lib/template/ui/mobilevue/image.pug +9 -19
  96. package/lib/template/ui/mobilevue/list-view.pug +6 -7
  97. package/lib/template/ui/mobilevue/lookup-employee.pug +2 -0
  98. package/lib/template/ui/mobilevue/number.pug +1 -2
  99. package/lib/template/ui/mobilevue/scroll-navbar.pug +1 -1
  100. package/lib/template/ui/mobilevue/section.pug +1 -1
  101. package/lib/template/ui/mobilevue/sidebar-item.pug +9 -9
  102. package/lib/template/ui/mobilevue/sidebar.pug +11 -11
  103. package/lib/template/ui/mobilevue/static-text.pug +1 -1
  104. package/lib/template/ui/mobilevue/steps.pug +8 -8
  105. package/lib/template/ui/mobilevue/switch.pug +0 -1
  106. package/lib/template/ui/mobilevue/tab-bar.pug +0 -1
  107. package/lib/template/ui/mobilevue/text-box.pug +2 -6
  108. package/lib/template/ui/mobilevue/toolbar-area.pug +1 -1
  109. package/lib/template/ui/mobilevue/toolbar.pug +5 -5
  110. package/package.json +56 -57
  111. package/lib/mobileapp/vue/domstructure/ui/basic/icon/icon.js +0 -42
  112. package/lib/mobileapp/vue/domstructure/ui/basic/icon/icon.js.map +0 -1
  113. package/lib/mobileapp/vue/domstructure/ui/basic/icon/index.js +0 -14
  114. package/lib/mobileapp/vue/domstructure/ui/basic/icon/index.js.map +0 -1
  115. package/lib/mobileapp/vue/domstructure/ui/basic/label/index.js +0 -14
  116. package/lib/mobileapp/vue/domstructure/ui/basic/label/index.js.map +0 -1
  117. package/lib/mobileapp/vue/domstructure/ui/basic/label/label.js +0 -35
  118. package/lib/mobileapp/vue/domstructure/ui/basic/label/label.js.map +0 -1
  119. package/lib/mobileapp/vue/domstructure/ui/basic/tag/index.js +0 -14
  120. package/lib/mobileapp/vue/domstructure/ui/basic/tag/index.js.map +0 -1
  121. package/lib/mobileapp/vue/domstructure/ui/basic/tag/tag.js +0 -42
  122. package/lib/mobileapp/vue/domstructure/ui/basic/tag/tag.js.map +0 -1
  123. package/lib/mobileapp/vue/domstructure/ui/common/vue-background.js +0 -38
  124. package/lib/mobileapp/vue/domstructure/ui/common/vue-background.js.map +0 -1
  125. package/lib/mobileapp/vue/domstructure/ui/common/vue-border-radius.js +0 -29
  126. package/lib/mobileapp/vue/domstructure/ui/common/vue-border-radius.js.map +0 -1
  127. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-col.js +0 -27
  128. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-col.js.map +0 -1
  129. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-row.js +0 -27
  130. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-row.js.map +0 -1
  131. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container.js +0 -27
  132. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container.js.map +0 -1
  133. package/lib/mobileapp/vue/domstructure/ui/container/vue-template-container.js +0 -28
  134. package/lib/mobileapp/vue/domstructure/ui/container/vue-template-container.js.map +0 -1
  135. package/lib/mobileapp/vue/domstructure/ui/display/avatar/avatar.js +0 -57
  136. package/lib/mobileapp/vue/domstructure/ui/display/avatar/avatar.js.map +0 -1
  137. package/lib/mobileapp/vue/domstructure/ui/display/avatar/index.js +0 -14
  138. package/lib/mobileapp/vue/domstructure/ui/display/avatar/index.js.map +0 -1
  139. package/lib/mobileapp/vue/domstructure/ui/display/text/index.js +0 -14
  140. package/lib/mobileapp/vue/domstructure/ui/display/text/index.js.map +0 -1
  141. package/lib/mobileapp/vue/domstructure/ui/display/text/vue-text.js +0 -50
  142. package/lib/mobileapp/vue/domstructure/ui/display/text/vue-text.js.map +0 -1
  143. package/lib/template/ui/mobilevue/avatar.pug +0 -19
  144. package/lib/template/ui/mobilevue/icon.pug +0 -12
  145. package/lib/template/ui/mobilevue/label.pug +0 -12
  146. package/lib/template/ui/mobilevue/layout-container-col.pug +0 -11
  147. package/lib/template/ui/mobilevue/layout-container-row.pug +0 -12
  148. package/lib/template/ui/mobilevue/layout-container.pug +0 -11
  149. package/lib/template/ui/mobilevue/tag.pug +0 -33
  150. package/lib/template/ui/mobilevue/text.pug +0 -105
package/package.json CHANGED
@@ -1,57 +1,56 @@
1
- {
2
- "name": "@farris/jit-engine",
3
- "version": "1.3.304",
4
- "description": "",
5
- "main": "./lib/index.js",
6
- "bin": {
7
- "jit": "./bin/index.js"
8
- },
9
- "engines": {
10
- "node": ">= 6.9.0",
11
- "npm": ">= 3.0.0"
12
- },
13
- "files": [
14
- "lib/",
15
- "bin/",
16
- "ioc.config"
17
- ],
18
- "scripts": {
19
- "build": "npm run build-ts && npm run copy-static-assets",
20
- "build-q": "npm run build-ts",
21
- "test": "jest --coverage ",
22
- "watch-test": "npm run test --watchAll",
23
- "build-ts": "tsc",
24
- "tslint": "tslint -c tslint.json -p tsconfig.json",
25
- "copy-static-assets": "ts-node copyStaticAssets.ts"
26
- },
27
- "keywords": [
28
- "jit",
29
- "engine",
30
- "jit-engine"
31
- ],
32
- "author": "Noah",
33
- "license": "ISC",
34
- "dependencies": {
35
- "fs-extra": "^8.1.0",
36
- "lodash": "^4.17.10",
37
- "prettier": "^1.18.2",
38
- "pug": "^2.0.0-rc.4",
39
- "read-package-tree": "^5.3.1",
40
- "typescript-ioc": "^1.2.4",
41
- "yargs": "^12.0.1"
42
- },
43
- "devDependencies": {
44
- "@types/fs-extra": "^8.1.1",
45
- "@types/jest": "24.0.15",
46
- "@types/lodash": "^4.14.91",
47
- "@types/node": "^12.6.1",
48
- "@types/prettier": "^1.18.0",
49
- "@types/pug": "^2.0.4",
50
- "@types/yargs": "^11.1.1",
51
- "jest": "^24.8.0",
52
- "ts-jest": "^24.0.2",
53
- "ts-node": "^8.3.0",
54
- "tslint": "^5.18.0",
55
- "typescript": "^3.5.3"
56
- }
57
- }
1
+ {
2
+ "name": "@farris/jit-engine",
3
+ "version": "1.3.305",
4
+ "description": "",
5
+ "main": "./lib/index.js",
6
+ "bin": {
7
+ "jit": "./bin/index.js"
8
+ },
9
+ "engines": {
10
+ "node": ">= 6.9.0",
11
+ "npm": ">= 3.0.0"
12
+ },
13
+ "files": [
14
+ "lib/",
15
+ "bin/",
16
+ "ioc.config"
17
+ ],
18
+ "scripts": {
19
+ "build": "npm run build-ts && npm run copy-static-assets",
20
+ "build-q": "npm run build-ts",
21
+ "test": "jest --coverage ",
22
+ "watch-test": "npm run test --watchAll",
23
+ "build-ts": "tsc",
24
+ "tslint": "tslint -c tslint.json -p tsconfig.json",
25
+ "copy-static-assets": "ts-node copyStaticAssets.ts"
26
+ },
27
+ "keywords": [
28
+ "jit",
29
+ "engine",
30
+ "jit-engine"
31
+ ],
32
+ "author": "Noah",
33
+ "license": "ISC",
34
+ "dependencies": {
35
+ "fs-extra": "^8.1.0",
36
+ "lodash": "^4.17.10",
37
+ "prettier": "^1.18.2",
38
+ "pug": "^2.0.0-rc.4",
39
+ "typescript-ioc": "^1.2.4",
40
+ "yargs": "^12.0.1"
41
+ },
42
+ "devDependencies": {
43
+ "@types/fs-extra": "^8.1.1",
44
+ "@types/jest": "24.0.15",
45
+ "@types/lodash": "^4.14.91",
46
+ "@types/node": "^12.6.1",
47
+ "@types/prettier": "^1.18.0",
48
+ "@types/pug": "^2.0.4",
49
+ "@types/yargs": "^11.1.1",
50
+ "jest": "^24.8.0",
51
+ "ts-jest": "^24.0.2",
52
+ "ts-node": "^8.3.0",
53
+ "tslint": "^5.18.0",
54
+ "typescript": "^4.3.5"
55
+ }
56
+ }
@@ -1,42 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VueIcon = void 0;
4
- const vue_base_component_1 = require("../../vue-base-component");
5
- class VueIcon extends vue_base_component_1.VueBaseComponent {
6
- constructor(param, context) {
7
- var _a;
8
- super(param, context);
9
- this.round = true;
10
- this.block = true;
11
- let obj;
12
- if (typeof param === 'string') {
13
- obj = JSON.parse(param);
14
- }
15
- else {
16
- obj = param;
17
- }
18
- if (!obj) {
19
- return;
20
- }
21
- const keys = 'iconName, iconSize, iconColor,click';
22
- Object.keys(obj).forEach(key => {
23
- this.appearance = this.appearance ? this.appearance : { class: '', style: '' };
24
- if (keys.includes(key)) {
25
- switch (key) {
26
- case 'iconSize':
27
- this.appearance.style += `font-size: ${obj[key]}px;`;
28
- break;
29
- case 'iconColor':
30
- this.appearance.style += `color: ${obj[key]};`;
31
- break;
32
- default:
33
- this[key] = obj[key];
34
- break;
35
- }
36
- }
37
- });
38
- ((_a = this.margin) === null || _a === void 0 ? void 0 : _a.getStyle) && this.addStyle(this.margin.getStyle());
39
- }
40
- }
41
- exports.VueIcon = VueIcon;
42
- //# sourceMappingURL=icon.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"icon.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/basic/icon/icon.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;AAG5D,MAAa,OAAQ,SAAQ,qCAAgB;IASzC,YAAY,KAAU,EAAE,OAAyB;;QAC7C,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QAR1B,UAAK,GAAG,IAAI,CAAC;QACb,UAAK,GAAG,IAAI,CAAC;QAST,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QAED,MAAM,IAAI,GAAG,qCAAqC,CAAC;QACnD,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAC,CAAA;YAC7E,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,QAAQ,GAAG,EAAE;oBACT,KAAK,UAAU;wBACX,IAAI,CAAC,UAAU,CAAC,KAAK,IAAI,cAAc,GAAG,CAAC,GAAG,CAAC,KAAK,CAAA;wBACpD,MAAM;oBACV,KAAK,WAAW;wBACZ,IAAI,CAAC,UAAU,CAAC,KAAK,IAAI,UAAU,GAAG,CAAC,GAAG,CAAC,GAAG,CAAA;wBAC9C,MAAM;oBACV;wBACI,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;wBACrB,MAAM;iBACb;aACJ;QACL,CAAC,CAAC,CAAC;QACH,CAAA,MAAA,IAAI,CAAC,MAAM,0CAAE,QAAQ,KAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAA;IAClE,CAAC;CAGJ;AA5CD,0BA4CC"}
@@ -1,14 +0,0 @@
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
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./icon"), exports);
14
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/basic/icon/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAAwB"}
@@ -1,14 +0,0 @@
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
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./label"), exports);
14
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/basic/label/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAAyB"}
@@ -1,35 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VueLabel = void 0;
4
- const vue_base_component_1 = require("../../vue-base-component");
5
- class VueLabel extends vue_base_component_1.VueBaseComponent {
6
- constructor(param, context) {
7
- var _a;
8
- super(param, context);
9
- this.round = true;
10
- this.block = true;
11
- let obj;
12
- if (typeof param === 'string') {
13
- obj = JSON.parse(param);
14
- }
15
- else {
16
- obj = param;
17
- }
18
- if (!obj) {
19
- return;
20
- }
21
- const keys = 'text,fontSize,fontWeight,lineHeight,semanticColor';
22
- Object.keys(obj).forEach(key => {
23
- if (keys.includes(key)) {
24
- this[key] = obj[key];
25
- }
26
- });
27
- this.fontSize && this.addStyle(`font-size: ${this.fontSize}px;`);
28
- this.fontWeight && this.addStyle(`font-weight: ${this.fontWeight};`);
29
- this.lineHeight && this.addStyle(`line-height: ${this.lineHeight}px;`);
30
- this.semanticColor && this.addStyle(`color: ${this.semanticColor};`);
31
- ((_a = this.padding) === null || _a === void 0 ? void 0 : _a.getStyle) && this.addStyle(this.padding.getStyle());
32
- }
33
- }
34
- exports.VueLabel = VueLabel;
35
- //# sourceMappingURL=label.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"label.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/basic/label/label.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;AAG5D,MAAa,QAAS,SAAQ,qCAAgB;IAS1C,YAAY,KAAU,EAAE,OAAyB;;QAC7C,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QAR1B,UAAK,GAAG,IAAI,CAAC;QACb,UAAK,GAAG,IAAI,CAAC;QAST,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QAED,MAAM,IAAI,GAAG,mDAAmD,CAAC;QACjE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;aACxB;QACL,CAAC,CAAC,CAAA;QACF,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,CAAC,cAAc,IAAI,CAAC,QAAQ,KAAK,CAAC,CAAA;QAChE,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,QAAQ,CAAC,gBAAgB,IAAI,CAAC,UAAU,GAAG,CAAC,CAAA;QACpE,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,QAAQ,CAAC,gBAAgB,IAAI,CAAC,UAAU,KAAK,CAAC,CAAA;QACtE,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,QAAQ,CAAC,UAAU,IAAI,CAAC,aAAa,GAAG,CAAC,CAAA;QACpE,CAAA,MAAA,IAAI,CAAC,OAAO,0CAAE,QAAQ,KAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAA;IACpE,CAAC;CAGJ;AArCD,4BAqCC"}
@@ -1,14 +0,0 @@
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
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./tag"), exports);
14
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/basic/tag/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,wCAAuB"}
@@ -1,42 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VueTag = void 0;
4
- const vue_base_component_1 = require("../../vue-base-component");
5
- class VueTag extends vue_base_component_1.VueBaseComponent {
6
- constructor(param, context) {
7
- super(param, context);
8
- this.round = true;
9
- this.block = true;
10
- let obj;
11
- if (typeof param === 'string') {
12
- obj = JSON.parse(param);
13
- }
14
- else {
15
- obj = param;
16
- }
17
- if (!obj) {
18
- return;
19
- }
20
- const keys = 'displayType, binding,formatter, tagSize, tagColor';
21
- Object.keys(obj).forEach(key => {
22
- if (keys.includes(key)) {
23
- this[key] = obj[key];
24
- }
25
- if (key === 'formatter') {
26
- if (obj[key]) {
27
- for (const prop in obj[key]) {
28
- if (obj[key][prop] === null || obj[key][prop] === undefined || obj[key][prop] === '') {
29
- delete obj[key][prop];
30
- }
31
- }
32
- if (obj[key]['dateFormat']) {
33
- obj[key]['format'] = obj[key]['dateFormat'];
34
- delete obj[key]['dateFormat'];
35
- }
36
- }
37
- }
38
- });
39
- }
40
- }
41
- exports.VueTag = VueTag;
42
- //# sourceMappingURL=tag.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tag.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/basic/tag/tag.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;AAG5D,MAAa,MAAO,SAAQ,qCAAgB;IASxC,YAAY,KAAU,EAAE,OAAyB;QAC7C,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QAR1B,UAAK,GAAG,IAAI,CAAC;QACb,UAAK,GAAG,IAAI,CAAC;QAST,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QAED,MAAM,IAAI,GAAG,mDAAmD,CAAC;QACjE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;aACxB;YACD,IAAI,GAAG,KAAK,WAAW,EAAE;gBACrB,IAAG,GAAG,CAAC,GAAG,CAAC,EAAC;oBACR,KAAK,MAAM,IAAI,IAAI,GAAG,CAAC,GAAG,CAAC,EAAE;wBACzB,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK,IAAI,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK,SAAS,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE;4BACpF,OAAO,GAAG,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC;yBACvB;qBACJ;oBACD,IAAG,GAAG,CAAC,GAAG,CAAC,CAAC,YAAY,CAAC,EAAC;wBACtB,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC,YAAY,CAAC,CAAC;wBAC5C,OAAO,GAAG,CAAC,GAAG,CAAC,CAAC,YAAY,CAAC,CAAC;qBACjC;iBACJ;aACJ;QAEL,CAAC,CAAC,CAAC;IACP,CAAC;CAGJ;AA9CD,wBA8CC"}
@@ -1,38 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VueBackground = void 0;
4
- const toolhepler_1 = require("../../../../../utility/toolhepler");
5
- class VueBackground {
6
- constructor(param) {
7
- this.keys = 'type, color,image, gradient, position,repeat,size';
8
- let obj;
9
- if (typeof param === 'string') {
10
- return;
11
- }
12
- else {
13
- obj = param;
14
- }
15
- if (!obj) {
16
- return;
17
- }
18
- Object.keys(obj).forEach(key => {
19
- if (this.keys.includes(key)) {
20
- this[key] = obj[key];
21
- }
22
- });
23
- }
24
- getStyle() {
25
- const config = [this.type, 'position', 'repeat', 'size'];
26
- return config.filter(key => toolhepler_1.ToolHelper.isDef(this[key])).map((key) => {
27
- if (key === 'image') {
28
- return `background-${key}: url(${this[key]});`;
29
- }
30
- else if (key === 'gradient') {
31
- return `background-image: ${this[key]};`;
32
- }
33
- return `background-${key}: ${this[key]};`;
34
- }).join(' ');
35
- }
36
- }
37
- exports.VueBackground = VueBackground;
38
- //# sourceMappingURL=vue-background.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vue-background.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/common/vue-background.ts"],"names":[],"mappings":";;;AAAA,kEAA+D;AAE/D,MAAa,aAAa;IAKtB,YAAY,KAAmB;QAFvB,SAAI,GAAG,mDAAmD,CAAC;QAG/D,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAE3B,OAAM;SACT;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QACD,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACzB,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;aACxB;QACL,CAAC,CAAC,CAAC;IACP,CAAC;IACD,QAAQ;QACJ,MAAM,MAAM,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,UAAU,EAAC,QAAQ,EAAC,MAAM,CAAC,CAAA;QAEtD,OAAO,MAAM,CAAC,MAAM,CAAC,GAAG,CAAA,EAAE,CAAC,uBAAU,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE;YAEhE,IAAG,GAAG,KAAK,OAAO,EAAC;gBACf,OAAO,cAAc,GAAG,SAAS,IAAI,CAAC,GAAG,CAAC,IAAI,CAAA;aACjD;iBAAM,IAAG,GAAG,KAAK,UAAU,EAAE;gBAC1B,OAAO,qBAAqB,IAAI,CAAC,GAAG,CAAC,GAAG,CAAA;aAC3C;YACD,OAAO,cAAc,GAAG,KAAK,IAAI,CAAC,GAAG,CAAC,GAAG,CAAA;QAC7C,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;IAChB,CAAC;CACJ;AApCD,sCAoCC"}
@@ -1,29 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VueBorderRadius = void 0;
4
- class VueBorderRadius {
5
- constructor(param) {
6
- this.keys = 'topLeft,topRight,bottomLeft,bottomRight';
7
- let obj;
8
- if (typeof param === 'string') {
9
- return;
10
- }
11
- else {
12
- obj = param;
13
- }
14
- if (!obj) {
15
- return;
16
- }
17
- Object.keys(obj).forEach(key => {
18
- if (this.keys.includes(key)) {
19
- this[key] = obj[key];
20
- }
21
- });
22
- }
23
- getStyle() {
24
- const { topLeft = 0, topRight = 0, bottomLeft = 0, bottomRight = 0 } = this;
25
- return `border-radius: ${topLeft}px ${topRight}px ${bottomLeft}px ${bottomRight}px;`;
26
- }
27
- }
28
- exports.VueBorderRadius = VueBorderRadius;
29
- //# sourceMappingURL=vue-border-radius.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vue-border-radius.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/common/vue-border-radius.ts"],"names":[],"mappings":";;;AAEA,MAAa,eAAe;IAKxB,YAAY,KAAmB;QAFvB,SAAI,GAAG,yCAAyC,CAAC;QAGrD,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAE3B,OAAM;SACT;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QACD,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACzB,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;aACxB;QACL,CAAC,CAAC,CAAC;IACP,CAAC;IACD,QAAQ;QACJ,MAAM,EAAE,OAAO,GAAG,CAAC,EAAE,QAAQ,GAAG,CAAC,EAAE,UAAU,GAAG,CAAC,EAAE,WAAW,GAAG,CAAC,EAAE,GAAG,IAAI,CAAA;QAC3E,OAAO,kBAAkB,OAAO,MAAM,QAAQ,MAAM,UAAU,MAAM,WAAW,KAAK,CAAA;IACxF,CAAC;CACJ;AA3BD,0CA2BC"}
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VueLayoutContainerCol = void 0;
4
- const vue_container_1 = require("./vue-container");
5
- class VueLayoutContainerCol extends vue_container_1.VueContainer {
6
- constructor(param, context) {
7
- super(param, context);
8
- let obj;
9
- if (typeof param === 'string') {
10
- obj = JSON.parse(param);
11
- }
12
- else {
13
- obj = param;
14
- }
15
- if (!obj) {
16
- return;
17
- }
18
- const keys = 'colWidth';
19
- Object.keys(obj).forEach(key => {
20
- if (keys.includes(key)) {
21
- this[key] = obj[key];
22
- }
23
- });
24
- }
25
- }
26
- exports.VueLayoutContainerCol = VueLayoutContainerCol;
27
- //# sourceMappingURL=vue-layout-container-col.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vue-layout-container-col.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/container/vue-layout-container-col.ts"],"names":[],"mappings":";;;AAAA,mDAA+C;AAG/C,MAAa,qBAAsB,SAAQ,4BAAY;IAGnD,YAAY,KAAmB,EAAE,OAAyB;QACtD,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QAEtB,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QACD,MAAM,IAAI,GAAG,UAAU,CAAC;QACxB,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;aACxB;QACL,CAAC,CAAC,CAAC;IAEP,CAAC;CACJ;AAxBD,sDAwBC"}
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VueLayoutContainerRow = void 0;
4
- const vue_container_1 = require("./vue-container");
5
- class VueLayoutContainerRow extends vue_container_1.VueContainer {
6
- constructor(param, context) {
7
- super(param, context);
8
- let obj;
9
- if (typeof param === 'string') {
10
- obj = JSON.parse(param);
11
- }
12
- else {
13
- obj = param;
14
- }
15
- if (!obj) {
16
- return;
17
- }
18
- const keys = 'gutter, rowHeight';
19
- Object.keys(obj).forEach(key => {
20
- if (keys.includes(key)) {
21
- this[key] = obj[key];
22
- }
23
- });
24
- }
25
- }
26
- exports.VueLayoutContainerRow = VueLayoutContainerRow;
27
- //# sourceMappingURL=vue-layout-container-row.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vue-layout-container-row.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/container/vue-layout-container-row.ts"],"names":[],"mappings":";;;AAAA,mDAA+C;AAG/C,MAAa,qBAAsB,SAAQ,4BAAY;IAGnD,YAAY,KAAmB,EAAE,OAAyB;QACtD,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QAEtB,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QACD,MAAM,IAAI,GAAG,mBAAmB,CAAC;QACjC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;aACxB;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CACJ;AAvBD,sDAuBC"}
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VueLayoutContainer = void 0;
4
- const vue_container_1 = require("./vue-container");
5
- class VueLayoutContainer extends vue_container_1.VueContainer {
6
- constructor(param, context) {
7
- super(param, context);
8
- let obj;
9
- if (typeof param === 'string') {
10
- obj = JSON.parse(param);
11
- }
12
- else {
13
- obj = param;
14
- }
15
- if (!obj) {
16
- return;
17
- }
18
- const keys = 'gutter';
19
- Object.keys(obj).forEach(key => {
20
- if (keys.includes(key)) {
21
- this[key] = obj[key];
22
- }
23
- });
24
- }
25
- }
26
- exports.VueLayoutContainer = VueLayoutContainer;
27
- //# sourceMappingURL=vue-layout-container.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vue-layout-container.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/container/vue-layout-container.ts"],"names":[],"mappings":";;;AAAA,mDAA+C;AAG/C,MAAa,kBAAmB,SAAQ,4BAAY;IAGhD,YAAY,KAAmB,EAAE,OAAyB;QACtD,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QAEtB,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QACD,MAAM,IAAI,GAAG,QAAQ,CAAC;QACtB,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;aACxB;QACL,CAAC,CAAC,CAAC;IAEP,CAAC;CACJ;AAxBD,gDAwBC"}
@@ -1,28 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VueTemplateContainer = void 0;
4
- const vue_container_1 = require("./vue-container");
5
- class VueTemplateContainer extends vue_container_1.VueContainer {
6
- constructor(param, context) {
7
- super(param, context);
8
- let obj;
9
- if (typeof param === 'string') {
10
- obj = JSON.parse(param);
11
- }
12
- else {
13
- obj = param;
14
- }
15
- if (!obj) {
16
- return;
17
- }
18
- const keys = 'title,fill,mode,html';
19
- Object.keys(obj).forEach(key => {
20
- if (keys.includes(key)) {
21
- this[key] = obj[key];
22
- }
23
- });
24
- this.fill && this.addClass('flex-fill');
25
- }
26
- }
27
- exports.VueTemplateContainer = VueTemplateContainer;
28
- //# sourceMappingURL=vue-template-container.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vue-template-container.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/container/vue-template-container.ts"],"names":[],"mappings":";;;AAAA,mDAA+C;AAG/C,MAAa,oBAAqB,SAAQ,4BAAY;IAIlD,YAAY,KAAmB,EAAE,OAAyB;QACtD,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QAEtB,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QAED,MAAM,IAAI,GAAG,sBAAsB,CAAC;QACpC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;aACxB;QACL,CAAC,CAAC,CAAC;QAEH,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAA;IAC3C,CAAC;CACJ;AA3BD,oDA2BC"}
@@ -1,57 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VueAvatar = void 0;
4
- const vue_base_component_1 = require("../../vue-base-component");
5
- class VueAvatar extends vue_base_component_1.VueBaseComponent {
6
- constructor(param, context) {
7
- var _a;
8
- super(param, context);
9
- let obj;
10
- if (typeof param === 'string') {
11
- obj = JSON.parse(param);
12
- }
13
- else {
14
- obj = param;
15
- }
16
- if (!obj) {
17
- return;
18
- }
19
- const keys = `id,fit,border,srcMode,sysUserId,dynamicSrc,attachId,rootId,avatarText,width,height`;
20
- Object.keys(obj).forEach((key) => {
21
- if (keys.includes(key)) {
22
- switch (key) {
23
- case 'sysUserId':
24
- this.sysUserId =
25
- obj.sysUserId && obj.sysUserId.bindingPath
26
- ? 'currentEntityData.' + obj.sysUserId.bindingPath
27
- : undefined;
28
- break;
29
- case 'attachId':
30
- this.attachId =
31
- obj.attachId && obj.attachId.bindingPath
32
- ? 'currentEntityData.' + obj.attachId.bindingPath
33
- : undefined;
34
- break;
35
- case 'dynamicSrc':
36
- this.dynamicSrc =
37
- obj.dynamicSrc && obj.dynamicSrc.bindingPath
38
- ? 'currentEntityData.' + obj.dynamicSrc.bindingPath
39
- : undefined;
40
- break;
41
- case 'avatarText':
42
- this.avatarText =
43
- obj.avatarText && obj.avatarText.bindingPath
44
- ? 'currentEntityData.' + obj.avatarText.bindingPath
45
- : undefined;
46
- break;
47
- default:
48
- this[key] = obj[key];
49
- break;
50
- }
51
- }
52
- });
53
- ((_a = this.margin) === null || _a === void 0 ? void 0 : _a.getStyle) && this.addStyle(this.margin.getStyle());
54
- }
55
- }
56
- exports.VueAvatar = VueAvatar;
57
- //# sourceMappingURL=avatar.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"avatar.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/display/avatar/avatar.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;AAG5D,MAAa,SAAU,SAAQ,qCAAgB;IAG7C,YAAY,KAAmB,EAAE,OAAyB;;QACxD,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QACtB,IAAI,GAAQ,CAAA;QACZ,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC7B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;SACxB;aAAM;YACL,GAAG,GAAG,KAAK,CAAA;SACZ;QAED,IAAI,CAAC,GAAG,EAAE;YACR,OAAM;SACP;QAED,MAAM,IAAI,GAAG,oFAAoF,CAAA;QACjG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;YAC/B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACtB,QAAQ,GAAG,EAAE;oBACX,KAAK,WAAW;wBACd,IAAI,CAAC,SAAS;4BACZ,GAAG,CAAC,SAAS,IAAI,GAAG,CAAC,SAAS,CAAC,WAAW;gCACxC,CAAC,CAAC,oBAAoB,GAAG,GAAG,CAAC,SAAS,CAAC,WAAW;gCAClD,CAAC,CAAC,SAAS,CAAA;wBACf,MAAK;oBACP,KAAK,UAAU;wBACb,IAAI,CAAC,QAAQ;4BACX,GAAG,CAAC,QAAQ,IAAI,GAAG,CAAC,QAAQ,CAAC,WAAW;gCACtC,CAAC,CAAC,oBAAoB,GAAG,GAAG,CAAC,QAAQ,CAAC,WAAW;gCACjD,CAAC,CAAC,SAAS,CAAA;wBACf,MAAK;oBACP,KAAK,YAAY;wBACf,IAAI,CAAC,UAAU;4BACb,GAAG,CAAC,UAAU,IAAI,GAAG,CAAC,UAAU,CAAC,WAAW;gCAC1C,CAAC,CAAC,oBAAoB,GAAG,GAAG,CAAC,UAAU,CAAC,WAAW;gCACnD,CAAC,CAAC,SAAS,CAAA;wBACf,MAAK;oBACP,KAAK,YAAY;wBACf,IAAI,CAAC,UAAU;4BACb,GAAG,CAAC,UAAU,IAAI,GAAG,CAAC,UAAU,CAAC,WAAW;gCAC1C,CAAC,CAAC,oBAAoB,GAAG,GAAG,CAAC,UAAU,CAAC,WAAW;gCACnD,CAAC,CAAC,SAAS,CAAA;wBACf,MAAK;oBACP;wBACE,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAA;wBACpB,MAAK;iBACR;aACF;QACH,CAAC,CAAC,CAAA;QAEF,CAAA,MAAA,IAAI,CAAC,MAAM,0CAAE,QAAQ,KAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAA;IAEhE,CAAC;CACF;AAtDD,8BAsDC"}
@@ -1,14 +0,0 @@
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
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./avatar"), exports);
14
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/display/avatar/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAyB"}
@@ -1,14 +0,0 @@
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
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./vue-text"), exports);
14
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/display/text/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA2B"}