@koobiq/components 17.0.0-rc.2 → 17.0.0-rc.3
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/alert/_alert-theme.scss +58 -19
- package/alert/alert.component.d.ts +23 -3
- package/alert/alert.component.scss +175 -50
- package/core/locales/formatters.d.ts +96 -0
- package/core/locales/locale-service.d.ts +96 -0
- package/core/pop-up/pop-up-trigger.d.ts +3 -1
- package/core/styles/theming/_components-theming.scss +53 -8
- package/core/styles/typography/_typography.scss +35 -2
- package/core/utils/data-size/config.d.ts +20 -2
- package/core/utils/data-size/data-size.pipe.d.ts +10 -9
- package/core/utils/data-size/size.d.ts +3 -4
- package/ellipsis-center/ellipsis-center.directive.d.ts +3 -2
- package/esm2022/alert/alert.component.mjs +52 -5
- package/esm2022/core/animation/select-animations.mjs +4 -4
- package/esm2022/core/locales/formatters.mjs +97 -1
- package/esm2022/core/pop-up/pop-up-trigger.mjs +18 -11
- package/esm2022/core/utils/data-size/config.mjs +5 -17
- package/esm2022/core/utils/data-size/data-size.pipe.mjs +36 -22
- package/esm2022/core/utils/data-size/size.mjs +10 -14
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/dropdown/dropdown-animations.mjs +4 -4
- package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +7 -5
- package/esm2022/file-upload/file-upload.module.mjs +4 -5
- package/esm2022/form-field/password-toggle.mjs +11 -9
- package/esm2022/modal/modal.component.mjs +5 -6
- package/esm2022/navbar/navbar-item.component.mjs +9 -9
- package/esm2022/select/select-option.directive.mjs +7 -5
- package/esm2022/textarea/textarea.component.mjs +4 -4
- package/esm2022/timezone/timezone-option.directive.mjs +7 -5
- package/esm2022/title/title.directive.mjs +2 -3
- package/esm2022/tooltip/tooltip.component.mjs +26 -12
- package/esm2022/tree/padding.directive.mjs +2 -2
- package/fesm2022/koobiq-components-alert.mjs +52 -5
- package/fesm2022/koobiq-components-alert.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +160 -62
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +3 -3
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-ellipsis-center.mjs +5 -4
- package/fesm2022/koobiq-components-ellipsis-center.mjs.map +1 -1
- package/fesm2022/koobiq-components-file-upload.mjs +3 -4
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +15 -15
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +4 -5
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +8 -8
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-select.mjs +5 -4
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-textarea.mjs +3 -3
- package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +5 -4
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-title.mjs +1 -2
- package/fesm2022/koobiq-components-title.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +24 -11
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +1 -1
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/file-upload/file-upload.module.d.ts +1 -1
- package/form-field/password-toggle.d.ts +3 -2
- package/navbar/navbar-item.component.d.ts +4 -4
- package/package.json +6 -6
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/schematics/ng-add/index.js +4 -4
- package/select/select-option.directive.d.ts +3 -2
- package/timezone/timezone-option.directive.d.ts +3 -2
- package/title/title.directive.d.ts +0 -1
- package/tooltip/tooltip.component.d.ts +12 -8
|
@@ -55,10 +55,10 @@ const kbqSelectAnimations = {
|
|
|
55
55
|
opacity: 0
|
|
56
56
|
})),
|
|
57
57
|
transition('void => *', group([
|
|
58
|
-
animate('
|
|
58
|
+
animate('0ms cubic-bezier(0.25, 0.8, 0.25, 1)')
|
|
59
59
|
])),
|
|
60
60
|
transition('* => void', [
|
|
61
|
-
animate('
|
|
61
|
+
animate('0ms 0ms linear', style({ opacity: 0 }))
|
|
62
62
|
])
|
|
63
63
|
]),
|
|
64
64
|
/**
|
|
@@ -70,7 +70,7 @@ const kbqSelectAnimations = {
|
|
|
70
70
|
state('showing', style({ opacity: 1 })),
|
|
71
71
|
transition('void => showing', [
|
|
72
72
|
style({ opacity: 0 }),
|
|
73
|
-
animate('
|
|
73
|
+
animate('0ms 0ms cubic-bezier(0.55, 0, 0.55, 0.2)')
|
|
74
74
|
])
|
|
75
75
|
])
|
|
76
76
|
};
|
|
@@ -726,6 +726,22 @@ const enUSFormattersData = {
|
|
|
726
726
|
groupSeparator: [','],
|
|
727
727
|
fractionSeparator: '.'
|
|
728
728
|
}
|
|
729
|
+
},
|
|
730
|
+
sizeUnits: {
|
|
731
|
+
defaultUnitSystem: 'SI',
|
|
732
|
+
defaultPrecision: 2,
|
|
733
|
+
unitSystems: {
|
|
734
|
+
SI: {
|
|
735
|
+
abbreviations: ['B', 'KB', 'MB', 'GB', 'TB'],
|
|
736
|
+
base: 10,
|
|
737
|
+
power: 3
|
|
738
|
+
},
|
|
739
|
+
IEC: {
|
|
740
|
+
abbreviations: ['B', 'KiB', 'MiB', 'GiB', 'TiB'],
|
|
741
|
+
base: 2,
|
|
742
|
+
power: 10
|
|
743
|
+
}
|
|
744
|
+
}
|
|
729
745
|
}
|
|
730
746
|
};
|
|
731
747
|
const esLAFormattersData = {
|
|
@@ -748,6 +764,22 @@ const esLAFormattersData = {
|
|
|
748
764
|
groupSeparator: [' ', ' '],
|
|
749
765
|
fractionSeparator: ','
|
|
750
766
|
}
|
|
767
|
+
},
|
|
768
|
+
sizeUnits: {
|
|
769
|
+
defaultUnitSystem: 'SI',
|
|
770
|
+
defaultPrecision: 2,
|
|
771
|
+
unitSystems: {
|
|
772
|
+
SI: {
|
|
773
|
+
abbreviations: ['Б', 'КБ', 'МБ', 'ГБ', 'ТБ'],
|
|
774
|
+
base: 10,
|
|
775
|
+
power: 3
|
|
776
|
+
},
|
|
777
|
+
IEC: {
|
|
778
|
+
abbreviations: ['Б', 'КиБ', 'МиБ', 'ГиБ', 'ТиБ'],
|
|
779
|
+
base: 2,
|
|
780
|
+
power: 10
|
|
781
|
+
}
|
|
782
|
+
}
|
|
751
783
|
}
|
|
752
784
|
};
|
|
753
785
|
const faIRFormattersData = {
|
|
@@ -769,6 +801,22 @@ const faIRFormattersData = {
|
|
|
769
801
|
groupSeparator: ['\u066C'],
|
|
770
802
|
fractionSeparator: '\u066B'
|
|
771
803
|
}
|
|
804
|
+
},
|
|
805
|
+
sizeUnits: {
|
|
806
|
+
defaultUnitSystem: 'SI',
|
|
807
|
+
defaultPrecision: 2,
|
|
808
|
+
unitSystems: {
|
|
809
|
+
SI: {
|
|
810
|
+
abbreviations: ['Б', 'КБ', 'МБ', 'ГБ', 'ТБ'],
|
|
811
|
+
base: 10,
|
|
812
|
+
power: 3
|
|
813
|
+
},
|
|
814
|
+
IEC: {
|
|
815
|
+
abbreviations: ['Б', 'КиБ', 'МиБ', 'ГиБ', 'ТиБ'],
|
|
816
|
+
base: 2,
|
|
817
|
+
power: 10
|
|
818
|
+
}
|
|
819
|
+
}
|
|
772
820
|
}
|
|
773
821
|
};
|
|
774
822
|
const ptBRFormattersData = {
|
|
@@ -789,6 +837,22 @@ const ptBRFormattersData = {
|
|
|
789
837
|
groupSeparator: ['.'],
|
|
790
838
|
fractionSeparator: ','
|
|
791
839
|
}
|
|
840
|
+
},
|
|
841
|
+
sizeUnits: {
|
|
842
|
+
defaultUnitSystem: 'SI',
|
|
843
|
+
defaultPrecision: 2,
|
|
844
|
+
unitSystems: {
|
|
845
|
+
SI: {
|
|
846
|
+
abbreviations: ['Б', 'КБ', 'МБ', 'ГБ', 'ТБ'],
|
|
847
|
+
base: 10,
|
|
848
|
+
power: 3
|
|
849
|
+
},
|
|
850
|
+
IEC: {
|
|
851
|
+
abbreviations: ['Б', 'КиБ', 'МиБ', 'ГиБ', 'ТиБ'],
|
|
852
|
+
base: 2,
|
|
853
|
+
power: 10
|
|
854
|
+
}
|
|
855
|
+
}
|
|
792
856
|
}
|
|
793
857
|
};
|
|
794
858
|
const ruRUFormattersData = {
|
|
@@ -812,6 +876,22 @@ const ruRUFormattersData = {
|
|
|
812
876
|
fractionSeparator: ',',
|
|
813
877
|
startFormattingFrom: 4
|
|
814
878
|
}
|
|
879
|
+
},
|
|
880
|
+
sizeUnits: {
|
|
881
|
+
defaultUnitSystem: 'SI',
|
|
882
|
+
defaultPrecision: 2,
|
|
883
|
+
unitSystems: {
|
|
884
|
+
SI: {
|
|
885
|
+
abbreviations: ['Б', 'КБ', 'МБ', 'ГБ', 'ТБ'],
|
|
886
|
+
base: 10,
|
|
887
|
+
power: 3
|
|
888
|
+
},
|
|
889
|
+
IEC: {
|
|
890
|
+
abbreviations: ['Б', 'КиБ', 'МиБ', 'ГиБ', 'ТиБ'],
|
|
891
|
+
base: 2,
|
|
892
|
+
power: 10
|
|
893
|
+
}
|
|
894
|
+
}
|
|
815
895
|
}
|
|
816
896
|
};
|
|
817
897
|
const zhCNFormattersData = {
|
|
@@ -831,6 +911,22 @@ const zhCNFormattersData = {
|
|
|
831
911
|
groupSeparator: [','],
|
|
832
912
|
fractionSeparator: '.'
|
|
833
913
|
}
|
|
914
|
+
},
|
|
915
|
+
sizeUnits: {
|
|
916
|
+
defaultUnitSystem: 'SI',
|
|
917
|
+
defaultPrecision: 2,
|
|
918
|
+
unitSystems: {
|
|
919
|
+
SI: {
|
|
920
|
+
abbreviations: ['Б', 'КБ', 'МБ', 'ГБ', 'ТБ'],
|
|
921
|
+
base: 10,
|
|
922
|
+
power: 3
|
|
923
|
+
},
|
|
924
|
+
IEC: {
|
|
925
|
+
abbreviations: ['Б', 'КиБ', 'МиБ', 'ГиБ', 'ТиБ'],
|
|
926
|
+
base: 2,
|
|
927
|
+
power: 10
|
|
928
|
+
}
|
|
929
|
+
}
|
|
834
930
|
}
|
|
835
931
|
};
|
|
836
932
|
|
|
@@ -2596,20 +2692,17 @@ class KbqPopUpTrigger {
|
|
|
2596
2692
|
this.clearListeners();
|
|
2597
2693
|
if (this.trigger.includes(PopUpTriggers.Click)) {
|
|
2598
2694
|
this.listeners
|
|
2599
|
-
.set('click',
|
|
2600
|
-
.forEach(this.addEventListener);
|
|
2695
|
+
.set(...this.createListener('click', this.show));
|
|
2601
2696
|
}
|
|
2602
2697
|
if (this.trigger.includes(PopUpTriggers.Hover)) {
|
|
2603
2698
|
this.listeners
|
|
2604
|
-
.set('mouseenter',
|
|
2605
|
-
.set('mouseleave',
|
|
2606
|
-
.forEach(this.addEventListener);
|
|
2699
|
+
.set(...this.createListener('mouseenter', this.show))
|
|
2700
|
+
.set(...this.createListener('mouseleave', this.hide));
|
|
2607
2701
|
}
|
|
2608
2702
|
if (this.trigger.includes(PopUpTriggers.Focus)) {
|
|
2609
2703
|
this.listeners
|
|
2610
|
-
.set('focus',
|
|
2611
|
-
.set('blur',
|
|
2612
|
-
.forEach(this.addEventListener);
|
|
2704
|
+
.set(...this.createListener('focus', this.show))
|
|
2705
|
+
.set(...this.createListener('blur', this.hide));
|
|
2613
2706
|
}
|
|
2614
2707
|
if (this.trigger.includes(PopUpTriggers.Keydown)) {
|
|
2615
2708
|
this.listeners
|
|
@@ -2617,9 +2710,10 @@ class KbqPopUpTrigger {
|
|
|
2617
2710
|
if (event instanceof KeyboardEvent && [ENTER, SPACE].includes(event.keyCode)) {
|
|
2618
2711
|
this.show();
|
|
2619
2712
|
}
|
|
2620
|
-
})
|
|
2621
|
-
.forEach(this.addEventListener);
|
|
2713
|
+
});
|
|
2622
2714
|
}
|
|
2715
|
+
this.listeners
|
|
2716
|
+
.forEach(this.addEventListener);
|
|
2623
2717
|
}
|
|
2624
2718
|
/** Updates the position of the current popover. */
|
|
2625
2719
|
updatePosition(reapplyPosition = false) {
|
|
@@ -2657,6 +2751,15 @@ class KbqPopUpTrigger {
|
|
|
2657
2751
|
this.listeners.forEach(this.removeEventListener);
|
|
2658
2752
|
this.listeners.clear();
|
|
2659
2753
|
}
|
|
2754
|
+
createListener(name, listener) {
|
|
2755
|
+
return [
|
|
2756
|
+
name,
|
|
2757
|
+
() => {
|
|
2758
|
+
this.triggerName = name;
|
|
2759
|
+
return listener.call(this);
|
|
2760
|
+
}
|
|
2761
|
+
];
|
|
2762
|
+
}
|
|
2660
2763
|
subscribeOnClosingActions() {
|
|
2661
2764
|
this.closingActionsSubscription?.unsubscribe();
|
|
2662
2765
|
this.closingActionsSubscription = this.closingActions()
|
|
@@ -2841,32 +2944,19 @@ var MeasurementSystem;
|
|
|
2841
2944
|
MeasurementSystem["SI"] = "SI";
|
|
2842
2945
|
MeasurementSystem["IEC"] = "IEC";
|
|
2843
2946
|
})(MeasurementSystem || (MeasurementSystem = {}));
|
|
2844
|
-
const
|
|
2845
|
-
|
|
2846
|
-
defaultPrecision: 2,
|
|
2847
|
-
unitSystems: {
|
|
2848
|
-
[MeasurementSystem.SI]: {
|
|
2849
|
-
abbreviations: ['B', 'KB', 'MB', 'GB', 'TB'],
|
|
2850
|
-
base: 10,
|
|
2851
|
-
power: 3
|
|
2852
|
-
},
|
|
2853
|
-
[MeasurementSystem.IEC]: {
|
|
2854
|
-
abbreviations: ['B', 'KiB', 'MiB', 'GiB', 'TiB'],
|
|
2855
|
-
base: 2,
|
|
2856
|
-
power: 10
|
|
2857
|
-
}
|
|
2858
|
-
}
|
|
2859
|
-
};
|
|
2947
|
+
const KBQ_SIZE_UNITS_DEFAULT_CONFIG = enUSFormattersData.sizeUnits;
|
|
2948
|
+
const KBQ_SIZE_UNITS_CONFIG = new InjectionToken('KbqSizeUnitsConfig');
|
|
2860
2949
|
|
|
2861
|
-
const formatDataSize = (value,
|
|
2862
|
-
const
|
|
2863
|
-
const { result, unit } = getHumanizedBytes(value, systemCode);
|
|
2950
|
+
const formatDataSize = (value, precision, system) => {
|
|
2951
|
+
const { result, unit } = getHumanizedBytes(value, system);
|
|
2864
2952
|
let volume;
|
|
2865
2953
|
if (system.abbreviations[0] === unit) {
|
|
2866
2954
|
volume = result.toString();
|
|
2867
2955
|
}
|
|
2868
2956
|
else {
|
|
2869
|
-
volume = result
|
|
2957
|
+
volume = result
|
|
2958
|
+
.toFixed(precision)
|
|
2959
|
+
.replace(/\./g, ',');
|
|
2870
2960
|
}
|
|
2871
2961
|
return {
|
|
2872
2962
|
value: volume,
|
|
@@ -2877,25 +2967,21 @@ const formatDataSize = (value, systemCode = sizeUnitsConfig.defaultUnitSystem, p
|
|
|
2877
2967
|
* Переводит байты в Кб, Мб, Гб
|
|
2878
2968
|
*
|
|
2879
2969
|
* @param value количество байт
|
|
2880
|
-
* @param
|
|
2970
|
+
* @param system система измерения
|
|
2881
2971
|
* @param threshold нижний порог подсчета
|
|
2882
2972
|
*/
|
|
2883
|
-
const getHumanizedBytes = (value,
|
|
2884
|
-
const system = sizeUnitsConfig.unitSystems[systemCode];
|
|
2885
|
-
if (!system) {
|
|
2886
|
-
throw new Error(`Unit system "${systemCode}" not configured!`);
|
|
2887
|
-
}
|
|
2973
|
+
const getHumanizedBytes = (value, system, threshold) => {
|
|
2888
2974
|
if (!Number.isFinite(value)) {
|
|
2889
2975
|
throw new Error('Argument "value" must be number!');
|
|
2890
2976
|
}
|
|
2891
|
-
const
|
|
2977
|
+
const calculatedThreshold = Number.isFinite(threshold)
|
|
2892
2978
|
? threshold : Math.pow(system.base, system.power);
|
|
2893
2979
|
const orderOfMagnitude = Math.pow(system.base, system.power);
|
|
2894
2980
|
let result = value;
|
|
2895
2981
|
let step = 0;
|
|
2896
2982
|
const len = system.abbreviations.length - 1;
|
|
2897
2983
|
while (step < len) {
|
|
2898
|
-
if (
|
|
2984
|
+
if (calculatedThreshold !== undefined && result < calculatedThreshold) {
|
|
2899
2985
|
break;
|
|
2900
2986
|
}
|
|
2901
2987
|
step++;
|
|
@@ -2908,42 +2994,54 @@ const getHumanizedBytes = (value, systemCode = sizeUnitsConfig.defaultUnitSystem
|
|
|
2908
2994
|
};
|
|
2909
2995
|
|
|
2910
2996
|
class KbqDataSizePipe {
|
|
2911
|
-
|
|
2912
|
-
|
|
2997
|
+
constructor(externalConfig, localeService) {
|
|
2998
|
+
this.externalConfig = externalConfig;
|
|
2999
|
+
this.localeService = localeService;
|
|
3000
|
+
this.updateLocaleParams = () => {
|
|
3001
|
+
this.config = this.externalConfig || this.localeService?.getParams('sizeUnits');
|
|
3002
|
+
};
|
|
3003
|
+
this.localeService?.changes
|
|
3004
|
+
.subscribe(this.updateLocaleParams);
|
|
3005
|
+
if (!localeService) {
|
|
3006
|
+
this.config = KBQ_SIZE_UNITS_DEFAULT_CONFIG;
|
|
3007
|
+
}
|
|
3008
|
+
}
|
|
3009
|
+
transform(source, precision, unitSystemName) {
|
|
3010
|
+
const unitSystem = this.config.unitSystems[unitSystemName || this.config.defaultUnitSystem];
|
|
3011
|
+
const { value, unit } = formatDataSize(source, precision || this.config.defaultPrecision, unitSystem);
|
|
2913
3012
|
return `${value} ${unit}`;
|
|
2914
3013
|
}
|
|
2915
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqDataSizePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2916
|
-
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.2.0", ngImport: i0, type: KbqDataSizePipe, name: "kbqDataSize" }); }
|
|
3014
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqDataSizePipe, deps: [{ token: KBQ_SIZE_UNITS_CONFIG, optional: true }, { token: KBQ_LOCALE_SERVICE, optional: true }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
3015
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.2.0", ngImport: i0, type: KbqDataSizePipe, isStandalone: true, name: "kbqDataSize", pure: false }); }
|
|
2917
3016
|
}
|
|
2918
3017
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqDataSizePipe, decorators: [{
|
|
2919
3018
|
type: Pipe,
|
|
2920
3019
|
args: [{
|
|
2921
|
-
name: 'kbqDataSize'
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
class KbqDataSizeModule {
|
|
2925
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqDataSizeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2926
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.0", ngImport: i0, type: KbqDataSizeModule, declarations: [KbqDataSizePipe], exports: [KbqDataSizePipe] }); }
|
|
2927
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqDataSizeModule }); }
|
|
2928
|
-
}
|
|
2929
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqDataSizeModule, decorators: [{
|
|
2930
|
-
type: NgModule,
|
|
2931
|
-
args: [{
|
|
2932
|
-
imports: [],
|
|
2933
|
-
exports: [KbqDataSizePipe],
|
|
2934
|
-
declarations: [KbqDataSizePipe]
|
|
3020
|
+
name: 'kbqDataSize',
|
|
3021
|
+
standalone: true,
|
|
3022
|
+
pure: false
|
|
2935
3023
|
}]
|
|
2936
|
-
}]
|
|
3024
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
3025
|
+
type: Optional
|
|
3026
|
+
}, {
|
|
3027
|
+
type: Inject,
|
|
3028
|
+
args: [KBQ_SIZE_UNITS_CONFIG]
|
|
3029
|
+
}] }, { type: KbqLocaleService, decorators: [{
|
|
3030
|
+
type: Optional
|
|
3031
|
+
}, {
|
|
3032
|
+
type: Inject,
|
|
3033
|
+
args: [KBQ_LOCALE_SERVICE]
|
|
3034
|
+
}] }] });
|
|
2937
3035
|
|
|
2938
3036
|
const validationTooltipShowDelay = 10;
|
|
2939
3037
|
const validationTooltipHideDelay = 3000;
|
|
2940
3038
|
const KBQ_VALIDATION = new InjectionToken('KbqUseValidation', { factory: () => ({ useValidation: true }) });
|
|
2941
3039
|
|
|
2942
|
-
const VERSION = new Version('17.0.0-rc.
|
|
3040
|
+
const VERSION = new Version('17.0.0-rc.3+sha-be6ab54');
|
|
2943
3041
|
|
|
2944
3042
|
/**
|
|
2945
3043
|
* Generated bundle index. Do not edit.
|
|
2946
3044
|
*/
|
|
2947
3045
|
|
|
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,
|
|
3046
|
+
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_SIZE_UNITS_CONFIG, KBQ_SIZE_UNITS_DEFAULT_CONFIG, KBQ_TITLE_TEXT_REF, KBQ_VALIDATION, KbqCommonModule, KbqComponentColors, 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, toBoolean, validationTooltipHideDelay, validationTooltipShowDelay, zhCNFormattersData, zhCNLocaleData };
|
|
2949
3047
|
//# sourceMappingURL=koobiq-components-core.mjs.map
|