@sankhyalabs/ezui 3.0.0 → 3.0.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/ez-actions-button.cjs.entry.js +12 -26
- package/dist/cjs/ez-alert.cjs.entry.js +2 -5
- package/dist/cjs/ez-application.cjs.entry.js +2 -2
- package/dist/cjs/ez-breadcrumb.cjs.entry.js +2 -5
- package/dist/cjs/ez-button.cjs.entry.js +6 -8
- package/dist/cjs/ez-calendar.cjs.entry.js +2 -14
- package/dist/cjs/ez-card-item.cjs.entry.js +3 -2
- package/dist/cjs/ez-check.cjs.entry.js +5 -8
- package/dist/cjs/ez-chip.cjs.entry.js +8 -11
- package/dist/cjs/ez-collapsible-box.cjs.entry.js +4 -20
- package/dist/cjs/ez-combo-box.cjs.entry.js +11 -23
- package/dist/cjs/ez-date-input.cjs.entry.js +5 -8
- package/dist/cjs/ez-date-time-input.cjs.entry.js +5 -11
- package/dist/cjs/ez-dialog.cjs.entry.js +7 -9
- package/dist/cjs/ez-dropdown.cjs.entry.js +4 -5
- package/dist/cjs/ez-file-item.cjs.entry.js +5 -8
- package/dist/cjs/ez-filter-input_4.cjs.entry.js +14 -23
- package/dist/cjs/ez-form-view.cjs.entry.js +3 -2
- package/dist/cjs/ez-form.cjs.entry.js +26 -20
- package/dist/cjs/ez-grid.cjs.entry.js +11131 -6779
- package/dist/cjs/ez-guide-navigator.cjs.entry.js +3 -11
- package/dist/cjs/ez-icon.cjs.entry.js +4 -5
- package/dist/cjs/ez-list.cjs.entry.js +4 -15
- package/dist/cjs/ez-loading-bar.cjs.entry.js +2 -2
- package/dist/cjs/ez-modal-container.cjs.entry.js +8 -5
- package/dist/cjs/ez-modal.cjs.entry.js +7 -14
- package/dist/cjs/ez-number-input.cjs.entry.js +7 -8
- package/dist/cjs/ez-popover.cjs.entry.js +11 -30
- package/dist/cjs/ez-popup.cjs.entry.js +3 -14
- package/dist/cjs/ez-radio-button.cjs.entry.js +4 -11
- package/dist/cjs/ez-search.cjs.entry.js +6 -17
- package/dist/cjs/ez-tabselector.cjs.entry.js +6 -2
- package/dist/cjs/ez-text-area.cjs.entry.js +5 -14
- package/dist/cjs/ez-text-edit.cjs.entry.js +5 -2
- package/dist/cjs/ez-text-input.cjs.entry.js +7 -14
- package/dist/cjs/ez-time-input.cjs.entry.js +5 -11
- package/dist/cjs/ez-toast.cjs.entry.js +3 -11
- package/dist/cjs/ez-upload.cjs.entry.js +9 -5
- package/dist/cjs/ez-view-stack.cjs.entry.js +2 -2
- package/dist/cjs/ezui.cjs.js +6 -2
- package/dist/cjs/{index-5e208fa5.js → index-892780f1.js} +588 -248
- package/dist/cjs/loader.cjs.js +3 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/ez-actions-button/ez-actions-button.js +248 -256
- package/dist/collection/components/ez-alert/ez-alert.js +34 -36
- package/dist/collection/components/ez-application/ez-application.js +29 -23
- package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.js +61 -60
- package/dist/collection/components/ez-button/ez-button.js +159 -159
- package/dist/collection/components/ez-calendar/ez-calendar.js +214 -244
- package/dist/collection/components/ez-card-item/ez-card-item.js +60 -58
- package/dist/collection/components/ez-check/ez-check.js +164 -157
- package/dist/collection/components/ez-chip/ez-chip.css +4 -0
- package/dist/collection/components/ez-chip/ez-chip.js +192 -188
- package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js +282 -293
- package/dist/collection/components/ez-combo-box/ez-combo-box.js +348 -361
- package/dist/collection/components/ez-date-input/ez-date-input.js +213 -207
- package/dist/collection/components/ez-date-time-input/ez-date-time-input.js +233 -228
- package/dist/collection/components/ez-dialog/ez-dialog.js +203 -209
- package/dist/collection/components/ez-dropdown/ez-dropdown.js +128 -127
- package/dist/collection/components/ez-dropdown/structure/DropdownItem.js +1 -4
- package/dist/collection/components/ez-file-item/ez-file-item.js +144 -142
- package/dist/collection/components/ez-filter-input/ez-filter-input.js +197 -188
- package/dist/collection/components/ez-form/DataBinder.js +12 -6
- package/dist/collection/components/ez-form/ez-form.js +191 -177
- package/dist/collection/components/ez-form-view/ez-form-view.js +38 -29
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js +1 -2
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js +1 -2
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js +3 -6
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js +1 -2
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js +1 -2
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js +1 -2
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js +1 -2
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js +1 -2
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +20 -1
- package/dist/collection/components/ez-grid/controller/ag-grid/mock/Server.js +1 -1
- package/dist/collection/components/ez-grid/ez-grid.js +366 -352
- package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.js +120 -125
- package/dist/collection/components/ez-icon/ez-icon.js +68 -64
- package/dist/collection/components/ez-list/ez-list.js +246 -266
- package/dist/collection/components/ez-loading-bar/ez-loading-bar.js +49 -42
- package/dist/collection/components/ez-modal/ez-modal.js +143 -143
- package/dist/collection/components/ez-modal-container/ez-modal-container.js +153 -155
- package/dist/collection/components/ez-number-input/ez-number-input.js +246 -233
- package/dist/collection/components/ez-popover/ez-popover.js +273 -283
- package/dist/collection/components/ez-popup/ez-popup.js +121 -133
- package/dist/collection/components/ez-radio-button/ez-radio-button.js +123 -126
- package/dist/collection/components/ez-scroller/ez-scroller.js +104 -100
- package/dist/collection/components/ez-search/ez-search.js +260 -259
- package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.js +30 -25
- package/dist/collection/components/ez-tabselector/ez-tabselector.js +115 -106
- package/dist/collection/components/ez-text-area/ez-text-area.js +217 -218
- package/dist/collection/components/ez-text-edit/ez-text-edit.js +109 -96
- package/dist/collection/components/ez-text-input/ez-text-input.js +248 -248
- package/dist/collection/components/ez-time-input/ez-time-input.js +227 -223
- package/dist/collection/components/ez-toast/ez-toast.js +117 -121
- package/dist/collection/components/ez-tree/ez-tree.js +289 -275
- package/dist/collection/components/ez-tree/subcomponents/TreeItem.js +7 -11
- package/dist/collection/components/ez-upload/ez-upload.js +283 -281
- package/dist/collection/components/ez-view-stack/ez-view-stack.js +46 -40
- package/dist/custom-elements/index.js +11121 -6945
- package/dist/esm/ez-actions-button.entry.js +12 -26
- package/dist/esm/ez-alert.entry.js +2 -5
- package/dist/esm/ez-application.entry.js +2 -2
- package/dist/esm/ez-breadcrumb.entry.js +2 -5
- package/dist/esm/ez-button.entry.js +6 -8
- package/dist/esm/ez-calendar.entry.js +2 -14
- package/dist/esm/ez-card-item.entry.js +3 -2
- package/dist/esm/ez-check.entry.js +5 -8
- package/dist/esm/ez-chip.entry.js +8 -11
- package/dist/esm/ez-collapsible-box.entry.js +4 -20
- package/dist/esm/ez-combo-box.entry.js +11 -23
- package/dist/esm/ez-date-input.entry.js +5 -8
- package/dist/esm/ez-date-time-input.entry.js +5 -11
- package/dist/esm/ez-dialog.entry.js +7 -9
- package/dist/esm/ez-dropdown.entry.js +4 -5
- package/dist/esm/ez-file-item.entry.js +5 -8
- package/dist/esm/ez-filter-input_4.entry.js +14 -23
- package/dist/esm/ez-form-view.entry.js +3 -2
- package/dist/esm/ez-form.entry.js +26 -20
- package/dist/esm/ez-grid.entry.js +11131 -6779
- package/dist/esm/ez-guide-navigator.entry.js +3 -11
- package/dist/esm/ez-icon.entry.js +4 -5
- package/dist/esm/ez-list.entry.js +4 -15
- package/dist/esm/ez-loading-bar.entry.js +2 -2
- package/dist/esm/ez-modal-container.entry.js +8 -5
- package/dist/esm/ez-modal.entry.js +7 -14
- package/dist/esm/ez-number-input.entry.js +7 -8
- package/dist/esm/ez-popover.entry.js +11 -30
- package/dist/esm/ez-popup.entry.js +3 -14
- package/dist/esm/ez-radio-button.entry.js +4 -11
- package/dist/esm/ez-search.entry.js +6 -17
- package/dist/esm/ez-tabselector.entry.js +6 -2
- package/dist/esm/ez-text-area.entry.js +5 -14
- package/dist/esm/ez-text-edit.entry.js +5 -2
- package/dist/esm/ez-text-input.entry.js +7 -14
- package/dist/esm/ez-time-input.entry.js +5 -11
- package/dist/esm/ez-toast.entry.js +3 -11
- package/dist/esm/ez-upload.entry.js +9 -5
- package/dist/esm/ez-view-stack.entry.js +2 -2
- package/dist/esm/ezui.js +3 -2
- package/dist/esm/{index-c5203f95.js → index-de655f48.js} +588 -249
- package/dist/esm/loader.js +3 -2
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/p-06b3e801.entry.js +1 -0
- package/dist/ezui/p-07b99b94.entry.js +1 -0
- package/dist/ezui/p-0c7e81fe.entry.js +1 -0
- package/dist/ezui/p-1581fece.entry.js +1 -0
- package/dist/ezui/p-1b95836f.entry.js +1 -0
- package/dist/ezui/p-36f7ec68.entry.js +1 -0
- package/dist/ezui/p-37b4bf04.entry.js +1 -0
- package/dist/ezui/p-493e2af4.entry.js +1 -0
- package/dist/ezui/p-4bfed869.entry.js +1 -0
- package/dist/ezui/p-600f1732.entry.js +1 -0
- package/dist/ezui/p-62481744.entry.js +1 -0
- package/dist/ezui/p-6818dd0a.entry.js +1 -0
- package/dist/ezui/p-695facd0.entry.js +1 -0
- package/dist/ezui/p-7ffd12e7.js +2 -0
- package/dist/ezui/p-82db6de7.entry.js +1 -0
- package/dist/ezui/p-86d29565.entry.js +1 -0
- package/dist/ezui/p-8ca4750d.entry.js +1 -0
- package/dist/ezui/p-9613fae6.entry.js +1 -0
- package/dist/ezui/{p-fc97f773.entry.js → p-a323b415.entry.js} +1 -1
- package/dist/ezui/p-a4b281ca.entry.js +1 -0
- package/dist/ezui/p-a67e056f.entry.js +1 -0
- package/dist/ezui/p-a8c7355e.entry.js +1 -0
- package/dist/ezui/p-ada6e6b0.entry.js +1 -0
- package/dist/ezui/p-b1e4ccf4.entry.js +1 -0
- package/dist/ezui/p-b3c7b243.entry.js +1 -0
- package/dist/ezui/p-b405d9b6.entry.js +304 -0
- package/dist/ezui/p-b941aeee.entry.js +1 -0
- package/dist/ezui/p-c0184982.entry.js +1 -0
- package/dist/ezui/p-c1300e84.entry.js +1 -0
- package/dist/ezui/p-c98e571a.entry.js +1 -0
- package/dist/ezui/p-cc40fcb3.entry.js +1 -0
- package/dist/ezui/p-cc5cfcb7.entry.js +1 -0
- package/dist/ezui/p-d6dd32b2.entry.js +1 -0
- package/dist/ezui/p-db131605.entry.js +1 -0
- package/dist/ezui/{p-ba03ac61.entry.js → p-e0d756d9.entry.js} +1 -1
- package/dist/ezui/p-eceb9382.entry.js +1 -0
- package/dist/ezui/p-f18d39e6.entry.js +1 -0
- package/dist/ezui/p-f670bd32.entry.js +1 -0
- package/dist/ezui/p-fcf6cf57.entry.js +1 -0
- package/dist/ezui/p-fd87638e.entry.js +1 -0
- package/dist/types/components/ez-grid/controller/EzGridController.d.ts +5 -1
- package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +4 -0
- package/dist/types/components.d.ts +195 -63
- package/dist/types/stencil-public-runtime.d.ts +79 -7
- package/loader/index.d.ts +9 -0
- package/loader/package.json +1 -0
- package/package.json +4 -4
- package/react/components.d.ts +0 -1
- package/dist/ezui/p-0cd0545d.entry.js +0 -1
- package/dist/ezui/p-1a27bb9f.entry.js +0 -1
- package/dist/ezui/p-1b94b9dc.entry.js +0 -1
- package/dist/ezui/p-20c01161.entry.js +0 -1
- package/dist/ezui/p-24717f87.entry.js +0 -1
- package/dist/ezui/p-3320768e.entry.js +0 -1
- package/dist/ezui/p-368037b9.entry.js +0 -1
- package/dist/ezui/p-47bcc678.entry.js +0 -1
- package/dist/ezui/p-47ca5e09.entry.js +0 -1
- package/dist/ezui/p-4c444816.entry.js +0 -1
- package/dist/ezui/p-608d13e8.entry.js +0 -1
- package/dist/ezui/p-626b8940.entry.js +0 -1
- package/dist/ezui/p-6414e7cb.entry.js +0 -1
- package/dist/ezui/p-6630eca2.entry.js +0 -1
- package/dist/ezui/p-67b9a2cb.entry.js +0 -1
- package/dist/ezui/p-6f9aba86.entry.js +0 -1
- package/dist/ezui/p-7b80df03.js +0 -1
- package/dist/ezui/p-7d42065a.entry.js +0 -1
- package/dist/ezui/p-97d2d2f6.entry.js +0 -1
- package/dist/ezui/p-99aea44b.entry.js +0 -1
- package/dist/ezui/p-a4b4645d.entry.js +0 -1
- package/dist/ezui/p-ab5eee38.entry.js +0 -1
- package/dist/ezui/p-ad7151e0.entry.js +0 -1
- package/dist/ezui/p-ad8b7412.entry.js +0 -1
- package/dist/ezui/p-ae168e45.entry.js +0 -1
- package/dist/ezui/p-b2e861cb.entry.js +0 -1
- package/dist/ezui/p-b2efb22c.entry.js +0 -1
- package/dist/ezui/p-b5557d33.entry.js +0 -1
- package/dist/ezui/p-bc324ee8.entry.js +0 -304
- package/dist/ezui/p-bd9792e2.entry.js +0 -1
- package/dist/ezui/p-bf8a633d.entry.js +0 -1
- package/dist/ezui/p-c071db26.entry.js +0 -1
- package/dist/ezui/p-c3529df3.entry.js +0 -1
- package/dist/ezui/p-c53b2db8.entry.js +0 -1
- package/dist/ezui/p-ca7435a6.entry.js +0 -1
- package/dist/ezui/p-cc038b32.entry.js +0 -1
- package/dist/ezui/p-e203c89f.entry.js +0 -1
- package/dist/ezui/p-f08de60b.entry.js +0 -1
|
@@ -2,27 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-892780f1.js');
|
|
6
6
|
const core = require('@sankhyalabs/core');
|
|
7
7
|
const EzScrollDirection = require('./EzScrollDirection-b2c99895.js');
|
|
8
8
|
|
|
9
9
|
const ezGuideNavigatorCss = ":host{--ez-guide-navigator--padding-left:var(--space--large);--ez-guide-navigator--padding-right:var(--space--small);--ez-guide-navigator--box-shadow:var(--shadow, 0px 0px 24px 0px #000);--ez-guide-navigator--background-color:var(--color--inverted);--ez-guide-navigator--border-radius:0px var(--border--radius-medium) var(--border--radius-medium) 0px;--ez-guide-navigator--actions-gap:var(--space--medium);--ez-guide-navigator--actions-margin:var(--space--medium) 0 var(--space--medium);--ez-guide-navigator--actions-padding-right:calc(var(--space--medium, 12px) + var(--space--small, 6px))}.inverted{transform:rotate(180deg)}.ez-guide-navigator{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%;padding-left:var(--ez-guide-navigator--padding-left);padding-right:var(--ez-guide-navigator--padding-right);background-color:var(--ez-guide-navigator--background-color);-webkit-box-shadow:var(--ez-guide-navigator--box-shadow);box-shadow:var(--ez-guide-navigator--box-shadow);border-radius:var(--ez-guide-navigator--border-radius)}.ez-guide-navigator__actions{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:var(--ez-guide-navigator--actions-gap);margin:var(--ez-guide-navigator--actions-margin);padding-right:var(--ez-guide-navigator--actions-padding-right)}.hidden{display:none}";
|
|
10
10
|
|
|
11
11
|
const ENTER_KEY = "Enter";
|
|
12
|
-
|
|
12
|
+
const EzGuideNavigator = class {
|
|
13
13
|
constructor(hostRef) {
|
|
14
14
|
index.registerInstance(this, hostRef);
|
|
15
|
-
/**
|
|
16
|
-
* Define se o menu de navegação está aberto.
|
|
17
|
-
*/
|
|
18
15
|
this.open = true;
|
|
19
|
-
/**
|
|
20
|
-
* Lista de itens do menu de navegação.
|
|
21
|
-
*/
|
|
22
16
|
this.items = [];
|
|
23
|
-
|
|
24
|
-
* Valor do campo de pesquisa usado na filtragem de guias.
|
|
25
|
-
*/
|
|
17
|
+
this.tooltipResolver = undefined;
|
|
26
18
|
this.filterText = "";
|
|
27
19
|
}
|
|
28
20
|
/**
|
|
@@ -2,18 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-892780f1.js');
|
|
6
6
|
const core = require('@sankhyalabs/core');
|
|
7
7
|
|
|
8
8
|
const ezIconCss = ":host{display:flex;overflow:hidden;position:relative;--ez-icon--color:var(--icon--color, #ffffff)}svg{display:flex;justify-content:center;align-items:center;fill:var(--ez-icon--color)}.x-small{width:12px;height:12px}.small{width:16px;height:16px}.medium{width:20px;height:20px}.large{width:24px;height:24px}.x-large{width:30px;height:30px}[class^=\"ez-icon-\"],[class*=\" ez-icon-\"]{color:var(--ez-icon--color)}[class^=\"ez-icon-\"],[class*=\" ez-icon-\"]{font-family:'ez-icons' !important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ez-icon-2chevron-down:before{content:\"\\ea01\"}.ez-icon-2chevron-up:before{content:\"\\ea02\"}.ez-icon-account-outline:before{content:\"\\ea03\"}.ez-icon-account:before{content:\"\\ea04\"}.ez-icon-actions-sprite-v1:before{content:\"\\ea05\"}.ez-icon-alert-circle-inverted:before{content:\"\\ea06\"}.ez-icon-alert-circle:before{content:\"\\ea07\"}.ez-icon-alert-mail:before{content:\"\\ea08\"}.ez-icon-alert-popup:before{content:\"\\ea09\"}.ez-icon-anexo:before{content:\"\\ea0a\"}.ez-icon-antecipação:before{content:\"\\ea0b\"}.ez-icon-apps:before{content:\"\\ea0c\"}.ez-icon-arrow_back:before{content:\"\\ea0d\"}.ez-icon-arrow_downward:before{content:\"\\ea0e\"}.ez-icon-baixa:before{content:\"\\ea0f\"}.ez-icon-balance:before{content:\"\\ea10\"}.ez-icon-bell-inverted:before{content:\"\\ea11\"}.ez-icon-bell:before{content:\"\\ea12\"}.ez-icon-boleto:before{content:\"\\ea13\"}.ez-icon-business-center:before{content:\"\\ea14\"}.ez-icon-calendar-clock:before{content:\"\\ea15\"}.ez-icon-calendar:before{content:\"\\ea16\"}.ez-icon-cash-remove:before{content:\"\\ea17\"}.ez-icon-check-circle-inverted:before{content:\"\\ea18\"}.ez-icon-check-circle:before{content:\"\\ea19\"}.ez-icon-check:before{content:\"\\ea1a\"}.ez-icon-chevron-down:before{content:\"\\ea1b\"}.ez-icon-chevron-left:before{content:\"\\ea1c\"}.ez-icon-chevron-right:before{content:\"\\ea1d\"}.ez-icon-chevron-up:before{content:\"\\ea1e\"}.ez-icon-circle--medium:before{content:\"\\ea1f\"}.ez-icon-circle:before{content:\"\\ea20\"}.ez-icon-cleaning:before{content:\"\\ea21\"}.ez-icon-clipboard:before{content:\"\\ea22\"}.ez-icon-close:before{content:\"\\ea23\"}.ez-icon-cobrar:before{content:\"\\ea24\"}.ez-icon-code:before{content:\"\\ea25\"}.ez-icon-configuration:before{content:\"\\ea26\"}.ez-icon-copy:before{content:\"\\ea27\"}.ez-icon-credit_card:before{content:\"\\ea28\"}.ez-icon-crop:before{content:\"\\ea29\"}.ez-icon-custom:before{content:\"\\ea2a\"}.ez-icon-delete:before{content:\"\\ea2b\"}.ez-icon-description:before{content:\"\\ea2c\"}.ez-icon-dividir:before{content:\"\\ea2d\"}.ez-icon-docx:before{content:\"\\ea2e\"}.ez-icon-dot-notification:before{content:\"\\ea2f\"}.ez-icon-dots-horizontal:before{content:\"\\ea30\"}.ez-icon-dots-vertical:before{content:\"\\ea31\"}.ez-icon-drag-indicator:before{content:\"\\ea32\"}.ez-icon-dual-chevron-down:before{content:\"\\ea33\"}.ez-icon-dual-chevron-up:before{content:\"\\ea34\"}.ez-icon-edit-file:before{content:\"\\ea35\"}.ez-icon-edit-table:before{content:\"\\ea36\"}.ez-icon-edit-time:before{content:\"\\ea37\"}.ez-icon-edit:before{content:\"\\ea38\"}.ez-icon-email:before{content:\"\\ea39\"}.ez-icon-estorno:before{content:\"\\ea3a\"}.ez-icon-exe:before{content:\"\\ea3b\"}.ez-icon-expand:before{content:\"\\ea3c\"}.ez-icon-expandir_card:before{content:\"\\ea3d\"}.ez-icon-extrato:before{content:\"\\ea3e\"}.ez-icon-eye-off:before{content:\"\\ea3f\"}.ez-icon-eye:before{content:\"\\ea40\"}.ez-icon-favorite:before{content:\"\\ea41\"}.ez-icon-figma:before{content:\"\\ea42\"}.ez-icon-file-download:before{content:\"\\ea43\"}.ez-icon-file-upload:before{content:\"\\ea44\"}.ez-icon-filter:before{content:\"\\ea45\"}.ez-icon-find-file:before{content:\"\\ea46\"}.ez-icon-find-page:before{content:\"\\ea47\"}.ez-icon-format-color-fill:before{content:\"\\ea48\"}.ez-icon-generic:before{content:\"\\ea49\"}.ez-icon-gif:before{content:\"\\ea4a\"}.ez-icon-graph_bar:before{content:\"\\ea4b\"}.ez-icon-handshake:before{content:\"\\ea4c\"}.ez-icon-help-inverted:before{content:\"\\ea4d\"}.ez-icon-help:before{content:\"\\ea4e\"}.ez-icon-hide_menu:before{content:\"\\ea4f\"}.ez-icon-home:before{content:\"\\ea50\"}.ez-icon-icons104:before{content:\"\\ea51\"}.ez-icon-language:before{content:\"\\ea52\"}.ez-icon-launch:before{content:\"\\ea53\"}.ez-icon-lightbulb:before{content:\"\\ea54\"}.ez-icon-list:before{content:\"\\ea55\"}.ez-icon-location:before{content:\"\\ea56\"}.ez-icon-lock-outline:before{content:\"\\ea57\"}.ez-icon-lock:before{content:\"\\ea58\"}.ez-icon-menu:before{content:\"\\ea59\"}.ez-icon-mid:before{content:\"\\ea5a\"}.ez-icon-minus:before{content:\"\\ea5b\"}.ez-icon-money-off:before{content:\"\\ea5c\"}.ez-icon-money:before{content:\"\\ea5d\"}.ez-icon-more:before{content:\"\\ea5e\"}.ez-icon-mp3:before{content:\"\\ea5f\"}.ez-icon-mp4:before{content:\"\\ea60\"}.ez-icon-north-west:before{content:\"\\ea61\"}.ez-icon-number:before{content:\"\\ea62\"}.ez-icon-ordem-ascendente:before{content:\"\\ea63\"}.ez-icon-ordem-descendente:before{content:\"\\ea64\"}.ez-icon-parcelar:before{content:\"\\ea65\"}.ez-icon-pause:before{content:\"\\ea66\"}.ez-icon-payments:before{content:\"\\ea67\"}.ez-icon-pdf:before{content:\"\\ea68\"}.ez-icon-play:before{content:\"\\ea69\"}.ez-icon-plus:before{content:\"\\ea6a\"}.ez-icon-png:before{content:\"\\ea6b\"}.ez-icon-power:before{content:\"\\ea6c\"}.ez-icon-pptx:before{content:\"\\ea6d\"}.ez-icon-print:before{content:\"\\ea6e\"}.ez-icon-push-pin:before{content:\"\\ea6f\"}.ez-icon-rateio:before{content:\"\\ea70\"}.ez-icon-receipt:before{content:\"\\ea71\"}.ez-icon-recolher_card:before{content:\"\\ea72\"}.ez-icon-restore:before{content:\"\\ea73\"}.ez-icon-return:before{content:\"\\ea74\"}.ez-icon-save:before{content:\"\\ea75\"}.ez-icon-search:before{content:\"\\ea76\"}.ez-icon-settings-inverted:before{content:\"\\ea77\"}.ez-icon-settings:before{content:\"\\ea78\"}.ez-icon-share:before{content:\"\\ea79\"}.ez-icon-shield:before{content:\"\\ea7a\"}.ez-icon-show_menu:before{content:\"\\ea7b\"}.ez-icon-south-east:before{content:\"\\ea7c\"}.ez-icon-sync:before{content:\"\\ea7d\"}.ez-icon-table:before{content:\"\\ea7e\"}.ez-icon-tag_code:before{content:\"\\ea7f\"}.ez-icon-text:before{content:\"\\ea80\"}.ez-icon-timeline:before{content:\"\\ea81\"}.ez-icon-timer-outline:before{content:\"\\ea82\"}.ez-icon-tune:before{content:\"\\ea83\"}.ez-icon-txt:before{content:\"\\ea84\"}.ez-icon-un-pin:before{content:\"\\ea85\"}.ez-icon-unfold_less:before{content:\"\\ea86\"}.ez-icon-unfold_more:before{content:\"\\ea87\"}.ez-icon-user-circle:before{content:\"\\ea88\"}.ez-icon-warning-outline:before{content:\"\\ea89\"}.ez-icon-warning_triangle:before{content:\"\\ea8a\"}.ez-icon-whatshot:before{content:\"\\ea8b\"}.ez-icon-xlsx:before{content:\"\\ea8c\"}.ez-icon-zip:before{content:\"\\ea8d\"}.x-small--font{font-size:12px}.small--font{font-size:16px}.medium--font{font-size:20px}.large--font{font-size:24px}.x-large--font{font-size:30px}";
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
const EzIcon = class {
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
|
-
/**
|
|
14
|
-
* Define o tamanho do ícone.
|
|
15
|
-
*/
|
|
16
13
|
this.size = "medium";
|
|
14
|
+
this.href = undefined;
|
|
15
|
+
this.iconName = undefined;
|
|
17
16
|
}
|
|
18
17
|
isSprite() {
|
|
19
18
|
return this.href && this.href.indexOf("#") > -1;
|
|
@@ -2,34 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-892780f1.js');
|
|
6
6
|
const core = require('@sankhyalabs/core');
|
|
7
7
|
|
|
8
8
|
const ezListCss = ":host{--ez-list__host--z-index:var(--visible, 1);--ez-list__host--border-radius:var(--border--radius-medium, 12px);--ez-list__host--padding:var(--space--medium, 12px);--ez-list__icon--padding:var(--space--small, 6px);--ez-list__icon--color:#AFB6C0;--ez-list__item--margin:0 var(--space--small, 6px);--ez-list__item--color:var(--title--primary, #2b3a54);--ez-list__item--border-bottom:var(--border--small, 1px solid);--ez-list__item--border-color:var(--title--primary, #2b3a54);--ez-list__item--font-family:var(--font-pattern, \"Roboto\");--ez-list__item--font-size:var(--text--medium, 14px);--ez-list__selectable--padding-right:var(--space--small, 6px);--ez-list__selectable--padding-left:var(--space--small, 6px);--ez-list__selected-item--border-radius:var(--border--radius-small, 6px);--ez-list__selected-item--background-color:var(--color--primary-300, #E2F4EF);--ez-list__group--font-family:var(--font-pattern, \"Roboto\");--ez-list__group--font-size:var(--text--medium, 14px);--ez-list__group--font-weight:var(--text-weight--large, 600);--ez-list__group--padding-bottom:var(--space-small, 6px);--ez-list__group-overlay--font-family:var(--font-pattern, \"Roboto\");--ez-list__group-overlay--font-size:var(--text--medium, 14px);--ez-list__over--border--color:var(--color--primary, #008561);--ez-list__last-droppable-space--height:var(--space--small, 6px);--ez-list__draggable-list--padding-bottom:var(--space--small, 6px);--ez-list__draggable-icon--image:url('data:image/svg+xml;utf8,<svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"m 6.75,2.25 h 1.5 v 1.5 h -1.5 z m 3,0 h 1.5 v 1.5 h -1.5 z m -3,3 h 1.5 v 1.5 h -1.5 z m 3,0 h 1.5 v 1.5 h -1.5 z m -3,3 h 1.5 v 1.5 h -1.5 z m 3,0 h 1.5 v 1.5 h -1.5 z m -3,3 h 1.5 v 1.5 h -1.5 z m 3,0 h 1.5 v 1.5 h -1.5 z m -3,3 h 1.5 v 1.5 h -1.5 z m 3,0 h 1.5 v 1.5 h -1.5 z\"/></svg>');--ez-list__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-list__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-list__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-list__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-list__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-list__scrollbar--width:var(--space--medium, 12px);max-height:100%;width:100%;background-color:#fff;display:flex;z-index:var(--ez-list__host--z-index)}p{margin:0}.draggable{display:flex;align-items:center;border-top:1px dashed #fff;justify-content:space-between;background-color:#fff;flex:1;width:100%;font-family:var(--ez-list__item--font-family);font-size:var(--ez-list__item--font-size)}.dragging{background:#FFFFFF;border:1px solid #008561;box-sizing:border-box;box-shadow:0px 0px 16px rgba(0, 38, 111, 0.122);border-radius:6px}.selectable{cursor:pointer;padding-right:var(--ez-list__selectable--padding-right);padding-left:var(--ez-list__selectable--padding-left)}.selectable-container{margin:0px !important}.item-content{display:flex;justify-content:flex-start;align-items:center;width:100%}.group-container .item-content{max-width:calc(100% - 41px)}.items-container .item-content{max-width:calc(100% - 100px)}.draggable-list{padding:0;margin:0;width:100%;max-height:100%;scrollbar-width:thin;color:var(--text-color);scrollbar-color:var(--ez-list__scrollbar--color-clicked) var(--ez-list__scrollbar--color-background)}.draggable-list li{background-color:#fff;display:flex;height:32px;margin:var(--ez-list__item--margin);font-family:var(--ez-list__item--font-family);font-size:var(--ez-list__item--font-size);color:var(--ez-list__item--color)}.over{border-top:1px dashed var(--ez-list__over--border--color)}.last-droppable-space{height:var(--ez-list__last-droppable-space--height)}.draggable-selected{background-color:var(--background--strong) !important}.draggable-selected div:hover{background-color:var(--background--strong) !important}.draggable-list::-webkit-scrollbar{background-color:var(--ez-list__scrollbar--color-background);width:var(--ez-list__scrollbar--width);max-width:var(--ez-list__scrollbar--width);min-width:var(--ez-list__scrollbar--width)}.draggable-list::-webkit-scrollbar-track{background-color:var(--ez-list__scrollbar--color-background);border-radius:var(--ez-list__scrollbar--border-radius)}.draggable-list::-webkit-scrollbar-thumb{background-color:var(--ez-list__scrollbar--color-default);border-radius:var(--ez-list__scrollbar--border-radius)}.draggable-list::-webkit-scrollbar-thumb:vertical:hover,.draggable-list::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-list__scrollbar--color-hover)}.draggable-list::-webkit-scrollbar-thumb:vertical:active,.draggable-list::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-list__scrollbar--color-clicked)}.draggable-icon{align-items:flex-start;display:flex;outline:none;border:none;background-color:unset}.draggable-icon::after{content:'';display:flex;width:18px;height:18px;background-color:var(--ez-list__icon--color);-webkit-mask-image:var(--ez-list__draggable-icon--image);mask-image:var(--ez-list__draggable-icon--image)}*{box-sizing:border-box}.checkbox{width:fit-content}.text--ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.group-container{display:flex;flex-direction:column;max-height:100%;overflow-y:auto;outline:none;width:100%;scrollbar-width:thin;scrollbar-color:var(--ez-list__scrollbar--color-clicked) var(--ez-list__scrollbar--color-background)}.group-name{-webkit-user-select:none;-moz-user-select:-moz-none;-ms-user-select:none;user-select:none;font-family:var(--ez-list__group--font-family);font-size:var(--ez-list__group--font-size);font-weight:var(--ez-list__group--font-weight);padding-bottom:var(--ez-list__group--padding-bottom)}.group{display:flex;flex-direction:column}.group-container::-webkit-scrollbar{background-color:var(--ez-list__scrollbar--color-background);width:var(--ez-list__scrollbar--width);max-width:var(--ez-list__scrollbar--width);min-width:var(--ez-list__scrollbar--width)}.group-container::-webkit-scrollbar-track{background-color:var(--ez-list__scrollbar--color-background);border-radius:var(--ez-list__scrollbar--border-radius)}.group-container::-webkit-scrollbar-thumb{background-color:var(--ez-list__scrollbar--color-default);border-radius:var(--ez-list__scrollbar--border-radius)}.group-container::-webkit-scrollbar-thumb:vertical:hover,.group-container::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-list__scrollbar--color-hover)}.group-container::-webkit-scrollbar-thumb:vertical:active,.group-container::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-list__scrollbar--color-clicked)}.section-container{display:flex;position:relative;height:100%}.items-container{width:100%;max-height:100%;overflow-y:auto;outline:none;scrollbar-width:thin;scrollbar-color:var(--ez-list__scrollbar--color-clicked) var(--ez-list__scrollbar--color-background)}.group-items-container{width:100%;max-height:100%;height:100%;outline:none}.items-container::-webkit-scrollbar{background-color:var(--ez-list__scrollbar--color-background);width:var(--ez-list__scrollbar--width);max-width:var(--ez-list__scrollbar--width);min-width:var(--ez-list__scrollbar--width)}.items-container::-webkit-scrollbar-track{background-color:var(--ez-list__scrollbar--color-background);border-radius:var(--ez-list__scrollbar--border-radius)}.items-container::-webkit-scrollbar-thumb{background-color:var(--ez-list__scrollbar--color-default);border-radius:var(--ez-list__scrollbar--border-radius)}.items-container::-webkit-scrollbar-thumb:vertical:hover,.items-container::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-list__scrollbar--color-hover)}.items-container::-webkit-scrollbar-thumb:vertical:active,.items-container::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-list__scrollbar--color-clicked)}.group-overlay{background:rgba(226, 244, 239, 0.8);border:1px solid #008561;border-radius:8px;position:absolute;display:none;place-items:center;top:0;bottom:0;left:0;right:0;z-index:2;margin:0;cursor:pointer;font-family:var(--ez-list__group-overlay--font-family);font-size:var(--ez-list__group-overlay--font-size)}.presetedHeight{min-height:100px}.overlay-text{position:absolute;top:50%;left:50%;font-size:50px;color:white;transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%)}.selected-item{background:var(--ez-list__selected-item--background-color);border-radius:var(--ez-list__selected-item--border-radius)}.slot-item{align-items:flex-end}.overGroup{background:rgba(226, 244, 239, 0.8);border:1px solid #008561;box-sizing:border-box;border-radius:8px;padding-top:6px}";
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
const EzList = class {
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
this.ezChange = index.createEvent(this, "ezChange", 7);
|
|
14
|
+
this._listItemsHistory = [];
|
|
14
15
|
this._listItems = [];
|
|
15
16
|
this._listGroupItems = [];
|
|
16
|
-
this._listItemsHistory = [];
|
|
17
|
-
/**
|
|
18
|
-
* Define a lista inicial do componente.
|
|
19
|
-
*/
|
|
20
17
|
this.dataSource = [];
|
|
21
|
-
/**
|
|
22
|
-
* Se true os grupos serão exibidos.
|
|
23
|
-
*/
|
|
24
18
|
this.useGroups = false;
|
|
25
|
-
/**
|
|
26
|
-
* Se true habilita `drag and drop` para os itens.
|
|
27
|
-
*/
|
|
28
19
|
this.ezDraggable = false;
|
|
29
|
-
/**
|
|
30
|
-
* Se true os itens serão selecionáveis.
|
|
31
|
-
*/
|
|
32
20
|
this.ezSelectable = false;
|
|
21
|
+
this.itemSlotBuilder = undefined;
|
|
33
22
|
}
|
|
34
23
|
/**
|
|
35
24
|
* Limpa o histórico da lista.
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-892780f1.js');
|
|
6
6
|
|
|
7
7
|
const ezLoadingBarCss = ":host{position:fixed;top:0px;width:100%}.loading-bar{width:100%;margin:0 auto;position:absolute;background-color:var(--color--primary-300, #e2f4ef);height:5px}.loading-bar:before{content:'';position:absolute}.loading-bar__container{position:absolute;top:0;right:100%;bottom:0;left:0;background-color:var(--color--primary, #008561);width:0;animation:loading 2s linear infinite}@keyframes loading{0%{left:0%;right:100%;width:0%}25%{left:0%;right:75%;width:25%}50%{left:0%;right:50%;width:90%}70%{right:0%;left:75%;width:25%}100%{left:100%;right:0%;width:0%}}@-webkit-keyframes loading{0%{left:0%;right:100%;width:0%}25%{left:0%;right:75%;width:25%}50%{left:0%;right:50%;width:90%}70%{right:0%;left:75%;width:25%}100%{left:100%;right:0%;width:0%}}";
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
const EzLoadingBar = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
this._showLoading = true;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-892780f1.js');
|
|
6
6
|
|
|
7
7
|
var ModalAction;
|
|
8
8
|
(function (ModalAction) {
|
|
@@ -23,14 +23,17 @@ const ModalButtonStatus$1 = ModalButtonStatus;
|
|
|
23
23
|
|
|
24
24
|
const ezModalContainerCss = ".sc-ez-modal-container-h{display:grid;grid-template-rows:0 auto 1fr auto;width:100%;height:100%}.ez-modal-container__header.sc-ez-modal-container{display:flex;flex-wrap:nowrap;flex-direction:row;justify-content:space-between}.ez-modal-container__content.sc-ez-modal-container{overflow-y:auto;scrollbar-gutter:stable}.ez-modal-container__title.sc-ez-modal-container{display:grid}.ez-modal-container__close-button.sc-ez-modal-container{cursor:pointer;background-color:transparent;border:none}.ez-modal-container__close-icon.sc-ez-modal-container{--icon--color:var(--title--primary, #2B3A54)}.ez-modal-container__focus-ctrl.sc-ez-modal-container{height:0px;background-color:transparent;border:none}";
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
const EzModalContainer = class {
|
|
27
27
|
constructor(hostRef) {
|
|
28
28
|
index.registerInstance(this, hostRef);
|
|
29
29
|
this.ezModalAction = index.createEvent(this, "ezModalAction", 7);
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
*/
|
|
30
|
+
this.modalTitle = undefined;
|
|
31
|
+
this.modalSubTitle = undefined;
|
|
33
32
|
this.showTitleBar = true;
|
|
33
|
+
this.cancelButtonLabel = undefined;
|
|
34
|
+
this.okButtonLabel = undefined;
|
|
35
|
+
this.cancelButtonStatus = undefined;
|
|
36
|
+
this.okButtonStatus = undefined;
|
|
34
37
|
}
|
|
35
38
|
cancelIsVisible() {
|
|
36
39
|
return (this.cancelButtonStatus !== ModalButtonStatus$1.HIDDEN && this.cancelButtonLabel != undefined);
|
|
@@ -2,32 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-892780f1.js');
|
|
6
6
|
|
|
7
7
|
const ezModalCss = ":host{--ez-modal-z-index:var(--most-visible, 3);--ez-modal-vertical-padding:var(--space--large, 24px);display:block}.modal{position:fixed;padding:var(--ez-modal-vertical-padding) 0;display:flex;top:0px;z-index:var(--ez-modal-z-index);left:0px;width:100%;box-sizing:border-box;height:100vh;backdrop-filter:blur(4px);background:rgba(0, 4, 12, 0.4)}@keyframes expand-modal--left{from{transform:translate(-100%)}}@keyframes expand-modal--right{from{transform:translate(100%)}}.modal__container{display:flex;flex-wrap:wrap;height:100%;box-sizing:border-box;width:100%;align-items:flex-start}.modal__container--right{animation:expand-modal--right .2s ease-in-out 1;justify-content:flex-end}.modal__container--left{animation:expand-modal--left .2s ease-in-out 1;justify-content:flex-start}.modal__content{display:flex;flex-wrap:wrap;box-sizing:border-box;max-height:100%;height:100%;overflow-y:auto;background-color:rgb(255, 255, 255);padding:24px;border-radius:12px 0px 0px 12px;box-shadow:rgb(0 38 111 / 12%) 0px 0px 16px 0px}.modal__content--right{border-radius:12px 0px 0px 12px}.modal__content--left{border-radius:0px 12px 12px 0px}.modal__box__container{display:flex;flex-wrap:wrap;background-color:#fff;width:100%;border-radius:12px}.row{width:100%;display:flex;flex-wrap:wrap}.col{display:flex;flex-wrap:wrap;align-self:flex-start;box-sizing:border-box}.col--stretch{align-self:stretch}.col--undefined{width:unset}.col--nowrap{flex-wrap:nowrap}@media screen and (min-width: 320px){.col--sd-1{width:8.33333%}.col--sd-2{width:16.66667%}.col--sd-3{width:25%}.col--sd-4{width:33.33333%}.col--sd-5{width:41.66667%}.col--sd-6{width:50%}.col--sd-7{width:58.33333%}.col--sd-8{width:66.66667%}.col--sd-9{width:75%}.col--sd-10{width:83.33333%}.col--sd-11{width:91.66667%}.col--sd-12{width:100%}}@media screen and (min-width: 480px){.col--pn-1{width:8.33333%}.col--pn-2{width:16.66667%}.col--pn-3{width:25%}.col--pn-4{width:33.33333%}.col--pn-5{width:41.66667%}.col--pn-6{width:50%}.col--pn-7{width:58.33333%}.col--pn-8{width:66.66667%}.col--pn-9{width:75%}.col--pn-10{width:83.33333%}.col--pn-11{width:91.66667%}.col--pn-12{width:100%}}@media screen and (min-width: 768px){.col--tb-1{width:8.33333%}.col--tb-2{width:16.66667%}.col--tb-3{width:25%}.col--tb-4{width:33.33333%}.col--tb-5{width:41.66667%}.col--tb-6{width:50%}.col--tb-7{width:58.33333%}.col--tb-8{width:66.66667%}.col--tb-9{width:75%}.col--tb-10{width:83.33333%}.col--tb-11{width:91.66667%}.col--tb-12{width:100%}}@media screen and (min-width: 992px){.col--md-1{width:8.33333%}.col--md-2{width:16.66667%}.col--md-3{width:25%}.col--md-4{width:33.33333%}.col--md-5{width:41.66667%}.col--md-6{width:50%}.col--md-7{width:58.33333%}.col--md-8{width:66.66667%}.col--md-9{width:75%}.col--md-10{width:83.33333%}.col--md-11{width:91.66667%}.col--md-12{width:100%}}@media screen and (min-width: 1200px){.col--ld-1{width:8.33333%}.col--ld-2{width:16.66667%}.col--ld-3{width:25%}.col--ld-4{width:33.33333%}.col--ld-5{width:41.66667%}.col--ld-6{width:50%}.col--ld-7{width:58.33333%}.col--ld-8{width:66.66667%}.col--ld-9{width:75%}.col--ld-10{width:83.33333%}.col--ld-11{width:91.66667%}.col--ld-12{width:100%}}";
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
const EzModal = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
this.ezCloseModal = index.createEvent(this, "ezCloseModal", 7);
|
|
13
13
|
this.ezOpenModal = index.createEvent(this, "ezOpenModal", 7);
|
|
14
|
-
/**
|
|
15
|
-
* Define se o ez-modal está aberto.
|
|
16
|
-
*/
|
|
17
|
-
this.opened = true;
|
|
18
|
-
/**
|
|
19
|
-
* Define se o ez-modal será fechado ao clicar `ESC`.
|
|
20
|
-
*/
|
|
21
|
-
this.closeEsc = false;
|
|
22
|
-
/**
|
|
23
|
-
* Define se o modal será fechado ao clicar fora do conteúdo.
|
|
24
|
-
*/
|
|
25
|
-
this.closeOutsideClick = false;
|
|
26
14
|
this.handleKeyboardEvent = (ev) => {
|
|
27
15
|
if ((ev === null || ev === void 0 ? void 0 : ev.key) === "Escape" && this.closeEsc) {
|
|
28
16
|
this.closeModal();
|
|
29
17
|
}
|
|
30
18
|
};
|
|
19
|
+
this.modalSize = undefined;
|
|
20
|
+
this.align = undefined;
|
|
21
|
+
this.opened = true;
|
|
22
|
+
this.closeEsc = false;
|
|
23
|
+
this.closeOutsideClick = false;
|
|
31
24
|
}
|
|
32
25
|
observeOpened() {
|
|
33
26
|
if (this.opened) {
|
|
@@ -2,26 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-892780f1.js');
|
|
6
6
|
const core = require('@sankhyalabs/core');
|
|
7
7
|
const CSSVarsUtils = require('./CSSVarsUtils-af809e73.js');
|
|
8
8
|
|
|
9
9
|
const ezNumberInputCss = ":host{display:block;width:100%}";
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
const EzNumberInput = class {
|
|
12
12
|
constructor(hostRef) {
|
|
13
13
|
index.registerInstance(this, hostRef);
|
|
14
14
|
this.ezChange = index.createEvent(this, "ezChange", 7);
|
|
15
15
|
this.ezStartChange = index.createEvent(this, "ezStartChange", 7);
|
|
16
16
|
this.ezCancelWaitingChange = index.createEvent(this, "ezCancelWaitingChange", 7);
|
|
17
17
|
this._focused = false;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
*/
|
|
18
|
+
this.label = undefined;
|
|
19
|
+
this.value = undefined;
|
|
21
20
|
this.enabled = true;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
this.errorMessage = undefined;
|
|
22
|
+
this.precision = undefined;
|
|
23
|
+
this.prettyPrecision = undefined;
|
|
25
24
|
this.mode = "regular";
|
|
26
25
|
}
|
|
27
26
|
/**
|
|
@@ -2,44 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-892780f1.js');
|
|
6
6
|
const core = require('@sankhyalabs/core');
|
|
7
7
|
|
|
8
8
|
const ezPopoverCss = ":host{--ez-popover__box--border-radius:var(--border--radius-medium, 12px);--ez-popover__box--box-shadow:var(--shadow, 0px 0px 16px 0px #000);--ez-popover__box--background-color:var(--background--xlight, #fff);--ez-popover__box--z-index:var(--most-visible, 3);position:relative;display:flex;user-select:none}.popover__box{z-index:var(--ez-popover__box--z-index);display:flex;flex-direction:column;height:fit-content;background-color:var(--ez-popover__box--background-color);border-radius:var(--ez-popover__box--border-radius);box-shadow:var(--ez-popover__box--box-shadow)}.popover__box--fit-content{width:fit-content}.popover__box--full-width{width:100%}";
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
const EzPopover = class {
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
this.ezVisibilityChange = index.createEvent(this, "ezVisibilityChange", 7);
|
|
14
14
|
this._firstRender = true;
|
|
15
|
-
/**
|
|
16
|
-
* Define que será fechado automaticamente quando o usuário clicar fora do conteúdo.
|
|
17
|
-
*/
|
|
18
|
-
this.autoClose = true;
|
|
19
|
-
/**
|
|
20
|
-
* Define a distância do topo. Devem ser usados valores válidos de CSS.
|
|
21
|
-
*/
|
|
22
|
-
this.top = "0px";
|
|
23
|
-
/**
|
|
24
|
-
* Define a distância do lado esquerdo. Devem ser usados valores válidos de CSS.
|
|
25
|
-
*/
|
|
26
|
-
this.left = "0px";
|
|
27
|
-
/**
|
|
28
|
-
* Define a distância de baixo. Devem ser usados valores válidos de CSS.
|
|
29
|
-
*/
|
|
30
|
-
this.bottom = "0px";
|
|
31
|
-
/**
|
|
32
|
-
* Define a distância do lado direito. Devem ser usados valores válidos de CSS.
|
|
33
|
-
*/
|
|
34
|
-
this.right = "0px";
|
|
35
|
-
/**
|
|
36
|
-
* Ajusta o comportamento da largura do popover.
|
|
37
|
-
*/
|
|
38
|
-
this.boxWidth = "fit-content";
|
|
39
|
-
/**
|
|
40
|
-
* Define o tipo de overlay do popover.
|
|
41
|
-
*/
|
|
42
|
-
this.overlayType = "light";
|
|
43
15
|
this.innerClickTest = (_popOvercontainer, node, eventOrigin) => {
|
|
44
16
|
const innerContainers = [_popOvercontainer];
|
|
45
17
|
if (this.innerElement) {
|
|
@@ -75,6 +47,15 @@ let EzPopover = class {
|
|
|
75
47
|
this.backClickListener = () => {
|
|
76
48
|
this.ezVisibilityChange.emit(false);
|
|
77
49
|
};
|
|
50
|
+
this.autoClose = true;
|
|
51
|
+
this.top = "0px";
|
|
52
|
+
this.left = "0px";
|
|
53
|
+
this.bottom = "0px";
|
|
54
|
+
this.right = "0px";
|
|
55
|
+
this.boxWidth = "fit-content";
|
|
56
|
+
this.opened = undefined;
|
|
57
|
+
this.innerElement = undefined;
|
|
58
|
+
this.overlayType = "light";
|
|
78
59
|
}
|
|
79
60
|
observeOpened(newValue, oldValue) {
|
|
80
61
|
if (newValue != oldValue) {
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-892780f1.js');
|
|
6
6
|
|
|
7
7
|
const ezPopupCss = ":host{display:flex;--ez-popup-z-index:var(--most-visible, 3);--ez-popup__container--color:var(--title--primary, #2b3a54);--ez-popup__container--padding:var(--space--large, 24px);--ez-popup__header--padding-bottom:var(--space--medium, 12px);--ez-popup__title--font-family:var(--font-pattern, \"Roboto\");--ez-popup__title--font-size:var(--title--extra-large, 24px);--ez-popup__title--color:var(--title--primary, #2b3a54);--ez-popup__title--font-weight:var(--text-weight--large, 600);--ez-popup__btn__close--icon-color:var(--title--primary, #2b3a54);--ez-popup__btn__close--icon:url('data:image/svg+xml;utf8,<svg width=\"14\" height=\"14\" viewBox=\"0 0 14 14\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 8.2421753,6.9944578 13.743748,1.4930784 C 13.907781,1.3290628 14,1.1065946 14,0.87462511 14,0.64266712 13.907782,0.42019873 13.743748,0.25617155 13.579712,0.09215597 13.35727,6.48e-8 13.125266,6.48e-8 12.89338,6.48e-8 12.670821,0.09215634 12.506787,0.25617155 L 7.005215,5.7575508 1.5035972,0.25617155 C 1.3395631,0.09215597 1.1170968,6.48e-8 0.88511716,6.48e-8 0.65314917,6.48e-8 0.4306712,0.09215597 0.26663695,0.25617155 0.10260271,0.42019873 0.01045441,0.64266712 0.01045441,0.87462511 c 0,0.23196949 0.0921483,0.45443769 0.25618254,0.61845329 L 5.7682546,6.9944578 0.26663695,12.497027 c -0.0834745,0.08067 -0.15003245,0.1772 -0.19581514,0.283871 C 0.02505077,12.887561 9.831648e-4,13.002399 2.950369e-5,13.118395 -9.2415746e-4,13.234504 0.02125019,13.349689 0.06527245,13.457057 c 0.04401053,0.107479 0.10898307,0.205064 0.1911168,0.287137 0.0821454,0.08208 0.17979645,0.146888 0.28727561,0.190839 0.10747906,0.04395 0.22262954,0.06598 0.33872417,0.06493 0.116095,-10e-4 0.23082547,-0.0253 0.33747687,-0.07112 0.1066637,-0.04593 0.2031133,-0.112615 0.2837313,-0.196086 L 7.005215,8.2313646 12.506787,13.732768 c 0.164034,0.164027 0.386593,0.256125 0.618479,0.256125 0.232004,0 0.454446,-0.09209 0.618482,-0.256125 C 13.907781,13.568741 14,13.346308 14,13.114315 14,12.882323 13.90779,12.659888 13.743748,12.495861 Z\"/></svg>')}.overlay{position:fixed;display:flex;top:0px;z-index:var(--ez-popup-z-index);left:0px;width:100%;align-items:center;justify-content:center;box-sizing:border-box;height:100vh;backdrop-filter:blur(4px);background:rgba(0, 4, 12, 0.4)}.popup{display:flex;height:100%;align-items:center;justify-content:center;box-sizing:border-box}.popup__container{width:100%;max-height:90%;height:100%;display:flex;flex-wrap:wrap;overflow:hidden;outline:none;background:#FFFF;color:var(--ez-popup__container--color);border-radius:12px;box-shadow:0px 0px 16px rgba(0, 38, 111, 0.122);box-sizing:border-box;padding:var(--ez-popup__container--padding)}.popup__container--auto{height:auto}.popup__content{box-sizing:border-box;max-height:100%;width:100%;display:grid;grid-template-rows:auto 1fr}.popup__expandable-content{box-sizing:border-box;overflow-y:auto;height:100%;width:100%}.popup__header{padding-bottom:var(--ez-popup__header--padding-bottom);width:100%;display:flex}.popup__title{display:flex;margin:0;width:100%;font-family:var(--ez-popup__title--font-family);font-size:var(--ez-popup__title--font-size);font-weight:var(--ez-popup__title--font-weight);color:var(--ez-popup__title--color);line-height:1.3}.btn-close{justify-content:flex-end;align-self:flex-start;align-items:flex-start;display:flex;outline:none;border:none;background-color:unset;cursor:pointer}.btn-close::after{content:'';display:flex;background-color:var(--ez-popup__btn__close--icon-color);width:14px;height:14px;-webkit-mask-image:var(--ez-popup__btn__close--icon);mask-image:var(--ez-popup__btn__close--icon)}.btn-close--solo{width:100%}.row{width:100%;display:flex;flex-wrap:wrap}.col{display:flex;flex-wrap:wrap;align-self:flex-start;box-sizing:border-box}.col--stretch{align-self:stretch}.col--undefined{width:unset}.col--nowrap{flex-wrap:nowrap}@media screen and (min-width: 320px){.col--sd-1{width:8.33333%}.col--sd-2{width:16.66667%}.col--sd-3{width:25%}.col--sd-4{width:33.33333%}.col--sd-5{width:41.66667%}.col--sd-6{width:50%}.col--sd-7{width:58.33333%}.col--sd-8{width:66.66667%}.col--sd-9{width:75%}.col--sd-10{width:83.33333%}.col--sd-11{width:91.66667%}.col--sd-12{width:100%}}@media screen and (min-width: 480px){.col--pn-1{width:8.33333%}.col--pn-2{width:16.66667%}.col--pn-3{width:25%}.col--pn-4{width:33.33333%}.col--pn-5{width:41.66667%}.col--pn-6{width:50%}.col--pn-7{width:58.33333%}.col--pn-8{width:66.66667%}.col--pn-9{width:75%}.col--pn-10{width:83.33333%}.col--pn-11{width:91.66667%}.col--pn-12{width:100%}}@media screen and (min-width: 768px){.col--tb-1{width:8.33333%}.col--tb-2{width:16.66667%}.col--tb-3{width:25%}.col--tb-4{width:33.33333%}.col--tb-5{width:41.66667%}.col--tb-6{width:50%}.col--tb-7{width:58.33333%}.col--tb-8{width:66.66667%}.col--tb-9{width:75%}.col--tb-10{width:83.33333%}.col--tb-11{width:91.66667%}.col--tb-12{width:100%}}@media screen and (min-width: 992px){.col--md-1{width:8.33333%}.col--md-2{width:16.66667%}.col--md-3{width:25%}.col--md-4{width:33.33333%}.col--md-5{width:41.66667%}.col--md-6{width:50%}.col--md-7{width:58.33333%}.col--md-8{width:66.66667%}.col--md-9{width:75%}.col--md-10{width:83.33333%}.col--md-11{width:91.66667%}.col--md-12{width:100%}}@media screen and (min-width: 1200px){.col--ld-1{width:8.33333%}.col--ld-2{width:16.66667%}.col--ld-3{width:25%}.col--ld-4{width:33.33333%}.col--ld-5{width:41.66667%}.col--ld-6{width:50%}.col--ld-7{width:58.33333%}.col--ld-8{width:66.66667%}.col--ld-9{width:75%}.col--ld-10{width:83.33333%}.col--ld-11{width:91.66667%}.col--ld-12{width:100%}}";
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
const EzPopup = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
this.ezClosePopup = index.createEvent(this, "ezClosePopup", 7);
|
|
@@ -17,22 +17,11 @@ let EzPopup = class {
|
|
|
17
17
|
"large": "col--sd-9",
|
|
18
18
|
"x-large": "col--sd-11"
|
|
19
19
|
};
|
|
20
|
-
/**
|
|
21
|
-
* Define a largura do ez-popup.
|
|
22
|
-
*/
|
|
23
20
|
this.size = "medium";
|
|
24
|
-
/**
|
|
25
|
-
* Define se o ez-popover está aberto.
|
|
26
|
-
*/
|
|
27
21
|
this.opened = false;
|
|
28
|
-
/**
|
|
29
|
-
* Define se o componente utilizará cabeçalho.
|
|
30
|
-
*/
|
|
31
22
|
this.useHeader = true;
|
|
32
|
-
/**
|
|
33
|
-
* Define altura do componente.
|
|
34
|
-
*/
|
|
35
23
|
this.heightMode = "full";
|
|
24
|
+
this.ezTitle = undefined;
|
|
36
25
|
}
|
|
37
26
|
getGridSize() {
|
|
38
27
|
return this._sizeClasses[this.size] || this._sizeClasses["medium"];
|
|
@@ -2,26 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-892780f1.js');
|
|
6
6
|
const core = require('@sankhyalabs/core');
|
|
7
7
|
|
|
8
8
|
const ezRadioButtonCss = ":host{--ez-radio-button--font-family:var(--font-pattern, Arial);--ez-radio-button--font-size:var(--text--medium, 14px);--ez-radio-button--font-weight:var(--text-weight--large);--ez-radio-button--font-color:var(--title--primary, #2B3A54);--ez-radio-button--padding-vertical:var(--space--medium, 12px);--ez-radio-button--padding-horizontal:var(--space--small, 6px);--ez-radio-button__form-label--font-family:var(--font-pattern, Arial);--ez-radio-button__form-label--font-weight:var(--text-weight--medium, 400);--ez-radio-button__form-label--title-primary:var(--title--primary, #2B3A54);--ez-radio-button__form-label--font-size:var(--text--medium, 14px);--ez-radio-button__form-label--padding-horizontal:var(--space--medium, 12px);--ez-radio-button__form-radio--border-color:var(--title--primary, #2B3A54);--ez-radio-button__form-radio--checked--color:var(--color--primary, #008561);--ez-radio-button__form-radio--disabled--border-color:var(--color--strokes, #dce0e8);--ez-radio-button__form-radio--disabled--background-color:var(--background--medium, #f0f3f7);--ez-radio-button__form-radio--disabled--color:var(--color--strokes, #dce0e8);--ez-radio-button__form-radio--disabled--before--background-color:var(--color--strokes, #dce0e8);--ez-radio-button__form-radio--focus--background-color:var(--color--inverted, #fff);--ez-radio-button__form-radio--checked--box-shadow-color:var(--background--strong, #e4eaf1);--ez-radio-button__form-radio--checked--focus--background-color:var(--color--inverted, #fff);--ez-radio-button__form-radio--checked--focus--box-shadow-color:var(--color--primary-300, #e2f4ef);--ez-radio-button__form-radio--checked--hover--background-color:var(--color--inverted, #fff);--ez-radio-button__form-radio--checked--hover--box-shadow-color:#daece7;--ez-radio-button__form-radio--hover--box-shadow-color:var(--color--strokes, #dce0e8);--ez-radio-button__form-radio--checked--disabled--hover--background-color:var(--background--medium, #f0f3f7);display:flex;width:100%;flex-direction:column;align-items:flex-start;box-sizing:border-box}.form{padding:var(--ez-radio-button--padding-vertical) var(--ez-radio-button--padding-horizontal);gap:var(--ez-radio-button__form-label--padding-horizontal)}.form--vertical{display:flex;flex-direction:column}.form--horizontal{display:flex;flex-direction:row}.form__group{display:flex;align-items:center}.label{font-family:var(--ez-radio-button--font-family);font-size:var(--ez-radio-button--font-size);font-weight:var(--ez-radio-button--font-weight);color:var(--ez-radio-button--font-color)}.form__label{cursor:pointer;font-weight:var(--ez-radio-button__form-label--font-weight);color:var(--ez-radio-button__form-label--title-primary);font-family:var(--ez-radio-button__form-label--font-family);font-size:var(--ez-radio-button__form-label--font-size);padding-left:var(--ez-radio-button__form-label--padding-horizontal);padding-right:var(--ez-radio-button__form-label--padding-horizontal)}.form__radio{cursor:pointer;appearance:none;outline:none;position:relative;display:flex;align-items:center;justify-content:center;margin:0;padding:0;width:20px;height:20px;border-radius:50%;border:2px solid var(--ez-radio-button__form-radio--border-color)}.form__radio::before{content:'';display:block;position:absolute;opacity:0;transition:all 300ms ease-in-out;height:100%;width:100%;border-radius:50%;transform:scale(0.5);background:var(--ez-radio-button__form-radio--checked--color)}.form__radio:checked:before{opacity:1}.form__radio:checked{border:2px solid var(--ez-radio-button__form-radio--checked--color)}.form__radio:disabled{cursor:default;border:2px solid var(--ez-radio-button__form-radio--disabled--border-color);background-color:var(--ez-radio-button__form-radio--disabled--background-color)}.form__radio:disabled:hover{box-shadow:inherit}input[type=radio]:disabled~label{cursor:default;color:var(--ez-radio-button__form-radio--disabled--color)}.form__radio:disabled:before{background:var(--ez-radio-button__form-radio--disabled--before--background-color)}.form__radio:focus{transition:0.25s linear;background-color:var(--ez-radio-button__form-radio--focus--background-color);box-shadow:0px 0px 0px 6px var(--ez-radio-button__form-radio--checked--box-shadow-color)}.form__radio:checked:focus{transition:0.25s linear;background-color:var(--ez-radio-button__form-radio--checked--focus--background-color);box-shadow:0px 0px 0px 6px var(--ez-radio-button__form-radio--checked--focus--box-shadow-color)}.form__radio:checked:hover{transition:0.25s linear;background-color:var(--ez-radio-button__form-radio--checked--hover--background-color);box-shadow:0px 0px 0px 6px var(--ez-radio-button__form-radio--checked--hover--box-shadow-color)}.form__radio:hover{transition:0.25s linear;box-shadow:0px 0px 0px 6px var(--ez-radio-button__form-radio--hover--box-shadow-color)}.form__radio:checked:disabled:hover{box-shadow:none;background-color:var(--ez-radio-button__form-radio--checked--disabled--hover--background-color)}";
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
const EzRadioButton = class {
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
this.ezChange = index.createEvent(this, "ezChange", 7);
|
|
14
|
-
|
|
15
|
-
* Define as opções que serão apresentadas
|
|
16
|
-
*/
|
|
14
|
+
this.value = undefined;
|
|
17
15
|
this.options = [];
|
|
18
|
-
/**
|
|
19
|
-
* Se false o usuário não pode interagir com o campo.
|
|
20
|
-
*/
|
|
21
16
|
this.enabled = true;
|
|
22
|
-
|
|
23
|
-
* Define a direção dos itens.
|
|
24
|
-
*/
|
|
17
|
+
this.label = undefined;
|
|
25
18
|
this.direction = "vertical";
|
|
26
19
|
}
|
|
27
20
|
componentDidLoad() {
|
|
@@ -2,35 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-892780f1.js');
|
|
6
6
|
const CSSVarsUtils = require('./CSSVarsUtils-af809e73.js');
|
|
7
7
|
const core = require('@sankhyalabs/core');
|
|
8
8
|
|
|
9
9
|
const ezSearchCss = ":host{width:100%}";
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
const EzSearch = class {
|
|
12
12
|
constructor(hostRef) {
|
|
13
13
|
index.registerInstance(this, hostRef);
|
|
14
14
|
this.ezChange = index.createEvent(this, "ezChange", 7);
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
*/
|
|
15
|
+
this.value = undefined;
|
|
16
|
+
this.label = undefined;
|
|
18
17
|
this.enabled = true;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
*/
|
|
18
|
+
this.errorMessage = undefined;
|
|
19
|
+
this.optionLoader = undefined;
|
|
22
20
|
this.showSelectedValue = true;
|
|
23
|
-
/**
|
|
24
|
-
* Se false cada opção na lista deve exibir somente o `label`.
|
|
25
|
-
*/
|
|
26
21
|
this.showOptionValue = true;
|
|
27
|
-
/**
|
|
28
|
-
* Se true remove a opção vazia da lista.
|
|
29
|
-
*/
|
|
30
22
|
this.suppressEmptyOption = false;
|
|
31
|
-
/**
|
|
32
|
-
* Define o tamanho do campo.
|
|
33
|
-
*/
|
|
34
23
|
this.mode = "regular";
|
|
35
24
|
}
|
|
36
25
|
observeErrorMessage() {
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-892780f1.js');
|
|
6
6
|
const core = require('@sankhyalabs/core');
|
|
7
7
|
|
|
8
8
|
const ezTabselectorCss = "@keyframes activate{0%{clip-path:inset(calc(100% - 3px) 50% 0px 50%)}100%{clip-path:inset(calc(100% - 3px) 0px 0px 0px)}}:host{display:flex;position:relative;width:100%;overflow:hidden;--tabselector--backward-icon:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"16px\" width=\"10px\"><path d=\"M 9.7808475,13.860393 3.9204526,8.0000004 9.7808475,2.0624965 7.9301965,0.28895552 0.21915255,8.0000004 7.9301965,15.711044 Z\"/></svg>');--tabselector--forward-icon: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>')}.scroll{display:flex;width:100%;scroll-behavior:smooth;overflow-x:auto;scrollbar-width:none}.scroll.startHidden{-webkit-mask-image:linear-gradient(90deg, transparent 20px, #000 48px)}.scroll.middle{-webkit-mask-image:linear-gradient(90deg, transparent 20px, #000 48px, #000 calc(100% - 48px), transparent calc(100% - 20px))}.scroll.endHidden{-webkit-mask-image:linear-gradient(90deg, #000 calc(100% - 48px), transparent calc(100% - 20px))}.tab{display:flex;border:none;min-width:100px;background-color:unset;cursor:pointer;padding:6px 12px;align-items:center;justify-content:center;color:var(--text--primary, #626e82);font-family:var(--font-pattern, \"Roboto\");font-size:var(--title--small, 14px)}.tab:focus,.forward-button,.backward-button{outline:none}.is-active{position:relative;color:var(--color--primary, #008561)}.is-active::after{content:\"\";position:absolute;width:100%;height:100%;background-color:var(--color--primary, #008561);clip-path:inset(calc(100% - 3px) 0px 0px 0px);animation:activate 0.25s ease-in-out}.is-focused{border:1px dashed var(--color--primary, #000000c5)}.tab-label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-shadow:var(--text-shadow);margin-bottom:var(--space--extra-small, 3px)}.forward-button,.backward-button{position:absolute;z-index:1;display:flex;box-sizing:border-box;padding:0px;top:0px;right:0px;width:16px;height:100%;border:none;background-color:unset;cursor:pointer;justify-content:center;align-items:center}.backward-button{left:0px}.forward-button::after,.backward-button::after{content:'';display:flex;background-color:var(--text--primary, #008561);width:10px;height:16px}.forward-button::after{-webkit-mask-image:var(--tabselector--forward-icon);mask-image:var(--tabselector--forward-icon)}.backward-button::after{-webkit-mask-image:var(--tabselector--backward-icon);mask-image:var(--tabselector--backward-icon)}.forward-button:hover::after,.backward-button:hover::after{background-color:var(--color--primary, #4e4e4e)}.hidden{display:none}.scroll::-webkit-scrollbar{display:none}.left-icon{padding-right:var(--space--small)}.right-icon{padding-left:var(--space--small)}";
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
const EzTabselector = class {
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
this.ezChange = index.createEvent(this, "ezChange", 7);
|
|
@@ -62,6 +62,10 @@ let EzTabselector = class {
|
|
|
62
62
|
this.setFocusedTab(this.selectedIndex);
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
|
+
this._processedTabs = undefined;
|
|
66
|
+
this.selectedIndex = undefined;
|
|
67
|
+
this.selectedTab = undefined;
|
|
68
|
+
this.tabs = undefined;
|
|
65
69
|
}
|
|
66
70
|
observeTabs(newValue) {
|
|
67
71
|
if (newValue && typeof newValue !== "string") {
|
|
@@ -2,30 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-892780f1.js');
|
|
6
6
|
const core = require('@sankhyalabs/core');
|
|
7
7
|
|
|
8
8
|
const ezTextAreaCss = ":host{--text-area--width:100%;--text-area--border-radius:var(--border--radius-medium, 12px);--text-area--font-size:var(--text--medium, 14px);--text-area--font-family:var(--font-pattern, Arial);--text-area--font-weight:var(--text-weight--medium, 400);--text-area--color:var(--title--primary, #000);--text-area__input--background-color:var(--background--medium, #e0e0e0);--text-area__input--border:var(--border--medium, 2px solid);--text-area__input--border-color:var(--text-area__input--background-color);--text-area__input--focus--border-color:var(--color--primary, #008561);--text-area__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--text-area__input--disabled--color:var(--text--disable, #AFB6C0);--text-area__input--error--border-color:#CC2936;--text-area__message_box--font-size:var(--text--small, 12px);--text-area__message_box--info--color:var(--color--success, #22085d);--text-area__message_box--error--color:var(--color--error, #FF0000);--text-area__label--floating--top:6px;--text-area__label--padding-top:12px;--text-area__label--padding-left:14px;--text-area__label--padding-right:12px;display:flex;flex-wrap:wrap;position:relative;width:var(--text-area--width)}textarea{box-sizing:border-box;border:none;resize:none;width:100%;padding:0;background:none;font-weight:var(--text-area--font-weight);font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);color:var(--text-area--color);margin-top:calc(var(--space--medium, 12px) + 4px)}textarea:focus{outline:none}textarea:disabled{background-color:transparent;color:var(--text-area__input--disabled--color)}.textarea{width:100%;box-sizing:border-box;padding-left:var(--space--medium);padding-right:var(--space--extra-small);border-radius:var(--text-area--border-radius);border:var(--text-area__input--border);border-color:var(--text-area__input--border-color);background-color:var(--text-area__input--background-color)}.textarea--focus{border-color:var(--text-area__input--focus--border-color)}.textarea.hasError{color:var(--text-area--color);border-color:var(--text-area__input--error--border-color)}.message-box{min-height:16px;min-width:100%;margin-top:3px;line-height:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--text-area--font-family);font-size:var(--text-area__message_box--font-size);color:var(--text-area__message_box--info--color)}.hasError{color:var(--text-area__message_box--error--color)}.textarea__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-area__label--padding-right));left:var(--text-area--space--medium);font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);font-weight:var(--text-area--font-weight);color:var(--text-area--color);top:var(--text-area__label--padding-top);left:var(--text-area__label--padding-left);padding-right:var(--text-area__label--padding-right)}.textarea__label--floated{font-family:var(--text-area--font-family);font-size:var(--text--extra-small);color:var(--text--primary);top:var(--text-area__label--floating--top)}.textarea__label--disabled{color:var(--text-area__input--disabled--color)}.textarea--slim{margin-top:var(--space--small, 6px)}.textarea--slim::-webkit-input-placeholder{font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);font-weight:var(--text-area--font-weight);color:var(--text-area--color)}.textarea--slim:-moz-placeholder{font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);font-weight:var(--text-area--font-weight);color:var(--text-area--color)}.textarea--slim::-moz-placeholder{font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);font-weight:var(--text-area--font-weight);color:var(--text-area--color)}.textarea--slim:-ms-input-placeholder{font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);font-weight:var(--text-area--font-weight);color:var(--text-area--color)}.textarea--slim::placeholder{font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);font-weight:var(--text-area--font-weight);color:var(--text-area--color)}.textarea--slim:disabled::-webkit-input-placeholder{color:var(--text-area__input--disabled--color)}.textarea--slim:disabled:-moz-placeholder{color:var(--text-area__input--disabled--color)}.textarea--slim:disabled::-moz-placeholder{color:var(--text-area__input--disabled--color)}.textarea--slim:disabled:-ms-input-placeholder{color:var(--text-area__input--disabled--color)}.textarea--slim:disabled::placeholder{color:var(--text-area__input--disabled--color)}";
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
const EzTextArea = class {
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
this.ezChange = index.createEvent(this, "ezChange", 7);
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
*/
|
|
14
|
+
this.label = undefined;
|
|
15
|
+
this.value = undefined;
|
|
17
16
|
this.enabled = true;
|
|
18
|
-
|
|
19
|
-
* Define o número de linhas.
|
|
20
|
-
*/
|
|
17
|
+
this.errorMessage = undefined;
|
|
21
18
|
this.rows = 4;
|
|
22
|
-
/**
|
|
23
|
-
* Se false deixa de exibir a mensagem de erro dentro do campo.
|
|
24
|
-
*/
|
|
25
19
|
this.canShowError = true;
|
|
26
|
-
/**
|
|
27
|
-
* Define o tamanho do campo.
|
|
28
|
-
*/
|
|
29
20
|
this.mode = "regular";
|
|
30
21
|
}
|
|
31
22
|
observeErrorMessage() {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-892780f1.js');
|
|
6
6
|
const core = require('@sankhyalabs/core');
|
|
7
7
|
const ApplicationUtils = require('./ApplicationUtils-350ac2ff.js');
|
|
8
8
|
require('./DialogType-2114c337.js');
|
|
@@ -10,11 +10,14 @@ require('./CheckMode-ecb90b87.js');
|
|
|
10
10
|
|
|
11
11
|
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
12
|
|
|
13
|
-
|
|
13
|
+
const EzTextEdit = class {
|
|
14
14
|
constructor(hostRef) {
|
|
15
15
|
index.registerInstance(this, hostRef);
|
|
16
16
|
this.saveEdition = index.createEvent(this, "saveEdition", 7);
|
|
17
17
|
this.cancelEdition = index.createEvent(this, "cancelEdition", 7);
|
|
18
|
+
this._newValue = undefined;
|
|
19
|
+
this.value = undefined;
|
|
20
|
+
this.styled = undefined;
|
|
18
21
|
}
|
|
19
22
|
/**
|
|
20
23
|
* Aplica foco no campo.
|
|
@@ -2,30 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-892780f1.js');
|
|
6
6
|
const core = require('@sankhyalabs/core');
|
|
7
7
|
|
|
8
8
|
const ezTextInputCss = ":host{--ez-text-input--height:42px;--ez-text-input--width:100%;--ez-text-input__icon--width:48px;--ez-text-input--height--slim:32px;--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--medium, 400);--ez-text-input--color:var(--title--primary, #2B3A54);--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--primary, #008561);--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__input--noborder-color:white;--ez-text-input__input--padding:var(--space--medium, 6px);--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;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);font-weight:var(--ez-text-input--font-weight);padding:var(--ez-text-input__input--padding)}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:disabled.hasError{color:var(--ez-text-input__input--disabled--color)}input.text--right{text-align:right}input:read-only{cursor:default}.message-box{min-height:16px;min-width:100%;margin-top:3px;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}.input--slim{padding-top:var(--space--small, 3px);padding-bottom:var(--space--small, 3px);height:var(--ez-text-input--height--slim)}.input__slim--title{font-size:16px;font-weight:bold}.input--slim::-webkit-input-placeholder{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)}.input--slim:-moz-placeholder{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)}.input--slim::-moz-placeholder{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)}.input--slim:-ms-input-placeholder{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)}.input--slim::placeholder{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)}.input--slim:disabled::-webkit-input-placeholder{color:var(--ez-text-input__input--disabled--color)}.input--slim:disabled:-moz-placeholder{color:var(--ez-text-input__input--disabled--color)}.input--slim:disabled::-moz-placeholder{color:var(--ez-text-input__input--disabled--color)}.input--slim:disabled:-ms-input-placeholder{color:var(--ez-text-input__input--disabled--color)}.input--slim:disabled::placeholder{color:var(--ez-text-input__input--disabled--color)}input.input__slim--noborder{box-shadow:0 0 0 0;border:0 none;outline:0;background:var(--ez-text-input__input--noborder-color)}";
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
const EzTextInput = class {
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
this.ezChange = index.createEvent(this, "ezChange", 7);
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
*/
|
|
14
|
+
this.label = undefined;
|
|
15
|
+
this.value = undefined;
|
|
17
16
|
this.enabled = true;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
*/
|
|
17
|
+
this.errorMessage = undefined;
|
|
18
|
+
this.mask = undefined;
|
|
21
19
|
this.canShowError = true;
|
|
22
|
-
|
|
23
|
-
* Define o tamanho do campo.
|
|
24
|
-
*/
|
|
20
|
+
this.restrict = undefined;
|
|
25
21
|
this.mode = "regular";
|
|
26
|
-
/**
|
|
27
|
-
* Se true o campo não terá bordas.
|
|
28
|
-
*/
|
|
29
22
|
this.noBorder = false;
|
|
30
23
|
}
|
|
31
24
|
observeErrorMessage() {
|