@things-factory/meta-ui 9.1.19 → 10.0.0-beta.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.
Files changed (187) hide show
  1. package/dist-client/component/grist/editor/grist-editor-code-input.d.ts +5 -3
  2. package/dist-client/component/grist/editor/grist-editor-code-input.js +1 -0
  3. package/dist-client/component/grist/editor/grist-editor-code-input.js.map +1 -1
  4. package/dist-client/component/grist/editor/grist-editor-meta-code-selector.d.ts +5 -3
  5. package/dist-client/component/grist/editor/grist-editor-meta-code-selector.js +1 -0
  6. package/dist-client/component/grist/editor/grist-editor-meta-code-selector.js.map +1 -1
  7. package/dist-client/component/grist/editor/grist-editor-meta-object-selector.d.ts +6 -3
  8. package/dist-client/component/grist/editor/grist-editor-meta-object-selector.js +22 -17
  9. package/dist-client/component/grist/editor/grist-editor-meta-object-selector.js.map +1 -1
  10. package/dist-client/component/grist/renderer/grist-renderer-code-input.d.ts +1 -1
  11. package/dist-client/component/grist/renderer/grist-renderer-code-input.js +1 -0
  12. package/dist-client/component/grist/renderer/grist-renderer-code-input.js.map +1 -1
  13. package/dist-client/component/grist/renderer/grist-renderer-meta-code-selector.d.ts +1 -1
  14. package/dist-client/component/grist/renderer/grist-renderer-meta-code-selector.js +1 -0
  15. package/dist-client/component/grist/renderer/grist-renderer-meta-code-selector.js.map +1 -1
  16. package/dist-client/component/grist/renderer/grist-renderer-meta-object-selector.d.ts +1 -1
  17. package/dist-client/component/grist/renderer/grist-renderer-meta-object-selector.js +1 -0
  18. package/dist-client/component/grist/renderer/grist-renderer-meta-object-selector.js.map +1 -1
  19. package/dist-client/component/popup/code-input-editor-popup.d.ts +4 -3
  20. package/dist-client/component/popup/code-input-editor-popup.js +1 -0
  21. package/dist-client/component/popup/code-input-editor-popup.js.map +1 -1
  22. package/dist-client/component/popup/file-upload-popup.d.ts +1 -1
  23. package/dist-client/component/popup/file-upload-popup.js +1 -0
  24. package/dist-client/component/popup/file-upload-popup.js.map +1 -1
  25. package/dist-client/component/popup/meta-object-selector-popup.js +1 -0
  26. package/dist-client/component/popup/meta-object-selector-popup.js.map +1 -1
  27. package/dist-client/dynamic-menus.js +1 -0
  28. package/dist-client/dynamic-menus.js.map +1 -1
  29. package/dist-client/mixin/meta-base-mixin.d.ts +70 -11
  30. package/dist-client/mixin/meta-base-mixin.js +1 -0
  31. package/dist-client/mixin/meta-base-mixin.js.map +1 -1
  32. package/dist-client/mixin/meta-basic-grist-mixin.d.ts +124 -42
  33. package/dist-client/mixin/meta-basic-grist-mixin.js +1 -0
  34. package/dist-client/mixin/meta-basic-grist-mixin.js.map +1 -1
  35. package/dist-client/mixin/meta-button-mixin.d.ts +31 -28
  36. package/dist-client/mixin/meta-button-mixin.js +1 -0
  37. package/dist-client/mixin/meta-button-mixin.js.map +1 -1
  38. package/dist-client/mixin/meta-form-mixin.d.ts +71 -41
  39. package/dist-client/mixin/meta-form-mixin.js +1 -0
  40. package/dist-client/mixin/meta-form-mixin.js.map +1 -1
  41. package/dist-client/mixin/meta-grist-tab-mixin.d.ts +125 -44
  42. package/dist-client/mixin/meta-grist-tab-mixin.js +1 -0
  43. package/dist-client/mixin/meta-grist-tab-mixin.js.map +1 -1
  44. package/dist-client/mixin/meta-main-tab-mixin.d.ts +120 -42
  45. package/dist-client/mixin/meta-main-tab-mixin.js +1 -0
  46. package/dist-client/mixin/meta-main-tab-mixin.js.map +1 -1
  47. package/dist-client/mixin/meta-master-detail-mixin.d.ts +135 -46
  48. package/dist-client/mixin/meta-master-detail-mixin.js +1 -0
  49. package/dist-client/mixin/meta-master-detail-mixin.js.map +1 -1
  50. package/dist-client/mixin/meta-service-mixin.d.ts +29 -17
  51. package/dist-client/mixin/meta-service-mixin.js +1 -0
  52. package/dist-client/mixin/meta-service-mixin.js.map +1 -1
  53. package/dist-client/mixin/meta-tab-detail-mixin.d.ts +126 -42
  54. package/dist-client/mixin/meta-tab-detail-mixin.js +1 -0
  55. package/dist-client/mixin/meta-tab-detail-mixin.js.map +1 -1
  56. package/dist-client/mixin/meta-tab-mixin.d.ts +59 -32
  57. package/dist-client/mixin/meta-tab-mixin.js +1 -0
  58. package/dist-client/mixin/meta-tab-mixin.js.map +1 -1
  59. package/dist-client/pages/activity/meta-activity-define-page.d.ts +3 -1
  60. package/dist-client/pages/activity/meta-activity-define-page.js +2 -1
  61. package/dist-client/pages/activity/meta-activity-define-page.js.map +1 -1
  62. package/dist-client/pages/activity/meta-activity-list-page.d.ts +1 -1
  63. package/dist-client/pages/activity/meta-activity-list-page.js +1 -0
  64. package/dist-client/pages/activity/meta-activity-list-page.js.map +1 -1
  65. package/dist-client/pages/activity/meta-activity-viewer-element.d.ts +1 -4
  66. package/dist-client/pages/activity/meta-activity-viewer-element.js +1 -5
  67. package/dist-client/pages/activity/meta-activity-viewer-element.js.map +1 -1
  68. package/dist-client/pages/activity/meta-activity-writer-element.d.ts +2 -4
  69. package/dist-client/pages/activity/meta-activity-writer-element.js +1 -0
  70. package/dist-client/pages/activity/meta-activity-writer-element.js.map +1 -1
  71. package/dist-client/pages/activity/meta-activiy-mixin.d.ts +1 -3
  72. package/dist-client/pages/activity/meta-activiy-mixin.js +1 -0
  73. package/dist-client/pages/activity/meta-activiy-mixin.js.map +1 -1
  74. package/dist-client/pages/button-role/button-role-detail.d.ts +54 -39
  75. package/dist-client/pages/button-role/button-role-detail.js +1 -1
  76. package/dist-client/pages/button-role/button-role-detail.js.map +1 -1
  77. package/dist-client/pages/button-role/button-role-page.d.ts +63 -47
  78. package/dist-client/pages/button-role/button-role-page.js +1 -0
  79. package/dist-client/pages/button-role/button-role-page.js.map +1 -1
  80. package/dist-client/pages/doc-number/doc-number-page.d.ts +3 -1
  81. package/dist-client/pages/doc-number/doc-number-page.js +1 -0
  82. package/dist-client/pages/doc-number/doc-number-page.js.map +1 -1
  83. package/dist-client/pages/doc-number/next-doc-number-popup.d.ts +4 -1
  84. package/dist-client/pages/doc-number/next-doc-number-popup.js +1 -0
  85. package/dist-client/pages/doc-number/next-doc-number-popup.js.map +1 -1
  86. package/dist-client/pages/entity/config-entity.d.ts +4 -1
  87. package/dist-client/pages/entity/config-entity.js +1 -0
  88. package/dist-client/pages/entity/config-entity.js.map +1 -1
  89. package/dist-client/pages/entity/main-menu-selector.d.ts +33 -15
  90. package/dist-client/pages/entity/main-menu-selector.js +1 -0
  91. package/dist-client/pages/entity/main-menu-selector.js.map +1 -1
  92. package/dist-client/pages/history/history-copy-list-popup.d.ts +13 -8
  93. package/dist-client/pages/history/history-copy-list-popup.js +1 -0
  94. package/dist-client/pages/history/history-copy-list-popup.js.map +1 -1
  95. package/dist-client/pages/history/history-json-list-popup.d.ts +13 -8
  96. package/dist-client/pages/history/history-json-list-popup.js +1 -2
  97. package/dist-client/pages/history/history-json-list-popup.js.map +1 -1
  98. package/dist-client/pages/menu/dynamic-menu-template.d.ts +1 -1
  99. package/dist-client/pages/menu/dynamic-menu-template.js +1 -0
  100. package/dist-client/pages/menu/dynamic-menu-template.js.map +1 -1
  101. package/dist-client/pages/menu/dynamic-menu.d.ts +9 -3
  102. package/dist-client/pages/menu/dynamic-menu.js +1 -0
  103. package/dist-client/pages/menu/dynamic-menu.js.map +1 -1
  104. package/dist-client/pages/menu/export-menu-popup.d.ts +11 -12
  105. package/dist-client/pages/menu/export-menu-popup.js +1 -0
  106. package/dist-client/pages/menu/export-menu-popup.js.map +1 -1
  107. package/dist-client/pages/meta-form-element.d.ts +45 -41
  108. package/dist-client/pages/meta-form-element.js +1 -0
  109. package/dist-client/pages/meta-form-element.js.map +1 -1
  110. package/dist-client/pages/meta-grist-element.d.ts +52 -38
  111. package/dist-client/pages/meta-grist-element.js +1 -0
  112. package/dist-client/pages/meta-grist-element.js.map +1 -1
  113. package/dist-client/pages/meta-grist-page.d.ts +55 -38
  114. package/dist-client/pages/meta-grist-page.js +1 -0
  115. package/dist-client/pages/meta-grist-page.js.map +1 -1
  116. package/dist-client/pages/meta-grist-tab-element.d.ts +57 -44
  117. package/dist-client/pages/meta-grist-tab-element.js +1 -0
  118. package/dist-client/pages/meta-grist-tab-element.js.map +1 -1
  119. package/dist-client/pages/meta-grist-tab-page.d.ts +57 -44
  120. package/dist-client/pages/meta-grist-tab-page.js +1 -0
  121. package/dist-client/pages/meta-grist-tab-page.js.map +1 -1
  122. package/dist-client/pages/meta-main-tab-element.d.ts +49 -42
  123. package/dist-client/pages/meta-main-tab-element.js +1 -0
  124. package/dist-client/pages/meta-main-tab-element.js.map +1 -1
  125. package/dist-client/pages/meta-main-tab-page.d.ts +52 -42
  126. package/dist-client/pages/meta-main-tab-page.js +1 -0
  127. package/dist-client/pages/meta-main-tab-page.js.map +1 -1
  128. package/dist-client/pages/meta-master-detail-element.d.ts +59 -46
  129. package/dist-client/pages/meta-master-detail-element.js +1 -0
  130. package/dist-client/pages/meta-master-detail-element.js.map +1 -1
  131. package/dist-client/pages/meta-master-detail-page.d.ts +62 -46
  132. package/dist-client/pages/meta-master-detail-page.js +1 -0
  133. package/dist-client/pages/meta-master-detail-page.js.map +1 -1
  134. package/dist-client/pages/meta-tab-detail-element.d.ts +50 -42
  135. package/dist-client/pages/meta-tab-detail-element.js +1 -0
  136. package/dist-client/pages/meta-tab-detail-element.js.map +1 -1
  137. package/dist-client/pages/meta-tab-detail-page.d.ts +53 -42
  138. package/dist-client/pages/meta-tab-detail-page.js +1 -0
  139. package/dist-client/pages/meta-tab-detail-page.js.map +1 -1
  140. package/dist-client/pages/meta-tab-element.d.ts +40 -32
  141. package/dist-client/pages/meta-tab-element.js +1 -0
  142. package/dist-client/pages/meta-tab-element.js.map +1 -1
  143. package/dist-client/pages/printer-device/printer-device-page.d.ts +3 -1
  144. package/dist-client/pages/printer-device/printer-device-page.js +1 -0
  145. package/dist-client/pages/printer-device/printer-device-page.js.map +1 -1
  146. package/dist-client/pages/template/doc-template-page.d.ts +3 -1
  147. package/dist-client/pages/template/doc-template-page.js +1 -0
  148. package/dist-client/pages/template/doc-template-page.js.map +1 -1
  149. package/dist-client/pages/template/template-file-page.d.ts +3 -1
  150. package/dist-client/pages/template/template-file-page.js +1 -0
  151. package/dist-client/pages/template/template-file-page.js.map +1 -1
  152. package/dist-client/pages/terms/config-terminology.d.ts +1 -1
  153. package/dist-client/pages/terms/config-terminology.js +1 -0
  154. package/dist-client/pages/terms/config-terminology.js.map +1 -1
  155. package/dist-client/pages/work-code/work-code-detail-popup.d.ts +52 -39
  156. package/dist-client/pages/work-code/work-code-detail-popup.js +1 -0
  157. package/dist-client/pages/work-code/work-code-detail-popup.js.map +1 -1
  158. package/dist-client/pages/work-code/work-code-page.d.ts +4 -1
  159. package/dist-client/pages/work-code/work-code-page.js +1 -0
  160. package/dist-client/pages/work-code/work-code-page.js.map +1 -1
  161. package/dist-client/tsconfig.tsbuildinfo +1 -1
  162. package/dist-client/utils/grist-default-value.d.ts +8 -2
  163. package/dist-client/utils/grist-default-value.js +1 -0
  164. package/dist-client/utils/grist-default-value.js.map +1 -1
  165. package/dist-client/utils/meta-api.d.ts +270 -82
  166. package/dist-client/utils/meta-api.js +1 -0
  167. package/dist-client/utils/meta-api.js.map +1 -1
  168. package/dist-client/utils/meta-crypto.d.ts +1 -1
  169. package/dist-client/utils/meta-crypto.js +1 -0
  170. package/dist-client/utils/meta-crypto.js.map +1 -1
  171. package/dist-client/utils/meta-ui-util.d.ts +262 -64
  172. package/dist-client/utils/meta-ui-util.js +1 -0
  173. package/dist-client/utils/meta-ui-util.js.map +1 -1
  174. package/dist-client/utils/rest-service-util.d.ts +11 -11
  175. package/dist-client/utils/rest-service-util.js +1 -0
  176. package/dist-client/utils/rest-service-util.js.map +1 -1
  177. package/dist-client/utils/service-util.d.ts +107 -32
  178. package/dist-client/utils/service-util.js +1 -0
  179. package/dist-client/utils/service-util.js.map +1 -1
  180. package/dist-client/utils/ui-util.d.ts +17 -17
  181. package/dist-client/utils/ui-util.js +1 -0
  182. package/dist-client/utils/ui-util.js.map +1 -1
  183. package/dist-client/utils/value-util.d.ts +6 -6
  184. package/dist-client/utils/value-util.js +1 -0
  185. package/dist-client/utils/value-util.js.map +1 -1
  186. package/dist-server/tsconfig.tsbuildinfo +1 -1
  187. package/package.json +24 -24
