@things-factory/meta-ui 7.0.1-alpha.73 → 7.0.1-alpha.74
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.
- package/client/mixin/meta-basic-grist-mixin.js +0 -24
- package/client/mixin/meta-tab-detail-mixin.js +0 -24
- package/client/pages/activity/meta-activity-define-page.js +2 -19
- package/client/pages/activity/meta-activity-list-page.js +2 -24
- package/client/pages/entity/config-entity.js +2 -25
- package/client/pages/menu/dynamic-menu.js +2 -26
- package/client/pages/meta-form-element.js +2 -2
- package/client/pages/meta-grist-element.js +2 -2
- package/client/pages/meta-grist-page.js +2 -1
- package/client/pages/meta-grist-tab-element.js +2 -2
- package/client/pages/meta-grist-tab-page.js +2 -1
- package/client/pages/meta-main-tab-element.js +2 -2
- package/client/pages/meta-main-tab-page.js +2 -1
- package/client/pages/meta-master-detail-element.js +2 -2
- package/client/pages/meta-master-detail-page.js +2 -1
- package/client/pages/meta-tab-detail-element.js +2 -2
- package/client/pages/meta-tab-detail-page.js +2 -1
- package/client/pages/meta-tab-element.js +2 -2
- package/client/pages/terms/config-terminology.js +2 -25
- package/client/pages/work-code/work-code-page.js +5 -4
- package/dist-client/mixin/meta-basic-grist-mixin.d.ts +2 -22
- package/dist-client/mixin/meta-basic-grist-mixin.js +0 -20
- package/dist-client/mixin/meta-basic-grist-mixin.js.map +1 -1
- package/dist-client/mixin/meta-tab-detail-mixin.d.ts +0 -8
- package/dist-client/mixin/meta-tab-detail-mixin.js +0 -20
- package/dist-client/mixin/meta-tab-detail-mixin.js.map +1 -1
- package/dist-client/pages/activity/meta-activity-define-page.js +2 -15
- package/dist-client/pages/activity/meta-activity-define-page.js.map +1 -1
- package/dist-client/pages/activity/meta-activity-list-page.js +2 -21
- package/dist-client/pages/activity/meta-activity-list-page.js.map +1 -1
- package/dist-client/pages/button-role/button-role-detail.d.ts +0 -2
- package/dist-client/pages/entity/config-entity.js +2 -21
- package/dist-client/pages/entity/config-entity.js.map +1 -1
- package/dist-client/pages/menu/dynamic-menu.js +2 -22
- package/dist-client/pages/menu/dynamic-menu.js.map +1 -1
- package/dist-client/pages/meta-form-element.js +2 -1
- package/dist-client/pages/meta-form-element.js.map +1 -1
- package/dist-client/pages/meta-grist-element.d.ts +0 -2
- package/dist-client/pages/meta-grist-element.js +2 -1
- package/dist-client/pages/meta-grist-element.js.map +1 -1
- package/dist-client/pages/meta-grist-page.d.ts +0 -2
- package/dist-client/pages/meta-grist-page.js +2 -1
- package/dist-client/pages/meta-grist-page.js.map +1 -1
- package/dist-client/pages/meta-grist-tab-element.js +2 -1
- package/dist-client/pages/meta-grist-tab-element.js.map +1 -1
- package/dist-client/pages/meta-grist-tab-page.js +2 -1
- package/dist-client/pages/meta-grist-tab-page.js.map +1 -1
- package/dist-client/pages/meta-main-tab-element.js +2 -1
- package/dist-client/pages/meta-main-tab-element.js.map +1 -1
- package/dist-client/pages/meta-main-tab-page.js +2 -1
- package/dist-client/pages/meta-main-tab-page.js.map +1 -1
- package/dist-client/pages/meta-master-detail-element.js +2 -1
- package/dist-client/pages/meta-master-detail-element.js.map +1 -1
- package/dist-client/pages/meta-master-detail-page.js +2 -1
- package/dist-client/pages/meta-master-detail-page.js.map +1 -1
- package/dist-client/pages/meta-tab-detail-element.d.ts +0 -2
- package/dist-client/pages/meta-tab-detail-element.js +2 -1
- package/dist-client/pages/meta-tab-detail-element.js.map +1 -1
- package/dist-client/pages/meta-tab-detail-page.d.ts +0 -2
- package/dist-client/pages/meta-tab-detail-page.js +2 -1
- package/dist-client/pages/meta-tab-detail-page.js.map +1 -1
- package/dist-client/pages/meta-tab-element.js +2 -1
- package/dist-client/pages/meta-tab-element.js.map +1 -1
- package/dist-client/pages/terms/config-terminology.js +2 -21
- package/dist-client/pages/terms/config-terminology.js.map +1 -1
- package/dist-client/pages/work-code/work-code-detail-popup.d.ts +0 -2
- package/dist-client/pages/work-code/work-code-page.js +4 -2
- package/dist-client/pages/work-code/work-code-page.js.map +1 -1
- package/dist-client/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/client/utils/get-page-preference-provider.js +0 -15
|
@@ -2,8 +2,6 @@ import '@operato/data-grist'
|
|
|
2
2
|
|
|
3
3
|
import { html } from 'lit'
|
|
4
4
|
|
|
5
|
-
import { PagePreferenceProviderImpl } from '@things-factory/personalization/dist-client/page-preference-provider-impl.js'
|
|
6
|
-
|
|
7
5
|
import { MetaApi } from '../utils/meta-api'
|
|
8
6
|
import { MetaUiUtil } from '../utils/meta-ui-util'
|
|
9
7
|
import { ValueUtil } from '../utils/value-util'
|
|
@@ -219,28 +217,6 @@ export const MetaBasicGristMixin = baseElement =>
|
|
|
219
217
|
this.gristConfigSet = await MetaApi.parseGridConfigSet(this)
|
|
220
218
|
}
|
|
221
219
|
|
|
222
|
-
/**
|
|
223
|
-
* @description PagePreference를 제공한다.(없다면 생성한다.)
|
|
224
|
-
***********************
|
|
225
|
-
* @param {String} preference 대상 엘리먼트 아이디
|
|
226
|
-
* @returns {PagePreference}
|
|
227
|
-
*/
|
|
228
|
-
getPagePreferenceProvider(element) {
|
|
229
|
-
if (!element || !this.lifecycle?.page) {
|
|
230
|
-
return
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
if (!this.preferenceProviders) {
|
|
234
|
-
this.preferenceProviders = {}
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
if (!this.preferenceProviders[element]) {
|
|
238
|
-
this.preferenceProviders[element] = new PagePreferenceProviderImpl(this.lifecycle.page, element)
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
return this.preferenceProviders[element]
|
|
242
|
-
}
|
|
243
|
-
|
|
244
220
|
/********************************************************************
|
|
245
221
|
* C R U D Functions
|
|
246
222
|
********************************************************************/
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { PagePreferenceProviderImpl } from '@things-factory/personalization/dist-client/page-preference-provider-impl.js'
|
|
2
|
-
|
|
3
1
|
import { MetaApi } from '../utils/meta-api'
|
|
4
2
|
import { MetaUiUtil } from '../utils/meta-ui-util'
|
|
5
3
|
|
|
@@ -252,28 +250,6 @@ export const MetaTabDetailMixin = baseElement =>
|
|
|
252
250
|
})
|
|
253
251
|
}
|
|
254
252
|
|
|
255
|
-
/**
|
|
256
|
-
* @description PagePreference를 제공한다.(없다면 생성한다.)
|
|
257
|
-
***********************
|
|
258
|
-
* @param {String} preference 대상 엘리먼트 아이디
|
|
259
|
-
* @returns {PagePreference}
|
|
260
|
-
*/
|
|
261
|
-
getPagePreferenceProvider(element) {
|
|
262
|
-
if (!element || !this.lifecycle?.page) {
|
|
263
|
-
return
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
if (!this.preferenceProviders) {
|
|
267
|
-
this.preferenceProviders = {}
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
if (!this.preferenceProviders[element]) {
|
|
271
|
-
this.preferenceProviders[element] = new PagePreferenceProviderImpl(this.lifecycle.page, element)
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
return this.preferenceProviders[element]
|
|
275
|
-
}
|
|
276
|
-
|
|
277
253
|
/********************************************************************
|
|
278
254
|
* C R U D Functions
|
|
279
255
|
********************************************************************/
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import '@material/web/icon/icon.js'
|
|
2
2
|
|
|
3
3
|
import '@operato/data-grist'
|
|
4
|
+
import { p13n } from '@operato/personalization'
|
|
4
5
|
import '@things-factory/worklist/dist-client/pages/activity/activity-model-item-list.js'
|
|
5
6
|
import { ActivityStatus } from '@things-factory/worklist/dist-client/types/types.js'
|
|
6
7
|
|
|
@@ -14,11 +15,9 @@ import { PageView } from '@operato/shell'
|
|
|
14
15
|
import { CommonButtonStyles, CommonGristStyles, CommonHeaderStyles, ScrollbarStyles } from '@operato/styles'
|
|
15
16
|
import { adjustFilters, isMobileDevice } from '@operato/utils'
|
|
16
17
|
|
|
17
|
-
import { PagePreferenceProviderImpl } from '@things-factory/personalization/dist-client/page-preference-provider-impl.js'
|
|
18
|
-
|
|
19
18
|
import { MetaApi } from './../../utils/meta-api'
|
|
20
19
|
|
|
21
|
-
class MetaActivityDefinePage extends localize(i18next)(PageView) {
|
|
20
|
+
class MetaActivityDefinePage extends p13n(localize(i18next)(PageView)) {
|
|
22
21
|
/**
|
|
23
22
|
* @description 스타일 정의
|
|
24
23
|
***********************************
|
|
@@ -142,22 +141,6 @@ class MetaActivityDefinePage extends localize(i18next)(PageView) {
|
|
|
142
141
|
`
|
|
143
142
|
}
|
|
144
143
|
|
|
145
|
-
getPagePreferenceProvider(element) {
|
|
146
|
-
if (!element || !this.lifecycle?.page) {
|
|
147
|
-
return
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
if (!this.preferenceProviders) {
|
|
151
|
-
this.preferenceProviders = {}
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
if (!this.preferenceProviders[element]) {
|
|
155
|
-
this.preferenceProviders[element] = new PagePreferenceProviderImpl(this.lifecycle.page, element)
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
return this.preferenceProviders[element]
|
|
159
|
-
}
|
|
160
|
-
|
|
161
144
|
async pageInitialized(lifecycle) {
|
|
162
145
|
this.gristConfig = {
|
|
163
146
|
pagination: MetaApi.getGristPagination100Config(),
|
|
@@ -6,11 +6,11 @@ import { html } from 'lit'
|
|
|
6
6
|
|
|
7
7
|
import { client } from '@operato/graphql'
|
|
8
8
|
import { i18next, localize } from '@operato/i18n'
|
|
9
|
+
import { p13n } from '@operato/personalization'
|
|
9
10
|
import { PageView } from '@operato/shell'
|
|
10
11
|
import { CommonButtonStyles } from '@operato/styles'
|
|
11
12
|
|
|
12
13
|
import { ActivityStatus } from '@things-factory/worklist/dist-client/types/types.js'
|
|
13
|
-
import { PagePreferenceProviderImpl } from '@things-factory/personalization/dist-client/page-preference-provider-impl.js'
|
|
14
14
|
|
|
15
15
|
import { MetaApi } from './../../utils/meta-api'
|
|
16
16
|
import { MetaUiUtil } from './../../utils/meta-ui-util'
|
|
@@ -19,7 +19,7 @@ import { TermsUtil } from './../../utils/terms-util'
|
|
|
19
19
|
import { ServiceUtil } from '../../utils/service-util'
|
|
20
20
|
import { UiUtil } from '../../utils/ui-util'
|
|
21
21
|
|
|
22
|
-
class MetaActivityListPage extends localize(i18next)(PageView) {
|
|
22
|
+
class MetaActivityListPage extends p13n(localize(i18next)(PageView)) {
|
|
23
23
|
static get styles() {
|
|
24
24
|
return MetaApi.getBasicGristStyles()
|
|
25
25
|
}
|
|
@@ -237,28 +237,6 @@ class MetaActivityListPage extends localize(i18next)(PageView) {
|
|
|
237
237
|
await MetaApi.deleteListByGristSelected(this.grist, 'deleteMetaActivities')
|
|
238
238
|
}
|
|
239
239
|
|
|
240
|
-
/**
|
|
241
|
-
* @description PagePreference를 제공한다.(없다면 생성한다.)
|
|
242
|
-
***********************
|
|
243
|
-
* @param {String} preference 대상 엘리먼트 아이디
|
|
244
|
-
* @returns {PagePreference}
|
|
245
|
-
*/
|
|
246
|
-
getPagePreferenceProvider(element) {
|
|
247
|
-
if (!element || !this.lifecycle?.page) {
|
|
248
|
-
return
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
if (!this.preferenceProviders) {
|
|
252
|
-
this.preferenceProviders = {}
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
if (!this.preferenceProviders[element]) {
|
|
256
|
-
this.preferenceProviders[element] = new PagePreferenceProviderImpl(this.lifecycle.page, element)
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
return this.preferenceProviders[element]
|
|
260
|
-
}
|
|
261
|
-
|
|
262
240
|
render() {
|
|
263
241
|
return html`
|
|
264
242
|
<ox-grist
|
|
@@ -6,6 +6,7 @@ import gql from 'graphql-tag'
|
|
|
6
6
|
import { PageView, store } from '@operato/shell'
|
|
7
7
|
import { client, gqlContext } from '@operato/graphql'
|
|
8
8
|
import { i18next, localize } from '@operato/i18n'
|
|
9
|
+
import { p13n } from '@operato/personalization'
|
|
9
10
|
|
|
10
11
|
import { EXPORT } from '@things-factory/export-base'
|
|
11
12
|
import { IMPORT } from '@things-factory/import-base'
|
|
@@ -13,8 +14,6 @@ import { IMPORT } from '@things-factory/import-base'
|
|
|
13
14
|
import '@things-factory/form-ui'
|
|
14
15
|
import '@things-factory/import-ui'
|
|
15
16
|
|
|
16
|
-
import { PagePreferenceProviderImpl } from '@things-factory/personalization/dist-client/page-preference-provider-impl.js'
|
|
17
|
-
|
|
18
17
|
import { TermsUtil } from './../../utils/terms-util'
|
|
19
18
|
import { ValueUtil } from '../../utils/value-util'
|
|
20
19
|
import { MetaApi } from '../../utils/meta-api'
|
|
@@ -27,7 +26,7 @@ import './main-menu-selector'
|
|
|
27
26
|
* @author Shortstop <shortstop@hatiolab.com>
|
|
28
27
|
* @description 엔티티 정의 화면
|
|
29
28
|
*/
|
|
30
|
-
class ConfigEntity extends localize(i18next)(PageView) {
|
|
29
|
+
class ConfigEntity extends p13n(localize(i18next)(PageView)) {
|
|
31
30
|
/**
|
|
32
31
|
* @description 프로퍼티 정의
|
|
33
32
|
***********************************
|
|
@@ -951,28 +950,6 @@ class ConfigEntity extends localize(i18next)(PageView) {
|
|
|
951
950
|
</div>
|
|
952
951
|
`
|
|
953
952
|
}
|
|
954
|
-
|
|
955
|
-
/**
|
|
956
|
-
* @description PagePreference를 제공한다.(없다면 생성한다.)
|
|
957
|
-
***********************
|
|
958
|
-
* @param {String} preference 대상 엘리먼트 아이디
|
|
959
|
-
* @returns {PagePreference}
|
|
960
|
-
*/
|
|
961
|
-
getPagePreferenceProvider(element) {
|
|
962
|
-
if (!element || !this.lifecycle?.page) {
|
|
963
|
-
return
|
|
964
|
-
}
|
|
965
|
-
|
|
966
|
-
if (!this.preferenceProviders) {
|
|
967
|
-
this.preferenceProviders = {}
|
|
968
|
-
}
|
|
969
|
-
|
|
970
|
-
if (!this.preferenceProviders[element]) {
|
|
971
|
-
this.preferenceProviders[element] = new PagePreferenceProviderImpl(this.lifecycle.page, element)
|
|
972
|
-
}
|
|
973
|
-
|
|
974
|
-
return this.preferenceProviders[element]
|
|
975
|
-
}
|
|
976
953
|
}
|
|
977
954
|
|
|
978
955
|
customElements.define('config-entity', ConfigEntity)
|
|
@@ -5,8 +5,7 @@ import { html } from 'lit'
|
|
|
5
5
|
|
|
6
6
|
import { PageView } from '@operato/shell'
|
|
7
7
|
import { i18next, localize } from '@operato/i18n'
|
|
8
|
-
|
|
9
|
-
import { PagePreferenceProviderImpl } from '@things-factory/personalization/dist-client/page-preference-provider-impl.js'
|
|
8
|
+
import { p13n } from '@operato/personalization'
|
|
10
9
|
|
|
11
10
|
import { TermsUtil } from './../../utils/terms-util'
|
|
12
11
|
import { MetaApi } from '../../utils/meta-api'
|
|
@@ -14,10 +13,9 @@ import { MetaApi } from '../../utils/meta-api'
|
|
|
14
13
|
import './dynamic-menu-template.js'
|
|
15
14
|
import './export-menu-popup.js'
|
|
16
15
|
import { ValueUtil } from '../../utils/value-util'
|
|
17
|
-
import { ServiceUtil } from '../../utils/service-util'
|
|
18
16
|
import { UiUtil } from '../../utils/ui-util'
|
|
19
17
|
|
|
20
|
-
class DynamicMenu extends localize(i18next)(PageView) {
|
|
18
|
+
class DynamicMenu extends p13n(localize(i18next)(PageView)) {
|
|
21
19
|
static get properties() {
|
|
22
20
|
return {
|
|
23
21
|
searchFields: Array,
|
|
@@ -734,28 +732,6 @@ class DynamicMenu extends localize(i18next)(PageView) {
|
|
|
734
732
|
]
|
|
735
733
|
}
|
|
736
734
|
}
|
|
737
|
-
|
|
738
|
-
/**
|
|
739
|
-
* @description PagePreference를 제공한다.(없다면 생성한다.)
|
|
740
|
-
***********************
|
|
741
|
-
* @param {String} preference 대상 엘리먼트 아이디
|
|
742
|
-
* @returns {PagePreference}
|
|
743
|
-
*/
|
|
744
|
-
getPagePreferenceProvider(element) {
|
|
745
|
-
if (!element || !this.lifecycle?.page) {
|
|
746
|
-
return
|
|
747
|
-
}
|
|
748
|
-
|
|
749
|
-
if (!this.preferenceProviders) {
|
|
750
|
-
this.preferenceProviders = {}
|
|
751
|
-
}
|
|
752
|
-
|
|
753
|
-
if (!this.preferenceProviders[element]) {
|
|
754
|
-
this.preferenceProviders[element] = new PagePreferenceProviderImpl(this.lifecycle.page, element)
|
|
755
|
-
}
|
|
756
|
-
|
|
757
|
-
return this.preferenceProviders[element]
|
|
758
|
-
}
|
|
759
735
|
}
|
|
760
736
|
|
|
761
737
|
customElements.define('dynamic-menu', DynamicMenu)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { LitElement } from 'lit'
|
|
2
2
|
|
|
3
3
|
import { i18next, localize } from '@operato/i18n'
|
|
4
|
+
import { p13n } from '@operato/personalization'
|
|
4
5
|
import { MetaFormMixin } from './../mixin/meta-form-mixin.js'
|
|
5
6
|
|
|
6
|
-
export class MetaFormElement extends MetaFormMixin(localize(i18next)(LitElement)) {
|
|
7
|
-
}
|
|
7
|
+
export class MetaFormElement extends MetaFormMixin(p13n(localize(i18next)(LitElement))) {}
|
|
8
8
|
|
|
9
9
|
customElements.define('meta-form-element', MetaFormElement)
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { LitElement } from 'lit'
|
|
2
2
|
import { i18next, localize } from '@operato/i18n'
|
|
3
|
+
import { p13n } from '@operato/personalization'
|
|
3
4
|
|
|
4
5
|
import { MetaBasicGristMixin } from './../mixin/meta-basic-grist-mixin.js'
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* @description Meta API로 엘리먼트 생성 테스트 용
|
|
8
9
|
*/
|
|
9
|
-
export class MetaGristElement extends MetaBasicGristMixin(localize(i18next)(LitElement)) {
|
|
10
|
-
}
|
|
10
|
+
export class MetaGristElement extends MetaBasicGristMixin(p13n(localize(i18next)(LitElement))) {}
|
|
11
11
|
|
|
12
12
|
customElements.define('meta-grist-element', MetaGristElement)
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { i18next, localize } from '@operato/i18n'
|
|
2
|
+
import { p13n } from '@operato/personalization'
|
|
2
3
|
import { PageView } from '@things-factory/shell'
|
|
3
4
|
|
|
4
5
|
import { MetaBasicGristMixin } from './../mixin/meta-basic-grist-mixin.js'
|
|
@@ -10,6 +11,6 @@ import './meta-tab-element'
|
|
|
10
11
|
/**
|
|
11
12
|
* @description Meta API로 페이지 생성 테스트 용
|
|
12
13
|
*/
|
|
13
|
-
export class MetaGristPage extends MetaBasicGristMixin(localize(i18next)(PageView)) {}
|
|
14
|
+
export class MetaGristPage extends MetaBasicGristMixin(p13n(localize(i18next)(PageView))) {}
|
|
14
15
|
|
|
15
16
|
customElements.define('meta-grist-page', MetaGristPage)
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { LitElement } from 'lit'
|
|
2
2
|
import { i18next, localize } from '@operato/i18n'
|
|
3
|
+
import { p13n } from '@operato/personalization'
|
|
3
4
|
|
|
4
5
|
import { MetaGristTabMixin } from './../mixin/meta-grist-tab-mixin'
|
|
5
6
|
|
|
@@ -10,7 +11,6 @@ import './meta-tab-element'
|
|
|
10
11
|
/**
|
|
11
12
|
* @description Meta API로 엘리먼트 생성 테스트 용
|
|
12
13
|
*/
|
|
13
|
-
export class MetaGristTabElement extends MetaGristTabMixin(localize(i18next)(LitElement)) {
|
|
14
|
-
}
|
|
14
|
+
export class MetaGristTabElement extends MetaGristTabMixin(p13n(localize(i18next)(LitElement))) {}
|
|
15
15
|
|
|
16
16
|
customElements.define('meta-grist-tab-element', MetaGristTabElement)
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { i18next, localize } from '@operato/i18n'
|
|
2
|
+
import { p13n } from '@operato/personalization'
|
|
2
3
|
import { PageView } from '@things-factory/shell'
|
|
3
4
|
|
|
4
5
|
import { MetaGristTabMixin } from './../mixin/meta-grist-tab-mixin'
|
|
@@ -10,6 +11,6 @@ import './meta-tab-element'
|
|
|
10
11
|
/**
|
|
11
12
|
* @description Meta API로 페이지 생성 테스트 용
|
|
12
13
|
*/
|
|
13
|
-
export class MetaGristTabPage extends MetaGristTabMixin(localize(i18next)(PageView)) {}
|
|
14
|
+
export class MetaGristTabPage extends MetaGristTabMixin(p13n(localize(i18next)(PageView))) {}
|
|
14
15
|
|
|
15
16
|
customElements.define('meta-grist-tab-page', MetaGristTabPage)
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { LitElement } from 'lit'
|
|
2
2
|
import { i18next, localize } from '@operato/i18n'
|
|
3
|
+
import { p13n } from '@operato/personalization'
|
|
3
4
|
|
|
4
5
|
import { MetaMainTabMixin } from './../mixin/meta-main-tab-mixin'
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* @description Meta API로 엘리먼트 생성 테스트 용
|
|
8
9
|
*/
|
|
9
|
-
export class MetaMainTabElement extends MetaMainTabMixin(localize(i18next)(LitElement)) {
|
|
10
|
-
}
|
|
10
|
+
export class MetaMainTabElement extends MetaMainTabMixin(p13n(localize(i18next)(LitElement))) {}
|
|
11
11
|
|
|
12
12
|
customElements.define('meta-main-tab-element', MetaMainTabElement)
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { i18next, localize } from '@operato/i18n'
|
|
2
|
+
import { p13n } from '@operato/personalization'
|
|
2
3
|
import { PageView } from '@things-factory/shell'
|
|
3
4
|
|
|
4
5
|
import { MetaMainTabMixin } from './../mixin/meta-main-tab-mixin'
|
|
@@ -10,6 +11,6 @@ import './meta-tab-element'
|
|
|
10
11
|
/**
|
|
11
12
|
* @description Meta API로 페이지 생성 테스트 용
|
|
12
13
|
*/
|
|
13
|
-
export class MetaMainTabPage extends MetaMainTabMixin(localize(i18next)(PageView)) {}
|
|
14
|
+
export class MetaMainTabPage extends MetaMainTabMixin(p13n(localize(i18next)(PageView))) {}
|
|
14
15
|
|
|
15
16
|
customElements.define('meta-main-tab-page', MetaMainTabPage)
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { LitElement } from 'lit'
|
|
2
2
|
import { i18next, localize } from '@operato/i18n'
|
|
3
|
+
import { p13n } from '@operato/personalization'
|
|
3
4
|
|
|
4
5
|
import { MetaMasterDetailMixin } from './../mixin/meta-master-detail-mixin'
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* @description Meta API로 엘리먼트 생성 테스트 용
|
|
8
9
|
*/
|
|
9
|
-
export class MetaMasterDetailElement extends MetaMasterDetailMixin(localize(i18next)(LitElement)) {
|
|
10
|
-
}
|
|
10
|
+
export class MetaMasterDetailElement extends MetaMasterDetailMixin(p13n(localize(i18next)(LitElement))) {}
|
|
11
11
|
|
|
12
12
|
customElements.define('meta-master-detail-element', MetaMasterDetailElement)
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { i18next, localize } from '@operato/i18n'
|
|
2
|
+
import { p13n } from '@operato/personalization'
|
|
2
3
|
import { PageView } from '@things-factory/shell'
|
|
3
4
|
|
|
4
5
|
import { MetaMasterDetailMixin } from './../mixin/meta-master-detail-mixin'
|
|
@@ -10,6 +11,6 @@ import './meta-tab-element'
|
|
|
10
11
|
/**
|
|
11
12
|
* @description Meta API로 페이지 생성 테스트 용
|
|
12
13
|
*/
|
|
13
|
-
export class MetaMasterDetailPage extends MetaMasterDetailMixin(localize(i18next)(PageView)) {}
|
|
14
|
+
export class MetaMasterDetailPage extends MetaMasterDetailMixin(p13n(localize(i18next)(PageView))) {}
|
|
14
15
|
|
|
15
16
|
customElements.define('meta-master-detail-page', MetaMasterDetailPage)
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { LitElement } from 'lit'
|
|
2
2
|
import { i18next, localize } from '@operato/i18n'
|
|
3
|
+
import { p13n } from '@operato/personalization'
|
|
3
4
|
|
|
4
5
|
import { MetaTabDetailMixin } from './../mixin/meta-tab-detail-mixin'
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* @description Meta API로 엘리먼트 생성 테스트 용
|
|
8
9
|
*/
|
|
9
|
-
export class MetaTabDetailElement extends MetaTabDetailMixin(localize(i18next)(LitElement)) {
|
|
10
|
-
}
|
|
10
|
+
export class MetaTabDetailElement extends MetaTabDetailMixin(p13n(localize(i18next)(LitElement))) {}
|
|
11
11
|
|
|
12
12
|
customElements.define('meta-tab-detail-element', MetaTabDetailElement)
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { i18next, localize } from '@operato/i18n'
|
|
2
|
+
import { p13n } from '@operato/personalization'
|
|
2
3
|
import { PageView } from '@things-factory/shell'
|
|
3
4
|
|
|
4
5
|
import { MetaTabDetailMixin } from './../mixin/meta-tab-detail-mixin'
|
|
@@ -10,6 +11,6 @@ import './meta-tab-element'
|
|
|
10
11
|
/**
|
|
11
12
|
* @description Meta API로 페이지 생성 테스트 용
|
|
12
13
|
*/
|
|
13
|
-
export class MetaTabDetailPage extends MetaTabDetailMixin(localize(i18next)(PageView)) {}
|
|
14
|
+
export class MetaTabDetailPage extends MetaTabDetailMixin(p13n(localize(i18next)(PageView))) {}
|
|
14
15
|
|
|
15
16
|
customElements.define('meta-tab-detail-page', MetaTabDetailPage)
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { i18next, localize } from '@operato/i18n'
|
|
2
|
+
import { p13n } from '@operato/personalization'
|
|
2
3
|
import { LitElement } from 'lit'
|
|
3
4
|
|
|
4
5
|
import { MetaTabMixin } from './../mixin/meta-tab-mixin'
|
|
@@ -9,7 +10,6 @@ import './meta-form-element'
|
|
|
9
10
|
/**
|
|
10
11
|
* @description Meta API로 페이지 생성 테스트 용
|
|
11
12
|
*/
|
|
12
|
-
export class MetaTabElement extends MetaTabMixin(localize(i18next)(LitElement)) {
|
|
13
|
-
}
|
|
13
|
+
export class MetaTabElement extends MetaTabMixin(p13n(localize(i18next)(LitElement))) {}
|
|
14
14
|
|
|
15
15
|
customElements.define('meta-tab-element', MetaTabElement)
|
|
@@ -4,14 +4,13 @@ import { html } from 'lit'
|
|
|
4
4
|
|
|
5
5
|
import { PageView } from '@operato/shell'
|
|
6
6
|
import { i18next, localize } from '@operato/i18n'
|
|
7
|
+
import { p13n } from '@operato/personalization'
|
|
7
8
|
import { CommonButtonStyles } from '@operato/styles'
|
|
8
9
|
|
|
9
|
-
import { PagePreferenceProviderImpl } from '@things-factory/personalization/dist-client/page-preference-provider-impl.js'
|
|
10
|
-
|
|
11
10
|
import { TermsUtil } from './../../utils/terms-util'
|
|
12
11
|
import { MetaApi } from '../../utils/meta-api'
|
|
13
12
|
|
|
14
|
-
class ConfigTerminology extends localize(i18next)(PageView) {
|
|
13
|
+
class ConfigTerminology extends p13n(localize(i18next)(PageView)) {
|
|
15
14
|
static get properties() {
|
|
16
15
|
return {
|
|
17
16
|
gristId: String,
|
|
@@ -110,28 +109,6 @@ class ConfigTerminology extends localize(i18next)(PageView) {
|
|
|
110
109
|
await MetaApi.deleteListByGristSelected(this.grist, 'deleteTerminologies')
|
|
111
110
|
}
|
|
112
111
|
|
|
113
|
-
/**
|
|
114
|
-
* @description PagePreference를 제공한다.(없다면 생성한다.)
|
|
115
|
-
***********************
|
|
116
|
-
* @param {String} preference 대상 엘리먼트 아이디
|
|
117
|
-
* @returns {PagePreference}
|
|
118
|
-
*/
|
|
119
|
-
getPagePreferenceProvider(element) {
|
|
120
|
-
if (!element || !this.lifecycle?.page) {
|
|
121
|
-
return
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
if (!this.preferenceProviders) {
|
|
125
|
-
this.preferenceProviders = {}
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
if (!this.preferenceProviders[element]) {
|
|
129
|
-
this.preferenceProviders[element] = new PagePreferenceProviderImpl(this.lifecycle.page, element)
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
return this.preferenceProviders[element]
|
|
133
|
-
}
|
|
134
|
-
|
|
135
112
|
async pageInitialized(lifecycle) {
|
|
136
113
|
let locales = await MetaApi.getCodeSelectorData('LOCALE')
|
|
137
114
|
let termsCategories = await MetaApi.getCodeSelectorData('TERMS_CATEGORY')
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { i18next, localize } from '@operato/i18n'
|
|
2
|
+
import { p13n } from '@operato/personalization'
|
|
2
3
|
import { PageView } from '@things-factory/shell'
|
|
3
4
|
|
|
4
5
|
import { MetaBasicGristMixin } from './../../mixin/meta-basic-grist-mixin.js'
|
|
@@ -8,12 +9,12 @@ import './../meta-form-element'
|
|
|
8
9
|
import './../meta-tab-element'
|
|
9
10
|
import './work-code-detail-popup.js'
|
|
10
11
|
|
|
11
|
-
|
|
12
|
-
class WorkCodePage extends MetaBasicGristMixin(localize(i18next)(PageView)) {
|
|
12
|
+
class WorkCodePage extends MetaBasicGristMixin(p13n(localize(i18next)(PageView))) {
|
|
13
13
|
connectedCallback() {
|
|
14
|
-
this.defaultPageConfig =
|
|
14
|
+
this.defaultPageConfig =
|
|
15
|
+
'a085652b7c447f017a1025d83e68a48e88e578506066ee7a82e1d1e87557764fh1z0q9i9x7q6ec5582ef192c4038d38f006cab6ec4974385f925aa18bf6d48bea163625c0bace663b75fec97f08df0de0fca3708dab2033276812f753e9e9ae8f150263aaa29b7bdd18849c9f67f3280a65607950c7406a58b340a27354263c4fd5bdc2df18e96d71b51c094f5b4db7122ea67a74406h1z0q9i9x7q6933b02aa00249240f465e0da9bfa25aac4a357031bbd392d706d9d76ae061beb364491d2dae44517185d7f4ba9c86c9c66500349e471d5e502af08b8c1d581e472eafc6d165f1cbb9d7741d107c3244c2718fd6521f1eff487a67b1e418ba5a2238f3aeff035bb16d6938c2d866412e5h1z0q9i9x7q6bad84742f9ed79b99988b42571a898d20b91c84e8dd6648b042d90b6b6a660a7415bcf43e9393cd81bfa9d9c4eb85cd86147d3ec5e4b2a501c526172c0f12c904334bb4ce95d1013e9d9fad82112ffa9ddd053aa17eb7edf8a22c54aafd700b22b002aa8h1z0q9i9x7q6db3ed2d9bf93164d1db2a96063495abec3403ca867de0b43cf91777a68870b328bc46c06604f979a005e358e5005efcd03813a26e15be94128dd7a86ce8c25b06bc01105798422fe266a899a87a2462531c7833a7ff2298f2ff2579558d63b751216c9bbh1z0q9i9x7q6d50a2ac5d5f2892fc8fc1462f1542ba34021363fce846673e0b5d5348bd121ed606be6b5b8f678b670968eef71e4dbee9a68a16bc38231b74abc7393fd03130ff81f7d5b70d24d8ffc88b33cfae9ac220d439841e188186e413520e60e5c1208b4a268f8h1z0q9i9x7q6b5965379bce7698bd8f8ca3d40ff81d6c0a45c0a336388b8a50549e8b32dfae016a77eebf0f21caf2463d3640a01229c99e58e3aa8b16473a65131e9481ed83335bb263370b39402b6a369f9043f5605c3ed0c93c7a00c01b12be168805a4672bd5e191bh1z0q9i9x7q6f18e4f42f9b1578bd8b7f76b48ed82d058f2119172fa0e58fa85879fdb77a5dc03d3d9a5b7a5e8690cf8fa2ece803e45943c6db81563d3ac9910085ab634267d28120c2895e123e944be8ba9a6f5e802fec97af28a12897c9a19f342527ab62712fe68a8h1z0q9i9x7q604e47c7cbd4e66cb7f3c8eec651b0bc7fe2cd916181d995944d0225b7ce7fd9eae09831128621316ffd84f9af384cf7bb6b788bffa0a683aa27c3fc8052311b70e9e026699e1e78303540d00357729455bd5b06e21d42a194e38e19b38c733c738fc56577316251c425aabd4d84f6d32h1z0q9i9x7q6da3eec90f8f60cccd32f02c9fbbb4b0a978020f036a482940ab966ebdc8a88587f63951ce35d8bb0931bda822026d7d14a92d0880496fdce2506cd436fcdc7f1bab53cdde7001ee339cc448963e0d2fee0c4d4600d59a5691d77b2d471c3060387d81ef67eef27539ae9ea6769cf6182h1z0q9i9x7q6bb1eca6afb345df72c96de1f5cdddf174531d7c187948600c1837865eba7fd3b3bf1e56fa19fc588fe31d2d8fb5f000ea046842978f172c5f6cba0358e1096aa1278e9676fda0699d2cda80a971fab0f791cb6a95085f1cad149867f32c75964dac7c52a907e93bb8216a97e754f9e0fh1z0q9i9x7q6fd8e5842f9b150f58ab5e47e40d58bcb45c849d0c6829174ba85d6b65274925614552e2ebd61bdadd24c79505dcbf4584e2a6b58afe30de734996486e0163a9aca82488a1c7bd4feb6d633dc83c350b29e07dd77d9f0215383a56651baaa4dc42eb8858eh1z0q9i9x7q6ba35e9588568505df1aef565e8fbaa0c9ba9bd6460bc10fef9440cd59658b290b324d41dacb3955830df404d10a0e447522943266e7e51264aafec3e3bd3c20bf3d44d6e4d7bf9d442218b9a82cd7000f2906cbdb240962f5d3af9d53e77c49e5341edaah1z0q9i9x7q6ed2faa790f0951bc7fe891c8e348c9f0a54f5b05668358f2fa950a8abe03c0fa06405a68c7bcea2e142b696c7b30a08b9a2272c8212788b3c93933f25afec9ea6c5922630540a359915eeb64f5e4b5197004a082c84a459eb956a7b9ea91ade190a1895ch1z0q9i9x7q6bad8603cb8e468b2a5b7f76b48e59fdb98881243303299adb0036196ab4bbef21fb87ef5a8f21cf60b24e9660a19379b87dfb477e0a84a24f9091fbe5e5df66538b0392270b3941f8bed7cf54d0f101bfea152a9efed1019806c872cbc1a6935f5674f1fh1z0q9i9x7q6e092536cafea6ebb9f88b42559f898c70d9f6fdb37c2485ef5adc0c2d264b09d3adda9dbf4aae07a07c3b766eb910e02de1413fe5c4c92a99904085b8578406e450e7c56c3fa33e843b39e9fa5d9be6480d15d8cd54aac2e9d30a50c6136896a4cc04fd6h1z0q9i9x7q6f625209ca16af024830a8d55364f5cba8816ddd36c91f9b5fbd2f3f3a5549263594132f403fb18f9931328a96c68c2fdb8960e12161d82db7d227d8e4cfcb8404e80563780fa880dfe9b57545262f345a906b0a8f2b0bdb1765b33b94a307b5aada0226c622ba9d57af19a6fee292eb8h1z0q9i9x7q683f7328e93e22212ad2a1b73f707595f7e8f01fb280251d9e5dd1fde5e02230f9aa5f2486acdfcb68f063357ef296d9ee5b24aa5179220fdc382a33b172d3236eb971ecceea6764018b5581e3d1d66b17cf4eab94e8959b9b08a92c1ddb47fe1069c36b1bb5348c00d7d020e75171159h1z0q9i9x7q69285c0f303f9d6648cd989adc9235316d6437a90b6a7a50474fc4474e98de6b59d4e5028bdb1aacda66b1b9c788c5e6ca0d242b56189fd28254c615ba5f6e0d130bf986e1a2d1581056fbfbb19342fa6235c2d0492945fb0d3a4cb29fc661d846e5e1db600aa764a9e5b281fb2fa2c45h1z0q9i9x7q6ba91486cb2e56b8bd8f8ca3d48ee84d6a47742b42f6eef9455070216a5d4a44bfb508ae42fcf739e645d227b8aedde0dab26c3c0abf10c507bc79a7f8c13e5ce1c162c0d3fdc619044566afa50f2e90875a6998293a3dc919783a6e69fbc8f011974bfdeh1z0q9i9x7q6f4f922c9796e5de513fae972864921a1658143c9837709e6694f56b6b8c281284b075de7fca8e3e822cc09ef4a1f7f89684787ae2ff5891d000c7bbaa050ca17a1d1afee76000a21b15d773fa1d2d40a30219e918503e7b582b48f914002699f6fc3d6eeh1z0q9i9x7q6ec533ad9b3a2073b5c142f62a1d088467a27f2a9fae434b7ba3fda17af3dd5e4360784832bbca52504cb0f5cab6ad295c8a6e8ac1b2dbe519ed3bf23d86eaf8c4d1c7d5169f5c8994cc151737924482aa88cb53cb508d0f73edce4e0471dc1d92e4dfacfh1z0q9i9x7q6ba8e5978afd72efba6f6e17649fe85fe8bee025a5c6dc1af9c4453d5fc72c0a3408839f2b9dd5da83e76f86b0c030adbc7e6ca3dbfbd5c34ee7961a67110e0742ab1272e5ce5c71684dd2dbc3d71460fefaa6aeaa1de4013a83cd424ba2a387c8519081eh1z0q9i9x7q6f1965d7cb7ee50f5c0a0e46a48a6b18052ac3fc73fc4405ec7d3d89ed569af8b73add794f4a8ed7c1df0e725eb915801d90c3cb95c4c92bb88101341ad3b18331062723095fb23e10a8cc8a8a3cdae5dccb704ea915fb92d9d40db145c78836246f931ceh1z0q9i9x7q6b75f2d81409eb2dd31e18e77afa71c184abcb80e6c1fd31bce1203d178649aedac7f29ba06c07ebd3eb59dcd2d3cd6e90186ba7ac607c4037fa2fc4815f8227da2781445403811ad02a894a08878fe79c3d93c96c7dd764811ff84597d58c60abacae25d2477b4588c59cbffa4c2c849h1z0q9i9x7q6d1303d677630f318ed7c137c07dc9343be19ad2c439f1080be0b00eeea99c0285d215077b1cc0d233bbab24576b9899bf3c286a8a096202be859518b5b7d28f2c6de977d1ffe833ba2b61acadcec6d19737e76ab786e64a4bb2ac0579af5e0f00ace184897e53ba6744926b5e6735adah1z0q9i9x7q607e2500b3e135fed6df2ed7588debef4fa6feda69abe2b290391c99684c8f7f07650292176a3cf07b567bce49223ea664fd54eb4db9455c3d4d8bf4bcdb5ad3e152b4609ac6439159a1e3d3942050faf27eb268e62985d7350cfb1f80c0b0b4be8cb906f2eec0bb3763f2e17d16462c7h1z0q9i9x7q6fca34842f9a750f592b1f77b48f8b180c140d61844662ab65286b5955ec0d6308be05060b44ae9c67e97e03a77ec59db33d75dec47820f35ede6af5d750c2b2115fdc71b6cb2e3d585c521f26a96fc39140529119ec058fd1be018bbfaee792fad91d894h1z0q9i9x7q6f7d21782d86260ed6156409dc1a838c6f724d4cf59476f98fcefd12b4d3e98bcbcc8a9090ca0a7a07febfb9d578ac0c7b76c3facdcb64b168aed83443497c212e5945874c75c7905df1e50a8dfb97c44a07e32e34fd71e24535dd7e889fab4b41121a1fdh1z0q9i9x7q6ec716916edffabd72a48b432110243c7f9c273c3928cd57e4ba1a0704ee128cad5b7e0f39c0a354e6cb8b4da7d4d266368e91fe8d452f6ce0536394d0a580da5cbf61a4548139c43e4fd920f37fcf2bdbaac3cd6f3a9e5dc6bb25df6dac7c21790a84ca3h1z0q9i9x7q6c4c0527fb6ee50f5c088b47b48e688d6cc881243303299adb0036196ab4bbee31ba772f5808c1286756aed6006010adbd1e6ca31bfb05d25f97961e10149d83337b3382270b39425c8f26ee6040f105ac3ed42b1ebe73e42e6129f28bc05733385194126h1z0q9i9x7q6ba8e5d7cbee750f5c088b46c4cfc88fe03be109f02845f5efa838190e827e6b524add797f4abec414ba5c97ed4d21602df0f3da5414c92f2ac421343bc281b2b1a4c0c28dbd574e1578cc8bde6d2961acc8a4bb5ab1cef02da0fe6425873857751974fd6h1z0q9i9x7q667845abc903cbc11fcad07cc58fec56c4d576f452931361aca26869f9cfa51207bf788312329060fd030be8efb207701bb5a47d8fba4a637852d3766e95378db320f2c6b3010c1e937ac1d797997d66a09d59a53a90e3e4d12f9c84b4bd7c2717ef62355a600039856e82acca6513b25h1z0q9i9x7q6a601b1ff102f5f98aa3b11883ea8b439e786e20aa50edf21f32665ed44cb81cc2a8c6e534c3f7b1ba34170e85c6441f7'
|
|
15
16
|
|
|
16
|
-
if(super.connectedCallback){
|
|
17
|
+
if (super.connectedCallback) {
|
|
17
18
|
super.connectedCallback()
|
|
18
19
|
}
|
|
19
20
|
}
|
|
@@ -46,14 +46,6 @@ export function MetaBasicGristMixin(baseElement: any): {
|
|
|
46
46
|
*/
|
|
47
47
|
parseGristConfigs(): Promise<void>;
|
|
48
48
|
gristConfigSet: any;
|
|
49
|
-
/**
|
|
50
|
-
* @description PagePreference를 제공한다.(없다면 생성한다.)
|
|
51
|
-
***********************
|
|
52
|
-
* @param {String} preference 대상 엘리먼트 아이디
|
|
53
|
-
* @returns {PagePreference}
|
|
54
|
-
*/
|
|
55
|
-
getPagePreferenceProvider(element: any): PagePreference;
|
|
56
|
-
preferenceProviders: {} | undefined;
|
|
57
49
|
/********************************************************************
|
|
58
50
|
* C R U D Functions
|
|
59
51
|
********************************************************************/
|
|
@@ -76,16 +68,7 @@ export function MetaBasicGristMixin(baseElement: any): {
|
|
|
76
68
|
buttonConfig: any;
|
|
77
69
|
useButtonImport: boolean | undefined;
|
|
78
70
|
useButtonExport: boolean | undefined;
|
|
79
|
-
useButtonAdd: boolean | undefined;
|
|
80
|
-
* @description 그리스트 엘리먼트 ID
|
|
81
|
-
***************************
|
|
82
|
-
* @type {String}
|
|
83
|
-
*/
|
|
84
|
-
/**
|
|
85
|
-
* @description 스타일 정의
|
|
86
|
-
**************************
|
|
87
|
-
* @returns {Array} 스타일
|
|
88
|
-
*/
|
|
71
|
+
useButtonAdd: boolean | undefined;
|
|
89
72
|
parseBasicServiceConfigs(menuMeta: any): void;
|
|
90
73
|
gqlInfo: any;
|
|
91
74
|
fetchHandler({ page, limit, sortings, filters }: any): any;
|
|
@@ -96,10 +79,7 @@ export function MetaBasicGristMixin(baseElement: any): {
|
|
|
96
79
|
readonly isElement: boolean;
|
|
97
80
|
readonly isDetail: boolean;
|
|
98
81
|
dataChangeEventHandler(e: any): Promise<void>;
|
|
99
|
-
readonly isPopup: boolean;
|
|
100
|
-
* @descrtiption 그리스트 구성 정보 파싱 처리
|
|
101
|
-
***************************************
|
|
102
|
-
*/
|
|
82
|
+
readonly isPopup: boolean;
|
|
103
83
|
readonly isPage: boolean;
|
|
104
84
|
getAndParseMenuMeta(): any;
|
|
105
85
|
menuInfo: any;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import '@operato/data-grist';
|
|
2
2
|
import { html } from 'lit';
|
|
3
|
-
import { PagePreferenceProviderImpl } from '@things-factory/personalization/dist-client/page-preference-provider-impl.js';
|
|
4
3
|
import { MetaApi } from '../utils/meta-api';
|
|
5
4
|
import { MetaUiUtil } from '../utils/meta-ui-util';
|
|
6
5
|
import { ValueUtil } from '../utils/value-util';
|
|
@@ -198,25 +197,6 @@ export const MetaBasicGristMixin = baseElement => class extends MetaButtonMixin(
|
|
|
198
197
|
async parseGristConfigs() {
|
|
199
198
|
this.gristConfigSet = await MetaApi.parseGridConfigSet(this);
|
|
200
199
|
}
|
|
201
|
-
/**
|
|
202
|
-
* @description PagePreference를 제공한다.(없다면 생성한다.)
|
|
203
|
-
***********************
|
|
204
|
-
* @param {String} preference 대상 엘리먼트 아이디
|
|
205
|
-
* @returns {PagePreference}
|
|
206
|
-
*/
|
|
207
|
-
getPagePreferenceProvider(element) {
|
|
208
|
-
var _a;
|
|
209
|
-
if (!element || !((_a = this.lifecycle) === null || _a === void 0 ? void 0 : _a.page)) {
|
|
210
|
-
return;
|
|
211
|
-
}
|
|
212
|
-
if (!this.preferenceProviders) {
|
|
213
|
-
this.preferenceProviders = {};
|
|
214
|
-
}
|
|
215
|
-
if (!this.preferenceProviders[element]) {
|
|
216
|
-
this.preferenceProviders[element] = new PagePreferenceProviderImpl(this.lifecycle.page, element);
|
|
217
|
-
}
|
|
218
|
-
return this.preferenceProviders[element];
|
|
219
|
-
}
|
|
220
200
|
/********************************************************************
|
|
221
201
|
* C R U D Functions
|
|
222
202
|
********************************************************************/
|