@sankhyalabs/sankhyablocks 10.1.0-dev.24 → 10.1.0-dev.25

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 (126) hide show
  1. package/dist/cjs/{ConfigStorage-f61eedd2.js → ConfigStorage-d9d24844.js} +2 -2
  2. package/dist/cjs/{DataFetcher-0c830777.js → DataFetcher-3a8ea521.js} +1 -1
  3. package/dist/cjs/{ISave-e1e8ec96.js → ISave-a66bb65e.js} +1 -1
  4. package/dist/cjs/{SnkFormConfigManager-421f3581.js → SnkFormConfigManager-c88cf1e9.js} +2 -2
  5. package/dist/cjs/{SnkMessageBuilder-32950342.js → SnkMessageBuilder-d9558dba.js} +32 -8
  6. package/dist/cjs/{SnkMultiSelectionListDataSource-d30a96ef.js → SnkMultiSelectionListDataSource-a891430e.js} +4 -4
  7. package/dist/cjs/{auth-fetcher-761d54c4.js → auth-fetcher-faa61f64.js} +1 -1
  8. package/dist/cjs/{dataunit-fetcher-86e286bb.js → dataunit-fetcher-4320f7ec.js} +2 -2
  9. package/dist/cjs/{form-config-fetcher-227b2db2.js → form-config-fetcher-72cf0e3d.js} +1 -1
  10. package/dist/cjs/index-1894343a.js +6 -2
  11. package/dist/cjs/loader.cjs.js +1 -1
  12. package/dist/cjs/pesquisa-grid_2.cjs.entry.js +5 -5
  13. package/dist/cjs/sankhyablocks.cjs.js +1 -1
  14. package/dist/cjs/{snk-actions-button_9.cjs.entry.js → snk-actions-button_8.cjs.entry.js} +7 -57
  15. package/dist/cjs/snk-application.cjs.entry.js +7 -7
  16. package/dist/cjs/snk-attach.cjs.entry.js +6 -6
  17. package/dist/cjs/snk-crud.cjs.entry.js +7 -7
  18. package/dist/cjs/snk-data-exporter.cjs.entry.js +6 -6
  19. package/dist/cjs/{snk-data-unit-c06263da.js → snk-data-unit-b54fdf9a.js} +2 -2
  20. package/dist/cjs/snk-data-unit.cjs.entry.js +4 -4
  21. package/dist/cjs/snk-detail-view.cjs.entry.js +12 -9
  22. package/dist/cjs/snk-filter-bar_4.cjs.entry.js +4 -4
  23. package/dist/cjs/snk-filter-modal-item.cjs.entry.js +4 -4
  24. package/dist/cjs/snk-form-view.cjs.entry.js +17 -6
  25. package/dist/cjs/snk-form_2.cjs.entry.js +5 -5
  26. package/dist/cjs/snk-grid.cjs.entry.js +10 -8
  27. package/dist/cjs/{snk-guides-viewer-92dadfa6.js → snk-guides-viewer-4bbd697f.js} +6 -6
  28. package/dist/cjs/snk-guides-viewer.cjs.entry.js +8 -8
  29. package/dist/cjs/snk-image-input.cjs.entry.js +1 -1
  30. package/dist/cjs/snk-layout-form-config.cjs.entry.js +72 -0
  31. package/dist/cjs/snk-personalized-filter.cjs.entry.js +4 -4
  32. package/dist/cjs/snk-pesquisa.cjs.entry.js +5 -5
  33. package/dist/cjs/snk-simple-crud.cjs.entry.js +8 -8
  34. package/dist/collection/collection-manifest.json +5 -0
  35. package/dist/collection/components/snk-crud/snk-crud.js +2 -2
  36. package/dist/collection/components/snk-crud/subcomponents/GuideBuilder.js +1 -1
  37. package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.js +3 -0
  38. package/dist/collection/components/snk-crud/subcomponents/snk-form-view.js +19 -7
  39. package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.js +1 -1
  40. package/dist/collection/components/snk-grid/snk-grid.js +3 -1
  41. package/dist/collection/components/snk-layout-form-config/snk-layout-form-config.js +1 -1
  42. package/dist/collection/components/snk-layout-form-config/snk-view-representation/snk-view-representation.js +1 -1
  43. package/dist/collection/lib/message/resources/en-us/snk-crud.msg.js +1 -1
  44. package/dist/collection/lib/message/resources/en-us/snk-layout-form-config.msg.js +10 -2
  45. package/dist/collection/lib/message/resources/es-es/snk-crud.msg.js +1 -1
  46. package/dist/collection/lib/message/resources/es-es/snk-layout-form-config.msg.js +8 -0
  47. package/dist/collection/lib/message/resources/pt-br/snk-configurator.msg.js +1 -1
  48. package/dist/collection/lib/message/resources/pt-br/snk-crud.msg.js +1 -1
  49. package/dist/collection/lib/message/resources/pt-br/snk-layout-form-config.msg.js +10 -2
  50. package/dist/components/SnkMessageBuilder.js +32 -8
  51. package/dist/components/snk-crud.js +1 -1
  52. package/dist/components/snk-detail-view2.js +5 -2
  53. package/dist/components/snk-form-view2.js +18 -6
  54. package/dist/components/snk-grid2.js +3 -1
  55. package/dist/components/snk-layout-form-config2.js +1 -1
  56. package/dist/components/snk-view-representation2.js +1 -1
  57. package/dist/esm/{ConfigStorage-175813dc.js → ConfigStorage-d15d2014.js} +2 -2
  58. package/dist/esm/{DataFetcher-49594174.js → DataFetcher-1dd7e8c0.js} +1 -1
  59. package/dist/esm/{ISave-4bdffce4.js → ISave-498c4831.js} +1 -1
  60. package/dist/esm/{SnkFormConfigManager-0bda2ef5.js → SnkFormConfigManager-86befa68.js} +2 -2
  61. package/dist/esm/{SnkMessageBuilder-1c0fada0.js → SnkMessageBuilder-c0bc4424.js} +32 -8
  62. package/dist/esm/{SnkMultiSelectionListDataSource-e13b72f7.js → SnkMultiSelectionListDataSource-14633bf6.js} +4 -4
  63. package/dist/esm/{auth-fetcher-62c5abf1.js → auth-fetcher-69cbda8d.js} +1 -1
  64. package/dist/esm/{dataunit-fetcher-b7a9ef67.js → dataunit-fetcher-3d5c4ae4.js} +2 -2
  65. package/dist/esm/{form-config-fetcher-5e29a152.js → form-config-fetcher-fcc7b62f.js} +1 -1
  66. package/dist/esm/index-04f73a26.js +6 -2
  67. package/dist/esm/loader.js +1 -1
  68. package/dist/esm/pesquisa-grid_2.entry.js +5 -5
  69. package/dist/esm/sankhyablocks.js +1 -1
  70. package/dist/esm/{snk-actions-button_9.entry.js → snk-actions-button_8.entry.js} +8 -57
  71. package/dist/esm/snk-application.entry.js +7 -7
  72. package/dist/esm/snk-attach.entry.js +6 -6
  73. package/dist/esm/snk-crud.entry.js +7 -7
  74. package/dist/esm/snk-data-exporter.entry.js +6 -6
  75. package/dist/esm/{snk-data-unit-865a1e27.js → snk-data-unit-363c3551.js} +2 -2
  76. package/dist/esm/snk-data-unit.entry.js +4 -4
  77. package/dist/esm/snk-detail-view.entry.js +12 -9
  78. package/dist/esm/snk-filter-bar_4.entry.js +4 -4
  79. package/dist/esm/snk-filter-modal-item.entry.js +4 -4
  80. package/dist/esm/snk-form-view.entry.js +17 -6
  81. package/dist/esm/snk-form_2.entry.js +5 -5
  82. package/dist/esm/snk-grid.entry.js +10 -8
  83. package/dist/esm/{snk-guides-viewer-2e2f48af.js → snk-guides-viewer-97708c80.js} +6 -6
  84. package/dist/esm/snk-guides-viewer.entry.js +8 -8
  85. package/dist/esm/snk-image-input.entry.js +1 -1
  86. package/dist/esm/snk-layout-form-config.entry.js +68 -0
  87. package/dist/esm/snk-personalized-filter.entry.js +4 -4
  88. package/dist/esm/snk-pesquisa.entry.js +5 -5
  89. package/dist/esm/snk-simple-crud.entry.js +8 -8
  90. package/dist/sankhyablocks/{p-36a82166.entry.js → p-10cad767.entry.js} +1 -1
  91. package/dist/sankhyablocks/{p-ddb20d9e.entry.js → p-18cc9111.entry.js} +1 -1
  92. package/dist/sankhyablocks/{p-71ea8d08.entry.js → p-1df34264.entry.js} +1 -1
  93. package/dist/sankhyablocks/p-27d6590e.js +1 -0
  94. package/dist/sankhyablocks/p-2a356340.entry.js +1 -0
  95. package/dist/sankhyablocks/{p-f63e1093.js → p-2ccbbeec.js} +1 -1
  96. package/dist/sankhyablocks/{p-f21109d6.entry.js → p-30641d55.entry.js} +1 -1
  97. package/dist/sankhyablocks/{p-bf37b0e2.js → p-32ad76cc.js} +1 -1
  98. package/dist/sankhyablocks/{p-f455a553.entry.js → p-3b07c117.entry.js} +1 -1
  99. package/dist/sankhyablocks/{p-8bf2a358.entry.js → p-43d84207.entry.js} +1 -1
  100. package/dist/sankhyablocks/{p-0fbd3f2f.entry.js → p-48c580b9.entry.js} +1 -1
  101. package/dist/sankhyablocks/{p-3448ebdc.js → p-685bc841.js} +2 -2
  102. package/dist/sankhyablocks/{p-8e5f4851.js → p-7c4f4851.js} +1 -1
  103. package/dist/sankhyablocks/{p-1d0e4e8f.js → p-7e9f8fa4.js} +1 -1
  104. package/dist/sankhyablocks/{p-93f4104a.js → p-9114e869.js} +1 -1
  105. package/dist/sankhyablocks/{p-abcfff93.entry.js → p-a65559fe.entry.js} +1 -1
  106. package/dist/sankhyablocks/{p-34d56802.js → p-a9839628.js} +1 -1
  107. package/dist/sankhyablocks/{p-d4e3e549.js → p-b2b56f04.js} +1 -1
  108. package/dist/sankhyablocks/{p-f61fef9a.entry.js → p-bb81a356.entry.js} +1 -1
  109. package/dist/sankhyablocks/{p-e9bbd66b.js → p-bdf0077f.js} +1 -1
  110. package/dist/sankhyablocks/p-bf65dcc1.entry.js +1 -0
  111. package/dist/sankhyablocks/p-c6a97fda.entry.js +1 -0
  112. package/dist/sankhyablocks/{p-c5d6717d.entry.js → p-c860552e.entry.js} +1 -1
  113. package/dist/sankhyablocks/p-c9316c5d.entry.js +1 -0
  114. package/dist/sankhyablocks/{p-e19a65a2.js → p-e0a6818c.js} +1 -1
  115. package/dist/sankhyablocks/{p-e892ae6c.entry.js → p-e0e3914e.entry.js} +1 -1
  116. package/dist/sankhyablocks/{p-3f762af3.entry.js → p-e973a5d4.entry.js} +1 -1
  117. package/dist/sankhyablocks/{p-fc0736ad.entry.js → p-ebce5394.entry.js} +1 -1
  118. package/dist/sankhyablocks/{p-d2581c6b.entry.js → p-fc5e95f4.entry.js} +1 -1
  119. package/dist/sankhyablocks/{p-e9e9ff1c.entry.js → p-fce86770.entry.js} +1 -1
  120. package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
  121. package/dist/types/components/snk-crud/subcomponents/snk-form-view.d.ts +3 -0
  122. package/package.json +1 -1
  123. package/dist/sankhyablocks/p-164721f4.entry.js +0 -1
  124. package/dist/sankhyablocks/p-4005bd63.entry.js +0 -1
  125. package/dist/sankhyablocks/p-b10e79bb.js +0 -1
  126. package/dist/sankhyablocks/p-bafeda2d.entry.js +0 -1
