@sankhyalabs/sankhyablocks 0.0.0-bugfix-dev-KB-74246.1 → 0.0.0-bugfix-dev-KB-74224.0

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 (145) hide show
  1. package/dist/cjs/{ConfigStorage-f079f5fd.js → ConfigStorage-ecc0ed20.js} +2 -2
  2. package/dist/cjs/{ContinuousInsertUtils-64e47516.js → ContinuousInsertUtils-29b65619.js} +20 -29
  3. package/dist/cjs/{DataFetcher-e059eb72.js → DataFetcher-cadeef8e.js} +5 -7
  4. package/dist/cjs/{SnkFormConfigManager-bff848f1.js → SnkFormConfigManager-f1c92f79.js} +5 -5
  5. package/dist/cjs/{auth-fetcher-4f853233.js → auth-fetcher-d68841bc.js} +1 -1
  6. package/dist/cjs/{dataunit-fetcher-228016f4.js → dataunit-fetcher-f89461c1.js} +3 -3
  7. package/dist/cjs/{form-config-fetcher-39397ac5.js → form-config-fetcher-ed497282.js} +1 -1
  8. package/dist/cjs/index-f9e81701.js +28 -8
  9. package/dist/cjs/loader.cjs.js +1 -1
  10. package/dist/cjs/{pesquisa-fetcher-a9bfeb22.js → pesquisa-fetcher-ca89181c.js} +2 -7
  11. package/dist/cjs/sankhyablocks.cjs.js +1 -1
  12. package/dist/cjs/snk-actions-button_4.cjs.entry.js +30 -27
  13. package/dist/cjs/snk-application.cjs.entry.js +59 -101
  14. package/dist/cjs/snk-attach.cjs.entry.js +5 -5
  15. package/dist/cjs/snk-config-options.cjs.entry.js +239 -0
  16. package/dist/cjs/snk-crud.cjs.entry.js +5 -5
  17. package/dist/cjs/snk-data-exporter.cjs.entry.js +5 -5
  18. package/dist/cjs/{snk-data-unit-3d4d0e2a.js → snk-data-unit-668dc5e8.js} +1 -1
  19. package/dist/cjs/snk-data-unit.cjs.entry.js +3 -3
  20. package/dist/cjs/snk-detail-view.cjs.entry.js +7 -7
  21. package/dist/cjs/{snk-filter-bar_4.cjs.entry.js → snk-filter-bar.cjs.entry.js} +3 -688
  22. package/dist/cjs/snk-filter-item.cjs.entry.js +312 -0
  23. package/dist/cjs/snk-filter-list.cjs.entry.js +152 -0
  24. package/dist/cjs/snk-filter-modal-item.cjs.entry.js +3 -3
  25. package/dist/cjs/snk-filter-modal.cjs.entry.js +249 -0
  26. package/dist/cjs/{snk-config-options_3.cjs.entry.js → snk-form-config.cjs.entry.js} +3 -365
  27. package/dist/cjs/snk-form.cjs.entry.js +144 -0
  28. package/dist/cjs/snk-grid.cjs.entry.js +6 -6
  29. package/dist/cjs/{snk-guides-viewer-2b44c804.js → snk-guides-viewer-4236cb9d.js} +5 -8
  30. package/dist/cjs/snk-guides-viewer.cjs.entry.js +7 -7
  31. package/dist/cjs/snk-personalized-filter.cjs.entry.js +3 -3
  32. package/dist/cjs/snk-simple-crud.cjs.entry.js +14 -14
  33. package/dist/collection/collection-manifest.json +31 -11
  34. package/dist/collection/components/snk-actions-button/interfaces/index.js +1 -0
  35. package/dist/collection/components/snk-actions-button/snk-actions-button.js +27 -26
  36. package/dist/collection/components/snk-application/snk-application.js +53 -3
  37. package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.js +0 -3
  38. package/dist/collection/components/snk-form-config/SnkFormConfigManager.js +3 -3
  39. package/dist/collection/components/snk-simple-crud/snk-simple-crud.js +7 -7
  40. package/dist/collection/lib/http/data-fetcher/DataFetcher.js +6 -8
  41. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/DataUnitDataLoader.js +2 -2
  42. package/dist/collection/lib/http/data-fetcher/fetchers/pesquisa-fetcher.js +1 -6
  43. package/dist/collection/lib/utils/CrudUtils.js +16 -25
  44. package/dist/components/ContinuousInsertUtils.js +16 -25
  45. package/dist/components/DataFetcher.js +5 -7
  46. package/dist/components/SnkFormConfigManager.js +3 -3
  47. package/dist/components/dataunit-fetcher.js +2 -2
  48. package/dist/components/pesquisa-fetcher.js +1 -6
  49. package/dist/components/snk-actions-button2.js +27 -26
  50. package/dist/components/snk-application2.js +53 -95
  51. package/dist/components/snk-detail-view2.js +0 -3
  52. package/dist/components/snk-simple-crud2.js +7 -7
  53. package/dist/esm/{ConfigStorage-6514d66e.js → ConfigStorage-7b36d041.js} +2 -2
  54. package/dist/esm/{ContinuousInsertUtils-b62906f9.js → ContinuousInsertUtils-30caa626.js} +20 -29
  55. package/dist/esm/{DataFetcher-5034df59.js → DataFetcher-a9c598f2.js} +5 -7
  56. package/dist/esm/{SnkFormConfigManager-f0532f7d.js → SnkFormConfigManager-139f09fa.js} +6 -6
  57. package/dist/esm/{auth-fetcher-ca5d3a49.js → auth-fetcher-749d880f.js} +1 -1
  58. package/dist/esm/{constants-7302ee87.js → constants-8457af36.js} +1 -1
  59. package/dist/esm/{dataunit-fetcher-56cb648b.js → dataunit-fetcher-c24c76c6.js} +3 -3
  60. package/dist/esm/{form-config-fetcher-a7d3e277.js → form-config-fetcher-adbe5d34.js} +1 -1
  61. package/dist/esm/index-a7d3d3f1.js +28 -8
  62. package/dist/esm/loader.js +1 -1
  63. package/dist/esm/{pesquisa-fetcher-6bc2e41a.js → pesquisa-fetcher-8edaa8cd.js} +2 -7
  64. package/dist/esm/sankhyablocks.js +1 -1
  65. package/dist/esm/snk-actions-button_4.entry.js +32 -29
  66. package/dist/esm/snk-application.entry.js +59 -101
  67. package/dist/esm/snk-attach.entry.js +6 -6
  68. package/dist/esm/snk-config-options.entry.js +235 -0
  69. package/dist/esm/snk-configurator.entry.js +1 -1
  70. package/dist/esm/snk-crud.entry.js +6 -6
  71. package/dist/esm/snk-data-exporter.entry.js +6 -6
  72. package/dist/esm/{snk-data-unit-618e0b80.js → snk-data-unit-0fdfb6c2.js} +1 -1
  73. package/dist/esm/snk-data-unit.entry.js +3 -3
  74. package/dist/esm/snk-detail-view.entry.js +8 -8
  75. package/dist/esm/snk-field-config.entry.js +1 -1
  76. package/dist/esm/{snk-filter-bar_4.entry.js → snk-filter-bar.entry.js} +5 -687
  77. package/dist/esm/snk-filter-item.entry.js +308 -0
  78. package/dist/esm/snk-filter-list.entry.js +148 -0
  79. package/dist/esm/snk-filter-modal-item.entry.js +3 -3
  80. package/dist/esm/snk-filter-modal.entry.js +245 -0
  81. package/dist/esm/{snk-config-options_3.entry.js → snk-form-config.entry.js} +6 -366
  82. package/dist/esm/snk-form.entry.js +140 -0
  83. package/dist/esm/snk-grid.entry.js +6 -6
  84. package/dist/esm/{snk-guides-viewer-15c916a3.js → snk-guides-viewer-8934c537.js} +6 -9
  85. package/dist/esm/snk-guides-viewer.entry.js +8 -8
  86. package/dist/esm/snk-personalized-filter.entry.js +3 -3
  87. package/dist/esm/snk-simple-crud.entry.js +15 -15
  88. package/dist/esm/snk-tab-config.entry.js +1 -1
  89. package/dist/sankhyablocks/p-01086ff7.entry.js +1 -0
  90. package/dist/sankhyablocks/{p-126c58ea.js → p-06421fdb.js} +1 -1
  91. package/dist/sankhyablocks/{p-ae50d69f.js → p-16869f77.js} +1 -1
  92. package/dist/sankhyablocks/{p-341465ce.js → p-1bf06cd3.js} +2 -2
  93. package/dist/sankhyablocks/{p-aa003d4e.entry.js → p-212213d9.entry.js} +1 -1
  94. package/dist/sankhyablocks/p-2923c1b5.js +1 -0
  95. package/dist/sankhyablocks/p-3b60db06.entry.js +1 -0
  96. package/dist/sankhyablocks/{p-9c3138f5.entry.js → p-430e4d3c.entry.js} +1 -1
  97. package/dist/sankhyablocks/{p-9ffd9fc7.js → p-4d9549cf.js} +1 -1
  98. package/dist/sankhyablocks/p-4f35399c.entry.js +1 -0
  99. package/dist/sankhyablocks/{p-a75e9dcc.js → p-5dd8cf4f.js} +1 -1
  100. package/dist/sankhyablocks/p-60b29483.entry.js +1 -0
  101. package/dist/sankhyablocks/p-70a4af56.entry.js +1 -0
  102. package/dist/sankhyablocks/{p-41793e17.entry.js → p-7663f597.entry.js} +1 -1
  103. package/dist/sankhyablocks/{p-47d24ac8.js → p-7ac7932c.js} +2 -2
  104. package/dist/sankhyablocks/{p-2d3f9482.entry.js → p-8eb67fa4.entry.js} +1 -1
  105. package/dist/sankhyablocks/{p-f0aaad2b.entry.js → p-92eadb1c.entry.js} +1 -1
  106. package/dist/sankhyablocks/{p-8b4fc28f.entry.js → p-95df461f.entry.js} +1 -1
  107. package/dist/sankhyablocks/p-a42e7a1e.entry.js +11 -0
  108. package/dist/sankhyablocks/p-a724e798.entry.js +1 -0
  109. package/dist/sankhyablocks/{p-1dbd5c18.entry.js → p-a75d242d.entry.js} +1 -1
  110. package/dist/sankhyablocks/p-afbb070d.js +1 -0
  111. package/dist/sankhyablocks/{p-95ce311a.js → p-b0ef4383.js} +1 -1
  112. package/dist/sankhyablocks/p-b9679243.entry.js +1 -0
  113. package/dist/sankhyablocks/{p-c1adf0dd.entry.js → p-b9c67e45.entry.js} +1 -1
  114. package/dist/sankhyablocks/{p-e41bd8ee.entry.js → p-be5d8fcb.entry.js} +1 -1
  115. package/dist/sankhyablocks/p-ca5ec380.js +1 -0
  116. package/dist/sankhyablocks/p-d3f53df2.entry.js +1 -0
  117. package/dist/sankhyablocks/{p-a2c790ac.entry.js → p-dcead955.entry.js} +1 -1
  118. package/dist/sankhyablocks/p-e8763234.entry.js +1 -0
  119. package/dist/sankhyablocks/{p-00278e07.js → p-f3434fc4.js} +1 -1
  120. package/dist/sankhyablocks/{p-fca0e5cc.entry.js → p-fb34e0cf.entry.js} +1 -1
  121. package/dist/sankhyablocks/p-feba9d4b.entry.js +1 -0
  122. package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
  123. package/dist/types/components/snk-actions-button/interfaces/index.d.ts +3 -0
  124. package/dist/types/components/snk-actions-button/snk-actions-button.d.ts +3 -2
  125. package/dist/types/components/snk-application/snk-application.d.ts +12 -3
  126. package/dist/types/components/snk-simple-crud/snk-simple-crud.d.ts +1 -0
  127. package/dist/types/lib/http/data-fetcher/DataFetcher.d.ts +0 -1
  128. package/dist/types/lib/utils/CrudUtils.d.ts +0 -1
  129. package/package.json +2 -3
  130. package/dist/collection/components/snk-application/request-listener/DebouncedRequestListener.js +0 -28
  131. package/dist/collection/components/snk-application/request-listener/RequestListenerFactory.js +0 -16
  132. package/dist/collection/components/snk-application/request-listener/RequestListenerLoadingBar.js +0 -52
  133. package/dist/collection/sw.js +0 -46
  134. package/dist/sankhyablocks/p-3858a2e4.entry.js +0 -1
  135. package/dist/sankhyablocks/p-563b7c28.entry.js +0 -1
  136. package/dist/sankhyablocks/p-a0ebd886.js +0 -1
  137. package/dist/sankhyablocks/p-aaf94476.js +0 -1
  138. package/dist/sankhyablocks/p-bab79110.entry.js +0 -1
  139. package/dist/sankhyablocks/p-c88ad28e.entry.js +0 -1
  140. package/dist/sankhyablocks/p-d1da52e1.entry.js +0 -1
  141. package/dist/sankhyablocks/p-da87e42c.entry.js +0 -11
  142. package/dist/sankhyablocks/p-e4391e16.js +0 -1
  143. package/dist/types/components/snk-application/request-listener/DebouncedRequestListener.d.ts +0 -11
  144. package/dist/types/components/snk-application/request-listener/RequestListenerFactory.d.ts +0 -12
  145. package/dist/types/components/snk-application/request-listener/RequestListenerLoadingBar.d.ts +0 -13
