@farris/jit-engine 1.3.238 → 1.3.239

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 (188) hide show
  1. package/README.md +2 -14
  2. package/lib/utility/devkit/component-parameter-collector/farris-radiogroup-collector.js +1 -2
  3. package/lib/utility/devkit/component-parameter-collector/farris-radiogroup-collector.js.map +1 -1
  4. package/lib/utility/template-generator/devkit/component-generator/component-radiogroup-parameter-generator.js +1 -8
  5. package/lib/utility/template-generator/devkit/component-generator/component-radiogroup-parameter-generator.js.map +1 -1
  6. package/package.json +1 -1
  7. package/lib/mobileapp/vue/domstructure/ui/action-bar/action-bar.js +0 -57
  8. package/lib/mobileapp/vue/domstructure/ui/action-bar/action-bar.js.map +0 -1
  9. package/lib/mobileapp/vue/domstructure/ui/action-bar/index.js +0 -14
  10. package/lib/mobileapp/vue/domstructure/ui/action-bar/index.js.map +0 -1
  11. package/lib/mobileapp/vue/domstructure/ui/approval/approval-info.js +0 -27
  12. package/lib/mobileapp/vue/domstructure/ui/approval/approval-info.js.map +0 -1
  13. package/lib/mobileapp/vue/domstructure/ui/approval/approval-logs.js +0 -46
  14. package/lib/mobileapp/vue/domstructure/ui/approval/approval-logs.js.map +0 -1
  15. package/lib/mobileapp/vue/domstructure/ui/approval/index.js +0 -15
  16. package/lib/mobileapp/vue/domstructure/ui/approval/index.js.map +0 -1
  17. package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-entry.js +0 -27
  18. package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-entry.js.map +0 -1
  19. package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-file.js +0 -29
  20. package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-file.js.map +0 -1
  21. package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-uploader.js +0 -27
  22. package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-uploader.js.map +0 -1
  23. package/lib/mobileapp/vue/domstructure/ui/attachment/attachment.js +0 -29
  24. package/lib/mobileapp/vue/domstructure/ui/attachment/attachment.js.map +0 -1
  25. package/lib/mobileapp/vue/domstructure/ui/attachment/image-uploader.js +0 -27
  26. package/lib/mobileapp/vue/domstructure/ui/attachment/image-uploader.js.map +0 -1
  27. package/lib/mobileapp/vue/domstructure/ui/attachment/index.js +0 -18
  28. package/lib/mobileapp/vue/domstructure/ui/attachment/index.js.map +0 -1
  29. package/lib/mobileapp/vue/domstructure/ui/banner/index.js +0 -14
  30. package/lib/mobileapp/vue/domstructure/ui/banner/index.js.map +0 -1
  31. package/lib/mobileapp/vue/domstructure/ui/banner/vue-banner.js +0 -27
  32. package/lib/mobileapp/vue/domstructure/ui/banner/vue-banner.js.map +0 -1
  33. package/lib/mobileapp/vue/domstructure/ui/button/button.js +0 -27
  34. package/lib/mobileapp/vue/domstructure/ui/button/button.js.map +0 -1
  35. package/lib/mobileapp/vue/domstructure/ui/button/index.js +0 -14
  36. package/lib/mobileapp/vue/domstructure/ui/button/index.js.map +0 -1
  37. package/lib/mobileapp/vue/domstructure/ui/calendar/calendar-input.js +0 -28
  38. package/lib/mobileapp/vue/domstructure/ui/calendar/calendar-input.js.map +0 -1
  39. package/lib/mobileapp/vue/domstructure/ui/calendar/calendar.js +0 -27
  40. package/lib/mobileapp/vue/domstructure/ui/calendar/calendar.js.map +0 -1
  41. package/lib/mobileapp/vue/domstructure/ui/calendar/index.js +0 -16
  42. package/lib/mobileapp/vue/domstructure/ui/calendar/index.js.map +0 -1
  43. package/lib/mobileapp/vue/domstructure/ui/calendar/schedule.js +0 -32
  44. package/lib/mobileapp/vue/domstructure/ui/calendar/schedule.js.map +0 -1
  45. package/lib/mobileapp/vue/domstructure/ui/card/card.js +0 -45
  46. package/lib/mobileapp/vue/domstructure/ui/card/card.js.map +0 -1
  47. package/lib/mobileapp/vue/domstructure/ui/card/index.js +0 -14
  48. package/lib/mobileapp/vue/domstructure/ui/card/index.js.map +0 -1
  49. package/lib/mobileapp/vue/domstructure/ui/checkbox/checkbox-group.js +0 -32
  50. package/lib/mobileapp/vue/domstructure/ui/checkbox/checkbox-group.js.map +0 -1
  51. package/lib/mobileapp/vue/domstructure/ui/checkbox/index.js +0 -14
  52. package/lib/mobileapp/vue/domstructure/ui/checkbox/index.js.map +0 -1
  53. package/lib/mobileapp/vue/domstructure/ui/common/vue-visible.js +0 -57
  54. package/lib/mobileapp/vue/domstructure/ui/common/vue-visible.js.map +0 -1
  55. package/lib/mobileapp/vue/domstructure/ui/data/fields/form/display/index.js +0 -14
  56. package/lib/mobileapp/vue/domstructure/ui/data/fields/form/display/index.js.map +0 -1
  57. package/lib/mobileapp/vue/domstructure/ui/data/fields/form/display/vue-display-fiels.js +0 -33
  58. package/lib/mobileapp/vue/domstructure/ui/data/fields/form/display/vue-display-fiels.js.map +0 -1
  59. package/lib/mobileapp/vue/domstructure/ui/data/fields/form/index.js +0 -15
  60. package/lib/mobileapp/vue/domstructure/ui/data/fields/form/index.js.map +0 -1
  61. package/lib/mobileapp/vue/domstructure/ui/data/fields/form/vue-form-field.js +0 -56
  62. package/lib/mobileapp/vue/domstructure/ui/data/fields/form/vue-form-field.js.map +0 -1
  63. package/lib/mobileapp/vue/domstructure/ui/data/fields/index.js +0 -14
  64. package/lib/mobileapp/vue/domstructure/ui/data/fields/index.js.map +0 -1
  65. package/lib/mobileapp/vue/domstructure/ui/data/index.js +0 -14
  66. package/lib/mobileapp/vue/domstructure/ui/data/index.js.map +0 -1
  67. package/lib/mobileapp/vue/domstructure/ui/data/vue-data.js +0 -38
  68. package/lib/mobileapp/vue/domstructure/ui/data/vue-data.js.map +0 -1
  69. package/lib/mobileapp/vue/domstructure/ui/date-time-picker/date-picker.js +0 -33
  70. package/lib/mobileapp/vue/domstructure/ui/date-time-picker/date-picker.js.map +0 -1
  71. package/lib/mobileapp/vue/domstructure/ui/date-time-picker/index.js +0 -14
  72. package/lib/mobileapp/vue/domstructure/ui/date-time-picker/index.js.map +0 -1
  73. package/lib/mobileapp/vue/domstructure/ui/field-set/field-set.js +0 -42
  74. package/lib/mobileapp/vue/domstructure/ui/field-set/field-set.js.map +0 -1
  75. package/lib/mobileapp/vue/domstructure/ui/field-set/index.js +0 -14
  76. package/lib/mobileapp/vue/domstructure/ui/field-set/index.js.map +0 -1
  77. package/lib/mobileapp/vue/domstructure/ui/filter/filter.js +0 -44
  78. package/lib/mobileapp/vue/domstructure/ui/filter/filter.js.map +0 -1
  79. package/lib/mobileapp/vue/domstructure/ui/filter/index.js +0 -14
  80. package/lib/mobileapp/vue/domstructure/ui/filter/index.js.map +0 -1
  81. package/lib/mobileapp/vue/domstructure/ui/footer/footer.js +0 -42
  82. package/lib/mobileapp/vue/domstructure/ui/footer/footer.js.map +0 -1
  83. package/lib/mobileapp/vue/domstructure/ui/footer/index.js +0 -14
  84. package/lib/mobileapp/vue/domstructure/ui/footer/index.js.map +0 -1
  85. package/lib/mobileapp/vue/domstructure/ui/html-preview/html-preview.js +0 -27
  86. package/lib/mobileapp/vue/domstructure/ui/html-preview/html-preview.js.map +0 -1
  87. package/lib/mobileapp/vue/domstructure/ui/html-preview/index.js +0 -14
  88. package/lib/mobileapp/vue/domstructure/ui/html-preview/index.js.map +0 -1
  89. package/lib/mobileapp/vue/domstructure/ui/html-template/html-template.js +0 -27
  90. package/lib/mobileapp/vue/domstructure/ui/html-template/html-template.js.map +0 -1
  91. package/lib/mobileapp/vue/domstructure/ui/html-template/index.js +0 -14
  92. package/lib/mobileapp/vue/domstructure/ui/html-template/index.js.map +0 -1
  93. package/lib/mobileapp/vue/domstructure/ui/image/image.js +0 -27
  94. package/lib/mobileapp/vue/domstructure/ui/image/image.js.map +0 -1
  95. package/lib/mobileapp/vue/domstructure/ui/image/index.js +0 -14
  96. package/lib/mobileapp/vue/domstructure/ui/image/index.js.map +0 -1
  97. package/lib/mobileapp/vue/domstructure/ui/list-view/index.js +0 -14
  98. package/lib/mobileapp/vue/domstructure/ui/list-view/index.js.map +0 -1
  99. package/lib/mobileapp/vue/domstructure/ui/list-view/vue-list-view.js +0 -39
  100. package/lib/mobileapp/vue/domstructure/ui/list-view/vue-list-view.js.map +0 -1
  101. package/lib/mobileapp/vue/domstructure/ui/lookup/index.js +0 -16
  102. package/lib/mobileapp/vue/domstructure/ui/lookup/index.js.map +0 -1
  103. package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-department.js +0 -27
  104. package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-department.js.map +0 -1
  105. package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-employee.js +0 -27
  106. package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-employee.js.map +0 -1
  107. package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-input.js +0 -33
  108. package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-input.js.map +0 -1
  109. package/lib/mobileapp/vue/domstructure/ui/nav-bar/index.js +0 -14
  110. package/lib/mobileapp/vue/domstructure/ui/nav-bar/index.js.map +0 -1
  111. package/lib/mobileapp/vue/domstructure/ui/nav-bar/vue-nav-bar.js +0 -45
  112. package/lib/mobileapp/vue/domstructure/ui/nav-bar/vue-nav-bar.js.map +0 -1
  113. package/lib/mobileapp/vue/domstructure/ui/number/index.js +0 -14
  114. package/lib/mobileapp/vue/domstructure/ui/number/index.js.map +0 -1
  115. package/lib/mobileapp/vue/domstructure/ui/number/number.js +0 -27
  116. package/lib/mobileapp/vue/domstructure/ui/number/number.js.map +0 -1
  117. package/lib/mobileapp/vue/domstructure/ui/picker/area-picker.js +0 -27
  118. package/lib/mobileapp/vue/domstructure/ui/picker/area-picker.js.map +0 -1
  119. package/lib/mobileapp/vue/domstructure/ui/picker/index.js +0 -15
  120. package/lib/mobileapp/vue/domstructure/ui/picker/index.js.map +0 -1
  121. package/lib/mobileapp/vue/domstructure/ui/picker/picker.js +0 -27
  122. package/lib/mobileapp/vue/domstructure/ui/picker/picker.js.map +0 -1
  123. package/lib/mobileapp/vue/domstructure/ui/radio/index.js +0 -14
  124. package/lib/mobileapp/vue/domstructure/ui/radio/index.js.map +0 -1
  125. package/lib/mobileapp/vue/domstructure/ui/radio/radio-group.js +0 -32
  126. package/lib/mobileapp/vue/domstructure/ui/radio/radio-group.js.map +0 -1
  127. package/lib/mobileapp/vue/domstructure/ui/rich-text-editor/index.js +0 -14
  128. package/lib/mobileapp/vue/domstructure/ui/rich-text-editor/index.js.map +0 -1
  129. package/lib/mobileapp/vue/domstructure/ui/rich-text-editor/rich-text-editor.js +0 -27
  130. package/lib/mobileapp/vue/domstructure/ui/rich-text-editor/rich-text-editor.js.map +0 -1
  131. package/lib/mobileapp/vue/domstructure/ui/section/index.js +0 -14
  132. package/lib/mobileapp/vue/domstructure/ui/section/index.js.map +0 -1
  133. package/lib/mobileapp/vue/domstructure/ui/section/vue-section.js +0 -46
  134. package/lib/mobileapp/vue/domstructure/ui/section/vue-section.js.map +0 -1
  135. package/lib/mobileapp/vue/domstructure/ui/sidebar/index.js +0 -15
  136. package/lib/mobileapp/vue/domstructure/ui/sidebar/index.js.map +0 -1
  137. package/lib/mobileapp/vue/domstructure/ui/sidebar/sidebar-item.js +0 -42
  138. package/lib/mobileapp/vue/domstructure/ui/sidebar/sidebar-item.js.map +0 -1
  139. package/lib/mobileapp/vue/domstructure/ui/sidebar/sidebar.js +0 -42
  140. package/lib/mobileapp/vue/domstructure/ui/sidebar/sidebar.js.map +0 -1
  141. package/lib/mobileapp/vue/domstructure/ui/staff-info/index.js +0 -14
  142. package/lib/mobileapp/vue/domstructure/ui/staff-info/index.js.map +0 -1
  143. package/lib/mobileapp/vue/domstructure/ui/staff-info/staff-info.js +0 -49
  144. package/lib/mobileapp/vue/domstructure/ui/staff-info/staff-info.js.map +0 -1
  145. package/lib/mobileapp/vue/domstructure/ui/static-text/index.js +0 -14
  146. package/lib/mobileapp/vue/domstructure/ui/static-text/index.js.map +0 -1
  147. package/lib/mobileapp/vue/domstructure/ui/static-text/static-text.js +0 -27
  148. package/lib/mobileapp/vue/domstructure/ui/static-text/static-text.js.map +0 -1
  149. package/lib/mobileapp/vue/domstructure/ui/switch/index.js +0 -14
  150. package/lib/mobileapp/vue/domstructure/ui/switch/index.js.map +0 -1
  151. package/lib/mobileapp/vue/domstructure/ui/switch/switch-input.js +0 -27
  152. package/lib/mobileapp/vue/domstructure/ui/switch/switch-input.js.map +0 -1
  153. package/lib/mobileapp/vue/domstructure/ui/tab/index.js +0 -16
  154. package/lib/mobileapp/vue/domstructure/ui/tab/index.js.map +0 -1
  155. package/lib/mobileapp/vue/domstructure/ui/tab/vue-tab-bar.js +0 -33
  156. package/lib/mobileapp/vue/domstructure/ui/tab/vue-tab-bar.js.map +0 -1
  157. package/lib/mobileapp/vue/domstructure/ui/tab/vue-tab-page.js +0 -45
  158. package/lib/mobileapp/vue/domstructure/ui/tab/vue-tab-page.js.map +0 -1
  159. package/lib/mobileapp/vue/domstructure/ui/tab/vue-tabs.js +0 -45
  160. package/lib/mobileapp/vue/domstructure/ui/tab/vue-tabs.js.map +0 -1
  161. package/lib/mobileapp/vue/domstructure/ui/text-area/index.js +0 -14
  162. package/lib/mobileapp/vue/domstructure/ui/text-area/index.js.map +0 -1
  163. package/lib/mobileapp/vue/domstructure/ui/text-area/text-area.js +0 -42
  164. package/lib/mobileapp/vue/domstructure/ui/text-area/text-area.js.map +0 -1
  165. package/lib/mobileapp/vue/domstructure/ui/text-box/index.js +0 -17
  166. package/lib/mobileapp/vue/domstructure/ui/text-box/index.js.map +0 -1
  167. package/lib/mobileapp/vue/domstructure/ui/text-box/text-box-external.js +0 -27
  168. package/lib/mobileapp/vue/domstructure/ui/text-box/text-box-external.js.map +0 -1
  169. package/lib/mobileapp/vue/domstructure/ui/text-box/text-box.js +0 -27
  170. package/lib/mobileapp/vue/domstructure/ui/text-box/text-box.js.map +0 -1
  171. package/lib/mobileapp/vue/domstructure/ui/text-box/text-scan.js +0 -27
  172. package/lib/mobileapp/vue/domstructure/ui/text-box/text-scan.js.map +0 -1
  173. package/lib/mobileapp/vue/domstructure/ui/text-box/text-telphone.js +0 -27
  174. package/lib/mobileapp/vue/domstructure/ui/text-box/text-telphone.js.map +0 -1
  175. package/lib/mobileapp/vue/domstructure/ui/toolbar/index.js +0 -16
  176. package/lib/mobileapp/vue/domstructure/ui/toolbar/index.js.map +0 -1
  177. package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar-area.js +0 -35
  178. package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar-area.js.map +0 -1
  179. package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar-item.js +0 -32
  180. package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar-item.js.map +0 -1
  181. package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar.js +0 -42
  182. package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar.js.map +0 -1
  183. package/lib/mobileapp/vue/domstructure/ui/vue-input-component.js +0 -97
  184. package/lib/mobileapp/vue/domstructure/ui/vue-input-component.js.map +0 -1
  185. package/lib/template/ui/mobilevue/footer.pug +0 -10
  186. package/lib/template/ui/mobilevue/label.pug +0 -15
  187. package/lib/template/ui/mobilevue/vant-tabpage.pug +0 -6
  188. package/lib/template/ui/mobilevue/vant-tabs.pug +0 -6
