@sixbell-telco/sdk 2.0.1 → 3.0.0
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/CHANGELOG.md +134 -1
- package/README.md +360 -87
- package/_index.css +0 -3
- package/components/accordion/accordion-item/accordion-item.component.d.ts +3 -4
- package/components/audio-player/audio-timeline/audio-timeline.component.d.ts +28 -1
- package/components/audio-player/src/audio-player.component.d.ts +7 -3
- package/components/audio-player/volume-control/volume-control.component.d.ts +28 -1
- package/components/button/src/button.component.d.ts +46 -1
- package/components/card/card-actions/card-actions.component.d.ts +4 -4
- package/components/card/card-body/card-body.component.d.ts +5 -0
- package/components/card/card-context.d.ts +8 -0
- package/components/card/card-footer/card-footer.component.d.ts +7 -0
- package/components/card/card-header/card-header.component.d.ts +5 -0
- package/components/card/card-header-aside/card-header-aside.component.d.ts +5 -0
- package/components/card/card-section/card-section.component.d.ts +5 -0
- package/components/card/card-section-body/card-section-body.component.d.ts +5 -0
- package/components/card/card-section-footer/card-section-footer.component.d.ts +5 -0
- package/components/card/card-section-group/card-section-group.component.d.ts +16 -0
- package/components/card/card-section-header/card-section-header.component.d.ts +5 -0
- package/components/card/card-section-header-aside/card-section-header-aside.component.d.ts +5 -0
- package/components/card/card-subtitle/card-subtitle.component.d.ts +34 -0
- package/components/card/card-title/card-title.component.d.ts +23 -14
- package/components/card/public-api.d.ts +12 -1
- package/components/card/src/card.component.d.ts +5 -1
- package/components/data-table/actions/actions.component.d.ts +67 -0
- package/components/data-table/actions/actions.types.d.ts +38 -0
- package/components/data-table/data-table-empty-actions/data-table-empty-actions.component.d.ts +5 -0
- package/components/data-table/public-api.d.ts +3 -0
- package/components/data-table/sortable-header/sortable-header.component.d.ts +2 -0
- package/components/data-table/src/data-table.component.d.ts +24 -7
- package/components/dialog/src/dialog.component.d.ts +51 -5
- package/{directives/typography → components/divider}/index.d.ts +1 -1
- package/components/divider/public-api.d.ts +1 -0
- package/components/divider/src/divider.component.d.ts +13 -0
- package/components/dropdown/dropdown-content/dropdown-content.component.d.ts +2 -1
- package/components/dropdown/dropdown-item/dropdown-item.component.d.ts +37 -1
- package/components/dropdown/dropdown-item-checkbox/dropdown-item-checkbox.component.d.ts +33 -1
- package/components/dropdown/dropdown-item-radio/dropdown-item-radio.component.d.ts +33 -1
- package/components/dropdown/dropdown-trigger/dropdown-trigger.component.d.ts +53 -2
- package/components/dropdown/src/dropdown.component.d.ts +2 -2
- package/components/dropdown-menu/bar/dropdown-menu-bar-content/dropdown-menu-bar-content.component.d.ts +2 -1
- package/components/dropdown-menu/bar/dropdown-menu-bar-item/dropdown-menu-bar-item.component.d.ts +33 -1
- package/components/dropdown-menu/bar/dropdown-menu-bar-item-checkbox/dropdown-menu-bar-item-checkbox.component.d.ts +33 -1
- package/components/dropdown-menu/bar/dropdown-menu-bar-item-radio/dropdown-menu-bar-item-radio.component.d.ts +33 -1
- package/components/dropdown-menu/src/directives/dropdown-menu.directive.d.ts +1 -3
- package/components/dropdown-menu/src/dropdown-menu-content/dropdown-menu-content.component.d.ts +2 -1
- package/components/dropdown-menu/src/dropdown-menu-item/dropdown-menu-item.component.d.ts +33 -1
- package/components/dropdown-menu/src/dropdown-menu-sub-content/dropdown-menu-sub-content.component.d.ts +2 -1
- package/components/dual-list/src/dual-list.component.d.ts +3 -2
- package/components/file-upload/file-dropzone/file-dropzone.component.d.ts +46 -1
- package/components/file-upload/file-uploader/file-uploader.component.d.ts +33 -2
- package/components/forms/checkbox/src/checkbox.component.d.ts +46 -2
- package/components/forms/combobox/src/combobox.component.d.ts +40 -5
- package/components/forms/date-picker/src/date-picker.component.d.ts +14 -1
- package/components/forms/form-error/src/form-error.component.d.ts +8 -1
- package/components/forms/form-group/README.md +114 -0
- package/components/forms/form-group/index.d.ts +5 -0
- package/components/forms/form-group/public-api.d.ts +1 -0
- package/components/forms/form-group/src/form-group.component.d.ts +150 -0
- package/components/forms/form-item/README.md +17 -0
- package/components/forms/form-item/index.d.ts +5 -0
- package/components/forms/form-item/public-api.d.ts +1 -0
- package/components/forms/form-item/src/form-item.component.d.ts +5 -0
- package/components/forms/input/src/input.component.d.ts +32 -10
- package/components/forms/radio/src/radio.component.d.ts +46 -2
- package/components/forms/range/src/range.component.d.ts +38 -1
- package/components/forms/select/src/select.component.d.ts +40 -5
- package/components/forms/switch/src/switch.component.d.ts +46 -2
- package/components/forms/textarea/src/textarea.component.d.ts +49 -4
- package/components/forms/toggle/src/toggle.component.d.ts +46 -1
- package/components/overlay/overlay-content/overlay-content.component.d.ts +2 -1
- package/components/overlay/overlay-trigger/overlay-trigger.component.d.ts +37 -5
- package/components/overlay/src/overlay.component.d.ts +4 -5
- package/components/paginator/components/pagination-item/pagination-item.component.d.ts +46 -1
- package/components/paginator/src/paginator.component.d.ts +7 -1
- package/components/tab/directives/tab-content/tab-content.directive.d.ts +3 -4
- package/components/table/public-api.d.ts +2 -0
- package/components/table/src/table.component.d.ts +72 -7
- package/components/table/table-action/table-action.component.d.ts +2 -6
- package/components/table/table-actions/table-actions.component.d.ts +52 -6
- package/components/table/table-actions/table-actions.types.d.ts +28 -0
- package/components/table/table-empty-actions/table-empty-actions.component.d.ts +5 -0
- package/components/table/table-header-checkbox/table-header-checkbox.component.d.ts +5 -11
- package/components/table/table-row-checkbox/table-row-checkbox.component.d.ts +5 -11
- package/components/{toast → text}/index.d.ts +1 -1
- package/components/text/public-api.d.ts +2 -0
- package/components/text/src/text.component.d.ts +38 -0
- package/components/tooltip/src/tooltip.component.d.ts +10 -1
- package/components/wizard/wizard-marker/wizard-marker.component.d.ts +2 -3
- package/directives/auto-focus/src/auto-focus.directive.d.ts +5 -9
- package/directives/click-outside/src/click-outside.directive.d.ts +1 -3
- package/directives/only-numbers/public-api.d.ts +0 -5
- package/directives/only-numbers/src/only-numbers.directive.d.ts +1 -14
- package/directives/text/index.d.ts +5 -0
- package/directives/text/public-api.d.ts +1 -0
- package/directives/text/src/text.directive.d.ts +87 -0
- package/fesm2022/sixbell-telco-sdk-components-accordion.mjs +9 -12
- package/fesm2022/sixbell-telco-sdk-components-accordion.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs +130 -50
- package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-avatar.mjs +10 -11
- package/fesm2022/sixbell-telco-sdk-components-avatar.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-badge.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-badge.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-button.mjs +79 -5
- package/fesm2022/sixbell-telco-sdk-components-button.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-card.mjs +414 -47
- package/fesm2022/sixbell-telco-sdk-components-card.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-data-table-sub-component-toggle.mjs +1 -1
- package/fesm2022/sixbell-telco-sdk-components-data-table-sub-component-toggle.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-data-table.mjs +236 -59
- package/fesm2022/sixbell-telco-sdk-components-data-table.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dialog.mjs +87 -17
- package/fesm2022/sixbell-telco-sdk-components-dialog.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-divider.mjs +44 -0
- package/fesm2022/sixbell-telco-sdk-components-divider.mjs.map +1 -0
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs +166 -13
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs +69 -21
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs +283 -16
- package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs +8 -6
- package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs +148 -9
- package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs +69 -3
- package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs +96 -19
- package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs +32 -6
- package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs +12 -5
- package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-form-group.mjs +159 -0
- package/fesm2022/sixbell-telco-sdk-components-forms-form-group.mjs.map +1 -0
- package/fesm2022/sixbell-telco-sdk-components-forms-form-item.mjs +20 -0
- package/fesm2022/sixbell-telco-sdk-components-forms-form-item.mjs.map +1 -0
- package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs +48 -14
- package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs +69 -3
- package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs +57 -4
- package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs +89 -18
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs +80 -6
- package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs +112 -11
- package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs +71 -5
- package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-icon.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-icon.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-link.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-link.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-overlay.mjs +94 -42
- package/fesm2022/sixbell-telco-sdk-components-overlay.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-paginator.mjs +113 -24
- package/fesm2022/sixbell-telco-sdk-components-paginator.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-progress.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-progress.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-tab.mjs +5 -9
- package/fesm2022/sixbell-telco-sdk-components-tab.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-table.mjs +565 -89
- package/fesm2022/sixbell-telco-sdk-components-table.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-text.mjs +308 -0
- package/fesm2022/sixbell-telco-sdk-components-text.mjs.map +1 -0
- package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs +15 -3
- package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-wizard.mjs +15 -15
- package/fesm2022/sixbell-telco-sdk-components-wizard.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-directives-auto-focus.mjs +16 -19
- package/fesm2022/sixbell-telco-sdk-directives-auto-focus.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-directives-click-outside.mjs +7 -10
- package/fesm2022/sixbell-telco-sdk-directives-click-outside.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-directives-only-numbers.mjs +11 -31
- package/fesm2022/sixbell-telco-sdk-directives-only-numbers.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-directives-text.mjs +160 -0
- package/fesm2022/sixbell-telco-sdk-directives-text.mjs.map +1 -0
- package/fesm2022/sixbell-telco-sdk-utils-formatting.mjs +490 -0
- package/fesm2022/sixbell-telco-sdk-utils-formatting.mjs.map +1 -0
- package/fesm2022/sixbell-telco-sdk-utils-theme.mjs +7 -12
- package/fesm2022/sixbell-telco-sdk-utils-theme.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-utils-translation.mjs +55 -12
- package/fesm2022/sixbell-telco-sdk-utils-translation.mjs.map +1 -1
- package/package.json +90 -74
- package/utils/formatting/README.md +100 -0
- package/utils/formatting/index.d.ts +5 -0
- package/utils/formatting/public-api.d.ts +9 -0
- package/utils/formatting/src/constants/constants.d.ts +18 -0
- package/utils/formatting/src/models/formatting.d.ts +33 -0
- package/utils/formatting/src/pipes/currency/st-currency.pipe.d.ts +9 -0
- package/utils/formatting/src/pipes/date/st-date.pipe.d.ts +9 -0
- package/utils/formatting/src/pipes/decimal/st-decimal.pipe.d.ts +9 -0
- package/utils/formatting/src/pipes/percent/st-percent.pipe.d.ts +9 -0
- package/utils/formatting/src/service/formatting.service.d.ts +13 -0
- package/utils/formatting/src/utils/date-format/date-format.d.ts +9 -0
- package/utils/formatting/src/utils/number-format/number-format.d.ts +12 -0
- package/utils/logger/README.md +8 -19
- package/utils/runtime-config/README.md +1 -1
- package/utils/theme/README.md +21 -2
- package/utils/theme/src/theme-dom/theme-dom.service.d.ts +2 -3
- package/utils/translation/README.md +40 -10
- package/utils/translation/public-api.d.ts +1 -1
- package/utils/translation/src/constants.d.ts +9 -2
- package/utils/translation/src/models/translation.d.ts +11 -0
- package/utils/translation/src/providers/translation.provider.d.ts +1 -1
- package/utils/translation/src/translation-dom/translation-dom.service.d.ts +2 -3
- package/utils/translation/src/translation.service.d.ts +6 -1
- package/assets/styles/toast.css +0 -63
- package/components/card/card-content/card-content.component.d.ts +0 -30
- package/components/toast/public-api.d.ts +0 -12
- package/components/toast/services/toast.service.d.ts +0 -35
- package/components/toast/toast-message/toast-message.component.d.ts +0 -29
- package/components/toast/toasts-container/toasts-container.component.d.ts +0 -21
- package/directives/typography/public-api.d.ts +0 -1
- package/directives/typography/src/typography.directive.d.ts +0 -68
- package/fesm2022/sixbell-telco-sdk-components-toast.mjs +0 -185
- package/fesm2022/sixbell-telco-sdk-components-toast.mjs.map +0 -1
- package/fesm2022/sixbell-telco-sdk-directives-typography.mjs +0 -126
- package/fesm2022/sixbell-telco-sdk-directives-typography.mjs.map +0 -1
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { input,
|
|
2
|
+
import { input, Directive } from '@angular/core';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Directive that restricts input to numeric characters only.
|
|
6
6
|
*
|
|
7
7
|
* Use the `stOnlyNumbers` selector to enable numeric-only input restriction.
|
|
8
|
-
* For backward compatibility, the `stJustNumbers` selector is also supported but is deprecated.
|
|
9
8
|
*
|
|
10
9
|
* @example
|
|
11
10
|
* ```html
|
|
@@ -20,14 +19,8 @@ class OnlyNumbersDirective {
|
|
|
20
19
|
* @default false
|
|
21
20
|
*/
|
|
22
21
|
stOnlyNumbers = input(false);
|
|
23
|
-
/**
|
|
24
|
-
* @deprecated Use `stOnlyNumbers` input instead.
|
|
25
|
-
* This input is maintained for backward compatibility and will be removed in a future major version.
|
|
26
|
-
*/
|
|
27
|
-
justNumbers = input(false);
|
|
28
|
-
constructor() { }
|
|
29
22
|
blockPaste(event) {
|
|
30
|
-
if (!this.
|
|
23
|
+
if (!this.stOnlyNumbers())
|
|
31
24
|
return true;
|
|
32
25
|
const justNumbersReg = new RegExp('^[0-9]+$');
|
|
33
26
|
const clipboardData = event.clipboardData;
|
|
@@ -41,7 +34,7 @@ class OnlyNumbersDirective {
|
|
|
41
34
|
return true;
|
|
42
35
|
}
|
|
43
36
|
onKeyPress(event) {
|
|
44
|
-
if (!this.
|
|
37
|
+
if (!this.stOnlyNumbers())
|
|
45
38
|
return true;
|
|
46
39
|
const key = event.key;
|
|
47
40
|
if (!/^[0-9]$/.test(key)) {
|
|
@@ -50,37 +43,24 @@ class OnlyNumbersDirective {
|
|
|
50
43
|
}
|
|
51
44
|
return true;
|
|
52
45
|
}
|
|
53
|
-
/**
|
|
54
|
-
* Determines if the numeric-only restriction is enabled.
|
|
55
|
-
* Checks both the new and deprecated inputs for backward compatibility.
|
|
56
|
-
* @private
|
|
57
|
-
*/
|
|
58
|
-
getEnabled() {
|
|
59
|
-
// Check new input first, fallback to deprecated input for backward compatibility
|
|
60
|
-
return this.stOnlyNumbers() || this.justNumbers();
|
|
61
|
-
}
|
|
62
46
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: OnlyNumbersDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
63
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.0", type: OnlyNumbersDirective, isStandalone: true, selector: "[stOnlyNumbers]
|
|
47
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.0", type: OnlyNumbersDirective, isStandalone: true, selector: "[stOnlyNumbers]", inputs: { stOnlyNumbers: { classPropertyName: "stOnlyNumbers", publicName: "stOnlyNumbers", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "paste": "blockPaste($event)", "keypress": "onKeyPress($event)" } }, ngImport: i0 });
|
|
64
48
|
}
|
|
65
49
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: OnlyNumbersDirective, decorators: [{
|
|
66
50
|
type: Directive,
|
|
67
51
|
args: [{
|
|
68
|
-
selector: '[stOnlyNumbers]
|
|
52
|
+
selector: '[stOnlyNumbers]',
|
|
69
53
|
standalone: true,
|
|
54
|
+
host: {
|
|
55
|
+
'(paste)': 'blockPaste($event)',
|
|
56
|
+
'(keypress)': 'onKeyPress($event)',
|
|
57
|
+
},
|
|
70
58
|
}]
|
|
71
|
-
}]
|
|
72
|
-
type: HostListener,
|
|
73
|
-
args: ['paste', ['$event']]
|
|
74
|
-
}], onKeyPress: [{
|
|
75
|
-
type: HostListener,
|
|
76
|
-
args: ['keypress', ['$event']]
|
|
77
|
-
}] } });
|
|
78
|
-
|
|
79
|
-
// Export the new directive without deprecation
|
|
59
|
+
}] });
|
|
80
60
|
|
|
81
61
|
/**
|
|
82
62
|
* Generated bundle index. Do not edit.
|
|
83
63
|
*/
|
|
84
64
|
|
|
85
|
-
export { OnlyNumbersDirective
|
|
65
|
+
export { OnlyNumbersDirective };
|
|
86
66
|
//# sourceMappingURL=sixbell-telco-sdk-directives-only-numbers.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sixbell-telco-sdk-directives-only-numbers.mjs","sources":["../../../projects/sdk/directives/only-numbers/src/only-numbers.directive.ts","../../../projects/sdk/directives/only-numbers/
|
|
1
|
+
{"version":3,"file":"sixbell-telco-sdk-directives-only-numbers.mjs","sources":["../../../projects/sdk/directives/only-numbers/src/only-numbers.directive.ts","../../../projects/sdk/directives/only-numbers/sixbell-telco-sdk-directives-only-numbers.ts"],"sourcesContent":["import { Directive, input } from '@angular/core';\n\n/**\n * Directive that restricts input to numeric characters only.\n *\n * Use the `stOnlyNumbers` selector to enable numeric-only input restriction.\n *\n * @example\n * ```html\n * <!-- Modern usage (recommended) -->\n * <input stOnlyNumbers />\n * <input [stOnlyNumbers]=\"true\" />\n * ```\n */\n@Directive({\n\tselector: '[stOnlyNumbers]',\n\tstandalone: true,\n\thost: {\n\t\t'(paste)': 'blockPaste($event)',\n\t\t'(keypress)': 'onKeyPress($event)',\n\t},\n})\nexport class OnlyNumbersDirective {\n\t/**\n\t * Enable numeric-only input restriction.\n\t * @default false\n\t */\n\tstOnlyNumbers = input<boolean>(false);\n\n\tblockPaste(event: ClipboardEvent) {\n\t\tif (!this.stOnlyNumbers()) return true;\n\n\t\tconst justNumbersReg = new RegExp('^[0-9]+$');\n\t\tconst clipboardData = event.clipboardData;\n\t\tif (!clipboardData) return true;\n\n\t\tconst pastedValue = clipboardData.getData('Text');\n\t\tif (!justNumbersReg.test(pastedValue)) {\n\t\t\tevent.preventDefault();\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t}\n\n\tonKeyPress(event: KeyboardEvent) {\n\t\tif (!this.stOnlyNumbers()) return true;\n\n\t\tconst key = event.key;\n\t\tif (!/^[0-9]$/.test(key)) {\n\t\t\tevent.preventDefault();\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;AAEA;;;;;;;;;;;AAWG;MASU,oBAAoB,CAAA;AAChC;;;AAGG;AACH,IAAA,aAAa,GAAG,KAAK,CAAU,KAAK,CAAC;AAErC,IAAA,UAAU,CAAC,KAAqB,EAAA;AAC/B,QAAA,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE;AAAE,YAAA,OAAO,IAAI;AAEtC,QAAA,MAAM,cAAc,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC;AAC7C,QAAA,MAAM,aAAa,GAAG,KAAK,CAAC,aAAa;AACzC,QAAA,IAAI,CAAC,aAAa;AAAE,YAAA,OAAO,IAAI;QAE/B,MAAM,WAAW,GAAG,aAAa,CAAC,OAAO,CAAC,MAAM,CAAC;QACjD,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE;YACtC,KAAK,CAAC,cAAc,EAAE;AACtB,YAAA,OAAO,KAAK;;AAGb,QAAA,OAAO,IAAI;;AAGZ,IAAA,UAAU,CAAC,KAAoB,EAAA;AAC9B,QAAA,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE;AAAE,YAAA,OAAO,IAAI;AAEtC,QAAA,MAAM,GAAG,GAAG,KAAK,CAAC,GAAG;QACrB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE;YACzB,KAAK,CAAC,cAAc,EAAE;AACtB,YAAA,OAAO,KAAK;;AAEb,QAAA,OAAO,IAAI;;uGA/BA,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAApB,oBAAoB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,EAAA,aAAA,EAAA,EAAA,iBAAA,EAAA,eAAA,EAAA,UAAA,EAAA,eAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,SAAA,EAAA,EAAA,OAAA,EAAA,oBAAA,EAAA,UAAA,EAAA,oBAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBARhC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,iBAAiB;AAC3B,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE;AACL,wBAAA,SAAS,EAAE,oBAAoB;AAC/B,wBAAA,YAAY,EAAE,oBAAoB;AAClC,qBAAA;AACD,iBAAA;;;ACrBD;;AAEG;;;;"}
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, inject, ElementRef, computed, Directive } from '@angular/core';
|
|
3
|
+
import { cn } from '@sixbell-telco/sdk/utils/cn';
|
|
4
|
+
import { cva } from 'class-variance-authority';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
* CSS class generator for text presets using Major Second scale (1.125 ratio, 14px base).
|
|
9
|
+
* Each preset bundles font-size, line-height, letter-spacing, font-family, and a default font-weight.
|
|
10
|
+
*/
|
|
11
|
+
const textPresets = cva([], {
|
|
12
|
+
variants: {
|
|
13
|
+
preset: {
|
|
14
|
+
'1': ['text-[28.38px]', 'text-balance', 'font-heading', 'leading-tight', 'tracking-wide', 'font-bold'],
|
|
15
|
+
'2': ['text-[25.23px]', 'text-balance', 'font-heading', 'leading-tight', 'tracking-wide', 'font-bold'],
|
|
16
|
+
'3': ['text-[22.43px]', 'text-balance', 'font-heading', 'leading-tight', 'tracking-wide', 'font-semibold'],
|
|
17
|
+
'4': ['text-[19.93px]', 'text-balance', 'font-heading', 'leading-snug', 'tracking-normal', 'font-semibold'],
|
|
18
|
+
'5': ['text-[17.72px]', 'text-balance', 'font-heading', 'leading-snug', 'tracking-normal', 'font-medium'],
|
|
19
|
+
'6': ['text-[15.75px]', 'text-pretty', 'font-body', 'leading-normal', 'tracking-normal', 'font-medium'],
|
|
20
|
+
'7': ['text-[14px]', 'text-pretty', 'font-body', 'leading-normal', 'tracking-tight', 'font-normal'],
|
|
21
|
+
'8': ['text-[12.44px]', 'text-pretty', 'font-body', 'leading-normal', 'tracking-tight', 'font-normal'],
|
|
22
|
+
'9': ['text-[11.06px]', 'text-pretty', 'font-body', 'leading-normal', 'tracking-tight', 'font-normal'],
|
|
23
|
+
'10': ['text-[9.83px]', 'text-pretty', 'font-body', 'leading-normal', 'tracking-normal', 'font-normal'],
|
|
24
|
+
},
|
|
25
|
+
weight: {
|
|
26
|
+
bold: 'font-bold',
|
|
27
|
+
semibold: 'font-semibold',
|
|
28
|
+
medium: 'font-medium',
|
|
29
|
+
normal: 'font-normal',
|
|
30
|
+
light: 'font-light',
|
|
31
|
+
inherit: 'font-inherit',
|
|
32
|
+
},
|
|
33
|
+
color: {
|
|
34
|
+
base: 'text-base-content',
|
|
35
|
+
'base-placeholder': 'text-neutral',
|
|
36
|
+
primary: 'text-primary',
|
|
37
|
+
secondary: 'text-secondary',
|
|
38
|
+
accent: 'text-accent',
|
|
39
|
+
inherit: 'text-inherit',
|
|
40
|
+
},
|
|
41
|
+
overflow: {
|
|
42
|
+
clip: 'text-clip',
|
|
43
|
+
ellipsis: 'text-ellipsis',
|
|
44
|
+
truncate: 'text-truncate',
|
|
45
|
+
},
|
|
46
|
+
lineClamp: {
|
|
47
|
+
'1': 'line-clamp-1',
|
|
48
|
+
'2': 'line-clamp-2',
|
|
49
|
+
'3': 'line-clamp-3',
|
|
50
|
+
'4': 'line-clamp-4',
|
|
51
|
+
'5': 'line-clamp-5',
|
|
52
|
+
'6': 'line-clamp-6',
|
|
53
|
+
none: 'line-clamp-none',
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
compoundVariants: [],
|
|
57
|
+
defaultVariants: {
|
|
58
|
+
preset: '7',
|
|
59
|
+
color: 'inherit',
|
|
60
|
+
overflow: 'clip',
|
|
61
|
+
lineClamp: undefined,
|
|
62
|
+
weight: 'normal',
|
|
63
|
+
},
|
|
64
|
+
});
|
|
65
|
+
/**
|
|
66
|
+
* A directive for applying consistent, preset-based typography styles using Tailwind CSS.
|
|
67
|
+
*
|
|
68
|
+
* Uses a numbered preset system (1-10) based on a Major Second scale (1.125 ratio, 14px base).
|
|
69
|
+
* Each preset bundles sensible defaults for font-size, line-height, letter-spacing, and font-weight.
|
|
70
|
+
* Weight, color, and overflow can be overridden independently.
|
|
71
|
+
*
|
|
72
|
+
* External Tailwind classes on the host element are automatically merged via `tailwind-merge`,
|
|
73
|
+
* so they override conflicting directive defaults (e.g., `class="text-error"` overrides the
|
|
74
|
+
* default `text-base-content` color).
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* ```html
|
|
78
|
+
* <!-- Basic: preset for styling, HTML tag for semantics -->
|
|
79
|
+
* <h2 stText="3">Section Title</h2>
|
|
80
|
+
*
|
|
81
|
+
* <!-- External class overrides directive default color -->
|
|
82
|
+
* <h1 stText="1" class="mb-4 text-primary">Hero Title</h1>
|
|
83
|
+
*
|
|
84
|
+
* <!-- Explicit directive color -->
|
|
85
|
+
* <p stText="7" stTextWeight="bold" stTextColor="primary">Body text</p>
|
|
86
|
+
*
|
|
87
|
+
* <!-- Small label -->
|
|
88
|
+
* <span stText="9" class="uppercase tracking-wider">Label</span>
|
|
89
|
+
* ```
|
|
90
|
+
*
|
|
91
|
+
* @publicApi
|
|
92
|
+
*/
|
|
93
|
+
class TextDirective {
|
|
94
|
+
/**
|
|
95
|
+
* Text preset (1 = largest, 10 = smallest).
|
|
96
|
+
* Each preset bundles defaults for font-size, line-height, letter-spacing, and font-weight.
|
|
97
|
+
* @defaultValue '7' (14px body text)
|
|
98
|
+
*/
|
|
99
|
+
stText = input('7');
|
|
100
|
+
/**
|
|
101
|
+
* Override the preset default font weight.
|
|
102
|
+
* @defaultValue 'normal' (preset default weight)
|
|
103
|
+
*/
|
|
104
|
+
stTextWeight = input('normal');
|
|
105
|
+
/**
|
|
106
|
+
* Text color variant.
|
|
107
|
+
* @defaultValue 'inherit' (text-inherit)
|
|
108
|
+
*/
|
|
109
|
+
stTextColor = input('inherit');
|
|
110
|
+
/**
|
|
111
|
+
* Text overflow handling.
|
|
112
|
+
* @defaultValue 'clip'
|
|
113
|
+
*/
|
|
114
|
+
stTextOverflow = input('clip');
|
|
115
|
+
/**
|
|
116
|
+
* Line clamp — limits visible text to a given number of lines.
|
|
117
|
+
* When not set, no line-clamp class is applied.
|
|
118
|
+
*/
|
|
119
|
+
stTextLineClamp = input(undefined);
|
|
120
|
+
/**
|
|
121
|
+
* Extra CSS classes merged after directive classes via `tailwind-merge`.
|
|
122
|
+
* Useful for programmatic overrides (e.g., forwarded from a wrapper component).
|
|
123
|
+
* Conflicting utilities in `stTextClass` win over directive defaults.
|
|
124
|
+
*/
|
|
125
|
+
stTextClass = input('');
|
|
126
|
+
/** @internal Static classes captured from the host element before the first render. */
|
|
127
|
+
hostStaticClasses = inject(ElementRef).nativeElement.getAttribute('class') ?? '';
|
|
128
|
+
/** @internal Computed CSS class string merged via host binding */
|
|
129
|
+
computedClasses = computed(() => {
|
|
130
|
+
const weight = this.stTextWeight();
|
|
131
|
+
const color = this.stTextColor();
|
|
132
|
+
const lineClamp = this.stTextLineClamp();
|
|
133
|
+
return cn(textPresets({
|
|
134
|
+
preset: this.stText(),
|
|
135
|
+
...(weight ? { weight } : {}),
|
|
136
|
+
...(color ? { color } : {}),
|
|
137
|
+
...(lineClamp ? { lineClamp } : {}),
|
|
138
|
+
overflow: this.stTextOverflow(),
|
|
139
|
+
}), this.stTextClass(), this.hostStaticClasses);
|
|
140
|
+
});
|
|
141
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: TextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
142
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.0", type: TextDirective, isStandalone: true, selector: "[stText]", inputs: { stText: { classPropertyName: "stText", publicName: "stText", isSignal: true, isRequired: false, transformFunction: null }, stTextWeight: { classPropertyName: "stTextWeight", publicName: "stTextWeight", isSignal: true, isRequired: false, transformFunction: null }, stTextColor: { classPropertyName: "stTextColor", publicName: "stTextColor", isSignal: true, isRequired: false, transformFunction: null }, stTextOverflow: { classPropertyName: "stTextOverflow", publicName: "stTextOverflow", isSignal: true, isRequired: false, transformFunction: null }, stTextLineClamp: { classPropertyName: "stTextLineClamp", publicName: "stTextLineClamp", isSignal: true, isRequired: false, transformFunction: null }, stTextClass: { classPropertyName: "stTextClass", publicName: "stTextClass", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "computedClasses()" } }, ngImport: i0 });
|
|
143
|
+
}
|
|
144
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: TextDirective, decorators: [{
|
|
145
|
+
type: Directive,
|
|
146
|
+
args: [{
|
|
147
|
+
selector: '[stText]',
|
|
148
|
+
standalone: true,
|
|
149
|
+
host: {
|
|
150
|
+
'[class]': 'computedClasses()',
|
|
151
|
+
},
|
|
152
|
+
}]
|
|
153
|
+
}] });
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Generated bundle index. Do not edit.
|
|
157
|
+
*/
|
|
158
|
+
|
|
159
|
+
export { TextDirective };
|
|
160
|
+
//# sourceMappingURL=sixbell-telco-sdk-directives-text.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sixbell-telco-sdk-directives-text.mjs","sources":["../../../projects/sdk/directives/text/src/text.directive.ts","../../../projects/sdk/directives/text/sixbell-telco-sdk-directives-text.ts"],"sourcesContent":["import { computed, Directive, ElementRef, inject, input } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { cva } from 'class-variance-authority';\n\n/**\n * @internal\n * CSS class generator for text presets using Major Second scale (1.125 ratio, 14px base).\n * Each preset bundles font-size, line-height, letter-spacing, font-family, and a default font-weight.\n */\nconst textPresets = cva([], {\n\tvariants: {\n\t\tpreset: {\n\t\t\t'1': ['text-[28.38px]', 'text-balance', 'font-heading', 'leading-tight', 'tracking-wide', 'font-bold'],\n\t\t\t'2': ['text-[25.23px]', 'text-balance', 'font-heading', 'leading-tight', 'tracking-wide', 'font-bold'],\n\t\t\t'3': ['text-[22.43px]', 'text-balance', 'font-heading', 'leading-tight', 'tracking-wide', 'font-semibold'],\n\t\t\t'4': ['text-[19.93px]', 'text-balance', 'font-heading', 'leading-snug', 'tracking-normal', 'font-semibold'],\n\t\t\t'5': ['text-[17.72px]', 'text-balance', 'font-heading', 'leading-snug', 'tracking-normal', 'font-medium'],\n\t\t\t'6': ['text-[15.75px]', 'text-pretty', 'font-body', 'leading-normal', 'tracking-normal', 'font-medium'],\n\t\t\t'7': ['text-[14px]', 'text-pretty', 'font-body', 'leading-normal', 'tracking-tight', 'font-normal'],\n\t\t\t'8': ['text-[12.44px]', 'text-pretty', 'font-body', 'leading-normal', 'tracking-tight', 'font-normal'],\n\t\t\t'9': ['text-[11.06px]', 'text-pretty', 'font-body', 'leading-normal', 'tracking-tight', 'font-normal'],\n\t\t\t'10': ['text-[9.83px]', 'text-pretty', 'font-body', 'leading-normal', 'tracking-normal', 'font-normal'],\n\t\t},\n\t\tweight: {\n\t\t\tbold: 'font-bold',\n\t\t\tsemibold: 'font-semibold',\n\t\t\tmedium: 'font-medium',\n\t\t\tnormal: 'font-normal',\n\t\t\tlight: 'font-light',\n\t\t\tinherit: 'font-inherit',\n\t\t},\n\t\tcolor: {\n\t\t\tbase: 'text-base-content',\n\t\t\t'base-placeholder': 'text-neutral',\n\t\t\tprimary: 'text-primary',\n\t\t\tsecondary: 'text-secondary',\n\t\t\taccent: 'text-accent',\n\t\t\tinherit: 'text-inherit',\n\t\t},\n\t\toverflow: {\n\t\t\tclip: 'text-clip',\n\t\t\tellipsis: 'text-ellipsis',\n\t\t\ttruncate: 'text-truncate',\n\t\t},\n\t\tlineClamp: {\n\t\t\t'1': 'line-clamp-1',\n\t\t\t'2': 'line-clamp-2',\n\t\t\t'3': 'line-clamp-3',\n\t\t\t'4': 'line-clamp-4',\n\t\t\t'5': 'line-clamp-5',\n\t\t\t'6': 'line-clamp-6',\n\t\t\tnone: 'line-clamp-none',\n\t\t},\n\t},\n\tcompoundVariants: [],\n\tdefaultVariants: {\n\t\tpreset: '7',\n\t\tcolor: 'inherit',\n\t\toverflow: 'clip',\n\t\tlineClamp: undefined,\n\t\tweight: 'normal',\n\t},\n});\n\n/** Numbered text preset (1 = largest, 10 = smallest) */\nexport type TextPreset = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | null | undefined;\n\n/** Font weight options for text */\nexport type TextWeight = 'bold' | 'semibold' | 'medium' | 'normal' | 'light' | 'inherit' | null | undefined;\n\n/** Text color variants */\nexport type TextColor = 'base' | 'base-placeholder' | 'primary' | 'secondary' | 'accent' | 'inherit' | null | undefined;\n\n/** Text overflow handling methods */\nexport type TextOverflow = 'clip' | 'ellipsis' | 'truncate' | null | undefined;\n\n/** Line clamp options (number of visible lines) */\nexport type TextLineClamp = '1' | '2' | '3' | '4' | '5' | '6' | 'none' | null | undefined;\n\n/** Configuration object for text styles */\nexport type TextProps = {\n\tpreset?: TextPreset;\n\tweight?: TextWeight;\n\tcolor?: TextColor;\n\toverflow?: TextOverflow;\n\tlineClamp?: TextLineClamp;\n};\n\n/**\n * A directive for applying consistent, preset-based typography styles using Tailwind CSS.\n *\n * Uses a numbered preset system (1-10) based on a Major Second scale (1.125 ratio, 14px base).\n * Each preset bundles sensible defaults for font-size, line-height, letter-spacing, and font-weight.\n * Weight, color, and overflow can be overridden independently.\n *\n * External Tailwind classes on the host element are automatically merged via `tailwind-merge`,\n * so they override conflicting directive defaults (e.g., `class=\"text-error\"` overrides the\n * default `text-base-content` color).\n *\n * @example\n * ```html\n * <!-- Basic: preset for styling, HTML tag for semantics -->\n * <h2 stText=\"3\">Section Title</h2>\n *\n * <!-- External class overrides directive default color -->\n * <h1 stText=\"1\" class=\"mb-4 text-primary\">Hero Title</h1>\n *\n * <!-- Explicit directive color -->\n * <p stText=\"7\" stTextWeight=\"bold\" stTextColor=\"primary\">Body text</p>\n *\n * <!-- Small label -->\n * <span stText=\"9\" class=\"uppercase tracking-wider\">Label</span>\n * ```\n *\n * @publicApi\n */\n@Directive({\n\tselector: '[stText]',\n\tstandalone: true,\n\thost: {\n\t\t'[class]': 'computedClasses()',\n\t},\n})\nexport class TextDirective {\n\t/**\n\t * Text preset (1 = largest, 10 = smallest).\n\t * Each preset bundles defaults for font-size, line-height, letter-spacing, and font-weight.\n\t * @defaultValue '7' (14px body text)\n\t */\n\tstText = input<TextPreset>('7');\n\n\t/**\n\t * Override the preset default font weight.\n\t * @defaultValue 'normal' (preset default weight)\n\t */\n\tstTextWeight = input<TextWeight>('normal');\n\n\t/**\n\t * Text color variant.\n\t * @defaultValue 'inherit' (text-inherit)\n\t */\n\tstTextColor = input<TextColor>('inherit');\n\n\t/**\n\t * Text overflow handling.\n\t * @defaultValue 'clip'\n\t */\n\tstTextOverflow = input<TextOverflow>('clip');\n\n\t/**\n\t * Line clamp — limits visible text to a given number of lines.\n\t * When not set, no line-clamp class is applied.\n\t */\n\tstTextLineClamp = input<TextLineClamp>(undefined);\n\n\t/**\n\t * Extra CSS classes merged after directive classes via `tailwind-merge`.\n\t * Useful for programmatic overrides (e.g., forwarded from a wrapper component).\n\t * Conflicting utilities in `stTextClass` win over directive defaults.\n\t */\n\tstTextClass = input<string>('');\n\n\t/** @internal Static classes captured from the host element before the first render. */\n\tprivate readonly hostStaticClasses = inject(ElementRef).nativeElement.getAttribute('class') ?? '';\n\n\t/** @internal Computed CSS class string merged via host binding */\n\tprotected computedClasses = computed(() => {\n\t\tconst weight = this.stTextWeight();\n\t\tconst color = this.stTextColor();\n\t\tconst lineClamp = this.stTextLineClamp();\n\t\treturn cn(\n\t\t\ttextPresets({\n\t\t\t\tpreset: this.stText(),\n\t\t\t\t...(weight ? { weight } : {}),\n\t\t\t\t...(color ? { color } : {}),\n\t\t\t\t...(lineClamp ? { lineClamp } : {}),\n\t\t\t\toverflow: this.stTextOverflow(),\n\t\t\t}),\n\t\t\tthis.stTextClass(),\n\t\t\tthis.hostStaticClasses,\n\t\t);\n\t});\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAIA;;;;AAIG;AACH,MAAM,WAAW,GAAG,GAAG,CAAC,EAAE,EAAE;AAC3B,IAAA,QAAQ,EAAE;AACT,QAAA,MAAM,EAAE;AACP,YAAA,GAAG,EAAE,CAAC,gBAAgB,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,eAAe,EAAE,WAAW,CAAC;AACtG,YAAA,GAAG,EAAE,CAAC,gBAAgB,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,eAAe,EAAE,WAAW,CAAC;AACtG,YAAA,GAAG,EAAE,CAAC,gBAAgB,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,eAAe,EAAE,eAA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