@@ -4,21 +4,21 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-f9e81701.js');
6
6
  const core = require('@sankhyalabs/core');
7
- const DataFetcher = require('./DataFetcher-e059eb72.js');
7
+ const DataFetcher = require('./DataFetcher-cadeef8e.js');
8
8
  const ParamType = require('./ParamType-90b440a0.js');
9
- require('./pesquisa-fetcher-a9bfeb22.js');
9
+ require('./pesquisa-fetcher-ca89181c.js');
10
10
  require('./index-1dfc7a6e.js');
11
11
  require('./ISave-e91b70a7.js');
12
12
  require('@sankhyalabs/ezui/dist/collection/utils/constants');
13
13
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
14
- require('./dataunit-fetcher-228016f4.js');
14
+ require('./dataunit-fetcher-f89461c1.js');
15
15
  require('./filter-item-type.enum-a7ffdaa6.js');
16
- require('./form-config-fetcher-39397ac5.js');
16
+ require('./form-config-fetcher-ed497282.js');
17
17
  const GetSelectedRecordsIDsInfo = require('./GetSelectedRecordsIDsInfo-bd50caf1.js');
18
18
  const ResourceIDUtils = require('./ResourceIDUtils-5ff86aa7.js');
19
19
  const utils = require('@sankhyalabs/ezui/dist/collection/utils');