@@ -1,45 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VueTabPage = void 0;
4
- const vue_base_component_1 = require("../vue-base-component");
5
- const vue_content_type_creator_1 = require("../../../utility/vue-content-type-creator");
6
- const vue_object_creator_1 = require("../../../utility/vue-object-creator");
7
- const toolhepler_1 = require("../../../../../utility/toolhepler");
8
- class VueTabPage extends vue_base_component_1.VueBaseComponent {
9
- constructor(param) {
10
- super(param);
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 = 'id,title,contents,tabChange,visible,bindTitle';
22
- Object.keys(obj).forEach(key => {
23
- if (keys.includes(key)) {
24
- if (key == "contents") {
25
- this.contents = [];
26
- if (toolhepler_1.ToolHelper.isArray(obj[key], false)) {
27
- obj[key].forEach((item) => {
28
- const contentType = vue_content_type_creator_1.VueContentTypeCreator.create(item.type, item.controlSource, item);
29
- const domObj = vue_object_creator_1.VueObjectCreator.createObjectByType(contentType, this.resourcePrefix);
30
- if (domObj) {
31
- const domValue = new domObj(item);
32
- this.contents.push(domValue);
33
- }
34
- });
35
- }
36
- }
37
- else {
38
- this[key] = obj[key];
39
- }
40
- }
41
- });
42
- }
43
- }
44
- exports.VueTabPage = VueTabPage;
45
- //# sourceMappingURL=vue-tab-page.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vue-tab-page.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/tab/vue-tab-page.ts"],"names":[],"mappings":";;;AAAA,8DAAyD;AACzD,wFAAkF;AAClF,4EAAuE;AACvE,kEAA+D;AAE/D,MAAa,UAAW,SAAQ,qCAAgB;IAQ5C,YAAY,KAAU;QAClB,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,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,+CAA+C,CAAC;QAC7D,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAI,GAAG,IAAI,UAAU,EAAE;oBACnB,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;oBACnB,IAAI,uBAAU,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,KAAK,CAAC,EAAE;wBACrC,GAAG,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,IAAS,EAAE,EAAE;4BAC3B,MAAM,WAAW,GAAG,gDAAqB,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;4BACtF,MAAM,MAAM,GAAG,qCAAgB,CAAC,kBAAkB,CAAC,WAAW,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC;4BACrF,IAAI,MAAM,EAAE;gCACR,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,CAAC;gCAClC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;6BAChC;wBACL,CAAC,CAAC,CAAC;qBACN;iBACJ;qBAAM;oBACH,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;iBACxB;aACJ;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CACJ;AA3CD,gCA2CC"}
@@ -1,45 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VueTabs = void 0;
4
- const vue_base_component_1 = require("../vue-base-component");
5
- const utility_1 = require("../../../../../utility");
6
- const vue_content_type_creator_1 = require("../../../utility/vue-content-type-creator");
7
- const vue_object_creator_1 = require("../../../utility/vue-object-creator");
8
- class VueTabs extends vue_base_component_1.VueBaseComponent {
9
- constructor(param) {
10
- super(param);
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 = 'contents,selected,tabChange,visible,titleTemplate,value';
22
- Object.keys(obj).forEach(key => {
23
- if (keys.includes(key)) {
24
- if (key == "contents") {
25
- this.contents = [];
26
- if (utility_1.ToolHelper.isArray(obj[key], false)) {
27
- obj[key].forEach((item) => {
28
- const contentType = vue_content_type_creator_1.VueContentTypeCreator.create(item.type, item.controlSource, item);
29
- const domObj = vue_object_creator_1.VueObjectCreator.createObjectByType(contentType, this.resourcePrefix);
30
- if (domObj) {
31
- const domValue = new domObj(item);
32
- this.contents.push(domValue);
33
- }
34
- });
35
- }
36
- }
37
- else {
38
- this[key] = obj[key];
39
- }
40
- }
41
- });
42
- }
43
- }
44
- exports.VueTabs = VueTabs;
45
- //# sourceMappingURL=vue-tabs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vue-tabs.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/tab/vue-tabs.ts"],"names":[],"mappings":";;;AAAA,8DAAyD;AACzD,oDAAoD;AACpD,wFAAkF;AAClF,4EAAuE;AAEvE,MAAa,OAAQ,SAAQ,qCAAgB;IAOzC,YAAY,KAAU;QAClB,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,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,yDAAyD,CAAC;QACvE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAI,GAAG,IAAI,UAAU,EAAE;oBACnB,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;oBACnB,IAAI,oBAAU,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,KAAK,CAAC,EAAE;wBACrC,GAAG,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,IAAS,EAAE,EAAE;4BAC3B,MAAM,WAAW,GAAG,gDAAqB,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;4BACtF,MAAM,MAAM,GAAG,qCAAgB,CAAC,kBAAkB,CAAC,WAAW,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC;4BACrF,IAAI,MAAM,EAAE;gCACR,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,CAAC;gCAClC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;6BAChC;wBACL,CAAC,CAAC,CAAC;qBACN;iBACJ;qBAAM;oBACH,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;iBACxB;aACJ;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CACJ;AA1CD,0BA0CC"}
@@ -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("./text-area"), exports);
14
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/text-area/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,8CAA6B"}
@@ -1,42 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VueTextArea = void 0;
4
- const vue_input_component_1 = require("../vue-input-component");
5
- class VueTextArea extends vue_input_component_1.VueInputComponent {
6
- constructor(param) {
7
- super(param);
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 = 'showWordLimit,maxlength,autoSize';
19
- Object.keys(obj).forEach(key => {
20
- if (keys.includes(key)) {
21
- if (key === 'maxlength') {
22
- this[key] = this.getValue(obj[key]);
23
- }
24
- else {
25
- this[key] = obj[key];
26
- }
27
- }
28
- });
29
- if (this.autoSize) {
30
- const autoSize = {};
31
- if (obj.maxTextareaHeight) {
32
- autoSize.maxHeight = obj.maxTextareaHeight;
33
- }
34
- if (obj.minTextareaHeight) {
35
- autoSize.minHeight = obj.minTextareaHeight;
36
- }
37
- this.autoSize = JSON.stringify(autoSize);
38
- }
39
- }
40
- }
41
- exports.VueTextArea = VueTextArea;
42
- //# sourceMappingURL=text-area.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"text-area.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/text-area/text-area.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,MAAa,WAAY,SAAQ,uCAAiB;IAY9C,YAAY,KAAU;QAClB,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,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,kCAAkC,CAAC;QAChD,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAG,GAAG,KAAK,WAAW,EAAE;oBACpB,IAAI,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAA;iBACtC;qBAAM;oBACH,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;iBACxB;aACJ;QACL,CAAC,CAAC,CAAC;QACH,IAAG,IAAI,CAAC,QAAQ,EAAE;YACd,MAAM,QAAQ,GAAQ,EAAE,CAAA;YACxB,IAAG,GAAG,CAAC,iBAAiB,EAAE;gBACtB,QAAQ,CAAC,SAAS,GAAG,GAAG,CAAC,iBAAiB,CAAA;aAC7C;YACD,IAAG,GAAG,CAAC,iBAAiB,EAAE;gBACtB,QAAQ,CAAC,SAAS,GAAG,GAAG,CAAC,iBAAiB,CAAA;aAC7C;YACD,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAA;SAC3C;IACL,CAAC;CAGJ;AAjDD,kCAiDC"}
@@ -1,17 +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("./text-box"), exports);
14
- __exportStar(require("./text-box-external"), exports);
15
- __exportStar(require("./text-scan"), exports);
16
- __exportStar(require("./text-telphone"), exports);
17
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/text-box/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA4B;AAC5B,sDAAqC;AACrC,8CAA6B;AAC7B,kDAAiC"}
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VueTextBoxExternal = void 0;
4
- const vue_input_component_1 = require("../vue-input-component");
5
- class VueTextBoxExternal extends vue_input_component_1.VueInputComponent {
6
- constructor(param) {
7
- super(param);
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 = 'extra,rightTemplate,externalServiceCode,externalServiceParams,externalTableName,externalMapFields,externalTableSchemas';
19
- Object.keys(obj).forEach(key => {
20
- if (keys.includes(key)) {
21
- this[key] = obj[key];
22
- }
23
- });
24
- }
25
- }
26
- exports.VueTextBoxExternal = VueTextBoxExternal;
27
- //# sourceMappingURL=text-box-external.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"text-box-external.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/text-box/text-box-external.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,MAAa,kBAAmB,SAAQ,uCAAiB;IAarD,YAAY,KAAU;QAClB,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,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,wHAAwH,CAAC;QACtI,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;CAGJ;AApCD,gDAoCC"}
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VueTextBox = void 0;
4
- const vue_input_component_1 = require("../vue-input-component");
5
- class VueTextBox extends vue_input_component_1.VueInputComponent {
6
- constructor(param) {
7
- super(param);
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 = 'extra,rightTemplate';
19
- Object.keys(obj).forEach(key => {
20
- if (keys.includes(key)) {
21
- this[key] = obj[key];
22
- }
23
- });
24
- }
25
- }
26
- exports.VueTextBox = VueTextBox;
27
- //# sourceMappingURL=text-box.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"text-box.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/text-box/text-box.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,MAAa,UAAW,SAAQ,uCAAiB;IAa7C,YAAY,KAAU;QAClB,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,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,qBAAqB,CAAC;QACnC,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;CAGJ;AApCD,gCAoCC"}
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VueTextScan = void 0;
4
- const vue_input_component_1 = require("../vue-input-component");
5
- class VueTextScan extends vue_input_component_1.VueInputComponent {
6
- constructor(param) {
7
- super(param);
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 = '';
19
- Object.keys(obj).forEach(key => {
20
- if (keys.includes(key)) {
21
- this[key] = obj[key];
22
- }
23
- });
24
- }
25
- }
26
- exports.VueTextScan = VueTextScan;
27
- //# sourceMappingURL=text-scan.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"text-scan.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/text-box/text-scan.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,MAAa,WAAY,SAAQ,uCAAiB;IAa9C,YAAY,KAAU;QAClB,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,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,EAAE,CAAC;QAChB,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;CAGJ;AApCD,kCAoCC"}
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VueTextTelphone = void 0;
4
- const vue_input_component_1 = require("../vue-input-component");
5
- class VueTextTelphone extends vue_input_component_1.VueInputComponent {
6
- constructor(param) {
7
- super(param);
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 = '';
19
- Object.keys(obj).forEach(key => {
20
- if (keys.includes(key)) {
21
- this[key] = obj[key];
22
- }
23
- });
24
- }
25
- }
26
- exports.VueTextTelphone = VueTextTelphone;
27
- //# sourceMappingURL=text-telphone.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"text-telphone.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/text-box/text-telphone.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,MAAa,eAAgB,SAAQ,uCAAiB;IAalD,YAAY,KAAU;QAClB,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,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,EAAE,CAAC;QAChB,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;CAGJ;AApCD,0CAoCC"}
@@ -1,16 +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-toolbar"), exports);
14
- __exportStar(require("./vue-toolbar-item"), exports);
15
- __exportStar(require("./vue-toolbar-area"), exports);
16
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/toolbar/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,gDAA8B;AAC9B,qDAAmC;AACnC,qDAAmC"}
@@ -1,35 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VueToolBarArea = void 0;
4
- const vue_base_component_1 = require("../vue-base-component");
5
- class VueToolBarArea extends vue_base_component_1.VueBaseComponent {
6
- constructor(param) {
7
- super(param);
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 = 'displayType,items,visible';
19
- Object.keys(obj).forEach((key) => {
20
- if (keys.includes(key)) {
21
- if (key === 'items') {
22
- const target = obj[key] ? JSON.stringify(obj[key]) : '';
23
- this[key] = target.replace(/(click":)("[A-Za-z0-9]+")/g, (arg1, arg2, arg3) => {
24
- return arg2 + arg3.replace(/"/g, "");
25
- });
26
- }
27
- else {
28
- this[key] = obj[key];
29
- }
30
- }
31
- });
32
- }
33
- }
34
- exports.VueToolBarArea = VueToolBarArea;
35
- //# sourceMappingURL=vue-toolbar-area.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vue-toolbar-area.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar-area.ts"],"names":[],"mappings":";;;AAAA,8DAAwD;AAKxD,MAAa,cAAe,SAAQ,qCAAgB;IAIlD,YAAY,KAAmB;QAC7B,KAAK,CAAC,KAAK,CAAC,CAAA;QACZ,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;QACD,MAAM,IAAI,GAAG,2BAA2B,CAAA;QACxC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;YAC/B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACtB,IAAI,GAAG,KAAK,OAAO,EAAE;oBACnB,MAAM,MAAM,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAA;oBACvD,IAAI,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,OAAO,CAAC,4BAA4B,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAC,EAAE;wBAC3E,OAAQ,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAA;oBACvC,CAAC,CAAC,CAAA;iBACH;qBAAM;oBACL,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAA;iBACrB;aACF;QACH,CAAC,CAAC,CAAA;IACJ,CAAC;CACF;AA9BD,wCA8BC"}
@@ -1,32 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VueToolBarItem = void 0;
4
- const vue_base_component_1 = require("../vue-base-component");
5
- class VueToolBarItem extends vue_base_component_1.VueBaseComponent {
6
- constructor(param) {
7
- super(param);
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 = 'disable,text,visible,click,iconType';
19
- Object.keys(obj).forEach(key => {
20
- if (keys.includes(key)) {
21
- if (key == "iconType") {
22
- this[key] = obj[key] ? 'fm-icon fm-icon-' + obj[key].toLowerCase() : '';
23
- }
24
- else {
25
- this[key] = obj[key];
26
- }
27
- }
28
- });
29
- }
30
- }
31
- exports.VueToolBarItem = VueToolBarItem;
32
- //# sourceMappingURL=vue-toolbar-item.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vue-toolbar-item.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar-item.ts"],"names":[],"mappings":";;;AAAA,8DAAyD;AAGzD,MAAa,cAAe,SAAQ,qCAAgB;IAOhD,YAAY,KAAmB;QAC3B,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,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,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAI,GAAG,IAAI,UAAU,EAAE;oBACnB,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,kBAAkB,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;iBAC3E;qBAAM;oBACH,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;iBACxB;aACJ;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CAEJ;AAhCD,wCAgCC"}
@@ -1,42 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VueToolBar = void 0;
4
- const vue_base_component_1 = require("../vue-base-component");
5
- const vue_content_type_creator_1 = require("../../../utility/vue-content-type-creator");
6
- const vue_object_creator_1 = require("../../../utility/vue-object-creator");
7
- class VueToolBar extends vue_base_component_1.VueBaseComponent {
8
- constructor(param) {
9
- super(param);
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
- this.contents = [];
21
- const keys = 'contents,title,visible';
22
- Object.keys(obj).forEach(key => {
23
- if (keys.includes(key)) {
24
- if (key === 'contents') {
25
- obj[key].forEach((item) => {
26
- const contentType = vue_content_type_creator_1.VueContentTypeCreator.create(item.type, item.controlSource, item);
27
- const domObj = vue_object_creator_1.VueObjectCreator.createObjectByType(contentType, this.resourcePrefix);
28
- if (domObj) {
29
- const domValue = new domObj(item);
30
- this.contents.push(domValue);
31
- }
32
- });
33
- }
34
- else {
35
- this[key] = obj[key];
36
- }
37
- }
38
- });
39
- }
40
- }
41
- exports.VueToolBar = VueToolBar;
42
- //# sourceMappingURL=vue-toolbar.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vue-toolbar.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar.ts"],"names":[],"mappings":";;;AAAA,8DAAyD;AAEzD,wFAAkF;AAClF,4EAAuE;AAEvE,MAAa,UAAW,SAAQ,qCAAgB;IAI5C,YAAY,KAAmB;QAC3B,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,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,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;QACnB,MAAM,IAAI,GAAG,wBAAwB,CAAC;QACtC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAI,GAAG,KAAK,UAAU,EAAE;oBACpB,GAAG,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,IAAS,EAAE,EAAE;wBAC3B,MAAM,WAAW,GAAG,gDAAqB,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;wBACtF,MAAM,MAAM,GAAG,qCAAgB,CAAC,kBAAkB,CAAC,WAAW,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC;wBACrF,IAAI,MAAM,EAAE;4BACR,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,CAAC;4BAClC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;yBAChC;oBACL,CAAC,CAAC,CAAC;iBACN;qBAAM;oBACH,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;iBACxB;aACJ;QACL,CAAC,CAAC,CAAC;IA8BP,CAAC;CACJ;AAhED,gCAgEC"}
@@ -1,97 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VueInputComponent = void 0;
4
- const toolhepler_1 = require("../../../../utility/toolhepler");
5
- const vue_base_component_1 = require("./vue-base-component");
6
- class VueInputComponent extends vue_base_component_1.VueBaseComponent {
7
- constructor(param) {
8
- super(param);
9
- let obj;
10
- if (typeof param === 'string') {
11
- obj = JSON.parse(param);
12
- }
13
- else {
14
- obj = param;
15
- }
16
- this.obj = obj;
17
- if (!obj) {
18
- return;
19
- }
20
- const keys = [
21
- 'id',
22
- 'title',
23
- 'visible',
24
- 'disable',
25
- 'readonly',
26
- 'editable',
27
- 'require',
28
- 'placeholder',
29
- 'labelWidth',
30
- 'direction',
31
- 'binding',
32
- 'labelTips',
33
- 'modelValue',
34
- 'minValue',
35
- 'maxValue',
36
- 'change',
37
- 'isTextArea',
38
- 'validationRules',
39
- 'leftTemplate',
40
- 'labelTemplate',
41
- 'inputTemplate',
42
- 'rightTemplate',
43
- 'extraTemplate',
44
- 'formatter'
45
- ];
46
- Object.keys(obj).forEach((key) => {
47
- if (keys.includes(key)) {
48
- switch (key) {
49
- case 'visible':
50
- this[key] = this.formatValue(obj[key], 'visible');
51
- break;
52
- case 'readonly':
53
- this[key] = this.formatValue(obj[key], 'readonly');
54
- break;
55
- case 'require':
56
- this[key] = this.formatValue(obj[key], 'required');
57
- break;
58
- default:
59
- this[key] = obj[key];
60
- break;
61
- }
62
- }
63
- });
64
- this.errorMessage =
65
- this.binding && this.binding.path
66
- ? `form.${this.binding.path}.validationResult && form.${this.binding.path}.validationResult.message`
67
- : undefined;
68
- this.className =
69
- (this.appearance.class ? this.appearance.class : '') +
70
- ' ' +
71
- (this.direction === 'vertical' ? 'fm-input-vertical' : '');
72
- }
73
- formatValue(value, name) {
74
- var _a;
75
- value = this.getValue(value);
76
- let resultVlaue = value;
77
- if (value && toolhepler_1.ToolHelper.isObject(value)) {
78
- if (value.type === 'Expression') {
79
- resultVlaue = `form.${this.binding.path}.${name}`;
80
- }
81
- }
82
- return resultVlaue;
83
- const _name = name.slice(0, 1).toUpperCase() + name.slice(1);
84
- const path = ((_a = this.obj) === null || _a === void 0 ? void 0 : _a.path) ? this.obj.path.replace(/\./g, '/') : '';
85
- return `get${_name}State(${resultVlaue}, {id: '${this.id}', bindingPath: '${path}'})`;
86
- }
87
- getValue(data) {
88
- if (data && toolhepler_1.ToolHelper.isObject(data)) {
89
- if (data.type == "Variable") {
90
- return data.value;
91
- }
92
- }
93
- return data;
94
- }
95
- }
96
- exports.VueInputComponent = VueInputComponent;
97
- //# sourceMappingURL=vue-input-component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vue-input-component.js","sourceRoot":"","sources":["../../../../../src/mobileapp/vue/domstructure/ui/vue-input-component.ts"],"names":[],"mappings":"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"}
@@ -1,10 +0,0 @@
1
- -variable.readonly = variable.readonly?String(variable.readonly).replace(/"/g, "'")+"":undefined;
2
-
3
- div(
4
- v-if=variable.visible?variable.visible+"":"false"
5
- style=(variable.appearance && variable.appearance.style)
6
- class=(variable.appearance && variable.appearance.class)
7
- id=variable.id?"" + variable.id:undefined
8
- )
9
- | {{content}}
10
-
@@ -1,15 +0,0 @@
1
- //- -var variable={id:'DatePicker', title: "銷售訂單", font: {size: "22px"}}
2
- -var attrs = {};
3
-
4
- -var hasBinding = false;
5
- if (variable.binding && variable.binding.type == 'Variable')
6
- -hasBinding = true;
7
-
8
- label(id=variable.replacedId?""+variable.replacedId:undefined class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) for=variable.replacedId 'v-if'!=variable.visible?variable.visible.value+'':undefined tabindex=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined )&attributes(attrs)
9
- span(style=(variable.font && variable.font.size && "font-size: ") + (variable.font && variable.font.size))&attributes(attrs)
10
- if(!hasBinding)
11
- |{{'!{variable.resourceId}'|lang(lang,'!{variable.defaultI18nValue}')}}
12
- = '\n'
13
- else
14
- |{{variable.binding.value}}
15
- = '\n'
@@ -1,6 +0,0 @@
1
- van-tab(
2
- v-if=variable.visible?variable.visible+"":"false"
3
- title=variable.title?""+variable.title:undefined
4
- name=variable.id?""+variable.id:undefined
5
- )
6
- | {{content}}
@@ -1,6 +0,0 @@
1
- van-tabs(
2
- class=(variable.appearance && variable.appearance.class)
3
- v-if=variable.visible?variable.visible+"":"false"
4
- @change=variable.tabChange?""+variable.tabChange:undefined
5
- )
6
- | {{content}}