@@ -6,24 +6,24 @@ const index = require('./index-1894343a.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
  const DataUnit = require('@sankhyalabs/core/dist/dataunit/DataUnit');
8
8
  const utils = require('@sankhyalabs/ezui/dist/collection/utils');
9
- require('./DataFetcher-0c830777.js');
10
- require('./ISave-e1e8ec96.js');
11
- const SnkMultiSelectionListDataSource = require('./SnkMultiSelectionListDataSource-d30a96ef.js');
9
+ require('./DataFetcher-3a8ea521.js');
10
+ require('./ISave-a66bb65e.js');
11
+ const SnkMultiSelectionListDataSource = require('./SnkMultiSelectionListDataSource-a891430e.js');
12
12
  const index$1 = require('./index-e3e39724.js');
13
13
  require('@sankhyalabs/ezui/dist/collection/utils/constants');
14
14
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
15
- require('./dataunit-fetcher-86e286bb.js');
15
+ require('./dataunit-fetcher-4320f7ec.js');
16
16
  require('./filter-item-type.enum-a7ffdaa6.js');
17
- require('./form-config-fetcher-227b2db2.js');
17
+ require('./form-config-fetcher-72cf0e3d.js');
18
18
  require('./constants-6d82e405.js');
19
- const ConfigStorage = require('./ConfigStorage-f61eedd2.js');
19
+ const ConfigStorage = require('./ConfigStorage-d9d24844.js');
20
20
  const index$2 = require('./index-f0fe7e6e.js');
21
21
  const GetSelectedRecordsIDsInfo = require('./GetSelectedRecordsIDsInfo-bd50caf1.js');
22
22
  const filterValidate = require('./filter-validate-cb4ed41a.js');
23
23
  const taskbarElements = require('./taskbar-elements-8a80420e.js');
24
24
  const taskbarProcessor = require('./taskbar-processor-2fba34a8.js');
25
25
  require('./PrintUtils-bcaeb82f.js');
26
- require('./SnkMessageBuilder-32950342.js');
26
+ require('./SnkMessageBuilder-d9558dba.js');
27
27
  require('./IFetchDataExporterParams-e78ec415.js');
28
28
  require('@sankhyalabs/ezui/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource');
29
29
  require('@sankhyalabs/ezui/dist/collection/components/ez-grid/utils');
@@ -555,7 +555,7 @@ const SnkGrid = class {
555
555
  return disabledButtons;
556
556
  }
557
557
  getInvisibleButtons() {
558
- var _a, _b;
558
+ var _a, _b, _c;
559
559
  let invisibleButtons = [];
560
560
  if (!this._dataUnit || this._dataUnit.records.length === 0)
561
561
  invisibleButtons.push(taskbarElements.TaskbarElement.DATA_EXPORTER);
@@ -563,6 +563,8 @@ const SnkGrid = class {
563
563
  invisibleButtons.push(taskbarElements.TaskbarElement.ACTIONS_BUTTON);
564
564
  if (((_b = this._dataState) === null || _b === void 0 ? void 0 : _b.selectionInfo.length) === 1)
565
565
  invisibleButtons.push(taskbarElements.TaskbarElement.UPDATE_MULTIPLE);
566
+ if (!((_c = this._dataState) === null || _c === void 0 ? void 0 : _c.selectionInfo.length))
567
+ invisibleButtons.push(taskbarElements.TaskbarElement.FORM_MODE);
566
568
  return invisibleButtons;
567
569
  }
568
570
  componentWillRender() {
@@ -5,16 +5,16 @@ const core = require('@sankhyalabs/core');
5
5
  const DataUnit = require('@sankhyalabs/core/dist/dataunit/DataUnit');
6
6
  const utils = require('@sankhyalabs/ezui/dist/collection/utils');
7
7
  const form = require('@sankhyalabs/ezui/dist/collection/utils/form');
8
- require('./DataFetcher-0c830777.js');
9
- require('./ISave-e1e8ec96.js');
8
+ require('./DataFetcher-3a8ea521.js');
9
+ require('./ISave-a66bb65e.js');
10
10
  const index$1 = require('./index-e3e39724.js');
11
11
  require('@sankhyalabs/ezui/dist/collection/utils/constants');
12
12
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
13
- require('./dataunit-fetcher-86e286bb.js');
13
+ require('./dataunit-fetcher-4320f7ec.js');
14
14
  require('./filter-item-type.enum-a7ffdaa6.js');
15
- require('./form-config-fetcher-227b2db2.js');
15
+ require('./form-config-fetcher-72cf0e3d.js');
16
16
  const constants = require('./constants-6d82e405.js');
17
- const SnkFormConfigManager = require('./SnkFormConfigManager-421f3581.js');
17
+ const SnkFormConfigManager = require('./SnkFormConfigManager-c88cf1e9.js');
18
18
  const taskbarElements = require('./taskbar-elements-8a80420e.js');
19
19
  const taskbarProcessor = require('./taskbar-processor-2fba34a8.js');
20
20
 
@@ -621,7 +621,7 @@ const SnkGuidesViewer = class {
621
621
  propsCustomEditor: this._customEditors,
622
622
  fieldsProps: this._fieldsProps,
623
623
  entityPath: this.entityPath
624
- }), this.getContent())), index.h("snk-configurator", { ref: (ref) => this._snkConfigurator = ref, viewMode: this.getConfigViewMode(), onConfigSelected: (evt) => this.changeConfigViewMode(evt.detail), messagesBuilder: this.messagesBuilder, onOpenConfig: (evt) => this.openConfig(evt.detail), resourceID: this.resourceID })));
624
+ }), this.getContent())), index.h("snk-configurator", { ref: (ref) => this._snkConfigurator = ref, viewMode: this.getConfigViewMode(), onConfigSelected: (evt) => this.changeConfigViewMode(evt.detail), messagesBuilder: this.messagesBuilder, onOpenConfig: (evt) => this.openConfig(evt.detail), resourceID: this.resourceID, layoutFormConfig: false, disableNumberingConfig: true })));
625
625
  }
