@things-factory/meta-ui 7.0.1-alpha.30 → 7.0.1-alpha.31
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/component/popup/meta-object-selector-popup.js +3 -1
- package/client/pages/personalize/personal-column-selector.js +1 -0
- package/client/utils/meta-ui-util.js +11 -7
- package/dist-client/component/popup/meta-object-selector-popup.js +3 -1
- package/dist-client/component/popup/meta-object-selector-popup.js.map +1 -1
- package/dist-client/pages/personalize/personal-column-selector.js +1 -0
- package/dist-client/pages/personalize/personal-column-selector.js.map +1 -1
- package/dist-client/tsconfig.tsbuildinfo +1 -1
- package/dist-client/utils/meta-ui-util.js +10 -7
- package/dist-client/utils/meta-ui-util.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@material/web/icon/icon.js';
|
|
2
2
|
import moment from 'moment-timezone';
|
|
3
|
-
import { css, html } from 'lit';
|
|
3
|
+
import { css, html, render } from 'lit';
|
|
4
4
|
import { getEditor, getRenderer } from '@operato/data-grist';
|
|
5
5
|
import { getValueGenerators } from '@operato/time-calculator';
|
|
6
6
|
import { ScrollbarStyles, CommonGristStyles, CommonButtonStyles, ButtonContainerStyles } from '@operato/styles';
|
|
@@ -991,13 +991,16 @@ export class MetaUiUtil {
|
|
|
991
991
|
}
|
|
992
992
|
};
|
|
993
993
|
const { raised, outlined, dense, danger, icon } = btnStyle.emphasis;
|
|
994
|
-
|
|
995
|
-
<button ?dense=${dense} ?raised=${raised} ?outlined=${outlined} ?danger=${danger}
|
|
996
|
-
<md-icon>${icon || '
|
|
997
|
-
${
|
|
994
|
+
const template = html `
|
|
995
|
+
<button ?dense=${dense} ?raised=${raised} ?outlined=${outlined} ?danger=${danger}>
|
|
996
|
+
<md-icon>${icon || 'done'}</md-icon>
|
|
997
|
+
${buttonName}
|
|
998
998
|
</button>
|
|
999
999
|
`;
|
|
1000
|
-
|
|
1000
|
+
const container = document.createElement('div');
|
|
1001
|
+
render(template, container);
|
|
1002
|
+
const element = container.firstElementChild;
|
|
1003
|
+
return container.removeChild(element);
|
|
1001
1004
|
}
|
|
1002
1005
|
/**
|
|
1003
1006
|
* @description 버튼과 연결할 핸들러를 리턴
|
|
@@ -2865,7 +2868,7 @@ export class MetaUiUtil {
|
|
|
2865
2868
|
: html ``}
|
|
2866
2869
|
${MetaUiUtil.getGridViewOption(pageView)}
|
|
2867
2870
|
<ox-record-creator id="add" ?hidden="${!useFilterAddButton}" .callback=${recordCreationCallback}>
|
|
2868
|
-
<button>
|
|
2871
|
+
<button style="display: flex; justify-content: center">
|
|
2869
2872
|
<md-icon>add</md-icon>
|
|
2870
2873
|
</button>
|
|
2871
2874
|
</ox-record-creator>
|