20
20
  const CheckMode = require('@sankhyalabs/ezui/dist/collection/components/ez-check/CheckMode');
21
- const ConfigStorage = require('./ConfigStorage-f079f5fd.js');
21
+ const ConfigStorage = require('./ConfigStorage-ecc0ed20.js');
22
22
  const constants = require('./constants-35ddd366.js');
23
23
  require('./PrintUtils-bcaeb82f.js');
24
24
  require('@sankhyalabs/ezui/dist/collection/components/ez-grid/utils');
@@ -609,6 +609,7 @@ const SnkActionsButton = class {
609
609
  constructor(hostRef) {
610
610
  index.registerInstance(this, hostRef);
611
611
  this.CLIENT_EVENT_CONFIRM_NAME = "br.com.sankhya.actionbutton.clientconfirm";
612
+ this._actions = [];
612
613
  this.handleClick = (evt) => {
613
614
  const selectedAction = this._actions.find((action) => action.actionID == evt.detail.id);
614
615
  const executor = new ExecutorFactory(selectedAction.type).executor;
@@ -618,27 +619,22 @@ const SnkActionsButton = class {
618
619
  };
619
620
  this._items = [];
620
621
  this._showDropdown = false;
621
- this._actions = [];
622
- this._isOrderActions = false;
623
622
  }
624
623
  async getActions() {
625
- let param = {
626
- param: {
627
- entityName: this._entityName,
628
- resourceID: this._resourceID
629
- }
630
- };
631
- return DataFetcher.DataFetcher.get().callServiceBroker('ActionButtonsSP.getActions', param).then((result) => {
624
+ const actions = await core.ServiceUtils.useCacheWithService(`SnkActionsButton_${this._entityName}-${this._resourceID}`, async () => {
632
625
  var _a;
633
- if (!((_a = result.actions) === null || _a === void 0 ? void 0 : _a.action))
634
- return;
635
- if (this._isOrderActions) {
636
- this._actions = core.ArrayUtils.sortAlphabetically(result.actions.action, 'description');
637
- }
638
- else {
639
- this._actions = result.actions.action;
640
- }
641
- });
626
+ const param = {
627
+ param: {
628
+ entityName: this._entityName,
629
+ resourceID: this._resourceID,
630
+ },
631
+ };
632
+ const result = await DataFetcher.DataFetcher.get().callServiceBroker('ActionButtonsSP.getActions', param);
633
+ return ((_a = result.actions) === null || _a === void 0 ? void 0 : _a.action) || [];
634
+ }, core.StorageType.SESSION_STORAGE);
635
+ this._actions = SnkActionsButton.parameters.isOrderActions
636
+ ? core.ArrayUtils.sortAlphabetically(actions, 'description')
637
+ : actions;
642
638
  }
643
639
  controlDropdown() {
644
640
  this._showDropdown = !this._showDropdown;
@@ -671,7 +667,7 @@ const SnkActionsButton = class {
671
667
  }
672
668
  async componentWillLoad() {
673
669
  this._application = core.ApplicationContext.getContextValue("__SNK__APPLICATION__");
674
- this._isOrderActions = await this._application.getBooleanParam('global.ordenar.acoes.personalizadas');
670
+ await this.loadParameters();
675
671
  const snkDataUnit = this._element.parentElement;
676
672
  this._dataUnit = snkDataUnit === null || snkDataUnit === void 0 ? void 0 : snkDataUnit.dataUnit;
677
673
  this._resourceID = snkDataUnit === null || snkDataUnit === void 0 ? void 0 : snkDataUnit.resourceID;
@@ -680,9 +676,8 @@ const SnkActionsButton = class {
680
676
  this._resourceID = await ResourceIDUtils.ResourceIDUtils.getResourceID();
681
677
  }
682
678
  this.setEvents();
683
- this.getActions().then(() => {
684
- this.loadItems();
685
- });
679
+ await this.getActions();
680
+ this.loadItems();
686
681
  }
687
682
  async componentDidLoad() {
688
683
  if (!this._element)
@@ -709,6 +704,11 @@ const SnkActionsButton = class {
709
704
  [core.ElementIDUtils.DATA_ELEMENT_ID_ATTRIBUTE_NAME]: core.ElementIDUtils.getInternalIDInfo(sufix)
710
705
  };
711
706
  }
707
+ async loadParameters() {
708
+ if (SnkActionsButton.parameters.isOrderActions != null)
709
+ return;
710
+ SnkActionsButton.parameters.isOrderActions = await this._application.getBooleanParam('global.ordenar.acoes.personalizadas');
711
+ }
712
712
  render() {
713
713
  return (index.h(index.Host, null, (this._actions && this._actions.length > 0) &&
714
714
  (index.h("div", { class: `ez-padding-left--medium snk-actions-button
@@ -722,6 +722,9 @@ const SnkActionsButton = class {
722
722
  }
723
723
  get _element() { return index.getElement(this); }
724
724
  };
725
+ SnkActionsButton.parameters = {
726
+ isOrderActions: null
727
+ };
725
728
  SnkActionsButton.style = snkActionsButtonCss;
726
729
 
727
730
  const snkGridConfigCss = ".sc-snk-grid-config-h{--snk-grid-config__footer--padding-top:var(--space--medium, 12px);--snk-grid-config__main--padding-right:var(--space--medium, 12px);--snk-grid-config__tabselector-container--padding:var(--space--medium, 12px);--snk-grid-config__button-close--padding-left:var(--space--medium, 12px);--snk-grid-config__title--color:var(--title--primary, #2B3A54);--snk-grid-config__title--font-family:var(--font-pattern, \"Roboto\");--snk-grid-config__title--font-size:var(--title--large, 20px);--snk-grid-config__title--font-weight:var(--text-weight--extra-large, 700);--snk-grid-config__subtitle--font-family:var(--font-pattern, \"Roboto\");--snk-grid-config__subtitle--font-size:var(--text--medium, 14px);--snk-grid-config__group--font-family:var(--font-pattern, \"Roboto\");--snk-grid-config__group--font-size:var(--text--medium, 14px);--snk-grid-config__group--font-weight:var(--text-weight--large, 600);--snk-grid-config__group--padding-bottom:var(--space-small, 6px);--snk-grid-config__scrollbar--color-default:var(--scrollbar--default, #626e82);--snk-grid-config__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--snk-grid-config__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--snk-grid-config__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--snk-grid-config__scrollbar--border-radius:var(--border--radius-small, 6px);--snk-grid-config__scrollbar--width:var(--space--medium, 12px);display:grid;grid-template-rows:auto 1fr auto;max-height:100%;width:100%}@media screen and (min-width: 480px){.sc-snk-grid-config-h{width:359px;max-width:359px}}.padding-right--medium.sc-snk-grid-config{padding-right:var(--space--medium)}ez-list.sc-snk-grid-config{height:100%}.height-calc.sc-snk-grid-config{max-height:calc(100% - 24px)}.grid-config__footer.sc-snk-grid-config{display:flex;justify-content:flex-end;width:100%;padding-top:var(--snk-grid-config__footer--padding-top)}.hidden.sc-snk-grid-config{display:none}.tabselector-container.sc-snk-grid-config{padding:var(--snk-grid-config__tabselector-container--padding) 0}.button-close.sc-snk-grid-config{padding-left:var(--snk-grid-config__button-close--padding-left)}.title-container.sc-snk-grid-config{display:flex;justify-content:space-between;align-items:center;width:100%}.title.sc-snk-grid-config{display:flex;margin:0;line-height:normal;letter-spacing:0em;text-align:left;color:var(--snk-grid-config__title--color);font-size:var(--snk-grid-config__title--font-size);font-family:var(--snk-grid-config__title--font-family);font-weight:var(--snk-grid-config__title--font-weight)}.subtitle.sc-snk-grid-config{color:var(--text--primary);font-size:var(--snk-grid-config__subtitle--font-size);font-family:var(--snk-grid-config__subtitle--font-family)}.grid-config__main.sc-snk-grid-config{overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--snk-grid-config__scrollbar--color-clicked) var(--snk-grid-config__scrollbar--color-background);padding-right:var(--snk-grid-config__main--padding-right)}.grid-config__main.sc-snk-grid-config::-webkit-scrollbar{width:var(--snk-grid-config__scrollbar--width);max-width:var(--snk-grid-config__scrollbar--width);min-width:var(--snk-grid-config__scrollbar--width);background-color:var(--snk-grid-config__scrollbar--color-background)}.grid-config__main.sc-snk-grid-config::-webkit-scrollbar-track{background-color:var(--snk-grid-config__scrollbar--color-background);border-radius:var(--snk-grid-config__scrollbar--border-radius)}.grid-config__main.sc-snk-grid-config::-webkit-scrollbar-thumb{background-color:var(--snk-grid-config__scrollbar--color-default);border-radius:var(--snk-grid-config__scrollbar--border-radius)}.grid-config__main.sc-snk-grid-config::-webkit-scrollbar-thumb:vertical:hover,.grid-config__main.sc-snk-grid-config::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--snk-grid-config__scrollbar--color-hover)}.grid-config__main.sc-snk-grid-config::-webkit-scrollbar-thumb:vertical:active,.grid-config__main.sc-snk-grid-config::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--snk-grid-config__scrollbar--color-clicked)}.group-name.sc-snk-grid-config{font-family:var(--snk-grid-config__group--font-family);font-size:var(--snk-grid-config__group--font-size);font-weight:var(--snk-grid-config__group--font-weight);padding-bottom:var(--snk-grid-config__group--padding-bottom)}";
@@ -5,13 +5,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-f9e81701.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
  const utils = require('@sankhyalabs/ezui/dist/collection/utils');
8
- const ConfigStorage = require('./ConfigStorage-f079f5fd.js');
9
- const DataFetcher = require('./DataFetcher-e059eb72.js');
10
- const authFetcher = require('./auth-fetcher-4f853233.js');
11
- const dataunitFetcher = require('./dataunit-fetcher-228016f4.js');
12
- const pesquisaFetcher = require('./pesquisa-fetcher-a9bfeb22.js');
8
+ const ConfigStorage = require('./ConfigStorage-ecc0ed20.js');
9
+ const DataFetcher = require('./DataFetcher-cadeef8e.js');
10
+ const authFetcher = require('./auth-fetcher-d68841bc.js');
11
+ const dataunitFetcher = require('./dataunit-fetcher-f89461c1.js');
12
+ const pesquisaFetcher = require('./pesquisa-fetcher-ca89181c.js');
13
13
  const SnkMessageBuilder = require('./SnkMessageBuilder-bae64d0d.js');
14
- require('./form-config-fetcher-39397ac5.js');
14
+ require('./form-config-fetcher-ed497282.js');
15
15
  require('./filter-item-type.enum-a7ffdaa6.js');
16
16
  require('./PrintUtils-bcaeb82f.js');
17
17
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
@@ -285,99 +285,6 @@ class SnkErrorHandler {
285
285
  }
286
286
  }
287
287
 
288
- class DebouncedRequestListener {
289
- constructor() {
290
- this._debounceTime = 1500;
291
- this.requests = new Map();
292
- this.requestsLoadingBar = [];
293
- }
294
- onRequestStart(param) {
295
- if (param.url.includes("quietMode=true")) {
296
- return;
297
- }
298
- this.requestsLoadingBar.push(param.requestId);
299
- const timeout = setTimeout(() => {
300
- this.ezLoadingBar.show();
301
- }, this._debounceTime);
302
- this.requests.set(param.requestId, timeout);
303
- }
304
- ;
305
- onRequestEnd(param) {
306
- const timeoutId = this.requests.get(param.requestId);
307
- clearTimeout(timeoutId);
308
- if (this.requestsLoadingBar.includes(param.requestId)) {
309
- this.requestsLoadingBar = this.requestsLoadingBar.filter(id => id !== param.requestId);
310
- !this.requestsLoadingBar.length && this.ezLoadingBar.hide();
311
- }
312
- }
313
- ;
314
- }
315
-
316
- class RequestListenerLoadingBar {
317
- constructor() {
318
- this._debounceTime = 1000;
319
- this._ignoredNameTypes = ["totals"];
320
- this._countRequest = 0;
321
- }
322
- onRequestStart(param) {
323
- if (this.isIgnoreLoadingOnRequest(param)) {
324
- return;
325
- }
326
- this._countRequest++;
327
- this.ezLoadingBar.show();
328
- if (this._timerLoading) {
329
- clearTimeout(this._timerLoading);
330
- }
331
- }
332
- ;
333
- onRequestEnd(param) {
334
- if (this.isIgnoreLoadingOnRequest(param)) {
335
- return;
336
- }
337
- this._countRequest--;
338
- this._timerLoading = setTimeout(() => {
339
- if (this._countRequest <= 0) {
340
- this.ezLoadingBar.hide();
341
- }
342
- }, this._debounceTime);
343
- }
344
- ;
345
- isIgnoreLoadingOnRequest(param) {
346
- if (param == undefined) {
347
- return false;
348
- }
349
- if (param.url.includes("quietMode=true")) {
350
- return true;
351
- }
352
- if (param.requestBody == undefined) {
353
- return false;
354
- }
355
- if (param.requestBody.length == 1) {
356
- const { name } = param.requestBody[0].variables;
357
- if (name) {
358
- const nameParts = name.split(":");
359
- const nameType = nameParts[0];
360
- return this._ignoredNameTypes.indexOf(nameType) >= 0;
361
- }
362
- }
363
- return false;
364
- }
365
- ;
366
- }
367
-
368
- class RequestListenerFactory {
369
- static create({ strategy }) {
370
- switch (strategy) {
371
- case 'request_name':
372
- return new RequestListenerLoadingBar();
373
- case 'request_time':
374
- return new DebouncedRequestListener();
375
- default:
376
- throw new Error('Strategy not found');
377
- }
378
- }
379
- }
380
-
381
288
  const snkApplicationCss = ".sc-snk-application-h{display:flex;flex-direction:column;height:100%}";
382
289
 
383
290
  const SnkApplication = class {
@@ -391,7 +298,7 @@ const SnkApplication = class {
391
298
  this._waitingAppReady = new Array();
392
299
  this._duCache = new Map();
393
300
  this._duPromises = new Map();
394
- this._requestListener = RequestListenerFactory.create({ strategy: 'request_time' });
301
+ this._requestListener = new RequestListenerLoadingBar();
395
302
  this._pendingActions = new Map;
396
303
  this._loadPkParameter = null;
397
304
  this._isLoadedByPk = false;
@@ -1365,13 +1272,64 @@ const SnkApplication = class {
1365
1272
  .unbind("F1");
1366
1273
  }
1367
1274
  render() {
1368
- return (index.h("div", null, index.h("ez-loading-bar", { ref: (ref) => this._requestListener.ezLoadingBar = ref }), index.h("ez-popup", { opened: false, ref: (ref) => this._popUp = ref, onEzClosePopup: () => this.closePopUp() }), index.h("ez-modal", { opened: false, ref: (ref) => this._rightModal = ref, "modal-size": "small", closeOutsideClick: true, closeEsc: true })));
1275
+ return (index.h("div", null, index.h("ez-loading-bar", { ref: (ref) => this._requestListener.loadingBar = ref }), index.h("ez-popup", { opened: false, ref: (ref) => this._popUp = ref, onEzClosePopup: () => this.closePopUp() }), index.h("ez-modal", { opened: false, ref: (ref) => this._rightModal = ref, "modal-size": "small", closeOutsideClick: true, closeEsc: true })));
1369
1276
  }
1370
1277
  get _element() { return index.getElement(this); }
1371
1278
  static get watchers() { return {
1372
1279
  "loadByPK": ["watchPropHandler"]
1373
1280
  }; }
1374
1281
  };
1282
+ class RequestListenerLoadingBar {
1283
+ constructor() {
1284
+ this._debounceTime = 1000;
1285
+ this._ignoredNameTypes = ["totals"];
1286
+ this._countRequest = 0;
1287
+ }
1288
+ onRequestStart(param) {
1289
+ if (this.isIgnoreLoadingOnRequest(param)) {
1290
+ return;
1291
+ }
1292
+ this._countRequest++;
1293
+ this.loadingBar.show();
1294
+ if (this._timerLoading) {
1295
+ clearTimeout(this._timerLoading);
1296
+ }
1297
+ }
1298
+ ;
1299
+ onRequestEnd(param) {
1300
+ if (this.isIgnoreLoadingOnRequest(param)) {
1301
+ return;
1302
+ }
1303
+ this._countRequest--;
1304
+ this._timerLoading = setTimeout(() => {
1305
+ if (this._countRequest <= 0) {
1306
+ this.loadingBar.hide();
1307
+ }
1308
+ }, this._debounceTime);
1309
+ }
1310
+ ;
1311
+ isIgnoreLoadingOnRequest(param) {
1312
+ if (param == undefined) {
1313
+ return false;
1314
+ }
1315
+ if (param.url.includes("quietMode=true")) {
1316
+ return true;
1317
+ }
1318
+ if (param.requestBody == undefined) {
1319
+ return false;
1320
+ }
1321
+ if (param.requestBody.length == 1) {
1322
+ const { name } = param.requestBody[0].variables;
1323
+ if (name) {
1324
+ const nameParts = name.split(":");
1325
+ const nameType = nameParts[0];
1326
+ return this._ignoredNameTypes.indexOf(nameType) >= 0;
1327
+ }
1328
+ }
1329
+ return false;
1330
+ }
1331
+ ;
1332
+ }
1375
1333
  class PendingPromise {
1376
1334
  constructor(resolve, reject) {
1377
1335
  this.resolve = resolve;
@@ -4,15 +4,15 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-f9e81701.js');
6
6
  const core = require('@sankhyalabs/core');
7
- const DataFetcher = require('./DataFetcher-e059eb72.js');
8
- require('./pesquisa-fetcher-a9bfeb22.js');
7
+ const DataFetcher = require('./DataFetcher-cadeef8e.js');
8
+ require('./pesquisa-fetcher-ca89181c.js');
9
9
  require('./index-1dfc7a6e.js');
10
10
  const ISave = require('./ISave-e91b70a7.js');
11
- const dataunitFetcher = require('./dataunit-fetcher-228016f4.js');
11
+ const dataunitFetcher = require('./dataunit-fetcher-f89461c1.js');
12
12
  require('./filter-item-type.enum-a7ffdaa6.js');
13
- require('./form-config-fetcher-39397ac5.js');
13
+ require('./form-config-fetcher-ed497282.js');
14
14
  const constants = require('./constants-35ddd366.js');
15
- const authFetcher = require('./auth-fetcher-4f853233.js');
15
+ const authFetcher = require('./auth-fetcher-d68841bc.js');
16
16
  const taskbarElements = require('./taskbar-elements-9ad1f9c0.js');
17
17
  require('./PrintUtils-bcaeb82f.js');
18
18
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
@@ -0,0 +1,239 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-f9e81701.js');
6
+ const core = require('@sankhyalabs/core');
7
+ const DataType = require('@sankhyalabs/core/dist/dataunit/metadata/DataType');
8
+ const utils = require('@sankhyalabs/ezui/dist/collection/utils');
9
+ const constants = require('./constants-35ddd366.js');
10
+
11
+ const snkConfigOptionsCss = ".sc-snk-config-options-h{--snk-config-options--border:2px solid var(--color--secondary-200, #D2D3DA);width:100%;border-radius:15px;border:var(--snk-config-options--border)}.config-options__switch-row.sc-snk-config-options{margin-top:-30px}";
12
+
13
+ const SnkConfigOptions = class {
14
+ constructor(hostRef) {
15
+ index.registerInstance(this, hostRef);
16
+ this.configOptionsChanged = index.createEvent(this, "configOptionsChanged", 7);
17
+ this._defaultType = undefined;
18
+ this.fieldConfig = {};
19
+ this.idConfig = undefined;
20
+ this.dataUnit = undefined;
21
+ this.messagesBuilder = undefined;
22
+ }
23
+ onConfigDefault(optionSelected) {
24
+ if (optionSelected != undefined) {
25
+ this._defaultType = optionSelected;
26
+ this.fieldConfig.defaultValue = {
27
+ type: this._defaultType
28
+ };
29
+ this.configOptionsChanged.emit(this.fieldConfig);
30
+ }
31
+ }
32
+ buildOptions() {
33
+ var _a, _b, _c;
34
+ let interfaceField = (_c = (_a = this.dataUnit) === null || _a === void 0 ? void 0 : _a.getField((_b = this.fieldConfig) === null || _b === void 0 ? void 0 : _b.name)) === null || _c === void 0 ? void 0 : _c.userInterface;
35
+ if (interfaceField === core.UserInterface.SEARCH) {
36
+ interfaceField = core.UserInterface.INTEGERNUMBER;
37
+ }
38
+ return constants.VARS_BY_TYPE.UserInterface[interfaceField];
39
+ }
40
+ enabledValueDefault() {
41
+ var _a, _b, _c;
42
+ const field = (_a = this.dataUnit) === null || _a === void 0 ? void 0 : _a.getField((_b = this.fieldConfig) === null || _b === void 0 ? void 0 : _b.name);
43
+ const allowDefault = (_c = field === null || field === void 0 ? void 0 : field.properties) === null || _c === void 0 ? void 0 : _c.allowDefault;
44
+ const hasVariableVar = constants.VARS_BY_TYPE.UserInterface.hasOwnProperty(field === null || field === void 0 ? void 0 : field.userInterface)
45
+ || (field === null || field === void 0 ? void 0 : field.userInterface) === core.UserInterface.SEARCH;
46
+ if ((allowDefault == undefined || allowDefault === "true") && hasVariableVar) {
47
+ return true;
48
+ }
49
+ return false;
50
+ }
51
+ isAllowDefault() {
52
+ var _a, _b;
53
+ const allowDefault = (_b = (_a = this._fieldProperties) === null || _a === void 0 ? void 0 : _a.properties) === null || _b === void 0 ? void 0 : _b.allowDefault;
54
+ if (allowDefault == undefined) {
55
+ return true;
56
+ }
57
+ return allowDefault === "true";
58
+ }
59
+ loadDefaultValue() {
60
+ var _a;
61
+ if (this.fieldConfig == undefined) {
62
+ this._defaultType = constants.DEFAULT_TYPE.fixed;
63
+ this.fieldConfig = {
64
+ defaultValue: {
65
+ type: this._defaultType
66
+ }
67
+ };
68
+ }
69
+ else if (((_a = this.fieldConfig.defaultValue) === null || _a === void 0 ? void 0 : _a.type) == undefined) {
70
+ this._defaultType = constants.DEFAULT_TYPE.fixed;
71
+ this.fieldConfig.defaultValue = {
72
+ type: this._defaultType
73
+ };
74
+ }
75
+ else {
76
+ this._defaultType = this.fieldConfig.defaultValue.type;
77
+ }
78
+ }
79
+ getFieldProperties(field) {
80
+ var _a;
81
+ if (field != undefined) {
82
+ return (_a = this.dataUnit) === null || _a === void 0 ? void 0 : _a.getField(field);
83
+ }
84
+ }
85
+ getMessage(key, params) {
86
+ return this.messagesBuilder.getMessage(key, params);
87
+ }
88
+ getDefaultType() {
89
+ var _a;
90
+ return (_a = this.fieldConfig.defaultValue.type) !== null && _a !== void 0 ? _a : constants.DEFAULT_TYPE.fixed;
91
+ }
92
+ getEnabledByProperty(attribName, propertyName) {
93
+ const fieldDescriptor = this._fieldProperties;
94
+ if (fieldDescriptor == undefined) {
95
+ return true;
96
+ }
97
+ const fieldProperties = fieldDescriptor.properties || {};
98
+ return fieldProperties.hasOwnProperty(propertyName) ? fieldProperties[propertyName] !== "S" : fieldDescriptor[attribName] !== true;
99
+ }
100
+ getValueByProperty(property) {
101
+ const properties = this._fieldProperties;
102
+ if (properties != undefined && properties[property] === true) {
103
+ return true;
104
+ }
105
+ return this.fieldConfig[property];
106
+ }
107
+ getValidatedValue(fieldValue) {
108
+ var _a, _b;
109
+ if (fieldValue == undefined) {
110
+ return;
111
+ }
112
+ const field = (_a = this.dataUnit) === null || _a === void 0 ? void 0 : _a.getField((_b = this.fieldConfig) === null || _b === void 0 ? void 0 : _b.name);
113
+ const dataType = field === null || field === void 0 ? void 0 : field.dataType;
114
+ if (dataType == undefined) {
115
+ return;
116
+ }
117
+ const value = (fieldValue === null || fieldValue === void 0 ? void 0 : fieldValue.waitmessage) != undefined ? undefined :
118
+ dataType !== DataType.DataType.OBJECT && dataType !== DataType.DataType.DATE
119
+ && typeof fieldValue === "object"
120
+ ? fieldValue.value
121
+ : fieldValue;
122
+ return dataType === DataType.DataType.OBJECT ? JSON.stringify(value) : value;
123
+ }
124
+ buildInputDefault({ value, enabled, label, name, required, userInterface }, properties = undefined, mode = undefined) {
125
+ let options;
126
+ let precision = 0;
127
+ let prettyPrecision = 0;
128
+ const TagName = userInterface == undefined || constants.TAGS_BY_TYPE[userInterface] == undefined
129
+ ? constants.TAGS_BY_TYPE.DEFAULT
130
+ : constants.TAGS_BY_TYPE[userInterface];
131
+ if (userInterface === core.UserInterface.OPTIONSELECTOR) {
132
+ const prop = properties === null || properties === void 0 ? void 0 : properties.options;
133
+ if (typeof prop === "string") {
134
+ const parsed = core.ObjectUtils.stringToObject(prop);
135
+ options = Object.keys(parsed).map(key => { return { value: key, label: parsed[key] }; });
136
+ }
137
+ else {
138
+ options = prop;
139
+ }
140
+ }
141
+ else if (userInterface === core.UserInterface.DECIMALNUMBER) {
142
+ precision = Number((properties === null || properties === void 0 ? void 0 : properties.precision) || 2);
143
+ prettyPrecision = Number((properties === null || properties === void 0 ? void 0 : properties.prettyPrecision) || precision);
144
+ }
145
+ return index.h(TagName, Object.assign({ value: value, enabled: enabled, label: label, "data-field-name": name, key: name, onEzChange: (evt) => this.onChange(evt === null || evt === void 0 ? void 0 : evt.detail) }, (this.getConditionalAttributes(userInterface, required, options, precision, prettyPrecision, mode))));
146
+ }
147
+ getConditionalAttributes(userInterface, required, options, precision, prettyPrecision, mode) {
148
+ switch (userInterface) {
149
+ case core.UserInterface.SEARCH:
150
+ return {
151
+ suppressEmptyOption: required,
152
+ optionLoader: (searchArgument) => this.onSearch(searchArgument)
153
+ };
154
+ case core.UserInterface.OPTIONSELECTOR:
155
+ return {
156
+ suppressEmptyOption: required,
157
+ options
158
+ };
159
+ case core.UserInterface.CHECKBOX:
160
+ case core.UserInterface.SWITCH:
161
+ return {
162
+ mode
163
+ };
164
+ case core.UserInterface.INTEGERNUMBER:
165
+ case core.UserInterface.DECIMALNUMBER:
166
+ return {
167
+ precision,
168
+ prettyPrecision,
169
+ onEzStartChange: (evt) => this.onChange(evt === null || evt === void 0 ? void 0 : evt.detail)
170
+ };
171
+ case core.UserInterface.DATE:
172
+ case core.UserInterface.DATETIME:
173
+ case core.UserInterface.TIME:
174
+ return {
175
+ onEzStartChange: (evt) => this.onChange(evt === null || evt === void 0 ? void 0 : evt.detail)
176
+ };
177
+ default:
178
+ return {};
179
+ }
180
+ }
181
+ onChange(fieldValue) {
182
+ this.fieldConfig.defaultValue.value = this.getValidatedValue(fieldValue);
183
+ this.configOptionsChanged.emit(this.fieldConfig);
184
+ }
185
+ onSearch(searchArgument) {
186
+ if (this._application != undefined && this.fieldConfig != undefined) {
187
+ return this._application.executeSearch(searchArgument, this.fieldConfig.name, this.dataUnit);
188
+ }
189
+ }
190
+ buildField(descriptor, config) {
191
+ const { name, label, readOnly, required, defaultValue } = config;
192
+ const { userInterface, properties } = descriptor;
193
+ const allowDefault = properties === null || properties === void 0 ? void 0 : properties.allowDefault;
194
+ let value;
195
+ let enabled = core.StringUtils.getBooleanValue(allowDefault, !readOnly);
196
+ if (userInterface === core.UserInterface.FILE) {
197
+ enabled = false;
198
+ }
199
+ if (enabled) {
200
+ value = defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.value;
201
+ if (value != undefined) {
202
+ value = DataType.getConvertedValue(descriptor === null || descriptor === void 0 ? void 0 : descriptor.dataType, value);
203
+ }
204
+ }
205
+ const configField = { value, enabled, label, name, required, userInterface };
206
+ switch (userInterface) {
207
+ case core.UserInterface.SWITCH:
208
+ return this.buildInputDefault(configField, undefined, utils.CheckMode.SWITCH);
209
+ case core.UserInterface.CHECKBOX:
210
+ return this.buildInputDefault(configField, undefined, utils.CheckMode.REGULAR);
211
+ case core.UserInterface.OPTIONSELECTOR:
212
+ case core.UserInterface.DECIMALNUMBER:
213
+ return this.buildInputDefault(configField, properties);
214
+ default:
215
+ return this.buildInputDefault(configField);
216
+ }
217
+ }
218
+ componentWillLoad() {
219
+ var _a;
220
+ this.loadDefaultValue();
221
+ this._application = core.ApplicationContext.getContextValue("__SNK__APPLICATION__");
222
+ this._fieldProperties = this.getFieldProperties((_a = this.fieldConfig) === null || _a === void 0 ? void 0 : _a.name);
223
+ }
224
+ componentDidLoad() {
225
+ core.ElementIDUtils.addIDInfo(this._element, this.fieldConfig.name);
226
+ }
227
+ render() {
228
+ var _a, _b;
229
+ return (index.h(index.Host, null, index.h("div", { id: this.idConfig }, index.h("div", { class: "ez-row ez-padding--medium" }, index.h("div", { class: "ez-col ez-col--sd-12 ez-col--tb-4 ez-padding--small" }, index.h("ez-text-input", { label: this.getMessage("snkConfigOptions.label.nameField"), value: (_a = this.fieldConfig) === null || _a === void 0 ? void 0 : _a.label, onEzChange: (evt) => { this.fieldConfig.label = evt.detail; this.configOptionsChanged.emit(this.fieldConfig); } })), index.h("div", { class: "ez-col ez-col--sd-12 ez-col--tb-4 ez-padding--small" }, index.h("ez-combo-box", { label: this.getMessage("snkConfigOptions.label.typeValueDefault"), suppressEmptyOption: true, enabled: this.enabledValueDefault(), onEzChange: (evt) => { var _a; return this.onConfigDefault((_a = evt.detail) === null || _a === void 0 ? void 0 : _a.value); }, value: this.getDefaultType() }, index.h("option", { value: constants.DEFAULT_TYPE.fixed }, this.getMessage("snkConfigOptions.options.valueFixed")), index.h("option", { value: constants.DEFAULT_TYPE.variable }, this.getMessage("snkConfigOptions.options.variable")))), index.h("div", { class: "ez-col ez-col--sd-12 ez-col--tb-4 ez-padding--small" }, this._defaultType === constants.DEFAULT_TYPE.variable ?
230
+ index.h("ez-combo-box", { label: this.getMessage("snkConfigOptions.label.valueDefault"), enabled: this.isAllowDefault(), onEzChange: (evt) => { var _a; this.fieldConfig.defaultValue.value = (_a = evt.detail) === null || _a === void 0 ? void 0 : _a.value; this.configOptionsChanged.emit(this.fieldConfig); }, value: this.fieldConfig.defaultValue.value, options: this.buildOptions() })
231
+ :
232
+ ((_b = this._fieldProperties) === null || _b === void 0 ? void 0 : _b.userInterface) &&
233
+ this.buildField(this._fieldProperties, this.fieldConfig))), index.h("div", { class: "ez-row ez-padding--medium config-options__switch-row" }, index.h("div", { class: "ez-col ez-col--sd-12 ez-col--tb-4 ez-padding--small" }, index.h("ez-check", { mode: utils.CheckMode.SWITCH, label: this.getMessage("snkConfigOptions.label.clearDuplicate"), value: this.fieldConfig.cleanOnCopy, onEzChange: (evt) => { this.fieldConfig.cleanOnCopy = evt.detail; this.configOptionsChanged.emit(this.fieldConfig); } })), index.h("div", { class: "ez-col ez-col--sd-12 ez-col--tb-4 ez-padding--small" }, index.h("ez-check", { mode: utils.CheckMode.SWITCH, label: this.getMessage("snkConfigOptions.label.requiredField"), enabled: this.getEnabledByProperty("required", "systemRequired"), value: this.getValueByProperty("required"), onEzChange: (evt) => { this.fieldConfig.required = evt.detail; this.configOptionsChanged.emit(this.fieldConfig); } })), index.h("div", { class: "ez-col ez-col--sd-12 ez-col--tb-4 ez-padding--small" }, index.h("ez-check", { mode: utils.CheckMode.SWITCH, label: this.getMessage("snkConfigOptions.label.protectedField"), enabled: this.getEnabledByProperty("readOnly", "systemReadOnly"), value: this.getValueByProperty("readOnly"), onEzChange: (evt) => { this.fieldConfig.readOnly = evt.detail; this.configOptionsChanged.emit(this.fieldConfig); } }))))));
234
+ }
235
+ get _element() { return index.getElement(this); }
236
+ };
237
+ SnkConfigOptions.style = snkConfigOptionsCss;
238
+
239
+ exports.snk_config_options = SnkConfigOptions;
@@ -5,17 +5,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-f9e81701.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
  const taskbarElements = require('./taskbar-elements-9ad1f9c0.js');
8
- require('./DataFetcher-e059eb72.js');
9
- require('./pesquisa-fetcher-a9bfeb22.js');
8
+ require('./DataFetcher-cadeef8e.js');
9
+ require('./pesquisa-fetcher-ca89181c.js');
10
10
  const index$1 = require('./index-1dfc7a6e.js');
11
11
  require('./ISave-e91b70a7.js');
12
12
  require('@sankhyalabs/ezui/dist/collection/utils/constants');
13
13
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
14
- require('./dataunit-fetcher-228016f4.js');
14
+ require('./dataunit-fetcher-f89461c1.js');
15
15
  require('./filter-item-type.enum-a7ffdaa6.js');
16
- require('./form-config-fetcher-39397ac5.js');
16
+ require('./form-config-fetcher-ed497282.js');
17
17
  const constants = require('./constants-35ddd366.js');
18
- const authFetcher = require('./auth-fetcher-4f853233.js');
18
+ const authFetcher = require('./auth-fetcher-d68841bc.js');
19
19
  require('./index-102ba62d.js');
20
20
  require('./PrintUtils-bcaeb82f.js');
21
21
  require('@sankhyalabs/ezui/dist/collection/components/ez-grid/utils');
@@ -7,15 +7,15 @@ const core = require('@sankhyalabs/core');
7
7
  const utils = require('@sankhyalabs/ezui/dist/collection/utils');
8
8
  const index = require('./index-1dfc7a6e.js');
9
9
  const constants = require('./constants-35ddd366.js');
10
- const DataFetcher = require('./DataFetcher-e059eb72.js');
11
- const snkDataUnit = require('./snk-data-unit-3d4d0e2a.js');
12
- require('./pesquisa-fetcher-a9bfeb22.js');
10
+ const DataFetcher = require('./DataFetcher-cadeef8e.js');
11
+ const snkDataUnit = require('./snk-data-unit-668dc5e8.js');
12
+ require('./pesquisa-fetcher-ca89181c.js');
13
13
  require('./ISave-e91b70a7.js');
14
14
  require('@sankhyalabs/ezui/dist/collection/utils/constants');
15
15
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
16
- require('./dataunit-fetcher-228016f4.js');
16
+ require('./dataunit-fetcher-f89461c1.js');
17
17
  require('./filter-item-type.enum-a7ffdaa6.js');
18
- require('./form-config-fetcher-39397ac5.js');
18
+ require('./form-config-fetcher-ed497282.js');
19
19
  require('./PrintUtils-bcaeb82f.js');
20
20
  require('./SnkMessageBuilder-bae64d0d.js');
21
21
  require('@sankhyalabs/core/dist/dataunit/metadata/DataType');
@@ -4,7 +4,7 @@ const index = require('./index-f9e81701.js');
4
4
  const core = require('@sankhyalabs/core');
5
5
  const utils = require('@sankhyalabs/ezui/dist/collection/utils');
6
6
  const SnkMessageBuilder = require('./SnkMessageBuilder-bae64d0d.js');
7
- const dataunitFetcher = require('./dataunit-fetcher-228016f4.js');
7
+ const dataunitFetcher = require('./dataunit-fetcher-f89461c1.js');
8
8
  const DataType = require('@sankhyalabs/core/dist/dataunit/metadata/DataType');
9
9
  const GetSelectedRecordsIDsInfo = require('./GetSelectedRecordsIDsInfo-bd50caf1.js');
10
10
 
@@ -2,13 +2,13 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const snkDataUnit = require('./snk-data-unit-3d4d0e2a.js');
5
+ const snkDataUnit = require('./snk-data-unit-668dc5e8.js');
6
6
  require('./index-f9e81701.js');
7
7
  require('@sankhyalabs/core');
8
8
  require('@sankhyalabs/ezui/dist/collection/utils');
9
9
  require('./SnkMessageBuilder-bae64d0d.js');
10
- require('./dataunit-fetcher-228016f4.js');
11
- require('./DataFetcher-e059eb72.js');
10
+ require('./dataunit-fetcher-f89461c1.js');
11
+ require('./DataFetcher-cadeef8e.js');
12
12
  require('./PrintUtils-bcaeb82f.js');
13
13
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
14
14
  require('@sankhyalabs/ezui/dist/collection/utils/constants');