@koobiq/components 17.0.0-beta.1 → 17.0.0-rc.1

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 (162) hide show
  1. package/autocomplete/autocomplete-trigger.directive.d.ts +7 -1
  2. package/button-toggle/_button-toggle-theme.scss +4 -0
  3. package/checkbox/checkbox.scss +0 -1
  4. package/code-block/_code-block-theme.scss +15 -9
  5. package/code-block/actionbar.component.scss +1 -1
  6. package/code-block/code-block.component.d.ts +3 -0
  7. package/code-block/code-block.scss +14 -4
  8. package/core/datetime/date-adapter.d.ts +1 -1
  9. package/core/datetime/date-formats.d.ts +1 -1
  10. package/core/formatters/date/formatter.d.ts +2 -2
  11. package/core/formatters/date/formatter.pipe.d.ts +1 -1
  12. package/core/locales/en-US.d.ts +25 -22
  13. package/core/locales/es-LA.d.ts +24 -27
  14. package/core/locales/fa-IR.d.ts +24 -28
  15. package/core/locales/formatters.d.ts +121 -0
  16. package/core/locales/index.d.ts +7 -0
  17. package/core/locales/locale-service.d.ts +146 -32
  18. package/core/locales/pt-BR.d.ts +24 -27
  19. package/core/locales/ru-RU.d.ts +25 -23
  20. package/core/locales/zh-CN.d.ts +25 -27
  21. package/core/styles/_koobiq-theme.scss +3 -1
  22. package/core/styles/_variables.scss +0 -9
  23. package/core/styles/common/_overlay.scss +4 -0
  24. package/core/styles/theming/_components-theming.scss +59 -21
  25. package/core/styles/theming/{_scrollbars-theme.scss → _scrollbar-theme.scss} +19 -3
  26. package/core/styles/typography/_typography.scss +3 -1
  27. package/core/utils/data-size/data-size.pipe.d.ts +1 -1
  28. package/ellipsis-center/ellipsis-center.directive.d.ts +3 -3
  29. package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +14 -2
  30. package/esm2022/code-block/actionbar.component.mjs +2 -2
  31. package/esm2022/code-block/code-block.component.mjs +21 -5
  32. package/esm2022/core/datetime/date-adapter.mjs +2 -2
  33. package/esm2022/core/datetime/date-formats.mjs +1 -1
  34. package/esm2022/core/formatters/date/formatter.mjs +4 -4
  35. package/esm2022/core/formatters/date/formatter.pipe.mjs +1 -1
  36. package/esm2022/core/locales/en-US.mjs +25 -22
  37. package/esm2022/core/locales/es-LA.mjs +24 -29
  38. package/esm2022/core/locales/fa-IR.mjs +24 -28
  39. package/esm2022/core/locales/formatters.mjs +126 -0
  40. package/esm2022/core/locales/index.mjs +8 -1
  41. package/esm2022/core/locales/locale-service.mjs +9 -8
  42. package/esm2022/core/locales/pt-BR.mjs +24 -27
  43. package/esm2022/core/locales/ru-RU.mjs +25 -25
  44. package/esm2022/core/locales/zh-CN.mjs +25 -27
  45. package/esm2022/core/utils/data-size/data-size.pipe.mjs +3 -3
  46. package/esm2022/core/version.mjs +2 -2
  47. package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +13 -13
  48. package/esm2022/file-upload/file-upload.mjs +15 -1
  49. package/esm2022/file-upload/file-upload.module.mjs +8 -4
  50. package/esm2022/file-upload/multiple-file-upload.component.mjs +74 -67
  51. package/esm2022/file-upload/single-file-upload.component.mjs +70 -62
  52. package/esm2022/modal/modal.component.mjs +3 -6
  53. package/esm2022/modal/modal.type.mjs +1 -1
  54. package/esm2022/navbar/navbar-item.component.mjs +24 -68
  55. package/esm2022/navbar/navbar.component.mjs +4 -4
  56. package/esm2022/navbar/navbar.module.mjs +2 -6
  57. package/esm2022/navbar/vertical-navbar.component.mjs +3 -8
  58. package/esm2022/popover/popover-confirm.component.mjs +3 -3
  59. package/esm2022/popover/popover.component.mjs +3 -3
  60. package/esm2022/scrollbar/index.mjs +2 -0
  61. package/esm2022/scrollbar/koobiq-components-scrollbar.mjs +5 -0
  62. package/esm2022/scrollbar/public-api.mjs +5 -0
  63. package/esm2022/scrollbar/scrollbar.component.mjs +130 -0
  64. package/esm2022/scrollbar/scrollbar.directive.mjs +97 -0
  65. package/esm2022/scrollbar/scrollbar.module.mjs +20 -0
  66. package/esm2022/scrollbar/scrollbar.types.mjs +13 -0
  67. package/esm2022/select/select.component.mjs +26 -17
  68. package/esm2022/sidepanel/sidepanel-animations.mjs +5 -5
  69. package/esm2022/sidepanel/sidepanel-container.component.mjs +6 -6
  70. package/esm2022/sidepanel/sidepanel-directives.mjs +13 -13
  71. package/esm2022/tabs/tab-body.component.mjs +3 -3
  72. package/esm2022/tags/tag-input.mjs +28 -8
  73. package/esm2022/timezone/timezone-option.component.mjs +7 -6
  74. package/esm2022/timezone/timezone-select.component.mjs +3 -3
  75. package/esm2022/timezone/timezone.utils.mjs +9 -4
  76. package/esm2022/timezone/utc-offset.pipe.mjs +3 -3
  77. package/esm2022/toast/toast-animations.mjs +3 -3
  78. package/esm2022/toast/toast-container.component.mjs +2 -2
  79. package/esm2022/toast/toast.component.mjs +4 -4
  80. package/esm2022/toast/toast.service.mjs +13 -5
  81. package/esm2022/tooltip/tooltip.component.mjs +3 -3
  82. package/esm2022/tree-select/tree-select.component.mjs +7 -5
  83. package/fesm2022/koobiq-components-autocomplete.mjs +13 -1
  84. package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
  85. package/fesm2022/koobiq-components-code-block.mjs +22 -6
  86. package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
  87. package/fesm2022/koobiq-components-core.mjs +277 -162
  88. package/fesm2022/koobiq-components-core.mjs.map +1 -1
  89. package/fesm2022/koobiq-components-ellipsis-center.mjs +12 -12
  90. package/fesm2022/koobiq-components-ellipsis-center.mjs.map +1 -1
  91. package/fesm2022/koobiq-components-file-upload.mjs +153 -121
  92. package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
  93. package/fesm2022/koobiq-components-modal.mjs +2 -5
  94. package/fesm2022/koobiq-components-modal.mjs.map +1 -1
  95. package/fesm2022/koobiq-components-navbar.mjs +29 -91
  96. package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
  97. package/fesm2022/koobiq-components-popover.mjs +4 -4
  98. package/fesm2022/koobiq-components-popover.mjs.map +1 -1
  99. package/fesm2022/koobiq-components-scrollbar.mjs +256 -0
  100. package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -0
  101. package/fesm2022/koobiq-components-select.mjs +22 -13
  102. package/fesm2022/koobiq-components-select.mjs.map +1 -1
  103. package/fesm2022/koobiq-components-sidepanel.mjs +20 -20
  104. package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
  105. package/fesm2022/koobiq-components-tabs.mjs +2 -2
  106. package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
  107. package/fesm2022/koobiq-components-tags.mjs +26 -7
  108. package/fesm2022/koobiq-components-tags.mjs.map +1 -1
  109. package/fesm2022/koobiq-components-timezone.mjs +20 -15
  110. package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
  111. package/fesm2022/koobiq-components-toast.mjs +17 -9
  112. package/fesm2022/koobiq-components-toast.mjs.map +1 -1
  113. package/fesm2022/koobiq-components-tooltip.mjs +2 -2
  114. package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
  115. package/fesm2022/koobiq-components-tree-select.mjs +6 -4
  116. package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
  117. package/file-upload/file-upload.d.ts +1 -1
  118. package/file-upload/file-upload.module.d.ts +2 -1
  119. package/file-upload/multiple-file-upload.component.d.ts +20 -14
  120. package/file-upload/single-file-upload.component.d.ts +21 -18
  121. package/loader-overlay/loader-overlay.scss +2 -2
  122. package/modal/modal.component.d.ts +1 -2
  123. package/modal/modal.scss +0 -5
  124. package/modal/modal.type.d.ts +0 -1
  125. package/navbar/_navbar-item_horizontal.scss +97 -0
  126. package/navbar/_navbar-item_vertical.scss +98 -0
  127. package/navbar/_navbar-theme.scss +57 -60
  128. package/navbar/navbar-brand.scss +76 -16
  129. package/navbar/navbar-divider.scss +13 -4
  130. package/navbar/navbar-item.component.d.ts +1 -15
  131. package/navbar/navbar-item.scss +39 -90
  132. package/navbar/navbar.module.d.ts +1 -1
  133. package/navbar/navbar.scss +13 -1
  134. package/navbar/vertical-navbar.scss +7 -14
  135. package/package.json +16 -8
  136. package/popover/popover.scss +4 -9
  137. package/prebuilt-themes/dark-theme.css +1 -1
  138. package/prebuilt-themes/light-theme.css +1 -1
  139. package/scrollbar/_scrollbar-component-theme.scss +52 -0
  140. package/scrollbar/index.d.ts +1 -0
  141. package/scrollbar/public-api.d.ts +4 -0
  142. package/scrollbar/scrollbar.component.d.ts +33 -0
  143. package/scrollbar/scrollbar.component.scss +559 -0
  144. package/scrollbar/scrollbar.directive.d.ts +48 -0
  145. package/scrollbar/scrollbar.module.d.ts +8 -0
  146. package/scrollbar/scrollbar.types.d.ts +33 -0
  147. package/select/select.component.d.ts +4 -3
  148. package/sidepanel/sidepanel-animations.d.ts +2 -2
  149. package/sidepanel/sidepanel-directives.d.ts +5 -5
  150. package/tags/tag-input.d.ts +9 -4
  151. package/timezone/_timezone-option-theme.scss +8 -0
  152. package/timezone/timezone-option.component.scss +4 -0
  153. package/timezone/timezone-select.component.scss +13 -0
  154. package/timezone/timezone.utils.d.ts +4 -0
  155. package/timezone/utc-offset.pipe.d.ts +3 -1
  156. package/toast/toast-animations.d.ts +1 -1
  157. package/toast/toast-container.component.scss +1 -9
  158. package/toast/toast.component.scss +0 -4
  159. package/toast/toast.service.d.ts +5 -3
  160. package/tooltip/tooltip.scss +0 -3
  161. package/esm2022/navbar/vertical-navbar.animation.mjs +0 -10
  162. package/navbar/vertical-navbar.animation.d.ts +0 -2
