@sankhyalabs/sankhyablocks 1.3.31-beta.14 → 1.3.31-beta.16

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.
Files changed (57) hide show
  1. package/dist/cjs/{SnkMessageBuilder-bb55d4c4.js → SnkMessageBuilder-79cf15c5.js} +1 -0
  2. package/dist/cjs/{index-c6671817.js → index-5575fe3d.js} +434 -231
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/sankhyablocks.cjs.js +2 -2
  5. package/dist/cjs/snk-application.cjs.entry.js +2 -2
  6. package/dist/cjs/snk-crud.cjs.entry.js +1 -1
  7. package/dist/cjs/snk-data-unit.cjs.entry.js +3 -3
  8. package/dist/cjs/snk-form_2.cjs.entry.js +2 -2
  9. package/dist/cjs/snk-pesquisa.cjs.entry.js +1 -1
  10. package/dist/cjs/snk-taskbar.cjs.entry.js +2 -2
  11. package/dist/cjs/{taskbar-elements-2888ceb6.js → taskbar-elements-2ae0d005.js} +1 -1
  12. package/dist/cjs/teste-pesquisa.cjs.entry.js +1 -1
  13. package/dist/collection/collection-manifest.json +2 -2
  14. package/dist/collection/components/snk-application/snk-application.js +688 -680
  15. package/dist/collection/components/snk-crud/snk-crud.js +75 -73
  16. package/dist/collection/components/snk-data-unit/snk-data-unit.js +262 -250
  17. package/dist/collection/components/snk-form/snk-form.js +111 -111
  18. package/dist/collection/components/snk-grid/snk-grid.js +93 -92
  19. package/dist/collection/components/snk-pesquisa/snk-pesquisa.js +80 -79
  20. package/dist/collection/components/snk-taskbar/elements/taskbar-elements.js +1 -2
  21. package/dist/collection/components/snk-taskbar/snk-taskbar.js +128 -116
  22. package/dist/collection/components/teste-pesquisa/teste-pesquisa.js +12 -9
  23. package/dist/collection/lib/message/resources/snk-data-unit.msg.js +1 -0
  24. package/dist/components/SnkMessageBuilder.js +1 -0
  25. package/dist/components/index.d.ts +8 -5
  26. package/dist/components/index.js +8 -0
  27. package/dist/components/snk-data-unit.js +1 -1
  28. package/dist/esm/{SnkMessageBuilder-17d91b88.js → SnkMessageBuilder-3cdde541.js} +1 -0
  29. package/dist/esm/{index-6a83ac96.js → index-cf91f542.js} +434 -231
  30. package/dist/esm/loader.js +2 -2
  31. package/dist/esm/polyfills/css-shim.js +1 -1
  32. package/dist/esm/sankhyablocks.js +2 -2
  33. package/dist/esm/snk-application.entry.js +2 -2
  34. package/dist/esm/snk-crud.entry.js +1 -1
  35. package/dist/esm/snk-data-unit.entry.js +3 -3
  36. package/dist/esm/snk-form_2.entry.js +2 -2
  37. package/dist/esm/snk-pesquisa.entry.js +1 -1
  38. package/dist/esm/snk-taskbar.entry.js +2 -2
  39. package/dist/esm/{taskbar-elements-5ea74223.js → taskbar-elements-bcccc0ff.js} +1 -1
  40. package/dist/esm/teste-pesquisa.entry.js +1 -1
  41. package/dist/sankhyablocks/{p-825d2c38.entry.js → p-1ba29824.entry.js} +3 -3
  42. package/dist/sankhyablocks/{p-4c7b32d6.entry.js → p-2266555e.entry.js} +1 -1
  43. package/dist/sankhyablocks/p-23c4c94f.js +2 -0
  44. package/dist/sankhyablocks/{p-b559117b.js → p-2454be94.js} +1 -1
  45. package/dist/sankhyablocks/p-49743bc5.js +1 -0
  46. package/dist/sankhyablocks/{p-ce2d1214.entry.js → p-4fa389bd.entry.js} +1 -1
  47. package/dist/sankhyablocks/{p-56a32417.entry.js → p-5327ba05.entry.js} +1 -1
  48. package/dist/sankhyablocks/{p-d25803a1.entry.js → p-7a922fb4.entry.js} +1 -1
  49. package/dist/sankhyablocks/p-92d6f826.entry.js +1 -0
  50. package/dist/sankhyablocks/{p-d25637c9.entry.js → p-bdeef7f2.entry.js} +1 -1
  51. package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
  52. package/dist/types/stencil-public-runtime.d.ts +15 -4
  53. package/loader/package.json +1 -0
  54. package/package.json +5 -5
  55. package/dist/sankhyablocks/p-ab694dbc.js +0 -1
  56. package/dist/sankhyablocks/p-cd1dc099.js +0 -2
  57. package/dist/sankhyablocks/p-edf81d2c.entry.js +0 -1
@@ -1,4 +1,4 @@
1
- import { Component, h, Prop, Element, State } from '@stencil/core';
1
+ import { h } from '@stencil/core';
2
2
  const GRID_MODE = 0;
3
3
  const FORM_MODE = 1;
