@sankhyalabs/sankhyablocks 3.2.0 → 3.2.1
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/{index-2cd6f753.js → index-21bd01e1.js} +111 -2
- package/dist/cjs/{index-696b5c3b.js → index-fc7ca86c.js} +1 -1
- package/dist/cjs/loader.cjs.js +3 -2
- package/dist/cjs/sankhyablocks.cjs.js +6 -2
- package/dist/cjs/snk-application.cjs.entry.js +3 -1
- package/dist/cjs/snk-config-options.cjs.entry.js +4 -4
- package/dist/cjs/snk-configurator_3.cjs.entry.js +14 -14
- package/dist/cjs/snk-crud.cjs.entry.js +10 -9
- package/dist/cjs/snk-data-exporter_8.cjs.entry.js +41 -16
- package/dist/cjs/snk-data-unit.cjs.entry.js +8 -5
- package/dist/cjs/snk-exporter-email-sender.cjs.entry.js +3 -1
- package/dist/cjs/snk-filter-binary-select.cjs.entry.js +3 -1
- package/dist/cjs/snk-filter-detail.cjs.entry.js +3 -1
- package/dist/cjs/snk-filter-multi-select.cjs.entry.js +3 -1
- package/dist/cjs/snk-filter-number.cjs.entry.js +3 -1
- package/dist/cjs/snk-filter-period.cjs.entry.js +3 -1
- package/dist/cjs/snk-filter-personalized.cjs.entry.js +5 -1
- package/dist/cjs/snk-filter-search.cjs.entry.js +3 -1
- package/dist/cjs/snk-filter-text.cjs.entry.js +3 -1
- package/dist/cjs/snk-form-config.cjs.entry.js +7 -4
- package/dist/cjs/snk-form.cjs.entry.js +7 -4
- package/dist/cjs/snk-pesquisa.cjs.entry.js +5 -1
- package/dist/cjs/snk-tab-config.cjs.entry.js +7 -1
- package/dist/cjs/{taskbar-elements-81ad590c.js → taskbar-elements-8d38f43a.js} +2 -2
- package/dist/cjs/teste-pesquisa.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/snk-application/snk-application.js +2 -0
- package/dist/collection/components/snk-configurator/snk-configurator.js +2 -3
- package/dist/collection/components/snk-crud/snk-crud.js +7 -6
- package/dist/collection/components/snk-data-exporter/exporter-email-sender/snk-exporter-email-sender.js +2 -0
- package/dist/collection/components/snk-data-exporter/snk-data-exporter.js +0 -3
- package/dist/collection/components/snk-data-unit/snk-data-unit.js +7 -4
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-binary-select.js +4 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-multi-select.js +4 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-number.js +4 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-period.js +4 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-personalized.js +6 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-search.js +4 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-text.js +4 -0
- package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-detail.js +4 -0
- package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.js +3 -0
- package/dist/collection/components/snk-filter-bar/filter-list/snk-filter-list.js +9 -0
- package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.js +12 -0
- package/dist/collection/components/snk-filter-bar/snk-filter-bar.js +4 -0
- package/dist/collection/components/snk-form/snk-form.js +6 -3
- package/dist/collection/components/snk-form/subcomponents/snk-config-options/snk-config-options.js +3 -3
- package/dist/collection/components/snk-form/subcomponents/snk-field-config/snk-field-config.js +2 -6
- package/dist/collection/components/snk-form/subcomponents/snk-form-config/snk-form-config.js +6 -3
- package/dist/collection/components/snk-form/subcomponents/snk-tab-config/snk-tab-config.js +6 -0
- package/dist/collection/components/snk-grid/snk-grid.js +8 -3
- package/dist/collection/components/snk-grid/subcomponents/snk-grid-config/snk-grid-config.js +3 -3
- package/dist/collection/components/snk-grid/subcomponents/snk-select-box/snk-select-box.js +0 -3
- package/dist/collection/components/snk-pesquisa/snk-pesquisa.js +4 -0
- package/dist/collection/components/snk-taskbar/snk-taskbar.js +9 -4
- package/dist/components/index.d.ts +9 -0
- package/dist/components/index.js +1 -1
- package/dist/components/snk-application2.js +2 -0
- package/dist/components/snk-config-options2.js +3 -3
- package/dist/components/snk-configurator2.js +2 -3
- package/dist/components/snk-crud.js +7 -6
- package/dist/components/snk-data-exporter2.js +0 -3
- package/dist/components/snk-data-unit.js +7 -4
- package/dist/components/snk-exporter-email-sender2.js +2 -0
- package/dist/components/snk-field-config2.js +2 -6
- package/dist/components/snk-filter-bar2.js +4 -0
- package/dist/components/snk-filter-binary-select.js +2 -0
- package/dist/components/snk-filter-detail2.js +2 -0
- package/dist/components/snk-filter-item2.js +3 -0
- package/dist/components/snk-filter-list2.js +9 -0
- package/dist/components/snk-filter-modal2.js +10 -0
- package/dist/components/snk-filter-multi-select.js +2 -0
- package/dist/components/snk-filter-number.js +2 -0
- package/dist/components/snk-filter-period.js +2 -0
- package/dist/components/snk-filter-personalized.js +4 -0
- package/dist/components/snk-filter-search.js +2 -0
- package/dist/components/snk-filter-text.js +2 -0
- package/dist/components/snk-form-config2.js +6 -3
- package/dist/components/snk-form2.js +6 -3
- package/dist/components/snk-grid-config2.js +3 -3
- package/dist/components/snk-grid2.js +8 -3
- package/dist/components/snk-pesquisa2.js +4 -0
- package/dist/components/snk-select-box2.js +0 -3
- package/dist/components/snk-tab-config2.js +6 -0
- package/dist/components/snk-taskbar2.js +9 -4
- package/dist/esm/{index-a77b6f35.js → index-cfd4bb13.js} +111 -3
- package/dist/esm/{index-d89e384f.js → index-e467ade5.js} +1 -1
- package/dist/esm/loader.js +3 -2
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/sankhyablocks.js +3 -2
- package/dist/esm/snk-application.entry.js +3 -1
- package/dist/esm/snk-config-options.entry.js +4 -4
- package/dist/esm/snk-configurator_3.entry.js +14 -14
- package/dist/esm/snk-crud.entry.js +10 -9
- package/dist/esm/snk-data-exporter_8.entry.js +41 -16
- package/dist/esm/snk-data-unit.entry.js +8 -5
- package/dist/esm/snk-exporter-email-sender.entry.js +3 -1
- package/dist/esm/snk-filter-binary-select.entry.js +3 -1
- package/dist/esm/snk-filter-detail.entry.js +3 -1
- package/dist/esm/snk-filter-multi-select.entry.js +3 -1
- package/dist/esm/snk-filter-number.entry.js +3 -1
- package/dist/esm/snk-filter-period.entry.js +3 -1
- package/dist/esm/snk-filter-personalized.entry.js +5 -1
- package/dist/esm/snk-filter-search.entry.js +3 -1
- package/dist/esm/snk-filter-text.entry.js +3 -1
- package/dist/esm/snk-form-config.entry.js +7 -4
- package/dist/esm/snk-form.entry.js +7 -4
- package/dist/esm/snk-pesquisa.entry.js +5 -1
- package/dist/esm/snk-tab-config.entry.js +7 -1
- package/dist/esm/{taskbar-elements-9b0a87f1.js → taskbar-elements-24655695.js} +2 -2
- package/dist/esm/teste-pesquisa.entry.js +1 -1
- package/dist/sankhyablocks/p-01fdcc77.entry.js +1 -0
- package/dist/sankhyablocks/p-0b86c7f0.entry.js +1 -0
- package/dist/sankhyablocks/p-123732eb.entry.js +1 -0
- package/dist/sankhyablocks/p-125c2d01.entry.js +1 -0
- package/dist/sankhyablocks/p-2cd74aa1.entry.js +1 -0
- package/dist/sankhyablocks/{p-4cec3835.entry.js → p-31e36df4.entry.js} +4 -4
- package/dist/sankhyablocks/p-4133f9e5.entry.js +1 -0
- package/dist/sankhyablocks/p-5360f8fa.entry.js +1 -0
- package/dist/sankhyablocks/p-5e62a17b.entry.js +1 -0
- package/dist/sankhyablocks/p-5fc55684.entry.js +1 -0
- package/dist/sankhyablocks/p-6b992e43.js +1 -0
- package/dist/sankhyablocks/p-86d29b6f.entry.js +1 -0
- package/dist/sankhyablocks/p-93c92b97.entry.js +1 -0
- package/dist/sankhyablocks/p-93d8ea09.js +2 -2
- package/dist/sankhyablocks/{p-112bb324.js → p-98f7f796.js} +1 -1
- package/dist/sankhyablocks/p-9fab987d.entry.js +1 -0
- package/dist/sankhyablocks/p-ad51bf1c.entry.js +1 -0
- package/dist/sankhyablocks/p-afba9bbe.entry.js +1 -0
- package/dist/sankhyablocks/p-b9667fbe.js +2 -0
- package/dist/sankhyablocks/p-c336170d.entry.js +1 -0
- package/dist/sankhyablocks/p-d5c9c1f8.entry.js +1 -0
- package/dist/sankhyablocks/{p-57895452.entry.js → p-e551b19a.entry.js} +1 -1
- package/dist/sankhyablocks/p-e701646c.entry.js +1 -0
- package/dist/sankhyablocks/p-ee82c157.entry.js +1 -0
- package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
- package/dist/types/stencil-public-runtime.d.ts +64 -3
- package/loader/index.d.ts +9 -0
- package/package.json +5 -5
- package/dist/sankhyablocks/p-048e126b.entry.js +0 -1
- package/dist/sankhyablocks/p-12ebe36a.entry.js +0 -1
- package/dist/sankhyablocks/p-187b0d06.entry.js +0 -1
- package/dist/sankhyablocks/p-1ccaea51.entry.js +0 -1
- package/dist/sankhyablocks/p-1dbe9dd8.entry.js +0 -1
- package/dist/sankhyablocks/p-3c7ec56e.entry.js +0 -1
- package/dist/sankhyablocks/p-3f6c05c7.entry.js +0 -1
- package/dist/sankhyablocks/p-5ebc029c.entry.js +0 -1
- package/dist/sankhyablocks/p-7dad1d5e.js +0 -1
- package/dist/sankhyablocks/p-91c23d20.entry.js +0 -1
- package/dist/sankhyablocks/p-a77dd79a.js +0 -2
- package/dist/sankhyablocks/p-ab4ff312.entry.js +0 -1
- package/dist/sankhyablocks/p-bcb2fb03.entry.js +0 -1
- package/dist/sankhyablocks/p-c15108d5.entry.js +0 -1
- package/dist/sankhyablocks/p-d3e402d3.entry.js +0 -1
- package/dist/sankhyablocks/p-d7ae56ce.entry.js +0 -1
- package/dist/sankhyablocks/p-df5d94c6.entry.js +0 -1
- package/dist/sankhyablocks/p-e075dba7.entry.js +0 -1
- package/dist/sankhyablocks/p-f6f71be7.entry.js +0 -1
- package/dist/sankhyablocks/p-f9829109.entry.js +0 -1
|
@@ -11,7 +11,11 @@ export class SnkPesquisa {
|
|
|
11
11
|
this._changeDeboucingTimeout = null;
|
|
12
12
|
this._limitCharsToSearch = 3;
|
|
13
13
|
this._deboucingTime = 450;
|
|
14
|
+
this._itemList = undefined;
|
|
14
15
|
this._startLoading = false;
|
|
16
|
+
this.searchLoader = undefined;
|
|
17
|
+
this.selectItem = undefined;
|
|
18
|
+
this.argument = undefined;
|
|
15
19
|
}
|
|
16
20
|
observeArgument() {
|
|
17
21
|
if (this._textInput) {
|
|
@@ -5,10 +5,6 @@ import { TaskbarElement, buildElem, AuthorizationElements, buildCustomButton, Vi
|
|
|
5
5
|
import { PresentationMode } from '../../lib/@types';
|
|
6
6
|
export class SnkTaskbar {
|
|
7
7
|
constructor() {
|
|
8
|
-
/**
|
|
9
|
-
* Altera o modo de apresentação dos botões do snk-taskbar.
|
|
10
|
-
*/
|
|
11
|
-
this.presentationMode = PresentationMode.PRIMARY;
|
|
12
8
|
this._titleKeyByElement = {
|
|
13
9
|
[TaskbarElement.UPDATE]: "snkTaskbar.titleUpdate",
|
|
14
10
|
[TaskbarElement.PREVIOUS]: "snkTaskbar.titlePrevious",
|
|
@@ -24,6 +20,15 @@ export class SnkTaskbar {
|
|
|
24
20
|
[TaskbarElement.FORM_MODE]: "snkTaskbar.titleFormMode",
|
|
25
21
|
[TaskbarElement.CONFIGURATOR]: "snkTaskbar.titleConfigurator"
|
|
26
22
|
};
|
|
23
|
+
this._permissions = undefined;
|
|
24
|
+
this.configName = undefined;
|
|
25
|
+
this.buttons = undefined;
|
|
26
|
+
this.customButtons = undefined;
|
|
27
|
+
this.actionsList = undefined;
|
|
28
|
+
this.primaryButton = undefined;
|
|
29
|
+
this.disabledButtons = undefined;
|
|
30
|
+
this.dataUnit = undefined;
|
|
31
|
+
this.presentationMode = PresentationMode.PRIMARY;
|
|
27
32
|
}
|
|
28
33
|
observeButtons() {
|
|
29
34
|
this._definitions = undefined;
|
|
@@ -41,6 +41,15 @@ export { TestePesquisa as TestePesquisa } from '../types/components/teste-pesqui
|
|
|
41
41
|
*/
|
|
42
42
|
export declare const setAssetPath: (path: string) => void;
|
|
43
43
|
|
|
44
|
+
/**
|
|
45
|
+
* Used to specify a nonce value that corresponds with an application's CSP.
|
|
46
|
+
* When set, the nonce will be added to all dynamically created script and style tags at runtime.
|
|
47
|
+
* Alternatively, the nonce value can be set on a meta tag in the DOM head
|
|
48
|
+
* (<meta name="csp-nonce" content="{ nonce value here }" />) which
|
|
49
|
+
* will result in the same behavior.
|
|
50
|
+
*/
|
|
51
|
+
export declare const setNonce: (nonce: string) => void
|
|
52
|
+
|
|
44
53
|
export interface SetPlatformOptions {
|
|
45
54
|
raf?: (c: FrameRequestCallback) => number;
|
|
46
55
|
ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
package/dist/components/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
|
|
1
|
+
export { setAssetPath, setNonce, setPlatformOptions } from '@stencil/core/internal/client';
|
|
2
2
|
export { SnkApplication, defineCustomElement as defineCustomElementSnkApplication } from './snk-application.js';
|
|
3
3
|
export { SnkConfigOptions, defineCustomElement as defineCustomElementSnkConfigOptions } from './snk-config-options.js';
|
|
4
4
|
export { SnkConfigurator, defineCustomElement as defineCustomElementSnkConfigurator } from './snk-configurator.js';
|
|
@@ -697,6 +697,8 @@ const SnkApplication = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
|
|
|
697
697
|
this._duCache = new Map();
|
|
698
698
|
this._duPromises = new Map();
|
|
699
699
|
this._requestListener = new RequestListenerLoadingBar();
|
|
700
|
+
this.messagesBuilder = undefined;
|
|
701
|
+
this.configName = undefined;
|
|
700
702
|
}
|
|
701
703
|
get parameters() {
|
|
702
704
|
if (!this._parameters) {
|
|
@@ -11,10 +11,10 @@ const SnkConfigOptions = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
|
|
|
11
11
|
super();
|
|
12
12
|
this.__registerHost();
|
|
13
13
|
this.configOptionsChanged = createEvent(this, "configOptionsChanged", 7);
|
|
14
|
-
|
|
15
|
-
* Armazena as propriedades do campo.
|
|
16
|
-
*/
|
|
14
|
+
this._defaultType = undefined;
|
|
17
15
|
this.fieldConfig = {};
|
|
16
|
+
this.idConfig = undefined;
|
|
17
|
+
this.dataUnit = undefined;
|
|
18
18
|
}
|
|
19
19
|
onConfigDefault(optionSelected) {
|
|
20
20
|
if (optionSelected != undefined) {
|
|
@@ -14,9 +14,8 @@ const SnkConfigurator = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
14
14
|
this.configSelected = createEvent(this, "configSelected", 7);
|
|
15
15
|
this.openConfig = createEvent(this, "openConfig", 7);
|
|
16
16
|
this._opened = false;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
*/
|
|
17
|
+
this._permissions = undefined;
|
|
18
|
+
this.configName = undefined;
|
|
20
19
|
this.viewMode = GRID_MODE.name;
|
|
21
20
|
}
|
|
22
21
|
/**
|
|
@@ -28,14 +28,15 @@ const SnkCrud$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
28
28
|
super();
|
|
29
29
|
this.__registerHost();
|
|
30
30
|
this.actionClick = createEvent(this, "actionClick", 7);
|
|
31
|
+
this._dataUnit = undefined;
|
|
32
|
+
this._dataState = undefined;
|
|
31
33
|
this._viewMode = GRID_MODE.name;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
this.configName = undefined;
|
|
35
|
+
this.actionsList = undefined;
|
|
36
|
+
this.taskbarManager = undefined;
|
|
37
|
+
this.recordsValidator = undefined;
|
|
38
|
+
this.statusResolver = undefined;
|
|
35
39
|
this.multipleSelection = true;
|
|
36
|
-
/**
|
|
37
|
-
* Altera o modo de apresentação dos botões do snk-taskbar.
|
|
38
|
-
*/
|
|
39
40
|
this.presentationMode = PresentationMode.PRIMARY;
|
|
40
41
|
}
|
|
41
42
|
/**
|
|
@@ -269,9 +269,6 @@ const SnkDataExporter = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
269
269
|
DataExporterOption.EXPORT_PAGE_TO_PDF,
|
|
270
270
|
DataExporterOption.EXPORT_PAGE_TO_XLS
|
|
271
271
|
];
|
|
272
|
-
/**
|
|
273
|
-
* Provedor das informações para exportação dos dados.
|
|
274
|
-
*/
|
|
275
272
|
this.provider = null;
|
|
276
273
|
}
|
|
277
274
|
async exportByEmail() {
|
|
@@ -14,10 +14,6 @@ const SnkDataUnit$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
14
14
|
this.insertionMode = createEvent(this, "insertionMode", 3);
|
|
15
15
|
this.cancelEdition = createEvent(this, "cancelEdition", 3);
|
|
16
16
|
this._onDataUnitResolve = [];
|
|
17
|
-
/**
|
|
18
|
-
* Determina quantas linhas são retornadas por página.
|
|
19
|
-
*/
|
|
20
|
-
this.pageSize = 150;
|
|
21
17
|
this._dataUnitObserver = (action) => {
|
|
22
18
|
const duState = {
|
|
23
19
|
insertionMode: false,
|
|
@@ -56,6 +52,13 @@ const SnkDataUnit$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
56
52
|
}
|
|
57
53
|
this._application.messagesBuilder.currentOperation = this.getMessageOperation();
|
|
58
54
|
};
|
|
55
|
+
this.dataState = undefined;
|
|
56
|
+
this.dataUnitName = undefined;
|
|
57
|
+
this.entityName = undefined;
|
|
58
|
+
this.pageSize = 150;
|
|
59
|
+
this.dataUnit = undefined;
|
|
60
|
+
this.beforeSave = undefined;
|
|
61
|
+
this.afterSave = undefined;
|
|
59
62
|
}
|
|
60
63
|
observePageSize() {
|
|
61
64
|
if (this.dataUnit) {
|
|
@@ -55,8 +55,10 @@ const SnkExporterEmailSender = /*@__PURE__*/ proxyCustomElement(class extends HT
|
|
|
55
55
|
secondButtonClass: "ez-button--primary"
|
|
56
56
|
}
|
|
57
57
|
];
|
|
58
|
+
this._config = undefined;
|
|
58
59
|
this._opened = false;
|
|
59
60
|
this._currentStep = 0;
|
|
61
|
+
this.getMessage = undefined;
|
|
60
62
|
}
|
|
61
63
|
open(config) {
|
|
62
64
|
var _a;
|
|
@@ -9,14 +9,10 @@ const SnkFieldConfig = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
|
|
|
9
9
|
super();
|
|
10
10
|
this.__registerHost();
|
|
11
11
|
this.ezClickIcon = createEvent(this, "ezClickIcon", 7);
|
|
12
|
-
/**
|
|
13
|
-
* Define se o popover de configuração está ativo.
|
|
14
|
-
*/
|
|
15
12
|
this.isConfigActive = false;
|
|
16
|
-
|
|
17
|
-
* Define se o componente está em modo de inserção.
|
|
18
|
-
*/
|
|
13
|
+
this.fieldConfig = undefined;
|
|
19
14
|
this.modeInsertion = true;
|
|
15
|
+
this.dataUnit = undefined;
|
|
20
16
|
}
|
|
21
17
|
handleAction(evt, type) {
|
|
22
18
|
evt.preventDefault();
|
|
@@ -133,6 +133,10 @@ const SnkFilterBar = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
133
133
|
this._filtersComparator = (a, b) => {
|
|
134
134
|
return this._calculateSortIndex(b) - this._calculateSortIndex(a);
|
|
135
135
|
};
|
|
136
|
+
this.dataUnit = undefined;
|
|
137
|
+
this.configName = undefined;
|
|
138
|
+
this.filterConfig = undefined;
|
|
139
|
+
this.allowDefault = undefined;
|
|
136
140
|
this.scrollerLocked = false;
|
|
137
141
|
}
|
|
138
142
|
observeFilterConfig(newValue, oldValue) {
|
|
@@ -6,6 +6,8 @@ const SnkFilterBinarySelect$1 = /*@__PURE__*/ proxyCustomElement(class extends H
|
|
|
6
6
|
constructor() {
|
|
7
7
|
super();
|
|
8
8
|
this.__registerHost();
|
|
9
|
+
this.value = undefined;
|
|
10
|
+
this.config = undefined;
|
|
9
11
|
}
|
|
10
12
|
isSelected(option) {
|
|
11
13
|
return this.value == undefined || this.value === option;
|
|
@@ -8,6 +8,8 @@ const SnkFilterDetail = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
8
8
|
super();
|
|
9
9
|
this.__registerHost();
|
|
10
10
|
this.filterChange = createEvent(this, "filterChange", 7);
|
|
11
|
+
this.config = undefined;
|
|
12
|
+
this.getMessage = undefined;
|
|
11
13
|
}
|
|
12
14
|
/**
|
|
13
15
|
* Exibe o componente snk-filter-detail.
|
|
@@ -16,6 +16,9 @@ const SnkFilterItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
16
16
|
this.detailIsVisible = false;
|
|
17
17
|
return false;
|
|
18
18
|
};
|
|
19
|
+
this.detailIsVisible = undefined;
|
|
20
|
+
this.config = undefined;
|
|
21
|
+
this.getMessage = undefined;
|
|
19
22
|
}
|
|
20
23
|
observeDetailIsVisible(value) {
|
|
21
24
|
this.visibleChanged.emit(value);
|
|
@@ -16,6 +16,15 @@ const SnkFilterList = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
16
16
|
this._detailIsVisible = false;
|
|
17
17
|
return false;
|
|
18
18
|
};
|
|
19
|
+
this._filterArgument = undefined;
|
|
20
|
+
this._showAll = undefined;
|
|
21
|
+
this.label = undefined;
|
|
22
|
+
this.iconName = undefined;
|
|
23
|
+
this.items = undefined;
|
|
24
|
+
this.getMessage = undefined;
|
|
25
|
+
this.emptyText = undefined;
|
|
26
|
+
this.findFilterText = undefined;
|
|
27
|
+
this.buttonClass = undefined;
|
|
19
28
|
}
|
|
20
29
|
showDetail() {
|
|
21
30
|
this._preselection = -1;
|
|
@@ -9,6 +9,16 @@ const SnkFilterModal = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
|
|
|
9
9
|
constructor() {
|
|
10
10
|
super();
|
|
11
11
|
this.__registerHost();
|
|
12
|
+
this._filterArgument = undefined;
|
|
13
|
+
this.getMessage = undefined;
|
|
14
|
+
this.items = undefined;
|
|
15
|
+
this.modalTitle = undefined;
|
|
16
|
+
this.modalSubTitle = undefined;
|
|
17
|
+
this.cancelButtonLabel = undefined;
|
|
18
|
+
this.okButtonLabel = undefined;
|
|
19
|
+
this.infoText = undefined;
|
|
20
|
+
this.useSearch = undefined;
|
|
21
|
+
this.processModalAction = undefined;
|
|
12
22
|
}
|
|
13
23
|
updateValue(id, value = undefined) {
|
|
14
24
|
this.items = this.items.map(item => {
|
|
@@ -6,6 +6,8 @@ const SnkFilterMultiSelect$1 = /*@__PURE__*/ proxyCustomElement(class extends HT
|
|
|
6
6
|
constructor() {
|
|
7
7
|
super();
|
|
8
8
|
this.__registerHost();
|
|
9
|
+
this.value = undefined;
|
|
10
|
+
this.config = undefined;
|
|
9
11
|
}
|
|
10
12
|
/**
|
|
11
13
|
* Emitido quando acontece a alteração de valor do componente snk-filter-multi-select
|
|
@@ -6,6 +6,8 @@ const SnkFilterPeriod = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
6
6
|
constructor() {
|
|
7
7
|
super();
|
|
8
8
|
this.__registerHost();
|
|
9
|
+
this.config = undefined;
|
|
10
|
+
this.value = undefined;
|
|
9
11
|
}
|
|
10
12
|
/**
|
|
11
13
|
* Emitido quando acontece a alteração de valor do componente snk-filter-number
|
|
@@ -6,6 +6,8 @@ const SnkFilterPeriod$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEle
|
|
|
6
6
|
constructor() {
|
|
7
7
|
super();
|
|
8
8
|
this.__registerHost();
|
|
9
|
+
this.config = undefined;
|
|
10
|
+
this.value = undefined;
|
|
9
11
|
}
|
|
10
12
|
/**
|
|
11
13
|
* Emitido quando acontece a alteração de valor do componente snk-filter-period
|
|
@@ -8,6 +8,10 @@ const SnkFilterPersonalized$1 = /*@__PURE__*/ proxyCustomElement(class extends H
|
|
|
8
8
|
constructor() {
|
|
9
9
|
super();
|
|
10
10
|
this.__registerHost();
|
|
11
|
+
this.config = undefined;
|
|
12
|
+
this.value = undefined;
|
|
13
|
+
this.fix = undefined;
|
|
14
|
+
this.unfix = undefined;
|
|
11
15
|
}
|
|
12
16
|
componentDidLoad() {
|
|
13
17
|
if (this._element) {
|
|
@@ -6,6 +6,8 @@ const SnkFilterSearch$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEle
|
|
|
6
6
|
constructor() {
|
|
7
7
|
super();
|
|
8
8
|
this.__registerHost();
|
|
9
|
+
this.config = undefined;
|
|
10
|
+
this.value = undefined;
|
|
9
11
|
}
|
|
10
12
|
/**
|
|
11
13
|
* Emitido quando acontece a alteração de valor do componente snk-filter-search
|
|
@@ -5,6 +5,8 @@ const SnkFilterText$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
5
5
|
constructor() {
|
|
6
6
|
super();
|
|
7
7
|
this.__registerHost();
|
|
8
|
+
this.config = undefined;
|
|
9
|
+
this.value = undefined;
|
|
8
10
|
}
|
|
9
11
|
/**
|
|
10
12
|
* Emitido quando acontece a alteração de valor do componente snk-filter-text.
|
|
@@ -35,14 +35,17 @@ const SnkFormConfig = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
35
35
|
this._fieldsAvailableStyle = "ez-col ez-col--sd-12 ez-col--tb-12 ez-margin-bottom--medium ez-margin-right--medium sc-snk-form-config";
|
|
36
36
|
this._fieldFloatingStyle = "form-config__field-config--dragged";
|
|
37
37
|
this._formConfigOptions = [];
|
|
38
|
+
this._fieldConfigSelected = undefined;
|
|
39
|
+
this._layoutFormConfig = undefined;
|
|
40
|
+
this._fieldsAvailable = undefined;
|
|
38
41
|
this._formConfig = {};
|
|
39
42
|
this._formConfigChanged = false;
|
|
43
|
+
this._optionFormConfigSelected = undefined;
|
|
40
44
|
this._optionFormConfigChanged = false;
|
|
41
45
|
this._tempGroups = [];
|
|
42
|
-
|
|
43
|
-
* Campos de configuração de formulário.
|
|
44
|
-
*/
|
|
46
|
+
this.dataUnit = undefined;
|
|
45
47
|
this.formConfig = {};
|
|
48
|
+
this.configName = undefined;
|
|
46
49
|
}
|
|
47
50
|
observeFormConfig() {
|
|
48
51
|
this.loadConfig(this._sortableTimer);
|
|
@@ -19,12 +19,15 @@ const SnkForm = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
19
19
|
this.exit = createEvent(this, "exit", 7);
|
|
20
20
|
this.actionClick = createEvent(this, "actionClick", 7);
|
|
21
21
|
this._renderTimer = 500;
|
|
22
|
+
this._dataUnit = undefined;
|
|
23
|
+
this._dataState = undefined;
|
|
22
24
|
this._editionFormConfig = {};
|
|
23
25
|
this._insertionFormConfig = {};
|
|
24
26
|
this._showFormConfig = false;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
27
|
+
this.configName = undefined;
|
|
28
|
+
this.recordsValidator = undefined;
|
|
29
|
+
this.actionsList = undefined;
|
|
30
|
+
this.taskbarManager = undefined;
|
|
28
31
|
this.presentationMode = PresentationMode.PRIMARY;
|
|
29
32
|
}
|
|
30
33
|
/**
|
|
@@ -19,10 +19,10 @@ const EzGridConfig = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
19
19
|
this._selectedIndex = -1;
|
|
20
20
|
this._dataChanged = false;
|
|
21
21
|
this._componenteInternalKey = Date.now();
|
|
22
|
-
/**
|
|
23
|
-
* Aba selecionada das configurações da grade.
|
|
24
|
-
*/
|
|
25
22
|
this.selectedIndex = 0;
|
|
23
|
+
this.application = undefined;
|
|
24
|
+
this.columns = undefined;
|
|
25
|
+
this.config = undefined;
|
|
26
26
|
}
|
|
27
27
|
/* Creation Methods */
|
|
28
28
|
/**
|
|
@@ -29,10 +29,15 @@ const SnkGrid = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
29
29
|
"snkGridHeaderTaskbar.unselected": ["REFRESH", "DATA_EXPORTER"],
|
|
30
30
|
"snkGridHeaderTaskbar.selected": ["UPDATE", "CLONE", "REMOVE", "MORE_OPTIONS", "DIVIDER", "REFRESH", "DATA_EXPORTER"]
|
|
31
31
|
});
|
|
32
|
+
this._dataUnit = undefined;
|
|
33
|
+
this._dataState = undefined;
|
|
34
|
+
this._gridConfig = undefined;
|
|
32
35
|
this._popUpGridConfig = false;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
+
this.configName = undefined;
|
|
37
|
+
this.actionsList = undefined;
|
|
38
|
+
this.taskbarManager = undefined;
|
|
39
|
+
this.statusResolver = undefined;
|
|
40
|
+
this.multipleSelection = undefined;
|
|
36
41
|
this.presentationMode = PresentationMode.PRIMARY;
|
|
37
42
|
}
|
|
38
43
|
/**
|
|
@@ -16,7 +16,11 @@ const SnkPesquisa = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
16
16
|
this._changeDeboucingTimeout = null;
|
|
17
17
|
this._limitCharsToSearch = 3;
|
|
18
18
|
this._deboucingTime = 450;
|
|
19
|
+
this._itemList = undefined;
|
|
19
20
|
this._startLoading = false;
|
|
21
|
+
this.searchLoader = undefined;
|
|
22
|
+
this.selectItem = undefined;
|
|
23
|
+
this.argument = undefined;
|
|
20
24
|
}
|
|
21
25
|
observeArgument() {
|
|
22
26
|
if (this._textInput) {
|
|
@@ -9,9 +9,6 @@ const SelectBox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
9
9
|
this.__registerHost();
|
|
10
10
|
this.__attachShadow();
|
|
11
11
|
this.ezChange = createEvent(this, "ezChange", 7);
|
|
12
|
-
/**
|
|
13
|
-
* Determina a opção selecionada.
|
|
14
|
-
*/
|
|
15
12
|
this.selectedOption = ORDER_VALUES.none;
|
|
16
13
|
}
|
|
17
14
|
render() {
|
|
@@ -6897,8 +6897,14 @@ const SnkTabConfig = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$
|
|
|
6897
6897
|
this.ezOrderChange = createEvent(this, "ezOrderChange", 7);
|
|
6898
6898
|
this.canStartDrag = createEvent(this, "canStartDrag", 7);
|
|
6899
6899
|
this._refTabActions = [];
|
|
6900
|
+
this._processedTabs = undefined;
|
|
6901
|
+
this._activeEditText = undefined;
|
|
6902
|
+
this._activeEditTextIndex = undefined;
|
|
6900
6903
|
this._actionsHide = [];
|
|
6901
6904
|
this._actionsShow = [];
|
|
6905
|
+
this.selectedIndex = undefined;
|
|
6906
|
+
this.selectedTab = undefined;
|
|
6907
|
+
this.tabs = undefined;
|
|
6902
6908
|
}
|
|
6903
6909
|
/**
|
|
6904
6910
|
* Conforme mecanismo de mensagens, é possível customizar as mensagens dos blocos de construção
|
|
@@ -313,10 +313,6 @@ const SnkTaskbar = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
313
313
|
super();
|
|
314
314
|
this.__registerHost();
|
|
315
315
|
this.actionClick = createEvent(this, "actionClick", 7);
|
|
316
|
-
/**
|
|
317
|
-
* Altera o modo de apresentação dos botões do snk-taskbar.
|
|
318
|
-
*/
|
|
319
|
-
this.presentationMode = PresentationMode.PRIMARY;
|
|
320
316
|
this._titleKeyByElement = {
|
|
321
317
|
[TaskbarElement.UPDATE]: "snkTaskbar.titleUpdate",
|
|
322
318
|
[TaskbarElement.PREVIOUS]: "snkTaskbar.titlePrevious",
|
|
@@ -332,6 +328,15 @@ const SnkTaskbar = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
332
328
|
[TaskbarElement.FORM_MODE]: "snkTaskbar.titleFormMode",
|
|
333
329
|
[TaskbarElement.CONFIGURATOR]: "snkTaskbar.titleConfigurator"
|
|
334
330
|
};
|
|
331
|
+
this._permissions = undefined;
|
|
332
|
+
this.configName = undefined;
|
|
333
|
+
this.buttons = undefined;
|
|
334
|
+
this.customButtons = undefined;
|
|
335
|
+
this.actionsList = undefined;
|
|
336
|
+
this.primaryButton = undefined;
|
|
337
|
+
this.disabledButtons = undefined;
|
|
338
|
+
this.dataUnit = undefined;
|
|
339
|
+
this.presentationMode = PresentationMode.PRIMARY;
|
|
335
340
|
}
|
|
336
341
|
observeButtons() {
|
|
337
342
|
this._definitions = undefined;
|