@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.
- package/autocomplete/autocomplete-trigger.directive.d.ts +7 -1
- package/button-toggle/_button-toggle-theme.scss +4 -0
- package/checkbox/checkbox.scss +0 -1
- package/code-block/_code-block-theme.scss +15 -9
- package/code-block/actionbar.component.scss +1 -1
- package/code-block/code-block.component.d.ts +3 -0
- package/code-block/code-block.scss +14 -4
- package/core/datetime/date-adapter.d.ts +1 -1
- package/core/datetime/date-formats.d.ts +1 -1
- package/core/formatters/date/formatter.d.ts +2 -2
- package/core/formatters/date/formatter.pipe.d.ts +1 -1
- package/core/locales/en-US.d.ts +25 -22
- package/core/locales/es-LA.d.ts +24 -27
- package/core/locales/fa-IR.d.ts +24 -28
- package/core/locales/formatters.d.ts +121 -0
- package/core/locales/index.d.ts +7 -0
- package/core/locales/locale-service.d.ts +146 -32
- package/core/locales/pt-BR.d.ts +24 -27
- package/core/locales/ru-RU.d.ts +25 -23
- package/core/locales/zh-CN.d.ts +25 -27
- package/core/styles/_koobiq-theme.scss +3 -1
- package/core/styles/_variables.scss +0 -9
- package/core/styles/common/_overlay.scss +4 -0
- package/core/styles/theming/_components-theming.scss +59 -21
- package/core/styles/theming/{_scrollbars-theme.scss → _scrollbar-theme.scss} +19 -3
- package/core/styles/typography/_typography.scss +3 -1
- package/core/utils/data-size/data-size.pipe.d.ts +1 -1
- package/ellipsis-center/ellipsis-center.directive.d.ts +3 -3
- package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +14 -2
- package/esm2022/code-block/actionbar.component.mjs +2 -2
- package/esm2022/code-block/code-block.component.mjs +21 -5
- package/esm2022/core/datetime/date-adapter.mjs +2 -2
- package/esm2022/core/datetime/date-formats.mjs +1 -1
- package/esm2022/core/formatters/date/formatter.mjs +4 -4
- package/esm2022/core/formatters/date/formatter.pipe.mjs +1 -1
- package/esm2022/core/locales/en-US.mjs +25 -22
- package/esm2022/core/locales/es-LA.mjs +24 -29
- package/esm2022/core/locales/fa-IR.mjs +24 -28
- package/esm2022/core/locales/formatters.mjs +126 -0
- package/esm2022/core/locales/index.mjs +8 -1
- package/esm2022/core/locales/locale-service.mjs +9 -8
- package/esm2022/core/locales/pt-BR.mjs +24 -27
- package/esm2022/core/locales/ru-RU.mjs +25 -25
- package/esm2022/core/locales/zh-CN.mjs +25 -27
- package/esm2022/core/utils/data-size/data-size.pipe.mjs +3 -3
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +13 -13
- package/esm2022/file-upload/file-upload.mjs +15 -1
- package/esm2022/file-upload/file-upload.module.mjs +8 -4
- package/esm2022/file-upload/multiple-file-upload.component.mjs +74 -67
- package/esm2022/file-upload/single-file-upload.component.mjs +70 -62
- package/esm2022/modal/modal.component.mjs +3 -6
- package/esm2022/modal/modal.type.mjs +1 -1
- package/esm2022/navbar/navbar-item.component.mjs +24 -68
- package/esm2022/navbar/navbar.component.mjs +4 -4
- package/esm2022/navbar/navbar.module.mjs +2 -6
- package/esm2022/navbar/vertical-navbar.component.mjs +3 -8
- package/esm2022/popover/popover-confirm.component.mjs +3 -3
- package/esm2022/popover/popover.component.mjs +3 -3
- package/esm2022/scrollbar/index.mjs +2 -0
- package/esm2022/scrollbar/koobiq-components-scrollbar.mjs +5 -0
- package/esm2022/scrollbar/public-api.mjs +5 -0
- package/esm2022/scrollbar/scrollbar.component.mjs +130 -0
- package/esm2022/scrollbar/scrollbar.directive.mjs +97 -0
- package/esm2022/scrollbar/scrollbar.module.mjs +20 -0
- package/esm2022/scrollbar/scrollbar.types.mjs +13 -0
- package/esm2022/select/select.component.mjs +26 -17
- package/esm2022/sidepanel/sidepanel-animations.mjs +5 -5
- package/esm2022/sidepanel/sidepanel-container.component.mjs +6 -6
- package/esm2022/sidepanel/sidepanel-directives.mjs +13 -13
- package/esm2022/tabs/tab-body.component.mjs +3 -3
- package/esm2022/tags/tag-input.mjs +28 -8
- package/esm2022/timezone/timezone-option.component.mjs +7 -6
- package/esm2022/timezone/timezone-select.component.mjs +3 -3
- package/esm2022/timezone/timezone.utils.mjs +9 -4
- package/esm2022/timezone/utc-offset.pipe.mjs +3 -3
- package/esm2022/toast/toast-animations.mjs +3 -3
- package/esm2022/toast/toast-container.component.mjs +2 -2
- package/esm2022/toast/toast.component.mjs +4 -4
- package/esm2022/toast/toast.service.mjs +13 -5
- package/esm2022/tooltip/tooltip.component.mjs +3 -3
- package/esm2022/tree-select/tree-select.component.mjs +7 -5
- package/fesm2022/koobiq-components-autocomplete.mjs +13 -1
- package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
- package/fesm2022/koobiq-components-code-block.mjs +22 -6
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +277 -162
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-ellipsis-center.mjs +12 -12
- package/fesm2022/koobiq-components-ellipsis-center.mjs.map +1 -1
- package/fesm2022/koobiq-components-file-upload.mjs +153 -121
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +2 -5
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +29 -91
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +4 -4
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-scrollbar.mjs +256 -0
- package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -0
- package/fesm2022/koobiq-components-select.mjs +22 -13
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidepanel.mjs +20 -20
- package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
- package/fesm2022/koobiq-components-tabs.mjs +2 -2
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +26 -7
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +20 -15
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +17 -9
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +2 -2
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +6 -4
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/file-upload/file-upload.d.ts +1 -1
- package/file-upload/file-upload.module.d.ts +2 -1
- package/file-upload/multiple-file-upload.component.d.ts +20 -14
- package/file-upload/single-file-upload.component.d.ts +21 -18
- package/loader-overlay/loader-overlay.scss +2 -2
- package/modal/modal.component.d.ts +1 -2
- package/modal/modal.scss +0 -5
- package/modal/modal.type.d.ts +0 -1
- package/navbar/_navbar-item_horizontal.scss +97 -0
- package/navbar/_navbar-item_vertical.scss +98 -0
- package/navbar/_navbar-theme.scss +57 -60
- package/navbar/navbar-brand.scss +76 -16
- package/navbar/navbar-divider.scss +13 -4
- package/navbar/navbar-item.component.d.ts +1 -15
- package/navbar/navbar-item.scss +39 -90
- package/navbar/navbar.module.d.ts +1 -1
- package/navbar/navbar.scss +13 -1
- package/navbar/vertical-navbar.scss +7 -14
- package/package.json +16 -8
- package/popover/popover.scss +4 -9
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/scrollbar/_scrollbar-component-theme.scss +52 -0
- package/scrollbar/index.d.ts +1 -0
- package/scrollbar/public-api.d.ts +4 -0
- package/scrollbar/scrollbar.component.d.ts +33 -0
- package/scrollbar/scrollbar.component.scss +559 -0
- package/scrollbar/scrollbar.directive.d.ts +48 -0
- package/scrollbar/scrollbar.module.d.ts +8 -0
- package/scrollbar/scrollbar.types.d.ts +33 -0
- package/select/select.component.d.ts +4 -3
- package/sidepanel/sidepanel-animations.d.ts +2 -2
- package/sidepanel/sidepanel-directives.d.ts +5 -5
- package/tags/tag-input.d.ts +9 -4
- package/timezone/_timezone-option-theme.scss +8 -0
- package/timezone/timezone-option.component.scss +4 -0
- package/timezone/timezone-select.component.scss +13 -0
- package/timezone/timezone.utils.d.ts +4 -0
- package/timezone/utc-offset.pipe.d.ts +3 -1
- package/toast/toast-animations.d.ts +1 -1
- package/toast/toast-container.component.scss +1 -9
- package/toast/toast.component.scss +0 -4
- package/toast/toast.service.d.ts +5 -3
- package/tooltip/tooltip.scss +0 -3
- package/esm2022/navbar/vertical-navbar.animation.mjs +0 -10
- 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 '@
|
|
8
|
-
import { DateAdapter as DateAdapter$1 } from '@
|
|
9
|
-
import { DateFormatter as DateFormatter$1 } from '@
|
|
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
|
-
'
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
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
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
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
|
-
'
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
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
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
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
|
-
'
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
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
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
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
|
-
'
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
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
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
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
|
-
'
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
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
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
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
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
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
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
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
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
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
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
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
|
-
...
|
|
735
|
-
...
|
|
736
|
-
...esLALocaleData,
|
|
737
|
-
...
|
|
738
|
-
...
|
|
739
|
-
...
|
|
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: "
|
|
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: '
|
|
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('
|
|
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
|