4
4
  /**
@@ -50,87 +50,89 @@ export class SnkCrud {
50
50
  }
51
51
  }
52
52
  render() {
53
- return (h("ez-view-stack", { ref: (ref) => this._viewStack = ref },
54
- h("stack-item", null,
55
- h("snk-grid", { configName: this.configName, onGridDoubleClick: () => this.gridToForm(true), onActionClick: evt => this.executeAction(evt.detail), actionsList: this.actionsList },
56
- h("slot", { name: "SnkGridHeader" }),
57
- h("slot", { name: "SnkGridFooter" }))),
58
- h("stack-item", null,
59
- h("snk-form", { configName: this.configName, actionsList: this.actionsList, onExit: () => this._viewStack.show(GRID_MODE), recordsValidator: this.recordsValidator, onActionClick: evt => this.executeAction(evt.detail) }))));
53
+ return (h("ez-view-stack", { ref: (ref) => this._viewStack = ref }, h("stack-item", null, h("snk-grid", { configName: this.configName, onGridDoubleClick: () => this.gridToForm(true), onActionClick: evt => this.executeAction(evt.detail), actionsList: this.actionsList }, h("slot", { name: "SnkGridHeader" }), h("slot", { name: "SnkGridFooter" }))), h("stack-item", null, h("snk-form", { configName: this.configName, actionsList: this.actionsList, onExit: () => this._viewStack.show(GRID_MODE), recordsValidator: this.recordsValidator, onActionClick: evt => this.executeAction(evt.detail) }))));
60
54
  }
61
55
  static get is() { return "snk-crud"; }
62
56
  static get encapsulation() { return "scoped"; }
63
- static get originalStyleUrls() { return {
64
- "$": ["snk-crud.css"]
65
- }; }
66
- static get styleUrls() { return {
67
- "$": ["snk-crud.css"]
68
- }; }
69
- static get properties() { return {
70
- "configName": {
71
- "type": "string",
72
- "mutable": false,
73
- "complexType": {
74
- "original": "string",
75
- "resolved": "string",
76
- "references": {}
77
- },
78
- "required": false,
79
- "optional": false,
80
- "docs": {
81
- "tags": [],
82
- "text": ""
57
+ static get originalStyleUrls() {
58
+ return {
59
+ "$": ["snk-crud.css"]
60
+ };
61
+ }
62
+ static get styleUrls() {
63
+ return {
64
+ "$": ["snk-crud.css"]
65
+ };
66
+ }
67
+ static get properties() {
68
+ return {
69
+ "configName": {
70
+ "type": "string",
71
+ "mutable": false,
72
+ "complexType": {
73
+ "original": "string",
74
+ "resolved": "string",
75
+ "references": {}
76
+ },
77
+ "required": false,
78
+ "optional": false,
79
+ "docs": {
80
+ "tags": [],
81
+ "text": ""
82
+ },
83
+ "attribute": "config-name",
84
+ "reflect": false
83
85
  },
84
- "attribute": "config-name",
85
- "reflect": false
86
- },
87
- "actionsList": {
88
- "type": "unknown",
89
- "mutable": false,
90
- "complexType": {
91
- "original": "Array<Action>",
92
- "resolved": "Action[]",
93
- "references": {
94
- "Array": {
95
- "location": "global"
96
- },
97
- "Action": {
98
- "location": "import",
99
- "path": "../snk-taskbar/snk-taskbar"
86
+ "actionsList": {
87
+ "type": "unknown",
88
+ "mutable": false,
89
+ "complexType": {
90
+ "original": "Array<Action>",
91
+ "resolved": "Action[]",
92
+ "references": {
93
+ "Array": {
94
+ "location": "global"
95
+ },
96
+ "Action": {
97
+ "location": "import",
98
+ "path": "../snk-taskbar/snk-taskbar"
99
+ }
100
100
  }
101
+ },
102
+ "required": false,
103
+ "optional": false,
104
+ "docs": {
105
+ "tags": [],
106
+ "text": ""
101
107
  }
102
108
  },
103
- "required": false,
104
- "optional": false,
105
- "docs": {
106
- "tags": [],
107
- "text": ""
108
- }
109
- },
110
- "recordsValidator": {
111
- "type": "unknown",
112
- "mutable": false,
113
- "complexType": {
114
- "original": "RecordValidator",
115
- "resolved": "RecordValidator",
116
- "references": {
117
- "RecordValidator": {
118
- "location": "import",
119
- "path": "@sankhyalabs/ezui/dist/types/components/ez-form/ez-form"
109
+ "recordsValidator": {
110
+ "type": "unknown",
111
+ "mutable": false,
112
+ "complexType": {
113
+ "original": "RecordValidator",
114
+ "resolved": "RecordValidator",
115
+ "references": {
116
+ "RecordValidator": {
117
+ "location": "import",
118
+ "path": "@sankhyalabs/ezui/dist/types/components/ez-form/ez-form"
119
+ }
120
120
  }
121
+ },
122
+ "required": false,
123
+ "optional": false,
124
+ "docs": {
125
+ "tags": [],
126
+ "text": "Validador respons\u00E1vel por checar a integridade das informa\u00E7\u00F5es do registro"
121
127
  }
122
- },
123
- "required": false,
124
- "optional": false,
125
- "docs": {
126
- "tags": [],
127
- "text": "Validador respons\u00E1vel por checar a integridade das informa\u00E7\u00F5es do registro"
128
128
  }
129
- }
130
- }; }
131
- static get states() { return {
132
- "_dataUnit": {},
133
- "_dataState": {}
134
- }; }
129
+ };
130
+ }
131
+ static get states() {
132
+ return {
133
+ "_dataUnit": {},
134
+ "_dataState": {}
135
+ };
136
+ }
135
137
  static get elementRef() { return "_element"; }
136
138
  }