@sankhyalabs/ezui 1.2.0-beta.6 → 1.2.0-beta.8

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 (165) hide show
  1. package/dist/cjs/{ApplicationUtils-483c0a9e.js → ApplicationUtils-2ac1b73e.js} +2 -1
  2. package/dist/cjs/ApplicationUtils-475b50d9.js +63 -0
  3. package/dist/cjs/{CSSVarsUtils-09b431cc.js → CSSVarsUtils-af809e73.js} +17 -0
  4. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  5. package/dist/cjs/css-shim-3bfdba4f.js +6 -0
  6. package/dist/cjs/dom-8ac1ad03.js +75 -0
  7. package/dist/cjs/ez-actions-button.cjs.entry.js +8 -7
  8. package/dist/cjs/ez-application.cjs.entry.js +1 -1
  9. package/dist/cjs/ez-button.cjs.entry.js +2 -2
  10. package/dist/cjs/ez-calendar.cjs.entry.js +4 -4
  11. package/dist/cjs/ez-card-item.cjs.entry.js +1 -1
  12. package/dist/cjs/ez-check.cjs.entry.js +1 -1
  13. package/dist/cjs/ez-chip.cjs.entry.js +2 -2
  14. package/dist/cjs/ez-collapsible-box.cjs.entry.js +1 -1
  15. package/dist/cjs/ez-combo-box.cjs.entry.js +8 -7
  16. package/dist/cjs/ez-date-input.cjs.entry.js +7 -7
  17. package/dist/cjs/ez-date-time-input.cjs.entry.js +5 -5
  18. package/dist/cjs/ez-dialog.cjs.entry.js +1 -1
  19. package/dist/cjs/ez-filter-input.cjs.entry.js +2 -2
  20. package/dist/cjs/ez-form.cjs.entry.js +460 -49
  21. package/dist/cjs/ez-grid-config.cjs.entry.js +5 -5
  22. package/dist/cjs/ez-grid.cjs.entry.js +1153 -989
  23. package/dist/cjs/ez-icon.cjs.entry.js +3 -3
  24. package/dist/cjs/ez-list.cjs.entry.js +3 -1
  25. package/dist/cjs/ez-loading-bar.cjs.entry.js +1 -1
  26. package/dist/cjs/ez-modal.cjs.entry.js +1 -1
  27. package/dist/cjs/ez-number-input.cjs.entry.js +5 -5
  28. package/dist/cjs/ez-popover.cjs.entry.js +5 -5
  29. package/dist/cjs/ez-popup.cjs.entry.js +1 -1
  30. package/dist/cjs/ez-radio-button.cjs.entry.js +1 -1
  31. package/dist/cjs/ez-scroller.cjs.entry.js +2 -2
  32. package/dist/cjs/ez-search.cjs.entry.js +2 -2
  33. package/dist/cjs/ez-select-box.cjs.entry.js +1 -1
  34. package/dist/cjs/ez-tabselector.cjs.entry.js +2 -1
  35. package/dist/cjs/ez-text-area.cjs.entry.js +1 -1
  36. package/dist/cjs/ez-text-input.cjs.entry.js +3 -3
  37. package/dist/cjs/ez-time-input.cjs.entry.js +8 -8
  38. package/dist/cjs/ez-toast.cjs.entry.js +1 -1
  39. package/dist/cjs/ez-upload.cjs.entry.js +2 -2
  40. package/dist/cjs/ez-view-stack.cjs.entry.js +2 -1
  41. package/dist/cjs/ezui.cjs.js +112 -4
  42. package/dist/cjs/index-2ec1da82.js +2307 -0
  43. package/dist/cjs/index-55178184.js +6 -0
  44. package/dist/cjs/index-d9c5cb88.js +3068 -0
  45. package/dist/cjs/loader.cjs.js +18 -2
  46. package/dist/cjs/shadow-css-41d9783d.js +390 -0
  47. package/dist/collection/collection-manifest.json +2 -2
  48. package/dist/collection/components/ez-button/ez-button.css +1 -0
  49. package/dist/collection/components/ez-chip/ez-chip.css +2 -1
  50. package/dist/collection/components/ez-scroller/ez-scroller.css +1 -0
  51. package/dist/collection/utils/ApplicationUtils.js +2 -1
  52. package/dist/collection/utils/CSSVarsUtils.js +17 -0
  53. package/dist/custom-elements/index.js +3864 -970
  54. package/dist/esm/ApplicationUtils-30a69eb0.js +61 -0
  55. package/dist/esm/{ApplicationUtils-5f87ae60.js → ApplicationUtils-a4a76132.js} +2 -1
  56. package/dist/esm/{CSSVarsUtils-499b75c2.js → CSSVarsUtils-00f67f32.js} +17 -0
  57. package/dist/esm/app-globals-0f993ce5.js +3 -0
  58. package/dist/esm/css-shim-20dbffa5.js +4 -0
  59. package/dist/esm/dom-c5ed0ba5.js +73 -0
  60. package/dist/esm/ez-actions-button.entry.js +5 -4
  61. package/dist/esm/ez-application.entry.js +1 -1
  62. package/dist/esm/ez-button.entry.js +2 -2
  63. package/dist/esm/ez-calendar.entry.js +2 -2
  64. package/dist/esm/ez-card-item.entry.js +1 -1
  65. package/dist/esm/ez-check.entry.js +1 -1
  66. package/dist/esm/ez-chip.entry.js +2 -2
  67. package/dist/esm/ez-collapsible-box.entry.js +1 -1
  68. package/dist/esm/ez-combo-box.entry.js +5 -4
  69. package/dist/esm/ez-date-input.entry.js +3 -3
  70. package/dist/esm/ez-date-time-input.entry.js +3 -3
  71. package/dist/esm/ez-dialog.entry.js +1 -1
  72. package/dist/esm/ez-filter-input.entry.js +2 -2
  73. package/dist/esm/ez-form.entry.js +426 -15
  74. package/dist/esm/ez-grid-config.entry.js +3 -3
  75. package/dist/esm/ez-grid.entry.js +1119 -955
  76. package/dist/esm/ez-icon.entry.js +2 -2
  77. package/dist/esm/ez-list.entry.js +3 -1
  78. package/dist/esm/ez-loading-bar.entry.js +1 -1
  79. package/dist/esm/ez-modal.entry.js +1 -1
  80. package/dist/esm/ez-number-input.entry.js +3 -3
  81. package/dist/esm/ez-popover.entry.js +2 -2
  82. package/dist/esm/ez-popup.entry.js +1 -1
  83. package/dist/esm/ez-radio-button.entry.js +1 -1
  84. package/dist/esm/ez-scroller.entry.js +2 -2
  85. package/dist/esm/ez-search.entry.js +2 -2
  86. package/dist/esm/ez-select-box.entry.js +1 -1
  87. package/dist/esm/ez-tabselector.entry.js +2 -1
  88. package/dist/esm/ez-text-area.entry.js +1 -1
  89. package/dist/esm/ez-text-input.entry.js +2 -2
  90. package/dist/esm/ez-time-input.entry.js +3 -3
  91. package/dist/esm/ez-toast.entry.js +1 -1
  92. package/dist/esm/ez-upload.entry.js +2 -2
  93. package/dist/esm/ez-view-stack.entry.js +2 -1
  94. package/dist/esm/ezui.js +112 -4
  95. package/dist/esm/index-1e9d524f.js +3031 -0
  96. package/dist/esm/index-b96183c8.js +2295 -0
  97. package/dist/esm/index-f32470b5.js +3 -0
  98. package/dist/esm/loader.js +18 -2
  99. package/dist/esm/shadow-css-8c625855.js +388 -0
  100. package/dist/ezui/ApplicationUtils-30a69eb0.js +61 -0
  101. package/dist/ezui/CSSVarsUtils-00f67f32.js +70 -0
  102. package/dist/ezui/DialogType-72afa679.js +8 -0
  103. package/dist/ezui/app-globals-0f993ce5.js +3 -0
  104. package/dist/ezui/css-shim-20dbffa5.js +4 -0
  105. package/dist/ezui/dom-c5ed0ba5.js +73 -0
  106. package/dist/ezui/ez-actions-button.entry.js +98 -0
  107. package/dist/ezui/ez-application.entry.js +22 -0
  108. package/dist/ezui/ez-button.entry.js +73 -0
  109. package/dist/ezui/ez-calendar.entry.js +219 -0
  110. package/dist/ezui/ez-card-item.entry.js +40 -0
  111. package/dist/ezui/ez-check.entry.js +72 -0
  112. package/dist/ezui/ez-chip.entry.js +97 -0
  113. package/dist/ezui/ez-collapsible-box.entry.js +57 -0
  114. package/dist/ezui/ez-combo-box.entry.js +439 -0
  115. package/dist/ezui/ez-date-input.entry.js +159 -0
  116. package/dist/ezui/ez-date-time-input.entry.js +214 -0
  117. package/dist/ezui/ez-dialog.entry.js +108 -0
  118. package/dist/ezui/ez-filter-input.entry.js +75 -0
  119. package/dist/ezui/ez-form.entry.js +1395 -0
  120. package/dist/ezui/ez-grid-config.entry.js +433 -0
  121. package/dist/ezui/ez-grid.entry.js +115419 -0
  122. package/dist/ezui/ez-icon.entry.js +37 -0
  123. package/dist/ezui/ez-list.entry.js +516 -0
  124. package/dist/ezui/ez-loading-bar.entry.js +24 -0
  125. package/dist/ezui/ez-modal.entry.js +67 -0
  126. package/dist/ezui/ez-number-input.entry.js +148 -0
  127. package/dist/ezui/ez-popover.entry.js +141 -0
  128. package/dist/ezui/ez-popup.entry.js +49 -0
  129. package/dist/ezui/ez-radio-button.entry.js +45 -0
  130. package/dist/ezui/ez-scroller.entry.js +101 -0
  131. package/dist/ezui/ez-search.entry.js +83 -0
  132. package/dist/ezui/ez-select-box.entry.js +18 -0
  133. package/dist/ezui/ez-tabselector.entry.js +195 -0
  134. package/dist/ezui/ez-text-area.entry.js +158 -0
  135. package/dist/ezui/ez-text-input.entry.js +235 -0
  136. package/dist/ezui/ez-time-input.entry.js +164 -0
  137. package/dist/ezui/ez-toast.entry.js +84 -0
  138. package/dist/ezui/ez-upload.entry.js +379 -0
  139. package/dist/ezui/ez-view-stack.entry.js +74 -0
  140. package/dist/ezui/ezui.esm.js +125 -1
  141. package/dist/ezui/index-1e9d524f.js +3031 -0
  142. package/dist/ezui/index-b96183c8.js +2295 -0
  143. package/dist/ezui/index-f32470b5.js +3 -0
  144. package/dist/ezui/index.esm.js +1 -0
  145. package/dist/ezui/{p-3ffdde40.entry.js → p-2f02347d.entry.js} +1 -1
  146. package/dist/ezui/{p-768053d0.entry.js → p-43bb6a59.entry.js} +1 -1
  147. package/dist/ezui/p-4a5e37a7.js +1 -0
  148. package/dist/ezui/{p-72ab066f.entry.js → p-4eb273f8.entry.js} +1 -1
  149. package/dist/ezui/{p-a3ff4f0e.entry.js → p-544f0c63.entry.js} +1 -1
  150. package/dist/ezui/{p-03742d3e.entry.js → p-56688470.entry.js} +1 -1
  151. package/dist/ezui/{p-b901ba02.entry.js → p-5a1927a2.entry.js} +1 -1
  152. package/dist/ezui/{p-cf283c4a.entry.js → p-62110996.entry.js} +1 -1
  153. package/dist/ezui/{p-15d18ece.entry.js → p-744eb735.entry.js} +1 -1
  154. package/dist/ezui/{p-5c721278.entry.js → p-867aac16.entry.js} +1 -1
  155. package/dist/ezui/{p-3ae441ec.entry.js → p-9d5be6a7.entry.js} +1 -1
  156. package/dist/ezui/p-adbe4188.js +1 -0
  157. package/dist/ezui/{p-6cfe20a0.entry.js → p-af43be42.entry.js} +1 -1
  158. package/dist/ezui/{p-7fe1ac9a.entry.js → p-b7467ad6.entry.js} +1 -1
  159. package/dist/ezui/{p-b3e978aa.entry.js → p-c019e137.entry.js} +1 -1
  160. package/dist/ezui/{p-47e06040.entry.js → p-c9d2060e.entry.js} +1 -1
  161. package/dist/ezui/shadow-css-8c625855.js +388 -0
  162. package/dist/types/utils/CSSVarsUtils.d.ts +1 -0
  163. package/package.json +1 -1
  164. package/dist/ezui/p-3263a002.js +0 -1
  165. package/dist/ezui/p-898b9906.js +0 -1
