@sankhyalabs/ezui 5.20.0-dev.1 → 5.20.0-dev.11

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 (122) hide show
  1. package/README.md +4 -5
  2. package/dist/cjs/ez-alert-list.cjs.entry.js +33 -28
  3. package/dist/cjs/ez-card-item_3.cjs.entry.js +182 -0
  4. package/dist/cjs/ez-combo-box.cjs.entry.js +12 -156
  5. package/dist/cjs/ez-date-input.cjs.entry.js +3 -0
  6. package/dist/cjs/ez-date-time-input.cjs.entry.js +3 -0
  7. package/dist/cjs/ez-form-view.cjs.entry.js +4 -2
  8. package/dist/cjs/ez-grid.cjs.entry.js +27 -21
  9. package/dist/cjs/ez-icon.cjs.entry.js +1 -1
  10. package/dist/cjs/ez-multi-selection-list.cjs.entry.js +2 -10
  11. package/dist/cjs/ez-number-input.cjs.entry.js +3 -0
  12. package/dist/cjs/ez-popup.cjs.entry.js +1 -1
  13. package/dist/cjs/ez-search.cjs.entry.js +611 -31
  14. package/dist/cjs/ez-split-button.cjs.entry.js +147 -0
  15. package/dist/cjs/ez-split-item.cjs.entry.js +12 -2
  16. package/dist/cjs/ez-split-panel.cjs.entry.js +15 -12
  17. package/dist/cjs/ezui.cjs.js +1 -1
  18. package/dist/cjs/filter-column.cjs.entry.js +16 -5
  19. package/dist/cjs/index-a7b0c73d.js +10 -10
  20. package/dist/cjs/loader.cjs.js +1 -1
  21. package/dist/collection/collection-manifest.json +4 -3
  22. package/dist/collection/components/ez-alert-list/ez-alert-list.js +33 -28
  23. package/dist/collection/components/ez-card-item/ez-card-item.css +35 -0
  24. package/dist/collection/components/ez-combo-box/ez-combo-box.js +13 -174
  25. package/dist/collection/components/ez-date-input/ez-date-input.js +3 -0
  26. package/dist/collection/components/ez-date-time-input/ez-date-time-input.js +3 -0
  27. package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js +4 -2
  28. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +11 -10
  29. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +15 -1
  30. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.js +1 -3
  31. package/dist/collection/components/ez-grid/ez-grid.css +1 -0
  32. package/dist/collection/components/ez-grid/ez-grid.js +2 -2
  33. package/dist/collection/components/ez-grid/subcomponents/filter-column.js +16 -5
  34. package/dist/collection/components/ez-icon/ez-icon.css +1 -1
  35. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js +2 -10
  36. package/dist/collection/components/ez-number-input/ez-number-input.js +3 -0
  37. package/dist/collection/components/ez-popup/ez-popup.css +0 -1
  38. package/dist/collection/components/ez-search/ez-search.css +331 -0
  39. package/dist/collection/components/ez-search/ez-search.js +689 -55
  40. package/dist/collection/components/ez-split-button/ez-split-button.css +229 -0
  41. package/dist/collection/components/ez-split-button/ez-split-button.js +436 -0
  42. package/dist/collection/components/ez-split-button/test/dropdownItems.js +42 -0
  43. package/dist/collection/components/ez-split-panel/ez-split-panel.css +6 -7
  44. package/dist/collection/components/ez-split-panel/ez-split-panel.js +35 -14
  45. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css +40 -12
  46. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js +78 -2
  47. package/dist/collection/utils/form/test/DataBinder.test.js +9 -0
  48. package/dist/custom-elements/index.d.ts +6 -0
  49. package/dist/custom-elements/index.js +895 -281
  50. package/dist/esm/ez-alert-list.entry.js +33 -28
  51. package/dist/esm/ez-card-item_3.entry.js +176 -0
  52. package/dist/esm/ez-combo-box.entry.js +13 -157
  53. package/dist/esm/ez-date-input.entry.js +3 -0
  54. package/dist/esm/ez-date-time-input.entry.js +3 -0
  55. package/dist/esm/ez-form-view.entry.js +4 -2
  56. package/dist/esm/ez-grid.entry.js +27 -21
  57. package/dist/esm/ez-icon.entry.js +1 -1
  58. package/dist/esm/ez-multi-selection-list.entry.js +2 -10
  59. package/dist/esm/ez-number-input.entry.js +3 -0
  60. package/dist/esm/ez-popup.entry.js +1 -1
  61. package/dist/esm/ez-search.entry.js +613 -33
  62. package/dist/esm/ez-split-button.entry.js +143 -0
  63. package/dist/esm/ez-split-item.entry.js +12 -2
  64. package/dist/esm/ez-split-panel.entry.js +15 -12
  65. package/dist/esm/ezui.js +1 -1
  66. package/dist/esm/filter-column.entry.js +16 -5
  67. package/dist/esm/index-baa5e267.js +10 -10
  68. package/dist/esm/loader.js +1 -1
  69. package/dist/ezui/ezui.esm.js +1 -1
  70. package/dist/ezui/{p-51c5e071.entry.js → p-02c8831a.entry.js} +1 -1
  71. package/dist/ezui/{p-f56dd1da.entry.js → p-07cbffce.entry.js} +1 -1
  72. package/dist/ezui/p-13dbad96.entry.js +1 -0
  73. package/dist/ezui/{p-c0f1715f.entry.js → p-18e7870d.entry.js} +1 -1
  74. package/dist/ezui/p-25ed09c6.entry.js +1 -0
  75. package/dist/ezui/p-428a05fe.entry.js +1 -0
  76. package/dist/ezui/p-50186acb.entry.js +1 -0
  77. package/dist/ezui/p-60848ef6.entry.js +1 -0
  78. package/dist/ezui/{p-6e2f8e6b.entry.js → p-661f6820.entry.js} +1 -1
  79. package/dist/ezui/p-672dd122.entry.js +1 -0
  80. package/dist/ezui/{p-40f72de4.entry.js → p-784fe207.entry.js} +1 -1
  81. package/dist/ezui/p-940ed30b.entry.js +1 -0
  82. package/dist/ezui/p-b9fbf4e7.entry.js +1 -0
  83. package/dist/ezui/p-baf80b13.entry.js +1 -0
  84. package/dist/ezui/p-e52cbcc7.entry.js +1 -0
  85. package/dist/ezui/p-e562d05e.entry.js +1 -0
  86. package/dist/types/components/ez-alert-list/ez-alert-list.d.ts +1 -1
  87. package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +0 -15
  88. package/dist/types/components/ez-grid/controller/EzGridController.d.ts +1 -0
  89. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +1 -0
  90. package/dist/types/components/ez-grid/controller/ag-grid/DataSource.d.ts +2 -1
  91. package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.d.ts +1 -1
  92. package/dist/types/components/ez-grid/subcomponents/filter-column.d.ts +4 -1
  93. package/dist/types/components/ez-multi-selection-list/ez-multi-selection-list.d.ts +0 -1
  94. package/dist/types/components/ez-search/ez-search.d.ts +100 -10
  95. package/dist/types/components/ez-split-button/ez-split-button.d.ts +89 -0
  96. package/dist/types/components/ez-split-button/test/dropdownItems.d.ts +2 -0
  97. package/dist/types/components/ez-split-panel/ez-split-panel.d.ts +23 -0
  98. package/dist/types/components/ez-split-panel/structure/item/ez-split-item.d.ts +22 -0
  99. package/dist/types/components.d.ts +170 -14
  100. package/dist/types/utils/form/test/DataBinder.test.d.ts +1 -0
  101. package/dist/types/utils/interfaces/AbstractFieldMetadata.d.ts +2 -1
  102. package/package.json +12 -4
  103. package/react/components.d.ts +1 -0
  104. package/react/components.js +1 -0
  105. package/react/components.js.map +1 -1
  106. package/dist/cjs/ez-card-item.cjs.entry.js +0 -52
  107. package/dist/cjs/ez-filter-input_2.cjs.entry.js +0 -137
  108. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridUtils.js +0 -8
  109. package/dist/esm/ez-card-item.entry.js +0 -48
  110. package/dist/esm/ez-filter-input_2.entry.js +0 -132
  111. package/dist/ezui/p-05f5a778.entry.js +0 -1
  112. package/dist/ezui/p-24d3fede.entry.js +0 -1
  113. package/dist/ezui/p-4a7f113d.entry.js +0 -1
  114. package/dist/ezui/p-5613fe63.entry.js +0 -1
  115. package/dist/ezui/p-596634e9.entry.js +0 -1
  116. package/dist/ezui/p-76ba9d67.entry.js +0 -1
  117. package/dist/ezui/p-796c1a88.entry.js +0 -1
  118. package/dist/ezui/p-a32aaac6.entry.js +0 -1
  119. package/dist/ezui/p-a5ac7151.entry.js +0 -1
  120. package/dist/ezui/p-af15c277.entry.js +0 -1
  121. package/dist/ezui/p-d6ffe679.entry.js +0 -1
  122. package/dist/types/components/ez-grid/controller/ag-grid/AgGridUtils.d.ts +0 -1