626
626
  render() {
627
627
  if (!this.dataUnit || !this._configManager.isLoaded) {
@@ -2,28 +2,28 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const snkGuidesViewer = require('./snk-guides-viewer-92dadfa6.js');
5
+ const snkGuidesViewer = require('./snk-guides-viewer-4bbd697f.js');
6
6
  require('./index-1894343a.js');
7
7
  require('@sankhyalabs/core');
8
8
  require('@sankhyalabs/core/dist/dataunit/DataUnit');
9
9
  require('@sankhyalabs/ezui/dist/collection/utils');
10
10
  require('@sankhyalabs/ezui/dist/collection/utils/form');
11
- require('./DataFetcher-0c830777.js');
11
+ require('./DataFetcher-3a8ea521.js');
12
12
  require('./PrintUtils-bcaeb82f.js');
13
- require('./SnkMessageBuilder-32950342.js');
13
+ require('./SnkMessageBuilder-d9558dba.js');
14
14
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
15
- require('./ISave-e1e8ec96.js');
15
+ require('./ISave-a66bb65e.js');
16
16
  require('./index-e3e39724.js');
17
17
  require('@sankhyalabs/ezui/dist/collection/utils/constants');
18
- require('./dataunit-fetcher-86e286bb.js');
18
+ require('./dataunit-fetcher-4320f7ec.js');
19
19
  require('@sankhyalabs/ezui/dist/collection/components/ez-grid/utils');
20
20
  require('@sankhyalabs/core/dist/utils/SortingUtils');
21
21
  require('./ResourceIDUtils-5ff86aa7.js');
22
22
  require('./filter-item-type.enum-a7ffdaa6.js');
23
- require('./form-config-fetcher-227b2db2.js');
23
+ require('./form-config-fetcher-72cf0e3d.js');
24
24
  require('./constants-6d82e405.js');
25
- require('./SnkFormConfigManager-421f3581.js');
26
- require('./ConfigStorage-f61eedd2.js');
25
+ require('./SnkFormConfigManager-c88cf1e9.js');
26
+ require('./ConfigStorage-d9d24844.js');
27
27
  require('./taskbar-elements-8a80420e.js');
28
28
  require('./index-f0fe7e6e.js');
29
29
  require('./taskbar-processor-2fba34a8.js');
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-1894343a.js');
6
6
  const core = require('@sankhyalabs/core');
7
- const SnkMessageBuilder = require('./SnkMessageBuilder-32950342.js');
7
+ const SnkMessageBuilder = require('./SnkMessageBuilder-d9558dba.js');
8
8
  const ImageUtils = require('./ImageUtils-5e3f406b.js');
9
9
 
10
10
  const snkImageInputCss = ":host{display:block}";
@@ -0,0 +1,72 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-1894343a.js');
6
+ require('./DataFetcher-3a8ea521.js');
7
+ require('./ISave-a66bb65e.js');
8
+ const core = require('@sankhyalabs/core');
9
+ require('./index-e3e39724.js');
10
+ require('@sankhyalabs/ezui/dist/collection/utils/constants');
11
+ require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
12
+ require('./dataunit-fetcher-4320f7ec.js');
13
+ require('./filter-item-type.enum-a7ffdaa6.js');
14
+ const formConfigFetcher = require('./form-config-fetcher-72cf0e3d.js');
15
+ require('./constants-6d82e405.js');
16
+ const utils = require('@sankhyalabs/ezui/dist/collection/utils');
17
+ require('./PrintUtils-bcaeb82f.js');
18
+ require('./SnkMessageBuilder-d9558dba.js');
19
+ require('@sankhyalabs/ezui/dist/collection/components/ez-grid/utils');
20
+ require('@sankhyalabs/core/dist/utils/SortingUtils');
21
+ require('./ResourceIDUtils-5ff86aa7.js');
22
+
23
+ const snkLayoutFormConfigCss = ".sc-snk-layout-form-config-h{display:block}";
24
+
25
+ const FORM_COL_CONFIG_PREFIX = 'formColCfg.';
26
+ const SnkLayoutFormConfig = class {
27
+ constructor(hostRef) {
28
+ index.registerInstance(this, hostRef);
29
+ this._formConfigFetcher = new formConfigFetcher.FormConfigFetcher();
30
+ this.messagesBuilder = undefined;
31
+ this.layoutType = utils.FormLayout.SIDE_BY_SIDE;
32
+ }
33
+ /**
34
+ * Salva o tipo de layout escolhido. Sem retorno.
35
+ */
36
+ async save() {
37
+ this._LayoutFormConfigSingleton.setConfig(this.layoutType);
38
+ this._formConfigFetcher.saveLayoutFormConfig(FORM_COL_CONFIG_PREFIX + this._resourceID, { config: this.layoutType, newConfig: true });
39
+ }
40
+ async componentWillLoad() {
41
+ const _application = core.ApplicationContext.getContextValue("__SNK__APPLICATION__");
42
+ this._LayoutFormConfigSingleton = await (_application === null || _application === void 0 ? void 0 : _application.getLayoutFormConfig());
43
+ this._resourceID = await (_application === null || _application === void 0 ? void 0 : _application.getResourceID());
44
+ this.setLayoutInit();
45
+ }
46
+ setLayoutInit() {
47
+ if (!this._LayoutFormConfigSingleton)
48
+ return;
49
+ const { config } = this._LayoutFormConfigSingleton;
50
+ if (config == null) {
51
+ this.layoutType = utils.FormLayout.SIDE_BY_SIDE;
52
+ return;
53
+ }
54
+ const configAsNumber = Number(config);
55
+ this.layoutType = Object.values(utils.FormLayout).includes(configAsNumber)
56
+ ? configAsNumber
57
+ : utils.FormLayout.SIDE_BY_SIDE;
58
+ }
59
+ toggleLayout(key) {
60
+ this.layoutType = key;
61
+ }
62
+ getMessage(key, params) {
63
+ var _a;
64
+ return (_a = this.messagesBuilder) === null || _a === void 0 ? void 0 : _a.getMessage(key, params);
65
+ }
66
+ render() {
67
+ return (index.h("div", { class: "ez-flex ez-flex--column" }, index.h("div", { class: "ez-margin-bottom--small" }, index.h("ez-check", { label: this.getMessage('snkLayoutFormConfig.cascadeLayout.label'), class: "ez-margin-bottom--small", onEzChange: () => this.toggleLayout(utils.FormLayout.CASCADE), value: this.layoutType === utils.FormLayout.CASCADE }), index.h("snk-view-representation", { mode: utils.FormLayout.CASCADE }), index.h("label", { class: "ez-label ez-margin--small ez-flex ez-text--medium" }, this.getMessage('snkLayoutFormConfig.cascadeLayout.description'))), index.h("div", { class: "ez-margin-bottom--small" }, index.h("ez-check", { label: this.getMessage('snkLayoutFormConfig.classicCascadeLayout.label'), class: "ez-margin-bottom--small", onEzChange: () => this.toggleLayout(utils.FormLayout.CLASSIC_CASCADE), value: this.layoutType === utils.FormLayout.CLASSIC_CASCADE }), index.h("snk-view-representation", { mode: utils.FormLayout.CLASSIC_CASCADE }), index.h("label", { class: "ez-label ez-margin--small ez-flex ez-text--medium" }, this.getMessage('snkLayoutFormConfig.classicCascadeLayout.description'))), index.h("div", { class: "ez-margin-bottom--small" }, index.h("ez-check", { label: this.getMessage('snkLayoutFormConfig.sideBySideLayout.label'), class: "ez-margin-bottom--small", onEzChange: () => this.toggleLayout(utils.FormLayout.SIDE_BY_SIDE), value: this.layoutType === utils.FormLayout.SIDE_BY_SIDE }), index.h("snk-view-representation", { mode: utils.FormLayout.SIDE_BY_SIDE }), index.h("label", { class: "ez-label ez-margin--small ez-flex ez-text--medium" }, this.getMessage('snkLayoutFormConfig.sideBySideLayout.description'))), index.h("div", null, index.h("ez-check", { label: this.getMessage('snkLayoutFormConfig.classicSideBySideLayout.label'), class: "ez-margin-bottom--small", onEzChange: () => this.toggleLayout(utils.FormLayout.CLASSIC_SIDE_BY_SIDE), value: this.layoutType === utils.FormLayout.CLASSIC_SIDE_BY_SIDE }), index.h("snk-view-representation", { mode: utils.FormLayout.CLASSIC_SIDE_BY_SIDE }), index.h("label", { class: "ez-label ez-margin--small ez-flex ez-text--medium" }, this.getMessage('snkLayoutFormConfig.classicSideBySideLayout.description')))));
68
+ }
69
+ };
70
+ SnkLayoutFormConfig.style = snkLayoutFormConfigCss;
71
+
72
+ exports.snk_layout_form_config = SnkLayoutFormConfig;
@@ -5,15 +5,15 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-1894343a.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
  const PersonalizedFilterUtils = require('./PersonalizedFilterUtils-eccb267a.js');
8
- const ConfigStorage = require('./ConfigStorage-f61eedd2.js');
8
+ const ConfigStorage = require('./ConfigStorage-d9d24844.js');
9
9
  const utils = require('@sankhyalabs/ezui/dist/collection/utils');
10
10
  const index$1 = require('./index-62760a9c.js');
11
11
  const index$2 = require('./index-f0fe7e6e.js');
12
12
  require('./filter-item-type.enum-a7ffdaa6.js');
13
- require('./form-config-fetcher-227b2db2.js');
14
- require('./DataFetcher-0c830777.js');
13
+ require('./form-config-fetcher-72cf0e3d.js');
14
+ require('./DataFetcher-3a8ea521.js');
15
15
  require('./PrintUtils-bcaeb82f.js');
16
- require('./SnkMessageBuilder-32950342.js');
16
+ require('./SnkMessageBuilder-d9558dba.js');
17
17
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
18
18
 
19
19
  const snkPersonalizedFilterCss = ".sc-snk-personalized-filter-h{display:flex;height:100%;padding:var(--space--large, 24px);--snk-personalized-filter--width:100%;--snk-personalized-filter--height:100%;--snk-personalized-filter--background-color-line:var(--color--disable-secondary);--snk-personalized-filter--margin-line:var(--border--radius-medium, 12px)}.snk-personalized-filter.sc-snk-personalized-filter{height:var(--snk-personalized-filter--width);width:var(--snk-personalized-filter--height)}.snk-personalized-filter__header-actions.sc-snk-personalized-filter{display:flex;gap:var(--space--medium)}.snk-personalized-filter__group.sc-snk-personalized-filter{flex:1}.snk-personalized-filter__expression-input--line.sc-snk-personalized-filter{width:100%;height:2px;background-color:var(--snk-personalized-filter--background-color-line);margin-top:var(--snk-personalized-filter--margin-line);margin-bottom:var(--snk-personalized-filter--margin-line)}.ez-box__main.sc-snk-personalized-filter{height:90%}.snk-personalized-filter__button-mode.sc-snk-personalized-filter{height:35px}";
@@ -4,17 +4,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-1894343a.js');
6
6
  const core = require('@sankhyalabs/core');
7
- const ISave = require('./ISave-e1e8ec96.js');
8
- require('./DataFetcher-0c830777.js');
7
+ const ISave = require('./ISave-a66bb65e.js');
8
+ require('./DataFetcher-3a8ea521.js');
9
9
  require('./index-e3e39724.js');
10
10
  require('@sankhyalabs/ezui/dist/collection/utils/constants');
11
11
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
12
- require('./dataunit-fetcher-86e286bb.js');
12
+ require('./dataunit-fetcher-4320f7ec.js');
13
13
  require('./filter-item-type.enum-a7ffdaa6.js');
14
- require('./form-config-fetcher-227b2db2.js');
14
+ require('./form-config-fetcher-72cf0e3d.js');
15
15
  require('./constants-6d82e405.js');
16
16
  require('./PrintUtils-bcaeb82f.js');
17
- require('./SnkMessageBuilder-32950342.js');
17
+ require('./SnkMessageBuilder-d9558dba.js');
18
18
  require('@sankhyalabs/ezui/dist/collection/components/ez-grid/utils');
19
19
  require('@sankhyalabs/core/dist/utils/SortingUtils');
20
20
  require('./ResourceIDUtils-5ff86aa7.js');
@@ -7,21 +7,21 @@ const core = require('@sankhyalabs/core');
7
7
  const utils = require('@sankhyalabs/ezui/dist/collection/utils');
8
8
  const constants = require('./constants-6d82e405.js');
9
9
  const taskbarElements = require('./taskbar-elements-8a80420e.js');
10
- require('./DataFetcher-0c830777.js');
11
- require('./ISave-e1e8ec96.js');
12
- const SnkMultiSelectionListDataSource = require('./SnkMultiSelectionListDataSource-d30a96ef.js');
10
+ require('./DataFetcher-3a8ea521.js');
11
+ require('./ISave-a66bb65e.js');
12
+ const SnkMultiSelectionListDataSource = require('./SnkMultiSelectionListDataSource-a891430e.js');
13
13
  const index$1 = require('./index-e3e39724.js');
14
14
  require('@sankhyalabs/ezui/dist/collection/utils/constants');
15
15
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
16
- const dataunitFetcher = require('./dataunit-fetcher-86e286bb.js');
16
+ const dataunitFetcher = require('./dataunit-fetcher-4320f7ec.js');
17
17
  require('./filter-item-type.enum-a7ffdaa6.js');
18
- const formConfigFetcher = require('./form-config-fetcher-227b2db2.js');
18
+ const formConfigFetcher = require('./form-config-fetcher-72cf0e3d.js');
19
19
  const taskbarProcessor = require('./taskbar-processor-2fba34a8.js');
20
- const ConfigStorage = require('./ConfigStorage-f61eedd2.js');
21
- const SnkFormConfigManager = require('./SnkFormConfigManager-421f3581.js');
20
+ const ConfigStorage = require('./ConfigStorage-d9d24844.js');
21
+ const SnkFormConfigManager = require('./SnkFormConfigManager-c88cf1e9.js');
22
22
  const index$2 = require('./index-f0fe7e6e.js');
23
23
  require('./PrintUtils-bcaeb82f.js');
24
- require('./SnkMessageBuilder-32950342.js');
24
+ require('./SnkMessageBuilder-d9558dba.js');
25
25
  require('./GetSelectedRecordsIDsInfo-bd50caf1.js');
26
26
  require('./IFetchDataExporterParams-e78ec415.js');
27
27
  require('@sankhyalabs/ezui/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource');
@@ -109,6 +109,11 @@
109
109
  "snk-guides-viewer"
110
110
  ]
111
111
  },
