@sankhyalabs/ezui 1.1.8 → 1.1.9
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/README.md +72 -72
- package/dist/cjs/{DataUnit-28b290cb.js → DataUnit-9a4a35ca.js} +415 -371
- package/dist/cjs/ez-action-chip.cjs.entry.js +41 -41
- package/dist/cjs/ez-button_14.cjs.entry.js +1911 -1911
- package/dist/cjs/ez-label-chip.cjs.entry.js +120 -120
- package/dist/cjs/ez-modal.cjs.entry.js +104 -104
- package/dist/cjs/ez-number-input.cjs.entry.js +236 -236
- package/dist/cjs/ez-time-input.cjs.entry.js +168 -168
- package/dist/cjs/form-metadata.cjs.entry.js +65 -65
- package/dist/collection/components/ez-action-chip/ez-action-chip.css +82 -82
- package/dist/collection/components/ez-action-chip/ez-action-chip.js +109 -109
- package/dist/collection/components/ez-button/ez-button.css +94 -94
- package/dist/collection/components/ez-button/ez-button.js +125 -125
- package/dist/collection/components/ez-calendar/ez-calendar.css +210 -210
- package/dist/collection/components/ez-calendar/ez-calendar.js +215 -215
- package/dist/collection/components/ez-check/ez-check.css +265 -265
- package/dist/collection/components/ez-check/ez-check.js +168 -168
- package/dist/collection/components/ez-collapsable-box/ez-collapsable-box.css +67 -67
- package/dist/collection/components/ez-collapsable-box/ez-collapsable-box.js +108 -108
- package/dist/collection/components/ez-combo-box/ez-combo-box-interfaces.js +2 -2
- package/dist/collection/components/ez-combo-box/ez-combo-box.css +167 -167
- package/dist/collection/components/ez-combo-box/ez-combo-box.js +363 -363
- package/dist/collection/components/ez-date-input/ez-date-input.css +38 -38
- package/dist/collection/components/ez-date-input/ez-date-input.js +172 -172
- package/dist/collection/components/ez-form/ez-form.css +19 -19
- package/dist/collection/components/ez-form/ez-form.js +368 -368
- package/dist/collection/components/ez-form/store/Form.actions.js +132 -132
- package/dist/collection/components/ez-form/store/Form.reducer.js +194 -194
- package/dist/collection/components/ez-form/store/Form.selectors.js +44 -44
- package/dist/collection/components/ez-form/subcomponents/DataUnit.js +251 -207
- package/dist/collection/components/ez-form/subcomponents/FormMetadata.js +16 -16
- package/dist/collection/components/ez-form/subcomponents/css/place-holder.css +23 -23
- package/dist/collection/components/ez-form/subcomponents/form-metadata.js +173 -173
- package/dist/collection/components/ez-form/subcomponents/place-holder.js +14 -14
- package/dist/collection/components/ez-form/subcomponents/structure/Field.js +71 -71
- package/dist/collection/components/ez-form/subcomponents/structure/FieldSet.js +27 -27
- package/dist/collection/components/ez-form/subcomponents/structure/FormSheet.js +40 -40
- package/dist/collection/components/ez-form/subcomponents/structure/NavigationBar.js +27 -27
- package/dist/collection/components/ez-icon/ez-icon.css +36 -36
- package/dist/collection/components/ez-icon/ez-icon.js +56 -56
- package/dist/collection/components/ez-label-chip/ez-label-chip.css +117 -117
- package/dist/collection/components/ez-label-chip/ez-label-chip.js +276 -276
- package/dist/collection/components/ez-modal/ez-modal.css +86 -86
- package/dist/collection/components/ez-modal/ez-modal.js +224 -224
- package/dist/collection/components/ez-number-input/ez-number-input.css +144 -144
- package/dist/collection/components/ez-number-input/ez-number-input.js +465 -465
- package/dist/collection/components/ez-popover/ez-popover.css +38 -38
- package/dist/collection/components/ez-popover/ez-popover.js +323 -323
- package/dist/collection/components/ez-search/ez-search.css +295 -295
- package/dist/collection/components/ez-search/ez-search.js +527 -527
- package/dist/collection/components/ez-tabselector/ez-tabselector.css +125 -125
- package/dist/collection/components/ez-tabselector/ez-tabselector.js +283 -283
- package/dist/collection/components/ez-text-area/ez-text-area.css +139 -139
- package/dist/collection/components/ez-text-area/ez-text-area.js +267 -267
- package/dist/collection/components/ez-text-input/ez-text-input.css +169 -169
- package/dist/collection/components/ez-text-input/ez-text-input.js +395 -395
- package/dist/collection/components/ez-time-input/ez-time-input.css +155 -155
- package/dist/collection/components/ez-time-input/ez-time-input.js +326 -326
- package/dist/collection/index.js +1 -1
- package/dist/collection/servidor.js +100 -100
- package/dist/collection/utils/FloatingManager.js +15 -15
- package/dist/collection/utils/utils.js +6 -6
- package/dist/custom-elements/index.js +3125 -3081
- package/dist/esm/{DataUnit-69e518fa.js → DataUnit-d5d4c9a3.js} +415 -371
- package/dist/esm/ez-action-chip.entry.js +41 -41
- package/dist/esm/ez-button_14.entry.js +1911 -1911
- package/dist/esm/ez-label-chip.entry.js +120 -120
- package/dist/esm/ez-modal.entry.js +104 -104
- package/dist/esm/ez-number-input.entry.js +236 -236
- package/dist/esm/ez-time-input.entry.js +168 -168
- package/dist/esm/form-metadata.entry.js +65 -65
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/{p-b0974f4f.entry.js → p-0fcdfb51.entry.js} +1 -1
- package/dist/ezui/p-dac7a6c2.js +1 -0
- package/dist/ezui/{p-db11c600.entry.js → p-dbef7060.entry.js} +1 -1
- package/dist/types/components/ez-action-chip/ez-action-chip.d.ts +16 -16
- package/dist/types/components/ez-button/ez-button.d.ts +20 -20
- package/dist/types/components/ez-calendar/ez-calendar.d.ts +42 -42
- package/dist/types/components/ez-check/ez-check.d.ts +32 -32
- package/dist/types/components/ez-collapsable-box/ez-collapsable-box.d.ts +18 -18
- package/dist/types/components/ez-combo-box/ez-combo-box-interfaces.d.ts +4 -4
- package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +68 -68
- package/dist/types/components/ez-date-input/ez-date-input.d.ts +31 -31
- package/dist/types/components/ez-form/ez-form.d.ts +26 -31
- package/dist/types/components/ez-form/store/Form.actions.d.ts +111 -111
- package/dist/types/components/ez-form/store/Form.reducer.d.ts +20 -20
- package/dist/types/components/ez-form/store/Form.selectors.d.ts +14 -14
- package/dist/types/components/ez-form/subcomponents/DataUnit.d.ts +60 -55
- package/dist/types/components/ez-form/subcomponents/FormMetadata.d.ts +41 -41
- package/dist/types/components/ez-form/subcomponents/form-metadata.d.ts +15 -15
- package/dist/types/components/ez-form/subcomponents/place-holder.d.ts +3 -3
- package/dist/types/components/ez-form/subcomponents/structure/Field.d.ts +10 -10
- package/dist/types/components/ez-form/subcomponents/structure/FieldSet.d.ts +12 -12
- package/dist/types/components/ez-form/subcomponents/structure/FormSheet.d.ts +13 -13
- package/dist/types/components/ez-form/subcomponents/structure/NavigationBar.d.ts +17 -17
- package/dist/types/components/ez-icon/ez-icon.d.ts +5 -5
- package/dist/types/components/ez-label-chip/ez-label-chip.d.ts +40 -40
- package/dist/types/components/ez-modal/ez-modal.d.ts +32 -32
- package/dist/types/components/ez-number-input/ez-number-input.d.ts +73 -73
- package/dist/types/components/ez-popover/ez-popover.d.ts +52 -52
- package/dist/types/components/ez-search/ez-search.d.ts +95 -95
- package/dist/types/components/ez-tabselector/ez-tabselector.d.ts +31 -31
- package/dist/types/components/ez-text-area/ez-text-area.d.ts +49 -49
- package/dist/types/components/ez-text-input/ez-text-input.d.ts +64 -64
- package/dist/types/components/ez-time-input/ez-time-input.d.ts +53 -53
- package/dist/types/index.d.ts +1 -1
- package/dist/types/utils/utils.d.ts +2 -2
- package/package.json +114 -114
- package/dist/ezui/p-10ef58b3.js +0 -1
- package/react/components.d.ts +0 -22
- package/react/components.js +0 -25
- package/react/components.js.map +0 -1
- package/react/react-component-lib/createComponent.d.ts +0 -10
- package/react/react-component-lib/createComponent.js +0 -59
- package/react/react-component-lib/createComponent.js.map +0 -1
- package/react/react-component-lib/createOverlayComponent.d.ts +0 -20
- package/react/react-component-lib/createOverlayComponent.js +0 -89
- package/react/react-component-lib/createOverlayComponent.js.map +0 -1
- package/react/react-component-lib/index.d.ts +0 -2
- package/react/react-component-lib/index.js +0 -3
- package/react/react-component-lib/index.js.map +0 -1
- package/react/react-component-lib/interfaces.d.ts +0 -29
- package/react/react-component-lib/interfaces.js +0 -1
- package/react/react-component-lib/interfaces.js.map +0 -1
- package/react/react-component-lib/utils/attachProps.d.ts +0 -12
- package/react/react-component-lib/utils/attachProps.js +0 -96
- package/react/react-component-lib/utils/attachProps.js.map +0 -1
- package/react/react-component-lib/utils/case.d.ts +0 -2
- package/react/react-component-lib/utils/case.js +0 -7
- package/react/react-component-lib/utils/case.js.map +0 -1
- package/react/react-component-lib/utils/dev.d.ts +0 -2
- package/react/react-component-lib/utils/dev.js +0 -13
- package/react/react-component-lib/utils/dev.js.map +0 -1
- package/react/react-component-lib/utils/index.d.ts +0 -7
- package/react/react-component-lib/utils/index.js +0 -21
- package/react/react-component-lib/utils/index.js.map +0 -1
|
@@ -1,108 +1,108 @@
|
|
|
1
|
-
import { Component, h, Host, Prop, Event, Watch, Method } from '@stencil/core';
|
|
2
|
-
export class EzCollapsableBox {
|
|
3
|
-
constructor() {
|
|
4
|
-
/**
|
|
5
|
-
* Valor externalizado que garante a exibição ou não do componente
|
|
6
|
-
*/
|
|
7
|
-
this.value = false;
|
|
8
|
-
}
|
|
9
|
-
observeValue() {
|
|
10
|
-
this.ezChange.emit();
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Esconde ou revela o conteúdo do componente
|
|
14
|
-
*/
|
|
15
|
-
async showHide() {
|
|
16
|
-
this.value = !this.value;
|
|
17
|
-
}
|
|
18
|
-
render() {
|
|
19
|
-
return (h(Host, null,
|
|
20
|
-
h("div", { class: "collapsable-box__title" },
|
|
21
|
-
h("button", { class: this.value ? "collapsable-box__btn collapsable-box__btn--collapsed" : "collapsable-box__btn", onClick: () => this.showHide() }),
|
|
22
|
-
h("label", { class: "collapsable-box__label", title: this.label }, this.label)),
|
|
23
|
-
!this.value ? h("slot", null) : null));
|
|
24
|
-
}
|
|
25
|
-
static get is() { return "ez-collapsable-box"; }
|
|
26
|
-
static get encapsulation() { return "shadow"; }
|
|
27
|
-
static get originalStyleUrls() { return {
|
|
28
|
-
"$": ["ez-collapsable-box.css"]
|
|
29
|
-
}; }
|
|
30
|
-
static get styleUrls() { return {
|
|
31
|
-
"$": ["ez-collapsable-box.css"]
|
|
32
|
-
}; }
|
|
33
|
-
static get properties() { return {
|
|
34
|
-
"value": {
|
|
35
|
-
"type": "boolean",
|
|
36
|
-
"mutable": true,
|
|
37
|
-
"complexType": {
|
|
38
|
-
"original": "boolean",
|
|
39
|
-
"resolved": "boolean",
|
|
40
|
-
"references": {}
|
|
41
|
-
},
|
|
42
|
-
"required": false,
|
|
43
|
-
"optional": false,
|
|
44
|
-
"docs": {
|
|
45
|
-
"tags": [],
|
|
46
|
-
"text": "Valor externalizado que garante a exibi\u00E7\u00E3o ou n\u00E3o do componente"
|
|
47
|
-
},
|
|
48
|
-
"attribute": "value",
|
|
49
|
-
"reflect": true,
|
|
50
|
-
"defaultValue": "false"
|
|
51
|
-
},
|
|
52
|
-
"label": {
|
|
53
|
-
"type": "string",
|
|
54
|
-
"mutable": false,
|
|
55
|
-
"complexType": {
|
|
56
|
-
"original": "string",
|
|
57
|
-
"resolved": "string",
|
|
58
|
-
"references": {}
|
|
59
|
-
},
|
|
60
|
-
"required": false,
|
|
61
|
-
"optional": false,
|
|
62
|
-
"docs": {
|
|
63
|
-
"tags": [],
|
|
64
|
-
"text": "Label \u00E9 o t\u00EDtulo do campo"
|
|
65
|
-
},
|
|
66
|
-
"attribute": "label",
|
|
67
|
-
"reflect": true
|
|
68
|
-
}
|
|
69
|
-
}; }
|
|
70
|
-
static get events() { return [{
|
|
71
|
-
"method": "ezChange",
|
|
72
|
-
"name": "ezChange",
|
|
73
|
-
"bubbles": true,
|
|
74
|
-
"cancelable": true,
|
|
75
|
-
"composed": true,
|
|
76
|
-
"docs": {
|
|
77
|
-
"tags": [],
|
|
78
|
-
"text": ""
|
|
79
|
-
},
|
|
80
|
-
"complexType": {
|
|
81
|
-
"original": "string",
|
|
82
|
-
"resolved": "string",
|
|
83
|
-
"references": {}
|
|
84
|
-
}
|
|
85
|
-
}]; }
|
|
86
|
-
static get methods() { return {
|
|
87
|
-
"showHide": {
|
|
88
|
-
"complexType": {
|
|
89
|
-
"signature": "() => Promise<void>",
|
|
90
|
-
"parameters": [],
|
|
91
|
-
"references": {
|
|
92
|
-
"Promise": {
|
|
93
|
-
"location": "global"
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
"return": "Promise<void>"
|
|
97
|
-
},
|
|
98
|
-
"docs": {
|
|
99
|
-
"text": "Esconde ou revela o conte\u00FAdo do componente",
|
|
100
|
-
"tags": []
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}; }
|
|
104
|
-
static get watchers() { return [{
|
|
105
|
-
"propName": "value",
|
|
106
|
-
"methodName": "observeValue"
|
|
107
|
-
}]; }
|
|
108
|
-
}
|
|
1
|
+
import { Component, h, Host, Prop, Event, Watch, Method } from '@stencil/core';
|
|
2
|
+
export class EzCollapsableBox {
|
|
3
|
+
constructor() {
|
|
4
|
+
/**
|
|
5
|
+
* Valor externalizado que garante a exibição ou não do componente
|
|
6
|
+
*/
|
|
7
|
+
this.value = false;
|
|
8
|
+
}
|
|
9
|
+
observeValue() {
|
|
10
|
+
this.ezChange.emit();
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Esconde ou revela o conteúdo do componente
|
|
14
|
+
*/
|
|
15
|
+
async showHide() {
|
|
16
|
+
this.value = !this.value;
|
|
17
|
+
}
|
|
18
|
+
render() {
|
|
19
|
+
return (h(Host, null,
|
|
20
|
+
h("div", { class: "collapsable-box__title" },
|
|
21
|
+
h("button", { class: this.value ? "collapsable-box__btn collapsable-box__btn--collapsed" : "collapsable-box__btn", onClick: () => this.showHide() }),
|
|
22
|
+
h("label", { class: "collapsable-box__label", title: this.label }, this.label)),
|
|
23
|
+
!this.value ? h("slot", null) : null));
|
|
24
|
+
}
|
|
25
|
+
static get is() { return "ez-collapsable-box"; }
|
|
26
|
+
static get encapsulation() { return "shadow"; }
|
|
27
|
+
static get originalStyleUrls() { return {
|
|
28
|
+
"$": ["ez-collapsable-box.css"]
|
|
29
|
+
}; }
|
|
30
|
+
static get styleUrls() { return {
|
|
31
|
+
"$": ["ez-collapsable-box.css"]
|
|
32
|
+
}; }
|
|
33
|
+
static get properties() { return {
|
|
34
|
+
"value": {
|
|
35
|
+
"type": "boolean",
|
|
36
|
+
"mutable": true,
|
|
37
|
+
"complexType": {
|
|
38
|
+
"original": "boolean",
|
|
39
|
+
"resolved": "boolean",
|
|
40
|
+
"references": {}
|
|
41
|
+
},
|
|
42
|
+
"required": false,
|
|
43
|
+
"optional": false,
|
|
44
|
+
"docs": {
|
|
45
|
+
"tags": [],
|
|
46
|
+
"text": "Valor externalizado que garante a exibi\u00E7\u00E3o ou n\u00E3o do componente"
|
|
47
|
+
},
|
|
48
|
+
"attribute": "value",
|
|
49
|
+
"reflect": true,
|
|
50
|
+
"defaultValue": "false"
|
|
51
|
+
},
|
|
52
|
+
"label": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"mutable": false,
|
|
55
|
+
"complexType": {
|
|
56
|
+
"original": "string",
|
|
57
|
+
"resolved": "string",
|
|
58
|
+
"references": {}
|
|
59
|
+
},
|
|
60
|
+
"required": false,
|
|
61
|
+
"optional": false,
|
|
62
|
+
"docs": {
|
|
63
|
+
"tags": [],
|
|
64
|
+
"text": "Label \u00E9 o t\u00EDtulo do campo"
|
|
65
|
+
},
|
|
66
|
+
"attribute": "label",
|
|
67
|
+
"reflect": true
|
|
68
|
+
}
|
|
69
|
+
}; }
|
|
70
|
+
static get events() { return [{
|
|
71
|
+
"method": "ezChange",
|
|
72
|
+
"name": "ezChange",
|
|
73
|
+
"bubbles": true,
|
|
74
|
+
"cancelable": true,
|
|
75
|
+
"composed": true,
|
|
76
|
+
"docs": {
|
|
77
|
+
"tags": [],
|
|
78
|
+
"text": ""
|
|
79
|
+
},
|
|
80
|
+
"complexType": {
|
|
81
|
+
"original": "string",
|
|
82
|
+
"resolved": "string",
|
|
83
|
+
"references": {}
|
|
84
|
+
}
|
|
85
|
+
}]; }
|
|
86
|
+
static get methods() { return {
|
|
87
|
+
"showHide": {
|
|
88
|
+
"complexType": {
|
|
89
|
+
"signature": "() => Promise<void>",
|
|
90
|
+
"parameters": [],
|
|
91
|
+
"references": {
|
|
92
|
+
"Promise": {
|
|
93
|
+
"location": "global"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"return": "Promise<void>"
|
|
97
|
+
},
|
|
98
|
+
"docs": {
|
|
99
|
+
"text": "Esconde ou revela o conte\u00FAdo do componente",
|
|
100
|
+
"tags": []
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}; }
|
|
104
|
+
static get watchers() { return [{
|
|
105
|
+
"propName": "value",
|
|
106
|
+
"methodName": "observeValue"
|
|
107
|
+
}]; }
|
|
108
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
;
|
|
2
|
-
export {};
|
|
1
|
+
;
|
|
2
|
+
export {};
|
|
@@ -1,167 +1,167 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
/* dimensions */
|
|
3
|
-
--cx--height: 42px;
|
|
4
|
-
--cx--width: 100%;
|
|
5
|
-
--cx__icon--width: 48px;
|
|
6
|
-
/* general */
|
|
7
|
-
--cx--border-radius: var(--border--radius-medium, 12px);
|
|
8
|
-
--cx--border-radius-small: var(--border--radius-small, 6px);
|
|
9
|
-
--cx--font-size: var(--text--medium, 14px);
|
|
10
|
-
--cx--font-family: var(--font-pattern, Arial);
|
|
11
|
-
--cx--font-weight--large: var(--text-weight--large, 500);
|
|
12
|
-
--cx--font-weight--medium: var(--text-weight--medium, 400);
|
|
13
|
-
--cx--space--medium: var(--space--medium, 12px);
|
|
14
|
-
--cx--space--small: var(--space--small, 6px);
|
|
15
|
-
--cx--shadow: var(--shadow, 0px 0px 16px 0px rgba(0, 38, 111, .12));
|
|
16
|
-
--cx--background-color--xlight: var(--background--xlight,#fff);
|
|
17
|
-
|
|
18
|
-
/* input */
|
|
19
|
-
--cx__input--background-color: var(--background--medium, #e0e0e0);
|
|
20
|
-
--cx__input--border: var(--border--medium, 2px solid);
|
|
21
|
-
--cx__input--border-color: var(--cx__input--background-color);
|
|
22
|
-
/*no modo normal usamos a borda com a mesma cor do bg*/
|
|
23
|
-
--cx__input--focus--border-color: var(--color--primary, #008561);
|
|
24
|
-
--cx__input--disabled--background-color: var(--color--disable-secondary, #F2F5F8);
|
|
25
|
-
--cx__input--disabled--color: var(--text--disable, #AFB6C0);
|
|
26
|
-
--cx__input--error--border-color: #CC2936;
|
|
27
|
-
/* label */
|
|
28
|
-
--cx__label--color: var(--title--primary, #919191);
|
|
29
|
-
/* message box */
|
|
30
|
-
--cx__message_box--font-size: var(--text--small, 12px);
|
|
31
|
-
--cx__message_box--info--color: var(--color--success, #22085d);
|
|
32
|
-
--cx__message_box--error--color: var(--color--error, #FF0000);
|
|
33
|
-
|
|
34
|
-
/* list */
|
|
35
|
-
--cx__list-text--primary:var(--text--primary,#626e82);
|
|
36
|
-
--cx__list-text--secondary:var(--text--secondary,#a2abb9);
|
|
37
|
-
--cx__list-height:calc(var(--cx--font-size) + var(--cx--space--medium));
|
|
38
|
-
|
|
39
|
-
/***************
|
|
40
|
-
host style
|
|
41
|
-
***************/
|
|
42
|
-
/*private*/
|
|
43
|
-
display: flex;
|
|
44
|
-
flex-wrap: wrap;
|
|
45
|
-
position: relative;
|
|
46
|
-
/*public*/
|
|
47
|
-
width: var(--cx--width);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
ez-text-input{
|
|
51
|
-
--it__input--background-color: var(--cx__input--background-color, #FFFFFF);
|
|
52
|
-
--it__input--border-color: var(--cx__input--border-color, #DCE0E8);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.invisible {
|
|
56
|
-
visibility: hidden;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.list-container{
|
|
60
|
-
scroll-behavior: smooth;
|
|
61
|
-
z-index: var(--cx__list-z-index);
|
|
62
|
-
padding: var(--cx--space--small);
|
|
63
|
-
background: var(--cx--background-color--xlight);
|
|
64
|
-
border-radius: var(--cx--border-radius);
|
|
65
|
-
width: 100%;
|
|
66
|
-
overflow: auto;
|
|
67
|
-
box-sizing: border-box;
|
|
68
|
-
/* height of 4 internal elements plus upper and down padding */
|
|
69
|
-
max-height: calc(4*var(--cx__list-height) + 2*var(--cx--space--small));
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
li{
|
|
73
|
-
|
|
74
|
-
list-style-type: none;
|
|
75
|
-
border-radius: var(--cx--border-radius-small);
|
|
76
|
-
padding: 0 var(--cx--space--small);
|
|
77
|
-
display: flex;
|
|
78
|
-
justify-content: space-between;
|
|
79
|
-
align-items: center;
|
|
80
|
-
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
li:hover{
|
|
84
|
-
background-color: var(--background--medium);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.--li--preselected{
|
|
88
|
-
background-color: var(--background--strong);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.--li__spanlabel{
|
|
92
|
-
color: var(--cx__list-text--primary);
|
|
93
|
-
border-radius: var(--cx--border-radius-small);
|
|
94
|
-
padding: 0 var(--cx--space--small);
|
|
95
|
-
height: var(--cx__list-height);
|
|
96
|
-
font-weight: var(--cx--font-weight--large);
|
|
97
|
-
font-family: var(--cx--font-family);
|
|
98
|
-
line-height: var(--cx__list-height);
|
|
99
|
-
vertical-align: middle;
|
|
100
|
-
text-overflow: ellipsis;
|
|
101
|
-
width: 80%;
|
|
102
|
-
min-width: 30px;
|
|
103
|
-
overflow-x: hidden;
|
|
104
|
-
text-align: left;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.--li__spanlabel--full-width{
|
|
108
|
-
color: var(--cx__list-text--primary);
|
|
109
|
-
border-radius: var(--cx--border-radius-small);
|
|
110
|
-
padding: 0 var(--cx--space--small);
|
|
111
|
-
height: var(--cx__list-height);
|
|
112
|
-
font-weight: var(--cx--font-weight--large);
|
|
113
|
-
font-family: var(--cx--font-family);
|
|
114
|
-
line-height: var(--cx__list-height);
|
|
115
|
-
vertical-align: middle;
|
|
116
|
-
text-overflow: ellipsis;
|
|
117
|
-
width: 100%;
|
|
118
|
-
min-width: 30px;
|
|
119
|
-
overflow-x: hidden;
|
|
120
|
-
text-align: left;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.--li__spanvalue{
|
|
124
|
-
color: var(--cx__list-text--secondary);
|
|
125
|
-
border-radius: var(--cx--border-radius-small);
|
|
126
|
-
padding: 0 var(--cx--space--small);
|
|
127
|
-
height: var(--cx__list-height);
|
|
128
|
-
font-weight: var(--cx--font-weight--medium);
|
|
129
|
-
font-family: var(--cx--font-family);
|
|
130
|
-
line-height: var(--cx__list-height);
|
|
131
|
-
vertical-align: middle;
|
|
132
|
-
text-overflow: ellipsis;
|
|
133
|
-
width: 20%;
|
|
134
|
-
min-width: 20px;
|
|
135
|
-
overflow-x: hidden;
|
|
136
|
-
text-align: left;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.btn-open-options{
|
|
140
|
-
outline: none;
|
|
141
|
-
border: none;
|
|
142
|
-
background-color: unset;
|
|
143
|
-
cursor: pointer;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.btn-open-options:disabled{
|
|
147
|
-
cursor: unset;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.btn-open-options::after{
|
|
151
|
-
content: '';
|
|
152
|
-
display: flex;
|
|
153
|
-
background-color: var(--text--primary, #008561);
|
|
154
|
-
width: 16px;
|
|
155
|
-
height: 16px;
|
|
156
|
-
clip-path: path("M 1.8585859,3.0707069 7.9999998,9.2121212 14.141414,3.0707069 16,5.0101006 7.9999998,12.929293 0,4.9292932 Z");
|
|
157
|
-
}
|
|
158
|
-
.btn-open-options:disabled:after{
|
|
159
|
-
background-color: var(--text--disable, #AFB6C0);
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.btn-open-options:enabled:hover::after{
|
|
163
|
-
background-color: var(--color--primary, #4e4e4e);
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
1
|
+
:host {
|
|
2
|
+
/* dimensions */
|
|
3
|
+
--cx--height: 42px;
|
|
4
|
+
--cx--width: 100%;
|
|
5
|
+
--cx__icon--width: 48px;
|
|
6
|
+
/* general */
|
|
7
|
+
--cx--border-radius: var(--border--radius-medium, 12px);
|
|
8
|
+
--cx--border-radius-small: var(--border--radius-small, 6px);
|
|
9
|
+
--cx--font-size: var(--text--medium, 14px);
|
|
10
|
+
--cx--font-family: var(--font-pattern, Arial);
|
|
11
|
+
--cx--font-weight--large: var(--text-weight--large, 500);
|
|
12
|
+
--cx--font-weight--medium: var(--text-weight--medium, 400);
|
|
13
|
+
--cx--space--medium: var(--space--medium, 12px);
|
|
14
|
+
--cx--space--small: var(--space--small, 6px);
|
|
15
|
+
--cx--shadow: var(--shadow, 0px 0px 16px 0px rgba(0, 38, 111, .12));
|
|
16
|
+
--cx--background-color--xlight: var(--background--xlight,#fff);
|
|
17
|
+
|
|
18
|
+
/* input */
|
|
19
|
+
--cx__input--background-color: var(--background--medium, #e0e0e0);
|
|
20
|
+
--cx__input--border: var(--border--medium, 2px solid);
|
|
21
|
+
--cx__input--border-color: var(--cx__input--background-color);
|
|
22
|
+
/*no modo normal usamos a borda com a mesma cor do bg*/
|
|
23
|
+
--cx__input--focus--border-color: var(--color--primary, #008561);
|
|
24
|
+
--cx__input--disabled--background-color: var(--color--disable-secondary, #F2F5F8);
|
|
25
|
+
--cx__input--disabled--color: var(--text--disable, #AFB6C0);
|
|
26
|
+
--cx__input--error--border-color: #CC2936;
|
|
27
|
+
/* label */
|
|
28
|
+
--cx__label--color: var(--title--primary, #919191);
|
|
29
|
+
/* message box */
|
|
30
|
+
--cx__message_box--font-size: var(--text--small, 12px);
|
|
31
|
+
--cx__message_box--info--color: var(--color--success, #22085d);
|
|
32
|
+
--cx__message_box--error--color: var(--color--error, #FF0000);
|
|
33
|
+
|
|
34
|
+
/* list */
|
|
35
|
+
--cx__list-text--primary:var(--text--primary,#626e82);
|
|
36
|
+
--cx__list-text--secondary:var(--text--secondary,#a2abb9);
|
|
37
|
+
--cx__list-height:calc(var(--cx--font-size) + var(--cx--space--medium));
|
|
38
|
+
|
|
39
|
+
/***************
|
|
40
|
+
host style
|
|
41
|
+
***************/
|
|
42
|
+
/*private*/
|
|
43
|
+
display: flex;
|
|
44
|
+
flex-wrap: wrap;
|
|
45
|
+
position: relative;
|
|
46
|
+
/*public*/
|
|
47
|
+
width: var(--cx--width);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
ez-text-input{
|
|
51
|
+
--it__input--background-color: var(--cx__input--background-color, #FFFFFF);
|
|
52
|
+
--it__input--border-color: var(--cx__input--border-color, #DCE0E8);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.invisible {
|
|
56
|
+
visibility: hidden;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.list-container{
|
|
60
|
+
scroll-behavior: smooth;
|
|
61
|
+
z-index: var(--cx__list-z-index);
|
|
62
|
+
padding: var(--cx--space--small);
|
|
63
|
+
background: var(--cx--background-color--xlight);
|
|
64
|
+
border-radius: var(--cx--border-radius);
|
|
65
|
+
width: 100%;
|
|
66
|
+
overflow: auto;
|
|
67
|
+
box-sizing: border-box;
|
|
68
|
+
/* height of 4 internal elements plus upper and down padding */
|
|
69
|
+
max-height: calc(4*var(--cx__list-height) + 2*var(--cx--space--small));
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
li{
|
|
73
|
+
|
|
74
|
+
list-style-type: none;
|
|
75
|
+
border-radius: var(--cx--border-radius-small);
|
|
76
|
+
padding: 0 var(--cx--space--small);
|
|
77
|
+
display: flex;
|
|
78
|
+
justify-content: space-between;
|
|
79
|
+
align-items: center;
|
|
80
|
+
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
li:hover{
|
|
84
|
+
background-color: var(--background--medium);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.--li--preselected{
|
|
88
|
+
background-color: var(--background--strong);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.--li__spanlabel{
|
|
92
|
+
color: var(--cx__list-text--primary);
|
|
93
|
+
border-radius: var(--cx--border-radius-small);
|
|
94
|
+
padding: 0 var(--cx--space--small);
|
|
95
|
+
height: var(--cx__list-height);
|
|
96
|
+
font-weight: var(--cx--font-weight--large);
|
|
97
|
+
font-family: var(--cx--font-family);
|
|
98
|
+
line-height: var(--cx__list-height);
|
|
99
|
+
vertical-align: middle;
|
|
100
|
+
text-overflow: ellipsis;
|
|
101
|
+
width: 80%;
|
|
102
|
+
min-width: 30px;
|
|
103
|
+
overflow-x: hidden;
|
|
104
|
+
text-align: left;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.--li__spanlabel--full-width{
|
|
108
|
+
color: var(--cx__list-text--primary);
|
|
109
|
+
border-radius: var(--cx--border-radius-small);
|
|
110
|
+
padding: 0 var(--cx--space--small);
|
|
111
|
+
height: var(--cx__list-height);
|
|
112
|
+
font-weight: var(--cx--font-weight--large);
|
|
113
|
+
font-family: var(--cx--font-family);
|
|
114
|
+
line-height: var(--cx__list-height);
|
|
115
|
+
vertical-align: middle;
|
|
116
|
+
text-overflow: ellipsis;
|
|
117
|
+
width: 100%;
|
|
118
|
+
min-width: 30px;
|
|
119
|
+
overflow-x: hidden;
|
|
120
|
+
text-align: left;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.--li__spanvalue{
|
|
124
|
+
color: var(--cx__list-text--secondary);
|
|
125
|
+
border-radius: var(--cx--border-radius-small);
|
|
126
|
+
padding: 0 var(--cx--space--small);
|
|
127
|
+
height: var(--cx__list-height);
|
|
128
|
+
font-weight: var(--cx--font-weight--medium);
|
|
129
|
+
font-family: var(--cx--font-family);
|
|
130
|
+
line-height: var(--cx__list-height);
|
|
131
|
+
vertical-align: middle;
|
|
132
|
+
text-overflow: ellipsis;
|
|
133
|
+
width: 20%;
|
|
134
|
+
min-width: 20px;
|
|
135
|
+
overflow-x: hidden;
|
|
136
|
+
text-align: left;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.btn-open-options{
|
|
140
|
+
outline: none;
|
|
141
|
+
border: none;
|
|
142
|
+
background-color: unset;
|
|
143
|
+
cursor: pointer;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.btn-open-options:disabled{
|
|
147
|
+
cursor: unset;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.btn-open-options::after{
|
|
151
|
+
content: '';
|
|
152
|
+
display: flex;
|
|
153
|
+
background-color: var(--text--primary, #008561);
|
|
154
|
+
width: 16px;
|
|
155
|
+
height: 16px;
|
|
156
|
+
clip-path: path("M 1.8585859,3.0707069 7.9999998,9.2121212 14.141414,3.0707069 16,5.0101006 7.9999998,12.929293 0,4.9292932 Z");
|
|
157
|
+
}
|
|
158
|
+
.btn-open-options:disabled:after{
|
|
159
|
+
background-color: var(--text--disable, #AFB6C0);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.btn-open-options:enabled:hover::after{
|
|
163
|
+
background-color: var(--color--primary, #4e4e4e);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|