@@ -30,7 +30,8 @@ import { TFocusOptions } from "./components/ez-text-input/ez-text-input";
30
30
  import { IEzPopoverAnchorOptions } from "./components/ez-popover/ez-popover";
31
31
  import { Radio } from "./components/ez-radio-button/ez-radio-button";
32
32
  import { EzScrollDirection } from "./components/ez-scroller/EzScrollDirection";
33
- import { IEzCheckBoxListPosition as IEzCheckBoxListPosition1, IOption as IOption1, ISearchArgument as ISearchArgument1 } from "./components/ez-combo-box/ez-combo-box";
33
+ import { IOption as IOption1, ISearchArgument as ISearchArgument1 } from "./components/ez-search/ez-search";
34
+ import { IEzCheckBoxListPosition as IEzCheckBoxListPosition1 } from "./components/ez-combo-box/ez-combo-box";
34
35
  import { Tab } from "./components/ez-tabselector/ez-tabselector";
35
36
  import { IStyled } from "./components/ez-text-edit/ez-text-edit";
36
37
  import { TFocusOptions as TFocusOptions1 } from "./components/ez-text-input/ez-text-input";
@@ -413,10 +414,6 @@ export namespace Components {
413
414
  * Array com as opções do ez-combo-box. Os elementos devem obedecer o formato: `{value: string, label: string}`.
414
415
  */
415
416
  "options": Array<IOption>;
416
- /**
417
- * Se true ativa o modo pesquisa do ez-combo-box.
418
- */
419
- "searchMode": boolean;
420
417
  /**
421
418
  * Remove o foco do campo.
422
419
  */
@@ -1172,7 +1169,11 @@ export namespace Components {
1172
1169
  /**
1173
1170
  * Carrega as opções dinamicamente.
1174
1171
  */
1175
- "optionLoader": (argument: ISearchArgument1) => Promise<Array<IOption1>> | Array<IOption1> | IOption1;
1172
+ "optionLoader": (argument: ISearchArgument) => Promise<Array<IOption>> | Array<IOption> | IOption;
1173
+ /**
1174
+ * Array com as opções do ez-combo-box. Os elementos devem obedecer o formato: `{value: string, label: string}`.
1175
+ */
1176
+ "options": Array<IOption>;
1176
1177
  /**
1177
1178
  * Remove o foco do campo.
1178
1179
  */
@@ -1193,10 +1194,14 @@ export namespace Components {
1193
1194
  * Se true remove a opção vazia da lista.
1194
1195
  */
1195
1196
  "suppressEmptyOption": boolean;
1197
+ /**
1198
+ * Se true desabilita a digitação dentro do componente.
1199
+ */
1200
+ "suppressSearch": boolean;
1196
1201
  /**
1197
1202
  * Define o valor do campo.
1198
1203
  */
1199
- "value": IOption1 | string;
1204
+ "value": IOption | string;
1200
1205
  }
1201
1206
  interface EzSidebarButton {
1202
1207
  }
@@ -1237,9 +1242,76 @@ export namespace Components {
1237
1242
  */
1238
1243
  "width": string;
1239
1244
  }
1245
+ interface EzSplitButton {
1246
+ /**
1247
+ * Se false o usuário não pode interagir com o botão.
1248
+ */
1249
+ "enabled": boolean;
1250
+ /**
1251
+ * Define o ícone a ser usado da biblioteca de ícones: [ez-icons](https://gilded-nasturtium-6b64dd.netlify.app/docs/components/layout-doc/icons/)
1252
+ */
1253
+ "iconName": string;
1254
+ /**
1255
+ * Define o caminho usado nos modos `icon-only` e `icon-left` para imagens não contempladas na biblioteca de ícones.
1256
+ */
1257
+ "image": string;
1258
+ /**
1259
+ * Define o conteúdo do dropdown.
1260
+ */
1261
+ "items": Array<IDropdownItem>;
1262
+ /**
1263
+ * Texto a ser apresentado como label do botão.
1264
+ */
1265
+ "label": string;
1266
+ /**
1267
+ * Texto a ser apresentado como title do botão principal
1268
+ */
1269
+ "leftTitle": string;
1270
+ /**
1271
+ * Define o modo de uso do botão.
1272
+ */
1273
+ "mode": 'default' | 'icon-only' | 'icon-left';
1274
+ /**
1275
+ * Texto a ser apresentado como title do botão dropdown
1276
+ */
1277
+ "rightTitle": string;
1278
+ /**
1279
+ * Remove o foco de ambos os botões.
1280
+ */
1281
+ "setBlur": () => Promise<void>;
1282
+ /**
1283
+ * Aplica o foco no botão principal.
1284
+ */
1285
+ "setLeftButtonFocus": () => Promise<void>;
1286
+ /**
1287
+ * Aplica o foco no botão do dropdown.
1288
+ */
1289
+ "setRightButtonFocus": () => Promise<void>;
1290
+ /**
1291
+ * Define o tamanho do ez-split-button.
1292
+ */
1293
+ "size": 'medium' | 'large';
1294
+ }
1240
1295
  interface EzSplitItem {
1296
+ /**
1297
+ * Define se o item pode ser expandido
1298
+ */
1299
+ "enableExpand": boolean;
1300
+ /**
1301
+ * Define um título para o painel.
1302
+ */
1303
+ "label": string;
1304
+ /**
1305
+ * Define o tamanho inicial do painel.
1306
+ * @values '%', 'fr'
1307
+ */
1308
+ "size"?: string;
1241
1309
  }
1242
1310
  interface EzSplitPanel {
1311
+ /**
1312
+ * Responsável por definir o painel que limita o tamanho do item expandido.
1313
+ */
1314
+ "anchorToExpand": boolean;
1243
1315
  "direction": 'row' | 'column';
1244
1316
  }
1245
1317
  interface EzTabselector {
@@ -1698,6 +1770,10 @@ export interface EzSidebarButtonCustomEvent<T> extends CustomEvent<T> {
1698
1770
  detail: T;
1699
1771
  target: HTMLEzSidebarButtonElement;
1700
1772
  }
1773
+ export interface EzSplitButtonCustomEvent<T> extends CustomEvent<T> {
1774
+ detail: T;
1775
+ target: HTMLEzSplitButtonElement;
1776
+ }
1701
1777
  export interface EzTabselectorCustomEvent<T> extends CustomEvent<T> {
1702
1778
  detail: T;
1703
1779
  target: HTMLEzTabselectorElement;
@@ -1953,6 +2029,12 @@ declare global {
1953
2029
  prototype: HTMLEzSkeletonElement;
1954
2030
  new (): HTMLEzSkeletonElement;
1955
2031
  };
2032
+ interface HTMLEzSplitButtonElement extends Components.EzSplitButton, HTMLStencilElement {
2033
+ }
2034
+ var HTMLEzSplitButtonElement: {
2035
+ prototype: HTMLEzSplitButtonElement;
2036
+ new (): HTMLEzSplitButtonElement;
2037
+ };
1956
2038
  interface HTMLEzSplitItemElement extends Components.EzSplitItem, HTMLStencilElement {
1957
2039
  }
1958
2040
  var HTMLEzSplitItemElement: {
@@ -2069,6 +2151,7 @@ declare global {
2069
2151
  "ez-search": HTMLEzSearchElement;
2070
2152
  "ez-sidebar-button": HTMLEzSidebarButtonElement;
2071
2153
  "ez-skeleton": HTMLEzSkeletonElement;
2154
+ "ez-split-button": HTMLEzSplitButtonElement;
2072
2155
  "ez-split-item": HTMLEzSplitItemElement;
2073
2156
  "ez-split-panel": HTMLEzSplitPanelElement;
2074
2157
  "ez-tabselector": HTMLEzTabselectorElement;
@@ -2450,10 +2533,6 @@ declare namespace LocalJSX {
2450
2533
  * Array com as opções do ez-combo-box. Os elementos devem obedecer o formato: `{value: string, label: string}`.
2451
2534
  */
2452
2535
  "options"?: Array<IOption>;
2453
- /**
2454
- * Se true ativa o modo pesquisa do ez-combo-box.
2455
- */
2456
- "searchMode"?: boolean;
2457
2536
  /**
2458
2537
  * Se true cada opção na lista exibe o `value` junto com `label`.
2459
2538
  */
@@ -3165,11 +3244,15 @@ declare namespace LocalJSX {
3165
3244
  /**
3166
3245
  * Emitido quando acontece a alteração de valor do campo.
3167
3246
  */
3168
- "onEzChange"?: (event: EzSearchCustomEvent<IOption1>) => void;
3247
+ "onEzChange"?: (event: EzSearchCustomEvent<IOption>) => void;
3169
3248
  /**
3170
3249
  * Carrega as opções dinamicamente.
3171
3250
  */
3172
- "optionLoader"?: (argument: ISearchArgument1) => Promise<Array<IOption1>> | Array<IOption1> | IOption1;
3251
+ "optionLoader"?: (argument: ISearchArgument) => Promise<Array<IOption>> | Array<IOption> | IOption;
3252
+ /**
3253
+ * Array com as opções do ez-combo-box. Os elementos devem obedecer o formato: `{value: string, label: string}`.
3254
+ */
3255
+ "options"?: Array<IOption>;
3173
3256
  /**
3174
3257
  * Se false cada opção na lista deve exibir somente o `label`.
3175
3258
  */
@@ -3182,10 +3265,14 @@ declare namespace LocalJSX {
3182
3265
  * Se true remove a opção vazia da lista.
3183
3266
  */
3184
3267
  "suppressEmptyOption"?: boolean;
3268
+ /**
3269
+ * Se true desabilita a digitação dentro do componente.
3270
+ */
3271
+ "suppressSearch"?: boolean;
3185
3272
  /**
3186
3273
  * Define o valor do campo.
3187
3274
  */
3188
- "value"?: IOption1 | string;
3275
+ "value"?: IOption | string;
3189
3276
  }
3190
3277
  interface EzSidebarButton {
3191
3278
  /**
@@ -3230,9 +3317,76 @@ declare namespace LocalJSX {
3230
3317
  */
3231
3318
  "width"?: string;
3232
3319
  }
3320
+ interface EzSplitButton {
3321
+ /**
3322
+ * Se false o usuário não pode interagir com o botão.
3323
+ */
3324
+ "enabled"?: boolean;
3325
+ /**
3326
+ * Define o ícone a ser usado da biblioteca de ícones: [ez-icons](https://gilded-nasturtium-6b64dd.netlify.app/docs/components/layout-doc/icons/)
3327
+ */
3328
+ "iconName"?: string;
3329
+ /**
3330
+ * Define o caminho usado nos modos `icon-only` e `icon-left` para imagens não contempladas na biblioteca de ícones.
3331
+ */
3332
+ "image"?: string;
3333
+ /**
3334
+ * Define o conteúdo do dropdown.
3335
+ */
3336
+ "items"?: Array<IDropdownItem>;
3337
+ /**
3338
+ * Texto a ser apresentado como label do botão.
3339
+ */
3340
+ "label"?: string;
3341
+ /**
3342
+ * Texto a ser apresentado como title do botão principal
3343
+ */
3344
+ "leftTitle"?: string;
3345
+ /**
3346
+ * Define o modo de uso do botão.
3347
+ */
3348
+ "mode"?: 'default' | 'icon-only' | 'icon-left';
3349
+ /**
3350
+ * Emitido quando o botão principal é clicado
3351
+ */
3352
+ "onButtonClick"?: (event: EzSplitButtonCustomEvent<void>) => void;
3353
+ /**
3354
+ * Emitido quando um item do dropdown é clicado
3355
+ */
3356
+ "onDropdownItemClick"?: (event: EzSplitButtonCustomEvent<IDropdownItem>) => void;
3357
+ /**
3358
+ * Emitido quando uma subAction de um item do dropdown é clicada
3359
+ */
3360
+ "onDropdownSubActionClick"?: (event: EzSplitButtonCustomEvent<IDropdownSubAction>) => void;
3361
+ /**
3362
+ * Texto a ser apresentado como title do botão dropdown
3363
+ */
3364
+ "rightTitle"?: string;
3365
+ /**
3366
+ * Define o tamanho do ez-split-button.
3367
+ */
3368
+ "size"?: 'medium' | 'large';
3369
+ }
3233
3370
  interface EzSplitItem {
3371
+ /**
3372
+ * Define se o item pode ser expandido
3373
+ */
3374
+ "enableExpand"?: boolean;
3375
+ /**
3376
+ * Define um título para o painel.
3377
+ */
3378
+ "label"?: string;
3379
+ /**
3380
+ * Define o tamanho inicial do painel.
3381
+ * @values '%', 'fr'
3382
+ */
3383
+ "size"?: string;
3234
3384
  }
3235
3385
  interface EzSplitPanel {
3386
+ /**
3387
+ * Responsável por definir o painel que limita o tamanho do item expandido.
3388
+ */
3389
+ "anchorToExpand"?: boolean;
3236
3390
  "direction"?: 'row' | 'column';
3237
3391
  }
3238
3392
  interface EzTabselector {
@@ -3549,6 +3703,7 @@ declare namespace LocalJSX {
3549
3703
  "ez-search": EzSearch;
3550
3704
  "ez-sidebar-button": EzSidebarButton;
3551
3705
  "ez-skeleton": EzSkeleton;
3706
+ "ez-split-button": EzSplitButton;
3552
3707
  "ez-split-item": EzSplitItem;
3553
3708
  "ez-split-panel": EzSplitPanel;
3554
3709
  "ez-tabselector": EzTabselector;
@@ -3605,6 +3760,7 @@ declare module "@stencil/core" {
3605
3760
  "ez-search": LocalJSX.EzSearch & JSXBase.HTMLAttributes<HTMLEzSearchElement>;
3606
3761
  "ez-sidebar-button": LocalJSX.EzSidebarButton & JSXBase.HTMLAttributes<HTMLEzSidebarButtonElement>;
3607
3762
  "ez-skeleton": LocalJSX.EzSkeleton & JSXBase.HTMLAttributes<HTMLEzSkeletonElement>;
3763
+ "ez-split-button": LocalJSX.EzSplitButton & JSXBase.HTMLAttributes<HTMLEzSplitButtonElement>;
3608
3764
  "ez-split-item": LocalJSX.EzSplitItem & JSXBase.HTMLAttributes<HTMLEzSplitItemElement>;
3609
3765
  "ez-split-panel": LocalJSX.EzSplitPanel & JSXBase.HTMLAttributes<HTMLEzSplitPanelElement>;
3610
3766
  "ez-tabselector": LocalJSX.EzTabselector & JSXBase.HTMLAttributes<HTMLEzTabselectorElement>;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,5 +1,6 @@
1
1
  import { FieldDescriptor, UserInterface } from "@sankhyalabs/core";
2
- import { IOption, ISearchArgument } from "../../components/ez-combo-box/ez-combo-box";
2
+ import { ISearchArgument } from "../../components/ez-combo-box/ez-combo-box";
3
+ import { IOption } from "../../components/ez-search/ez-search";
3
4
  import { IFieldConfig } from "./IFieldConfig";
4
5
  export default interface IAbstractFieldMetadata {
5
6
  userInterface: UserInterface;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sankhyalabs/ezui",
3
- "version": "5.20.0-dev.1",
3
+ "version": "5.20.0-dev.11",
4
4
  "description": "Biblioteca de componentes Sankhya.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/custom-elements/index.js",
@@ -21,7 +21,7 @@
21
21
  "build.prod": "stencil build --docs --prod",
22
22
  "build.with.peerdeps": "stencil build --docs --prod --force-peer-deps",
23
23
  "start": "stencil build --dev --watch --serve --force-peer-deps",
24
- "test": "stencil test --spec --e2e --logHeapUsage --runInBand",
24
+ "test": "stencil test --spec --e2e --logHeapUsage --runInBand --coverage --silent --testResultsProcessor jest-sonar-reporter",
25
25
  "test.watch": "stencil test --spec --e2e --watchAll",
26
26
  "generate": "stencil generate",
27
27
  "storybook": "npm run start.storybook",
@@ -53,7 +53,6 @@
53
53
  "@sankhyalabs/docscss": "^1.0.4",
54
54
  "@sankhyalabs/ez-design": "^4.0.0",
55
55
  "@sankhyalabs/skippeerdeps": "^1.0.2",
56
- "split-grid": "^1.0.11",
57
56
  "@shopify/draggable": "^1.0.0-beta.8",
58
57
  "@stencil/core": "^2.13.0",
59
58
  "@stencil/react-output-target": "0.0.9",
@@ -72,18 +71,27 @@
72
71
  "husky": "^8.0.3",
73
72
  "jest": "^26.6.3",
74
73
  "jest-cli": "^26.6.3",
74
+ "jest-sonar-reporter": "^2.0.0",
75
75
  "npm-run-all": "^4.1.5",
76
76
  "puppeteer": "^5.5.0",
77
77
  "redux": "^4.1.2",
78
78
  "redux-thunk": "^2.4.1",
79
79
  "redux-undo": "^1.0.1",
80
80
  "run-p": "0.0.0",
81
+ "split-grid": "^1.0.11",
81
82
  "storybook-addon-preview": "^2.2.0",
82
83
  "uuid": "^9.0.0",
83
84
  "ws": "^7.5.6"
84
85
  },
85
86
  "jest": {
86
- "verbose": true
87
+ "verbose": true,
88
+ "testResultsProcessor": "jest-sonar-reporter"
89
+ },
90
+ "jestSonar": {
91
+ "sonar56x": true,
92
+ "reportPath": "reports",
93
+ "reportFile": "test-report.xml",
94
+ "indent": 4
87
95
  },
88
96
  "peerDependencies": {
89
97
  "@sankhyalabs/core": "^5.0.0"
@@ -36,6 +36,7 @@ export declare const EzScroller: import("react").ForwardRefExoticComponent<JSX.E
36
36
  export declare const EzSearch: import("react").ForwardRefExoticComponent<JSX.EzSearch & Pick<import("react").HTMLAttributes<HTMLEzSearchElement>, "dir" | "slot" | "title" | "children" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEzSearchElement>>;
37
37
  export declare const EzSidebarButton: import("react").ForwardRefExoticComponent<JSX.EzSidebarButton & Pick<import("react").HTMLAttributes<HTMLEzSidebarButtonElement>, "dir" | "slot" | "title" | "children" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEzSidebarButtonElement>>;
38
38
  export declare const EzSkeleton: import("react").ForwardRefExoticComponent<JSX.EzSkeleton & Pick<import("react").HTMLAttributes<HTMLEzSkeletonElement>, "dir" | "slot" | "title" | "children" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEzSkeletonElement>>;
39
+ export declare const EzSplitButton: import("react").ForwardRefExoticComponent<JSX.EzSplitButton & Pick<import("react").HTMLAttributes<HTMLEzSplitButtonElement>, "dir" | "slot" | "title" | "children" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEzSplitButtonElement>>;
39
40
  export declare const EzSplitItem: import("react").ForwardRefExoticComponent<JSX.EzSplitItem & Pick<import("react").HTMLAttributes<HTMLEzSplitItemElement>, "dir" | "slot" | "title" | "children" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEzSplitItemElement>>;
40
41
  export declare const EzSplitPanel: import("react").ForwardRefExoticComponent<JSX.EzSplitPanel & Pick<import("react").HTMLAttributes<HTMLEzSplitPanelElement>, "dir" | "slot" | "title" | "children" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEzSplitPanelElement>>;
41
42
  export declare const EzTabselector: import("react").ForwardRefExoticComponent<JSX.EzTabselector & Pick<import("react").HTMLAttributes<HTMLEzTabselectorElement>, "dir" | "slot" | "title" | "children" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEzTabselectorElement>>;
@@ -39,6 +39,7 @@ export const EzScroller = /*@__PURE__*/ createReactComponent('ez-scroller');
39
39
  export const EzSearch = /*@__PURE__*/ createReactComponent('ez-search');
40
40
  export const EzSidebarButton = /*@__PURE__*/ createReactComponent('ez-sidebar-button');
41
41
  export const EzSkeleton = /*@__PURE__*/ createReactComponent('ez-skeleton');
42
+ export const EzSplitButton = /*@__PURE__*/ createReactComponent('ez-split-button');
42
43
  export const EzSplitItem = /*@__PURE__*/ createReactComponent('ez-split-item');
43
44
  export const EzSplitPanel = /*@__PURE__*/ createReactComponent('ez-split-panel');
44
45
  export const EzTabselector = /*@__PURE__*/ createReactComponent('ez-tabselector');
@@ -1 +1 @@
1
- {"version":3,"file":"components.js","sourceRoot":"","sources":["../src/components.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,kCAAkC;AAClC,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAM7D,MAAM,CAAC,MAAM,eAAe,GAAG,aAAa,CAAA,oBAAoB,CAAkD,mBAAmB,CAAC,CAAC;AACvI,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAA,oBAAoB,CAAkC,UAAU,CAAC,CAAC;AACtG,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAA,oBAAoB,CAA0C,eAAe,CAAC,CAAC;AACvH,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAA,oBAAoB,CAA8C,gBAAgB,CAAC,CAAC;AAC9H,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAA,oBAAoB,CAAkC,UAAU,CAAC,CAAC;AACtG,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,CAAA,oBAAoB,CAA4C,eAAe,CAAC,CAAC;AAC1H,MAAM,CAAC,MAAM,QAAQ,GAAG,aAAa,CAAA,oBAAoB,CAAoC,WAAW,CAAC,CAAC;AAC1G,MAAM,CAAC,MAAM,UAAU,GAAG,aAAa,CAAA,oBAAoB,CAAwC,aAAa,CAAC,CAAC;AAClH,MAAM,CAAC,MAAM,UAAU,GAAG,aAAa,CAAA,oBAA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AAG,aAAa,CAAA,oBAAoB,CAAkC,UAAU,CAAC,CAAC;AACtG,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAA,oBAAoB,CAAgC,SAAS,CAAC,CAAC;AAClG,MAAM,CAAC,MAAM,QAAQ,GAAG,aAAa,CAAA,oBAAoB,CAAoC,WAAW,CAAC,CAAC;AAC1G,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAA,oBAAoB,CAA0C,eAAe,CAAC,CAAC;AACvH,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,CAAA,oBAAoB,CAA4C,eAAe,CAAC,CAAC;AAC1H,MAAM,CAAC,MAAM,wBAAwB,GAAG,aAAa,CAAA,oBAAoB,CAAoE,6BAA6B,CAAC,CAAC"}
@@ -1,52 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-a7b0c73d.js');
6
- const core = require('@sankhyalabs/core');
7
-
8
- const ezCardItemCss = ":host{--ez-card-item--font-size:var(--text--medium, 14px);--ez-card-item--font-family:var(--font-pattern, Arial);--ez-card-item--font-weight:var(--text-weight--medium, 400);--ez-card-item--font-weight-large:var(--text-weight--large, 600);--ez-card-item--color:var(--title--primary, #2B3A54);--ez-card-item__key--color:var(--text--primary, #626e82);--ez-card-item__detail-label--color:var(--text--secondary, #A2ABB9);--ez-card-item__detail--padding-bottom:var(--space--extra-small, 3px);--ez-card-item__title--padding-bottom:var(--space--extra-small, 3px);--ez-card-item__highlight--color:var(--color--primary-300, #E2F4EF);width:100%;display:flex;cursor:pointer}.card-item{display:flex;flex-direction:column;width:100%;cursor:pointer;padding:12px;z-index:0;position:relative}.card-item:hover{background:#F0F3F7;border-radius:12px}.card-item__title{display:flex;align-items:center;line-height:18px;cursor:pointer;font-size:var(--ez-card-item--font-size);font-family:var(--ez-card-item--font-family);font-weight:var(--ez-card-item--font-weight-large);color:var(--ez-card-item--color);padding-bottom:var(--ez-card-item__title--padding-bottom);gap:var(--space--small, 6px)}.card-item__key{color:var(--ez-card-item__key--color)}.card-item__details{display:flex;cursor:pointer;justify-content:space-between;gap:var(--space--small, 6px)}.card-item__details-left{cursor:pointer;width:50%}.card-item__details-right{width:50%;cursor:pointer}.card-item__detail:not(:last-child){cursor:pointer;padding-bottom:var(--ez-card-item__detail--padding-bottom)}.card-item__detail-label{cursor:pointer;font-size:var(--ez-card-item--font-size);font-family:var(--ez-card-item--font-family);font-weight:var(--ez-card-item--font-weight);color:var(--ez-card-item__detail-label--color)}.card-item__detail-value{cursor:pointer;line-break:anywhere;font-size:var(--ez-card-item--font-size);font-family:var(--ez-card-item--font-family);font-weight:var(--ez-card-item--font-weight);color:var(--ez-card-item--color)}.card-item__highlight{position:relative;border-radius:8px;z-index:-1;background-color:var(--ez-card-item__highlight--color);outline:2px solid var(--ez-card-item__highlight--color);box-shadow:-4px 0px 0px 0px var(--ez-card-item__highlight--color), \n 4px 0px 0px 0px var(--ez-card-item__highlight--color)}";
9
-
10
- const EzCardItem = class {
11
- constructor(hostRef) {
12
- index.registerInstance(this, hostRef);
13
- this.ezClick = index.createEvent(this, "ezClick", 7);
14
- this.item = undefined;
15
- }
16
- componentWillRender() {
17
- this.createDetailList();
18
- }
19
- componentDidLoad() {
20
- var _a, _b;
21
- const dataInfo = { id: core.StringUtils.toCamelCase(((_a = this.item) === null || _a === void 0 ? void 0 : _a.key) || ((_b = this.item) === null || _b === void 0 ? void 0 : _b.title) || "") };
22
- core.ElementIDUtils.addIDInfo(this._element, null, dataInfo);
23
- }
24
- createDetailList() {
25
- var _a, _b, _c;
26
- this._details = { detailsLeft: [], detailsRight: [] };
27
- let cont = 0;
28
- if ((_a = this.item) === null || _a === void 0 ? void 0 : _a.details) {
29
- for (const attribute in this.item.details) {
30
- cont < 3 ?
31
- this._details.detailsLeft.push({ label: attribute, value: (_b = this.item.details[attribute]) === null || _b === void 0 ? void 0 : _b.toString() }) :
32
- this._details.detailsRight.push({ label: attribute, value: (_c = this.item.details[attribute]) === null || _c === void 0 ? void 0 : _c.toString() });
33
- cont++;
34
- }
35
- }
36
- }
37
- buildDetailContent(detail) {
38
- return index.h("div", { class: "card-item__detail" }, index.h("label", { class: "card-item__detail-label" }, detail.label), ": ", index.h("label", { class: "card-item__detail-value", innerHTML: detail.value }));
39
- }
40
- render() {
41
- return (index.h(index.Host, null, this.item &&
42
- index.h("div", { class: "card-item", onClick: () => { this.ezClick.emit(this.item); } }, index.h("label", { class: "card-item__title" }, index.h("span", { class: "card-item__key", innerHTML: this.item.key }), index.h("span", { innerHTML: this.item.title })), index.h("div", { class: "card-item__details" }, index.h("div", { class: "card-item__details-left" }, this._details.detailsLeft.map(detail => {
43
- return this.buildDetailContent(detail);
44
- })), index.h("div", { class: "card-item__details-right" }, this._details.detailsRight.map(detail => {
45
- return this.buildDetailContent(detail);
46
- }))))));
47
- }
48
- get _element() { return index.getElement(this); }
49
- };
50
- EzCardItem.style = ezCardItemCss;
51
-
52
- exports.ez_card_item = EzCardItem;