112
+ {
113
+ "components": [
114
+ "snk-layout-form-config"
115
+ ]
116
+ },
112
117
  {
113
118
  "components": [
114
119
  "snk-data-exporter"
@@ -71,7 +71,7 @@ export class SnkCrud {
71
71
  this.configName = undefined;
72
72
  this.filterBarTitle = undefined;
73
73
  this.selectionToastConfig = undefined;
74
- this.showActionButtons = false;
74
+ this.showActionButtons = true;
75
75
  this.actionsList = undefined;
76
76
  this.taskbarManager = undefined;
77
77
  this.recordsValidator = undefined;
@@ -679,7 +679,7 @@ export class SnkCrud {
679
679
  },
680
680
  "attribute": "show-action-buttons",
681
681
  "reflect": false,
682
- "defaultValue": "false"
682
+ "defaultValue": "true"
683
683
  },
684
684
  "actionsList": {
685
685
  "type": "unknown",
@@ -43,7 +43,7 @@ export class GuideBuilder {
43
43
  };
44
44
  });
45
45
  const newGuideItem = children.shift();
46
- newGuideItem.label = isNewRecord ? this.getMessage("snkCrud.title.newRecord") : currentRecord.__record__label__;
46
+ newGuideItem.label = isNewRecord ? this.getMessage("snkCrud.newRecord") : currentRecord.__record__label__;
47
47
  newGuideItem.children = children;
48
48
  item.children = [newGuideItem];
49
49
  return item;
@@ -245,6 +245,9 @@ export class SnkDetailView {
245
245
  if (action.type === DUAction.FIELD_INVALIDATED) {
246
246
  this.addErrorBadgeToBranchGuide();
247
247
  }
248
+ else if (action.type === DUAction.DATA_LOADED) {
249
+ this.dataUnit.selectFirst();
250
+ }
248
251
  }
249
252
  addErrorBadgeToBranchGuide() {
250
253
  this.branchGuide = Object.assign(Object.assign({}, this.branchGuide), { badge: 'error' });
@@ -35,6 +35,7 @@ export class SnkFormView {
35
35
  ]
36
36
  ]);
