@lucca-front/ng 16.5.1 → 17.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/esm2022/a11y/skip-links/skip-links.component.mjs +7 -8
- package/esm2022/api/api.module.mjs +6 -7
- package/esm2022/api/select/api-select.module.mjs +6 -7
- package/esm2022/api/select/feeder/api-feeder.component.mjs +7 -8
- package/esm2022/api/select/feeder/api-feeder.module.mjs +6 -7
- package/esm2022/api/select/input/api-select-input.component.mjs +6 -7
- package/esm2022/api/select/input/api-select-input.module.mjs +6 -7
- package/esm2022/api/select/pager/api-pager.component.mjs +7 -8
- package/esm2022/api/select/pager/api-pager.module.mjs +6 -7
- package/esm2022/api/select/searcher/api-searcher.component.mjs +13 -15
- package/esm2022/api/select/searcher/api-searcher.module.mjs +6 -7
- package/esm2022/api/service/api-hybrid.service.mjs +6 -7
- package/esm2022/api/service/api-v3.service.mjs +6 -7
- package/esm2022/api/service/api-v4.service.mjs +6 -7
- package/esm2022/button/button.component.mjs +5 -6
- package/esm2022/callout/callout/callout.component.mjs +5 -6
- package/esm2022/callout/callout-disclosure/callout-disclosure.component.mjs +5 -6
- package/esm2022/callout/callout-feedback-item/callout-feedback-item.component.mjs +5 -6
- package/esm2022/callout/callout-feedback-list/callout-feedback-list.component.mjs +5 -6
- package/esm2022/callout/callout-popover/callout-popover.component.mjs +5 -6
- package/esm2022/core/date/native/native-date.adapter.mjs +7 -8
- package/esm2022/core/date/string/string-date.adapter.mjs +7 -8
- package/esm2022/core/portal/portal.directive.mjs +5 -6
- package/esm2022/core/tools/ng-clazz.directive.mjs +7 -7
- package/esm2022/core-select/displayer/displayer.directive.mjs +6 -7
- package/esm2022/core-select/input/select-input.component.mjs +5 -6
- package/esm2022/core-select/input/select-input.models.mjs +4 -4
- package/esm2022/core-select/option/default-option.component.mjs +5 -6
- package/esm2022/core-select/option/disabled.directive.mjs +5 -6
- package/esm2022/core-select/option/option-outlet.directive.mjs +5 -6
- package/esm2022/core-select/option/option.component.mjs +5 -6
- package/esm2022/core-select/option/option.directive.mjs +6 -7
- package/esm2022/date/adapter/date-adapter.module.mjs +6 -7
- package/esm2022/date/adapter/date-adapter.pipe.mjs +6 -7
- package/esm2022/date/calendar/calendar-input.component.mjs +7 -8
- package/esm2022/date/calendar/calendar-input.module.mjs +6 -7
- package/esm2022/date/calendar/calendar-item.factory.mjs +6 -7
- package/esm2022/date/date.module.mjs +6 -7
- package/esm2022/date/input/date-input.directive.mjs +6 -7
- package/esm2022/date/input/date-input.module.mjs +6 -7
- package/esm2022/date/picker/date-picker.component.mjs +6 -7
- package/esm2022/date/picker/date-picker.module.mjs +6 -7
- package/esm2022/date/select/date-select-input.component.mjs +6 -7
- package/esm2022/date/select/date-select-input.module.mjs +6 -7
- package/esm2022/department/department.module.mjs +6 -7
- package/esm2022/department/select/department-select.module.mjs +6 -7
- package/esm2022/department/select/feeder/department-feeder.component.mjs +7 -8
- package/esm2022/department/select/feeder/department-feeder.module.mjs +6 -7
- package/esm2022/department/select/input/department-select-input.component.mjs +6 -7
- package/esm2022/department/select/input/department-select-input.module.mjs +6 -7
- package/esm2022/department/service/department-v3.service.mjs +6 -7
- package/esm2022/dropdown/dropdown.module.mjs +6 -7
- package/esm2022/dropdown/item/dropdown-item.directive.mjs +6 -7
- package/esm2022/dropdown/item/dropdown-item.module.mjs +6 -7
- package/esm2022/dropdown/panel/dropdown-panel.component.mjs +6 -7
- package/esm2022/dropdown/panel/dropdown-panel.module.mjs +6 -7
- package/esm2022/dropdown/trigger/dropdown-trigger.directive.mjs +6 -7
- package/esm2022/dropdown/trigger/dropdown-trigger.module.mjs +6 -7
- package/esm2022/establishment/establishment.module.mjs +6 -7
- package/esm2022/establishment/select/establishment-select.module.mjs +6 -7
- package/esm2022/establishment/select/for-legal-units/for-legal-units.directive.mjs +6 -7
- package/esm2022/establishment/select/for-legal-units/for-legal-units.module.mjs +6 -7
- package/esm2022/establishment/select/input/establishment-select-input.component.mjs +7 -8
- package/esm2022/establishment/select/input/establishment-select-input.module.mjs +6 -7
- package/esm2022/establishment/select/legal-unit-selector/legal-unit-selector.directive.mjs +7 -8
- package/esm2022/establishment/select/legal-unit-selector/legal-unit-selector.module.mjs +6 -7
- package/esm2022/establishment/select/searcher/establishment-searcher.component.mjs +7 -8
- package/esm2022/establishment/select/searcher/establishment-searcher.module.mjs +6 -7
- package/esm2022/establishment/select/select-all/establishment-select-all.component.mjs +7 -8
- package/esm2022/establishment/select/select-all/establishment-select-all.module.mjs +6 -7
- package/esm2022/establishment/service/establishment.service.mjs +6 -7
- package/esm2022/establishment/service/legal-unit.service.mjs +6 -7
- package/esm2022/form-field/form-field.component.mjs +5 -6
- package/esm2022/form-field/input.directive.mjs +5 -6
- package/esm2022/formly/formly.module.mjs +6 -7
- package/esm2022/formly/types/api.mjs +6 -6
- package/esm2022/formly/types/checkbox.mjs +6 -6
- package/esm2022/formly/types/date.mjs +6 -6
- package/esm2022/formly/types/department.mjs +6 -6
- package/esm2022/formly/types/establishment.mjs +6 -6
- package/esm2022/formly/types/input.mjs +6 -6
- package/esm2022/formly/types/qualification.mjs +6 -6
- package/esm2022/formly/types/radios.mjs +6 -6
- package/esm2022/formly/types/select.mjs +6 -6
- package/esm2022/formly/types/textarea.mjs +6 -6
- package/esm2022/formly/types/user.mjs +6 -6
- package/esm2022/formly/wrappers/checkbox-layout.mjs +6 -6
- package/esm2022/formly/wrappers/error.mjs +11 -11
- package/esm2022/formly/wrappers/helper.mjs +6 -6
- package/esm2022/formly/wrappers/icon.mjs +6 -6
- package/esm2022/formly/wrappers/radiosfield-layout.mjs +6 -6
- package/esm2022/formly/wrappers/suffix.mjs +6 -6
- package/esm2022/formly/wrappers/textfield-layout.mjs +6 -6
- package/esm2022/forms/abstract-field-component.mjs +5 -6
- package/esm2022/forms/checkboxfield/checkboxfield.component.mjs +5 -6
- package/esm2022/forms/form-field-id.directive.mjs +6 -7
- package/esm2022/forms/noop-value-accessor.directive.mjs +5 -6
- package/esm2022/forms/switchfield/switchfield.component.mjs +5 -6
- package/esm2022/forms/textfield/textfield.component.mjs +5 -6
- package/esm2022/icon/icon.component.mjs +5 -6
- package/esm2022/inline-message/inline-message.component.mjs +5 -6
- package/esm2022/input/clearer/clearer.component.mjs +5 -6
- package/esm2022/input/clearer/clearer.module.mjs +6 -7
- package/esm2022/input/displayer/input-displayer.directive.mjs +6 -7
- package/esm2022/input/displayer/input-displayer.module.mjs +6 -7
- package/esm2022/input/input.directive.mjs +6 -7
- package/esm2022/input/input.module.mjs +6 -7
- package/esm2022/modal/modal-panel.component.mjs +17 -19
- package/esm2022/modal/modal-ref.factory.mjs +6 -7
- package/esm2022/modal/modal.module.mjs +6 -7
- package/esm2022/modal/modal.service.mjs +5 -6
- package/esm2022/multi-select/displayer/default-displayer.component.mjs +5 -6
- package/esm2022/multi-select/displayer/displayer.directive.mjs +6 -7
- package/esm2022/multi-select/input/panel-ref.factory.mjs +5 -6
- package/esm2022/multi-select/input/select-input.component.mjs +5 -6
- package/esm2022/multi-select/panel/option-selected.pipe.mjs +5 -6
- package/esm2022/multi-select/panel/panel.component.mjs +5 -6
- package/esm2022/multi-select/panel/selected-chip.directive.mjs +5 -6
- package/esm2022/new-badge/new-badge.component.mjs +5 -6
- package/esm2022/number/number.module.mjs +6 -7
- package/esm2022/number/number.pipe.mjs +7 -8
- package/esm2022/numeric-badge/numeric-badge.component.mjs +5 -6
- package/esm2022/option/item/option-item.component.mjs +6 -7
- package/esm2022/option/item/option-item.module.mjs +6 -7
- package/esm2022/option/item/tree-option-item.component.mjs +6 -7
- package/esm2022/option/item/tree-option-item.module.mjs +6 -7
- package/esm2022/option/operator/feeder/option-feeder.component.mjs +5 -6
- package/esm2022/option/operator/feeder/option-feeder.module.mjs +6 -7
- package/esm2022/option/operator/feeder/tree-option-feeder.component.mjs +5 -6
- package/esm2022/option/operator/feeder/tree-option-feeder.module.mjs +6 -7
- package/esm2022/option/operator/for-groups/for-groups.directive.mjs +6 -7
- package/esm2022/option/operator/for-groups/for-groups.module.mjs +6 -7
- package/esm2022/option/operator/for-options/for-options.directive.mjs +6 -7
- package/esm2022/option/operator/for-options/for-options.module.mjs +6 -7
- package/esm2022/option/operator/for-options/for-tree-options.directive.mjs +5 -6
- package/esm2022/option/operator/for-options/for-tree-options.module.mjs +6 -7
- package/esm2022/option/operator/option-operator.module.mjs +6 -7
- package/esm2022/option/operator/pager/option-pager.component.mjs +5 -6
- package/esm2022/option/operator/pager/option-pager.module.mjs +6 -7
- package/esm2022/option/operator/pager/tree-option-pager.component.mjs +5 -6
- package/esm2022/option/operator/pager/tree-option-pager.module.mjs +6 -7
- package/esm2022/option/operator/searcher/option-searcher.component.mjs +5 -6
- package/esm2022/option/operator/searcher/option-searcher.module.mjs +6 -7
- package/esm2022/option/operator/searcher/tree-option-searcher.component.mjs +5 -6
- package/esm2022/option/operator/searcher/tree-option-searcher.module.mjs +6 -7
- package/esm2022/option/operator/tree-option-operator.module.mjs +6 -7
- package/esm2022/option/option.module.mjs +6 -7
- package/esm2022/option/picker/option-picker-advanced.component.mjs +13 -15
- package/esm2022/option/picker/option-picker.component.mjs +13 -15
- package/esm2022/option/picker/option-picker.module.mjs +6 -7
- package/esm2022/option/picker/tree-option-picker-advanced.component.mjs +13 -15
- package/esm2022/option/picker/tree-option-picker.component.mjs +13 -15
- package/esm2022/option/picker/tree-option-picker.module.mjs +6 -7
- package/esm2022/option/placeholder/option-placeholder.component.mjs +5 -6
- package/esm2022/option/placeholder/option-placeholder.module.mjs +6 -7
- package/esm2022/option/selector/all/select-all.component.mjs +5 -6
- package/esm2022/option/selector/all/select-all.module.mjs +6 -7
- package/esm2022/option/selector/all/tree-select-all.component.mjs +5 -6
- package/esm2022/option/selector/all/tree-select-all.module.mjs +6 -7
- package/esm2022/option/selector/option-selector.module.mjs +6 -7
- package/esm2022/option/selector/tree-option-selector.module.mjs +6 -7
- package/esm2022/option/tree-option.module.mjs +6 -7
- package/esm2022/popover/panel/popover-panel.component.mjs +6 -7
- package/esm2022/popover/panel/popover-panel.module.mjs +6 -7
- package/esm2022/popover/popover.module.mjs +6 -7
- package/esm2022/popover/target/popover-target.directive.mjs +6 -7
- package/esm2022/popover/target/popover-target.module.mjs +6 -7
- package/esm2022/popover/trigger/popover-trigger.directive.mjs +6 -7
- package/esm2022/popover/trigger/popover-trigger.module.mjs +6 -7
- package/esm2022/popup/popup-ref.factory.mjs +6 -7
- package/esm2022/popup/popup.module.mjs +6 -7
- package/esm2022/popup/popup.service.mjs +5 -6
- package/esm2022/qualification/qualification.module.mjs +6 -7
- package/esm2022/qualification/select/input/qualification-select-input.component.mjs +6 -7
- package/esm2022/qualification/select/input/qualification-select-input.module.mjs +6 -7
- package/esm2022/qualification/select/qualification-select.module.mjs +6 -7
- package/esm2022/safe-content/safe-content.module.mjs +6 -7
- package/esm2022/safe-content/safe-html.pipe.mjs +6 -7
- package/esm2022/scroll/scroll.directive.mjs +6 -7
- package/esm2022/scroll/scroll.module.mjs +6 -7
- package/esm2022/select/input/select-input.component.mjs +11 -13
- package/esm2022/select/input/select-input.module.mjs +6 -7
- package/esm2022/select/select.module.mjs +6 -7
- package/esm2022/sidepanel/sidepanel.module.mjs +6 -7
- package/esm2022/sidepanel/sidepanel.service.mjs +5 -6
- package/esm2022/simple-select/api/api-v3.directive.mjs +5 -6
- package/esm2022/simple-select/api/api-v4.directive.mjs +5 -6
- package/esm2022/simple-select/api/api.directive.mjs +5 -6
- package/esm2022/simple-select/input/panel-ref.factory.mjs +5 -6
- package/esm2022/simple-select/input/select-input.component.mjs +5 -6
- package/esm2022/simple-select/panel/panel.component.mjs +5 -6
- package/esm2022/title/title.module.mjs +6 -7
- package/esm2022/title/title.service.mjs +7 -8
- package/esm2022/title/title.strategy.mjs +7 -8
- package/esm2022/toast/toasts.component.mjs +6 -7
- package/esm2022/toast/toasts.module.mjs +6 -7
- package/esm2022/toast/toasts.service.mjs +5 -6
- package/esm2022/tooltip/panel/tooltip-panel.component.mjs +6 -7
- package/esm2022/tooltip/panel/tooltip-panel.module.mjs +6 -7
- package/esm2022/tooltip/tooltip.module.mjs +6 -7
- package/esm2022/tooltip/trigger/tooltip-trigger.directive.mjs +6 -7
- package/esm2022/tooltip/trigger/tooltip-trigger.module.mjs +6 -7
- package/esm2022/user/display/user-display.module.mjs +6 -7
- package/esm2022/user/display/user-display.pipe.mjs +5 -6
- package/esm2022/user/picture/user-picture.component.mjs +6 -7
- package/esm2022/user/picture/user-picture.module.mjs +6 -7
- package/esm2022/user/select/homonyms/user-homonyms.component.mjs +7 -8
- package/esm2022/user/select/homonyms/user-homonyms.module.mjs +6 -7
- package/esm2022/user/select/homonyms/user-homonyms.service.mjs +6 -7
- package/esm2022/user/select/input/user-select-input.component.mjs +6 -7
- package/esm2022/user/select/input/user-select-input.module.mjs +6 -7
- package/esm2022/user/select/me/me-option.directive.mjs +7 -8
- package/esm2022/user/select/me/me-option.module.mjs +6 -7
- package/esm2022/user/select/searcher/user-searcher.component.mjs +7 -8
- package/esm2022/user/select/searcher/user-searcher.module.mjs +6 -7
- package/esm2022/user/select/user-select.module.mjs +6 -7
- package/esm2022/user/service/user-v3.service.mjs +6 -7
- package/esm2022/user/tile/user-tile.component.mjs +6 -7
- package/esm2022/user/tile/user-tile.module.mjs +6 -7
- package/esm2022/user/user.module.mjs +6 -7
- package/fesm2022/lucca-front-ng-a11y.mjs +5 -5
- package/fesm2022/lucca-front-ng-a11y.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-animations.mjs +1 -1
- package/fesm2022/lucca-front-ng-api.mjs +60 -60
- package/fesm2022/lucca-front-ng-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-button.mjs +3 -3
- package/fesm2022/lucca-front-ng-button.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-callout.mjs +16 -16
- package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select.mjs +28 -28
- package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core.mjs +19 -18
- package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date.mjs +52 -50
- package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-department.mjs +29 -29
- package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dropdown.mjs +28 -28
- package/fesm2022/lucca-front-ng-dropdown.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-establishment.mjs +61 -61
- package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-field.mjs +7 -7
- package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-formly.mjs +80 -61
- package/fesm2022/lucca-front-ng-formly.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms.mjs +21 -20
- package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-icon.mjs +3 -3
- package/fesm2022/lucca-front-ng-icon.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-inline-message.mjs +3 -3
- package/fesm2022/lucca-front-ng-inline-message.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-input.mjs +23 -23
- package/fesm2022/lucca-front-ng-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-modal.mjs +25 -24
- package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-multi-select.mjs +24 -24
- package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-new-badge.mjs +3 -3
- package/fesm2022/lucca-front-ng-new-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-number.mjs +10 -10
- package/fesm2022/lucca-front-ng-number.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-numeric-badge.mjs +3 -3
- package/fesm2022/lucca-front-ng-numeric-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-option.mjs +175 -175
- package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover.mjs +29 -29
- package/fesm2022/lucca-front-ng-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popup.mjs +11 -11
- package/fesm2022/lucca-front-ng-popup.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-qualification.mjs +16 -16
- package/fesm2022/lucca-front-ng-qualification.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-safe-content.mjs +8 -8
- package/fesm2022/lucca-front-ng-safe-content.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-scroll.mjs +8 -8
- package/fesm2022/lucca-front-ng-scroll.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-select.mjs +16 -16
- package/fesm2022/lucca-front-ng-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-sidepanel.mjs +7 -7
- package/fesm2022/lucca-front-ng-sidepanel.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-simple-select-api.mjs +10 -10
- package/fesm2022/lucca-front-ng-simple-select-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-simple-select.mjs +10 -10
- package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-title.mjs +15 -15
- package/fesm2022/lucca-front-ng-title.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-toast.mjs +11 -11
- package/fesm2022/lucca-front-ng-toast.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tooltip.mjs +21 -21
- package/fesm2022/lucca-front-ng-tooltip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user.mjs +75 -75
- package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
- package/package.json +31 -31
- package/schematics/lib/local-deps/package.json +0 -23
- /package/{dockerRegistry-42781e58-2adb-4149-b8aa-04ec1df56c6b.env → dockerRegistry-a64fee7f-1bfc-49ea-b07d-9ccbdbf6fd83.env} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { LOCALE_ID, Pipe, Inject, NgModule } from '@angular/core';
|
|
3
|
-
import { formatNumber,
|
|
3
|
+
import { formatNumber, NumberSymbol, getLocaleNumberSymbol } from '@angular/common';
|
|
4
4
|
|
|
5
5
|
class LuNumberPipe {
|
|
6
6
|
constructor(locale) {
|
|
@@ -20,27 +20,27 @@ class LuNumberPipe {
|
|
|
20
20
|
return integral;
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
24
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
23
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuNumberPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
24
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.2", ngImport: i0, type: LuNumberPipe, isStandalone: true, name: "luNumber" }); }
|
|
25
25
|
}
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuNumberPipe, decorators: [{
|
|
27
27
|
type: Pipe,
|
|
28
28
|
args: [{
|
|
29
29
|
name: 'luNumber',
|
|
30
30
|
pure: true,
|
|
31
31
|
standalone: true,
|
|
32
32
|
}]
|
|
33
|
-
}], ctorParameters:
|
|
33
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
34
34
|
type: Inject,
|
|
35
35
|
args: [LOCALE_ID]
|
|
36
|
-
}] }]
|
|
36
|
+
}] }] });
|
|
37
37
|
|
|
38
38
|
class LuNumberModule {
|
|
39
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
40
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
41
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
39
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuNumberModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
40
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.2", ngImport: i0, type: LuNumberModule, imports: [LuNumberPipe], exports: [LuNumberPipe] }); }
|
|
41
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuNumberModule }); }
|
|
42
42
|
}
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuNumberModule, decorators: [{
|
|
44
44
|
type: NgModule,
|
|
45
45
|
args: [{
|
|
46
46
|
imports: [LuNumberPipe],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-ng-number.mjs","sources":["../../../packages/ng/number/number.pipe.ts","../../../packages/ng/number/number.module.ts","../../../packages/ng/number/lucca-front-ng-number.ts"],"sourcesContent":["import { formatNumber, getLocaleNumberSymbol, NumberSymbol } from '@angular/common';\nimport { Inject, LOCALE_ID, Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n\tname: 'luNumber',\n\tpure: true,\n\tstandalone: true,\n})\nexport class LuNumberPipe implements PipeTransform {\n\tconstructor(@Inject(LOCALE_ID) protected locale: string) {}\n\ttransform(number: number, precision = 2) {\n\t\tconst formatted = formatNumber(number, this.locale, `1.${precision}-${precision}`);\n\t\tconst separator = getLocaleNumberSymbol(this.locale, NumberSymbol.Decimal);\n\t\tconst split = formatted.split(separator);\n\t\tconst integral = split[0];\n\t\tconst decimal = split[1];\n\t\tconst hideDecimal = Math.round(number) === number;\n\t\tif (precision > 0) {\n\t\t\treturn `${integral}<span class=\"decimal-part${hideDecimal ? ' u-hidden' : ''}\">${separator}${decimal}</span>`;\n\t\t} else {\n\t\t\treturn integral;\n\t\t}\n\t}\n}\n","import { NgModule } from '@angular/core';\nimport { LuNumberPipe } from './number.pipe';\n\n@NgModule({\n\timports: [LuNumberPipe],\n\texports: [LuNumberPipe],\n})\nexport class LuNumberModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"lucca-front-ng-number.mjs","sources":["../../../packages/ng/number/number.pipe.ts","../../../packages/ng/number/number.module.ts","../../../packages/ng/number/lucca-front-ng-number.ts"],"sourcesContent":["import { formatNumber, getLocaleNumberSymbol, NumberSymbol } from '@angular/common';\nimport { Inject, LOCALE_ID, Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n\tname: 'luNumber',\n\tpure: true,\n\tstandalone: true,\n})\nexport class LuNumberPipe implements PipeTransform {\n\tconstructor(@Inject(LOCALE_ID) protected locale: string) {}\n\ttransform(number: number, precision = 2) {\n\t\tconst formatted = formatNumber(number, this.locale, `1.${precision}-${precision}`);\n\t\tconst separator = getLocaleNumberSymbol(this.locale, NumberSymbol.Decimal);\n\t\tconst split = formatted.split(separator);\n\t\tconst integral = split[0];\n\t\tconst decimal = split[1];\n\t\tconst hideDecimal = Math.round(number) === number;\n\t\tif (precision > 0) {\n\t\t\treturn `${integral}<span class=\"decimal-part${hideDecimal ? ' u-hidden' : ''}\">${separator}${decimal}</span>`;\n\t\t} else {\n\t\t\treturn integral;\n\t\t}\n\t}\n}\n","import { NgModule } from '@angular/core';\nimport { LuNumberPipe } from './number.pipe';\n\n@NgModule({\n\timports: [LuNumberPipe],\n\texports: [LuNumberPipe],\n})\nexport class LuNumberModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAQa,YAAY,CAAA;AACxB,IAAA,WAAA,CAAyC,MAAc,EAAA;QAAd,IAAM,CAAA,MAAA,GAAN,MAAM,CAAQ;KAAI;AAC3D,IAAA,SAAS,CAAC,MAAc,EAAE,SAAS,GAAG,CAAC,EAAA;AACtC,QAAA,MAAM,SAAS,GAAG,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,KAAK,SAAS,CAAA,CAAA,EAAI,SAAS,CAAA,CAAE,CAAC,CAAC;AACnF,QAAA,MAAM,SAAS,GAAG,qBAAqB,CAAC,IAAI,CAAC,MAAM,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC;QAC3E,MAAM,KAAK,GAAG,SAAS,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AACzC,QAAA,MAAM,QAAQ,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;AAC1B,QAAA,MAAM,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;QACzB,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,MAAM,CAAC;QAClD,IAAI,SAAS,GAAG,CAAC,EAAE;AAClB,YAAA,OAAO,GAAG,QAAQ,CAAA,yBAAA,EAA4B,WAAW,GAAG,WAAW,GAAG,EAAE,CAAA,EAAA,EAAK,SAAS,CAAG,EAAA,OAAO,SAAS,CAAC;AAC9G,SAAA;AAAM,aAAA;AACN,YAAA,OAAO,QAAQ,CAAC;AAChB,SAAA;KACD;AAdW,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,kBACJ,SAAS,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;4GADjB,YAAY,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,UAAA,EAAA,CAAA,CAAA,EAAA;;2FAAZ,YAAY,EAAA,UAAA,EAAA,CAAA;kBALxB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACL,oBAAA,IAAI,EAAE,UAAU;AAChB,oBAAA,IAAI,EAAE,IAAI;AACV,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;;0BAEa,MAAM;2BAAC,SAAS,CAAA;;;MCFjB,cAAc,CAAA;8GAAd,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAAd,cAAc,EAAA,OAAA,EAAA,CAHhB,YAAY,CAAA,EAAA,OAAA,EAAA,CACZ,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;+GAEV,cAAc,EAAA,CAAA,CAAA,EAAA;;2FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,YAAY,CAAC;AACvB,iBAAA,CAAA;;;ACND;;AAEG;;;;"}
|
|
@@ -14,10 +14,10 @@ class NumericBadgeComponent {
|
|
|
14
14
|
this.#ngClass.ngClass = ['numericBadge', `palette-${this.palette}`, `mod-${this.size}`];
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
18
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: NumericBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
18
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "17.0.2", type: NumericBadgeComponent, isStandalone: true, selector: "lu-numeric-badge", inputs: { value: ["value", "value", numberAttribute], size: "size", palette: "palette" }, usesOnChanges: true, hostDirectives: [{ directive: i1.NgClazz }], ngImport: i0, template: "{{value}}\n", styles: [".numericBadge{--components-numericBadge-background: var(--palettes-200, var(--palettes-grey-200));--components-numericBadge-color: var(--palettes-800, var(--palettes-grey-700));--components-numericBadge-size: 1.5rem;--components-numericBadge-fontSize: var(--sizes-S-fontSize);--components-numericBadge-lineHeight: var(--sizes-S-lineHeight);--components-numericBadge-borderRadius: var(--commons-borderRadius-L);display:inline-flex;align-items:center;justify-content:center;height:var(--components-numericBadge-size);min-width:var(--components-numericBadge-size);padding:var(--spacings-XXS);font-size:var(--components-numericBadge-fontSize);line-height:var(--components-numericBadge-lineHeight);font-weight:600;background-color:var(--components-numericBadge-background);color:var(--components-numericBadge-color);border-radius:var(--components-numericBadge-borderRadius);transition-property:background-color,color;transition-duration:var(--commons-animations-durations-fast);transition-timing-function:ease}.numericBadge.mod-S{--components-numericBadge-size: 1.25rem;--components-numericBadge-borderRadius: 6px;--components-numericBadge-fontSize: var(--sizes-XS-fontSize);--components-numericBadge-lineHeight: var(--sizes-XS-lineHeight)}.numericBadge.mod-XS{--components-numericBadge-size: 1rem;--components-numericBadge-borderRadius: var(--commons-borderRadius-M);--components-numericBadge-fontSize: var(--sizes-XS-fontSize);--components-numericBadge-lineHeight: var(--sizes-XS-lineHeight)}:host{display:inline-flex}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
19
19
|
}
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: NumericBadgeComponent, decorators: [{
|
|
21
21
|
type: Component,
|
|
22
22
|
args: [{ selector: 'lu-numeric-badge', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [NgClazz], template: "{{value}}\n", styles: [".numericBadge{--components-numericBadge-background: var(--palettes-200, var(--palettes-grey-200));--components-numericBadge-color: var(--palettes-800, var(--palettes-grey-700));--components-numericBadge-size: 1.5rem;--components-numericBadge-fontSize: var(--sizes-S-fontSize);--components-numericBadge-lineHeight: var(--sizes-S-lineHeight);--components-numericBadge-borderRadius: var(--commons-borderRadius-L);display:inline-flex;align-items:center;justify-content:center;height:var(--components-numericBadge-size);min-width:var(--components-numericBadge-size);padding:var(--spacings-XXS);font-size:var(--components-numericBadge-fontSize);line-height:var(--components-numericBadge-lineHeight);font-weight:600;background-color:var(--components-numericBadge-background);color:var(--components-numericBadge-color);border-radius:var(--components-numericBadge-borderRadius);transition-property:background-color,color;transition-duration:var(--commons-animations-durations-fast);transition-timing-function:ease}.numericBadge.mod-S{--components-numericBadge-size: 1.25rem;--components-numericBadge-borderRadius: 6px;--components-numericBadge-fontSize: var(--sizes-XS-fontSize);--components-numericBadge-lineHeight: var(--sizes-XS-lineHeight)}.numericBadge.mod-XS{--components-numericBadge-size: 1rem;--components-numericBadge-borderRadius: var(--commons-borderRadius-M);--components-numericBadge-fontSize: var(--sizes-XS-fontSize);--components-numericBadge-lineHeight: var(--sizes-XS-lineHeight)}:host{display:inline-flex}\n"] }]
|
|
23
23
|
}], propDecorators: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-ng-numeric-badge.mjs","sources":["../../../packages/ng/numeric-badge/numeric-badge.component.ts","../../../packages/ng/numeric-badge/numeric-badge.component.html","../../../packages/ng/numeric-badge/lucca-front-ng-numeric-badge.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, inject, Input, numberAttribute, OnChanges, SimpleChanges } from '@angular/core';\nimport { NgClazz, Palette } from '@lucca-front/ng/core';\n\n@Component({\n\tselector: 'lu-numeric-badge',\n\tstandalone: true,\n\ttemplateUrl: './numeric-badge.component.html',\n\tstyleUrls: ['./numeric-badge.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\thostDirectives: [NgClazz],\n})\nexport class NumericBadgeComponent implements OnChanges {\n\t#ngClass = inject(NgClazz);\n\n\t@Input({ required: true, transform: numberAttribute })\n\t/**\n\t * The value to display, number only.\n\t */\n\tvalue!: number;\n\n\t@Input()\n\t/**\n\t * The size of the badge\n\t */\n\tsize: 'XS' | 'S' | 'M';\n\n\t@Input()\n\t/**\n\t * The palette to use for this badge. Defaults to 'none' (inherits parent palette)\n\t */\n\tpalette: Palette = 'none';\n\n\tngOnChanges(changes: SimpleChanges): void {\n\t\tif (changes['palette']?.currentValue || changes['size']?.currentValue) {\n\t\t\tthis.#ngClass.ngClass = ['numericBadge', `palette-${this.palette}`, `mod-${this.size}`];\n\t\t}\n\t}\n}\n","{{value}}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"lucca-front-ng-numeric-badge.mjs","sources":["../../../packages/ng/numeric-badge/numeric-badge.component.ts","../../../packages/ng/numeric-badge/numeric-badge.component.html","../../../packages/ng/numeric-badge/lucca-front-ng-numeric-badge.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, inject, Input, numberAttribute, OnChanges, SimpleChanges } from '@angular/core';\nimport { NgClazz, Palette } from '@lucca-front/ng/core';\n\n@Component({\n\tselector: 'lu-numeric-badge',\n\tstandalone: true,\n\ttemplateUrl: './numeric-badge.component.html',\n\tstyleUrls: ['./numeric-badge.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\thostDirectives: [NgClazz],\n})\nexport class NumericBadgeComponent implements OnChanges {\n\t#ngClass = inject(NgClazz);\n\n\t@Input({ required: true, transform: numberAttribute })\n\t/**\n\t * The value to display, number only.\n\t */\n\tvalue!: number;\n\n\t@Input()\n\t/**\n\t * The size of the badge\n\t */\n\tsize: 'XS' | 'S' | 'M';\n\n\t@Input()\n\t/**\n\t * The palette to use for this badge. Defaults to 'none' (inherits parent palette)\n\t */\n\tpalette: Palette = 'none';\n\n\tngOnChanges(changes: SimpleChanges): void {\n\t\tif (changes['palette']?.currentValue || changes['size']?.currentValue) {\n\t\t\tthis.#ngClass.ngClass = ['numericBadge', `palette-${this.palette}`, `mod-${this.size}`];\n\t\t}\n\t}\n}\n","{{value}}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAWa,qBAAqB,CAAA;AARlC,IAAA,WAAA,GAAA;AASC,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,OAAO,CAAC,CAAC;QAkB3B,IAAO,CAAA,OAAA,GAAY,MAAM,CAAC;AAO1B,KAAA;AAzBA,IAAA,QAAQ,CAAmB;AAoB3B,IAAA,WAAW,CAAC,OAAsB,EAAA;AACjC,QAAA,IAAI,OAAO,CAAC,SAAS,CAAC,EAAE,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC,EAAE,YAAY,EAAE;YACtE,IAAI,CAAC,QAAQ,CAAC,OAAO,GAAG,CAAC,cAAc,EAAE,CAAW,QAAA,EAAA,IAAI,CAAC,OAAO,CAAA,CAAE,EAAE,CAAO,IAAA,EAAA,IAAI,CAAC,IAAI,CAAA,CAAE,CAAC,CAAC;AACxF,SAAA;KACD;8GAzBW,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAArB,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,CAAA,OAAA,EAAA,OAAA,EAGG,eAAe,CAAA,EAAA,IAAA,EAAA,MAAA,EAAA,OAAA,EAAA,SAAA,EAAA,EAAA,aAAA,EAAA,IAAA,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAA,EAAA,CAAA,OAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECdpD,aACA,EAAA,MAAA,EAAA,CAAA,++CAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FDUa,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBARjC,SAAS;+BACC,kBAAkB,EAAA,UAAA,EAChB,IAAI,EAGC,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,cAAA,EAC/B,CAAC,OAAO,CAAC,EAAA,QAAA,EAAA,aAAA,EAAA,MAAA,EAAA,CAAA,++CAAA,CAAA,EAAA,CAAA;;AAMzB;;AAEG;QACH,KAAK,EAAA,CAAA;sBAJJ,KAAK;AAAC,gBAAA,IAAA,EAAA,CAAA,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,eAAe,EAAE,CAAA;;AAOrD;;AAEG;QACH,IAAI,EAAA,CAAA;sBAJH,KAAK;;AAON;;AAEG;QACH,OAAO,EAAA,CAAA;sBAJN,KAAK;;;AE1BP;;AAEG;;;;"}
|