@@ -1,24 +1,30 @@
1
+ import '@material/web/icon/icon.js';
2
+ import '@operato/data-grist/ox-record-creator.js';
3
+ import 'ses';
1
4
  /**
2
5
  * @license
3
6
  * Copyright © HatioLab Inc. All rights reserved.
4
7
  * @author Shortstop shortstop@hatiolab.com
5
8
  * @description 메타 UI에서 필요한 유틸리티 함수 정의
6
9
  */
7
- export class MetaUiUtil {
10
+ export declare class MetaUiUtil {
8
11
  /**
9
12
  * @description 메뉴 ID 정보로 메뉴 메타 정보 조회
10
13
  ********************************************
11
14
  * @param {String} menuId 메뉴 ID 값
12
15
  * @returns {Object} 메뉴 메타 정보
13
16
  */
14
- static findMenuMeta(menuId: string): any;
17
+ static findMenuMeta(menuId: any): Promise<any>;
15
18
  /**
16
19
  * @description 메뉴 라우팅 정보로 메뉴 메타 정보 조회
17
20
  **********************************************
18
21
  * @param {String} menuRouting 메뉴 route 값
19
22
  * @returns {Object} 메뉴 메타 정보 (암호)
20
23
  */
21
- static getMenuMetaData(menuRouting: string): any;
24
+ static getMenuMetaData(menuRouting: any): Promise<{
25
+ records: any;
26
+ total: any;
27
+ } | null>;
22
28
  /**
23
29
  * @description 메뉴 라우팅 정보로 메뉴 메타 정보 조회
24
30
  **********************************************
@@ -26,27 +32,68 @@ export class MetaUiUtil {
26
32
  * @param {String} menuRouting 메뉴 route 값
27
33
  * @returns {Object} 메뉴 메타 정보
28
34
  */
29
- static findMenuMetaByRouting(pageView: any, menuRouting: string): any;
35
+ static findMenuMetaByRouting(pageView: any, menuRouting: any): Promise<any>;
30
36
  /**
31
37
  * @description 기본 그리스트 페이지 프로퍼티 리턴
32
38
  *******************************************
33
39
  * @returns {Object} 기본 그리스트 페이지 프로퍼티
34
40
  */
35
- static getBasicGristPageProperties(): any;
41
+ static getBasicGristPageProperties(): {
42
+ menuInfo: ObjectConstructor;
43
+ gridConfig: ObjectConstructor;
44
+ gridColumnConfig: ArrayConstructor;
45
+ formColumnConfig: ArrayConstructor;
46
+ buttonConfig: ArrayConstructor;
47
+ searchConfig: ArrayConstructor;
48
+ gqlInfo: StringConstructor;
49
+ gqlFetchField: StringConstructor;
50
+ searchFormElement: StringConstructor;
51
+ useFilterForm: BooleanConstructor;
52
+ gristConfigSet: ObjectConstructor;
53
+ formConfigSet: ArrayConstructor;
54
+ useButtonExport: BooleanConstructor;
55
+ useButtonImport: BooleanConstructor;
56
+ useButtonAdd: BooleanConstructor;
57
+ gridMobileMode: StringConstructor;
58
+ gridDeskMode: StringConstructor;
59
+ gridViewOptions: ArrayConstructor;
60
+ gridMode: StringConstructor;
61
+ infinityPage: boolean;
62
+ route_name: StringConstructor;
63
+ parent_id: StringConstructor;
64
+ is_detail: {
65
+ type: BooleanConstructor;
66
+ converter(value: any): boolean;
67
+ };
68
+ is_popup: {
69
+ type: BooleanConstructor;
70
+ converter(value: any): boolean;
71
+ };
72
+ is_activity: {
73
+ type: BooleanConstructor;
74
+ converter(value: any): boolean;
75
+ };
76
+ is_readonly: {
77
+ type: BooleanConstructor;
78
+ converter(value: any): boolean;
79
+ };
80
+ };
36
81
  /**
37
82
  * @description 메뉴 메타 정보를 조회한 후 파싱...
38
83
  ********************************************
39
84
  * @param {HTMLElement} pageView
40
85
  * @returns {Object} 메뉴 메타 정보
41
86
  */
42
- static getMenuMeta(pageView: HTMLElement): any;
87
+ static getMenuMeta(pageView: any): Promise<any>;
43
88
  /**
44
89
  * @description 파라미터로 받은 pageLimits로 페이지네이션 페이지 수를 표시
45
90
  ***************************************************************
46
91
  * @param {Array} 페이지네이션 페이지 수 배열
47
92
  * @returns {Object} 페이지네이션 페이지 수
48
93
  */
49
- static getGristPaginationCustomConfig(...pageLimits: any[]): any;
94
+ static getGristPaginationCustomConfig(...pageLimits: any[]): {
95
+ pages: any[];
96
+ };
50
97
  /**
51
98
  * @description 그리스트 기본 gutter 설정 리턴
52
99
  ********************************************
@@ -54,62 +101,93 @@ export class MetaUiUtil {
54
101
  * @param {Boolean} multiple 여러 행 선택 가능 여부
55
102
  * @returns {Object} 그리스트 기본 gutter 설정
56
103
  */
57
- static getGristGuttersConfig(useRowSelector: boolean, multiple: boolean): any;
104
+ static getGristGuttersConfig(useRowSelector: any, multiple: any): {
105
+ type: string;
106
+ gutterName: string;
107
+ }[];
58
108
  /**
59
109
  * @description 그리스트 선택 모드 설정
60
110
  ***************************************
61
111
  * @returns {Object} 그리스트 선택 모드 설정
62
112
  */
63
- static getGristSelectableConfig(multiple: any): any;
113
+ static getGristSelectableConfig(multiple: any): {
114
+ selectable: {
115
+ multiple: any;
116
+ };
117
+ };
64
118
  /**
65
119
  * @description 메뉴 메타 정보를 기반으로 그리드 설정 셋을 파싱하여 리턴
66
120
  ************************************************************
67
121
  * @param {Object} pageView 페이지
68
122
  * @returns {Object} 그리드 설정 셋
69
123
  */
70
- static parseGridConfigSet(pageView: any): any;
124
+ static parseGridConfigSet(pageView: any): Promise<{
125
+ list: {
126
+ fields: any[];
127
+ };
128
+ pagination: any;
129
+ sorters: any;
130
+ rows: {
131
+ selectable: {
132
+ multiple: any;
133
+ };
134
+ appendable: any;
135
+ };
136
+ columns: any[];
137
+ }>;
71
138
  /**
72
139
  * @description 메뉴 메타 정보를 기반으로 폼 설정 셋을 파싱하여 리턴
73
140
  ********************************************************
74
141
  * @param {Object} pageView 페이지
75
142
  * @returns {Object} 폼 설정 셋
76
143
  */
77
- static parseFormConfigSet(pageView: any): any;
144
+ static parseFormConfigSet(pageView: any): Promise<never[]>;
78
145
  /**
79
146
  * @description 메타 설정에서 그리드 옵션을 추출
80
147
  *****************************************
81
148
  * @param {Object} pageView
82
149
  * @returns {Object}
83
150
  */
84
- static getGridOptionSet(pageView: any): any;
151
+ static getGridOptionSet(pageView: any): {
152
+ use_row_checker: any;
153
+ sorters: any;
154
+ pages: any;
155
+ };
85
156
  /**
86
157
  * @description 메타 설정에서 그리드 리스트 설정을 추출
87
158
  ***********************************************
88
159
  * @param {Object} pageView
89
160
  * @returns {Object}
90
161
  */
91
- static getGridListSet(pageView: any): any;
162
+ static getGridListSet(pageView: any): {
163
+ fields: any[];
164
+ };
92
165
  /**
93
166
  * @description 메타 설정에서 그리드 Row 옵션을 추출
94
167
  *********************************************
95
168
  * @param {Object} pageView
96
169
  * @returns {Object}
97
170
  */
98
- static getGridRowSet(pageView: any): any;
171
+ static getGridRowSet(pageView: any): {
172
+ selectable: {
173
+ multiple: any;
174
+ };
175
+ appendable: any;
176
+ };
99
177
  /**
100
178
  * @description 메타 설정에서 그리드 버튼 옵션을 추출
101
179
  *********************************************
102
180
  * @param {Object} pageView
103
181
  * @returns {Array}
104
182
  */
105
- static getGridButtonSet(pageView: any): any[];
183
+ static getGridButtonSet(pageView: any): any;
106
184
  /**
107
185
  * @description 메타 데이터에서 그리드 렌더링 config 을 생성
108
186
  ***************************************************
109
187
  * @param {Object} pageView 페이지
110
188
  * @returns {Array} 그리드 컬럼 설정 리스트
111
189
  */
112
- static getGridColumnSet(pageView: any): any[];
190
+ static getGridColumnSet(pageView: any): Promise<never[]>;
113
191
  /**
114
192
  * @description meta-object, meta-code에 대한 설정을 가져온다. (menu or 설정)
115
193
  ***********************************************************************
@@ -117,7 +195,7 @@ export class MetaUiUtil {
117
195
  * @param {Object} options 컬럼 오브젝트 설정
118
196
  * @returns {Object} 메타 변경 결과
119
197
  */
120
- static getGristMetaObjectOptions(type: string, options: any): any;
198
+ static getGristMetaObjectOptions(type: any, options: any): Promise<any>;
121
199
  /**
122
200
  * @description 필터 폼에 검색 조건 필드 정의
123
201
  *****************************************
@@ -125,28 +203,36 @@ export class MetaUiUtil {
125
203
  * @param {Array} gridColumns 그리드 컬럼 설정
126
204
  * @returns
127
205
  */
128
- static setGridColumnSearchOption(pageView: HTMLElement, gridColumns: any[]): any[];
206
+ static setGridColumnSearchOption(pageView: any, gridColumns: any): any;
129
207
  /**
130
208
  * @description 컨텍스트 오브젝트 리턴
131
209
  **********************************
132
210
  * @param {Object} pageView
133
211
  * @returns {Object} 컨텍스트 오브젝트
134
212
  */
135
- static getContextObject(pageView: any): any;
213
+ static getContextObject(pageView: any): {
214
+ title: string;
215
+ help: any;
216
+ actions: any[];
217
+ } | {
218
+ title?: undefined;
219
+ help?: undefined;
220
+ actions?: undefined;
221
+ };
136
222
  /**
137
223
  * @description 메뉴 컨텍스트에서 사용할 버튼 정보 추출
138
224
  **********************************************
139
225
  * @param {Object} pageView 페이지 뷰
140
226
  * @returns {Array} 버튼 엘리먼트 리스트
141
227
  */
142
- static getContextButtons(pageView: any): any[];
228
+ static getContextButtons(pageView: any): any;
143
229
  /**
144
230
  * @description element로 로드시 버튼 element를 container에 직접 추가
145
231
  ****************************************************************
146
232
  * @param {Object} pageView 페이지 뷰
147
233
  * @returns {Array} 버튼 엘리먼트 리스트
148
234
  */
149
- static getContainerButtons(pageView: any): any[];
235
+ static getContainerButtons(pageView: any): any;
150
236
  /**
151
237
  * @description 버튼 엘리먼트를 생성
152
238
  ********************************
@@ -154,7 +240,7 @@ export class MetaUiUtil {
154
240
  * @param {String} style
155
241
  * @returns {HTMLElement} 버튼 엘리먼트
156
242
  */
157
- static createButtonElement(buttonName: string, style: string): HTMLElement;
243
+ static createButtonElement(buttonName: any, style: any): Node;
158
244
  /**
159
245
  * @description 버튼과 연결할 핸들러를 리턴
160
246
  *************************************
@@ -164,7 +250,7 @@ export class MetaUiUtil {
164
250
  * @param {Object} logic 버튼 로직 (String || JSON)
165
251
  * @returns {Function} 버튼 클릭시 실행될 액션 핸들러
166
252
  */
167
- static getButtonActionHandler(pageView: any, type: string, action: string, logic: any): Function;
253
+ static getButtonActionHandler(pageView: any, type: any, action: any, logic: any): any;
168
254
  /**
169
255
  * @description 그리스트 버튼 (그리드에 추가된 버튼)에 대한 커스텀 액션 분기
170
256
  ***************************************************************
@@ -180,7 +266,7 @@ export class MetaUiUtil {
180
266
  * @param {String} buttonName
181
267
  * @param {Object} logic
182
268
  */
183
- static formScreenCustomButtonHandler(pageView: any, buttonName: string, logic: any): Promise<void>;
269
+ static formScreenCustomButtonHandler(pageView: any, buttonName: any, logic: any): Promise<void>;
184
270
  /**
185
271
  * @description 그리드 화면에서의 커스텀 버튼에 대한 액션
186
272
  ************************************************
@@ -188,7 +274,7 @@ export class MetaUiUtil {
188
274
  * @param {String} buttonName 버튼 명
189
275
  * @param {Object} logic 버튼 커스텀 로직 JSON
190
276
  */
191
- static gristScreenCustomButtonHandler(pageView: any, buttonName: string, logic: any): Promise<void>;
277
+ static gristScreenCustomButtonHandler(pageView: any, buttonName: any, logic: any): Promise<void>;
192
278
  /**
193
279
  * @description 커스텀 버튼에 대한 액션 처리
194
280
  **************************************
@@ -196,7 +282,7 @@ export class MetaUiUtil {
196
282
  * @param {String} buttonName 버튼 명
197
283
  * @param {Object} logic 커스텀 버튼 로직 JSON
198
284
  */
199
- static customButtonHandler(pageView: any, buttonName: string, logic: any): Promise<void>;
285
+ static customButtonHandler(pageView: any, buttonName: any, logic: any): Promise<void>;
200
286
  /**
201
287
  * @description 파라미터 전달 버튼 처리
202
288
  **********************************
@@ -230,7 +316,7 @@ export class MetaUiUtil {
230
316
  * @param {Object} action
231
317
  * @param {Object or Array} params
232
318
  */
233
- static commonButtonCallScenario(pageView: any, buttonName: string, action: any, params: any): Promise<void>;
319
+ static commonButtonCallScenario(pageView: any, buttonName: any, action: any, params: any): Promise<void>;
234
320
  /**
235
321
  * @description 버튼 처리 후 처리
236
322
  *******************************
@@ -261,7 +347,12 @@ export class MetaUiUtil {
261
347
  * @param {String} name
262
348
  * @returns {Object} 그리스트 Hidden 컬럼 설정
263
349
  */
264
- static getGristHiddenColumnConfig(type: string, name: string): any;
350
+ static getGristHiddenColumnConfig(type: any, name: any): {
351
+ type: any;
352
+ name: any;
353
+ sortable: boolean;
354
+ hidden: boolean;
355
+ };
265
356
  /**
266
357
  * @description 그리스트 기본 컬럼 설정
267
358
  ***********************************
@@ -273,7 +364,23 @@ export class MetaUiUtil {
273
364
  * @param {Number} width
274
365
  * @returns {Object} 그리스트 기본 컬럼 설정
275
366
  */
276
- static getGristColumnConfig(type: string, name: string, align: string, editable: boolean, sortable: boolean, width: number): any;
367
+ static getGristColumnConfig(type: any, name: any, align: any, editable: any, sortable: any, width: any): {
368
+ type: any;
369
+ name: any;
370
+ header: string;
371
+ record: {
372
+ align: any;
373
+ editable: any;
374
+ };
375
+ sortable: any;
376
+ width: any;
377
+ imex: {
378
+ width: number;
379
+ header: string;
380
+ type: any;
381
+ key: any;
382
+ };
383
+ };
277
384
  /**
278
385
  * @description 그리스트 컬럼 설정
279
386
  *******************************
@@ -286,7 +393,23 @@ export class MetaUiUtil {
286
393
  * @param {Number} width
287
394
  * @returns {Object} 그리스트 기본 컬럼 설정
288
395
  */
289
- static getGristColumnConfig2(type: string, name: string, displayName: string, align: string, editable: boolean, sortable: boolean, width: number): any;
396
+ static getGristColumnConfig2(type: any, name: any, displayName: any, align: any, editable: any, sortable: any, width: any): {
397
+ type: any;
398
+ name: any;
399
+ header: string;
400
+ record: {
401
+ align: any;
402
+ editable: any;
403
+ };
404
+ sortable: any;
405
+ width: any;
406
+ imex: {
407
+ width: number;
408
+ header: string;
409
+ type: any;
410
+ key: any;
411
+ };
412
+ };
290
413
  /**
291
414
  * @description 그리스트 컬럼 설정
292
415
  *******************************
@@ -300,7 +423,24 @@ export class MetaUiUtil {
300
423
  * @param {Number} width
301
424
  * @returns {Object} 그리스트 기본 컬럼 설정
302
425
  */
303
- static getGristColumnConfig3(type: string, name: string, displayName: string, align: string, editable: boolean, sortable: boolean, mandatory: boolean, width: number): any;
426
+ static getGristColumnConfig3(type: any, name: any, displayName: any, align: any, editable: any, sortable: any, mandatory: any, width: any): {
427
+ type: any;
428
+ name: any;
429
+ header: string;
430
+ record: {
431
+ align: any;
432
+ editable: any;
433
+ mandatory: any;
434
+ };
435
+ sortable: any;
436
+ width: any;
437
+ imex: {
438
+ width: number;
439
+ header: string;
440
+ type: any;
441
+ key: any;
442
+ };
443
+ };
304
444
  /**
305
445
  * @description 그리스트 Selector 컬럼 설정
306
446
  ***************************************
@@ -313,7 +453,25 @@ export class MetaUiUtil {
313
453
  * @param {Array} optionValues
314
454
  * @returns {Object} 그리스트 기본 컬럼 설정
315
455
  */
316
- static getGristSelectorColumnConfig(name: string, displayName: string, align: string, sortable: boolean, width: number, mandatory: boolean, optionValues: any[]): any;
456
+ static getGristSelectorColumnConfig(name: any, displayName: any, align: any, sortable: any, width: any, mandatory: any, optionValues: any): {
457
+ type: string;
458
+ name: any;
459
+ header: string;
460
+ record: {
461
+ align: any;
462
+ editable: boolean;
463
+ mandatory: any;
464
+ options: any;
465
+ };
466
+ sortable: any;
467
+ width: any;
468
+ imex: {
469
+ width: number;
470
+ header: string;
471
+ type: string;
472
+ key: any;
473
+ };
474
+ };
317
475
  /**
318
476
  * @description 그리스트 Code Selector 컬럼 설정
319
477
  ********************************************
@@ -326,7 +484,25 @@ export class MetaUiUtil {
326
484
  * @param {String} codeName
327
485
  * @returns {Object} 그리스트 기본 컬럼 설정
328
486
  */
329
- static getGristCodeSelectorColumnConfig(name: string, displayName: string, align: string, sortable: boolean, width: number, mandatory: boolean, codeName: string): any;
487
+ static getGristCodeSelectorColumnConfig(name: any, displayName: any, align: any, sortable: any, width: any, mandatory: any, codeName: any): Promise<{
488
+ type: string;
489
+ name: any;
490
+ header: string;
491
+ record: {
492
+ align: any;
493
+ editable: boolean;
494
+ mandatory: any;
495
+ options: any;
496
+ };
497
+ sortable: any;
498
+ width: any;
499
+ imex: {
500
+ width: number;
501
+ header: string;
502
+ type: string;
503
+ key: any;
504
+ };
505
+ }>;
330
506
  /**
331
507
  * @description 그리스트 검색 편집기 설정
332
508
  ************************************
@@ -337,7 +513,18 @@ export class MetaUiUtil {
337
513
  * @param {Array} optionValues
338
514
  * @returns {Object} 그리스트 검색 편집기 설정
339
515
  */
340
- static getGristSearchColumnConfig(name: string, type: string, label: string, operator: string, optionValues: any[]): any;
516
+ static getGristSearchColumnConfig(name: any, type: any, label: any, operator: any, optionValues: any): {
517
+ name: any;
518
+ type: any;
519
+ label: string;
520
+ operator: any;
521
+ imex: {
522
+ width: number;
523
+ header: string;
524
+ type: any;
525
+ key: any;
526
+ };
527
+ };
341
528
  /**
342
529
  * @description 그리스트 검색 코드 편집기 설정
343
530
  ***************************************
@@ -348,80 +535,91 @@ export class MetaUiUtil {
348
535
  * @param {String} codeName 코드 이름
349
536
  * @returns {Object} 그리스트 검색 코드 편집기 설정
350
537
  */
351
- static getGristSearchCodeColumnConfig(name: string, type: string, label: string, operator: string, codeName: string): any;
538
+ static getGristSearchCodeColumnConfig(name: any, type: any, label: any, operator: any, codeName: any): Promise<{
539
+ name: any;
540
+ type: any;
541
+ label: string;
542
+ operator: any;
543
+ imex: {
544
+ width: number;
545
+ header: string;
546
+ type: any;
547
+ key: any;
548
+ };
549
+ }>;
352
550
  /**
353
551
  * @description 기본 컨텍스트 버튼이 아닌 커스텀 버튼 컨테이너 스타일
354
552
  *********************************************************
355
553
  * @returns {Array} 커스텀 버튼 컨테이너 CSS 리턴
356
554
  */
357
- static getCustomButtonContainerStyles(): any[];
555
+ static getCustomButtonContainerStyles(): import("lit").CSSResult[];
358
556
  /**
359
557
  * @description 그리스트 강조 스타일 리턴
360
558
  ************************************
361
559
  * @returns {Array} 그리스트 강조 스타일 CSS
362
560
  */
363
- static getGristEmphasizedStyles(): any[];
561
+ static getGristEmphasizedStyles(): import("lit").CSSResult[];
364
562
  /**
365
563
  * @description 기본 그리스트 스타일 리턴
366
564
  ************************************
367
565
  * @returns {Array} 기본 그리스트 스타일 CSS 리턴
368
566
  */
369
- static getBasicGristStyles(): any[];
567
+ static getBasicGristStyles(): import("lit").CSSResult[];
370
568
  /**
371
569
  * @description 기본 그리스트 탭 스타일 리턴
372
570
  **************************************
373
571
  * @returns {Array} 기본 그리스트 탭 스타일 CSS 리턴
374
572
  */
375
- static getBasicGristTabStyles(): any[];
573
+ static getBasicGristTabStyles(): import("lit").CSSResult[];
376
574
  /**
377
575
  * @description 기본 마스터 디테일 스타일 리턴
378
576
  ****************************************
379
577
  * @returns {Array} 기본 마스터 디테일 스타일 CSS 리턴
380
578
  */
381
- static getBasicMasterDetailStyles(): any[];
579
+ static getBasicMasterDetailStyles(): import("lit").CSSResult[];
382
580
  /**
383
581
  * @description 기본 TAB 디테일 스타일 리턴
384
582
  **************************************
385
583
  * @returns {Array} 기본 TAB 디테일 스타일 CSS 리턴
386
584
  */
387
- static getBasicTabDetailStyles(): any[];
585
+ static getBasicTabDetailStyles(): import("lit").CSSResult[];
388
586
  /**
389
587
  * @description 기본 MAIN TAB 스타일 리턴
390
588
  **************************************
391
589
  * @returns {Array} 기본 MAIN TAB 스타일 CSS 리턴
392
590
  */
393
- static getBasicMainTabStyles(): any[];
591
+ static getBasicMainTabStyles(): import("lit").CSSResult[];
394
592
  /**
395
593
  * @description 기본 마스터 디테일 그리스트 스타일 리턴
396
594
  *********************************************************
397
595
  * @param {String} masterDetailType top-down / left-right
398
596
  * @returns {Array} 마스터 디테일 그리스트 스타일 CSS
399
597
  */
400
- static getBasicMasterDetailGristStyle(masterDetailType: string): any[];
598
+ static getBasicMasterDetailGristStyle(masterDetailType: any): import("lit").CSSResult[];
401
599
  /**
402
600
  * @description top-down 형태의 마스터 디테일 그리스트 스타일 리턴
403
601
  ************************************************************
404
602
  * @returns {Array} top-down 형태의 마스터 디테일 그리스트 스타일 CSS
405
603
  */
406
- static getMasterDetailTopDownGristStyle(): any[];
604
+ static getMasterDetailTopDownGristStyle(): import("lit").CSSResult[];
407
605
  /**
408
606
  * @description left-rigth 형태의 마스터 디테일 그리스트 스타일 리턴
409
607
  **************************************************************
410
608
  * @returns {Array} left-rigth 형태의 마스터 디테일 그리스트 스타일 CSS
411
609
  */
412
- static getMasterDetailLeftRightGristStyle(): any[];
610
+ static getMasterDetailLeftRightGristStyle(): import("lit").CSSResult[];
413
611
  /**
414
612
  * @description 기본 폼 스타일 리턴
415
613
  ************************************
416
614
  * @returns {Array} 기본 폼 스타일 CSS 리턴
417
615
  */
418
- static getBasicFormStyles(): any[];
616
+ static getBasicFormStyles(): import("lit").CSSResult[];
419
617
  /**
420
618
  * @description 기본 탭 스타일 리턴
421
619
  ************************************
422
620
  * @returns {Array} 기본 탭 스타일 CSS 리턴
423
621
  */
424
- static getBasicTabStyles(): any[];
622
+ static getBasicTabStyles(): import("lit").CSSResult[];
425
623
  /**
426
624
  * @description 그리드 설정에 버튼 이름이 buttonName인 버튼이 있는지 체크
427
625
  **************************************************************
@@ -429,7 +627,7 @@ export class MetaUiUtil {
429
627
  * @param {String} buttonName 버튼 명
430
628
  * @returns
431
629
  */
432
- static isButtonExist(buttonConfig: any, buttonName: string): boolean;
630
+ static isButtonExist(buttonConfig: any, buttonName: any): boolean;
433
631
  /**
434
632
  * @description 그리드 설정에 버튼 이름이 buttonName인 버튼이 있는지 체크
435
633
  **************************************************************
@@ -437,14 +635,14 @@ export class MetaUiUtil {
437
635
  * @param {String} buttonName 버튼 명
438
636
  * @returns
439
637
  */
440
- static isGridButtonExist(gridConfig: any, buttonName: string): boolean;
638
+ static isGridButtonExist(gridConfig: any, buttonName: any): boolean;
441
639
  /**
442
640
  * @description 그리드 설정에서 셀렉트 컬럼을 추출
443
641
  *******************************************
444
642
  * @param {Array} gridColumns 그리드 컬럼 설정
445
643
  * @returns {String} 셀렉트 필드 정보
446
644
  */
447
- static getSelectColumns(gridColumns: any[]): string;
645
+ static getSelectColumns(gridColumns: any): string;
448
646
  /**
449
647
  * Object 타입의 컬럼에 대한 셀렉트 필드 추출 후 리턴
450
648
  ********************************************
@@ -458,14 +656,14 @@ export class MetaUiUtil {
458
656
  * @param {String} pageView 페이지 뷰
459
657
  * @returns {HTMLElement} 그리스트 HTML
460
658
  */
461
- static getBasicGristHtml(pageView: string): HTMLElement;
659
+ static getBasicGristHtml(pageView: any): import("lit-html").TemplateResult<1>;
462
660
  /**
463
661
  * @description pageView의 폼 정보로 기본 폼 Html을 생성하여 리턴
464
662
  *********************************************************
465
663
  * @param {Object} pageView 페이지 뷰
466
664
  * @returns {HTMLElement} 폼을 HTML
467
665
  */
468
- static getBasicFormHtml(pageView: any): HTMLElement;
666
+ static getBasicFormHtml(pageView: any): import("lit-html").TemplateResult<1>;
469
667
  /**
470
668
  * @description pageView의 폼 정보로 폼렌더링 옵션을 적용한 폼 Html을 생성하여 리턴
471
669
  ***********************************************************************
@@ -474,7 +672,7 @@ export class MetaUiUtil {
474
672
  * @param {Object} record 표현 데이터
475
673
  * @returns {HTMLElement} 폼을 HTML
476
674
  */
477
- static getBasicFormHtmlOnOption(pageView: any, columns: any[], record: any): HTMLElement;
675
+ static getBasicFormHtmlOnOption(pageView: any, columns: any, record: any): import("lit-html").TemplateResult<1>;
478
676
  /**
479
677
  * @description pageView의 폼 정보로 기본 폼 Html을 생성하여 리턴
480
678
  *********************************************************
@@ -483,42 +681,42 @@ export class MetaUiUtil {
483
681
  * @param {Object} record 표현 데이터
484
682
  * @returns {HTMLElement} 폼을 HTML
485
683
  */
486
- static getBasicFormHtmlNoOption(pageView: any, columns: any[], record: any): HTMLElement;
684
+ static getBasicFormHtmlNoOption(pageView: any, columns: any, record: any): import("lit-html").TemplateResult<1>;
487
685
  /**
488
686
  * @description pageView의 탭 정보로 기본 탭 Html을 생성하여 리턴
489
687
  **********************************************************
490
688
  * @param {Object} pageView 페이지 뷰
491
689
  * @returns {HTMLElement} 탭 HTML
492
690
  */
493
- static getBasicTabHtml(pageView: any): HTMLElement;
691
+ static getBasicTabHtml(pageView: any): import("lit-html").TemplateResult<1>;
494
692
  /**
495
693
  * @description Grist 탭 Html을 생성하여 리턴
496
694
  *****************************************
497
695
  * @param {Object} pageView 페이지 뷰
498
696
  * @returns {HTMLElement} 탭 HTML
499
697
  */
500
- static getGristTabHtml(pageView: any): HTMLElement;
698
+ static getGristTabHtml(pageView: any): import("lit-html").TemplateResult<1>;
501
699
  /**
502
700
  * @description Tab Detail Html을 생성하여 리턴
503
701
  ********************************************
504
702
  * @param {Object} pageView 페이지 뷰
505
703
  * @returns {HTMLElement} 탭 HTML
506
704
  */
507
- static getTabDetailHtml(pageView: any): HTMLElement;
705
+ static getTabDetailHtml(pageView: any): import("lit-html").TemplateResult<1>;
508
706
  /**
509
707
  * @description 메인 탭 Html을 생성하여 리턴
510
708
  ***************************************
511
709
  * @param {Object} pageView 페이지 뷰
512
710
  * @returns {HTMLElement} 탭 HTML
513
711
  */
514
- static getMainTabHtml(pageView: any): HTMLElement;
712
+ static getMainTabHtml(pageView: any): import("lit-html").TemplateResult<1>;
515
713
  /**
516
714
  * @description 마스터 디테일 Html을 생성하여 리턴
517
715
  ********************************************
518
716
  * @param {Object} pageView 페이지 뷰
519
717
  * @returns {HTMLElement} 탭 HTML
520
718
  */
521
- static getMasterDetailHtml(pageView: any): HTMLElement;
719
+ static getMasterDetailHtml(pageView: any): import("lit-html").TemplateResult<1>;
522
720
  /**
523
721
  * @descrtiption 디테일 엘리먼트 렌더링
524
722
  **********************************
@@ -533,7 +731,7 @@ export class MetaUiUtil {
533
731
  * @param {Object} pageView
534
732
  * @returns {HTMLElement} 마스터 엘리먼트 HTML
535
733
  */
536
- static createMasterElement(pageView: any): HTMLElement;
734
+ static createMasterElement(pageView: any): void;
537
735
  /**
538
736
  * @descrtiption 기본 탭 컨텐트 리턴
539
737
  ********************************
@@ -541,26 +739,26 @@ export class MetaUiUtil {
541
739
  * @param {Object} tabConfig
542
740
  * @returns {HTMLElement} 탭 컨텐트 HTML
543
741
  */
544
- static getBasicTabContent(pageView: any, tabConfig: any): HTMLElement;
742
+ static getBasicTabContent(pageView: any, tabConfig: any): any;
545
743
  /**
546
744
  * @description 그리드 상세 내용 HTML 생성
547
745
  **************************************
548
746
  * @param {Object} pageView 페이지 뷰
549
747
  * @returns {HTMLElement} 그리드 상세 내용 HTML
550
748
  */
551
- static getGridDetailHtml(pageView: any): HTMLElement;
749
+ static getGridDetailHtml(pageView: any): import("lit-html").TemplateResult<1>;
552
750
  /**
553
751
  * @description 그리드 보기 옵션 버튼을 그린다.
554
752
  ****************************************
555
753
  * @param {Object} pageView 페이지 뷰
556
754
  * @return {HTMLElement} 그리드 뷰 옵션 HTML
557
755
  */
558
- static getGridViewOption(pageView: any): HTMLElement;
756
+ static getGridViewOption(pageView: any): import("lit-html").TemplateResult<1>;
559
757
  /**
560
758
  * @description 버튼 컨테이너 엘리먼트 생성
561
759
  *************************************
562
760
  * @param {Object} pageView
563
761
  * @returns {HTMLElement}
564
762
  */
565
- static getButtonContainer(pageView: any): HTMLElement;
763
+ static getButtonContainer(pageView: any): import("lit-html").TemplateResult<1>;
566
764
  }