37
37
  this._singleColumn = false;
38
+ this._currentFormLayout = undefined;
38
39
  this.levelPath = undefined;
39
40
  this.fieldSearch = undefined;
40
41
  this.label = undefined;
@@ -167,27 +168,37 @@ export class SnkFormView {
167
168
  this.dataUnit.unsubscribe(this.dataUnitObserver);
168
169
  }
169
170
  }
171
+ async componentWillLoad() {
172
+ await this.initLayoutFormConfig();
173
+ }
174
+ async componentWillLoad() {
175
+ await this.initLayoutFormConfig();
176
+ }
170
177
  componentDidLoad() {
171
178
  this.observePropsCustomEditor(this.customEditors);
172
179
  this.observeFieldsProps(this.fieldsProps);
173
- this.initLayoutFormConfig();
174
180
  }
175
181
  async initLayoutFormConfig() {
176
- const _application = ApplicationContext.getContextValue("__SNK__APPLICATION__");
177
- const layoutFormConfig = await (_application === null || _application === void 0 ? void 0 : _application.getLayoutFormConfig());
182
+ var _a;
183
+ if (!this._application) {
184
+ this._application = ApplicationContext.getContextValue("__SNK__APPLICATION__");
185
+ }
186
+ const layoutFormConfig = await ((_a = this._application) === null || _a === void 0 ? void 0 : _a.getLayoutFormConfig());
178
187
  if (layoutFormConfig) {
179
188
  this.setSingleColumn(layoutFormConfig);
180
189
  this.registerNotifyListeners(layoutFormConfig);
181
190
  }
182
191
  }
