bromcom-ui 2.3.54 → 2.3.58

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 (212) hide show
  1. package/dist/bromcom-ui/bromcom-ui.css +0 -0
  2. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  3. package/dist/bromcom-ui/index.esm.js +0 -0
  4. package/dist/bromcom-ui/p-12493dbc.entry.js +1 -0
  5. package/dist/bromcom-ui/{p-a18a0cc4.entry.js → p-13d038f5.entry.js} +1 -1
  6. package/dist/bromcom-ui/p-1429a2b4.js +1 -0
  7. package/dist/bromcom-ui/{p-4b7f14ed.entry.js → p-20d03fa1.entry.js} +1 -1
  8. package/dist/bromcom-ui/{p-774ff4d9.entry.js → p-30c1cd7f.entry.js} +1 -1
  9. package/dist/bromcom-ui/p-37750343.entry.js +1 -0
  10. package/dist/bromcom-ui/p-3f797656.entry.js +1 -0
  11. package/dist/bromcom-ui/{p-4396ee3b.entry.js → p-4092f5f1.entry.js} +1 -1
  12. package/dist/bromcom-ui/p-4a41ef80.entry.js +1 -0
  13. package/dist/bromcom-ui/p-4cb268d2.js +1 -0
  14. package/dist/bromcom-ui/p-53e9b679.entry.js +1 -0
  15. package/dist/bromcom-ui/{p-09753e05.js → p-554d326a.js} +1 -1
  16. package/dist/bromcom-ui/p-68ff64de.js +1 -0
  17. package/dist/bromcom-ui/p-7238d22f.entry.js +1 -0
  18. package/dist/bromcom-ui/p-7f1cd976.entry.js +1 -0
  19. package/dist/bromcom-ui/p-811c24d7.entry.js +1 -0
  20. package/dist/bromcom-ui/p-8851e01e.entry.js +1 -0
  21. package/dist/bromcom-ui/{p-1a2724a0.entry.js → p-92e3e240.entry.js} +1 -1
  22. package/dist/bromcom-ui/p-9ffff762.entry.js +1 -0
  23. package/dist/bromcom-ui/p-a6ef098a.entry.js +1 -0
  24. package/dist/bromcom-ui/p-af7e4741.entry.js +1 -0
  25. package/dist/bromcom-ui/{p-0d336381.entry.js → p-afb68492.entry.js} +1 -1
  26. package/dist/bromcom-ui/p-bbf99620.entry.js +1 -0
  27. package/dist/bromcom-ui/p-bc50aa86.entry.js +1 -0
  28. package/dist/bromcom-ui/p-e21a8f2d.entry.js +1 -0
  29. package/dist/bromcom-ui/p-e450ebda.entry.js +1 -0
  30. package/dist/bromcom-ui/p-e8307da9.entry.js +1 -0
  31. package/dist/bromcom-ui/{p-26b3d5d0.entry.js → p-e8771d32.entry.js} +1 -1
  32. package/dist/bromcom-ui/p-f067821e.entry.js +1 -0
  33. package/dist/bromcom-ui/p-f12743d8.entry.js +1 -0
  34. package/dist/bromcom-ui/p-ff5e57d3.entry.js +1 -0
  35. package/dist/cjs/bcm-alert.cjs.entry.js +7 -26
  36. package/dist/cjs/bcm-badge.cjs.entry.js +50 -0
  37. package/dist/cjs/{bcm-badge_20.cjs.entry.js → bcm-button_11.cjs.entry.js} +1209 -2835
  38. package/dist/cjs/bcm-checkbox-lite_4.cjs.entry.js +291 -0
  39. package/dist/cjs/bcm-colorpicker.cjs.entry.js +3 -3
  40. package/dist/cjs/{bcm-datetime-picker_2.cjs.entry.js → bcm-datetime-picker.cjs.entry.js} +3 -137
  41. package/dist/cjs/bcm-dropdown.cjs.entry.js +1 -1
  42. package/dist/cjs/bcm-list-item_2.cjs.entry.js +197 -0
  43. package/dist/cjs/bcm-list-select.cjs.entry.js +658 -0
  44. package/dist/cjs/bcm-list.cjs.entry.js +1204 -0
  45. package/dist/cjs/{bcm-empty_6.cjs.entry.js → bcm-listbox_5.cjs.entry.js} +10 -77
  46. package/dist/cjs/bcm-modal.cjs.entry.js +197 -0
  47. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +1 -1
  48. package/dist/cjs/bcm-popconfirm.cjs.entry.js +2 -2
  49. package/dist/cjs/bcm-popover-box.cjs.entry.js +1 -1
  50. package/dist/cjs/bcm-popover.cjs.entry.js +2 -2
  51. package/dist/cjs/bcm-pulldown-group_2.cjs.entry.js +1 -1
  52. package/dist/cjs/bcm-pulldown.cjs.entry.js +1 -1
  53. package/dist/cjs/bcm-radio-group.cjs.entry.js +124 -0
  54. package/dist/cjs/bcm-radio.cjs.entry.js +104 -0
  55. package/dist/cjs/bcm-select.cjs.entry.js +68 -8
  56. package/dist/cjs/bcm-tab-pane.cjs.entry.js +51 -0
  57. package/dist/cjs/bcm-tab.cjs.entry.js +72 -0
  58. package/dist/cjs/bcm-tabs-content.cjs.entry.js +43 -0
  59. package/dist/cjs/bcm-tabs.cjs.entry.js +361 -0
  60. package/dist/cjs/bcm-text.cjs.entry.js +28 -0
  61. package/dist/cjs/bcm-upload.cjs.entry.js +1 -1
  62. package/dist/cjs/bromcom-ui.cjs.js +1 -1
  63. package/dist/cjs/{element-dragger-36fcb296.js → element-dragger-4a91c708.js} +1 -1
  64. package/dist/cjs/loader.cjs.js +1 -1
  65. package/dist/cjs/types-37c8ced6.js +16 -0
  66. package/dist/cjs/types-f53bc841.js +19 -0
  67. package/dist/cjs/{utils-43fda566.js → utils-60414768.js} +25 -0
  68. package/dist/collection/collection-manifest.json +1 -0
  69. package/dist/collection/components/atoms/label/label.css +70 -0
  70. package/dist/collection/components/atoms/label/label.js +203 -0
  71. package/dist/collection/components/molecules/checkbox/group.js +19 -6
  72. package/dist/collection/components/molecules/input/input.js +39 -7
  73. package/dist/collection/components/molecules/list/list-item.css +1 -0
  74. package/dist/collection/components/molecules/list/list-select.css +10 -5
  75. package/dist/collection/components/molecules/list/list-select.js +232 -34
  76. package/dist/collection/components/molecules/list/list.css +24 -2
  77. package/dist/collection/components/molecules/list/list.js +391 -119
  78. package/dist/collection/components/molecules/popconfirm/popconfirm-box.css +1 -0
  79. package/dist/collection/components/molecules/popconfirm/popconfirm.css +1 -0
  80. package/dist/collection/components/molecules/popover/popover-box.css +1 -0
  81. package/dist/collection/components/molecules/popover/popover.css +1 -0
  82. package/dist/collection/components/molecules/radio/group.js +19 -6
  83. package/dist/collection/components/molecules/search/search.js +2 -2
  84. package/dist/collection/components/molecules/select/select.js +85 -12
  85. package/dist/collection/components/molecules/switch/switch.css +0 -1
  86. package/dist/collection/components/molecules/switch/switch.js +20 -7
  87. package/dist/collection/components/molecules/textarea/textarea.css +4 -1
  88. package/dist/collection/components/molecules/textarea/textarea.js +33 -17
  89. package/dist/collection/components/molecules/tooltip/tooltip-box.css +1 -0
  90. package/dist/collection/components/molecules/tooltip/tooltip.css +1 -0
  91. package/dist/collection/components/organism/colorpicker/colorpicker.js +19 -6
  92. package/dist/collection/components/organism/datetime-picker/datetime-picker.js +1 -1
  93. package/dist/collection/components/organism/form/form.js +5 -4
  94. package/dist/collection/components/organism/listbox/listbox.js +27 -17
  95. package/dist/collection/helper/color-helper.js +33 -0
  96. package/dist/collection/helper/generate.js +47 -0
  97. package/dist/collection/helper/number-helper.js +10 -0
  98. package/dist/collection/helper/string-helper.js +21 -0
  99. package/dist/collection/helper/validators.js +21 -0
  100. package/dist/collection/models/bcm-types.js +1 -0
  101. package/dist/collection/models/bcm.js +451 -0
  102. package/dist/collection/templates/caption-template.js +22 -0
  103. package/dist/collection/templates/label-template.js +16 -0
  104. package/dist/collection/templates/slot-template.js +6 -0
  105. package/dist/collection/utils/utils.js +24 -0
  106. package/dist/esm/bcm-alert.entry.js +1 -20
  107. package/dist/esm/bcm-badge.entry.js +46 -0
  108. package/dist/esm/{bcm-badge_20.entry.js → bcm-button_11.entry.js} +1204 -2821
  109. package/dist/esm/bcm-checkbox-lite_4.entry.js +284 -0
  110. package/dist/esm/bcm-colorpicker.entry.js +3 -3
  111. package/dist/esm/{bcm-datetime-picker_2.entry.js → bcm-datetime-picker.entry.js} +4 -137
  112. package/dist/esm/bcm-dropdown.entry.js +1 -1
  113. package/dist/esm/bcm-list-item_2.entry.js +192 -0
  114. package/dist/esm/bcm-list-select.entry.js +654 -0
  115. package/dist/esm/bcm-list.entry.js +1200 -0
  116. package/dist/esm/{bcm-empty_6.entry.js → bcm-listbox_5.entry.js} +12 -78
  117. package/dist/esm/bcm-modal.entry.js +193 -0
  118. package/dist/esm/bcm-popconfirm-box.entry.js +1 -1
  119. package/dist/esm/bcm-popconfirm.entry.js +2 -2
  120. package/dist/esm/bcm-popover-box.entry.js +1 -1
  121. package/dist/esm/bcm-popover.entry.js +2 -2
  122. package/dist/esm/bcm-pulldown-group_2.entry.js +1 -1
  123. package/dist/esm/bcm-pulldown.entry.js +1 -1
  124. package/dist/esm/bcm-radio-group.entry.js +120 -0
  125. package/dist/esm/bcm-radio.entry.js +100 -0
  126. package/dist/esm/bcm-select.entry.js +68 -8
  127. package/dist/esm/bcm-tab-pane.entry.js +47 -0
  128. package/dist/esm/bcm-tab.entry.js +68 -0
  129. package/dist/esm/bcm-tabs-content.entry.js +39 -0
  130. package/dist/esm/bcm-tabs.entry.js +357 -0
  131. package/dist/esm/bcm-text.entry.js +24 -0
  132. package/dist/esm/bcm-upload.entry.js +1 -1
  133. package/dist/esm/bromcom-ui.js +1 -1
  134. package/dist/esm/{element-dragger-03ac2a5e.js → element-dragger-97a8f373.js} +1 -1
  135. package/dist/esm/loader.js +1 -1
  136. package/dist/esm/polyfills/css-shim.js +0 -0
  137. package/dist/esm/types-4b11eac9.js +28 -0
  138. package/dist/esm/types-911a8837.js +21 -0
  139. package/dist/esm/{utils-b7fba7c4.js → utils-de9aee67.js} +25 -1
  140. package/dist/types/assets/icons/index.d.ts +0 -0
  141. package/dist/types/assets/icons/index.example.d.ts +0 -0
  142. package/dist/types/components/atoms/avatar/avatar.d.ts +0 -0
  143. package/dist/types/components/atoms/badge/badge.d.ts +0 -0
  144. package/dist/types/components/atoms/button/button.d.ts +0 -0
  145. package/dist/types/components/atoms/divider/divider.d.ts +0 -0
  146. package/dist/types/components/atoms/icon/icon.d.ts +0 -0
  147. package/dist/types/components/atoms/icon/types.d.ts +0 -0
  148. package/dist/types/components/atoms/label/label.d.ts +16 -0
  149. package/dist/types/components/atoms/tag/tag.d.ts +0 -0
  150. package/dist/types/components/atoms/text/text.d.ts +0 -0
  151. package/dist/types/components/molecules/card/card-footer.d.ts +0 -0
  152. package/dist/types/components/molecules/card/card-header.d.ts +0 -0
  153. package/dist/types/components/molecules/card/card.d.ts +0 -0
  154. package/dist/types/components/molecules/checkbox/checkbox.d.ts +0 -0
  155. package/dist/types/components/molecules/checkbox/group.d.ts +1 -0
  156. package/dist/types/components/molecules/input/input.d.ts +2 -0
  157. package/dist/types/components/molecules/list/list-select.d.ts +24 -4
  158. package/dist/types/components/molecules/list/list.d.ts +13 -3
  159. package/dist/types/components/molecules/radio/group.d.ts +1 -0
  160. package/dist/types/components/molecules/radio/radio.d.ts +0 -0
  161. package/dist/types/components/molecules/select/group.d.ts +0 -0
  162. package/dist/types/components/molecules/select/option.d.ts +0 -0
  163. package/dist/types/components/molecules/select/select.d.ts +1 -0
  164. package/dist/types/components/molecules/switch/switch.d.ts +1 -0
  165. package/dist/types/components/molecules/textarea/textarea.d.ts +3 -2
  166. package/dist/types/components/organism/colorpicker/colorpicker.d.ts +1 -0
  167. package/dist/types/components/organism/listbox/listbox.d.ts +1 -0
  168. package/dist/types/components.d.ts +95 -12
  169. package/dist/types/global/variables/colors.d.ts +0 -0
  170. package/dist/types/helper/color-helper.d.ts +9 -0
  171. package/dist/types/helper/generate.d.ts +10 -0
  172. package/dist/types/helper/number-helper.d.ts +9 -0
  173. package/dist/types/helper/string-helper.d.ts +20 -0
  174. package/dist/types/helper/validators.d.ts +8 -0
  175. package/dist/types/index.d.ts +0 -0
  176. package/dist/types/models/bcm-types.d.ts +19 -0
  177. package/dist/types/models/bcm.d.ts +447 -0
  178. package/dist/types/stencil-public-runtime.d.ts +0 -0
  179. package/dist/types/templates/caption-template.d.ts +12 -0
  180. package/dist/types/templates/label-template.d.ts +12 -0
  181. package/dist/types/templates/slot-template.d.ts +8 -0
  182. package/dist/types/utils/utils.d.ts +1 -0
  183. package/loader/cdn.js +0 -0
  184. package/loader/index.cjs.js +0 -0
  185. package/loader/index.d.ts +0 -0
  186. package/loader/index.es2017.js +0 -0
  187. package/loader/index.js +0 -0
  188. package/loader/package.json +0 -0
  189. package/package.json +1 -1
  190. package/dist/bromcom-ui/p-013b6f5d.entry.js +0 -1
  191. package/dist/bromcom-ui/p-0532e299.entry.js +0 -1
  192. package/dist/bromcom-ui/p-0aa53bdb.entry.js +0 -1
  193. package/dist/bromcom-ui/p-2c1ee381.entry.js +0 -1
  194. package/dist/bromcom-ui/p-607bc9b3.entry.js +0 -1
  195. package/dist/bromcom-ui/p-6355c903.entry.js +0 -1
  196. package/dist/bromcom-ui/p-6bd805f1.entry.js +0 -1
  197. package/dist/bromcom-ui/p-77a480ff.entry.js +0 -1
  198. package/dist/bromcom-ui/p-a88256f2.entry.js +0 -1
  199. package/dist/bromcom-ui/p-b92324e7.js +0 -1
  200. package/dist/bromcom-ui/p-ba219861.entry.js +0 -1
  201. package/dist/bromcom-ui/p-cdfd9ba0.entry.js +0 -1
  202. package/dist/bromcom-ui/p-cf6b0656.entry.js +0 -1
  203. package/dist/cjs/bcm-checkbox-group.cjs.entry.js +0 -273
  204. package/dist/cjs/bcm-checkbox.cjs.entry.js +0 -143
  205. package/dist/cjs/bcm-switch.cjs.entry.js +0 -86
  206. package/dist/cjs/bcm-textarea.cjs.entry.js +0 -136
  207. package/dist/cjs/bcm-tooltip-box.cjs.entry.js +0 -36
  208. package/dist/esm/bcm-checkbox-group.entry.js +0 -269
  209. package/dist/esm/bcm-checkbox.entry.js +0 -139
  210. package/dist/esm/bcm-switch.entry.js +0 -82
  211. package/dist/esm/bcm-textarea.entry.js +0 -132
  212. package/dist/esm/bcm-tooltip-box.entry.js +0 -32
