@unicef-polymer/etools-form-builder 2.1.4 → 2.1.6
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/assets/translations.d.ts +6 -6
- package/dist/assets/translations.js +67 -67
- package/dist/form-attachments-popup/form-attachments-popup.d.ts +86 -86
- package/dist/form-attachments-popup/form-attachments-popup.helper.d.ts +8 -8
- package/dist/form-attachments-popup/form-attachments-popup.helper.js +14 -14
- package/dist/form-attachments-popup/form-attachments-popup.js +207 -207
- package/dist/form-attachments-popup/form-attachments-popup.tpl.d.ts +3 -3
- package/dist/form-attachments-popup/form-attachments-popup.tpl.js +11 -11
- package/dist/form-attachments-popup/index.d.ts +2 -2
- package/dist/form-attachments-popup/index.js +2 -2
- package/dist/form-fields/abstract-field-base.class.d.ts +33 -33
- package/dist/form-fields/abstract-field-base.class.js +117 -98
- package/dist/form-fields/field-renderer-component.d.ts +20 -20
- package/dist/form-fields/field-renderer-component.js +114 -108
- package/dist/form-fields/index.d.ts +12 -12
- package/dist/form-fields/index.js +12 -12
- package/dist/form-fields/repeatable-fields/repeatable-attachment-field.d.ts +17 -17
- package/dist/form-fields/repeatable-fields/repeatable-attachment-field.js +100 -100
- package/dist/form-fields/repeatable-fields/repeatable-base-field.d.ts +20 -20
- package/dist/form-fields/repeatable-fields/repeatable-base-field.js +102 -102
- package/dist/form-fields/repeatable-fields/repeatable-number-field.d.ts +10 -10
- package/dist/form-fields/repeatable-fields/repeatable-number-field.js +47 -47
- package/dist/form-fields/repeatable-fields/repeatable-scale-field.d.ts +15 -15
- package/dist/form-fields/repeatable-fields/repeatable-scale-field.js +49 -49
- package/dist/form-fields/repeatable-fields/repeatable-text-field.d.ts +8 -8
- package/dist/form-fields/repeatable-fields/repeatable-text-field.js +30 -30
- package/dist/form-fields/single-fields/attachment-field.d.ts +16 -16
- package/dist/form-fields/single-fields/attachment-field.js +85 -85
- package/dist/form-fields/single-fields/base-field.d.ts +11 -11
- package/dist/form-fields/single-fields/base-field.js +58 -58
- package/dist/form-fields/single-fields/boolean-field.d.ts +8 -8
- package/dist/form-fields/single-fields/boolean-field.js +29 -29
- package/dist/form-fields/single-fields/number-field.d.ts +10 -10
- package/dist/form-fields/single-fields/number-field.js +46 -46
- package/dist/form-fields/single-fields/scale-field.d.ts +18 -18
- package/dist/form-fields/single-fields/scale-field.js +52 -52
- package/dist/form-fields/single-fields/text-field.d.ts +8 -8
- package/dist/form-fields/single-fields/text-field.js +29 -29
- package/dist/form-groups/form-abstract-group.d.ts +65 -65
- package/dist/form-groups/form-abstract-group.js +255 -255
- package/dist/form-groups/form-card.d.ts +32 -32
- package/dist/form-groups/form-card.js +89 -89
- package/dist/form-groups/form-collapsed-card.d.ts +70 -70
- package/dist/form-groups/form-collapsed-card.js +225 -225
- package/dist/form-groups/index.d.ts +3 -3
- package/dist/form-groups/index.js +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/lib/additional-components/confirmation-dialog.d.ts +18 -18
- package/dist/lib/additional-components/confirmation-dialog.js +52 -52
- package/dist/lib/additional-components/etools-fb-card.d.ts +21 -21
- package/dist/lib/additional-components/etools-fb-card.js +99 -99
- package/dist/lib/styles/attachments.styles.d.ts +2 -2
- package/dist/lib/styles/attachments.styles.js +3 -3
- package/dist/lib/styles/card-styles.d.ts +2 -2
- package/dist/lib/styles/card-styles.js +3 -3
- package/dist/lib/styles/dialog.styles.d.ts +2 -2
- package/dist/lib/styles/dialog.styles.js +3 -3
- package/dist/lib/styles/elevation-styles.d.ts +9 -9
- package/dist/lib/styles/elevation-styles.js +10 -10
- package/dist/lib/styles/flex-layout-classes.d.ts +2 -2
- package/dist/lib/styles/flex-layout-classes.js +3 -3
- package/dist/lib/styles/form-builder-card.styles.d.ts +2 -2
- package/dist/lib/styles/form-builder-card.styles.js +3 -3
- package/dist/lib/styles/input-styles.d.ts +2 -2
- package/dist/lib/styles/input-styles.js +3 -3
- package/dist/lib/styles/page-layout-styles.d.ts +2 -2
- package/dist/lib/styles/page-layout-styles.js +3 -3
- package/dist/lib/styles/shared-styles.d.ts +2 -2
- package/dist/lib/styles/shared-styles.js +3 -3
- package/dist/lib/types/form-builder.interfaces.d.ts +83 -83
- package/dist/lib/types/form-builder.types.d.ts +59 -59
- package/dist/lib/types/global.types.d.ts +4 -4
- package/dist/lib/utils/dialog.d.ts +10 -10
- package/dist/lib/utils/dialog.js +21 -21
- package/dist/lib/utils/fire-custom-event.d.ts +1 -1
- package/dist/lib/utils/fire-custom-event.js +7 -7
- package/dist/lib/utils/translate.d.ts +1 -1
- package/dist/lib/utils/translate.js +9 -9
- package/dist/lib/utils/validations.helper.d.ts +26 -26
- package/dist/lib/utils/validations.helper.js +42 -42
- package/package.json +4 -4
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { CSSResultArray, LitElement, TemplateResult } from 'lit-element';
|
|
2
|
-
import '@polymer/iron-icons/iron-icons';
|
|
3
|
-
export declare class EtoolsFbCard extends LitElement {
|
|
4
|
-
cardTitle: string;
|
|
5
|
-
isEditable: boolean;
|
|
6
|
-
isCollapsible: boolean;
|
|
7
|
-
hideEditButton: boolean;
|
|
8
|
-
collapsed: boolean;
|
|
9
|
-
edit: boolean;
|
|
10
|
-
language: string;
|
|
11
|
-
static get styles(): CSSResultArray;
|
|
12
|
-
constructor();
|
|
13
|
-
save(): void;
|
|
14
|
-
cancel(): void;
|
|
15
|
-
startEdit(): void;
|
|
16
|
-
toggleCollapse(): void;
|
|
17
|
-
connectedCallback(): void;
|
|
18
|
-
disconnectedCallback(): void;
|
|
19
|
-
handleLanguageChange(e: CustomEvent): void;
|
|
20
|
-
protected render(): TemplateResult;
|
|
21
|
-
}
|
|
1
|
+
import { CSSResultArray, LitElement, TemplateResult } from 'lit-element';
|
|
2
|
+
import '@polymer/iron-icons/iron-icons';
|
|
3
|
+
export declare class EtoolsFbCard extends LitElement {
|
|
4
|
+
cardTitle: string;
|
|
5
|
+
isEditable: boolean;
|
|
6
|
+
isCollapsible: boolean;
|
|
7
|
+
hideEditButton: boolean;
|
|
8
|
+
collapsed: boolean;
|
|
9
|
+
edit: boolean;
|
|
10
|
+
language: string;
|
|
11
|
+
static get styles(): CSSResultArray;
|
|
12
|
+
constructor();
|
|
13
|
+
save(): void;
|
|
14
|
+
cancel(): void;
|
|
15
|
+
startEdit(): void;
|
|
16
|
+
toggleCollapse(): void;
|
|
17
|
+
connectedCallback(): void;
|
|
18
|
+
disconnectedCallback(): void;
|
|
19
|
+
handleLanguageChange(e: CustomEvent): void;
|
|
20
|
+
protected render(): TemplateResult;
|
|
21
|
+
}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { css, customElement, html, LitElement, property } from 'lit-element';
|
|
8
|
-
import '@polymer/iron-icons/iron-icons';
|
|
9
|
-
import { CardStyles } from '../styles/card-styles';
|
|
10
|
-
import { elevationStyles } from '../styles/elevation-styles';
|
|
11
|
-
import { FlexLayoutClasses } from '../styles/flex-layout-classes';
|
|
12
|
-
import { fireEvent } from '../utils/fire-custom-event';
|
|
13
|
-
import { getTranslation } from '../utils/translate';
|
|
14
|
-
let EtoolsFbCard = class EtoolsFbCard extends LitElement {
|
|
15
|
-
constructor() {
|
|
16
|
-
super();
|
|
17
|
-
this.isEditable = false;
|
|
18
|
-
this.isCollapsible = false;
|
|
19
|
-
this.hideEditButton = false;
|
|
20
|
-
this.collapsed = false;
|
|
21
|
-
this.edit = false;
|
|
22
|
-
if (!this.language) {
|
|
23
|
-
this.language = window.localStorage.defaultLanguage || 'en';
|
|
24
|
-
}
|
|
25
|
-
this.handleLanguageChange = this.handleLanguageChange.bind(this);
|
|
26
|
-
}
|
|
27
|
-
static get styles() {
|
|
28
|
-
// language=CSS
|
|
29
|
-
return [
|
|
30
|
-
elevationStyles,
|
|
31
|
-
CardStyles,
|
|
32
|
-
FlexLayoutClasses,
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { css, customElement, html, LitElement, property } from 'lit-element';
|
|
8
|
+
import '@polymer/iron-icons/iron-icons';
|
|
9
|
+
import { CardStyles } from '../styles/card-styles';
|
|
10
|
+
import { elevationStyles } from '../styles/elevation-styles';
|
|
11
|
+
import { FlexLayoutClasses } from '../styles/flex-layout-classes';
|
|
12
|
+
import { fireEvent } from '../utils/fire-custom-event';
|
|
13
|
+
import { getTranslation } from '../utils/translate';
|
|
14
|
+
let EtoolsFbCard = class EtoolsFbCard extends LitElement {
|
|
15
|
+
constructor() {
|
|
16
|
+
super();
|
|
17
|
+
this.isEditable = false;
|
|
18
|
+
this.isCollapsible = false;
|
|
19
|
+
this.hideEditButton = false;
|
|
20
|
+
this.collapsed = false;
|
|
21
|
+
this.edit = false;
|
|
22
|
+
if (!this.language) {
|
|
23
|
+
this.language = window.localStorage.defaultLanguage || 'en';
|
|
24
|
+
}
|
|
25
|
+
this.handleLanguageChange = this.handleLanguageChange.bind(this);
|
|
26
|
+
}
|
|
27
|
+
static get styles() {
|
|
28
|
+
// language=CSS
|
|
29
|
+
return [
|
|
30
|
+
elevationStyles,
|
|
31
|
+
CardStyles,
|
|
32
|
+
FlexLayoutClasses,
|
|
33
33
|
css `
|
|
34
34
|
:host {
|
|
35
35
|
display: block;
|
|
@@ -127,55 +127,55 @@ let EtoolsFbCard = class EtoolsFbCard extends LitElement {
|
|
|
127
127
|
flex-basis: 20%;
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
|
-
`
|
|
131
|
-
];
|
|
132
|
-
}
|
|
133
|
-
save() {
|
|
134
|
-
fireEvent(this, 'save');
|
|
135
|
-
}
|
|
136
|
-
cancel() {
|
|
137
|
-
this.edit = false;
|
|
138
|
-
fireEvent(this, 'cancel');
|
|
139
|
-
}
|
|
140
|
-
startEdit() {
|
|
141
|
-
if (this.edit) {
|
|
142
|
-
return;
|
|
143
|
-
}
|
|
144
|
-
this.edit = true;
|
|
145
|
-
fireEvent(this, 'start-edit');
|
|
146
|
-
}
|
|
147
|
-
toggleCollapse() {
|
|
148
|
-
this.collapsed = !this.collapsed;
|
|
149
|
-
}
|
|
150
|
-
connectedCallback() {
|
|
151
|
-
super.connectedCallback();
|
|
152
|
-
document.addEventListener('language-changed', this.handleLanguageChange.bind(this));
|
|
153
|
-
}
|
|
154
|
-
disconnectedCallback() {
|
|
155
|
-
super.disconnectedCallback();
|
|
156
|
-
document.removeEventListener('language-changed', this.handleLanguageChange.bind(this));
|
|
157
|
-
}
|
|
158
|
-
handleLanguageChange(e) {
|
|
159
|
-
this.language = e.detail.language;
|
|
160
|
-
}
|
|
161
|
-
// language=HTML
|
|
162
|
-
render() {
|
|
130
|
+
`
|
|
131
|
+
];
|
|
132
|
+
}
|
|
133
|
+
save() {
|
|
134
|
+
fireEvent(this, 'save');
|
|
135
|
+
}
|
|
136
|
+
cancel() {
|
|
137
|
+
this.edit = false;
|
|
138
|
+
fireEvent(this, 'cancel');
|
|
139
|
+
}
|
|
140
|
+
startEdit() {
|
|
141
|
+
if (this.edit) {
|
|
142
|
+
return;
|
|
143
|
+
}
|
|
144
|
+
this.edit = true;
|
|
145
|
+
fireEvent(this, 'start-edit');
|
|
146
|
+
}
|
|
147
|
+
toggleCollapse() {
|
|
148
|
+
this.collapsed = !this.collapsed;
|
|
149
|
+
}
|
|
150
|
+
connectedCallback() {
|
|
151
|
+
super.connectedCallback();
|
|
152
|
+
document.addEventListener('language-changed', this.handleLanguageChange.bind(this));
|
|
153
|
+
}
|
|
154
|
+
disconnectedCallback() {
|
|
155
|
+
super.disconnectedCallback();
|
|
156
|
+
document.removeEventListener('language-changed', this.handleLanguageChange.bind(this));
|
|
157
|
+
}
|
|
158
|
+
handleLanguageChange(e) {
|
|
159
|
+
this.language = e.detail.language;
|
|
160
|
+
}
|
|
161
|
+
// language=HTML
|
|
162
|
+
render() {
|
|
163
163
|
return html `
|
|
164
164
|
<div class="elevation card-container" elevation="1">
|
|
165
165
|
<header class="card-title-box with-bottom-line flex-header" ?is-collapsible="${this.isCollapsible}">
|
|
166
|
-
${this.isCollapsible
|
|
166
|
+
${this.isCollapsible
|
|
167
167
|
? html `
|
|
168
168
|
<paper-icon-button
|
|
169
169
|
class="flex-header__collapse"
|
|
170
170
|
@tap="${() => this.toggleCollapse()}"
|
|
171
171
|
icon="${this.collapsed ? 'expand-more' : 'expand-less'}"
|
|
172
172
|
></paper-icon-button>
|
|
173
|
-
`
|
|
173
|
+
`
|
|
174
174
|
: ''}
|
|
175
175
|
<div class="flex-header__title">${this.cardTitle}</div>
|
|
176
176
|
<div class="flex-header__actions"><slot name="actions"></slot></div>
|
|
177
177
|
<div class="layout horizontal center flex-header__edit">
|
|
178
|
-
${this.isEditable
|
|
178
|
+
${this.isEditable
|
|
179
179
|
? html `
|
|
180
180
|
<paper-icon-button
|
|
181
181
|
icon="create"
|
|
@@ -184,7 +184,7 @@ let EtoolsFbCard = class EtoolsFbCard extends LitElement {
|
|
|
184
184
|
class="edit-button"
|
|
185
185
|
@tap="${() => this.startEdit()}"
|
|
186
186
|
></paper-icon-button>
|
|
187
|
-
`
|
|
187
|
+
`
|
|
188
188
|
: ''}
|
|
189
189
|
</div>
|
|
190
190
|
<div class="flex-header__postfix"><slot name="postfix"></slot></div>
|
|
@@ -193,7 +193,7 @@ let EtoolsFbCard = class EtoolsFbCard extends LitElement {
|
|
|
193
193
|
<section class="card-content-block">
|
|
194
194
|
<slot name="content"></slot>
|
|
195
195
|
|
|
196
|
-
${this.isEditable && this.edit
|
|
196
|
+
${this.isEditable && this.edit
|
|
197
197
|
? html `
|
|
198
198
|
<div class="layout horizontal end-justified card-buttons">
|
|
199
199
|
<paper-button @tap="${() => this.cancel()}"
|
|
@@ -203,36 +203,36 @@ let EtoolsFbCard = class EtoolsFbCard extends LitElement {
|
|
|
203
203
|
>${getTranslation(this.language, 'SAVE')}</paper-button
|
|
204
204
|
>
|
|
205
205
|
</div>
|
|
206
|
-
`
|
|
206
|
+
`
|
|
207
207
|
: ''}
|
|
208
208
|
</section>
|
|
209
209
|
</iron-collapse>
|
|
210
210
|
</div>
|
|
211
|
-
`;
|
|
212
|
-
}
|
|
213
|
-
};
|
|
214
|
-
__decorate([
|
|
215
|
-
property({ attribute: 'card-title' })
|
|
216
|
-
], EtoolsFbCard.prototype, "cardTitle", void 0);
|
|
217
|
-
__decorate([
|
|
218
|
-
property({ type: Boolean, attribute: 'is-editable' })
|
|
219
|
-
], EtoolsFbCard.prototype, "isEditable", void 0);
|
|
220
|
-
__decorate([
|
|
221
|
-
property({ type: Boolean, attribute: 'is-collapsible' })
|
|
222
|
-
], EtoolsFbCard.prototype, "isCollapsible", void 0);
|
|
223
|
-
__decorate([
|
|
224
|
-
property({ type: Boolean, attribute: 'hide-edit-button' })
|
|
225
|
-
], EtoolsFbCard.prototype, "hideEditButton", void 0);
|
|
226
|
-
__decorate([
|
|
227
|
-
property({ type: Boolean })
|
|
228
|
-
], EtoolsFbCard.prototype, "collapsed", void 0);
|
|
229
|
-
__decorate([
|
|
230
|
-
property({ type: Boolean })
|
|
231
|
-
], EtoolsFbCard.prototype, "edit", void 0);
|
|
232
|
-
__decorate([
|
|
233
|
-
property()
|
|
234
|
-
], EtoolsFbCard.prototype, "language", void 0);
|
|
235
|
-
EtoolsFbCard = __decorate([
|
|
236
|
-
customElement('etools-fb-card')
|
|
237
|
-
], EtoolsFbCard);
|
|
238
|
-
export { EtoolsFbCard };
|
|
211
|
+
`;
|
|
212
|
+
}
|
|
213
|
+
};
|
|
214
|
+
__decorate([
|
|
215
|
+
property({ attribute: 'card-title' })
|
|
216
|
+
], EtoolsFbCard.prototype, "cardTitle", void 0);
|
|
217
|
+
__decorate([
|
|
218
|
+
property({ type: Boolean, attribute: 'is-editable' })
|
|
219
|
+
], EtoolsFbCard.prototype, "isEditable", void 0);
|
|
220
|
+
__decorate([
|
|
221
|
+
property({ type: Boolean, attribute: 'is-collapsible' })
|
|
222
|
+
], EtoolsFbCard.prototype, "isCollapsible", void 0);
|
|
223
|
+
__decorate([
|
|
224
|
+
property({ type: Boolean, attribute: 'hide-edit-button' })
|
|
225
|
+
], EtoolsFbCard.prototype, "hideEditButton", void 0);
|
|
226
|
+
__decorate([
|
|
227
|
+
property({ type: Boolean })
|
|
228
|
+
], EtoolsFbCard.prototype, "collapsed", void 0);
|
|
229
|
+
__decorate([
|
|
230
|
+
property({ type: Boolean })
|
|
231
|
+
], EtoolsFbCard.prototype, "edit", void 0);
|
|
232
|
+
__decorate([
|
|
233
|
+
property()
|
|
234
|
+
], EtoolsFbCard.prototype, "language", void 0);
|
|
235
|
+
EtoolsFbCard = __decorate([
|
|
236
|
+
customElement('etools-fb-card')
|
|
237
|
+
], EtoolsFbCard);
|
|
238
|
+
export { EtoolsFbCard };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CSSResult } from 'lit-element';
|
|
2
|
-
export declare const AttachmentsStyles: CSSResult;
|
|
1
|
+
import { CSSResult } from 'lit-element';
|
|
2
|
+
export declare const AttachmentsStyles: CSSResult;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { css } from 'lit-element';
|
|
2
|
-
// language=CSS
|
|
1
|
+
import { css } from 'lit-element';
|
|
2
|
+
// language=CSS
|
|
3
3
|
export const AttachmentsStyles = css `
|
|
4
4
|
.file-selector-container {
|
|
5
5
|
display: flex;
|
|
@@ -69,4 +69,4 @@ export const AttachmentsStyles = css `
|
|
|
69
69
|
padding: 12px 9px 12px 0;
|
|
70
70
|
box-sizing: border-box;
|
|
71
71
|
}
|
|
72
|
-
`;
|
|
72
|
+
`;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CSSResult } from 'lit-element';
|
|
2
|
-
export declare const CardStyles: CSSResult;
|
|
1
|
+
import { CSSResult } from 'lit-element';
|
|
2
|
+
export declare const CardStyles: CSSResult;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { css } from 'lit-element';
|
|
2
|
-
// language=CSS
|
|
1
|
+
import { css } from 'lit-element';
|
|
2
|
+
// language=CSS
|
|
3
3
|
export const CardStyles = css `
|
|
4
4
|
.card-title-box {
|
|
5
5
|
position: relative;
|
|
@@ -151,4 +151,4 @@ export const CardStyles = css `
|
|
|
151
151
|
text-decoration: none;
|
|
152
152
|
color: var(--primary-color);
|
|
153
153
|
}
|
|
154
|
-
`;
|
|
154
|
+
`;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { TemplateResult } from 'lit-element';
|
|
2
|
-
export declare const DialogStyles: TemplateResult;
|
|
1
|
+
import { TemplateResult } from 'lit-element';
|
|
2
|
+
export declare const DialogStyles: TemplateResult;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { html } from 'lit-element';
|
|
2
|
-
// language=HTML
|
|
1
|
+
import { html } from 'lit-element';
|
|
2
|
+
// language=HTML
|
|
3
3
|
export const DialogStyles = html `
|
|
4
4
|
<style>
|
|
5
5
|
#form-attachments-dialog etools-dialog etools-loading {
|
|
@@ -82,4 +82,4 @@ export const DialogStyles = html `
|
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
</style>
|
|
85
|
-
`;
|
|
85
|
+
`;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { CSSResult } from 'lit-element';
|
|
2
|
-
/**
|
|
3
|
-
* LitElement css version for used paper-material-styles
|
|
4
|
-
* TODO:
|
|
5
|
-
* - use only in new litElements
|
|
6
|
-
* - add more elevations if needed
|
|
7
|
-
* - replace all paper-material-styles with this css module
|
|
8
|
-
*/
|
|
9
|
-
export declare const elevationStyles: CSSResult;
|
|
1
|
+
import { CSSResult } from 'lit-element';
|
|
2
|
+
/**
|
|
3
|
+
* LitElement css version for used paper-material-styles
|
|
4
|
+
* TODO:
|
|
5
|
+
* - use only in new litElements
|
|
6
|
+
* - add more elevations if needed
|
|
7
|
+
* - replace all paper-material-styles with this css module
|
|
8
|
+
*/
|
|
9
|
+
export declare const elevationStyles: CSSResult;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { css } from 'lit-element';
|
|
2
|
-
/**
|
|
3
|
-
* LitElement css version for used paper-material-styles
|
|
4
|
-
* TODO:
|
|
5
|
-
* - use only in new litElements
|
|
6
|
-
* - add more elevations if needed
|
|
7
|
-
* - replace all paper-material-styles with this css module
|
|
8
|
-
*/
|
|
9
|
-
// language=CSS
|
|
1
|
+
import { css } from 'lit-element';
|
|
2
|
+
/**
|
|
3
|
+
* LitElement css version for used paper-material-styles
|
|
4
|
+
* TODO:
|
|
5
|
+
* - use only in new litElements
|
|
6
|
+
* - add more elevations if needed
|
|
7
|
+
* - replace all paper-material-styles with this css module
|
|
8
|
+
*/
|
|
9
|
+
// language=CSS
|
|
10
10
|
export const elevationStyles = css `
|
|
11
11
|
.elevation,
|
|
12
12
|
:host(.elevation) {
|
|
@@ -40,4 +40,4 @@ export const elevationStyles = css `
|
|
|
40
40
|
box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12),
|
|
41
41
|
0 8px 10px -5px rgba(0, 0, 0, 0.4);
|
|
42
42
|
}
|
|
43
|
-
`;
|
|
43
|
+
`;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CSSResult } from 'lit-element';
|
|
2
|
-
export declare const FlexLayoutClasses: CSSResult;
|
|
1
|
+
import { CSSResult } from 'lit-element';
|
|
2
|
+
export declare const FlexLayoutClasses: CSSResult;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { css } from 'lit-element';
|
|
2
|
-
// language=CSS
|
|
1
|
+
import { css } from 'lit-element';
|
|
2
|
+
// language=CSS
|
|
3
3
|
export const FlexLayoutClasses = css `
|
|
4
4
|
.layout.horizontal,
|
|
5
5
|
.layout.vertical {
|
|
@@ -316,4 +316,4 @@ export const FlexLayoutClasses = css `
|
|
|
316
316
|
bottom: 0;
|
|
317
317
|
left: 0;
|
|
318
318
|
}
|
|
319
|
-
`;
|
|
319
|
+
`;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CSSResult } from 'lit-element';
|
|
2
|
-
export declare const FormBuilderCardStyles: CSSResult;
|
|
1
|
+
import { CSSResult } from 'lit-element';
|
|
2
|
+
export declare const FormBuilderCardStyles: CSSResult;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { css } from 'lit-element';
|
|
2
|
-
// language=CSS
|
|
1
|
+
import { css } from 'lit-element';
|
|
2
|
+
// language=CSS
|
|
3
3
|
export const FormBuilderCardStyles = css `
|
|
4
4
|
.overall-finding {
|
|
5
5
|
padding: 15px 25px 20px 45px;
|
|
@@ -46,4 +46,4 @@ export const FormBuilderCardStyles = css `
|
|
|
46
46
|
padding: 5px;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
`;
|
|
49
|
+
`;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { TemplateResult } from 'lit-element';
|
|
2
|
-
export declare const InputStyles: TemplateResult;
|
|
1
|
+
import { TemplateResult } from 'lit-element';
|
|
2
|
+
export declare const InputStyles: TemplateResult;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { html } from 'lit-element';
|
|
2
|
-
// language=HTML
|
|
1
|
+
import { html } from 'lit-element';
|
|
2
|
+
// language=HTML
|
|
3
3
|
export const InputStyles = html `
|
|
4
4
|
<style>
|
|
5
5
|
etools-dropdown,
|
|
@@ -135,4 +135,4 @@ export const InputStyles = html `
|
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
</style>
|
|
138
|
-
`;
|
|
138
|
+
`;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CSSResult } from 'lit-element';
|
|
2
|
-
export declare const pageLayoutStyles: CSSResult;
|
|
1
|
+
import { CSSResult } from 'lit-element';
|
|
2
|
+
export declare const pageLayoutStyles: CSSResult;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { css } from 'lit-element';
|
|
2
|
-
// language=CSS
|
|
1
|
+
import { css } from 'lit-element';
|
|
2
|
+
// language=CSS
|
|
3
3
|
export const pageLayoutStyles = css `
|
|
4
4
|
.page-content {
|
|
5
5
|
margin: 24px 24px 0;
|
|
@@ -198,4 +198,4 @@ export const pageLayoutStyles = css `
|
|
|
198
198
|
margin: 8px;
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
|
-
`;
|
|
201
|
+
`;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CSSResult } from 'lit-element';
|
|
2
|
-
export declare const SharedStyles: CSSResult;
|
|
1
|
+
import { CSSResult } from 'lit-element';
|
|
2
|
+
export declare const SharedStyles: CSSResult;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { css } from 'lit-element';
|
|
2
|
-
// language=CSS
|
|
1
|
+
import { css } from 'lit-element';
|
|
2
|
+
// language=CSS
|
|
3
3
|
export const SharedStyles = css `
|
|
4
4
|
:host {
|
|
5
5
|
display: block;
|
|
@@ -67,4 +67,4 @@ export const SharedStyles = css `
|
|
|
67
67
|
.filters-section {
|
|
68
68
|
padding: 0 30px;
|
|
69
69
|
}
|
|
70
|
-
`;
|
|
70
|
+
`;
|