183
192
  setSingleColumn(layoutFormConfig) {
184
- this._singleColumn = (layoutFormConfig === null || layoutFormConfig === void 0 ? void 0 : layoutFormConfig.config) === FormLayout.CASCADE;
193
+ this._singleColumn = (layoutFormConfig === null || layoutFormConfig === void 0 ? void 0 : layoutFormConfig.config) === FormLayout.CASCADE || (layoutFormConfig === null || layoutFormConfig === void 0 ? void 0 : layoutFormConfig.config) === FormLayout.CLASSIC_CASCADE;
194
+ this._currentFormLayout = layoutFormConfig === null || layoutFormConfig === void 0 ? void 0 : layoutFormConfig.config;
185
195
  }
186
196
  registerNotifyListeners(layoutFormConfig) {
187
197
  if (!layoutFormConfig)
188
198
  return;
189
199
  layoutFormConfig.onConfigChange((config) => {
190
- this._singleColumn = (config === FormLayout.CASCADE);
200
+ this._singleColumn = (config === FormLayout.CASCADE || config === FormLayout.CLASSIC_CASCADE);
201
+ this._currentFormLayout = config;
191
202
  });
192
203
  }
193
204
  componentDidRender() {
@@ -247,7 +258,7 @@ export class SnkFormView {
247
258
  ?
248
259
  h("snk-form-summary", { summary: this.getCardSummary() })
249
260
  :
250
- h("ez-form-view", { ref: ref => this._formView = ref, fields: this.fields, onEzContentReady: evt => this.bindFields(evt.detail), onFormItemsReady: (event) => this.handleFormItemsReady(event), singleColumn: this._singleColumn, customUiBuilders: this.customUiBuilders }), this.fieldSearch && h("ez-popover", { ref: elem => (this._ezPopoverFieldColumn = elem), overlayType: "none" }, this.fieldSearch)));
261
+ h("ez-form-view", { ref: ref => this._formView = ref, fields: this.fields, onEzContentReady: evt => this.bindFields(evt.detail), onFormItemsReady: (event) => this.handleFormItemsReady(event), singleColumn: this._singleColumn, customUiBuilders: this.customUiBuilders, formLayout: this._currentFormLayout }), this.fieldSearch && h("ez-popover", { ref: elem => (this._ezPopoverFieldColumn = elem), overlayType: "none" }, this.fieldSearch)));
251
262
  }