@@ -16,6 +16,7 @@ import { KindProp as KindProp1, SizeProp as SizeProp2 } from "./components/molec
16
16
  import { ImageProps, SizeProp as SizeProp3 } from "./components/molecules/empty/types";
17
17
  import { SizeProp as SizeProp4 } from "./components/molecules/error-layout/types";
18
18
  import { SizePropOptions, TypePropOptions } from "./components/atoms/icon/types";
19
+ import { FontSizesTypes, StatusTypes } from "./models/bcm-types";
19
20
  import { ProcessTypeProp, SizeProp as SizeProp5, TypeProp as TypeProp2 } from "./components/molecules/list/types";
20
21
  import { captionTypeProp } from "./types";
21
22
  import { SizeProp as SizeProp6 } from "./components/organism/listbox/types";
@@ -164,6 +165,7 @@ export namespace Components {
164
165
  "resetCaption": () => Promise<void>;
165
166
  "setClear": () => Promise<void>;
166
167
  "size": 'small' | 'medium' | 'large';
168
+ "tooltip": string;
167
169
  "value": any;
168
170
  }
169
171
  interface BcmCheckboxLite {
@@ -213,6 +215,7 @@ export namespace Components {
213
215
  "required": boolean;
214
216
  "setColor": (color: string) => Promise<void>;
215
217
  "size": 'small' | 'medium' | 'large';
218
+ "tooltip": string;
216
219
  "value": string;
217
220
  }
218
221
  interface BcmComment {
@@ -460,6 +463,7 @@ export namespace Components {
460
463
  }
461
464
  interface BcmInput {
462
465
  "_id": string;
466
+ "_internal_id": string;
463
467
  "caption": string;
464
468
  "captionError": string;
465
469
  "captionType": 'primary' | 'success' | 'warning' | 'error' | 'default';
@@ -490,11 +494,26 @@ export namespace Components {
490
494
  "setValue": (value: any) => Promise<any>;
491
495
  "size": 'small' | 'medium' | 'large';
492
496
  "step": any;
497
+ "tooltip": string;
493
498
  "type": string;
494
499
  "unit": string;
495
500
  "unitPrefix": string;
496
501
  "value": any;
497
502
  }
503
+ interface BcmLabel {
504
+ /**
505
+ * Props *
506
+ */
507
+ "_id": string;
508
+ "form": any;
509
+ "hidden": boolean;
510
+ "htmlFor": any;
511
+ "required": boolean;
512
+ "size": FontSizesTypes;
513
+ "tooltip": string;
514
+ "type": StatusTypes | any;
515
+ "value": string;
516
+ }
498
517
  interface BcmLink {
499
518
  "hidden": boolean;
500
519
  "href": string;
@@ -514,9 +533,6 @@ export namespace Components {
514
533
  */
515
534
  "checked": (checkedItems?: Array<string> | string, reset?: boolean) => Promise<void>;
516
535
  "clearAndSelectSearch": (select?: boolean) => Promise<void>;
517
- /**
518
- * ***
519
- */
520
536
  "clearable": boolean;
521
537
  /**
522
538
  * @desc
@@ -557,11 +573,19 @@ export namespace Components {
557
573
  "openStatus": () => Promise<boolean>;
558
574
  "placeholder": string;
559
575
  "processType": ProcessTypeProp;
576
+ /**
577
+ * @desc
578
+ */
579
+ "renderList": () => Promise<void>;
560
580
  "required": boolean;
561
581
  /**
562
582
  * @desc
563
583
  */
564
584
  "resetCaption": () => Promise<void>;
585
+ "returnField": string;
586
+ "searchData": any;
587
+ "searchFields": Array<string>;
588
+ "searchPlaceholder": string;
565
589
  "searchable": boolean;
566
590
  "selectedId": string;
567
591
  /**
@@ -590,12 +614,20 @@ export namespace Components {
590
614
  * @desc
591
615
  */
592
616
  "toggleChecked": (checkedItems?: Array<string> | string) => Promise<void>;
617
+ /**
618
+ * ***
619
+ */
620
+ "tooltip": string;
593
621
  "type": TypeProp;
594
622
  /**
595
623
  * @desc
596
624
  */
597
625
  "unChecked": (checkedItems?: Array<string> | string) => Promise<void>;
598
626
  "value": any;
627
+ /**
628
+ * ***
629
+ */
630
+ "variableText": string;
599
631
  "width": string;
600
632
  }
601
633
  interface BcmListItem {
@@ -645,10 +677,14 @@ export namespace Components {
645
677
  */
646
678
  "resetCaption": () => Promise<void>;
647
679
  "searchData": any;
680
+ /**
681
+ * @desc
682
+ */
683
+ "setClear": () => Promise<void>;
648
684
  /**
649
685
  * @descc
650
686
  */
651
- "setValue": (value: Array<string> | string, _id?: string, _text?: string) => Promise<any>;
687
+ "setValue": (value: any, _id?: string, _text?: string) => Promise<any>;
652
688
  /**
653
689
  * @desc
654
690
  */
@@ -658,8 +694,10 @@ export namespace Components {
658
694
  * @desc
659
695
  */
660
696
  "toggle": (list?: "default" | "other") => Promise<void>;
697
+ "tooltip": string;
661
698
  "type": TypeProp;
662
699
  "value": any;
700
+ "variableText": string;
663
701
  }
664
702
  interface BcmListbox {
665
703
  "_flex": string;
@@ -707,6 +745,7 @@ export namespace Components {
707
745
  "showSearchMethod": (val?: boolean) => Promise<void>;
708
746
  "size": SizeProp;
709
747
  "template": string;
748
+ "tooltip": string;
710
749
  "treeview": boolean;
711
750
  "updateChecked": (items: any) => Promise<void>;
712
751
  "updateCheckedList": Array<any>;
@@ -948,6 +987,7 @@ export namespace Components {
948
987
  "setClear": () => Promise<void>;
949
988
  "setData": (_data: OptionType[] | string) => Promise<boolean>;
950
989
  "size": 'small' | 'medium' | 'large';
990
+ "tooltip": string;
951
991
  "value": string | number;
952
992
  }
953
993
  interface BcmResult {
@@ -1014,6 +1054,7 @@ export namespace Components {
1014
1054
  "setDataAsync": (_data?: Array<object> | string) => Promise<void>;
1015
1055
  "size": 'small' | 'medium' | 'large';
1016
1056
  "template": string;
1057
+ "tooltip": string;
1017
1058
  "treeview": boolean;
1018
1059
  "updateChecked": (id?: any[]) => Promise<void>;
1019
1060
  "value": string;
@@ -1091,6 +1132,7 @@ export namespace Components {
1091
1132
  "resetCaption": () => Promise<void>;
1092
1133
  "setClear": () => Promise<void>;
1093
1134
  "size": 'small' | 'medium';
1135
+ "tooltip": string;
1094
1136
  "value": any;
1095
1137
  }
1096
1138
  interface BcmTab {
@@ -1165,7 +1207,7 @@ export namespace Components {
1165
1207
  interface BcmTextarea {
1166
1208
  "caption": string;
1167
1209
  "captionError": string;
1168
- "captionType": 'default' | 'primary' | 'success' | 'warning' | 'error';
1210
+ "captionType": 'primary' | 'success' | 'warning' | 'error' | 'default';
1169
1211
  "clearable": boolean;
1170
1212
  "disabled": boolean;
1171
1213
  "fullWidth": boolean;
@@ -1186,6 +1228,7 @@ export namespace Components {
1186
1228
  "setFocus": () => Promise<void>;
1187
1229
  "setValue": (value: any) => Promise<any>;
1188
1230
  "size": 'small' | 'medium' | 'large';
1231
+ "tooltip": string;
1189
1232
  "value": string;
1190
1233
  }
1191
1234
  interface BcmTimePicker {
@@ -1551,6 +1594,12 @@ declare global {
1551
1594
  prototype: HTMLBcmInputElement;
1552
1595
  new (): HTMLBcmInputElement;
1553
1596
  };
1597
+ interface HTMLBcmLabelElement extends Components.BcmLabel, HTMLStencilElement {
1598
+ }
1599
+ var HTMLBcmLabelElement: {
1600
+ prototype: HTMLBcmLabelElement;
1601
+ new (): HTMLBcmLabelElement;
1602
+ };
1554
1603
  interface HTMLBcmLinkElement extends Components.BcmLink, HTMLStencilElement {
1555
1604
  }
1556
1605
  var HTMLBcmLinkElement: {
@@ -1881,6 +1930,7 @@ declare global {
1881
1930
  "bcm-header": HTMLBcmHeaderElement;
1882
1931
  "bcm-icon": HTMLBcmIconElement;
1883
1932
  "bcm-input": HTMLBcmInputElement;
1933
+ "bcm-label": HTMLBcmLabelElement;
1884
1934
  "bcm-link": HTMLBcmLinkElement;
1885
1935
  "bcm-list": HTMLBcmListElement;
1886
1936
  "bcm-list-item": HTMLBcmListItemElement;
@@ -2056,6 +2106,7 @@ declare namespace LocalJSX {
2056
2106
  "optionType"?: 'default' | 'button';
2057
2107
  "required"?: boolean;
2058
2108
  "size"?: 'small' | 'medium' | 'large';
2109
+ "tooltip"?: string;
2059
2110
  "value"?: any;
2060
2111
  }
2061
2112
  interface BcmCheckboxLite {
@@ -2108,6 +2159,7 @@ declare namespace LocalJSX {
2108
2159
  "open"?: boolean;
2109
2160
  "required"?: boolean;
2110
2161
  "size"?: 'small' | 'medium' | 'large';
2162
+ "tooltip"?: string;
2111
2163
  "value"?: string;
2112
2164
  }
2113
2165
  interface BcmComment {
@@ -2324,6 +2376,7 @@ declare namespace LocalJSX {
2324
2376
  }
2325
2377
  interface BcmInput {
2326
2378
  "_id"?: string;
2379
+ "_internal_id"?: string;
2327
2380
  "caption"?: string;
2328
2381
  "captionError"?: string;
2329
2382
  "captionType"?: 'primary' | 'success' | 'warning' | 'error' | 'default';
@@ -2352,11 +2405,26 @@ declare namespace LocalJSX {
2352
2405
  "required"?: boolean;
2353
2406
  "size"?: 'small' | 'medium' | 'large';
2354
2407
  "step"?: any;
2408
+ "tooltip"?: string;
2355
2409
  "type"?: string;
2356
2410
  "unit"?: string;
2357
2411
  "unitPrefix"?: string;
2358
2412
  "value"?: any;
2359
2413
  }
2414
+ interface BcmLabel {
2415
+ /**
2416
+ * Props *
2417
+ */
2418
+ "_id"?: string;
2419
+ "form"?: any;
2420
+ "hidden"?: boolean;
2421
+ "htmlFor"?: any;
2422
+ "required"?: boolean;
2423
+ "size"?: FontSizesTypes;
2424
+ "tooltip"?: string;
2425
+ "type"?: StatusTypes | any;
2426
+ "value"?: string;
2427
+ }
2360
2428
  interface BcmLink {
2361
2429
  "hidden"?: boolean;
2362
2430
  "href"?: string;
@@ -2371,9 +2439,6 @@ declare namespace LocalJSX {
2371
2439
  "caption"?: string;
2372
2440
  "captionError"?: string;
2373
2441
  "captionType"?: captionTypeProp;
2374
- /**
2375
- * ***
2376
- */
2377
2442
  "clearable"?: boolean;
2378
2443
  "disabled"?: boolean;
2379
2444
  "flex"?: boolean;
@@ -2394,18 +2459,27 @@ declare namespace LocalJSX {
2394
2459
  "noCaption"?: boolean;
2395
2460
  "onBcm-change"?: (event: CustomEvent<any>) => void;
2396
2461
  "onBcm-list-checklist"?: (event: CustomEvent<any>) => void;
2397
- /**
2398
- * ***
2399
- */
2400
2462
  "onBcm-list-selected"?: (event: CustomEvent<any>) => void;
2401
2463
  "placeholder"?: string;
2402
2464
  "processType"?: ProcessTypeProp;
2403
2465
  "required"?: boolean;
2466
+ "returnField"?: string;
2467
+ "searchData"?: any;
2468
+ "searchFields"?: Array<string>;
2469
+ "searchPlaceholder"?: string;
2404
2470
  "searchable"?: boolean;
2405
2471
  "selectedId"?: string;
2406
2472
  "size"?: SizeProp;
2473
+ /**
2474
+ * ***
2475
+ */
2476
+ "tooltip"?: string;
2407
2477
  "type"?: TypeProp;
2408
2478
  "value"?: any;
2479
+ /**
2480
+ * ***
2481
+ */
2482
+ "variableText"?: string;
2409
2483
  "width"?: string;
2410
2484
  }
2411
2485
  interface BcmListItem {
@@ -2446,8 +2520,10 @@ declare namespace LocalJSX {
2446
2520
  "required"?: boolean;
2447
2521
  "searchData"?: any;
2448
2522
  "size"?: SizeProp;
2523
+ "tooltip"?: string;
2449
2524
  "type"?: TypeProp;
2450
2525
  "value"?: any;
2526
+ "variableText"?: string;
2451
2527
  }
2452
2528
  interface BcmListbox {
2453
2529
  "_flex"?: string;
@@ -2494,6 +2570,7 @@ declare namespace LocalJSX {
2494
2570
  "showIcon"?: boolean;
2495
2571
  "size"?: SizeProp;
2496
2572
  "template"?: string;
2573
+ "tooltip"?: string;
2497
2574
  "treeview"?: boolean;
2498
2575
  "updateCheckedList"?: Array<any>;
2499
2576
  "value"?: any;
@@ -2738,6 +2815,7 @@ declare namespace LocalJSX {
2738
2815
  "options"?: OptionType[] | string;
2739
2816
  "required"?: boolean;
2740
2817
  "size"?: 'small' | 'medium' | 'large';
2818
+ "tooltip"?: string;
2741
2819
  "value"?: string | number;
2742
2820
  }
2743
2821
  interface BcmResult {
@@ -2798,6 +2876,7 @@ declare namespace LocalJSX {
2798
2876
  "searchable"?: boolean;
2799
2877
  "size"?: 'small' | 'medium' | 'large';
2800
2878
  "template"?: string;
2879
+ "tooltip"?: string;
2801
2880
  "treeview"?: boolean;
2802
2881
  "value"?: string;
2803
2882
  "value2"?: string;
@@ -2882,6 +2961,7 @@ declare namespace LocalJSX {
2882
2961
  "pending"?: boolean;
2883
2962
  "required"?: boolean;
2884
2963
  "size"?: 'small' | 'medium';
2964
+ "tooltip"?: string;
2885
2965
  "value"?: any;
2886
2966
  }
2887
2967
  interface BcmTab {
@@ -2957,7 +3037,7 @@ declare namespace LocalJSX {
2957
3037
  interface BcmTextarea {
2958
3038
  "caption"?: string;
2959
3039
  "captionError"?: string;
2960
- "captionType"?: 'default' | 'primary' | 'success' | 'warning' | 'error';
3040
+ "captionType"?: 'primary' | 'success' | 'warning' | 'error' | 'default';
2961
3041
  "clearable"?: boolean;
2962
3042
  "disabled"?: boolean;
2963
3043
  "fullWidth"?: boolean;
@@ -2976,6 +3056,7 @@ declare namespace LocalJSX {
2976
3056
  "resize"?: 'vertical' | 'none' | 'auto';
2977
3057
  "rows"?: number;
2978
3058
  "size"?: 'small' | 'medium' | 'large';
3059
+ "tooltip"?: string;
2979
3060
  "value"?: string;
2980
3061
  }
2981
3062
  interface BcmTimePicker {
@@ -3155,6 +3236,7 @@ declare namespace LocalJSX {
3155
3236
  "bcm-header": BcmHeader;
3156
3237
  "bcm-icon": BcmIcon;
3157
3238
  "bcm-input": BcmInput;
3239
+ "bcm-label": BcmLabel;
3158
3240
  "bcm-link": BcmLink;
3159
3241
  "bcm-list": BcmList;
3160
3242
  "bcm-list-item": BcmListItem;
@@ -3245,6 +3327,7 @@ declare module "@stencil/core" {
3245
3327
  "bcm-header": LocalJSX.BcmHeader & JSXBase.HTMLAttributes<HTMLBcmHeaderElement>;
3246
3328
  "bcm-icon": LocalJSX.BcmIcon & JSXBase.HTMLAttributes<HTMLBcmIconElement>;
3247
3329
  "bcm-input": LocalJSX.BcmInput & JSXBase.HTMLAttributes<HTMLBcmInputElement>;
3330
+ "bcm-label": LocalJSX.BcmLabel & JSXBase.HTMLAttributes<HTMLBcmLabelElement>;
3248
3331
  "bcm-link": LocalJSX.BcmLink & JSXBase.HTMLAttributes<HTMLBcmLinkElement>;
3249
3332
  "bcm-list": LocalJSX.BcmList & JSXBase.HTMLAttributes<HTMLBcmListElement>;
3250
3333
  "bcm-list-item": LocalJSX.BcmListItem & JSXBase.HTMLAttributes<HTMLBcmListItemElement>;
File without changes
@@ -0,0 +1,9 @@
1
+ export declare class ColorHelper {
2
+ static isHex: (str: string) => boolean;
3
+ static isRgb: (str: string) => boolean;
4
+ static isRgba: (str: string) => boolean;
5
+ static isHsl: (str: string) => boolean;
6
+ static isHsla: (str: string) => boolean;
7
+ static convertColorToHex: (color: string) => any;
8
+ static reverseColor: (color: string) => "#000000" | "#FFFFFF";
9
+ }
@@ -0,0 +1,10 @@
1
+ export declare class Generate {
2
+ static UID: () => string;
3
+ static getIconAttrWithStatusType: (status: any, loading?: boolean) => {
4
+ icon: string;
5
+ color: string;
6
+ };
7
+ static createComponent: (element: any, props: any) => any;
8
+ static debounceInput: (func: any, wait: any, immediate: any) => () => void;
9
+ static flatArray: (arr: any) => any;
10
+ }
@@ -0,0 +1,9 @@
1
+ export declare class NumberHelper {
2
+ static isNumber: (str: string) => boolean;
3
+ static convertToNumber: (str: string) => number;
4
+ static replaceNumber: (str: string) => string;
5
+ static replaceFloat: (str: string) => string;
6
+ static toFixed: (num: number, fixed: number) => string;
7
+ static parseFloatFixed: (str: string, fixed: number) => string;
8
+ static getDecimalLength: (str: string) => number;
9
+ }
@@ -0,0 +1,20 @@
1
+ export declare class StringHelper {
2
+ static lowercase: (str: string) => string;
3
+ static uppercase: (str: string) => string;
4
+ static capitalize: (str: string) => string;
5
+ static camelCase: (str: string) => string;
6
+ static kebabCase: (str: string) => string;
7
+ static snakeCase: (str: string) => string;
8
+ static titleCase: (str: string) => string;
9
+ static trim: (str: string) => string;
10
+ static trimLeft: (str: string) => string;
11
+ static trimRight: (str: string) => string;
12
+ static trimAll: (str: string) => string;
13
+ static replace: (str: string, search: string, replace: string) => string;
14
+ static remove: (str: string, search: string) => string;
15
+ static isNullOrEmpty: (str: string) => boolean;
16
+ static localizationMessage: (str: any, args: any) => any;
17
+ static getMessage: (type: string, args?: any[]) => any;
18
+ static split: (str: string, separator: string) => string[];
19
+ static textContains: (str: string, search: string) => boolean;
20
+ }
@@ -0,0 +1,8 @@
1
+ export declare class Validators {
2
+ static isEmailValid: (str: string) => boolean;
3
+ static isUrlValid: (str: string) => boolean;
4
+ static isNumberValid: (str: string) => boolean;
5
+ static isNumberFloatValid: (str: string) => boolean;
6
+ static isPhoneValid: (str: string) => boolean;
7
+ static isValidate: (str: string, type: string) => boolean;
8
+ }
File without changes
@@ -0,0 +1,19 @@
1
+ import Bcm from "./bcm";
2
+ export declare type SizeTypes = 'small' | 'medium' | 'large';
3
+ export declare type FullSizeTypes = SizeTypes | 'xsmall' | 'xlarge' | 'xxlarge' | 'xxxlarge';
4
+ export declare type KindTypes = keyof typeof Bcm.Kind;
5
+ export declare type ShapeTypes = keyof typeof Bcm.Shape;
6
+ export declare type HtmlElementTypes = keyof typeof Bcm.HtmlElementType;
7
+ export declare type StatusTypes = keyof typeof Bcm.Status;
8
+ export declare type ButtonTypes = keyof typeof Bcm.ButtonType;
9
+ export declare type IconPositionTypes = keyof typeof Bcm.IconPosition;
10
+ export declare type DirectionTypes = keyof typeof Bcm.Direction;
11
+ export declare type TagTypes = keyof typeof Bcm.TagType;
12
+ export declare type FontSizesTypes = keyof typeof Bcm.FontSize;
13
+ export declare type FontWeightTypes = keyof typeof Bcm.FontWeight;
14
+ export declare type ColorPaletteTypes = keyof typeof Bcm.ColorPalette;
15
+ export declare type PreDefinedIconSizes = keyof typeof Bcm.PreDefinedIconSize;
16
+ export declare type InputTypes = keyof typeof Bcm.InputType;
17
+ export declare type IndeterminateTypes = keyof typeof Bcm.IndeterminateType;
18
+ export declare type PlacementTypes = keyof typeof Bcm.Placement;
19
+ export declare type TrigglerTypes = keyof typeof Bcm.TriggerType;