@@ -4,9 +4,9 @@ import { InjectionToken, isDevMode, NgModule, Optional, Inject, inject, LOCALE_I
4
4
  import * as i2$1 from '@angular/cdk/bidi';
5
5
  import { BidiModule } from '@angular/cdk/bidi';
6
6
  import { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';
7
- import * as i1 from '@mosaic-design/date-adapter';
8
- import { DateAdapter as DateAdapter$1 } from '@mosaic-design/date-adapter';
9
- import { DateFormatter as DateFormatter$1 } from '@mosaic-design/date-formatter';
7
+ import * as i1 from '@koobiq/date-adapter';
8
+ import { DateAdapter as DateAdapter$1 } from '@koobiq/date-adapter';
9
+ import { DateFormatter as DateFormatter$1 } from '@koobiq/date-formatter';
10
10
  import { BehaviorSubject, Subject, pairwise } from 'rxjs';
11
11
  import * as i2 from '@angular/common';
12
12
  import { CommonModule, DOCUMENT } from '@angular/common';
@@ -527,195 +527,310 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImpor
527
527
  }], ctorParameters: () => [{ type: DateAdapter }, { type: DateFormatter }] });
528
528
 
529
529
  const enUSLocaleData = {
530
- 'en-US': {
531
- select: { hiddenItemsText: 'one more' },
532
- datepicker: {
533
- placeholder: 'yyyy-mm-dd',
534
- dateInput: 'yyyy-MM-dd'
535
- },
536
- formatters: {
537
- number: {
538
- rounding: {
539
- separator: '',
540
- groupSeparator: '.',
541
- thousand: 'K',
542
- million: 'M',
543
- billion: 'B',
544
- trillion: 'T'
545
- }
546
- }
530
+ select: { hiddenItemsText: '{{ number }} more' },
531
+ datepicker: {
532
+ placeholder: 'yyyy-mm-dd',
533
+ dateInput: 'yyyy-MM-dd'
534
+ },
535
+ timepicker: {
536
+ placeholder: {
537
+ full: 'hh:mm:ss',
538
+ short: 'hh:mm'
539
+ }
540
+ },
541
+ fileUpload: {
542
+ single: {
543
+ captionText: 'Drag file here or {{ browseLink }}',
544
+ browseLink: 'choose'
547
545
  },
548
- input: {
549
- number: {
550
- groupSeparator: [','],
551
- fractionSeparator: '.'
546
+ multiple: {
547
+ captionText: 'Drag here or {{ browseLink }}',
548
+ captionTextWhenSelected: 'Drag more files or {{ browseLink }}',
549
+ captionTextForCompactSize: 'Drag files or {{ browseLink }}',
550
+ browseLink: 'choose',
551
+ title: 'Upload files',
552
+ gridHeaders: {
553
+ file: 'File',
554
+ size: 'Size'
552
555
  }
553
556
  }
554
557
  }
555
558
  };
556
559
 
557
560
  const esLALocaleData = {
558
- 'es-LA': {
559
- select: { hiddenItemsText: 'más' },
560
- datepicker: {
561
- placeholder: 'dd/mm/aaaa'
562
- },
563
- timepicker: {
564
- placeholder: {
565
- full: 'hh:mm:ss',
566
- short: 'hh:mm'
567
- }
568
- },
569
- formatters: {
570
- number: {
571
- rounding: {
572
- separator: '',
573
- groupSeparator: ',',
574
- thousand: 'K',
575
- million: 'M',
576
- billion: 'MRD',
577
- trillion: 'B'
578
- }
579
- }
561
+ select: { hiddenItemsText: '{{ number }} más' },
562
+ datepicker: {
563
+ placeholder: 'dd/mm/aaaa'
564
+ },
565
+ timepicker: {
566
+ placeholder: {
567
+ full: 'hh:mm:ss',
568
+ short: 'hh:mm'
569
+ }
570
+ },
571
+ fileUpload: {
572
+ single: {
573
+ captionText: 'Arrastre el archivo aquí o {{ browseLink }}',
574
+ browseLink: 'elija'
580
575
  },
581
- input: {
582
- number: {
583
- // nbsp is generated automatically and used by default in spec
584
- // tslint:disable-next-line:no-irregular-whitespace
585
- groupSeparator: [' ', ' '],
586
- fractionSeparator: ','
576
+ multiple: {
577
+ captionText: 'Arrastre aquí o {{ browseLink }}',
578
+ captionTextWhenSelected: 'Arrastre más archivos aquí o {{ browseLink }}',
579
+ captionTextForCompactSize: 'Arrastre archivos o {{ browseLink }}',
580
+ browseLink: 'elija',
581
+ title: 'Cargue los archivos',
582
+ gridHeaders: {
583
+ file: 'Archivo',
584
+ size: 'Tamaño'
587
585
  }
588
586
  }
589
587
  }
590
588
  };
591
589
 
592
590
  const faIRLocaleData = {
593
- 'fa-IR': {
594
- select: { hiddenItemsText: 'أكثر' },
595
- datepicker: {
596
- placeholder: 'روز/ ماه/سال'
597
- },
598
- timepicker: {
599
- placeholder: {
600
- full: 'ثانیه:دقیقه:ساعت',
601
- short: 'دقیقه:ساعت'
602
- }
603
- },
604
- formatters: {
605
- number: {
606
- rounding: {
607
- separator: ' ',
608
- groupSeparator: '٫',
609
- thousand: 'هزار',
610
- million: 'میلیون',
611
- billion: 'م',
612
- trillion: 'تریلیون',
613
- rtl: true
614
- }
615
- }
591
+ select: { hiddenItemsText: '{{ number }} بیشتر' },
592
+ datepicker: {
593
+ placeholder: 'روز/ ماه/سال'
594
+ },
595
+ timepicker: {
596
+ placeholder: {
597
+ full: 'ثانیه:دقیقه:ساعت',
598
+ short: 'دقیقه:ساعت'
599
+ }
600
+ },
601
+ fileUpload: {
602
+ single: {
603
+ captionText: 'فایل را به اینجا بکشید یا {{ browseLink }}',
604
+ browseLink: 'انتخاب کنید'
616
605
  },
617
- input: {
618
- number: {
619
- groupSeparator: ['\u066C'],
620
- fractionSeparator: '\u066B'
606
+ multiple: {
607
+ captionText: 'به اینجا بکشید یا {{ browseLink }}',
608
+ captionTextWhenSelected: 'فایل های بیشتری را بکشید یا {{ browseLink }}',
609
+ captionTextForCompactSize: 'فایل ها را بکشید یا {{ browseLink }}',
610
+ browseLink: 'انتخاب کنید',
611
+ title: 'فایل ها را آپلود کنید',
612
+ gridHeaders: {
613
+ file: 'فایل',
614
+ size: 'اندازه'
621
615
  }
622
616
  }
623
617
  }
624
618
  };
625
619
 
626
620
  const ptBRLocaleData = {
627
- 'pt-BR': {
628
- select: { hiddenItemsText: 'mais' },
629
- datepicker: {
630
- placeholder: 'dd/mm/yyyy'
631
- },
632
- timepicker: {
633
- placeholder: {
634
- full: 'hh:mm:ss',
635
- short: 'hh:mm'
636
- }
637
- },
638
- formatters: {
639
- number: {
640
- rounding: {
641
- separator: ' ',
642
- groupSeparator: ',',
643
- thousand: 'mil',
644
- million: 'mi',
645
- billion: 'bi',
646
- trillion: 'tri'
647
- }
648
- }
621
+ select: { hiddenItemsText: '{{ number }} mais' },
622
+ datepicker: {
623
+ placeholder: 'dd/mm/yyyy'
624
+ },
625
+ timepicker: {
626
+ placeholder: {
627
+ full: 'hh:mm:ss',
628
+ short: 'hh:mm'
629
+ }
630
+ },
631
+ fileUpload: {
632
+ single: {
633
+ captionText: 'Arrastar o arquivo aqui ou {{ browseLink }}',
634
+ browseLink: 'escolher'
649
635
  },
650
- input: {
651
- number: {
652
- groupSeparator: ['.'],
653
- fractionSeparator: ','
636
+ multiple: {
637
+ captionText: 'Arrastar aqui ou {{ browseLink }}',
638
+ captionTextWhenSelected: 'Arrastar mais arquivos aqui ou {{ browseLink }}',
639
+ captionTextForCompactSize: 'Arrastar arquivos ou {{ browseLink }}',
640
+ browseLink: 'escolher',
641
+ title: 'Carregar arquivos',
642
+ gridHeaders: {
643
+ file: 'Arquivo',
644
+ size: 'Tamanho'
654
645
  }
655
646
  }
656
647
  }
657
648
  };
658
649
 
659
650
  const ruRULocaleData = {
660
- 'ru-RU': {
661
- select: { hiddenItemsText: 'еще' },
662
- datepicker: {
663
- placeholder: 'дд.мм.гггг',
664
- dateInput: 'dd.MM.yyyy'
651
+ select: { hiddenItemsText: 'еще {{ number }}' },
652
+ datepicker: {
653
+ placeholder: 'дд.мм.гггг',
654
+ dateInput: 'dd.MM.yyyy'
655
+ },
656
+ timepicker: {
657
+ placeholder: {
658
+ full: 'hh:mm:ss',
659
+ short: 'hh:mm'
660
+ }
661
+ },
662
+ fileUpload: {
663
+ single: {
664
+ captionText: 'Перетащите файл или {{ browseLink }}',
665
+ browseLink: 'выберите'
665
666
  },
666
- formatters: {
667
- number: {
668
- rounding: {
669
- separator: ' ',
670
- groupSeparator: ',',
671
- thousand: 'К',
672
- million: 'М',
673
- billion: 'М',
674
- trillion: 'Т'
675
- }
667
+ multiple: {
668
+ captionText: 'Перетащите сюда или {{ browseLink }}',
669
+ captionTextWhenSelected: 'Перетащите еще или {{ browseLink }}',
670
+ captionTextForCompactSize: 'Перетащите файлы или {{ browseLink }}',
671
+ browseLink: 'выберите',
672
+ title: 'Загрузите файлы',
673
+ gridHeaders: {
674
+ file: 'Файл',
675
+ size: 'Размер'
676
676
  }
677
+ }
678
+ }
679
+ };
680
+
681
+ const zhCNLocaleData = {
682
+ select: { hiddenItemsText: '另外 {{ number }} 个' },
683
+ datepicker: {
684
+ placeholder: '年/月/日'
685
+ },
686
+ timepicker: {
687
+ placeholder: {
688
+ full: '时:分:秒',
689
+ short: '时:分'
690
+ }
691
+ },
692
+ fileUpload: {
693
+ single: {
694
+ captionText: '将文件拖到此处或{{ browseLink }}',
695
+ browseLink: '选择'
677
696
  },
678
- input: {
679
- number: {
680
- // nbsp is generated automatically and used by default in spec
681
- // tslint:disable-next-line:no-irregular-whitespace
682
- groupSeparator: [' ', ' '],
683
- fractionSeparator: ',',
684
- startFormattingFrom: 4
697
+ multiple: {
698
+ captionText: '拖到此处或{{ browseLink }}',
699
+ captionTextWhenSelected: '拖动更多文件或{{ browseLink }}',
700
+ captionTextForCompactSize: '拖动文件或{{ browseLink }}',
701
+ browseLink: '选择',
702
+ title: '上传文件',
703
+ gridHeaders: {
704
+ file: '文件',
705
+ size: '大小'
685
706
  }
686
707
  }
687
708
  }
688
709
  };
689
710
 
690
- const znCNLocaleData = {
691
- 'zh-CN': {
692
- select: { hiddenItemsText: '更多的' },
693
- datepicker: {
694
- placeholder: '年/月/日'
695
- },
696
- timepicker: {
697
- placeholder: {
698
- full: '时:分:秒',
699
- short: '时:分'
711
+ const enUSFormattersData = {
712
+ formatters: {
713
+ number: {
714
+ rounding: {
715
+ separator: '',
716
+ groupSeparator: '.',
717
+ thousand: 'K',
718
+ million: 'M',
719
+ billion: 'B',
720
+ trillion: 'T'
700
721
  }
701
- },
702
- formatters: {
703
- number: {
704
- rounding: {
705
- separator: ' ',
706
- groupSeparator: '.',
707
- tenThousand: '万',
708
- oneHundredMillions: '亿',
709
- trillion: '兆'
710
- }
722
+ }
723
+ },
724
+ input: {
725
+ number: {
726
+ groupSeparator: [','],
727
+ fractionSeparator: '.'
728
+ }
729
+ }
730
+ };
731
+ const esLAFormattersData = {
732
+ formatters: {
733
+ number: {
734
+ rounding: {
735
+ separator: '',
736
+ groupSeparator: ',',
737
+ thousand: 'K',
738
+ million: 'M',
739
+ billion: 'MRD',
740
+ trillion: 'B'
711
741
  }
712
- },
713
- input: {
714
- number: {
715
- groupSeparator: [','],
716
- fractionSeparator: '.'
742
+ }
743
+ },
744
+ input: {
745
+ number: {
746
+ // nbsp is generated automatically and used by default in spec
747
+ // tslint:disable-next-line:no-irregular-whitespace
748
+ groupSeparator: [' ', ' '],
749
+ fractionSeparator: ','
750
+ }
751
+ }
752
+ };
753
+ const faIRFormattersData = {
754
+ formatters: {
755
+ number: {
756
+ rounding: {
757
+ separator: ' ',
758
+ groupSeparator: '٫',
759
+ thousand: 'هزار',
760
+ million: 'میلیون',
761
+ billion: 'م',
762
+ trillion: 'تریلیون',
763
+ rtl: true
717
764
  }
718
765
  }
766
+ },
767
+ input: {
768
+ number: {
769
+ groupSeparator: ['\u066C'],
770
+ fractionSeparator: '\u066B'
771
+ }
772
+ }
773
+ };
774
+ const ptBRFormattersData = {
775
+ formatters: {
776
+ number: {
777
+ rounding: {
778
+ separator: ' ',
779
+ groupSeparator: ',',
780
+ thousand: 'mil',
781
+ million: 'mi',
782
+ billion: 'bi',
783
+ trillion: 'tri'
784
+ }
785
+ }
786
+ },
787
+ input: {
788
+ number: {
789
+ groupSeparator: ['.'],
790
+ fractionSeparator: ','
791
+ }
792
+ }
793
+ };
794
+ const ruRUFormattersData = {
795
+ formatters: {
796
+ number: {
797
+ rounding: {
798
+ separator: ' ',
799
+ groupSeparator: ',',
800
+ thousand: 'К',
801
+ million: 'М',
802
+ billion: 'М',
803
+ trillion: 'Т'
804
+ }
805
+ }
806
+ },
807
+ input: {
808
+ number: {
809
+ // nbsp is generated automatically and used by default in spec
810
+ // tslint:disable-next-line:no-irregular-whitespace
811
+ groupSeparator: [' ', ' '],
812
+ fractionSeparator: ',',
813
+ startFormattingFrom: 4
814
+ }
815
+ }
816
+ };
817
+ const zhCNFormattersData = {
818
+ formatters: {
819
+ number: {
820
+ rounding: {
821
+ separator: ' ',
822
+ groupSeparator: '.',
823
+ tenThousand: '万',
824
+ oneHundredMillions: '亿',
825
+ trillion: '兆'
826
+ }
827
+ }
828
+ },
829
+ input: {
830
+ number: {
831
+ groupSeparator: [','],
832
+ fractionSeparator: '.'
833
+ }
719
834
  }
720
835
  };
721
836
 
@@ -731,12 +846,12 @@ function KBQ_DEFAULT_LOCALE_DATA_FACTORY() {
731
846
  { id: 'ru-RU', name: 'Русский' },
732
847
  { id: 'fa-IR', name: 'فارسی' }
733
848
  ],
734
- ...ruRULocaleData,
735
- ...enUSLocaleData,
736
- ...esLALocaleData,
737
- ...faIRLocaleData,
738
- ...ptBRLocaleData,
739
- ...znCNLocaleData
849
+ 'en-US': { ...enUSLocaleData, ...enUSFormattersData },
850
+ 'zh-CN': { ...zhCNLocaleData, ...zhCNFormattersData },
851
+ 'es-LA': { ...esLALocaleData, ...esLAFormattersData },
852
+ 'pt-BR': { ...ptBRLocaleData, ...ptBRFormattersData },
853
+ 'ru-RU': { ...ruRULocaleData, ...ruRUFormattersData },
854
+ 'fa-IR': { ...faIRLocaleData, ...faIRFormattersData }
740
855
  };
741
856
  }
742
857
  const KBQ_LOCALE_DATA = new InjectionToken('KBQ_LOCALE_DATA', { providedIn: 'root', factory: KBQ_DEFAULT_LOCALE_DATA_FACTORY });
@@ -2798,12 +2913,12 @@ class KbqDataSizePipe {
2798
2913
  return `${value} ${unit}`;
2799
2914
  }
2800
2915
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqDataSizePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
2801
- /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.2.0", ngImport: i0, type: KbqDataSizePipe, name: "mcDataSize" }); }
2916
+ /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.2.0", ngImport: i0, type: KbqDataSizePipe, name: "kbqDataSize" }); }
2802
2917
  }
2803
2918
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqDataSizePipe, decorators: [{
2804
2919
  type: Pipe,
2805
2920
  args: [{
2806
- name: 'mcDataSize'
2921
+ name: 'kbqDataSize'
2807
2922
  }]
2808
2923
  }] });
2809
2924
  class KbqDataSizeModule {
@@ -2824,11 +2939,11 @@ const validationTooltipShowDelay = 10;
2824
2939
  const validationTooltipHideDelay = 3000;
2825
2940
  const KBQ_VALIDATION = new InjectionToken('KbqUseValidation', { factory: () => ({ useValidation: true }) });
2826
2941
 
2827
- const VERSION = new Version('16.0.0-beta.14+sha-675bf518');
2942
+ const VERSION = new Version('17.0.0-rc.1+sha-975286a');
2828
2943
 
2829
2944
  /**
2830
2945
  * Generated bundle index. Do not edit.
2831
2946
  */
2832
2947
 
2833
- export { AbsoluteDateFormatterPipe, AbsoluteDateShortFormatterPipe, AbsoluteDateTimeFormatterPipe, AbsoluteShortDateTimeFormatterPipe, AnimationCurves, BOTTOM_LEFT_POSITION_PRIORITY, BOTTOM_POSITION_PRIORITY, BOTTOM_RIGHT_POSITION_PRIORITY, DateAdapter, DateFormatter, EXTENDED_OVERLAY_POSITIONS, ErrorStateMatcher, KBQ_CUSTOM_SCROLL_STRATEGY_PROVIDER, KBQ_DATE_FORMATS, KBQ_DATE_LOCALE, KBQ_DATE_LOCALE_FACTORY, KBQ_DEFAULT_LOCALE_DATA_FACTORY, KBQ_DEFAULT_LOCALE_ID, KBQ_FORM_FIELD_REF, KBQ_LABEL_GLOBAL_OPTIONS, KBQ_LOCALE_DATA, KBQ_LOCALE_ID, KBQ_LOCALE_SERVICE, KBQ_NUMBER_FORMATTER_DEFAULT_OPTIONS, KBQ_NUMBER_FORMATTER_OPTIONS, KBQ_OPTION_ACTION_PARENT, KBQ_OPTION_PARENT_COMPONENT, KBQ_PARENT_ANIMATION_COMPONENT, KBQ_SANITY_CHECKS, KBQ_SELECT_SCROLL_STRATEGY, KBQ_SELECT_SCROLL_STRATEGY_PROVIDER, KBQ_TITLE_TEXT_REF, KBQ_VALIDATION, KbqCommonModule, KbqComponentColors, KbqDataSizeModule, KbqDataSizePipe, KbqDecimalPipe, KbqDefaultThemes, KbqForm, KbqFormElement, KbqFormattersModule, KbqFormsModule, KbqHighlightModule, KbqHighlightPipe, KbqLine, KbqLineModule, KbqLineSetter, KbqLocaleService, KbqLocaleServiceModule, KbqMeasureScrollbarService, KbqOptgroup, KbqOptgroupBase, KbqOptgroupMixinBase, KbqOption, KbqOptionActionBase, KbqOptionActionComponent, KbqOptionActionMixinBase, KbqOptionBase, KbqOptionModule, KbqOptionSelectionChange, KbqPopUp, KbqPopUpTrigger, KbqPseudoCheckbox, KbqPseudoCheckboxBase, KbqPseudoCheckboxMixinBase, KbqPseudoCheckboxModule, KbqRoundDecimalPipe, KbqTableNumberPipe, KbqVirtualOption, LEFT_BOTTOM_POSITION_PRIORITY, LEFT_POSITION_PRIORITY, LEFT_TOP_POSITION_PRIORITY, MeasurementSystem, MultipleMode, NUMBER_FORMAT_REGEXP, POSITION_MAP, POSITION_PRIORITY_STRATEGY, POSITION_TO_CSS_MAP, PopUpPlacements, PopUpSizes, PopUpTriggers, PopUpVisibility, RIGHT_BOTTOM_POSITION_PRIORITY, RIGHT_POSITION_PRIORITY, RIGHT_TOP_POSITION_PRIORITY, RangeDateFormatterPipe, RangeDateTimeFormatterPipe, RangeMiddleDateTimeFormatterPipe, RangeShortDateFormatterPipe, RangeShortDateTimeFormatterPipe, RelativeDateFormatterPipe, RelativeDateTimeFormatterPipe, RelativeShortDateFormatterPipe, RelativeShortDateTimeFormatterPipe, SELECT_PANEL_INDENT_PADDING_X, SELECT_PANEL_MAX_HEIGHT, SELECT_PANEL_PADDING_X, SELECT_PANEL_VIEWPORT_PADDING, ShowOnDirtyErrorStateMatcher, TOP_LEFT_POSITION_PRIORITY, TOP_POSITION_PRIORITY, TOP_RIGHT_POSITION_PRIORITY, ThemePalette, ThemeService, VERSION, countGroupLabelsBeforeOption, escapeRegExp, fadeAnimation, formatDataSize, getHumanizedBytes, getKbqSelectDynamicMultipleError, getKbqSelectNonArrayValueError, getKbqSelectNonFunctionValueError, getOptionScrollPosition, isBoolean, isWithin, kbqSelectAnimations, kbqSelectScrollStrategyProviderFactory, mixinColor, mixinDisabled, mixinErrorState, mixinTabIndex, selectEvents, sizeUnitsConfig, toBoolean, validationTooltipHideDelay, validationTooltipShowDelay };
2948
+ export { AbsoluteDateFormatterPipe, AbsoluteDateShortFormatterPipe, AbsoluteDateTimeFormatterPipe, AbsoluteShortDateTimeFormatterPipe, AnimationCurves, BOTTOM_LEFT_POSITION_PRIORITY, BOTTOM_POSITION_PRIORITY, BOTTOM_RIGHT_POSITION_PRIORITY, DateAdapter, DateFormatter, EXTENDED_OVERLAY_POSITIONS, ErrorStateMatcher, KBQ_CUSTOM_SCROLL_STRATEGY_PROVIDER, KBQ_DATE_FORMATS, KBQ_DATE_LOCALE, KBQ_DATE_LOCALE_FACTORY, KBQ_DEFAULT_LOCALE_DATA_FACTORY, KBQ_DEFAULT_LOCALE_ID, KBQ_FORM_FIELD_REF, KBQ_LABEL_GLOBAL_OPTIONS, KBQ_LOCALE_DATA, KBQ_LOCALE_ID, KBQ_LOCALE_SERVICE, KBQ_NUMBER_FORMATTER_DEFAULT_OPTIONS, KBQ_NUMBER_FORMATTER_OPTIONS, KBQ_OPTION_ACTION_PARENT, KBQ_OPTION_PARENT_COMPONENT, KBQ_PARENT_ANIMATION_COMPONENT, KBQ_SANITY_CHECKS, KBQ_SELECT_SCROLL_STRATEGY, KBQ_SELECT_SCROLL_STRATEGY_PROVIDER, KBQ_TITLE_TEXT_REF, KBQ_VALIDATION, KbqCommonModule, KbqComponentColors, KbqDataSizeModule, KbqDataSizePipe, KbqDecimalPipe, KbqDefaultThemes, KbqForm, KbqFormElement, KbqFormattersModule, KbqFormsModule, KbqHighlightModule, KbqHighlightPipe, KbqLine, KbqLineModule, KbqLineSetter, KbqLocaleService, KbqLocaleServiceModule, KbqMeasureScrollbarService, KbqOptgroup, KbqOptgroupBase, KbqOptgroupMixinBase, KbqOption, KbqOptionActionBase, KbqOptionActionComponent, KbqOptionActionMixinBase, KbqOptionBase, KbqOptionModule, KbqOptionSelectionChange, KbqPopUp, KbqPopUpTrigger, KbqPseudoCheckbox, KbqPseudoCheckboxBase, KbqPseudoCheckboxMixinBase, KbqPseudoCheckboxModule, KbqRoundDecimalPipe, KbqTableNumberPipe, KbqVirtualOption, LEFT_BOTTOM_POSITION_PRIORITY, LEFT_POSITION_PRIORITY, LEFT_TOP_POSITION_PRIORITY, MeasurementSystem, MultipleMode, NUMBER_FORMAT_REGEXP, POSITION_MAP, POSITION_PRIORITY_STRATEGY, POSITION_TO_CSS_MAP, PopUpPlacements, PopUpSizes, PopUpTriggers, PopUpVisibility, RIGHT_BOTTOM_POSITION_PRIORITY, RIGHT_POSITION_PRIORITY, RIGHT_TOP_POSITION_PRIORITY, RangeDateFormatterPipe, RangeDateTimeFormatterPipe, RangeMiddleDateTimeFormatterPipe, RangeShortDateFormatterPipe, RangeShortDateTimeFormatterPipe, RelativeDateFormatterPipe, RelativeDateTimeFormatterPipe, RelativeShortDateFormatterPipe, RelativeShortDateTimeFormatterPipe, SELECT_PANEL_INDENT_PADDING_X, SELECT_PANEL_MAX_HEIGHT, SELECT_PANEL_PADDING_X, SELECT_PANEL_VIEWPORT_PADDING, ShowOnDirtyErrorStateMatcher, TOP_LEFT_POSITION_PRIORITY, TOP_POSITION_PRIORITY, TOP_RIGHT_POSITION_PRIORITY, ThemePalette, ThemeService, VERSION, countGroupLabelsBeforeOption, enUSFormattersData, enUSLocaleData, esLAFormattersData, esLALocaleData, escapeRegExp, faIRFormattersData, faIRLocaleData, fadeAnimation, formatDataSize, getHumanizedBytes, getKbqSelectDynamicMultipleError, getKbqSelectNonArrayValueError, getKbqSelectNonFunctionValueError, getOptionScrollPosition, isBoolean, isWithin, kbqSelectAnimations, kbqSelectScrollStrategyProviderFactory, mixinColor, mixinDisabled, mixinErrorState, mixinTabIndex, ptBRFormattersData, ptBRLocaleData, ruRUFormattersData, ruRULocaleData, selectEvents, sizeUnitsConfig, toBoolean, validationTooltipHideDelay, validationTooltipShowDelay, zhCNFormattersData, zhCNLocaleData };
2834
2949
  //# sourceMappingURL=koobiq-components-core.mjs.map