252
263
  static get is() { return "snk-form-view"; }
253
264
  static get encapsulation() { return "scoped"; }
@@ -585,7 +596,8 @@ export class SnkFormView {
585
596
  }
586
597
  static get states() {
587
598
  return {
588
- "_singleColumn": {}
599
+ "_singleColumn": {},
600
+ "_currentFormLayout": {}
589
601
  };
590
602
  }
591
603
  static get events() {
@@ -602,7 +602,7 @@ export class SnkGuidesViewer {
602
602
  propsCustomEditor: this._customEditors,
603
603
  fieldsProps: this._fieldsProps,
604
604
  entityPath: this.entityPath
605
- }), this.getContent())), h("snk-configurator", { ref: (ref) => this._snkConfigurator = ref, viewMode: this.getConfigViewMode(), onConfigSelected: (evt) => this.changeConfigViewMode(evt.detail), messagesBuilder: this.messagesBuilder, onOpenConfig: (evt) => this.openConfig(evt.detail), resourceID: this.resourceID })));
605
+ }), this.getContent())), h("snk-configurator", { ref: (ref) => this._snkConfigurator = ref, viewMode: this.getConfigViewMode(), onConfigSelected: (evt) => this.changeConfigViewMode(evt.detail), messagesBuilder: this.messagesBuilder, onOpenConfig: (evt) => this.openConfig(evt.detail), resourceID: this.resourceID, layoutFormConfig: false, disableNumberingConfig: true })));
606
606
  }
