@sankhyalabs/ezui 1.1.75 → 1.1.76
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/ez-action-chip.cjs.entry.js +1 -1
- package/dist/cjs/ez-button_16.cjs.entry.js +127 -119
- package/dist/cjs/ez-dialog.cjs.entry.js +1 -1
- package/dist/cjs/ez-label-chip.cjs.entry.js +1 -1
- package/dist/cjs/ez-list.cjs.entry.js +1 -1
- package/dist/cjs/ez-modal.cjs.entry.js +1 -1
- package/dist/cjs/ez-number-input.cjs.entry.js +1 -1
- package/dist/cjs/ez-popover.cjs.entry.js +1 -1
- package/dist/cjs/ez-popup.cjs.entry.js +1 -1
- package/dist/cjs/ez-time-input.cjs.entry.js +21 -2
- package/dist/cjs/ez-toast.cjs.entry.js +1 -1
- package/dist/cjs/ezui.cjs.js +2 -2
- package/dist/cjs/{index-4d2896bb.js → index-9431aeeb.js} +2 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/components/ez-button/ez-button.css +62 -43
- package/dist/collection/components/ez-button/ez-button.js +9 -2
- package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css +34 -34
- package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js +12 -12
- package/dist/collection/components/ez-combo-box/ez-combo-box.css +2 -2
- package/dist/collection/components/ez-date-input/ez-date-input.css +17 -3
- package/dist/collection/components/ez-date-input/ez-date-input.js +2 -2
- package/dist/collection/components/ez-form/ez-form.js +37 -35
- package/dist/collection/components/ez-form/store/Form.actions.js +16 -16
- package/dist/collection/components/ez-form/store/Form.reducer.js +17 -17
- package/dist/collection/components/ez-form/subcomponents/DataUnit.js +8 -8
- package/dist/collection/components/ez-form/subcomponents/form-metadata.js +12 -12
- package/dist/collection/components/ez-form/subcomponents/place-holder.js +1 -1
- package/dist/collection/components/ez-form/subcomponents/structure/Field.js +21 -21
- package/dist/collection/components/ez-form/subcomponents/structure/NavigationBar.js +7 -7
- package/dist/collection/components/ez-numeric-input/ez-numeric-input.css +4 -4
- package/dist/collection/components/ez-text-input/ez-text-input.css +60 -60
- package/dist/collection/components/ez-text-input/ez-text-input.js +16 -16
- package/dist/collection/components/ez-time-input/ez-time-input.js +3 -2
- package/dist/collection/utils/AssetsUtils.js +19 -0
- package/dist/custom-elements/index.js +149 -122
- package/dist/esm/ez-action-chip.entry.js +1 -1
- package/dist/esm/ez-button_16.entry.js +127 -119
- package/dist/esm/ez-dialog.entry.js +1 -1
- package/dist/esm/ez-label-chip.entry.js +1 -1
- package/dist/esm/ez-list.entry.js +1 -1
- package/dist/esm/ez-modal.entry.js +1 -1
- package/dist/esm/ez-number-input.entry.js +1 -1
- package/dist/esm/ez-popover.entry.js +1 -1
- package/dist/esm/ez-popup.entry.js +1 -1
- package/dist/esm/ez-time-input.entry.js +21 -2
- package/dist/esm/ez-toast.entry.js +1 -1
- package/dist/esm/ezui.js +2 -2
- package/dist/esm/{index-33153059.js → index-fd3c8023.js} +2 -1
- package/dist/esm/loader.js +2 -2
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/{p-67410dfa.entry.js → p-11ae4ae7.entry.js} +1 -1
- package/dist/ezui/{p-50464bdf.entry.js → p-47fa3d6c.entry.js} +1 -1
- package/dist/ezui/{p-0d476efb.entry.js → p-66954a04.entry.js} +1 -1
- package/dist/ezui/{p-47406a6e.entry.js → p-823ff0a0.entry.js} +1 -1
- package/dist/ezui/{p-7f3bc6d9.entry.js → p-8ab6168f.entry.js} +1 -1
- package/dist/ezui/{p-15743b09.entry.js → p-9c1fb51c.entry.js} +1 -1
- package/dist/ezui/{p-061d21ba.entry.js → p-9d85125b.entry.js} +1 -1
- package/dist/ezui/{p-34d288d0.entry.js → p-a0b6eee2.entry.js} +1 -1
- package/dist/ezui/p-a7b546b2.entry.js +1 -0
- package/dist/ezui/p-c833c94f.entry.js +1 -0
- package/dist/ezui/{p-8818da66.entry.js → p-d443f020.entry.js} +1 -1
- package/dist/ezui/{p-4df6f855.js → p-e0ab3746.js} +1 -1
- package/dist/types/components/ez-collapsible-box/ez-collapsible-box.d.ts +3 -3
- package/dist/types/components/ez-form/ez-form.d.ts +9 -9
- package/dist/types/components/ez-form/subcomponents/DataUnit.d.ts +1 -1
- package/dist/types/components/ez-form/subcomponents/form-metadata.d.ts +1 -1
- package/dist/types/components/ez-text-input/ez-text-input.d.ts +1 -1
- package/dist/types/components.d.ts +18 -18
- package/dist/types/utils/AssetsUtils.d.ts +1 -0
- package/package.json +1 -1
- package/dist/ezui/p-46d07e59.entry.js +0 -1
- package/dist/ezui/p-7be54779.entry.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createEvent, h, forceUpdate, Host, getAssetPath, proxyCustomElement } from '@stencil/core/internal/client';
|
|
1
|
+
import { createEvent, h, forceUpdate, Host, getAssetPath, setAssetPath, proxyCustomElement } from '@stencil/core/internal/client';
|
|
2
2
|
export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
|
|
3
3
|
|
|
4
4
|
const ezActionChipCss = ":host{--ez-action-chip--height:36px;--ez-action-chip--border-radius:var(--border--radius-large, 24px);--ez-action-chip__border:1px solid;--ez-action-chip__border-color-strokes:var(--color--strokes, #DCE0E8);--ez-action-chip--font-size:var(--text--medium, 14px);--ez-action-chip--font-family:var(--font-pattern, Arial);--ez-action-chip--font-weight:var(--text-weight--large, 500);--ez-action-chip__label--title--primary:var(--title--primary, #919191);--ez-action-chip__label-color--disable-secondary:var(--color--disable-secondary, #F2F5F8);--ez-action-chip__label__default--background-color--hover:var(--color--primary-200, #f2faf8);--ez-action-chip__label__default--border-color--hover:var(--color--primary-600, #007a5a)}.label__container{width:fit-content;display:flex;flex-wrap:wrap;position:relative;background-color:#FFFFFF;align-items:center;align-self:center;cursor:pointer;color:var(--ez-action-chip__label--title--primary);fill:var(--ez-action-chip__label--title--primary);border:var(--ez-action-chip__border);border-radius:var(--ez-action-chip--border-radius);border-color:var(--ez-action-chip__border-color-strokes);padding-right:var(--space--medium, 12px);padding-left:var(--space--medium, 12px)}.label__container:hover{border-color:var(--ez-action-chip__label__default--border-color--hover);background-color:var(--ez-action-chip__label__default--background-color--hover)}label{display:flex;align-items:center;font-weight:var(--text-weight--large, 600);cursor:pointer;height:var(--ez-action-chip--height);font-family:var(--ez-action-chip--font-family);font-size:var(--ez-action-chip--font-size)}";
|
|
@@ -23,7 +23,7 @@ let EzLabelChip$2 = class extends HTMLElement {
|
|
|
23
23
|
static get style() { return ezActionChipCss; }
|
|
24
24
|
};
|
|
25
25
|
|
|
26
|
-
const ezButtonCss = ":host{--button--min-width:100px;--button--height:42px;--button__icon--width:18px;--button__inline__icon--padding:12px;--button--padding-top:var(--space--medium, 12px);--button--padding-bottom:var(--space--medium, 12px);--button--padding-right:var(--space--large, 24px);--button--padding-left:var(--space--large, 24px);--button--color:var(--text--primary, #FFF);--button--font-size:var(--text--medium, 14px);--button--font-family:var(--font-pattern, Arial);--button--font-weight:var(--text-weight--large);--button--background-color:var(--background--medium, #c0c0c0);--button--border-radius:var(--border--radius-large, 12px);--button--border:none;--button--hover--background-color:var(--background--strong, var(--button--background-color));--button--disabled-color:var(--text--disable);--button--disabled--background-color:var(--color--disable-secondary);--button--focus--border:var(--button--border);--button--focus--box-shadow:none;--button--link-color:var(--title--primary, '#C0C0C0')}ez-icon{--ez-icon--color:inherit}button{display:flex;align-items:center;justify-content:center;margin:0;cursor:pointer;transition:background-color 0.2s linear;min-width:var(--button--min-width);height:var(--button--height);font-family:var(--button--font-family);font-size:var(--button--font-size);font-weight:var(--button--font-weight);padding:var(--button--padding-top) var(--button--padding-right) var(--button--padding-bottom) var(--button--padding-left);border-radius:var(--button--border-radius);background-color:var(--button--background-color);color:var(--button--color);fill:var(--button--color);border:var(--button--border)}button:hover{background-color:var(--button--hover--background-color)}button:focus{outline:none;border:var(--button--focus--border);box-shadow:var(--button--focus--box-shadow)}button:disabled{background-color:var(--button--disabled--background-color);color:var(--button--disabled-color);fill:var(--button--disabled-color);border:none;cursor:no-drop}button.icon{width:42px;min-width:42px;height:42px;padding:0px}a{font-family:var(--button--font-family);font-size:var(--button--font-size);font-weight:var(--button--font-weight);color:var(--button--link-color);cursor:pointer;display:flex;align-items:center;justify-content:center;}";
|
|
26
|
+
const ezButtonCss = ":host{--ez-button--min-width:100px;--ez-button--height:42px;--ez-button__icon--width:18px;--ez-button__inline__icon--padding:12px;--ez-button--padding-top:var(--space--medium, 12px);--ez-button--padding-bottom:var(--space--medium, 12px);--ez-button--padding-right:var(--space--large, 24px);--ez-button--padding-left:var(--space--large, 24px);--ez-button--color:var(--text--primary, #FFF);--ez-button--font-size:var(--text--medium, 14px);--ez-button--font-family:var(--font-pattern, Arial);--ez-button--font-weight:var(--text-weight--large);--ez-button--background-color:var(--background--medium, #c0c0c0);--ez-button--border-radius:var(--border--radius-large, 12px);--ez-button--border:none;--ez-button--hover--background-color:var(--background--strong, var(--ez-button--background-color));--ez-button--disabled-color:var(--text--disable);--ez-button--disabled--background-color:var(--color--disable-secondary);--ez-button--focus--border:var(--ez-button--border);--ez-button--focus--box-shadow:none;--ez-button--link-color:var(--title--primary, '#C0C0C0')}ez-icon{--ez-icon--color:inherit}button{display:flex;align-items:center;justify-content:center;margin:0;cursor:pointer;transition:background-color 0.2s linear;min-width:var(--ez-button--min-width);height:var(--ez-button--height);font-family:var(--ez-button--font-family);font-size:var(--ez-button--font-size);font-weight:var(--ez-button--font-weight);padding:var(--ez-button--padding-top) var(--ez-button--padding-right) var(--ez-button--padding-bottom) var(--ez-button--padding-left);border-radius:var(--ez-button--border-radius);background-color:var(--ez-button--background-color);color:var(--ez-button--color);fill:var(--ez-button--color);border:var(--ez-button--border)}button:hover{background-color:var(--ez-button--hover--background-color)}button:focus{outline:none;border:var(--ez-button--focus--border);box-shadow:var(--ez-button--focus--box-shadow)}button:disabled{background-color:var(--ez-button--disabled--background-color);color:var(--ez-button--disabled-color);fill:var(--ez-button--disabled-color);border:none;cursor:no-drop}button.icon{width:42px;min-width:42px;height:42px;padding:0px}.label-icon{display:flex;flex-direction:column;align-items:center;color:var(--ez-button--color)}.label-icon label{max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;font-family:var(--ez-button--font-family);font-size:var(--ez-button--font-size);font-weight:var(--ez-button--font-weight)}a{font-family:var(--ez-button--font-family);font-size:var(--ez-button--font-size);font-weight:var(--ez-button--font-weight);color:var(--ez-button--link-color);cursor:pointer;display:flex;align-items:center;justify-content:center;}";
|
|
27
27
|
|
|
28
28
|
let EzButton$1 = class extends HTMLElement {
|
|
29
29
|
constructor() {
|
|
@@ -45,10 +45,10 @@ let EzButton$1 = class extends HTMLElement {
|
|
|
45
45
|
if (this.mode == "link") {
|
|
46
46
|
content.style.display = "inline";
|
|
47
47
|
if (slot.name == "leftIcon") {
|
|
48
|
-
content.style.paddingRight = "var(--button__inline__icon--padding)";
|
|
48
|
+
content.style.paddingRight = "var(--ez-button__inline__icon--padding)";
|
|
49
49
|
}
|
|
50
50
|
else if (slot.name == "rightIcon") {
|
|
51
|
-
content.style.paddingLeft = "var(--button__inline__icon--padding)";
|
|
51
|
+
content.style.paddingLeft = "var(--ez-button__inline__icon--padding)";
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
else {
|
|
@@ -62,6 +62,12 @@ let EzButton$1 = class extends HTMLElement {
|
|
|
62
62
|
evt.stopPropagation();
|
|
63
63
|
} })));
|
|
64
64
|
}
|
|
65
|
+
else if (this.mode == "label-icon") {
|
|
66
|
+
return (h("div", { class: "label-icon" }, h("button", { class: "icon", type: "button", disabled: !this.enabled }, h("ez-icon", { class: "icon", href: this.image, size: "large", onClick: evt => {
|
|
67
|
+
if (!this.enabled)
|
|
68
|
+
evt.stopPropagation();
|
|
69
|
+
} })), h("label", { title: this.label }, this.label)));
|
|
70
|
+
}
|
|
65
71
|
else if (this.mode == "link") {
|
|
66
72
|
return (h("a", null, h("slot", { name: "leftIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } }), this.label, h("slot", { name: "rightIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } })));
|
|
67
73
|
}
|
|
@@ -949,7 +955,7 @@ let EzCheck$1 = class extends HTMLElement {
|
|
|
949
955
|
static get style() { return ezCheckCss; }
|
|
950
956
|
};
|
|
951
957
|
|
|
952
|
-
const ezCollapsibleBoxCss = ":host{--collapsible-box--height:42px;--collapsible-box--font-size:var(--title--medium, 14px);--collapsible-box--font-family:var(--font-pattern, Arial);--collapsible-box--font-weight:var(--text-weight--large, 600);--collapsible-box--color:var(--title--primary);--collapsible-box__btn--image--xsmall:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"12px\" width=\"7.5px\"><path d=\"M 0,10.56 4.5967752,6.0000006 0,1.3800006 1.4516132,0 7.5,6.0000006 1.4516132,12 Z\"/></svg>');--collapsible-box__btn--image--small:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"14px\" width=\"8.68px\"><path d=\"M 0,12.32 5.3200012,7.0000007 0,1.6100007 1.6800004,0 8.68,7.0000007 1.6800004,14 Z\"/></svg>');--collapsible-box__btn--image--medium:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"16px\" width=\"10px\"><path d=\"M 0.21915251,13.860393 6.0795475,8.0000007 0.21915251,2.0624968 2.0698036,0.28895588 9.7808475,8.0000007 2.0698036,15.711044 Z\"/></svg>');--collapsible-box__btn--image--large:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"18px\" width=\"11.25px\"><path d=\"M 0,15.84 6.8951628,9.0000009 0,2.0700009 2.1774198,0 11.25,9.0000009 2.1774198,18 Z\"/></svg>');--collapsible-box__btn--image--xlarge:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"20px\" width=\"12.5px\"><path d=\"M 0,17.6 7.661292,10.000001 0,2.300001 2.4193553,0 12.5,10.000001 2.4193553,20 Z\"/></svg>');--collapsible-box__btn--fill:var(--collapsible-box--color);--collapsible-box__btn--width:10px;--collapsible-box__btn--height:16px;display:flex;flex-wrap:wrap;width:100%}.collapsible-box__title{width:100%;align-self:center;display:flex;box-sizing:border-box}.collapsible-box__label{white-space:nowrap;overflow:hidden;cursor:pointer;text-overflow:ellipsis;width:100%;font-family:var(--collapsible-box--font-family);font-size:var(--collapsible-box--font-size);font-weight:var(--collapsible-box--font-weight);color:var(--collapsible-box--color)}.collapsible-box__label--icon-right{white-space:nowrap;overflow:hidden;cursor:pointer;text-overflow:ellipsis;font-family:var(--collapsible-box--font-family);font-size:var(--collapsible-box--font-size);font-weight:var(--collapsible-box--font-weight);color:var(--collapsible-box--color)}.collapsible-box__btn{outline:none;border:none;background-color:unset;cursor:pointer;padding:1px 6px}.collapsible-box__btn::after{content:'';display:flex;background-color:var(--collapsible-box__btn--fill);width:var(--collapsible-box__btn--width);height:var(--collapsible-box__btn--height);transition:transform var(--transition);transform:rotate(90deg)}.collapsible-box__btn--xsmall::after{width:7.5px;height:12px;-webkit-mask-image:var(--collapsible-box__btn--image--xsmall);mask-image:var(--collapsible-box__btn--image--xsmall)}.collapsible-box__btn--small::after{width:8.68px;height:14px;-webkit-mask-image:var(--collapsible-box__btn--image--small);mask-image:var(--collapsible-box__btn--image--small)}.collapsible-box__btn--medium::after{width:10px;height:16px;-webkit-mask-image:var(--collapsible-box__btn--image--medium);mask-image:var(--collapsible-box__btn--image--medium)}.collapsible-box__btn--large::after{width:11.25px;height:18px;-webkit-mask-image:var(--collapsible-box__btn--image--large);mask-image:var(--collapsible-box__btn--image--large)}.collapsible-box__btn--xlarge::after{width:12.5px;height:20px;-webkit-mask-image:var(--collapsible-box__btn--image--xlarge);mask-image:var(--collapsible-box__btn--image--xlarge)}.collapsible-box__btn--collapsed::after{transform:rotate(0deg)}.font--xsmall{font-size:10px}.font--small{font-size:12px}.font--medium{font-size:14px}.font--large{font-size:16px}.font--xlarge{font-size:20px}";
|
|
958
|
+
const ezCollapsibleBoxCss = ":host{--ez-collapsible-box--height:42px;--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__btn--image--xsmall:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"12px\" width=\"7.5px\"><path d=\"M 0,10.56 4.5967752,6.0000006 0,1.3800006 1.4516132,0 7.5,6.0000006 1.4516132,12 Z\"/></svg>');--ez-collapsible-box__btn--image--small:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"14px\" width=\"8.68px\"><path d=\"M 0,12.32 5.3200012,7.0000007 0,1.6100007 1.6800004,0 8.68,7.0000007 1.6800004,14 Z\"/></svg>');--ez-collapsible-box__btn--image--medium:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"16px\" width=\"10px\"><path d=\"M 0.21915251,13.860393 6.0795475,8.0000007 0.21915251,2.0624968 2.0698036,0.28895588 9.7808475,8.0000007 2.0698036,15.711044 Z\"/></svg>');--ez-collapsible-box__btn--image--large:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"18px\" width=\"11.25px\"><path d=\"M 0,15.84 6.8951628,9.0000009 0,2.0700009 2.1774198,0 11.25,9.0000009 2.1774198,18 Z\"/></svg>');--ez-collapsible-box__btn--image--xlarge:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"20px\" width=\"12.5px\"><path d=\"M 0,17.6 7.661292,10.000001 0,2.300001 2.4193553,0 12.5,10.000001 2.4193553,20 Z\"/></svg>');--ez-collapsible-box__btn--fill:var(--ez-collapsible-box--color);--ez-collapsible-box__btn--width:10px;--ez-collapsible-box__btn--height:16px;display:flex;flex-wrap:wrap;width:100%}.collapsible-box__title{width:100%;align-self:center;display:flex;box-sizing:border-box}.collapsible-box__label{white-space:nowrap;overflow:hidden;cursor:pointer;text-overflow:ellipsis;width:100%;font-family:var(--ez-collapsible-box--font-family);font-size:var(--ez-collapsible-box--font-size);font-weight:var(--ez-collapsible-box--font-weight);color:var(--ez-collapsible-box--color)}.collapsible-box__label--icon-right{white-space:nowrap;overflow:hidden;cursor:pointer;text-overflow:ellipsis;font-family:var(--ez-collapsible-box--font-family);font-size:var(--ez-collapsible-box--font-size);font-weight:var(--ez-collapsible-box--font-weight);color:var(--ez-collapsible-box--color)}.collapsible-box__btn{outline:none;border:none;background-color:unset;cursor:pointer;padding:1px 6px}.collapsible-box__btn::after{content:'';display:flex;background-color:var(--ez-collapsible-box__btn--fill);width:var(--ez-collapsible-box__btn--width);height:var(--ez-collapsible-box__btn--height);transition:transform var(--transition);transform:rotate(90deg)}.collapsible-box__btn--xsmall::after{width:7.5px;height:12px;-webkit-mask-image:var(--ez-collapsible-box__btn--image--xsmall);mask-image:var(--ez-collapsible-box__btn--image--xsmall)}.collapsible-box__btn--small::after{width:8.68px;height:14px;-webkit-mask-image:var(--ez-collapsible-box__btn--image--small);mask-image:var(--ez-collapsible-box__btn--image--small)}.collapsible-box__btn--medium::after{width:10px;height:16px;-webkit-mask-image:var(--ez-collapsible-box__btn--image--medium);mask-image:var(--ez-collapsible-box__btn--image--medium)}.collapsible-box__btn--large::after{width:11.25px;height:18px;-webkit-mask-image:var(--ez-collapsible-box__btn--image--large);mask-image:var(--ez-collapsible-box__btn--image--large)}.collapsible-box__btn--xlarge::after{width:12.5px;height:20px;-webkit-mask-image:var(--ez-collapsible-box__btn--image--xlarge);mask-image:var(--ez-collapsible-box__btn--image--xlarge)}.collapsible-box__btn--collapsed::after{transform:rotate(0deg)}.font--xsmall{font-size:10px}.font--small{font-size:12px}.font--medium{font-size:14px}.font--large{font-size:16px}.font--xlarge{font-size:20px}";
|
|
953
959
|
|
|
954
960
|
let EzCollapsibleBox$1 = class extends HTMLElement {
|
|
955
961
|
constructor() {
|
|
@@ -964,11 +970,11 @@ let EzCollapsibleBox$1 = class extends HTMLElement {
|
|
|
964
970
|
/**
|
|
965
971
|
* Define o tamanho do texto e do ícone do componente.
|
|
966
972
|
*/
|
|
967
|
-
this.
|
|
973
|
+
this.headerSize = "small";
|
|
968
974
|
/**
|
|
969
975
|
* Define o local onde o ícone será renderizado.
|
|
970
976
|
*/
|
|
971
|
-
this.
|
|
977
|
+
this.iconPlacement = "left";
|
|
972
978
|
}
|
|
973
979
|
observeValue() {
|
|
974
980
|
this.ezChange.emit();
|
|
@@ -980,10 +986,10 @@ let EzCollapsibleBox$1 = class extends HTMLElement {
|
|
|
980
986
|
this.value = !this.value;
|
|
981
987
|
}
|
|
982
988
|
render() {
|
|
983
|
-
return (h(Host, null, this.
|
|
984
|
-
h("div", { class: "collapsible-box__title" }, h("label", { class: (this.
|
|
989
|
+
return (h(Host, null, this.iconPlacement == "right" ?
|
|
990
|
+
h("div", { class: "collapsible-box__title" }, h("label", { class: (this.iconPlacement == "right" ? "collapsible-box__label--icon-right " : "collapsible-box__label ") + (this.headerSize ? "font--" + this.headerSize : ""), onClick: () => this.showHide(), title: this.label }, this.label), h("button", { class: this.value ? "collapsible-box__btn collapsible-box__btn--collapsed " + "collapsible-box__btn--" + this.headerSize : "collapsible-box__btn " + "collapsible-box__btn--" + this.headerSize, onClick: () => this.showHide() }))
|
|
985
991
|
:
|
|
986
|
-
h("div", { class: "collapsible-box__title" }, h("button", { class: this.value ? "collapsible-box__btn collapsible-box__btn--collapsed " + "collapsible-box__btn--" + this.
|
|
992
|
+
h("div", { class: "collapsible-box__title" }, h("button", { class: this.value ? "collapsible-box__btn collapsible-box__btn--collapsed " + "collapsible-box__btn--" + this.headerSize : "collapsible-box__btn " + "collapsible-box__btn--" + this.headerSize, onClick: () => this.showHide() }), h("label", { class: (this.iconPlacement == "right" ? "collapsible-box__label--icon-right " : "collapsible-box__label ") + (this.headerSize ? "font--" + this.headerSize : ""), onClick: () => this.showHide(), title: this.label }, this.label)), !this.value ? h("slot", null) : null));
|
|
987
993
|
}
|
|
988
994
|
static get watchers() { return {
|
|
989
995
|
"value": ["observeValue"]
|
|
@@ -991,7 +997,7 @@ let EzCollapsibleBox$1 = class extends HTMLElement {
|
|
|
991
997
|
static get style() { return ezCollapsibleBoxCss; }
|
|
992
998
|
};
|
|
993
999
|
|
|
994
|
-
const ezComboBoxCss = ":host{--combo-box--height:42px;--combo-box--width:100%;--combo-box__icon--width:48px;--combo-box--border-radius:var(--border--radius-medium, 12px);--combo-box--border-radius-small:var(--border--radius-small, 6px);--combo-box--font-size:var(--text--medium, 14px);--combo-box--font-family:var(--font-pattern, Arial);--combo-box--font-weight--large:var(--text-weight--large, 500);--combo-box--font-weight--medium:var(--text-weight--medium, 400);--combo-box--background-color--xlight:var(--background--xlight, #fff);--combo-box__input--background-color:var(--background--medium, #e0e0e0);--combo-box__input--border:var(--border--medium, 2px solid);--combo-box__input--border-color:var(--combo-box__input--background-color);--combo-box__input--focus--border-color:var(--color--primary, #008561);--combo-box__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--combo-box__input--disabled--color:var(--text--disable, #AFB6C0);--combo-box__input--error--border-color:#CC2936;--combo-box__label--color:var(--title--primary, #919191);--combo-box__list-text--primary:var(--text--primary, #626e82);--combo-box__list-height:calc(var(--combo-box--font-size) + var(--combo-box--space--medium));--combo-box--drop-down__image:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"16px\" width=\"16px\"><path d=\"M 1.8585859,3.0707069 7.9999998,9.2121212 14.141414,3.0707069 16,5.0101006 7.9999998,12.929293 0,4.9292932 Z\"/></svg>');--combo-box--search__image:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"22px\" width=\"22px\"><path d=\"m 9.4,2.3 c 4.1,0 7.4,3.2 7.4,7.2 0,1.8 -0.7,3.4 -1.8,4.7 l 0.3,0.3 h 0.9 l 5.7,5.6 -1.7,1.7 -5.7,-5.6 V 15.3 L 14.3,15 C 13,16.1 11.3,16.7 9.5,16.7 5.3,16.7 2,13.5 2,9.5 2,5.5 5.3,2.3 9.4,2.3 m 0,2.2 c -2.9,0 -5.1,2.2 -5.1,5 0,2.8 2.3,5 5.1,5 2.8,0 5.1,-2.2 5.1,-5 0,-2.8 -2.2,-5 -5.1,-5 z\"/></svg>');--combo-box--space--medium:var(--space--medium, 12px);--combo-box--space--small:var(--space--small, 6px);display:flex;flex-wrap:wrap;position:relative;width:var(--combo-box--width)}ez-text-input{--
|
|
1000
|
+
const ezComboBoxCss = ":host{--combo-box--height:42px;--combo-box--width:100%;--combo-box__icon--width:48px;--combo-box--border-radius:var(--border--radius-medium, 12px);--combo-box--border-radius-small:var(--border--radius-small, 6px);--combo-box--font-size:var(--text--medium, 14px);--combo-box--font-family:var(--font-pattern, Arial);--combo-box--font-weight--large:var(--text-weight--large, 500);--combo-box--font-weight--medium:var(--text-weight--medium, 400);--combo-box--background-color--xlight:var(--background--xlight, #fff);--combo-box__input--background-color:var(--background--medium, #e0e0e0);--combo-box__input--border:var(--border--medium, 2px solid);--combo-box__input--border-color:var(--combo-box__input--background-color);--combo-box__input--focus--border-color:var(--color--primary, #008561);--combo-box__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--combo-box__input--disabled--color:var(--text--disable, #AFB6C0);--combo-box__input--error--border-color:#CC2936;--combo-box__label--color:var(--title--primary, #919191);--combo-box__list-text--primary:var(--text--primary, #626e82);--combo-box__list-height:calc(var(--combo-box--font-size) + var(--combo-box--space--medium));--combo-box--drop-down__image:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"16px\" width=\"16px\"><path d=\"M 1.8585859,3.0707069 7.9999998,9.2121212 14.141414,3.0707069 16,5.0101006 7.9999998,12.929293 0,4.9292932 Z\"/></svg>');--combo-box--search__image:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"22px\" width=\"22px\"><path d=\"m 9.4,2.3 c 4.1,0 7.4,3.2 7.4,7.2 0,1.8 -0.7,3.4 -1.8,4.7 l 0.3,0.3 h 0.9 l 5.7,5.6 -1.7,1.7 -5.7,-5.6 V 15.3 L 14.3,15 C 13,16.1 11.3,16.7 9.5,16.7 5.3,16.7 2,13.5 2,9.5 2,5.5 5.3,2.3 9.4,2.3 m 0,2.2 c -2.9,0 -5.1,2.2 -5.1,5 0,2.8 2.3,5 5.1,5 2.8,0 5.1,-2.2 5.1,-5 0,-2.8 -2.2,-5 -5.1,-5 z\"/></svg>');--combo-box--space--medium:var(--space--medium, 12px);--combo-box--space--small:var(--space--small, 6px);display:flex;flex-wrap:wrap;position:relative;width:var(--combo-box--width)}ez-text-input{--ez-text-input__input--background-color:var(--combo-box__input--background-color, #FFFFFF);--ez-text-input__input--border-color:var(--combo-box__input--border-color, #DCE0E8)}.list-container{position:relative;width:100%}.options-list{box-sizing:border-box;width:100%;z-index:var(--more-visible, 2);display:flex;flex-direction:column;background-color:var(--combo-box--background-color--xlight);padding:var(--combo-box--space--small);border-radius:var(--combo-box--border-radius);box-shadow:var(--shadow, 0px 0px 16px 0px #000);scroll-behavior:smooth;max-height:calc(4*var(--combo-box__list-height) + 2*var(--combo-box--space--small));overflow:auto}.item{text-align:left;display:flex;justify-content:space-between;align-items:center;border-radius:var(--combo-box--border-radius-small);padding:0 var(--combo-box--space--small);list-style-type:none;min-height:var(--combo-box__list-height)}.item--label{text-align:left;flex-basis:85%;flex-grow:1;color:var(--combo-box__list-text--primary);font-weight:var(--combo-box--font-weight--large);font-family:var(--combo-box--font-family);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.item--value{text-align:right;flex-basis:15%;flex-grow:0;color:var(--combo-box__list-text--primary);font-weight:var(--combo-box--font-weight--large);font-family:var(--combo-box--font-family);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}li:hover{background-color:var(--background--medium)}.preselected{background-color:var(--background--medium)}.btn-open-options{outline:none;border:none;background-color:unset;cursor:pointer}.btn-open-options:disabled{cursor:unset}.btn-open-options::after{content:'';display:flex;background-color:var(--text--primary, #008561);width:16px;height:16px;-webkit-mask-image:var(--combo-box--drop-down__image);mask-image:var(--combo-box--drop-down__image)}.btn-open-options:disabled:after{background-color:var(--text--disable, #AFB6C0)}.btn-open-options:enabled:hover::after{background-color:var(--color--primary, #4e4e4e)}.btn-open-search{outline:none;border:none;background-color:unset;cursor:pointer}.btn-open-search:disabled{cursor:unset}.btn-open-search::after{content:'';display:flex;background-color:var(--text--primary, #008561);width:22px;height:22px;-webkit-mask-image:var(--combo-box--search__image);mask-image:var(--combo-box--search__image)}.btn-open-search:disabled:after{background-color:var(--text--disable, #AFB6C0)}.btn-open-search:enabled:hover::after{background-color:var(--color--primary, #4e4e4e)}";
|
|
995
1001
|
|
|
996
1002
|
let EzComboBox$1 = class extends HTMLElement {
|
|
997
1003
|
constructor() {
|
|
@@ -1248,7 +1254,7 @@ class CSSVarsUtils {
|
|
|
1248
1254
|
}
|
|
1249
1255
|
}
|
|
1250
1256
|
|
|
1251
|
-
const ezDateInputCss = ":host{display:block;width:100%;--
|
|
1257
|
+
const ezDateInputCss = ":host{display:block;width:100%;--ez-date-input__input--background-color:var(--background--medium, #e0e0e0);--ez-date-input__input--border-color:var(--ez-date-input__input--background-color);--ez-date-input__calendar-image:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"16px\" width=\"15px\"><path d=\"M 3.171875,5.25 C 2.6485088,5.25 2.21875,5.6797588 2.21875,6.203125 2.21875,6.7264912 2.6485088,7.15625 3.171875,7.15625 3.6952412,7.15625 4.125,6.7264912 4.125,6.203125 4.125,5.6797588 3.6952412,5.25 3.171875,5.25 Z m 2.875,0 C 5.5235088,5.25 5.09375,5.6797588 5.09375,6.203125 5.09375,6.7264912 5.5235088,7.15625 6.046875,7.15625 6.5702412,7.15625 7,6.7264912 7,6.203125 7,5.6797588 6.5702412,5.25 6.046875,5.25 Z m 2.875,0 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.953125 0.953125,0.953125 0.5233662,0 0.9511719,-0.4297588 0.9511719,-0.953125 C 9.8730469,5.6797588 9.4452412,5.25 8.921875,5.25 Z m 2.873047,0 c -0.523366,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.429759,0.953125 0.953125,0.953125 0.523366,0 0.953125,-0.4297588 0.953125,-0.953125 C 12.748047,5.6797588 12.318288,5.25 11.794922,5.25 Z M 3.171875,8.1230469 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.9531251 0.953125,0.9531251 0.5233662,0 0.953125,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.875,0 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.9531251 0.953125,0.9531251 C 6.5702412,10.029297 7,9.5995381 7,9.0761719 7,8.5528057 6.5702412,8.1230469 6.046875,8.1230469 Z m 2.8554688,0 c -0.5233663,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297587,0.9531251 0.953125,0.9531251 0.5233661,0 0.9531249,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.9003902,0 c -0.523366,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.429759,0.9531251 0.953125,0.9531251 0.523367,0 0.953125,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.429758,-0.953125 -0.953125,-0.953125 z M 3.171875,10.998047 c -0.5233662,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297588,0.953125 0.953125,0.953125 0.5233662,0 0.953125,-0.429759 0.953125,-0.953125 0,-0.523366 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.875,0 c -0.5233662,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297588,0.953125 0.953125,0.953125 C 6.5702412,12.904297 7,12.474538 7,11.951172 7,11.427806 6.5702412,10.998047 6.046875,10.998047 Z m 2.8554688,0 c -0.5233663,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297587,0.953125 0.953125,0.953125 0.5233661,0 0.9531249,-0.429759 0.953125,-0.953125 0,-0.523366 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.9003902,0 c -0.523366,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.429759,0.953125 0.953125,0.953125 0.523367,0 0.953125,-0.429759 0.953125,-0.953125 0,-0.523366 -0.429758,-0.953125 -0.953125,-0.953125 z M 3.5,0 c -0.554,0 -1,0.446 -1,1 v 0.050781 C 1.0853217,1.2909766 0,2.5186658 0,4 v 9 c 0,1.652487 1.3475134,3 3,3 h 9 c 1.652487,0 3,-1.347513 3,-3 V 4 C 15,2.5186658 13.914678,1.2909766 12.5,1.0507812 V 1 c 0,-0.554 -0.446,-1 -1,-1 -0.554,0 -1,0.446 -1,1 h -2 c 0,-0.554 -0.446,-1 -1,-1 -0.554,0 -1,0.446 -1,1 h -2 C 4.5,0.446 4.054,0 3.5,0 Z m 1,2.0996094 h 2 v 0.640625 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 v -0.640625 h 2 v 0.640625 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 V 2.1738281 C 13.311725,2.3905225 13.900391,3.11278 13.900391,4 v 9 c 0,1.062113 -0.838278,1.900391 -1.900391,1.900391 H 3 C 1.9378864,14.900391 1.0996094,14.062113 1.0996094,13 V 4 C 1.0996094,3.11278 1.6882747,2.3905225 2.5,2.1738281 v 0.5664063 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 z\"/></svg>')}.text-input{--ez-text-input__input--background-color:inherit;--ez-text-input__input--border-color:inherit}.btn-open-cal{outline:none;border:none;background-color:unset;cursor:pointer}.btn-open-cal:disabled{cursor:unset}.btn-open-cal::after{content:'';display:flex;background-color:var(--text--primary, #008561);width:15px;height:16px;-webkit-mask-image:var(--ez-date-input__calendar-image);mask-image:var(--ez-date-input__calendar-image)}.btn-open-cal:disabled:after{background-color:var(--text--disable, #AFB6C0)}.btn-open-cal:enabled:hover::after{background-color:var(--color--primary, #4e4e4e)}ez-text-input{--text-input__input--background-color:var(--ez-date-input__input--background-color, #FFFFFF);--text-input__input--border-color:var(--ez-date-input__input--border-color, #DCE0E8)}";
|
|
1252
1258
|
|
|
1253
1259
|
let EzDateInput$1 = class extends HTMLElement {
|
|
1254
1260
|
constructor() {
|
|
@@ -1309,14 +1315,14 @@ let EzDateInput$1 = class extends HTMLElement {
|
|
|
1309
1315
|
}
|
|
1310
1316
|
}
|
|
1311
1317
|
getTextValue(d) {
|
|
1312
|
-
return d ? new Intl.DateTimeFormat(
|
|
1318
|
+
return d ? new Intl.DateTimeFormat("pt-BR").format(d) : null;
|
|
1313
1319
|
}
|
|
1314
1320
|
componentDidLoad() {
|
|
1315
1321
|
CSSVarsUtils.applyVarsTextInput(this._elem, this._textInput);
|
|
1316
1322
|
}
|
|
1317
1323
|
render() {
|
|
1318
1324
|
return (h(Host, null, h("ez-text-input", { ref: elem => this._textInput = elem, onBlur: () => this.parseDate(), onKeyDown: event => {
|
|
1319
|
-
if (event.key ===
|
|
1325
|
+
if (event.key === "H" || event.key === "h")
|
|
1320
1326
|
this.changeValue(new Date());
|
|
1321
1327
|
}, label: this.label, onEzChange: event => event.stopPropagation(), value: this.getTextValue(this.value), restrict: "0123456789/", enabled: this.enabled, errorMessage: this.errorMessage }, h("button", { disabled: !this.enabled, tabindex: -1, class: "btn-open-cal", onClick: () => this.showCalendar(), slot: "leftIcon" })), h("ez-calendar", { onEzChange: (event) => { this.hideCalendar(); event.stopPropagation(); }, floating: true, ref: elem => this._calendar = elem })));
|
|
1322
1328
|
}
|
|
@@ -1991,19 +1997,19 @@ thunk.withExtraArgument = createThunkMiddleware;
|
|
|
1991
1997
|
|
|
1992
1998
|
function changeFieldValue$1(dataUnit, recordId, fieldName, value) {
|
|
1993
1999
|
return {
|
|
1994
|
-
type:
|
|
2000
|
+
type: "FORM/CHANGEFIELD",
|
|
1995
2001
|
payload: { dataUnit, recordId, fieldName, value }
|
|
1996
2002
|
};
|
|
1997
2003
|
}
|
|
1998
2004
|
function changeTab$1(formId, index) {
|
|
1999
2005
|
return {
|
|
2000
|
-
type:
|
|
2006
|
+
type: "FORM/CHANGETAB",
|
|
2001
2007
|
payload: { formId, index }
|
|
2002
2008
|
};
|
|
2003
2009
|
}
|
|
2004
2010
|
function clearEdition$1(dataUnit, recordsLimit) {
|
|
2005
2011
|
return {
|
|
2006
|
-
type:
|
|
2012
|
+
type: "FORM/CLEAREDITION",
|
|
2007
2013
|
payload: {
|
|
2008
2014
|
dataUnit,
|
|
2009
2015
|
recordsLimit
|
|
@@ -2012,13 +2018,13 @@ function clearEdition$1(dataUnit, recordsLimit) {
|
|
|
2012
2018
|
}
|
|
2013
2019
|
function collapseExpandGroup(collapseId, collapsed) {
|
|
2014
2020
|
return {
|
|
2015
|
-
type:
|
|
2021
|
+
type: "FORM/COLLAPSEGROUP",
|
|
2016
2022
|
payload: { collapseId, collapsed }
|
|
2017
2023
|
};
|
|
2018
2024
|
}
|
|
2019
2025
|
function previousRecord(dataUnit) {
|
|
2020
2026
|
return {
|
|
2021
|
-
type:
|
|
2027
|
+
type: "FORM/NAVIGATE",
|
|
2022
2028
|
payload: {
|
|
2023
2029
|
dataUnit,
|
|
2024
2030
|
limit: 0,
|
|
@@ -2028,7 +2034,7 @@ function previousRecord(dataUnit) {
|
|
|
2028
2034
|
}
|
|
2029
2035
|
function nextRecord(dataUnit, limit) {
|
|
2030
2036
|
return {
|
|
2031
|
-
type:
|
|
2037
|
+
type: "FORM/NAVIGATE",
|
|
2032
2038
|
payload: {
|
|
2033
2039
|
dataUnit,
|
|
2034
2040
|
limit,
|
|
@@ -2038,7 +2044,7 @@ function nextRecord(dataUnit, limit) {
|
|
|
2038
2044
|
}
|
|
2039
2045
|
function insertRecord$1(dataUnit, insertionIndex) {
|
|
2040
2046
|
return {
|
|
2041
|
-
type:
|
|
2047
|
+
type: "FORM/INSERT",
|
|
2042
2048
|
payload: {
|
|
2043
2049
|
dataUnit,
|
|
2044
2050
|
insertionIndex
|
|
@@ -2047,12 +2053,12 @@ function insertRecord$1(dataUnit, insertionIndex) {
|
|
|
2047
2053
|
}
|
|
2048
2054
|
function formLoad() {
|
|
2049
2055
|
return {
|
|
2050
|
-
type:
|
|
2056
|
+
type: "FORM/LOAD"
|
|
2051
2057
|
};
|
|
2052
2058
|
}
|
|
2053
2059
|
function dataLoading$1(dataUnit) {
|
|
2054
2060
|
return {
|
|
2055
|
-
type:
|
|
2061
|
+
type: "FORM/DATALOADING",
|
|
2056
2062
|
payload: {
|
|
2057
2063
|
dataUnit
|
|
2058
2064
|
}
|
|
@@ -2060,7 +2066,7 @@ function dataLoading$1(dataUnit) {
|
|
|
2060
2066
|
}
|
|
2061
2067
|
function savingChanges$1(dataUnit) {
|
|
2062
2068
|
return {
|
|
2063
|
-
type:
|
|
2069
|
+
type: "FORM/SAVINGCHANGES",
|
|
2064
2070
|
payload: {
|
|
2065
2071
|
dataUnit
|
|
2066
2072
|
}
|
|
@@ -2068,7 +2074,7 @@ function savingChanges$1(dataUnit) {
|
|
|
2068
2074
|
}
|
|
2069
2075
|
function dataLoaded$1(dataUnit) {
|
|
2070
2076
|
return {
|
|
2071
|
-
type:
|
|
2077
|
+
type: "FORM/DATALOADED",
|
|
2072
2078
|
payload: {
|
|
2073
2079
|
dataUnit
|
|
2074
2080
|
}
|
|
@@ -2076,7 +2082,7 @@ function dataLoaded$1(dataUnit) {
|
|
|
2076
2082
|
}
|
|
2077
2083
|
function changesSaved$1(dataUnit) {
|
|
2078
2084
|
return {
|
|
2079
|
-
type:
|
|
2085
|
+
type: "FORM/CHANGESSAVED",
|
|
2080
2086
|
payload: {
|
|
2081
2087
|
dataUnit
|
|
2082
2088
|
}
|
|
@@ -2084,7 +2090,7 @@ function changesSaved$1(dataUnit) {
|
|
|
2084
2090
|
}
|
|
2085
2091
|
function removingRecord$1(dataUnit) {
|
|
2086
2092
|
return {
|
|
2087
|
-
type:
|
|
2093
|
+
type: "FORM/REMOVINGRECORD",
|
|
2088
2094
|
payload: {
|
|
2089
2095
|
dataUnit
|
|
2090
2096
|
}
|
|
@@ -2092,7 +2098,7 @@ function removingRecord$1(dataUnit) {
|
|
|
2092
2098
|
}
|
|
2093
2099
|
function recordRemoved$1(dataUnit) {
|
|
2094
2100
|
return {
|
|
2095
|
-
type:
|
|
2101
|
+
type: "FORM/RECORDREMOVED",
|
|
2096
2102
|
payload: {
|
|
2097
2103
|
dataUnit
|
|
2098
2104
|
}
|
|
@@ -2100,7 +2106,7 @@ function recordRemoved$1(dataUnit) {
|
|
|
2100
2106
|
}
|
|
2101
2107
|
function invalidField$1(tabController, tabIndex, dataUnit, recordIndex, recordId, fieldName, errorMessage) {
|
|
2102
2108
|
return {
|
|
2103
|
-
type:
|
|
2109
|
+
type: "FORM/INVALIDFIELD",
|
|
2104
2110
|
payload: {
|
|
2105
2111
|
tabController,
|
|
2106
2112
|
tabIndex,
|
|
@@ -2114,7 +2120,7 @@ function invalidField$1(tabController, tabIndex, dataUnit, recordIndex, recordId
|
|
|
2114
2120
|
}
|
|
2115
2121
|
function showHideNavigationButtons(buttonName, status) {
|
|
2116
2122
|
return {
|
|
2117
|
-
type:
|
|
2123
|
+
type: "FORM/SHOWHIDENAVBTN",
|
|
2118
2124
|
payload: {
|
|
2119
2125
|
buttonName,
|
|
2120
2126
|
status
|
|
@@ -2775,19 +2781,19 @@ const inicialNonHistState = {
|
|
|
2775
2781
|
};
|
|
2776
2782
|
function formReducer(state = inicialHistState, action) {
|
|
2777
2783
|
switch (action.type) {
|
|
2778
|
-
case
|
|
2784
|
+
case "FORM/COLLAPSEGROUP":
|
|
2779
2785
|
return collapseGroup(state, action.payload);
|
|
2780
|
-
case
|
|
2786
|
+
case "FORM/CHANGETAB":
|
|
2781
2787
|
return changeTab(state, action.payload.formId, action.payload.index);
|
|
2782
|
-
case
|
|
2788
|
+
case "FORM/NAVIGATE":
|
|
2783
2789
|
return navigate(state, action.payload);
|
|
2784
|
-
case
|
|
2790
|
+
case "FORM/INSERT":
|
|
2785
2791
|
return insertRecord(state, action.payload);
|
|
2786
|
-
case
|
|
2792
|
+
case "FORM/CHANGEFIELD":
|
|
2787
2793
|
return changeFieldValue(state, action.payload);
|
|
2788
|
-
case
|
|
2794
|
+
case "FORM/CLEAREDITION":
|
|
2789
2795
|
return clearEdition(state, action.payload);
|
|
2790
|
-
case
|
|
2796
|
+
case "FORM/INVALIDFIELD":
|
|
2791
2797
|
return navigateToInvalid(state, action.payload);
|
|
2792
2798
|
default:
|
|
2793
2799
|
return state;
|
|
@@ -2795,25 +2801,25 @@ function formReducer(state = inicialHistState, action) {
|
|
|
2795
2801
|
}
|
|
2796
2802
|
function formNonHistoricReducer(state = inicialNonHistState, action) {
|
|
2797
2803
|
switch (action.type) {
|
|
2798
|
-
case
|
|
2804
|
+
case "FORM/DATALOADING":
|
|
2799
2805
|
return dataLoading(state, action.payload);
|
|
2800
|
-
case
|
|
2806
|
+
case "FORM/DATALOADED":
|
|
2801
2807
|
return dataLoaded(state, action.payload);
|
|
2802
|
-
case
|
|
2808
|
+
case "FORM/SAVINGCHANGES":
|
|
2803
2809
|
return savingChanges(state, action.payload);
|
|
2804
|
-
case
|
|
2810
|
+
case "FORM/CHANGESSAVED":
|
|
2805
2811
|
return changesSaved(state, action.payload);
|
|
2806
|
-
case
|
|
2812
|
+
case "FORM/REMOVINGRECORD":
|
|
2807
2813
|
return removingRecord(state, action.payload);
|
|
2808
|
-
case
|
|
2814
|
+
case "FORM/RECORDREMOVED":
|
|
2809
2815
|
return recordRemoved(state, action.payload);
|
|
2810
|
-
case
|
|
2816
|
+
case "FORM/INVALIDFIELD":
|
|
2811
2817
|
return invalidField(state, action.payload);
|
|
2812
|
-
case
|
|
2818
|
+
case "FORM/CLEAREDITION":
|
|
2813
2819
|
return clearAllInvalidFields(state, action.payload);
|
|
2814
|
-
case
|
|
2820
|
+
case "FORM/CHANGEFIELD":
|
|
2815
2821
|
return clearInvalidField(state, action.payload);
|
|
2816
|
-
case
|
|
2822
|
+
case "FORM/SHOWHIDENAVBTN":
|
|
2817
2823
|
return showHideNavBtn(state, action.payload);
|
|
2818
2824
|
default:
|
|
2819
2825
|
return state;
|
|
@@ -3003,13 +3009,13 @@ const NavigationBar = ({ dataUnit: du, buttonProps, enabled }) => {
|
|
|
3003
3009
|
|| buttonProps.cancelVisible
|
|
3004
3010
|
|| buttonProps.reloadVisible) {
|
|
3005
3011
|
return h("div", { class: "col col--sd-12 align--right" },
|
|
3006
|
-
buttonProps.previousVisible ? h("ez-button", { key: du.name +
|
|
3007
|
-
buttonProps.nextVisible ? h("ez-button", { key: du.name +
|
|
3008
|
-
buttonProps.removeVisible ? h("ez-button", { key: du.name +
|
|
3009
|
-
buttonProps.addVisible ? h("ez-button", { key: du.name +
|
|
3010
|
-
buttonProps.reloadVisible ? h("ez-button", { key: du.name +
|
|
3011
|
-
buttonProps.cancelVisible ? h("ez-button", { key: du.name +
|
|
3012
|
-
buttonProps.saveVisible ? h("ez-button", { key: du.name +
|
|
3012
|
+
buttonProps.previousVisible ? h("ez-button", { key: du.name + "_previous", title: "Registro anterior", mode: "icon", enabled: enabled && du.hasPrevious(), onClick: () => du.previous(), image: "/themes/default/images/icons/actions-sprite.svg#previous-circle-inverted", class: "button--secondary margin-right--medium" }) : null,
|
|
3013
|
+
buttonProps.nextVisible ? h("ez-button", { key: du.name + "_next", title: "Pr\u00F3ximo registro", mode: "icon", enabled: enabled && du.hasNext(), onClick: () => du.next(), image: "/themes/default/images/icons/actions-sprite.svg#next-circle-inverted", class: "button--secondary margin-right--medium" }) : null,
|
|
3014
|
+
buttonProps.removeVisible ? h("ez-button", { key: du.name + "_remove", label: "Remover", enabled: enabled && du.hasCurrentRecord(), onClick: () => removeHandler(du), image: "/themes/default/images/icons/actions-sprite.svg#minus-circle-inverted", class: "button--secondary margin-right--medium" }) : null,
|
|
3015
|
+
buttonProps.addVisible ? h("ez-button", { key: du.name + "_add", label: "Adicionar", enabled: enabled, onClick: () => du.insert(), class: "button--secondary margin-right--medium" }) : null,
|
|
3016
|
+
buttonProps.reloadVisible ? h("ez-button", { key: du.name + "_reload", title: "Recarregar", enabled: enabled, mode: "icon", onClick: () => du.load(), image: "/themes/default/images/icons/actions-sprite.svg#rotate", class: "button--secondary margin-right--medium" }) : null,
|
|
3017
|
+
buttonProps.cancelVisible ? h("ez-button", { key: du.name + "_cancel", label: "Cancelar", enabled: enabled && du.hasChanges(), onClick: () => du.cancel(), class: "button--secondary margin-right--medium" }) : null,
|
|
3018
|
+
buttonProps.saveVisible ? h("ez-button", { key: du.name + "_save", label: "Salvar", enabled: enabled && du.hasChanges(), onClick: () => saveHandler(du), class: "button--primary margin-right--medium" }) : null);
|
|
3013
3019
|
}
|
|
3014
3020
|
else {
|
|
3015
3021
|
return null;
|
|
@@ -3055,7 +3061,7 @@ const selectErrorMessage = (state, dataUnit, recordId, fieldName) => {
|
|
|
3055
3061
|
const selectVisibleButtons = state => state.nonhist.visibleButtons;
|
|
3056
3062
|
|
|
3057
3063
|
class DataUnit {
|
|
3058
|
-
constructor(name, unitLabel, cardinality =
|
|
3064
|
+
constructor(name, unitLabel, cardinality = "1", parentDU = null) {
|
|
3059
3065
|
this.name = name;
|
|
3060
3066
|
this.unitLabel = unitLabel;
|
|
3061
3067
|
this.cardinality = cardinality;
|
|
@@ -3138,13 +3144,13 @@ class DataUnit {
|
|
|
3138
3144
|
}, 100);
|
|
3139
3145
|
}
|
|
3140
3146
|
cancel() {
|
|
3141
|
-
this.records = this.records.filter(r => !r.record__id.startsWith(
|
|
3147
|
+
this.records = this.records.filter(r => !r.record__id.startsWith("NEW_"));
|
|
3142
3148
|
this._store.dispatch(clearEdition$1(this.name, this.records.length - 1));
|
|
3143
3149
|
}
|
|
3144
3150
|
insert() {
|
|
3145
3151
|
const insertionIndex = this.records.length;
|
|
3146
3152
|
const newRecordIndex = selectNewRecordIndex(this._store.getState(), this.name);
|
|
3147
|
-
const newRecord = { record__id:
|
|
3153
|
+
const newRecord = { record__id: "NEW_" + (newRecordIndex + 1) };
|
|
3148
3154
|
this.bindToParent(newRecord);
|
|
3149
3155
|
this.records.push(newRecord);
|
|
3150
3156
|
this._store.dispatch(insertRecord$1(this.name, insertionIndex));
|
|
@@ -3257,7 +3263,7 @@ class DataUnit {
|
|
|
3257
3263
|
}
|
|
3258
3264
|
else {
|
|
3259
3265
|
if (result.__data__unit === this.name) {
|
|
3260
|
-
if (this.cardinality ===
|
|
3266
|
+
if (this.cardinality === "1") {
|
|
3261
3267
|
this.records = [this.buildRecordFromSaveResult(this.records[0], result)];
|
|
3262
3268
|
}
|
|
3263
3269
|
}
|
|
@@ -3268,7 +3274,7 @@ class DataUnit {
|
|
|
3268
3274
|
this._store.dispatch(changesSaved$1(this.name));
|
|
3269
3275
|
}
|
|
3270
3276
|
buildRecordFromSaveResult(baseRecord, saveResult) {
|
|
3271
|
-
const newRecord = baseRecord ? Object.assign({}, baseRecord) : { record__id:
|
|
3277
|
+
const newRecord = baseRecord ? Object.assign({}, baseRecord) : { record__id: "" };
|
|
3272
3278
|
Object.keys(saveResult).forEach(attrib => {
|
|
3273
3279
|
if (!attrib.startsWith("__")) {
|
|
3274
3280
|
newRecord[attrib] = saveResult[attrib];
|
|
@@ -3362,19 +3368,19 @@ const Field = ({ dataUnit, field, forceScroll, enabled }) => {
|
|
|
3362
3368
|
dataUnit.changeValue(name, newValue);
|
|
3363
3369
|
};
|
|
3364
3370
|
switch (userInterface) {
|
|
3365
|
-
case
|
|
3371
|
+
case "LONGTEXT":
|
|
3366
3372
|
return h("div", { class: "col col--sd-12 padding--small" }, loadingData ? h("place-holder", null) :
|
|
3367
|
-
h("ez-text-area", { value: value ||
|
|
3368
|
-
case
|
|
3369
|
-
case
|
|
3373
|
+
h("ez-text-area", { value: value || "", label: formattedLabel, onEzChange: evt => changeFieldHandler(evt.target["value"]), errorMessage: errorMessage, ref: elem => scrollToView(forceScroll, elem), key: key, enabled: isEnabled }));
|
|
3374
|
+
case "CHECKBOX":
|
|
3375
|
+
case "SWITCH":
|
|
3370
3376
|
return h("div", { class: "col col--sd-12 col--tb-3 padding--small align--middle padding-bottom--large" }, loadingData ? h("place-holder", null) :
|
|
3371
|
-
h("ez-check", { value: value, label: label, enabled: isEnabled, mode: userInterface === "CHECKBOX" ? "regular" : "switch", onEzChange: (event) => changeFieldHandler(event.target[
|
|
3372
|
-
case
|
|
3373
|
-
const optsObj = properties ? JSON.parse(getProp(properties,
|
|
3377
|
+
h("ez-check", { value: value, label: label, enabled: isEnabled, mode: userInterface === "CHECKBOX" ? "regular" : "switch", onEzChange: (event) => changeFieldHandler(event.target["value"]), ref: elem => scrollToView(forceScroll, elem), key: key }));
|
|
3378
|
+
case "OPTIONSELECTOR":
|
|
3379
|
+
const optsObj = properties ? JSON.parse(getProp(properties, "options")) : {};
|
|
3374
3380
|
const normalized = Object.keys(optsObj).map(key => { return { value: key, label: optsObj[key] }; });
|
|
3375
3381
|
return h("div", { class: "col col--sd-12 col--tb-3 padding--small" }, loadingData ? h("place-holder", null) :
|
|
3376
|
-
h("ez-combo-box", { value: value, label: formattedLabel, enabled: isEnabled, onEzChange: (event) => changeFieldHandler(event.target[
|
|
3377
|
-
case
|
|
3382
|
+
h("ez-combo-box", { value: value, label: formattedLabel, enabled: isEnabled, onEzChange: (event) => changeFieldHandler(event.target["value"]), errorMessage: errorMessage, ref: elem => scrollToView(forceScroll, elem), key: key, options: normalized }));
|
|
3383
|
+
case "SEARCH":
|
|
3378
3384
|
const context = {
|
|
3379
3385
|
__MAIN_FORM: form,
|
|
3380
3386
|
__DATA_UNIT: dataUnit.name,
|
|
@@ -3398,38 +3404,38 @@ const Field = ({ dataUnit, field, forceScroll, enabled }) => {
|
|
|
3398
3404
|
}
|
|
3399
3405
|
});
|
|
3400
3406
|
if (criteriaList.length > 0) {
|
|
3401
|
-
context[
|
|
3407
|
+
context["CRITERIA"] = criteriaList;
|
|
3402
3408
|
}
|
|
3403
3409
|
return h("div", { class: "col col--sd-12 col--tb-3 padding--small" }, loadingData ? h("place-holder", null) :
|
|
3404
|
-
h("ez-search", { value: value, label: formattedLabel, enabled: isEnabled, onEzChange: (event) => changeFieldHandler(event.target[
|
|
3410
|
+
h("ez-search", { value: value, label: formattedLabel, enabled: isEnabled, onEzChange: (event) => changeFieldHandler(event.target["value"]), errorMessage: errorMessage, optionLoader: (argument) => {
|
|
3405
3411
|
if (form) {
|
|
3406
3412
|
return form.loadSearch(argument, context);
|
|
3407
3413
|
}
|
|
3408
3414
|
}, ref: elem => scrollToView(forceScroll, elem), key: key }));
|
|
3409
|
-
case
|
|
3410
|
-
const target = getProp(properties,
|
|
3411
|
-
const strHeaders = getProp(properties,
|
|
3415
|
+
case "FILE":
|
|
3416
|
+
const target = getProp(properties, "URL");
|
|
3417
|
+
const strHeaders = getProp(properties, "HEADERS");
|
|
3412
3418
|
const headers = strHeaders ? JSON.parse(strHeaders) : {};
|
|
3413
3419
|
const maxfiles = Number(getProp(properties, "maxfiles") || 0);
|
|
3414
3420
|
return (h("div", { class: "col col--sd-12 padding--small" }, loadingData ? h("place-holder", null) :
|
|
3415
3421
|
h("ez-upload", { value: value, label: formattedLabel, enabled: isEnabled, onEzChange: (event) => changeFieldHandler(event.detail), urlUpload: target, requestHeaders: headers, maxFiles: maxfiles })));
|
|
3416
|
-
case
|
|
3422
|
+
case "DATE":
|
|
3417
3423
|
return h("div", { class: "col col--sd-12 col--tb-3 padding--small" }, loadingData ? h("place-holder", null) :
|
|
3418
|
-
h("ez-date-input", { value: !value ? null : DateUtils.clearTime(value), label: formattedLabel, enabled: isEnabled, onEzChange: (event) => changeFieldHandler(event.target[
|
|
3419
|
-
case
|
|
3420
|
-
case
|
|
3424
|
+
h("ez-date-input", { value: !value ? null : DateUtils.clearTime(value), label: formattedLabel, enabled: isEnabled, onEzChange: (event) => changeFieldHandler(event.target["value"]), errorMessage: errorMessage, ref: elem => scrollToView(forceScroll, elem), key: key }));
|
|
3425
|
+
case "DECIMALNUMBER":
|
|
3426
|
+
case "INTEGERNUMBER":
|
|
3421
3427
|
let precision = 0;
|
|
3422
3428
|
let prettyPrecision = 0;
|
|
3423
|
-
if (userInterface ===
|
|
3429
|
+
if (userInterface === "DECIMALNUMBER") {
|
|
3424
3430
|
precision = Number(getProp(properties, "precision") || 2);
|
|
3425
3431
|
prettyPrecision = Number(getProp(properties, "prettyprecision") || precision);
|
|
3426
3432
|
}
|
|
3427
3433
|
return h("div", { class: "col col--sd-12 col--tb-3 padding--small" }, loadingData ? h("place-holder", null) :
|
|
3428
|
-
h("ez-numeric-input", { value: !value ? null : value, label: formattedLabel, enabled: isEnabled, onEzChange: (event) => changeFieldHandler(event.target[
|
|
3434
|
+
h("ez-numeric-input", { value: !value ? null : value, label: formattedLabel, enabled: isEnabled, onEzChange: (event) => changeFieldHandler(event.target["value"]), errorMessage: errorMessage, precision: precision, prettyprecision: prettyPrecision, ref: elem => scrollToView(forceScroll, elem), key: key }));
|
|
3429
3435
|
//IMAGE, DATETIME, ELAPSEDTIME, PASSWORD, MASKEDTEXT, HTML
|
|
3430
3436
|
default:
|
|
3431
3437
|
return h("div", { class: "col col--sd-12 col--tb-3 padding--small" }, loadingData ? h("place-holder", null) :
|
|
3432
|
-
h("ez-text-input", { value: value, label: formattedLabel, enabled: isEnabled, loading: loadingData, onInput: (event) => changeFieldHandler(event.target[
|
|
3438
|
+
h("ez-text-input", { value: value, label: formattedLabel, enabled: isEnabled, loading: loadingData, onInput: (event) => changeFieldHandler(event.target["value"]), errorMessage: errorMessage, ref: elem => scrollToView(forceScroll, elem), key: key }));
|
|
3433
3439
|
}
|
|
3434
3440
|
};
|
|
3435
3441
|
function getProp(properties, name) {
|
|
@@ -3514,8 +3520,9 @@ let EzForm$1 = class extends HTMLElement {
|
|
|
3514
3520
|
this._preparedMetadata = undefined;
|
|
3515
3521
|
}
|
|
3516
3522
|
async validate() {
|
|
3523
|
+
const duSourcesNames = Array.from(this._duSources.keys());
|
|
3517
3524
|
for (let i = 0; i < this._duSources.size; i++) {
|
|
3518
|
-
const duName =
|
|
3525
|
+
const duName = duSourcesNames[i];
|
|
3519
3526
|
let du = this._dataUnits.get(duName);
|
|
3520
3527
|
if (du === undefined) {
|
|
3521
3528
|
const source = this._duSources.get(duName);
|
|
@@ -3529,8 +3536,9 @@ let EzForm$1 = class extends HTMLElement {
|
|
|
3529
3536
|
}
|
|
3530
3537
|
async getChanges() {
|
|
3531
3538
|
let allChanges = [];
|
|
3539
|
+
const dataUnits = Array.from(this._dataUnits.values());
|
|
3532
3540
|
for (let i = 0; i < this._dataUnits.size; i++) {
|
|
3533
|
-
const du =
|
|
3541
|
+
const du = dataUnits[i];
|
|
3534
3542
|
//Só devemos buscar as alterações de DU raiz, pois os sub DUs serão enviados junto.
|
|
3535
3543
|
if (!du.parentDU) {
|
|
3536
3544
|
const duChanges = du.getChangesToSave();
|
|
@@ -3548,15 +3556,15 @@ let EzForm$1 = class extends HTMLElement {
|
|
|
3548
3556
|
}
|
|
3549
3557
|
}
|
|
3550
3558
|
validateRecords(dataUnit, records, triggedBy) {
|
|
3551
|
-
const result = { isValid: true, message:
|
|
3552
|
-
if (this.
|
|
3559
|
+
const result = { isValid: true, message: "" };
|
|
3560
|
+
if (this.ignoreSaveValidation && triggedBy === "SAVE") {
|
|
3553
3561
|
return result;
|
|
3554
3562
|
}
|
|
3555
3563
|
const validateField = (field) => {
|
|
3556
3564
|
if (field.readOnly) {
|
|
3557
3565
|
return false;
|
|
3558
3566
|
}
|
|
3559
|
-
if (field.userInterface ===
|
|
3567
|
+
if (field.userInterface === "SWITCH" || field.userInterface === "CHECKBOX") {
|
|
3560
3568
|
return false;
|
|
3561
3569
|
}
|
|
3562
3570
|
return true;
|
|
@@ -3567,7 +3575,7 @@ let EzForm$1 = class extends HTMLElement {
|
|
|
3567
3575
|
const recordIndex = record["record__index"];
|
|
3568
3576
|
const fieldName = field.name;
|
|
3569
3577
|
const fieldValue = record[fieldName];
|
|
3570
|
-
if (fieldValue === null || fieldValue === undefined || fieldValue ===
|
|
3578
|
+
if (fieldValue === null || fieldValue === undefined || fieldValue === "") {
|
|
3571
3579
|
const tabPosition = this._tabPositionByField.get(dataUnit.name + field.name);
|
|
3572
3580
|
this._store.dispatch(invalidField$1(tabPosition.tabName, tabPosition.index, dataUnit.name, recordIndex, record.record__id, field.name, "Essa informação é obrigatória"));
|
|
3573
3581
|
result.isValid = false;
|
|
@@ -3594,7 +3602,7 @@ let EzForm$1 = class extends HTMLElement {
|
|
|
3594
3602
|
return result;
|
|
3595
3603
|
}
|
|
3596
3604
|
loadMDFromExecutor(callBack) {
|
|
3597
|
-
const loadMetadataFunction = this.parseExecutor(this.
|
|
3605
|
+
const loadMetadataFunction = this.parseExecutor(this.metadataExecutor);
|
|
3598
3606
|
if (loadMetadataFunction) {
|
|
3599
3607
|
const result = loadMetadataFunction();
|
|
3600
3608
|
if (result) {
|
|
@@ -3674,7 +3682,7 @@ let EzForm$1 = class extends HTMLElement {
|
|
|
3674
3682
|
});
|
|
3675
3683
|
this._store = createStore(rootReducer, applyMiddleware(thunk));
|
|
3676
3684
|
this._store.subscribe(() => { forceUpdate(this); });
|
|
3677
|
-
if (this.
|
|
3685
|
+
if (this.slaveMode) {
|
|
3678
3686
|
this._store.dispatch(showHideNavigationButtons("saveVisible", false));
|
|
3679
3687
|
this._store.dispatch(showHideNavigationButtons("cancelVisible", false));
|
|
3680
3688
|
this._store.dispatch(showHideNavigationButtons("reloadVisible", false));
|
|
@@ -3697,12 +3705,12 @@ let EzForm$1 = class extends HTMLElement {
|
|
|
3697
3705
|
this._duToLoad = [];
|
|
3698
3706
|
}
|
|
3699
3707
|
loadSearch(argument, context) {
|
|
3700
|
-
const fieldSearchExecutor = this.parseExecutor(this.
|
|
3708
|
+
const fieldSearchExecutor = this.parseExecutor(this.fieldSearchExecutor);
|
|
3701
3709
|
if (fieldSearchExecutor) {
|
|
3702
3710
|
return fieldSearchExecutor(argument, context);
|
|
3703
3711
|
}
|
|
3704
3712
|
else {
|
|
3705
|
-
return [{ value: 0, label:
|
|
3713
|
+
return [{ value: 0, label: "Sem resultados" }];
|
|
3706
3714
|
}
|
|
3707
3715
|
}
|
|
3708
3716
|
buildDataUnit(dataUnit, parentDataUnit) {
|
|
@@ -3729,9 +3737,9 @@ let EzForm$1 = class extends HTMLElement {
|
|
|
3729
3737
|
}
|
|
3730
3738
|
decorateDU(dataUnit) {
|
|
3731
3739
|
dataUnit.store = this._store;
|
|
3732
|
-
dataUnit.loadExecutor = this.parseExecutor(this.
|
|
3733
|
-
dataUnit.saveExecutor = this.parseExecutor(this.
|
|
3734
|
-
dataUnit.removeExecutor = this.parseExecutor(this.
|
|
3740
|
+
dataUnit.loadExecutor = this.parseExecutor(this.loadExecutor);
|
|
3741
|
+
dataUnit.saveExecutor = this.parseExecutor(this.saveExecutor);
|
|
3742
|
+
dataUnit.removeExecutor = this.parseExecutor(this.removeExecutor);
|
|
3735
3743
|
dataUnit.recordsValidator = this;
|
|
3736
3744
|
}
|
|
3737
3745
|
render() {
|
|
@@ -4347,7 +4355,7 @@ let NumberInput = class extends HTMLElement {
|
|
|
4347
4355
|
static get style() { return ezNumberInputCss; }
|
|
4348
4356
|
};
|
|
4349
4357
|
|
|
4350
|
-
const ezNumericInputCss = ":host{display:block;width:100%;--
|
|
4358
|
+
const ezNumericInputCss = ":host{display:block;width:100%;--ez-text-input__input--background-color:var(--background--medium, #e0e0e0);--ez-text-input__input--border-color:var(--ez-text-input__input--background-color)}.text-input{--ez-text-input__input--background-color:inherit;--ez-text-input__input--border-color:inherit}";
|
|
4351
4359
|
|
|
4352
4360
|
let EzNumericInput$1 = class extends HTMLElement {
|
|
4353
4361
|
constructor() {
|
|
@@ -4914,7 +4922,7 @@ let EzTextArea$1 = class extends HTMLElement {
|
|
|
4914
4922
|
static get style() { return ezTextAreaCss; }
|
|
4915
4923
|
};
|
|
4916
4924
|
|
|
4917
|
-
const ezTextInputCss = ":host{--text-input--height:42px;--text-input--width:100%;--text-input__icon--width:48px;--text-input--border-radius:var(--border--radius-medium, 12px);--text-input--font-size:var(--text--medium, 14px);--text-input--font-family:var(--font-pattern, Arial);--text-input--font-weight:var(--text-weight--large, 500);--text-input--color:var(--title--primary, #000);--text-input__input--background-color:var(--background--medium, #e0e0e0);--text-input__input--border:var(--border--medium, 2px solid);--text-input__input--border-color:var(--text-input__input--background-color);--text-input__input--focus--border-color:var(--color--alert-cold-800, #042EFF);--text-input__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--text-input__input--disabled--color:var(--text--disable, #AFB6C0);--text-input__input--error--border-color:#CC2936;--text-input__message_box--font-size:var(--text--small, 12px);--text-input__message_box--info--color:var(--color--success, #22085d);--text-input__message_box--error--color:var(--color--error, #FF0000);--text-input__label--floating--top:6px;--text-input__label--padding-top:12px;--text-input__label--padding-left:14px;--text-input__label--padding-right:12px;display:flex;flex-wrap:wrap;position:relative;width:var(--text-input--width)}input{width:100%;box-sizing:border-box;padding:var(--space--medium, 6px);font-weight:var(--text-weight--large, 600);height:var(--text-input--height);border-radius:var(--text-input--border-radius);font-family:var(--text-input--font-family);font-size:var(--text-input--font-size);border:var(--text-input__input--border);border-color:var(--text-input__input--border-color);background-color:var(--text-input__input--background-color);color:var(--text-input--color)}input:disabled{background-color:var(--text-input__input--disabled--background-color);color:var(--text-input__input--disabled--color)}input:focus{outline:none;border-color:var(--text-input__input--focus--border-color)}input.icon--left{padding-left:var(--text-input__icon--width)}input.icon--right{padding-right:var(--text-input__icon--width)}input.hasError{color:var(--text-input--color);border-color:var(--text-input__input--error--border-color)}input.text--right{text-align:right}.message-box{display:flex;min-height:16px;min-width:100%;margin-top:2px;line-height:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--text-input--font-family);font-size:var(--text-input__message_box--font-size);color:var(--text-input__message_box--info--color)}.hasError{color:var(--text-input__message_box--error--color)}.input__label{box-sizing:border-box;position:absolute;z-index:var(--visible);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-transition:font-size .05s, top .05s;transition:font-size .05s, top .05s;width:calc(100% - var(--text-input__label--padding-right));left:var(--text-input--space--medium);font-family:var(--text-input--font-family);font-size:var(--text-input--font-size);font-weight:var(--text-input--font-weight);color:var(--text-input--color);top:var(--text-input__label--padding-top);left:var(--text-input__label--padding-left);padding-right:var(--text-input__label--padding-right)}.input__label--floated{font-family:var(--text-input--font-family);font-size:var(--text--extra-small);color:var(--text--primary);top:var(--text-input__label--floating--top)}.input__label--disabled{color:var(--text-input__input--disabled--color)}.input__label--left{text-align:left;left:calc(var(--text-input__icon--width) + 2px);width:calc(100% - var(--text-input__icon--width))}.input__label--right{right:var(--text-input__icon--width);width:calc(100% - var(--text-input__icon--width))}.input__label--left.input__label--right{left:calc(var(--text-input__icon--width) + 2px);width:calc(100% - var(--text-input__icon--width) * 2)}.input--with--label{padding-bottom:0}";
|
|
4925
|
+
const ezTextInputCss = ":host{--ez-text-input--height:42px;--ez-text-input--width:100%;--ez-text-input__icon--width:48px;--ez-text-input--border-radius:var(--border--radius-medium, 12px);--ez-text-input--font-size:var(--text--medium, 14px);--ez-text-input--font-family:var(--font-pattern, Arial);--ez-text-input--font-weight:var(--text-weight--large, 500);--ez-text-input--color:var(--title--primary, #000);--ez-text-input__input--background-color:var(--background--medium, #e0e0e0);--ez-text-input__input--border:var(--border--medium, 2px solid);--ez-text-input__input--border-color:var(--ez-text-input__input--background-color);--ez-text-input__input--focus--border-color:var(--color--alert-cold-800, #042EFF);--ez-text-input__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--ez-text-input__input--disabled--color:var(--text--disable, #AFB6C0);--ez-text-input__input--error--border-color:#CC2936;--ez-text-input__message_box--font-size:var(--text--small, 12px);--ez-text-input__message_box--info--color:var(--color--success, #22085d);--ez-text-input__message_box--error--color:var(--color--error, #FF0000);--ez-text-input__label--floating--top:6px;--ez-text-input__label--padding-top:12px;--ez-text-input__label--padding-left:14px;--ez-text-input__label--padding-right:12px;display:flex;flex-wrap:wrap;position:relative;width:var(--ez-text-input--width)}input{width:100%;box-sizing:border-box;padding:var(--space--medium, 6px);font-weight:var(--text-weight--large, 600);height:var(--ez-text-input--height);border-radius:var(--ez-text-input--border-radius);font-family:var(--ez-text-input--font-family);font-size:var(--ez-text-input--font-size);border:var(--ez-text-input__input--border);border-color:var(--ez-text-input__input--border-color);background-color:var(--ez-text-input__input--background-color);color:var(--ez-text-input--color)}input:disabled{background-color:var(--ez-text-input__input--disabled--background-color);color:var(--ez-text-input__input--disabled--color)}input:focus{outline:none;border-color:var(--ez-text-input__input--focus--border-color)}input.icon--left{padding-left:var(--ez-text-input__icon--width)}input.icon--right{padding-right:var(--ez-text-input__icon--width)}input.hasError{color:var(--ez-text-input--color);border-color:var(--ez-text-input__input--error--border-color)}input.text--right{text-align:right}.message-box{display:flex;min-height:16px;min-width:100%;margin-top:2px;line-height:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--ez-text-input--font-family);font-size:var(--ez-text-input__message_box--font-size);color:var(--ez-text-input__message_box--info--color)}.hasError{color:var(--ez-text-input__message_box--error--color)}.input__label{box-sizing:border-box;position:absolute;z-index:var(--visible);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-transition:font-size .05s, top .05s;transition:font-size .05s, top .05s;width:calc(100% - var(--ez-text-input__label--padding-right));left:var(--ez-text-input--space--medium);font-family:var(--ez-text-input--font-family);font-size:var(--ez-text-input--font-size);font-weight:var(--ez-text-input--font-weight);color:var(--ez-text-input--color);top:var(--ez-text-input__label--padding-top);left:var(--ez-text-input__label--padding-left);padding-right:var(--ez-text-input__label--padding-right)}.input__label--floated{font-family:var(--ez-text-input--font-family);font-size:var(--text--extra-small);color:var(--text--primary);top:var(--ez-text-input__label--floating--top)}.input__label--disabled{color:var(--ez-text-input__input--disabled--color)}.input__label--left{text-align:left;left:calc(var(--ez-text-input__icon--width) + 2px);width:calc(100% - var(--ez-text-input__icon--width))}.input__label--right{right:var(--ez-text-input__icon--width);width:calc(100% - var(--ez-text-input__icon--width))}.input__label--left.input__label--right{left:calc(var(--ez-text-input__icon--width) + 2px);width:calc(100% - var(--ez-text-input__icon--width) * 2)}.input--with--label{padding-bottom:0}";
|
|
4918
4926
|
|
|
4919
4927
|
let EzTextInput$1 = class extends HTMLElement {
|
|
4920
4928
|
constructor() {
|
|
@@ -4928,14 +4936,14 @@ let EzTextInput$1 = class extends HTMLElement {
|
|
|
4928
4936
|
this.enabled = true;
|
|
4929
4937
|
}
|
|
4930
4938
|
showError() {
|
|
4931
|
-
const hasError = typeof this.errorMessage ===
|
|
4939
|
+
const hasError = typeof this.errorMessage === "string" && this.errorMessage !== "";
|
|
4932
4940
|
if (hasError) {
|
|
4933
|
-
this._inputElem.classList.add(
|
|
4934
|
-
this._messageBoxElem.classList.add(
|
|
4941
|
+
this._inputElem.classList.add("hasError");
|
|
4942
|
+
this._messageBoxElem.classList.add("hasError");
|
|
4935
4943
|
}
|
|
4936
4944
|
else {
|
|
4937
|
-
this._inputElem.classList.remove(
|
|
4938
|
-
this._messageBoxElem.classList.remove(
|
|
4945
|
+
this._inputElem.classList.remove("hasError");
|
|
4946
|
+
this._messageBoxElem.classList.remove("hasError");
|
|
4939
4947
|
}
|
|
4940
4948
|
}
|
|
4941
4949
|
prepareMask() {
|
|
@@ -4953,7 +4961,7 @@ let EzTextInput$1 = class extends HTMLElement {
|
|
|
4953
4961
|
this._inputElem.value = this.value;
|
|
4954
4962
|
}
|
|
4955
4963
|
this.handleChange();
|
|
4956
|
-
this.ezChange.emit();
|
|
4964
|
+
this.ezChange.emit(this.value);
|
|
4957
4965
|
this.adjustFloatingLabel();
|
|
4958
4966
|
}
|
|
4959
4967
|
adjustFloatingLabel() {
|
|
@@ -5038,22 +5046,22 @@ let EzTextInput$1 = class extends HTMLElement {
|
|
|
5038
5046
|
content.style.justifyContent = "center";
|
|
5039
5047
|
content.style.overflow = "hidden";
|
|
5040
5048
|
content.style.top = "0px";
|
|
5041
|
-
content.style.width = "var(--text-input__icon--width)";
|
|
5042
|
-
content.style.height = "var(--text-input--height)";
|
|
5049
|
+
content.style.width = "var(--ez-text-input__icon--width)";
|
|
5050
|
+
content.style.height = "var(--ez-text-input--height)";
|
|
5043
5051
|
if (slot.name == "leftIcon") {
|
|
5044
5052
|
content.style.left = "0px";
|
|
5045
|
-
content.style.borderRadius = "var(--text-input--border-radius) 0 0 var(--text-input--border-radius)";
|
|
5046
|
-
this._inputElem.classList.add(
|
|
5053
|
+
content.style.borderRadius = "var(--ez-text-input--border-radius) 0 0 var(--ez-text-input--border-radius)";
|
|
5054
|
+
this._inputElem.classList.add("icon--left");
|
|
5047
5055
|
if (this._labelElem) {
|
|
5048
|
-
this._labelElem.classList.add(
|
|
5056
|
+
this._labelElem.classList.add("input__label--left");
|
|
5049
5057
|
}
|
|
5050
5058
|
}
|
|
5051
5059
|
else if (slot.name == "rightIcon") {
|
|
5052
5060
|
content.style.right = "0px";
|
|
5053
|
-
content.style.borderRadius = "0 var(--text-input--border-radius) var(--text-input--border-radius) 0";
|
|
5054
|
-
this._inputElem.classList.add(
|
|
5061
|
+
content.style.borderRadius = "0 var(--ez-text-input--border-radius) var(--ez-text-input--border-radius) 0";
|
|
5062
|
+
this._inputElem.classList.add("icon--right");
|
|
5055
5063
|
if (this._labelElem) {
|
|
5056
|
-
this._labelElem.classList.add(
|
|
5064
|
+
this._labelElem.classList.add("input__label--right");
|
|
5057
5065
|
}
|
|
5058
5066
|
}
|
|
5059
5067
|
}
|
|
@@ -5103,6 +5111,25 @@ let EzTextInput$1 = class extends HTMLElement {
|
|
|
5103
5111
|
static get style() { return ezTextInputCss; }
|
|
5104
5112
|
};
|
|
5105
5113
|
|
|
5114
|
+
const getSpritePath = (sprite) => `${getContextAssetsPath("../assets/actions-sprite.svg")}#${sprite}`;
|
|
5115
|
+
let ctxLoaded = false;
|
|
5116
|
+
function getContextAssetsPath(resource) {
|
|
5117
|
+
if (!ctxLoaded) {
|
|
5118
|
+
const scriptElem = document.querySelector("script[data-ezui-assets-url]");
|
|
5119
|
+
if (scriptElem) {
|
|
5120
|
+
let assetsPath = scriptElem.dataset.ezuiAssetsUrl;
|
|
5121
|
+
if (assetsPath) {
|
|
5122
|
+
if (assetsPath.startsWith('/')) {
|
|
5123
|
+
assetsPath = window.location.origin + assetsPath;
|
|
5124
|
+
}
|
|
5125
|
+
setAssetPath(assetsPath);
|
|
5126
|
+
}
|
|
5127
|
+
}
|
|
5128
|
+
ctxLoaded = true;
|
|
5129
|
+
}
|
|
5130
|
+
return getAssetPath(resource);
|
|
5131
|
+
}
|
|
5132
|
+
|
|
5106
5133
|
const ezTimeInputCss = ":host{display:flex;flex-wrap:wrap;position:relative;width:100%}";
|
|
5107
5134
|
|
|
5108
5135
|
let EzTimeInput$1 = class extends HTMLElement {
|
|
@@ -5202,7 +5229,7 @@ let EzTimeInput$1 = class extends HTMLElement {
|
|
|
5202
5229
|
}
|
|
5203
5230
|
}
|
|
5204
5231
|
render() {
|
|
5205
|
-
return (h(Host, null, h("ez-text-input", { ref: (el) => this._inputElem = el, value: this.viewValue, enabled: this.enabled, label: this.label, onInput: () => { this.handleChange(); }, onFocusout: () => { this.handleFocusout(); }, errorMessage: this.errorMessage }, h("ez-icon", { slot: "leftIcon", href:
|
|
5232
|
+
return (h(Host, null, h("ez-text-input", { ref: (el) => this._inputElem = el, value: this.viewValue, enabled: this.enabled, label: this.label, onInput: () => { this.handleChange(); }, onFocusout: () => { this.handleFocusout(); }, errorMessage: this.errorMessage }, h("ez-icon", { slot: "leftIcon", href: getSpritePath("timer-outline") }))));
|
|
5206
5233
|
}
|
|
5207
5234
|
static get assetsDirs() { return ["../assets"]; }
|
|
5208
5235
|
get _elem() { return this; }
|
|
@@ -5602,7 +5629,7 @@ let FormMetadata$1 = class extends HTMLElement {
|
|
|
5602
5629
|
label = "Selecione uma das opções:";
|
|
5603
5630
|
}
|
|
5604
5631
|
const objOpts = {};
|
|
5605
|
-
Array.from(element.getElementsByTagName(
|
|
5632
|
+
Array.from(element.getElementsByTagName("OPTION")).forEach((optElem, index) => {
|
|
5606
5633
|
const optValue = optElem.getAttribute("value") || index;
|
|
5607
5634
|
const optLabel = optElem.textContent;
|
|
5608
5635
|
objOpts[optValue] = optLabel;
|
|
@@ -5610,15 +5637,15 @@ let FormMetadata$1 = class extends HTMLElement {
|
|
|
5610
5637
|
properties.push({ name: "options", value: JSON.stringify(objOpts) });
|
|
5611
5638
|
}
|
|
5612
5639
|
else if (userInterface === "FILE") {
|
|
5613
|
-
const urlElement = element.querySelector(
|
|
5614
|
-
const headersElement = element.querySelectorAll(
|
|
5640
|
+
const urlElement = element.querySelector("URL");
|
|
5641
|
+
const headersElement = element.querySelectorAll("HEADERS>HEADER");
|
|
5615
5642
|
if (urlElement) {
|
|
5616
5643
|
properties.push({ name: "URL", value: urlElement.textContent });
|
|
5617
5644
|
}
|
|
5618
5645
|
if (headersElement && headersElement.length > 0) {
|
|
5619
5646
|
const headers = {};
|
|
5620
5647
|
headersElement.forEach(header => {
|
|
5621
|
-
headers[header.getAttribute(
|
|
5648
|
+
headers[header.getAttribute("name")] = header.textContent;
|
|
5622
5649
|
});
|
|
5623
5650
|
properties.push({ name: "HEADERS", value: JSON.stringify(headers) });
|
|
5624
5651
|
}
|
|
@@ -5644,7 +5671,7 @@ let FormMetadata$1 = class extends HTMLElement {
|
|
|
5644
5671
|
}
|
|
5645
5672
|
buildFieldSet(dataUnit, element) {
|
|
5646
5673
|
const label = element.getAttribute("label");
|
|
5647
|
-
const fields = Array.from(element.getElementsByTagName(
|
|
5674
|
+
const fields = Array.from(element.getElementsByTagName("FIELD")).map(f => {
|
|
5648
5675
|
const field = this.buildField(f);
|
|
5649
5676
|
dataUnit.addFieldMetadata(field);
|
|
5650
5677
|
return { name: field.name };
|
|
@@ -5661,7 +5688,7 @@ let FormMetadata$1 = class extends HTMLElement {
|
|
|
5661
5688
|
Array.from(elements).forEach(child => {
|
|
5662
5689
|
const tagName = child.tagName.toUpperCase();
|
|
5663
5690
|
switch (tagName) {
|
|
5664
|
-
case
|
|
5691
|
+
case "FIELD":
|
|
5665
5692
|
if (!form.items) {
|
|
5666
5693
|
form.items = [];
|
|
5667
5694
|
}
|
|
@@ -5669,13 +5696,13 @@ let FormMetadata$1 = class extends HTMLElement {
|
|
|
5669
5696
|
dataUnit.addFieldMetadata(f);
|
|
5670
5697
|
form.items.push({ name: f.name });
|
|
5671
5698
|
break;
|
|
5672
|
-
case
|
|
5699
|
+
case "FIELD-SET":
|
|
5673
5700
|
if (!form.items) {
|
|
5674
5701
|
form.items = [];
|
|
5675
5702
|
}
|
|
5676
5703
|
form.items.push(this.buildFieldSet(dataUnit, child));
|
|
5677
5704
|
break;
|
|
5678
|
-
case
|
|
5705
|
+
case "SUB-FORM":
|
|
5679
5706
|
if (!form.subForms) {
|
|
5680
5707
|
form.subForms = [];
|
|
5681
5708
|
}
|
|
@@ -5684,7 +5711,7 @@ let FormMetadata$1 = class extends HTMLElement {
|
|
|
5684
5711
|
const subDuName = child.getAttribute("dataunit");
|
|
5685
5712
|
let subDu;
|
|
5686
5713
|
if (subDuName) {
|
|
5687
|
-
subDu = new DataUnit(subDuName,
|
|
5714
|
+
subDu = new DataUnit(subDuName, "noname", child.hasAttribute("many") ? "N" : "1");
|
|
5688
5715
|
}
|
|
5689
5716
|
else {
|
|
5690
5717
|
subDu = dataUnit;
|
|
@@ -5699,7 +5726,7 @@ let FormMetadata$1 = class extends HTMLElement {
|
|
|
5699
5726
|
if (!this.dataunit) {
|
|
5700
5727
|
this.dataunit = "dataunit_" + (this.name || this.label || new Date().getTime());
|
|
5701
5728
|
}
|
|
5702
|
-
const du = new DataUnit(this.dataunit,
|
|
5729
|
+
const du = new DataUnit(this.dataunit, "noname", this.many ? "N" : "1");
|
|
5703
5730
|
this.metadata = this.fromElements(this._host.children, this.label, this.name, du, this.autoload);
|
|
5704
5731
|
}
|
|
5705
5732
|
render() {
|
|
@@ -5726,11 +5753,11 @@ const EzActionChip = /*@__PURE__*/proxyCustomElement(EzLabelChip$2, [1,"ez-actio
|
|
|
5726
5753
|
const EzButton = /*@__PURE__*/proxyCustomElement(EzButton$1, [1,"ez-button",{"label":[513],"enabled":[516],"mode":[513],"image":[513]}]);
|
|
5727
5754
|
const EzCalendar = /*@__PURE__*/proxyCustomElement(EzCalendar$1, [1,"ez-calendar",{"value":[1040],"floating":[516]}]);
|
|
5728
5755
|
const EzCheck = /*@__PURE__*/proxyCustomElement(EzCheck$1, [1,"ez-check",{"label":[513],"value":[1540],"enabled":[516],"mode":[513]}]);
|
|
5729
|
-
const EzCollapsibleBox = /*@__PURE__*/proxyCustomElement(EzCollapsibleBox$1, [1,"ez-collapsible-box",{"value":[1540],"label":[513],"
|
|
5756
|
+
const EzCollapsibleBox = /*@__PURE__*/proxyCustomElement(EzCollapsibleBox$1, [1,"ez-collapsible-box",{"value":[1540],"label":[513],"headerSize":[513,"header-size"],"iconPlacement":[513,"icon-placement"]}]);
|
|
5730
5757
|
const EzComboBox = /*@__PURE__*/proxyCustomElement(EzComboBox$1, [1,"ez-combo-box",{"value":[1537],"label":[513],"enabled":[516],"options":[1040],"errorMessage":[1537,"error-message"],"searchMode":[4,"search-mode"],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"optionLoader":[16],"_preSelection":[32],"_visibleOptions":[32]}]);
|
|
5731
5758
|
const EzDateInput = /*@__PURE__*/proxyCustomElement(EzDateInput$1, [1,"ez-date-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"]}]);
|
|
5732
5759
|
const EzDialog = /*@__PURE__*/proxyCustomElement(EzDialog$1, [1,"ez-dialog",{"confirm":[1028],"critical":[1028],"message":[1025],"opened":[1540],"personalizedIconPath":[1025,"personalized-icon-path"],"ezTitle":[1025,"ez-title"]}]);
|
|
5733
|
-
const EzForm = /*@__PURE__*/proxyCustomElement(EzForm$1, [0,"ez-form",{"
|
|
5760
|
+
const EzForm = /*@__PURE__*/proxyCustomElement(EzForm$1, [0,"ez-form",{"metadataExecutor":[1,"metadata-executor"],"loadExecutor":[1,"load-executor"],"saveExecutor":[1,"save-executor"],"removeExecutor":[1,"remove-executor"],"fieldSearchExecutor":[1,"field-search-executor"],"ignoreSaveValidation":[4,"ignore-save-validation"],"metadata":[16],"slaveMode":[4,"slave-mode"],"enabled":[4],"loading":[1540]}]);
|
|
5734
5761
|
const EzIcon = /*@__PURE__*/proxyCustomElement(EzIcon$1, [1,"ez-icon",{"size":[513],"href":[513]}]);
|
|
5735
5762
|
const EzLabelChip = /*@__PURE__*/proxyCustomElement(EzLabelChip$1, [1,"ez-label-chip",{"label":[513],"enabled":[516],"removable":[516],"value":[1540]}]);
|
|
5736
5763
|
const EzList = /*@__PURE__*/proxyCustomElement(EzList$1, [1,"ez-list",{"initialList":[1040],"draggable":[4],"isMultipleSelection":[1540,"is-multiple-selection"]}]);
|