@sankhyalabs/ezui 5.21.2 → 5.22.0-dev.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.
- package/dist/cjs/ICustomRender-6fafffce.js +13 -0
- package/dist/cjs/ez-actions-button.cjs.entry.js +1 -0
- package/dist/cjs/ez-chart.cjs.entry.js +435 -0
- package/dist/cjs/ez-collapsible-box.cjs.entry.js +1 -0
- package/dist/cjs/ez-combo-box.cjs.entry.js +1 -0
- package/dist/cjs/{ez-text-edit.cjs.entry.js → ez-custom-form-input_2.cjs.entry.js} +99 -0
- package/dist/cjs/ez-form-view.cjs.entry.js +34 -3
- package/dist/cjs/ez-form.cjs.entry.js +77 -2
- package/dist/cjs/ez-grid.cjs.entry.js +313 -39
- package/dist/cjs/ez-list.cjs.entry.js +10 -2
- package/dist/cjs/ez-number-input.cjs.entry.js +37 -31
- package/dist/cjs/ez-scroller_2.cjs.entry.js +222 -0
- package/dist/cjs/ez-search.cjs.entry.js +39 -32
- package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +92 -0
- package/dist/cjs/ez-split-item.cjs.entry.js +1 -0
- package/dist/cjs/{ez-scroller_3.cjs.entry.js → ez-tree.cjs.entry.js} +0 -215
- package/dist/cjs/ezui.cjs.js +1 -1
- package/dist/cjs/index-a7b0c73d.js +16 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/ez-chart/components/BarChart.js +27 -0
- package/dist/collection/components/ez-chart/components/ColumnChart.js +27 -0
- package/dist/collection/components/ez-chart/components/DonutChart.js +42 -0
- package/dist/collection/components/ez-chart/components/LineChart.js +27 -0
- package/dist/collection/components/ez-chart/components/PieChart.js +45 -0
- package/dist/collection/components/ez-chart/components/index.js +5 -0
- package/dist/collection/components/ez-chart/ez-chart.css +5 -0
- package/dist/collection/components/ez-chart/ez-chart.js +286 -0
- package/dist/collection/components/ez-chart/interfaces/ChartAxis.js +1 -0
- package/dist/collection/components/ez-chart/interfaces/ChartContext.js +14 -0
- package/dist/collection/components/ez-chart/interfaces/ChartOptions.js +1 -0
- package/dist/collection/components/ez-chart/interfaces/ChartSerie.js +1 -0
- package/dist/collection/components/ez-chart/interfaces/ChartStrategies.js +1 -0
- package/dist/collection/components/ez-chart/interfaces/ChartType.js +8 -0
- package/dist/collection/components/ez-chart/interfaces/index.js +5 -0
- package/dist/collection/components/ez-chart/test/mock-chart.js +137 -0
- package/dist/collection/components/ez-chart/types/BaseHighChartsRender.js +146 -0
- package/dist/collection/components/ez-form/ez-form.js +130 -4
- package/dist/collection/components/ez-form-view/custom-input/ez-custom-form-input.js +278 -0
- package/dist/collection/components/ez-form-view/ez-form-view.js +110 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js +3 -2
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +51 -22
- package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +6 -1
- package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js +35 -1
- package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.js +59 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellRender.js +40 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellEditorConstants.js +11 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellRenderConstants.js +11 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellEditor.js +10 -3
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellRender.js +40 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellRender.js +1 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/NumberInput.tpl.js +3 -2
- package/dist/collection/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.js +40 -0
- package/dist/collection/components/ez-grid/ez-grid.js +237 -12
- package/dist/collection/components/ez-grid/interfaces/ICustomFormatter.js +1 -0
- package/dist/collection/components/ez-grid/interfaces/index.js +1 -0
- package/dist/collection/components/ez-grid/test/resources/gridDataUnit.js +19 -0
- package/dist/collection/components/ez-list/ez-list.js +28 -2
- package/dist/collection/components/ez-number-input/ez-number-input.js +46 -31
- package/dist/collection/components/ez-search/ez-search.js +38 -32
- package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.css +6 -2
- package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.js +1 -1
- package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.css +180 -0
- package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.js +293 -0
- package/dist/collection/components/ez-sidebar-navigator/interfaces/ModeMenuEnum.js +5 -0
- package/dist/collection/components/ez-sidebar-navigator/interfaces/SizeMenuEnum.js +6 -0
- package/dist/collection/components/ez-sidebar-navigator/interfaces/TypeMenuEnum.js +6 -0
- package/dist/collection/components/ez-sidebar-navigator/interfaces/index.js +3 -0
- package/dist/collection/components/ez-sidebar-navigator/messages/constants.js +5 -0
- package/dist/collection/utils/customEditor/interfaces/ICustomEditor.js +5 -0
- package/dist/collection/utils/customEditor/interfaces/ICustomEditorInfo.js +1 -0
- package/dist/collection/utils/customRender/interfaces/ICustomRender.js +5 -0
- package/dist/collection/utils/customRender/interfaces/ICustomRenderInfo.js +1 -0
- package/dist/collection/utils/form/DataBinder.js +26 -0
- package/dist/collection/utils/form/test/DataBinder.test.js +41 -4
- package/dist/collection/utils/form/test/resources/metadataTest.js +15 -0
- package/dist/collection/utils/index.js +2 -0
- package/dist/custom-elements/index.d.ts +18 -0
- package/dist/custom-elements/index.js +1147 -117
- package/dist/esm/ICustomRender-875b5a40.js +13 -0
- package/dist/esm/ez-actions-button.entry.js +1 -0
- package/dist/esm/ez-chart.entry.js +431 -0
- package/dist/esm/ez-collapsible-box.entry.js +1 -0
- package/dist/esm/ez-combo-box.entry.js +1 -0
- package/dist/esm/{ez-text-edit.entry.js → ez-custom-form-input_2.entry.js} +101 -3
- package/dist/esm/ez-form-view.entry.js +34 -3
- package/dist/esm/ez-form.entry.js +78 -3
- package/dist/esm/ez-grid.entry.js +313 -39
- package/dist/esm/ez-list.entry.js +10 -2
- package/dist/esm/ez-number-input.entry.js +38 -32
- package/dist/esm/ez-scroller_2.entry.js +217 -0
- package/dist/esm/ez-search.entry.js +39 -32
- package/dist/esm/ez-sidebar-navigator.entry.js +88 -0
- package/dist/esm/ez-split-item.entry.js +1 -0
- package/dist/esm/{ez-scroller_3.entry.js → ez-tree.entry.js} +3 -216
- package/dist/esm/ezui.js +1 -1
- package/dist/esm/index-baa5e267.js +16 -4
- package/dist/esm/loader.js +1 -1
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/p-12ae1104.entry.js +1 -0
- package/dist/ezui/p-2097d0cf.entry.js +1 -0
- package/dist/ezui/p-3b4eeeb6.entry.js +1 -0
- package/dist/ezui/p-4607fb89.js +1 -0
- package/dist/ezui/p-4d5235f1.entry.js +1 -0
- package/dist/ezui/p-5056284a.entry.js +1 -0
- package/dist/ezui/p-5b205c80.entry.js +1 -0
- package/dist/ezui/p-7922142b.entry.js +1 -0
- package/dist/ezui/{p-fbee26ec.entry.js → p-816cece6.entry.js} +2 -2
- package/dist/ezui/p-84e439b9.entry.js +1 -0
- package/dist/ezui/p-8888d9ed.entry.js +1 -0
- package/dist/ezui/p-922ac38b.entry.js +1 -0
- package/dist/ezui/p-9ab22a07.entry.js +1 -0
- package/dist/ezui/p-a31b9c90.entry.js +1 -0
- package/dist/ezui/p-bcb53f27.entry.js +1 -0
- package/dist/ezui/p-ecc2c1ec.entry.js +1 -0
- package/dist/types/components/ez-chart/components/BarChart.d.ts +9 -0
- package/dist/types/components/ez-chart/components/ColumnChart.d.ts +9 -0
- package/dist/types/components/ez-chart/components/DonutChart.d.ts +9 -0
- package/dist/types/components/ez-chart/components/LineChart.d.ts +9 -0
- package/dist/types/components/ez-chart/components/PieChart.d.ts +9 -0
- package/dist/types/components/ez-chart/components/index.d.ts +5 -0
- package/dist/types/components/ez-chart/ez-chart.d.ts +58 -0
- package/dist/types/components/ez-chart/interfaces/ChartAxis.d.ts +7 -0
- package/dist/types/components/ez-chart/interfaces/ChartContext.d.ts +11 -0
- package/dist/types/components/ez-chart/interfaces/ChartOptions.d.ts +10 -0
- package/dist/types/components/ez-chart/interfaces/ChartSerie.d.ts +20 -0
- package/dist/types/components/ez-chart/interfaces/ChartStrategies.d.ts +7 -0
- package/dist/types/components/ez-chart/interfaces/ChartType.d.ts +7 -0
- package/dist/types/components/ez-chart/interfaces/index.d.ts +5 -0
- package/dist/types/components/ez-chart/types/BaseHighChartsRender.d.ts +15 -0
- package/dist/types/components/ez-form/ez-form.d.ts +20 -1
- package/dist/types/components/ez-form-view/custom-input/ez-custom-form-input.d.ts +48 -0
- package/dist/types/components/ez-form-view/ez-form-view.d.ts +16 -1
- package/dist/types/components/ez-grid/controller/EzGridController.d.ts +37 -0
- package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +13 -4
- package/dist/types/components/ez-grid/controller/ag-grid/DataSource.d.ts +1 -0
- package/dist/types/components/ez-grid/controller/ag-grid/GridEditionManager.d.ts +7 -1
- package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.d.ts +19 -0
- package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomCellRender.d.ts +14 -0
- package/dist/types/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellEditorConstants.d.ts +11 -0
- package/dist/types/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellRenderConstants.d.ts +11 -0
- package/dist/types/components/ez-grid/controller/ag-grid/editor/EzCellEditor.d.ts +6 -0
- package/dist/types/components/ez-grid/controller/ag-grid/editor/EzCellRender.d.ts +15 -0
- package/dist/types/components/ez-grid/controller/ag-grid/editor/IUICellRender.d.ts +10 -0
- package/dist/types/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.d.ts +6 -0
- package/dist/types/components/ez-grid/ez-grid.d.ts +35 -1
- package/dist/types/components/ez-grid/interfaces/ICustomFormatter.d.ts +5 -0
- package/dist/types/components/ez-grid/interfaces/index.d.ts +1 -0
- package/dist/types/components/ez-grid/test/resources/gridDataUnit.d.ts +2 -0
- package/dist/types/components/ez-list/ez-list.d.ts +5 -0
- package/dist/types/components/ez-number-input/ez-number-input.d.ts +3 -0
- package/dist/types/components/ez-search/ez-search.d.ts +4 -2
- package/dist/types/components/ez-sidebar-navigator/ez-sidebar-navigator.d.ts +57 -0
- package/dist/types/components/ez-sidebar-navigator/interfaces/ModeMenuEnum.d.ts +4 -0
- package/dist/types/components/ez-sidebar-navigator/interfaces/SizeMenuEnum.d.ts +5 -0
- package/dist/types/components/ez-sidebar-navigator/interfaces/TypeMenuEnum.d.ts +5 -0
- package/dist/types/components/ez-sidebar-navigator/interfaces/index.d.ts +3 -0
- package/dist/types/components/ez-sidebar-navigator/messages/constants.d.ts +5 -0
- package/dist/types/components.d.ts +334 -5
- package/dist/types/utils/customEditor/interfaces/ICustomEditor.d.ts +31 -0
- package/dist/types/utils/customEditor/interfaces/ICustomEditorInfo.d.ts +5 -0
- package/dist/types/utils/customRender/interfaces/ICustomRender.d.ts +29 -0
- package/dist/types/utils/customRender/interfaces/ICustomRenderInfo.d.ts +5 -0
- package/dist/types/utils/form/DataBinder.d.ts +3 -0
- package/dist/types/utils/form/test/resources/metadataTest.d.ts +2 -0
- package/dist/types/utils/index.d.ts +2 -0
- package/package.json +2 -1
- package/react/components.d.ts +3 -0
- package/react/components.js +3 -0
- package/react/components.js.map +1 -1
- package/dist/ezui/p-0447d17c.entry.js +0 -1
- package/dist/ezui/p-20ec22c0.entry.js +0 -1
- package/dist/ezui/p-2a1a0e04.entry.js +0 -1
- package/dist/ezui/p-637f69f2.entry.js +0 -1
- package/dist/ezui/p-786559c5.entry.js +0 -1
- package/dist/ezui/p-7c770f14.entry.js +0 -1
- package/dist/ezui/p-91f626d3.entry.js +0 -1
- package/dist/ezui/p-99ead599.entry.js +0 -1
- package/dist/ezui/p-b567fa8c.entry.js +0 -1
- package/dist/ezui/p-bae3d0aa.entry.js +0 -1
- package/dist/ezui/p-db77a984.entry.js +0 -1
|
@@ -7,6 +7,7 @@ const core = require('@sankhyalabs/core');
|
|
|
7
7
|
const ApplicationUtils = require('./ApplicationUtils-c9d1205c.js');
|
|
8
8
|
require('./DialogType-2114c337.js');
|
|
9
9
|
require('./CheckMode-ecb90b87.js');
|
|
10
|
+
require('./ICustomRender-6fafffce.js');
|
|
10
11
|
|
|
11
12
|
const ezCollapsibleBoxCss = ":host{--ez-collapsible-box--font-size:var(--title--medium, 14px);--ez-collapsible-box--font-family:var(--font-pattern, Arial);--ez-collapsible-box--font-weight:var(--text-weight--large, 600);--ez-collapsible-box--color:var(--title--primary);--ez-collapsible-box--subtitle--font-size:var(--text--medium, 14px);--ez-collapsible-box--subtitle--font-family:var(--font-pattern, 'Roboto');--ez-collapsible-box--subtitle--font-weight:var(--text-weight--medium, 400);--ez-collapsible-box--subtitle--color:var(--text--primary);--ez-collapsible-box--subtitle--margin-bottom:var(--space--medium, 12px);--ez-collapsible-box--focus--color:var(--color--primary-600);--ez-collapsible-box__icon--color:var(--ez-collapsible-box--color);--ez-collapsible-box__header--padding-top:0px;--ez-collapsible-box__header--padding-bottom:0px;--ez-collapsible-box__header--padding-right:0px;--ez-collapsible-box__header--padding-left:0px;display:flex;flex-wrap:wrap;width:100%}ez-icon{--ez-icon--color:inherit}.collapsible-box{display:flex;flex-direction:column;width:100%}.collapsable-box--bordered{border:var(--border--small);border-color:var(--color--strokes);border-radius:var(--border--radius-medium);padding:var(--space--xs)}.collapsible-box__header{display:flex;box-sizing:border-box;padding-top:var(--ez-collapsible-box__header--padding-top);padding-bottom:var(--ez-collapsible-box__header--padding-bottom);padding-right:var(--ez-collapsible-box__header--padding-right);padding-left:var(--ez-collapsible-box__header--padding-left)}.collapsible-box__title{position:relative;width:auto;display:flex;box-sizing:border-box;align-items:center;outline:none;border:none;background-color:unset;cursor:pointer;padding:0px;text-align:left;color:var(--ez-collapsible-box--color);--ez-icon--color:var(--ez-collapsible-box__icon--color);margin-bottom:var(--space--medium, 12px)}.collapsible-box__title:focus{color:var(--ez-collapsible-box--focus--color);--ez-icon--color:var(--ez-collapsible-box--focus--color)}.collapsible-box__label{display:flex;white-space:nowrap;overflow:hidden;cursor:pointer;text-overflow:ellipsis;box-sizing:border-box;margin-left:6px;gap:6px;font-family:var(--ez-collapsible-box--font-family);font-size:var(--ez-collapsible-box--font-size);font-weight:var(--ez-collapsible-box--font-weight)}.subtitle-box__label{display:flex;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box;font-family:var(--ez-collapsible-box--subtitle--font-family);font-size:var(--ez-collapsible-box--subtitle--font-size);font-weight:var(--ez-collapsible-box--subtitle--font-weight);color:var(--ez-collapsible-box--subtitle--color);margin-bottom:var(--ez-collapsible-box--subtitle--margin-bottom)}.subtitle-box__content{width:100%}.collapsible-box__label ez-icon{visibility:hidden;transition:2s all ease-in-out}.collapsible-box__label:hover ez-icon{visibility:visible}.collapsible-box__text-edit{margin-left:6px}.collapsible-box__icon{transform:rotate(90deg) translate(0px, 14%);transition:transform var(--transition)}.collapsible-box__icon--collapsed{transform:rotate(0deg) translate(-14%, 0px)}.collapsible-box__title--icon-right{flex-direction:row-reverse}.collapsible-box__title--icon-right .collapsible-box__icon{transform:rotate(90deg) translate(0px, -14%)}.collapsible-box__title--icon-right .collapsible-box__icon--collapsed{transform:rotate(0deg) translate(14%, 0px)}.collapsible-box__title--icon-right .collapsible-box__label{margin-left:0px;margin-right:6px}.collapsible-box__title--left{margin-right:auto}.collapsible-box__title--right{margin-left:auto}.collapsible-box__title--center{margin-left:auto;margin-right:auto}.collapsible-box__title--stretch{justify-content:space-between;width:100%}.collapsible-box__title--no-margin{margin-bottom:0}.collapsible-box__content{display:flex;flex-wrap:wrap;width:100%;height:0px;max-height:0px;opacity:0;overflow:hidden;transition:all var(--transition, 0.5s)}.collapsible-box__content--show{height:100%;max-height:none;opacity:1;overflow:visible;transition:all var(--transition, 0.5s)}.font--x-small{font-size:10px}.font--small{font-size:12px}.font--medium{font-size:14px}.font--large{font-size:16px}.font--x-large{font-size:20px}";
|
|
12
13
|
|
|
@@ -8,6 +8,7 @@ require('./ApplicationUtils-c9d1205c.js');
|
|
|
8
8
|
const CSSVarsUtils = require('./CSSVarsUtils-10c9d5b4.js');
|
|
9
9
|
require('./DialogType-2114c337.js');
|
|
10
10
|
require('./CheckMode-ecb90b87.js');
|
|
11
|
+
require('./ICustomRender-6fafffce.js');
|
|
11
12
|
|
|
12
13
|
const ezComboBoxCss = ":host{--ez-combo-box--height:42px;--ez-combo-box--width:100%;--ez-combo-box__icon--width:48px;--ez-combo-box--border-radius:var(--border--radius-medium, 12px);--ez-combo-box--border-radius-small:var(--border--radius-small, 6px);--ez-combo-box--font-size:var(--text--medium, 14px);--ez-combo-box--font-family:var(--font-pattern, Arial);--ez-combo-box--font-weight--large:var(--text-weight--large, 500);--ez-combo-box--font-weight--medium:var(--text-weight--medium, 400);--ez-combo-box--background-color--xlight:var(--background--xlight, #fff);--ez-combo-box--background-medium:var(--background--medium, #f0f3f7);--ez-combo-box--line-height:calc(var(--text--medium, 14px) + 4px);--ez-combo-box__input--background-color:var(--background--medium, #e0e0e0);--ez-combo-box__input--border:var(--border--medium, 2px solid);--ez-combo-box__input--border-color:var(--ez-combo-box__input--background-color);--ez-combo-box__input--focus--border-color:var(--color--primary, #008561);--ez-combo-box__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--ez-combo-box__input--disabled--color:var(--text--disable, #AFB6C0);--ez-combo-box__input--error--border-color:#CC2936;--ez-combo-box__btn--color:var(--title--primary, #2B3A54);--ez-combo-box__btn-disabled--color:var(--text--disable, #AFB6C0);--ez-combo-box__btn-hover--color:var(--color--primary, #4e4e4e);--ez-combo-box__label--color:var(--title--primary, #2B3A54);--ez-combo-box__list-title--primary:var(--title--primary, #2B3A54);--ez-combo-box__list-text--primary:var(--text--primary, #626e82);--ez-combo-box__list-height:calc(var(--ez-combo-box--font-size) + var(--ez-combo-box--space--medium) + 4px);--ez-combo-box__list-min-width:64px;--ez-combo-box--space--medium:var(--space--medium, 12px);--ez-combo-box--space--small:var(--space--small, 6px);--ez-combo-box__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-combo-box__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-combo-box__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-combo-box__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-combo-box__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-combo-box__scrollbar--width:var(--space--medium, 12px);display:flex;flex-wrap:wrap;position:relative;width:var(--ez-combo-box--width)}ez-icon{--ez-icon--color:inherit;font-weight:var(--text-weight--large, 600)}.suppressed-search-input{--ez-text-input__input--border-color:var(--color--strokes, #dce0e8);--ez-text-input__input--disabled--background-color:var(--background--xlight, #fff);--ez-text-input__input--disabled--color:var(--title--primary, #2B3A54)}.list-container{min-width:var(--ez-combo-box__list-min-width);position:relative;width:100%}.list-wrapper{display:flex;flex-direction:column;box-sizing:border-box;width:0;z-index:var(--more-visible, 2);max-height:calc(4*var(--ez-combo-box__list-height) + 2*var(--ez-combo-box--space--small) + 9px);background-color:var(--ez-combo-box--background-color--xlight);border-radius:var(--ez-combo-box--border-radius);box-shadow:var(--shadow, 0px 0px 16px 0px #000);padding:var(--ez-combo-box--space--small)}.list-options{box-sizing:border-box;width:100%;height:100%;padding:0;display:flex;flex-direction:column;scroll-behavior:smooth;overflow:auto;scrollbar-width:thin;gap:3px;scrollbar-color:var(--ez-combo-box__scrollbar--color-clicked) var(--ez-combo-box__scrollbar--color-background)}.list-options::-webkit-scrollbar{background-color:var(--ez-combo-box__scrollbar--color-background);width:var(--ez-combo-box__scrollbar--width);max-width:var(--ez-combo-box__scrollbar--width);min-width:var(--ez-combo-box__scrollbar--width)}.list-options::-webkit-scrollbar-track{background-color:var(--ez-combo-box__scrollbar--color-background);border-radius:var(--ez-combo-box__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb{background-color:var(--ez-combo-box__scrollbar--color-default);border-radius:var(--ez-combo-box__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb:vertical:hover,.list-options::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-combo-box__scrollbar--color-hover)}.list-options::-webkit-scrollbar-thumb:vertical:active,.list-options::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-combo-box__scrollbar--color-clicked)}.item{display:flex;align-items:center;width:100%;box-sizing:border-box;list-style-type:none;cursor:pointer;border-radius:var(--ez-combo-box--border-radius-small);padding:var(--ez-combo-box--space--small);min-height:var(--ez-combo-box__list-height);gap:var(--space--small, 6px)}.item__value,.item__label{flex-basis:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ez-combo-box__list-title--primary);font-family:var(--ez-combo-box--font-family);font-size:var(--ez-combo-box--font-size);line-height:var(--ez-combo-box--line-height)}.item__label{font-weight:var(--ez-combo-box--font-weight--medium)}.item__label--bold{font-weight:var(--ez-combo-box--font-weight--large)}.item__value{text-align:center;color:var(--ez-combo-box__list-text--primary);font-weight:var(--ez-combo-box--font-weight--large)}.item__value--hidden{visibility:hidden;position:absolute;white-space:nowrap;z-index:-1;top:0;left:0}.item__label{text-align:left}.message{text-align:center;display:flex;justify-content:center;align-items:center;list-style-type:none;min-height:var(--ez-combo-box__list-height)}.message__no-result{color:var(--ez-combo-box__list-title--primary);font-family:var(--ez-combo-box--font-family);font-size:var(--ez-combo-box--font-size)}.message__loading{border-radius:50%;width:14px;height:14px;-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite;border:3px solid var(--ez-combo-box__list-title--primary);border-top:3px solid transparent}li:hover{background-color:var(--ez-combo-box--background-medium)}.preselected{background-color:var(--background--medium)}.btn{outline:none;border:none;background:none;cursor:pointer;color:var(--ez-combo-box__btn--color)}.btn:disabled{cursor:unset;color:var(--ez-combo-box__btn-disabled--color)}.btn:disabled:hover{cursor:unset;color:var(--ez-combo-box__btn-disabled--color)}.btn:hover{color:var(--ez-combo-box__btn-hover--color)}.btn__close{visibility:hidden}ez-text-input:hover .btn__close,ez-text-input:focus .btn__close{visibility:visible}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}";
|
|
13
14
|
|
|
@@ -3,11 +3,109 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a7b0c73d.js');
|
|
6
|
+
const ICustomRender = require('./ICustomRender-6fafffce.js');
|
|
6
7
|
const core = require('@sankhyalabs/core');
|
|
7
8
|
const ApplicationUtils = require('./ApplicationUtils-c9d1205c.js');
|
|
8
9
|
require('./DialogType-2114c337.js');
|
|
9
10
|
require('./CheckMode-ecb90b87.js');
|
|
10
11
|
|
|
12
|
+
const EzCustomFormInput = class {
|
|
13
|
+
constructor(hostRef) {
|
|
14
|
+
index.registerInstance(this, hostRef);
|
|
15
|
+
this.gui = undefined;
|
|
16
|
+
this.customEditor = undefined;
|
|
17
|
+
this.formViewField = undefined;
|
|
18
|
+
this.value = undefined;
|
|
19
|
+
this.detailContext = undefined;
|
|
20
|
+
this.builderFallback = undefined;
|
|
21
|
+
this.selectedRecord = undefined;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Aplica foco no campo.
|
|
25
|
+
*/
|
|
26
|
+
async setFocus() {
|
|
27
|
+
var _a, _b;
|
|
28
|
+
(_b = (_a = this.gui) === null || _a === void 0 ? void 0 : _a["setFocus"]) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Remove o foco do campo.
|
|
32
|
+
*/
|
|
33
|
+
async setBlur() {
|
|
34
|
+
var _a, _b;
|
|
35
|
+
(_b = (_a = this.gui) === null || _a === void 0 ? void 0 : _a["setBlur"]) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Retorna se o conteúdo é inválido.
|
|
39
|
+
*/
|
|
40
|
+
async isInvalid() {
|
|
41
|
+
var _a, _b;
|
|
42
|
+
return ((_b = (_a = this.gui) === null || _a === void 0 ? void 0 : _a["isInvalid"]) === null || _b === void 0 ? void 0 : _b.call(_a)) || false;
|
|
43
|
+
}
|
|
44
|
+
getContent() {
|
|
45
|
+
var _a, _b;
|
|
46
|
+
const fieldProps = new Map();
|
|
47
|
+
for (const prop in this.formViewField.props) {
|
|
48
|
+
fieldProps.set(prop, this.formViewField.props[prop]);
|
|
49
|
+
}
|
|
50
|
+
const params = {
|
|
51
|
+
value: this.value,
|
|
52
|
+
name: this.formViewField.name,
|
|
53
|
+
currentEditor: this.builderFallback(this.formViewField),
|
|
54
|
+
setValue: (value) => this.setValue(value),
|
|
55
|
+
getValue: this.getValue,
|
|
56
|
+
record: this.selectedRecord,
|
|
57
|
+
editorMetadata: {
|
|
58
|
+
label: this.formViewField.label,
|
|
59
|
+
hidden: ((_a = this.formViewField.props) === null || _a === void 0 ? void 0 : _a.visible) === false,
|
|
60
|
+
userInterface: this.formViewField.userInterface,
|
|
61
|
+
options: (_b = this.formViewField.props) === null || _b === void 0 ? void 0 : _b.options,
|
|
62
|
+
props: this.formViewField.props ? fieldProps : undefined,
|
|
63
|
+
optionLoader: this.formViewField.optionLoader
|
|
64
|
+
},
|
|
65
|
+
source: ICustomRender.CustomEditorSource.FORM,
|
|
66
|
+
detailContext: this.detailContext
|
|
67
|
+
};
|
|
68
|
+
let gui = this.customEditor.getEditorElement(params);
|
|
69
|
+
if (!gui) {
|
|
70
|
+
gui = this.builderFallback(this.formViewField);
|
|
71
|
+
this.handleValue(gui);
|
|
72
|
+
this.gui = gui;
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
if (!(gui instanceof HTMLElement) && typeof gui !== 'string') {
|
|
76
|
+
this.handleValue(gui);
|
|
77
|
+
this.gui = gui;
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
if (typeof gui === 'string') {
|
|
81
|
+
gui = core.HTMLBuilder.parseElement(gui);
|
|
82
|
+
}
|
|
83
|
+
if (this.value) {
|
|
84
|
+
gui.setAttribute('value', typeof this.value === 'object' ? this.value.value : this.value);
|
|
85
|
+
}
|
|
86
|
+
this.gui = index.h("div", { key: core.StringUtils.generateUUID(), ref: el => el && el.appendChild(gui) });
|
|
87
|
+
}
|
|
88
|
+
setValue(value) {
|
|
89
|
+
this.value = value;
|
|
90
|
+
}
|
|
91
|
+
getValue() {
|
|
92
|
+
return this.value;
|
|
93
|
+
}
|
|
94
|
+
handleValue(gui) {
|
|
95
|
+
var _a;
|
|
96
|
+
//@ts-ignore
|
|
97
|
+
(_a = gui.$children$) === null || _a === void 0 ? void 0 : _a.forEach((child) => {
|
|
98
|
+
child.$attrs$.value = this.value;
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
componentWillRender() {
|
|
102
|
+
this.getContent();
|
|
103
|
+
}
|
|
104
|
+
render() {
|
|
105
|
+
return (index.h(index.Host, null, this.gui));
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
|
|
11
109
|
const ezTextEditCss = ":host{display:flex;align-items:center;gap:5px}.text-edit__form-input{width:auto;--ez-text-input__input--padding:0px}.text-edit__hidden-value{visibility:hidden;position:absolute;white-space:nowrap;z-index:-1;top:0;left:0}";
|
|
12
110
|
|
|
13
111
|
const EzTextEdit = class {
|
|
@@ -104,4 +202,5 @@ const EzTextEdit = class {
|
|
|
104
202
|
};
|
|
105
203
|
EzTextEdit.style = ezTextEditCss;
|
|
106
204
|
|
|
205
|
+
exports.ez_custom_form_input = EzCustomFormInput;
|
|
107
206
|
exports.ez_text_edit = EzTextEdit;
|
|
@@ -59,8 +59,9 @@ const buildFile = ({ name, label, readOnly, contextName, props }) => {
|
|
|
59
59
|
};
|
|
60
60
|
|
|
61
61
|
const buildDecimal = ({ name, label, readOnly, props, contextName, canShowError }) => {
|
|
62
|
-
|
|
63
|
-
const
|
|
62
|
+
var _a, _b;
|
|
63
|
+
const precision = Number((_a = props === null || props === void 0 ? void 0 : props.precision) !== null && _a !== void 0 ? _a : 2);
|
|
64
|
+
const prettyPrecision = Number((_b = props === null || props === void 0 ? void 0 : props.prettyPrecision) !== null && _b !== void 0 ? _b : precision);
|
|
64
65
|
return buildNumeric(name, label, readOnly, precision, prettyPrecision, contextName, canShowError);
|
|
65
66
|
};
|
|
66
67
|
const buildInteger = ({ name, label, readOnly, contextName, canShowError }) => {
|
|
@@ -149,11 +150,34 @@ const EzFormView = class {
|
|
|
149
150
|
index.registerInstance(this, hostRef);
|
|
150
151
|
this.ezContentReady = index.createEvent(this, "ezContentReady", 7);
|
|
151
152
|
this.formItemsReady = index.createEvent(this, "formItemsReady", 7);
|
|
153
|
+
this._customEditors = new Map();
|
|
152
154
|
this.fields = undefined;
|
|
155
|
+
this.selectedRecord = undefined;
|
|
153
156
|
}
|
|
154
157
|
async showUp() {
|
|
155
158
|
this._element.scrollIntoView({ behavior: "smooth", block: "start" });
|
|
156
159
|
}
|
|
160
|
+
/**
|
|
161
|
+
* Registra um editor customizado para campos da grade e formulário.
|
|
162
|
+
*/
|
|
163
|
+
async addCustomEditor(fieldName, customEditor, detailContext) {
|
|
164
|
+
const newCustomEditors = new Map(this._customEditors);
|
|
165
|
+
newCustomEditors.set(fieldName, { customEditor, detailContext });
|
|
166
|
+
this._customEditors = newCustomEditors;
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* Altera/adiciona uma propriedade nos metados do campo.
|
|
170
|
+
*/
|
|
171
|
+
async setFieldProp(fieldName, propName, value) {
|
|
172
|
+
const fields = this.fields.map(field => {
|
|
173
|
+
if (field.name === fieldName && (value || value === 0)) {
|
|
174
|
+
field.props = field.props || {};
|
|
175
|
+
field.props[propName] = value;
|
|
176
|
+
}
|
|
177
|
+
return field;
|
|
178
|
+
});
|
|
179
|
+
this.fields = [...fields];
|
|
180
|
+
}
|
|
157
181
|
groupFields(fields) {
|
|
158
182
|
const result = new Map();
|
|
159
183
|
fields.forEach(item => {
|
|
@@ -173,7 +197,8 @@ const EzFormView = class {
|
|
|
173
197
|
return result;
|
|
174
198
|
}
|
|
175
199
|
componentDidRender() {
|
|
176
|
-
this.
|
|
200
|
+
this._formElements = Array.from(this._element.querySelectorAll("[data-field-name]"));
|
|
201
|
+
this.ezContentReady.emit(this._formElements);
|
|
177
202
|
const formItems = new FormItems(Array.from(this._element.querySelectorAll("[data-form-item]")));
|
|
178
203
|
this.formItemsReady.emit(formItems);
|
|
179
204
|
}
|
|
@@ -184,9 +209,15 @@ const EzFormView = class {
|
|
|
184
209
|
].includes(userInterface);
|
|
185
210
|
}
|
|
186
211
|
buildFormItemElement(item, classItem = "") {
|
|
212
|
+
var _a;
|
|
187
213
|
if (this.isItemFullWidth(item.userInterface)) {
|
|
188
214
|
classItem += " input-full_width";
|
|
189
215
|
}
|
|
216
|
+
if (this._customEditors.has(item.name)) {
|
|
217
|
+
const value = (_a = this._formElements.map(el => ({ name: el.dataset.fieldName, value: el['value'] })).find(field => field.name === item.name)) === null || _a === void 0 ? void 0 : _a.value;
|
|
218
|
+
const customEditor = this._customEditors.get(item.name).customEditor;
|
|
219
|
+
return index.h("div", { class: classItem }, index.h("ez-custom-form-input", { "data-field-name": item.name, customEditor: customEditor, formViewField: item, builderFallback: fieldBuilder, value: value, selectedRecord: this.selectedRecord }));
|
|
220
|
+
}
|
|
190
221
|
return index.h("div", { class: classItem }, fieldBuilder(item));
|
|
191
222
|
}
|
|
192
223
|
render() {
|
|
@@ -218,6 +218,13 @@ class DataBinder {
|
|
|
218
218
|
this.applyDefaultValues();
|
|
219
219
|
this._dataUnit.subscribe(this.onDataUnitEvent);
|
|
220
220
|
this._dataUnit.addInterceptor(this);
|
|
221
|
+
this.setContextDataBinder(dataUnit);
|
|
222
|
+
}
|
|
223
|
+
setContextDataBinder(dataUnit) {
|
|
224
|
+
const dataBindersByDataUnit = core.ApplicationContext.getContextValue("__DATABINDER_BY_DATAUNIT__") || new Map();
|
|
225
|
+
const dataBinders = [...(dataBindersByDataUnit.get(dataUnit.dataUnitId) || []), this];
|
|
226
|
+
dataBindersByDataUnit.set(dataUnit.dataUnitId, dataBinders);
|
|
227
|
+
core.ApplicationContext.setContextValue("__DATABINDER_BY_DATAUNIT__", dataBindersByDataUnit);
|
|
221
228
|
}
|
|
222
229
|
applyDefaultValues() {
|
|
223
230
|
const recordIds = (this._dataUnit.getAddedRecords() || []).map(r => r.__record__id__);
|
|
@@ -244,9 +251,17 @@ class DataBinder {
|
|
|
244
251
|
getMessageForField: field => this.getErrorMessage(field)
|
|
245
252
|
}, recordsValidator);
|
|
246
253
|
}
|
|
254
|
+
disconnectDataUnit() {
|
|
255
|
+
const dataBindersByDataUnit = core.ApplicationContext.getContextValue("__DATABINDER_BY_DATAUNIT__") || new Map();
|
|
256
|
+
const dataBinders = dataBindersByDataUnit.get(this._dataUnit.dataUnitId);
|
|
257
|
+
const dataBindersFiltered = dataBinders.filter((dataBinder) => JSON.stringify(dataBinder) !== JSON.stringify(this));
|
|
258
|
+
dataBindersByDataUnit.set(this._dataUnit.dataUnitId, dataBindersFiltered);
|
|
259
|
+
core.ApplicationContext.setContextValue("__DATABINDER_BY_DATAUNIT__", dataBindersByDataUnit);
|
|
260
|
+
}
|
|
247
261
|
onDisconnectedCallback() {
|
|
248
262
|
this._dataUnit.unsubscribe(this.onDataUnitEvent);
|
|
249
263
|
this._dataUnit.removeInterceptor(this);
|
|
264
|
+
this.disconnectDataUnit();
|
|
250
265
|
}
|
|
251
266
|
getCurrentRecordId() {
|
|
252
267
|
const record = this._dataUnit.getSelectedRecord();
|
|
@@ -293,6 +308,17 @@ class DataBinder {
|
|
|
293
308
|
validate() {
|
|
294
309
|
return this._recordValidatorProcessor.validate();
|
|
295
310
|
}
|
|
311
|
+
static async validateByDataunit(dataUnit) {
|
|
312
|
+
try {
|
|
313
|
+
const dataBindersByDataUnit = core.ApplicationContext.getContextValue("__DATABINDER_BY_DATAUNIT__");
|
|
314
|
+
const dataBinders = dataBindersByDataUnit.get(dataUnit.dataUnitId) || [];
|
|
315
|
+
await Promise.all(dataBinders.map((dataBinder) => dataBinder.validate()));
|
|
316
|
+
return true;
|
|
317
|
+
}
|
|
318
|
+
catch (_a) {
|
|
319
|
+
return false;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
296
322
|
updateErrorMessage(fieldName, field, message) {
|
|
297
323
|
if (message == undefined) {
|
|
298
324
|
message = this._dataUnit.getInvalidMessage(this.getCurrentRecordId(), fieldName);
|
|
@@ -849,15 +875,18 @@ const EzForm = class {
|
|
|
849
875
|
this.ezFormSetFields = index.createEvent(this, "ezFormSetFields", 7);
|
|
850
876
|
this.ezReady = index.createEvent(this, "ezReady", 7);
|
|
851
877
|
this.formItemsReady = index.createEvent(this, "formItemsReady", 7);
|
|
878
|
+
this._customEditors = new Map();
|
|
852
879
|
this.onDataUnitAction = (action) => {
|
|
853
880
|
if (action.type === core.Action.METADATA_LOADED) {
|
|
854
881
|
this.processMetadata();
|
|
855
882
|
}
|
|
856
883
|
};
|
|
884
|
+
this._fieldsProps = new Map();
|
|
857
885
|
this.dataUnit = undefined;
|
|
858
886
|
this.config = undefined;
|
|
859
887
|
this.recordsValidator = undefined;
|
|
860
888
|
this.fieldToFocus = undefined;
|
|
889
|
+
this.onlyStaticFields = false;
|
|
861
890
|
}
|
|
862
891
|
/**
|
|
863
892
|
* Realiza validação no conteúdo de todos os campos.
|
|
@@ -865,9 +894,30 @@ const EzForm = class {
|
|
|
865
894
|
validate() {
|
|
866
895
|
return this._dataBinder.validate();
|
|
867
896
|
}
|
|
897
|
+
/**
|
|
898
|
+
* Registra um editor customizado para campos da grade e formulário.
|
|
899
|
+
*/
|
|
900
|
+
async addCustomEditor(fieldName, customEditor, detailContext) {
|
|
901
|
+
if (this._formView) {
|
|
902
|
+
this._formView.addCustomEditor(fieldName, customEditor, detailContext);
|
|
903
|
+
return;
|
|
904
|
+
}
|
|
905
|
+
const newCustomEditors = new Map(this._customEditors);
|
|
906
|
+
newCustomEditors.set(fieldName, { customEditor, detailContext });
|
|
907
|
+
this._customEditors = newCustomEditors;
|
|
908
|
+
}
|
|
868
909
|
observeConfig() {
|
|
869
910
|
this.processMetadata();
|
|
870
911
|
}
|
|
912
|
+
/**
|
|
913
|
+
* Altera/adiciona uma propriedade nos metadados do campo.
|
|
914
|
+
*/
|
|
915
|
+
async setFieldProp(fieldName, propName, value) {
|
|
916
|
+
const newCustomFieldProps = new Map(this._fieldsProps);
|
|
917
|
+
const currentProps = this._fieldsProps.get(fieldName);
|
|
918
|
+
newCustomFieldProps.set(fieldName, Object.assign(Object.assign({}, currentProps), { [propName]: value }));
|
|
919
|
+
this._fieldsProps = newCustomFieldProps;
|
|
920
|
+
}
|
|
871
921
|
getDynamicContent() {
|
|
872
922
|
var _a;
|
|
873
923
|
const formMD = selectFormMetadata(this._store.getState());
|
|
@@ -894,10 +944,10 @@ const EzForm = class {
|
|
|
894
944
|
}
|
|
895
945
|
this.ezFormSetFields.emit(fields);
|
|
896
946
|
const idFormSheet = `${core.StringUtils.replaceAccentuatedChars(core.StringUtils.toCamelCase(currentSheet === null || currentSheet === void 0 ? void 0 : currentSheet.label), false)}_selectorContainer`;
|
|
897
|
-
return (index.h("div", { class: "dynamic-content", "data-element-id": idFormSheet }, index.h("ez-form-view", { class: "ez-row ez-padding-vertical--small", fields: fields })));
|
|
947
|
+
return (index.h("div", { class: "dynamic-content", "data-element-id": idFormSheet }, index.h("ez-form-view", { ref: (element) => (this._formView = element), class: "ez-row ez-padding-vertical--small", fields: fields, selectedRecord: this.dataUnit.getSelectedRecord() })));
|
|
898
948
|
}
|
|
899
949
|
processMetadata() {
|
|
900
|
-
if (
|
|
950
|
+
if (this.bindFields() && this.dataUnit && this._store) {
|
|
901
951
|
const metadata = buildFormMetadata(this.config, this.dataUnit);
|
|
902
952
|
this._store.dispatch(loadMetadata(metadata));
|
|
903
953
|
}
|
|
@@ -906,6 +956,9 @@ const EzForm = class {
|
|
|
906
956
|
var _a;
|
|
907
957
|
return ((_a = this._staticFields) === null || _a === void 0 ? void 0 : _a.length) > 0;
|
|
908
958
|
}
|
|
959
|
+
bindFields() {
|
|
960
|
+
return !this.isStatic() || this.onlyStaticFields === false;
|
|
961
|
+
}
|
|
909
962
|
componentWillLoad() {
|
|
910
963
|
if (this.dataUnit === undefined) {
|
|
911
964
|
this.dataUnit = new core.DataUnit("ez-form");
|
|
@@ -925,6 +978,17 @@ const EzForm = class {
|
|
|
925
978
|
this._dataBinder.bind(Array.from(this._element.querySelectorAll("[data-field-name]")), this.dataUnit.dataUnitId, metadata, this.recordsValidator);
|
|
926
979
|
this.ezReady.emit();
|
|
927
980
|
this.handleFieldToFocus();
|
|
981
|
+
this.setCustomEditors();
|
|
982
|
+
this.setFieldsProps();
|
|
983
|
+
}
|
|
984
|
+
setCustomEditors() {
|
|
985
|
+
if (!this._formView) {
|
|
986
|
+
return;
|
|
987
|
+
}
|
|
988
|
+
for (const [fieldName, customEditorProps] of this._customEditors) {
|
|
989
|
+
this._formView.addCustomEditor(fieldName, customEditorProps.customEditor, customEditorProps.detailContext);
|
|
990
|
+
this._customEditors.delete(fieldName);
|
|
991
|
+
}
|
|
928
992
|
}
|
|
929
993
|
handleFieldToFocus() {
|
|
930
994
|
var _a;
|
|
@@ -941,6 +1005,17 @@ const EzForm = class {
|
|
|
941
1005
|
this.ezFormRequestClearFieldToFocus.emit();
|
|
942
1006
|
});
|
|
943
1007
|
}
|
|
1008
|
+
setFieldsProps() {
|
|
1009
|
+
if (!this._formView) {
|
|
1010
|
+
return;
|
|
1011
|
+
}
|
|
1012
|
+
for (const [fieldName, props] of this._fieldsProps) {
|
|
1013
|
+
for (const prop in props) {
|
|
1014
|
+
this._formView.setFieldProp(fieldName, prop, props[prop]);
|
|
1015
|
+
}
|
|
1016
|
+
this._fieldsProps.delete(fieldName);
|
|
1017
|
+
}
|
|
1018
|
+
}
|
|
944
1019
|
disconnectedCallback() {
|
|
945
1020
|
this.dataUnit.unsubscribe(this.onDataUnitAction);
|
|
946
1021
|
this._dataBinder.onDisconnectedCallback();
|