607
607
  render() {
608
608
  if (!this.dataUnit || !this._configManager.isLoaded) {
@@ -479,7 +479,7 @@ export class SnkGrid {
479
479
  return disabledButtons;
480
480
  }
481
481
  getInvisibleButtons() {
482
- var _a, _b;
482
+ var _a, _b, _c;
483
483
  let invisibleButtons = [];
484
484
  if (!this._dataUnit || this._dataUnit.records.length === 0)
485
485
  invisibleButtons.push(TaskbarElement.DATA_EXPORTER);
@@ -487,6 +487,8 @@ export class SnkGrid {
487
487
  invisibleButtons.push(TaskbarElement.ACTIONS_BUTTON);
488
488
  if (((_b = this._dataState) === null || _b === void 0 ? void 0 : _b.selectionInfo.length) === 1)
489
489
  invisibleButtons.push(TaskbarElement.UPDATE_MULTIPLE);
490
+ if (!((_c = this._dataState) === null || _c === void 0 ? void 0 : _c.selectionInfo.length))
491
+ invisibleButtons.push(TaskbarElement.FORM_MODE);
490
492
  return invisibleButtons;
491
493
  }
492
494
  componentWillRender() {
@@ -43,7 +43,7 @@ export class SnkLayoutFormConfig {
43
43
  return (_a = this.messagesBuilder) === null || _a === void 0 ? void 0 : _a.getMessage(key, params);
44
44
  }
45
45
  render() {
46
- return (h("div", { class: "ez-flex ez-flex--column" }, h("div", { class: "ez-margin-bottom--small" }, h("ez-check", { label: this.getMessage('snkLayoutFormConfig.cascadeLayout.label'), class: "ez-margin-bottom--small", onEzChange: () => this.toggleLayout(FormLayout.CASCADE), value: this.layoutType === FormLayout.CASCADE }), h("snk-view-representation", { mode: FormLayout.CASCADE }), h("label", { class: "ez-label ez-margin--small ez-flex ez-text--medium" }, this.getMessage('snkLayoutFormConfig.cascadeLayout.description'))), h("div", null, h("ez-check", { label: this.getMessage('snkLayoutFormConfig.sideBySideLayout.label'), class: "ez-margin-bottom--small", onEzChange: () => this.toggleLayout(FormLayout.SIDE_BY_SIDE), value: this.layoutType === FormLayout.SIDE_BY_SIDE }), h("snk-view-representation", { mode: FormLayout.SIDE_BY_SIDE }), h("label", { class: "ez-label ez-margin--small ez-flex ez-text--medium" }, this.getMessage('snkLayoutFormConfig.sideBySideLayout.description')))));
46
+ return (h("div", { class: "ez-flex ez-flex--column" }, h("div", { class: "ez-margin-bottom--small" }, h("ez-check", { label: this.getMessage('snkLayoutFormConfig.cascadeLayout.label'), class: "ez-margin-bottom--small", onEzChange: () => this.toggleLayout(FormLayout.CASCADE), value: this.layoutType === FormLayout.CASCADE }), h("snk-view-representation", { mode: FormLayout.CASCADE }), h("label", { class: "ez-label ez-margin--small ez-flex ez-text--medium" }, this.getMessage('snkLayoutFormConfig.cascadeLayout.description'))), h("div", { class: "ez-margin-bottom--small" }, h("ez-check", { label: this.getMessage('snkLayoutFormConfig.classicCascadeLayout.label'), class: "ez-margin-bottom--small", onEzChange: () => this.toggleLayout(FormLayout.CLASSIC_CASCADE), value: this.layoutType === FormLayout.CLASSIC_CASCADE }), h("snk-view-representation", { mode: FormLayout.CLASSIC_CASCADE }), h("label", { class: "ez-label ez-margin--small ez-flex ez-text--medium" }, this.getMessage('snkLayoutFormConfig.classicCascadeLayout.description'))), h("div", { class: "ez-margin-bottom--small" }, h("ez-check", { label: this.getMessage('snkLayoutFormConfig.sideBySideLayout.label'), class: "ez-margin-bottom--small", onEzChange: () => this.toggleLayout(FormLayout.SIDE_BY_SIDE), value: this.layoutType === FormLayout.SIDE_BY_SIDE }), h("snk-view-representation", { mode: FormLayout.SIDE_BY_SIDE }), h("label", { class: "ez-label ez-margin--small ez-flex ez-text--medium" }, this.getMessage('snkLayoutFormConfig.sideBySideLayout.description'))), h("div", null, h("ez-check", { label: this.getMessage('snkLayoutFormConfig.classicSideBySideLayout.label'), class: "ez-margin-bottom--small", onEzChange: () => this.toggleLayout(FormLayout.CLASSIC_SIDE_BY_SIDE), value: this.layoutType === FormLayout.CLASSIC_SIDE_BY_SIDE }), h("snk-view-representation", { mode: FormLayout.CLASSIC_SIDE_BY_SIDE }), h("label", { class: "ez-label ez-margin--small ez-flex ez-text--medium" }, this.getMessage('snkLayoutFormConfig.classicSideBySideLayout.description')))));
47
47
  }
48
48
  static get is() { return "snk-layout-form-config"; }
49
49
  static get encapsulation() { return "scoped"; }
@@ -11,7 +11,7 @@ export class SnkViewRepresentation {
11
11
  return (h("div", { class: "svg-container__inline" }, [...Array(2)].map(() => this.renderCascadeLayout())));
12
12
  }
13
13
  render() {
14
- return (h("div", { class: "svg-container ez-margin-left--small" }, h("div", { class: "svg-container__background" }, h("div", { class: "svg-container__header" }, h("div", { class: "svg-container__circle svg-container__circle--red" }), h("div", { class: "svg-container__circle svg-container__circle--yellow" }), h("div", { class: "svg-container__circle svg-container__circle--green" })), this.mode === FormLayout.CASCADE
14
+ return (h("div", { class: "svg-container ez-margin-left--small" }, h("div", { class: "svg-container__background" }, h("div", { class: "svg-container__header" }, h("div", { class: "svg-container__circle svg-container__circle--red" }), h("div", { class: "svg-container__circle svg-container__circle--yellow" }), h("div", { class: "svg-container__circle svg-container__circle--green" })), (this.mode === FormLayout.CASCADE || this.mode === FormLayout.CLASSIC_CASCADE)
15
15
  ? this.renderCascadeLayout()
16
16
  : this.renderSideBySideLayout())));
17
17
  }
@@ -4,8 +4,8 @@ export const snkCrudMessages = {
4
4
  insert: "Register record",
5
5
  update: "Update record",
6
6
  clean: "{{ENTITY_NAME}}",
7
- newRecord: "New Record"
8
7
  },
8
+ newRecord: "New Record",
9
9
  findColumn: "Search fields (Ctrl+F)",
10
10
  goBackTitle: "Back",
11
11
  guide: {
@@ -1,10 +1,18 @@
1
1
  export const snkLayoutFormConfigMessages = {
2
2
  cascadeLayout: {
3
- label: "Cascade layout",
3
+ label: "Cascade compact layout",
4
4
  description: "All fields will be organized in a single column."
5
5
  },
6
+ classicCascadeLayout: {
7
+ label: "Classic cascade layout",
8
+ description: "All fields will be organized in a single column with classic style."
9
+ },
6
10
  sideBySideLayout: {
7
- label: "Side by side layout",
11
+ label: "Side by side compact layout",
8
12
  description: "All fields will be arranged side by side, automatically adjusting to the screen width."
13
+ },
14
+ classicSideBySideLayout: {
15
+ label: "Classic side by side layout",
16
+ description: "All fields will be arranged side by side with classic style, automatically adjusting to the screen width."
9
17
  }
10
18
  };
@@ -4,8 +4,8 @@ export const snkCrudMessages = {
4
4
  insert: "Registrar nuevo",
5
5
  update: "Modificar registro",
6
6
  clean: "{{ENTITY_NAME}}",
7
- newRecord: "Nuevo Registro"
8
7
  },
8
+ newRecord: "Nuevo Registro",
9
9
  findColumn: "Buscar campos (Ctrl+F)",
10
10
  goBackTitle: "Volver",
11
11
  guide: {
@@ -3,8 +3,16 @@ export const snkLayoutFormConfigMessages = {
3
3
  label: "Diseño en cascada",
4
4
  description: "Todos los campos se organizarán en una única columna."
5
5
  },
6
+ classicCascadeLayout: {
7
+ label: "Diseño clásico en cascada",
8
+ description: "Todos los campos se organizarán en una única columna con estilo clásico."
9
+ },
6
10
  sideBySideLayout: {
7
11
  label: "Diseño lado a lado",
8
12
  description: "Todos los campos se dispondrán lado a lado, ajustándose automáticamente al ancho de la pantalla."
13
+ },
14
+ classicSideBySideLayout: {
15
+ label: "Diseño clásico lado a lado",
16
+ description: "Todos los campos se dispondrán lado a lado con estilo clásico, ajustándose automáticamente al ancho de la pantalla."
9
17
  }
10
18
  };
@@ -9,6 +9,6 @@ export const snkConfiguratorMessages = {
9
9
  labelNumberingConfig: "Configuração de numeração",
10
10
  buttons: {
11
11
  cancel: "Cancelar",
12
- save: "Guardar"
12
+ save: "Salvar"
13
13
  }
14
14
  };
@@ -4,8 +4,8 @@ export const snkCrudMessages = {
4
4
  insert: "Cadastrar registro",
5
5
  update: "Alterar registro",
6
6
  clean: "{{ENTITY_NAME}}",
7
- newRecord: "Novo Registro"
8
7
  },
8
+ newRecord: "Novo Registro",
9
9
  findColumn: "Buscar campos (Ctrl+F)",
10
10
  goBackTitle: "Voltar",
11
11
  guide: {
@@ -1,10 +1,18 @@
1
1
  export const snkLayoutFormConfigMessages = {
2
2
  cascadeLayout: {
3
- label: "Layout em cascata",
3
+ label: "Layout compacto em cascata",
4
4
  description: "Todos os campos serão organizados em uma coluna única."
5
5
  },
6
+ classicCascadeLayout: {
7
+ label: "Layout clássico em cascata",
8
+ description: "Todos os campos serão organizados em uma coluna única com estilo clássico."
9
+ },
6
10
  sideBySideLayout: {
7
- label: "Layout lado a lado",
11
+ label: "Layout compacto lado a lado",
8
12
  description: "Todos os campos serão dispostos lado a lado, ajustando-se automaticamente à largura da tela."
13
+ },
14
+ classicSideBySideLayout: {
15
+ label: "Layout clássico lado a lado",
16
+ description: "Todos os campos serão dispostos lado a lado com estilo clássico, ajustando-se automaticamente à largura da tela."
9
17
  }
10
18
  };