@@ -1,6 +1,6 @@
1
- import { h, r as registerInstance, c as createEvent, f as forceUpdate, H as Host, g as getElement } from './index-7bc778b3.js';
2
- import { UserInterface, Action, WaitingChangeException, ApplicationContext, DataUnitAction, DataUnit } from '@sankhyalabs/core';
3
- import { A as ApplicationUtils } from './ApplicationUtils-5f87ae60.js';
1
+ import { h, r as registerInstance, e as createEvent, i as forceUpdate, f as Host, g as getElement } from './index-1e9d524f.js';
2
+ import { U as UserInterface, A as Action, W as WaitingChangeException, a as ApplicationContext, D as DataUnitAction, b as DataUnit } from './index-b96183c8.js';
3
+ import { A as ApplicationUtils } from './ApplicationUtils-30a69eb0.js';
4
4
  import './DialogType-72afa679.js';
5
5
 
6
6
  const buildTextArea = ({ name, label, readOnly }) => {
@@ -252,6 +252,59 @@ const buildFromConfig = (fields, dataUnit) => {
252
252
  return metadata;
253
253
  };
254
254
 
255
+ function _defineProperty(obj, key, value) {
256
+ if (key in obj) {
257
+ Object.defineProperty(obj, key, {
258
+ value: value,
259
+ enumerable: true,
260
+ configurable: true,
261
+ writable: true
262
+ });
263
+ } else {
264
+ obj[key] = value;
265
+ }
266
+
267
+ return obj;
268
+ }
269
+
270
+ function ownKeys(object, enumerableOnly) {
271
+ var keys = Object.keys(object);
272
+
273
+ if (Object.getOwnPropertySymbols) {
274
+ var symbols = Object.getOwnPropertySymbols(object);
275
+
276
+ if (enumerableOnly) {
277
+ symbols = symbols.filter(function (sym) {
278
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
279
+ });
280
+ }
281
+
282
+ keys.push.apply(keys, symbols);
283
+ }
284
+
285
+ return keys;
286
+ }
287
+
288
+ function _objectSpread2(target) {
289
+ for (var i = 1; i < arguments.length; i++) {
290
+ var source = arguments[i] != null ? arguments[i] : {};
291
+
292
+ if (i % 2) {
293
+ ownKeys(Object(source), true).forEach(function (key) {
294
+ _defineProperty(target, key, source[key]);
295
+ });
296
+ } else if (Object.getOwnPropertyDescriptors) {
297
+ Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
298
+ } else {
299
+ ownKeys(Object(source)).forEach(function (key) {
300
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
301
+ });
302
+ }
303
+ }
304
+
305
+ return target;
306
+ }
307
+
255
308
  /**
256
309
  * Adapted from React: https://github.com/facebook/react/blob/master/packages/shared/formatProdErrorMessage.js
257
310
  *
@@ -301,6 +354,65 @@ function isPlainObject(obj) {
301
354
  return Object.getPrototypeOf(obj) === proto;
302
355
  }
303
356
 
357
+ // Inlined / shortened version of `kindOf` from https://github.com/jonschlinkert/kind-of
358
+ function miniKindOf(val) {
359
+ if (val === void 0) return 'undefined';
360
+ if (val === null) return 'null';
361
+ var type = typeof val;
362
+
363
+ switch (type) {
364
+ case 'boolean':
365
+ case 'string':
366
+ case 'number':
367
+ case 'symbol':
368
+ case 'function':
369
+ {
370
+ return type;
371
+ }
372
+ }
373
+
374
+ if (Array.isArray(val)) return 'array';
375
+ if (isDate(val)) return 'date';
376
+ if (isError(val)) return 'error';
377
+ var constructorName = ctorName(val);
378
+
379
+ switch (constructorName) {
380
+ case 'Symbol':
381
+ case 'Promise':
382
+ case 'WeakMap':
383
+ case 'WeakSet':
384
+ case 'Map':
385
+ case 'Set':
386
+ return constructorName;
387
+ } // other
388
+
389
+
390
+ return type.slice(8, -1).toLowerCase().replace(/\s/g, '');
391
+ }
392
+
393
+ function ctorName(val) {
394
+ return typeof val.constructor === 'function' ? val.constructor.name : null;
395
+ }
396
+
397
+ function isError(val) {
398
+ return val instanceof Error || typeof val.message === 'string' && val.constructor && typeof val.constructor.stackTraceLimit === 'number';
399
+ }
400
+
401
+ function isDate(val) {
402
+ if (val instanceof Date) return true;
403
+ return typeof val.toDateString === 'function' && typeof val.getDate === 'function' && typeof val.setDate === 'function';
404
+ }
405
+
406
+ function kindOf(val) {
407
+ var typeOfVal = typeof val;
408
+
409
+ if ("development" !== 'production') {
410
+ typeOfVal = miniKindOf(val);
411
+ }
412
+
413
+ return typeOfVal;
414
+ }
415
+
304
416
  /**
305
417
  * Creates a Redux store that holds the state tree.
306
418
  * The only way to change the data in the store is to call `dispatch()` on it.
@@ -331,7 +443,7 @@ function createStore(reducer, preloadedState, enhancer) {
331
443
  var _ref2;
332
444
 
333
445
  if (typeof preloadedState === 'function' && typeof enhancer === 'function' || typeof enhancer === 'function' && typeof arguments[3] === 'function') {
334
- throw new Error(formatProdErrorMessage(0) );
446
+ throw new Error("development" === "production" ? formatProdErrorMessage(0) : 'It looks like you are passing several store enhancers to ' + 'createStore(). This is not supported. Instead, compose them ' + 'together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.');
335
447
  }
336
448
 
337
449
  if (typeof preloadedState === 'function' && typeof enhancer === 'undefined') {
@@ -341,14 +453,14 @@ function createStore(reducer, preloadedState, enhancer) {
341
453
 
342
454
  if (typeof enhancer !== 'undefined') {
343
455
  if (typeof enhancer !== 'function') {
344
- throw new Error(formatProdErrorMessage(1) );
456
+ throw new Error("development" === "production" ? formatProdErrorMessage(1) : "Expected the enhancer to be a function. Instead, received: '" + kindOf(enhancer) + "'");
345
457
  }
346
458
 
347
459
  return enhancer(createStore)(reducer, preloadedState);
348
460
  }
349
461
 
350
462
  if (typeof reducer !== 'function') {
351
- throw new Error(formatProdErrorMessage(2) );
463
+ throw new Error("development" === "production" ? formatProdErrorMessage(2) : "Expected the root reducer to be a function. Instead, received: '" + kindOf(reducer) + "'");
352
464
  }
353
465
 
354
466
  var currentReducer = reducer;
@@ -378,7 +490,7 @@ function createStore(reducer, preloadedState, enhancer) {
378
490
 
379
491
  function getState() {
380
492
  if (isDispatching) {
381
- throw new Error(formatProdErrorMessage(3) );
493
+ throw new Error("development" === "production" ? formatProdErrorMessage(3) : 'You may not call store.getState() while the reducer is executing. ' + 'The reducer has already received the state as an argument. ' + 'Pass it down from the top reducer instead of reading it from the store.');
382
494
  }
383
495
 
384
496
  return currentState;
@@ -410,11 +522,11 @@ function createStore(reducer, preloadedState, enhancer) {
410
522
 
411
523
  function subscribe(listener) {
412
524
  if (typeof listener !== 'function') {
413
- throw new Error(formatProdErrorMessage(4) );
525
+ throw new Error("development" === "production" ? formatProdErrorMessage(4) : "Expected the listener to be a function. Instead, received: '" + kindOf(listener) + "'");
414
526
  }
415
527
 
416
528
  if (isDispatching) {
417
- throw new Error(formatProdErrorMessage(5) );
529
+ throw new Error("development" === "production" ? formatProdErrorMessage(5) : 'You may not call store.subscribe() while the reducer is executing. ' + 'If you would like to be notified after the store has been updated, subscribe from a ' + 'component and invoke store.getState() in the callback to access the latest state. ' + 'See https://redux.js.org/api/store#subscribelistener for more details.');
418
530
  }
419
531
 
420
532
  var isSubscribed = true;
@@ -426,7 +538,7 @@ function createStore(reducer, preloadedState, enhancer) {
426
538
  }
427
539
 
428
540
  if (isDispatching) {
429
- throw new Error(formatProdErrorMessage(6) );
541
+ throw new Error("development" === "production" ? formatProdErrorMessage(6) : 'You may not unsubscribe from a store listener while the reducer is executing. ' + 'See https://redux.js.org/api/store#subscribelistener for more details.');
430
542
  }
431
543
 
432
544
  isSubscribed = false;
@@ -465,15 +577,15 @@ function createStore(reducer, preloadedState, enhancer) {
465
577
 
466
578
  function dispatch(action) {
467
579
  if (!isPlainObject(action)) {
468
- throw new Error(formatProdErrorMessage(7) );
580
+ throw new Error("development" === "production" ? formatProdErrorMessage(7) : "Actions must be plain objects. Instead, the actual type was: '" + kindOf(action) + "'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.");
469
581
  }
470
582
 
471
583
  if (typeof action.type === 'undefined') {
472
- throw new Error(formatProdErrorMessage(8) );
584
+ throw new Error("development" === "production" ? formatProdErrorMessage(8) : 'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');
473
585
  }
474
586
 
475
587
  if (isDispatching) {
476
- throw new Error(formatProdErrorMessage(9) );
588
+ throw new Error("development" === "production" ? formatProdErrorMessage(9) : 'Reducers may not dispatch actions.');
477
589
  }
478
590
 
479
591
  try {
@@ -506,7 +618,7 @@ function createStore(reducer, preloadedState, enhancer) {
506
618
 
507
619
  function replaceReducer(nextReducer) {
508
620
  if (typeof nextReducer !== 'function') {
509
- throw new Error(formatProdErrorMessage(10) );
621
+ throw new Error("development" === "production" ? formatProdErrorMessage(10) : "Expected the nextReducer to be a function. Instead, received: '" + kindOf(nextReducer));
510
622
  }
511
623
 
512
624
  currentReducer = nextReducer; // This action has a similiar effect to ActionTypes.INIT.
@@ -541,7 +653,7 @@ function createStore(reducer, preloadedState, enhancer) {
541
653
  */
542
654
  subscribe: function subscribe(observer) {
543
655
  if (typeof observer !== 'object' || observer === null) {
544
- throw new Error(formatProdErrorMessage(11) );
656
+ throw new Error("development" === "production" ? formatProdErrorMessage(11) : "Expected the observer to be an object. Instead, received: '" + kindOf(observer) + "'");
545
657
  }
546
658
 
547
659
  function observeState() {
@@ -575,6 +687,305 @@ function createStore(reducer, preloadedState, enhancer) {
575
687
  }, _ref2[$$observable] = observable, _ref2;
576
688
  }
577
689
 
690
+ /**
691
+ * Prints a warning in the console if it exists.
692
+ *
693
+ * @param {String} message The warning message.
694
+ * @returns {void}
695
+ */
696
+ function warning(message) {
697
+ /* eslint-disable no-console */
698
+ if (typeof console !== 'undefined' && typeof console.error === 'function') {
699
+ console.error(message);
700
+ }
701
+ /* eslint-enable no-console */
702
+
703
+
704
+ try {
705
+ // This error was thrown as a convenience so that if you enable
706
+ // "break on all exceptions" in your console,
707
+ // it would pause the execution at this line.
708
+ throw new Error(message);
709
+ } catch (e) {} // eslint-disable-line no-empty
710
+
711
+ }
712
+
713
+ function getUnexpectedStateShapeWarningMessage(inputState, reducers, action, unexpectedKeyCache) {
714
+ var reducerKeys = Object.keys(reducers);
715
+ var argumentName = action && action.type === ActionTypes.INIT ? 'preloadedState argument passed to createStore' : 'previous state received by the reducer';
716
+
717
+ if (reducerKeys.length === 0) {
718
+ return 'Store does not have a valid reducer. Make sure the argument passed ' + 'to combineReducers is an object whose values are reducers.';
719
+ }
720
+
721
+ if (!isPlainObject(inputState)) {
722
+ return "The " + argumentName + " has unexpected type of \"" + kindOf(inputState) + "\". Expected argument to be an object with the following " + ("keys: \"" + reducerKeys.join('", "') + "\"");
723
+ }
724
+
725
+ var unexpectedKeys = Object.keys(inputState).filter(function (key) {
726
+ return !reducers.hasOwnProperty(key) && !unexpectedKeyCache[key];
727
+ });
728
+ unexpectedKeys.forEach(function (key) {
729
+ unexpectedKeyCache[key] = true;
730
+ });
731
+ if (action && action.type === ActionTypes.REPLACE) return;
732
+
733
+ if (unexpectedKeys.length > 0) {
734
+ return "Unexpected " + (unexpectedKeys.length > 1 ? 'keys' : 'key') + " " + ("\"" + unexpectedKeys.join('", "') + "\" found in " + argumentName + ". ") + "Expected to find one of the known reducer keys instead: " + ("\"" + reducerKeys.join('", "') + "\". Unexpected keys will be ignored.");
735
+ }
736
+ }
737
+
738
+ function assertReducerShape(reducers) {
739
+ Object.keys(reducers).forEach(function (key) {
740
+ var reducer = reducers[key];
741
+ var initialState = reducer(undefined, {
742
+ type: ActionTypes.INIT
743
+ });
744
+
745
+ if (typeof initialState === 'undefined') {
746
+ throw new Error("development" === "production" ? formatProdErrorMessage(12) : "The slice reducer for key \"" + key + "\" returned undefined during initialization. " + "If the state passed to the reducer is undefined, you must " + "explicitly return the initial state. The initial state may " + "not be undefined. If you don't want to set a value for this reducer, " + "you can use null instead of undefined.");
747
+ }
748
+
749
+ if (typeof reducer(undefined, {
750
+ type: ActionTypes.PROBE_UNKNOWN_ACTION()
751
+ }) === 'undefined') {
752
+ throw new Error("development" === "production" ? formatProdErrorMessage(13) : "The slice reducer for key \"" + key + "\" returned undefined when probed with a random type. " + ("Don't try to handle '" + ActionTypes.INIT + "' or other actions in \"redux/*\" ") + "namespace. They are considered private. Instead, you must return the " + "current state for any unknown actions, unless it is undefined, " + "in which case you must return the initial state, regardless of the " + "action type. The initial state may not be undefined, but can be null.");
753
+ }
754
+ });
755
+ }
756
+ /**
757
+ * Turns an object whose values are different reducer functions, into a single
758
+ * reducer function. It will call every child reducer, and gather their results
759
+ * into a single state object, whose keys correspond to the keys of the passed
760
+ * reducer functions.
761
+ *
762
+ * @param {Object} reducers An object whose values correspond to different
763
+ * reducer functions that need to be combined into one. One handy way to obtain
764
+ * it is to use ES6 `import * as reducers` syntax. The reducers may never return
765
+ * undefined for any action. Instead, they should return their initial state
766
+ * if the state passed to them was undefined, and the current state for any
767
+ * unrecognized action.
768
+ *
769
+ * @returns {Function} A reducer function that invokes every reducer inside the
770
+ * passed object, and builds a state object with the same shape.
771
+ */
772
+
773
+
774
+ function combineReducers(reducers) {
775
+ var reducerKeys = Object.keys(reducers);
776
+ var finalReducers = {};
777
+
778
+ for (var i = 0; i < reducerKeys.length; i++) {
779
+ var key = reducerKeys[i];
780
+
781
+ if ("development" !== 'production') {
782
+ if (typeof reducers[key] === 'undefined') {
783
+ warning("No reducer provided for key \"" + key + "\"");
784
+ }
785
+ }
786
+
787
+ if (typeof reducers[key] === 'function') {
788
+ finalReducers[key] = reducers[key];
789
+ }
790
+ }
791
+
792
+ var finalReducerKeys = Object.keys(finalReducers); // This is used to make sure we don't warn about the same
793
+ // keys multiple times.
794
+
795
+ var unexpectedKeyCache;
796
+
797
+ if ("development" !== 'production') {
798
+ unexpectedKeyCache = {};
799
+ }
800
+
801
+ var shapeAssertionError;
802
+
803
+ try {
804
+ assertReducerShape(finalReducers);
805
+ } catch (e) {
806
+ shapeAssertionError = e;
807
+ }
808
+
809
+ return function combination(state, action) {
810
+ if (state === void 0) {
811
+ state = {};
812
+ }
813
+
814
+ if (shapeAssertionError) {
815
+ throw shapeAssertionError;
816
+ }
817
+
818
+ if ("development" !== 'production') {
819
+ var warningMessage = getUnexpectedStateShapeWarningMessage(state, finalReducers, action, unexpectedKeyCache);
820
+
821
+ if (warningMessage) {
822
+ warning(warningMessage);
823
+ }
824
+ }
825
+
826
+ var hasChanged = false;
827
+ var nextState = {};
828
+
829
+ for (var _i = 0; _i < finalReducerKeys.length; _i++) {
830
+ var _key = finalReducerKeys[_i];
831
+ var reducer = finalReducers[_key];
832
+ var previousStateForKey = state[_key];
833
+ var nextStateForKey = reducer(previousStateForKey, action);
834
+
835
+ if (typeof nextStateForKey === 'undefined') {
836
+ var actionType = action && action.type;
837
+ throw new Error("development" === "production" ? formatProdErrorMessage(14) : "When called with an action of type " + (actionType ? "\"" + String(actionType) + "\"" : '(unknown type)') + ", the slice reducer for key \"" + _key + "\" returned undefined. " + "To ignore an action, you must explicitly return the previous state. " + "If you want this reducer to hold no value, you can return null instead of undefined.");
838
+ }
839
+
840
+ nextState[_key] = nextStateForKey;
841
+ hasChanged = hasChanged || nextStateForKey !== previousStateForKey;
842
+ }
843
+
844
+ hasChanged = hasChanged || finalReducerKeys.length !== Object.keys(state).length;
845
+ return hasChanged ? nextState : state;
846
+ };
847
+ }
848
+
849
+ function bindActionCreator(actionCreator, dispatch) {
850
+ return function () {
851
+ return dispatch(actionCreator.apply(this, arguments));
852
+ };
853
+ }
854
+ /**
855
+ * Turns an object whose values are action creators, into an object with the
856
+ * same keys, but with every function wrapped into a `dispatch` call so they
857
+ * may be invoked directly. This is just a convenience method, as you can call
858
+ * `store.dispatch(MyActionCreators.doSomething())` yourself just fine.
859
+ *
860
+ * For convenience, you can also pass an action creator as the first argument,
861
+ * and get a dispatch wrapped function in return.
862
+ *
863
+ * @param {Function|Object} actionCreators An object whose values are action
864
+ * creator functions. One handy way to obtain it is to use ES6 `import * as`
865
+ * syntax. You may also pass a single function.
866
+ *
867
+ * @param {Function} dispatch The `dispatch` function available on your Redux
868
+ * store.
869
+ *
870
+ * @returns {Function|Object} The object mimicking the original object, but with
871
+ * every action creator wrapped into the `dispatch` call. If you passed a
872
+ * function as `actionCreators`, the return value will also be a single
873
+ * function.
874
+ */
875
+
876
+
877
+ function bindActionCreators(actionCreators, dispatch) {
878
+ if (typeof actionCreators === 'function') {
879
+ return bindActionCreator(actionCreators, dispatch);
880
+ }
881
+
882
+ if (typeof actionCreators !== 'object' || actionCreators === null) {
883
+ throw new Error("development" === "production" ? formatProdErrorMessage(16) : "bindActionCreators expected an object or a function, but instead received: '" + kindOf(actionCreators) + "'. " + "Did you write \"import ActionCreators from\" instead of \"import * as ActionCreators from\"?");
884
+ }
885
+
886
+ var boundActionCreators = {};
887
+
888
+ for (var key in actionCreators) {
889
+ var actionCreator = actionCreators[key];
890
+
891
+ if (typeof actionCreator === 'function') {
892
+ boundActionCreators[key] = bindActionCreator(actionCreator, dispatch);
893
+ }
894
+ }
895
+
896
+ return boundActionCreators;
897
+ }
898
+
899
+ /**
900
+ * Composes single-argument functions from right to left. The rightmost
901
+ * function can take multiple arguments as it provides the signature for
902
+ * the resulting composite function.
903
+ *
904
+ * @param {...Function} funcs The functions to compose.
905
+ * @returns {Function} A function obtained by composing the argument functions
906
+ * from right to left. For example, compose(f, g, h) is identical to doing
907
+ * (...args) => f(g(h(...args))).
908
+ */
909
+ function compose() {
910
+ for (var _len = arguments.length, funcs = new Array(_len), _key = 0; _key < _len; _key++) {
911
+ funcs[_key] = arguments[_key];
912
+ }
913
+
914
+ if (funcs.length === 0) {
915
+ return function (arg) {
916
+ return arg;
917
+ };
918
+ }
919
+
920
+ if (funcs.length === 1) {
921
+ return funcs[0];
922
+ }
923
+
924
+ return funcs.reduce(function (a, b) {
925
+ return function () {
926
+ return a(b.apply(void 0, arguments));
927
+ };
928
+ });
929
+ }
930
+
931
+ /**
932
+ * Creates a store enhancer that applies middleware to the dispatch method
933
+ * of the Redux store. This is handy for a variety of tasks, such as expressing
934
+ * asynchronous actions in a concise manner, or logging every action payload.
935
+ *
936
+ * See `redux-thunk` package as an example of the Redux middleware.
937
+ *
938
+ * Because middleware is potentially asynchronous, this should be the first
939
+ * store enhancer in the composition chain.
940
+ *
941
+ * Note that each middleware will be given the `dispatch` and `getState` functions
942
+ * as named arguments.
943
+ *
944
+ * @param {...Function} middlewares The middleware chain to be applied.
945
+ * @returns {Function} A store enhancer applying the middleware.
946
+ */
947
+
948
+ function applyMiddleware() {
949
+ for (var _len = arguments.length, middlewares = new Array(_len), _key = 0; _key < _len; _key++) {
950
+ middlewares[_key] = arguments[_key];
951
+ }
952
+
953
+ return function (createStore) {
954
+ return function () {
955
+ var store = createStore.apply(void 0, arguments);
956
+
957
+ var _dispatch = function dispatch() {
958
+ throw new Error("development" === "production" ? formatProdErrorMessage(15) : 'Dispatching while constructing your middleware is not allowed. ' + 'Other middleware would not be applied to this dispatch.');
959
+ };
960
+
961
+ var middlewareAPI = {
962
+ getState: store.getState,
963
+ dispatch: function dispatch() {
964
+ return _dispatch.apply(void 0, arguments);
965
+ }
966
+ };
967
+ var chain = middlewares.map(function (middleware) {
968
+ return middleware(middlewareAPI);
969
+ });
970
+ _dispatch = compose.apply(void 0, chain)(store.dispatch);
971
+ return _objectSpread2(_objectSpread2({}, store), {}, {
972
+ dispatch: _dispatch
973
+ });
974
+ };
975
+ };
976
+ }
977
+
978
+ /*
979
+ * This is a dummy function to check if the function name has been altered by minification.
980
+ * If the function has been minified and NODE_ENV !== 'production', warn the user.
981
+ */
982
+
983
+ function isCrushed() {}
984
+
985
+ if ("development" !== 'production' && typeof isCrushed.name === 'string' && isCrushed.name !== 'isCrushed') {
986
+ warning('You are currently using minified code outside of NODE_ENV === "production". ' + 'This means that you are running a slower development build of Redux. ' + 'You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify ' + 'or setting mode to production in webpack (https://webpack.js.org/concepts/mode/) ' + 'to ensure you have the correct code for your production build.');
987
+ }
988
+
578
989
  const inicialState = {};
579
990
  /////////////////////////////// REDUCERS ///////////////////////////////
580
991
  function formReducer(state = inicialState, action) {
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-7bc778b3.js';
2
- import { StringUtils } from '@sankhyalabs/core';
3
- import { A as ApplicationUtils } from './ApplicationUtils-5f87ae60.js';
1
+ import { r as registerInstance, e as createEvent, h, f as Host } from './index-1e9d524f.js';
2
+ import { d as StringUtils } from './index-b96183c8.js';
3
+ import { A as ApplicationUtils } from './ApplicationUtils-30a69eb0.js';
4
4
  import { D as DialogType } from './DialogType-72afa679.js';
5
5
 
6
6
  const ezGridConfigCss = ".sc-ez-grid-config-h{--ez-grid-config__footer--padding-top:var(--space--medium, 12px);--ez-grid-config__main--padding-right:var(--space--medium, 12px);--ez-grid-config__tabselector-container--padding:var(--space--medium, 12px);--ez-grid-config__button-close--padding-left:var(--space--medium, 12px);--ez-grid-config__subtitle--font-family:var(--font-pattern, \"Sora\");--ez-grid-config__title--font-family:var(--font-pattern, \"Sora\");--ez-grid-config__title--font-weight:var(--text-weight--large, 700);--ez-grid-config__subtitle--font-size:var(--text--medium, 14px);--ez-grid-config__scrollbar--width:var(--space--medium, 12px);--ez-grid-config__scrollbar--background-color:var(--text--primary, #626e82);--ez-grid-config__scrollbar--border-radius:var(--border--radius-medium, 12px);--ez-grid-config__group--font-family:var(--font-pattern, \"Sora\");--ez-grid-config__group--font-size:var(--text--medium, 14px);--ez-grid-config__group--font-weight:var(--text-weight--large, 600);--ez-grid-config__group--padding-bottom:var(--space-small, 6px);display:grid;grid-template-rows:auto 1fr auto;max-height:100%;width:100%}@media screen and (min-width: 480px){.sc-ez-grid-config-h{width:359px;max-width:359px}}.padding-right--medium.sc-ez-grid-config{padding-right:var(--space--medium)}ez-list.sc-ez-grid-config{height:100%}.height-calc.sc-ez-grid-config{max-height:calc(100% - 24px)}.grid-config__footer.sc-ez-grid-config{display:flex;justify-content:flex-end;width:100%;padding-top:var(--ez-grid-config__footer--padding-top)}.hidden.sc-ez-grid-config{display:none}.grid-config__main.sc-ez-grid-config{overflow-y:auto;padding-right:var(--ez-grid-config__main--padding-right)}.tabselector-container.sc-ez-grid-config{padding:var(--ez-grid-config__tabselector-container--padding) 0}.button-close.sc-ez-grid-config{padding-left:var(--ez-grid-config__button-close--padding-left)}.title-container.sc-ez-grid-config{display:flex;justify-content:space-between;align-items:center;width:100%}.subtitle.sc-ez-grid-config{font-family:var(--ez-grid-config__subtitle--font-family);font-size:var(--ez-grid-config__subtitle--font-size);color:var(--text--primary)}.title.sc-ez-grid-config{display:flex;margin:0;line-height:normal;letter-spacing:0em;text-align:left;color:var(--title--primary);font-family:var(--ez-grid-config__title--font-family);font-size:var(--title--large);font-weight:var(--ez-grid-config__title--font-weight)}.grid-config__main.sc-ez-grid-config::-webkit-scrollbar-track{background-color:#f0f2f5}.grid-config__main.sc-ez-grid-config::-webkit-scrollbar-thumb{background-color:var(--ez-grid-config__scrollbar--background-color);border-radius:var(--ez-grid-config__scrollbar--border-radius)}.grid-config__main.sc-ez-grid-config::-webkit-scrollbar{background-color:#f0f2f5;width:var(--ez-grid-config__scrollbar--width);max-width:var(--ez-grid-config__scrollbar--width);min-width:var(--ez-grid-config__scrollbar--width)}.group-name.sc-ez-grid-config{font-family:var(--ez-grid-config__group--font-family);font-size:var(--ez-grid-config__group--font-size);font-weight:var(--ez-grid-config__group--font-weight);padding-bottom:var(--ez-grid-config__group--padding-bottom)}";