@tetacom/ng-components 1.0.150 → 1.1.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/assets/color-icons.svg +521 -49
- package/assets/file-icons.svg +1 -0
- package/assets/icons.svg +138 -205
- package/component/accordion/accordion-item/accordion-item.component.d.ts +1 -4
- package/component/button/button/button.component.d.ts +1 -4
- package/component/checkbox/checkbox/checkbox.component.d.ts +1 -2
- package/component/date-picker/date-picker/date-picker.component.d.ts +68 -38
- package/component/date-picker/date-picker.module.d.ts +16 -19
- package/component/date-picker/day-select/day-select.component.d.ts +51 -0
- package/component/date-picker/model/date-picker-mode.enum.d.ts +5 -0
- package/component/date-picker/month-picker/month-picker.component.d.ts +50 -16
- package/component/date-picker/month-select/month-select.component.d.ts +40 -0
- package/component/date-picker/public-api.d.ts +4 -5
- package/component/date-picker/service/picker-touch.service.d.ts +12 -0
- package/component/date-picker/time-part-control/time-part-control.component.d.ts +26 -0
- package/component/date-picker/util/date-picker-util.d.ts +15 -0
- package/component/date-picker/year-select/year-select.component.d.ts +45 -0
- package/component/dropdown/dropdown-base.d.ts +1 -3
- package/component/filter/filter.module.d.ts +2 -1
- package/component/icon/icon-file/icon-file.component.d.ts +3 -9
- package/component/icon/icon.module.d.ts +5 -4
- package/component/icon/public-api.d.ts +0 -1
- package/component/input/input/input.component.d.ts +1 -3
- package/component/message/model/message.d.ts +0 -3
- package/component/public-api.d.ts +0 -2
- package/component/select/select/select.component.d.ts +1 -4
- package/component/select/select.module.d.ts +2 -1
- package/component/switch/switch/switch.component.d.ts +1 -4
- package/component/table/table-body/table-body.component.d.ts +1 -0
- package/component/table/table.module.d.ts +2 -1
- package/component/tree/tree.module.d.ts +2 -1
- package/directive/hint/hint.directive.d.ts +1 -3
- package/directive/only-number/only-number.directive.d.ts +2 -1
- package/directive/public-api.d.ts +1 -0
- package/directive/scrollable/public-api.d.ts +3 -0
- package/directive/scrollable/scrollable/scrollable.component.d.ts +32 -0
- package/directive/scrollable/scrollable.directive.d.ts +6 -0
- package/directive/scrollable/scrollable.module.d.ts +10 -0
- package/esm2020/component/accordion/accordion/accordion.component.mjs +2 -3
- package/esm2020/component/accordion/accordion-head/accordion-head.component.mjs +2 -3
- package/esm2020/component/accordion/accordion-item/accordion-item.component.mjs +3 -13
- package/esm2020/component/button/button/button.component.mjs +3 -18
- package/esm2020/component/checkbox/checkbox/checkbox.component.mjs +3 -6
- package/esm2020/component/date-picker/date-picker/date-picker.component.mjs +235 -141
- package/esm2020/component/date-picker/date-picker.module.mjs +45 -41
- package/esm2020/component/date-picker/day-select/day-select.component.mjs +184 -0
- package/esm2020/component/date-picker/model/date-picker-mode.enum.mjs +7 -0
- package/esm2020/component/date-picker/month-picker/month-picker.component.mjs +237 -33
- package/esm2020/component/date-picker/month-select/month-select.component.mjs +148 -0
- package/esm2020/component/date-picker/public-api.mjs +5 -6
- package/esm2020/component/date-picker/service/picker-touch.service.mjs +34 -0
- package/esm2020/component/date-picker/time-part-control/time-part-control.component.mjs +73 -0
- package/esm2020/component/date-picker/util/date-picker-util.mjs +142 -0
- package/esm2020/component/date-picker/year-select/year-select.component.mjs +189 -0
- package/esm2020/component/dropdown/dropdown/dropdown.component.mjs +2 -3
- package/esm2020/component/dropdown/dropdown-base.mjs +2 -6
- package/esm2020/component/dropdown/dropdown.directive.mjs +1 -1
- package/esm2020/component/expand-card/expand-card/expand-card.component.mjs +1 -1
- package/esm2020/component/expand-card/expand-item/expand-item.component.mjs +1 -1
- package/esm2020/component/expand-panel/expand-panel/expand-panel.component.mjs +1 -1
- package/esm2020/component/file-upload/file-upload-area/file-upload-area.component.mjs +1 -1
- package/esm2020/component/filter/date-filter/date-filter.component.mjs +1 -1
- package/esm2020/component/filter/filter.module.mjs +7 -3
- package/esm2020/component/filter/list-filter/list-filter.component.mjs +4 -3
- package/esm2020/component/filter/numeric-filter/numeric-filter.component.mjs +1 -1
- package/esm2020/component/filter/string-filter/string-filter.component.mjs +1 -1
- package/esm2020/component/icon/icon-file/icon-file.component.mjs +6 -20
- package/esm2020/component/icon/icon.module.mjs +6 -1
- package/esm2020/component/icon/public-api.mjs +1 -2
- package/esm2020/component/input/input/input.component.mjs +3 -6
- package/esm2020/component/input/input.module.mjs +1 -1
- package/esm2020/component/input/text-field/text-field.component.mjs +3 -3
- package/esm2020/component/message/message/message.component.mjs +3 -4
- package/esm2020/component/message/message-host/message-host.component.mjs +1 -1
- package/esm2020/component/message/model/message.mjs +1 -2
- package/esm2020/component/modal/dialog/dialog.component.mjs +1 -1
- package/esm2020/component/property-grid/property-grid/property-grid-item/property-grid-item.component.mjs +2 -2
- package/esm2020/component/public-api.mjs +1 -4
- package/esm2020/component/select/select/select.component.mjs +6 -9
- package/esm2020/component/select/select.module.mjs +7 -3
- package/esm2020/component/switch/switch/switch.component.mjs +7 -19
- package/esm2020/component/table/default/boolean-cell/boolean-cell.component.mjs +1 -1
- package/esm2020/component/table/default/date-cell/date-cell.component.mjs +1 -1
- package/esm2020/component/table/default/date-time-cell/date-time-cell.component.mjs +1 -1
- package/esm2020/component/table/default/default-head-cell/default-head-cell.component.mjs +1 -1
- package/esm2020/component/table/default/list-cell/list-cell.component.mjs +1 -1
- package/esm2020/component/table/default/string-cell/string-cell.component.mjs +1 -1
- package/esm2020/component/table/selection-cell/selection-cell.component.mjs +1 -1
- package/esm2020/component/table/selection-head-cell/selection-head-cell.component.mjs +1 -1
- package/esm2020/component/table/table-body/table-body.component.mjs +11 -6
- package/esm2020/component/table/table-head/filter-dropdown-tab/filter-dropdown-tab.component.mjs +1 -1
- package/esm2020/component/table/table-head/visibility-dropdown-tab/visibility-dropdown-tab.component.mjs +4 -3
- package/esm2020/component/table/table.module.mjs +7 -3
- package/esm2020/component/theme-switch/theme-switch/theme-switch.component.mjs +1 -1
- package/esm2020/component/tree/tree/tree.component.mjs +6 -4
- package/esm2020/component/tree/tree.module.mjs +5 -4
- package/esm2020/directive/hint/hint.directive.mjs +3 -6
- package/esm2020/directive/only-number/only-number.directive.mjs +12 -2
- package/esm2020/directive/public-api.mjs +2 -1
- package/esm2020/directive/scrollable/public-api.mjs +4 -0
- package/esm2020/directive/scrollable/scrollable/scrollable.component.mjs +96 -0
- package/esm2020/directive/scrollable/scrollable.directive.mjs +19 -0
- package/esm2020/directive/scrollable/scrollable.module.mjs +33 -0
- package/esm2020/locale/en.mjs +1 -3
- package/esm2020/locale/ru.mjs +1 -3
- package/esm2020/locale/teta-localisation.mjs +1 -1
- package/esm2020/observable/animation-frame.mjs +30 -0
- package/esm2020/observable/public-api.mjs +2 -1
- package/esm2020/pipe/prepend-zero/prepend-zero.module.mjs +18 -0
- package/esm2020/pipe/prepend-zero/prepend-zero.pipe.mjs +21 -0
- package/fesm2015/tetacom-ng-components.mjs +5483 -5181
- package/fesm2015/tetacom-ng-components.mjs.map +1 -1
- package/fesm2020/tetacom-ng-components.mjs +3333 -3025
- package/fesm2020/tetacom-ng-components.mjs.map +1 -1
- package/locale/teta-localisation.d.ts +0 -2
- package/observable/animation-frame.d.ts +4 -0
- package/observable/public-api.d.ts +1 -0
- package/package.json +2 -3
- package/pipe/prepend-zero/prepend-zero.module.d.ts +8 -0
- package/pipe/prepend-zero/prepend-zero.pipe.d.ts +7 -0
- package/style/accordion.scss +6 -28
- package/style/assembly-library.scss +1 -4
- package/style/assembly-presets.scss +1 -0
- package/style/button.scss +13 -16
- package/style/checkbox.scss +13 -26
- package/style/chips.scss +10 -10
- package/style/color.scss +36 -1
- package/style/datepicker.scss +24 -139
- package/style/drag.scss +1 -1
- package/style/dropdown.scss +4 -6
- package/style/hint.scss +5 -5
- package/style/icon.scss +1 -2
- package/style/input.scss +23 -32
- package/style/layout.scss +2 -6
- package/style/library.scss +17 -0
- package/style/list.scss +8 -11
- package/style/loader.scss +2 -2
- package/style/message.scss +7 -15
- package/style/modal.scss +2 -3
- package/style/navigation.scss +1 -4
- package/style/presets/color-presets.scss +160 -8
- package/style/presets/font-presets.scss +25 -26
- package/style/presets/shadow-presets.scss +16 -0
- package/style/progress.scss +3 -3
- package/style/radio.scss +7 -21
- package/style/resize-panel.scss +2 -2
- package/style/scroll.scss +21 -17
- package/style/select.scss +21 -26
- package/style/shadow.scss +20 -0
- package/style/sidebar.scss +1 -1
- package/style/switch.scss +10 -15
- package/style/table.scss +15 -17
- package/style/tabs.scss +11 -11
- package/style/toggle.scss +18 -20
- package/style/tokens/basedark.tokens.css +77 -0
- package/style/tokens/baselight.tokens.css +61 -0
- package/style/tokens/global.tokens.css +235 -0
- package/style/tokens/utility.tokens.css +1119 -0
- package/style/toolbar.scss +1 -1
- package/style/tooltip.scss +6 -8
- package/style/tree.scss +4 -4
- package/style/util/button-util.scss +58 -0
- package/common/model/view-type.model.d.ts +0 -1
- package/component/avatar/avatar/avatar.component.d.ts +0 -17
- package/component/avatar/avatar.module.d.ts +0 -9
- package/component/avatar/model/avatar-color.enum.d.ts +0 -20
- package/component/avatar/public-api.d.ts +0 -2
- package/component/date-picker/base-calendar.d.ts +0 -49
- package/component/date-picker/base-picker.d.ts +0 -60
- package/component/date-picker/date-picker/date-calendar/date-calendar.component.d.ts +0 -20
- package/component/date-picker/date-range/date-range.component.d.ts +0 -46
- package/component/date-picker/date-range/range-calendar/range-calendar.component.d.ts +0 -39
- package/component/date-picker/day-picker/day-item/day-item.component.d.ts +0 -9
- package/component/date-picker/day-picker/day-picker.component.d.ts +0 -30
- package/component/date-picker/model/from-to.model.d.ts +0 -4
- package/component/date-picker/model/min-max-date.model.d.ts +0 -4
- package/component/date-picker/year-picker/scroll-to-selected-year.directive.d.ts +0 -11
- package/component/date-picker/year-picker/year-picker.component.d.ts +0 -24
- package/component/divider/divider/divider.component.d.ts +0 -10
- package/component/divider/divider.module.d.ts +0 -8
- package/component/divider/public-api.d.ts +0 -2
- package/component/icon/icon-file/icon-file.module.d.ts +0 -9
- package/esm2020/common/model/view-type.model.mjs +0 -2
- package/esm2020/component/avatar/avatar/avatar.component.mjs +0 -57
- package/esm2020/component/avatar/avatar.module.mjs +0 -28
- package/esm2020/component/avatar/model/avatar-color.enum.mjs +0 -22
- package/esm2020/component/avatar/public-api.mjs +0 -3
- package/esm2020/component/date-picker/base-calendar.mjs +0 -99
- package/esm2020/component/date-picker/base-picker.mjs +0 -102
- package/esm2020/component/date-picker/date-picker/date-calendar/date-calendar.component.mjs +0 -49
- package/esm2020/component/date-picker/date-range/date-range.component.mjs +0 -211
- package/esm2020/component/date-picker/date-range/range-calendar/range-calendar.component.mjs +0 -108
- package/esm2020/component/date-picker/day-picker/day-item/day-item.component.mjs +0 -15
- package/esm2020/component/date-picker/day-picker/day-picker.component.mjs +0 -113
- package/esm2020/component/date-picker/model/from-to.model.mjs +0 -2
- package/esm2020/component/date-picker/model/min-max-date.model.mjs +0 -2
- package/esm2020/component/date-picker/year-picker/scroll-to-selected-year.directive.mjs +0 -26
- package/esm2020/component/date-picker/year-picker/year-picker.component.mjs +0 -48
- package/esm2020/component/divider/divider/divider.component.mjs +0 -18
- package/esm2020/component/divider/divider.module.mjs +0 -20
- package/esm2020/component/divider/public-api.mjs +0 -3
- package/esm2020/component/icon/icon-file/icon-file.module.mjs +0 -28
- package/style/badge.scss +0 -28
- package/style/bottombar.scss +0 -5
- package/style/divider.scss +0 -15
- package/style/presets/view-types.scss +0 -15
- package/style/tag.scss +0 -37
- package/style/util/scroll-util.scss +0 -4
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Directive, ElementRef, Inject } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class ScrollToSelectedYearDirective {
|
|
4
|
-
constructor(el) {
|
|
5
|
-
this.el = el;
|
|
6
|
-
this.alive = true;
|
|
7
|
-
}
|
|
8
|
-
ngOnDestroy() {
|
|
9
|
-
this.alive = false;
|
|
10
|
-
}
|
|
11
|
-
ngAfterViewInit() {
|
|
12
|
-
this.el.nativeElement.scrollIntoView({ inline: "center", block: "center" });
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
ScrollToSelectedYearDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: ScrollToSelectedYearDirective, deps: [{ token: ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
16
|
-
ScrollToSelectedYearDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.2", type: ScrollToSelectedYearDirective, selector: "[tetaScrollToSelectedYear]", ngImport: i0 });
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: ScrollToSelectedYearDirective, decorators: [{
|
|
18
|
-
type: Directive,
|
|
19
|
-
args: [{
|
|
20
|
-
selector: '[tetaScrollToSelectedYear]'
|
|
21
|
-
}]
|
|
22
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{
|
|
23
|
-
type: Inject,
|
|
24
|
-
args: [ElementRef]
|
|
25
|
-
}] }]; } });
|
|
26
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Nyb2xsLXRvLXNlbGVjdGVkLXllYXIuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudC9kYXRlLXBpY2tlci95ZWFyLXBpY2tlci9zY3JvbGwtdG8tc2VsZWN0ZWQteWVhci5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxVQUFVLEVBQUUsTUFBTSxFQUFZLE1BQU0sZUFBZSxDQUFDOztBQUt2RSxNQUFNLE9BQU8sNkJBQTZCO0lBR3hDLFlBQWlELEVBQXVCO1FBQXZCLE9BQUUsR0FBRixFQUFFLENBQXFCO1FBRmpFLFVBQUssR0FBRyxJQUFJLENBQUM7SUFJcEIsQ0FBQztJQUdELFdBQVc7UUFDVCxJQUFJLENBQUMsS0FBSy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
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, } from '@angular/core';
|
|
2
|
-
import dayjs from "dayjs";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common";
|
|
5
|
-
import * as i2 from "./scroll-to-selected-year.directive";
|
|
6
|
-
export class YearPickerComponent {
|
|
7
|
-
constructor() {
|
|
8
|
-
this.selectYear = new EventEmitter();
|
|
9
|
-
this.yearPickerDictionary = new Map().set('ru', 'Выберете год').set('en', 'Select year');
|
|
10
|
-
this.alive = true;
|
|
11
|
-
}
|
|
12
|
-
pickYear(year, disabled) {
|
|
13
|
-
if (!disabled) {
|
|
14
|
-
this.selectYear.emit(year);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
ngOnInit() {
|
|
18
|
-
this.years = new Array(100).fill(1).map((v, i) => {
|
|
19
|
-
const year = new Date().getFullYear() + (i - 50);
|
|
20
|
-
return { id: year, isSelected: year === this.selectedYear, disabled: this.isDisabled(year) };
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
isDisabled(year) {
|
|
24
|
-
if (this.minMax) {
|
|
25
|
-
const isSuitableMax = dayjs(new Date().setFullYear(year)).startOf('year').isAfter(new Date(this.minMax.max)) && this.minMax.max !== null;
|
|
26
|
-
const isSuitableMin = dayjs(new Date().setFullYear(year)).endOf('year').isBefore(new Date(this.minMax.min)) && this.minMax.min !== null;
|
|
27
|
-
return isSuitableMax || isSuitableMin;
|
|
28
|
-
}
|
|
29
|
-
return false;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
YearPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: YearPickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
33
|
-
YearPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.2", type: YearPickerComponent, selector: "teta-year-picker", inputs: { selectedYear: "selectedYear", viewType: "viewType", minMax: "minMax", locale: "locale" }, outputs: { selectYear: "selectYear" }, ngImport: i0, template: "<div class=\"column\">\n <div class=\"font-title-3 padding-v-4 padding-h-3\">\n <p>{{yearPickerDictionary.get(locale)}}</p>\n </div>\n <div class=\"datepicker-year overflow-y-auto\">\n <div *ngFor=\"let y of years\" class=\"font-button-2\" (click)=\"pickYear(y.id,y.disabled)\">\n <div [ngClass]=\"{'datepicker-year_item_active':y.isSelected,'datepicker-year_item_disabled':y.disabled}\"\n [class]=\"'datepicker-year_item column align-center justify-content-center datepicker_'+viewType\">\n <div *ngIf=\" y.isSelected===true\" tetaScrollToSelectedYear>\n <span>{{y.id}}</span>\n </div>\n <div *ngIf=\"!y.isSelected\">\n <span>{{y.id}} </span>\n </div>\n </div>\n </div>\n </div>\n</div>\n\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.ScrollToSelectedYearDirective, selector: "[tetaScrollToSelectedYear]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: YearPickerComponent, decorators: [{
|
|
35
|
-
type: Component,
|
|
36
|
-
args: [{ selector: 'teta-year-picker', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"column\">\n <div class=\"font-title-3 padding-v-4 padding-h-3\">\n <p>{{yearPickerDictionary.get(locale)}}</p>\n </div>\n <div class=\"datepicker-year overflow-y-auto\">\n <div *ngFor=\"let y of years\" class=\"font-button-2\" (click)=\"pickYear(y.id,y.disabled)\">\n <div [ngClass]=\"{'datepicker-year_item_active':y.isSelected,'datepicker-year_item_disabled':y.disabled}\"\n [class]=\"'datepicker-year_item column align-center justify-content-center datepicker_'+viewType\">\n <div *ngIf=\" y.isSelected===true\" tetaScrollToSelectedYear>\n <span>{{y.id}}</span>\n </div>\n <div *ngIf=\"!y.isSelected\">\n <span>{{y.id}} </span>\n </div>\n </div>\n </div>\n </div>\n</div>\n\n" }]
|
|
37
|
-
}], ctorParameters: function () { return []; }, propDecorators: { selectedYear: [{
|
|
38
|
-
type: Input
|
|
39
|
-
}], viewType: [{
|
|
40
|
-
type: Input
|
|
41
|
-
}], minMax: [{
|
|
42
|
-
type: Input
|
|
43
|
-
}], locale: [{
|
|
44
|
-
type: Input
|
|
45
|
-
}], selectYear: [{
|
|
46
|
-
type: Output
|
|
47
|
-
}] } });
|
|
48
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoieWVhci1waWNrZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudC9kYXRlLXBpY2tlci95ZWFyLXBpY2tlci95ZWFyLXBpY2tlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50L2RhdGUtcGlja2VyL3llYXItcGlja2VyL3llYXItcGlja2VyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULFlBQVksRUFDWixLQUFLLEVBRUwsTUFBTSxHQUNQLE1BQU0sZUFBZSxDQUFDO0FBRXZCLE9BQU8sS0FBSyxNQUFNLE9BQU8sQ0FBQzs7OztBQVMxQixNQUFNLE9BQU8sbUJBQW1CO0lBVzlCO1FBTlUsZUFBVSxHQUF5QixJQUFJLFlBQVksRUFBVSxDQUFBO1FBRWhFLHlCQUFvQixHQUF3QixJQUFJLEd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/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
export class DividerComponent {
|
|
5
|
-
constructor() { }
|
|
6
|
-
ngOnInit() { }
|
|
7
|
-
}
|
|
8
|
-
DividerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DividerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9
|
-
DividerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.2", type: DividerComponent, selector: "teta-divider", inputs: { label: "label", template: "template" }, ngImport: i0, template: "<div class=\"divider\" style=\"width: 100%\">\n <div class=\"bg-text-20\" style=\"height: 1px\"></div>\n <div class=\"divider-content padding-h-2\" *ngIf=\"!template; else templateOutlet\">{{ label }}</div>\n <div class=\"bg-text-20\" style=\"height: 1px\"></div>\n</div>\n\n<ng-template #templateOutlet>\n <ng-container *ngTemplateOutlet=\"template\"></ng-container>\n</ng-template>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DividerComponent, decorators: [{
|
|
11
|
-
type: Component,
|
|
12
|
-
args: [{ selector: 'teta-divider', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"divider\" style=\"width: 100%\">\n <div class=\"bg-text-20\" style=\"height: 1px\"></div>\n <div class=\"divider-content padding-h-2\" *ngIf=\"!template; else templateOutlet\">{{ label }}</div>\n <div class=\"bg-text-20\" style=\"height: 1px\"></div>\n</div>\n\n<ng-template #templateOutlet>\n <ng-container *ngTemplateOutlet=\"template\"></ng-container>\n</ng-template>\n" }]
|
|
13
|
-
}], ctorParameters: function () { return []; }, propDecorators: { label: [{
|
|
14
|
-
type: Input
|
|
15
|
-
}], template: [{
|
|
16
|
-
type: Input
|
|
17
|
-
}] } });
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGl2aWRlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50L2RpdmlkZXIvZGl2aWRlci9kaXZpZGVyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvZGl2aWRlci9kaXZpZGVyL2RpdmlkZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBQUUsS0FBSyxHQUVqQixNQUFNLGVBQWUsQ0FBQzs7O0FBUXZCLE1BQU0sT0FBTyxnQkFBZ0I7SUFLM0IsZ0JBQWUsQ0FBQztJQUNoQixRQUFRLEtBQVUsQ0FBQzs7NkdBTlIsZ0JBQWdCO2lHQUFoQixnQkFBZ0Isc0dDWjdCLHVZQVNBOzJGREdhLGdCQUFnQjtrQkFONUIsU0FBUzsrQkFDRSxjQUFjLG1CQUdQLHVCQUF1QixDQUFDLE1BQU07MEVBSXRDLEtBQUs7c0JBQWIsS0FBSztnQkFFRyxRQUFRO3NCQUFoQixLQUFLIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtcbiAgQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3ksXG4gIENvbXBvbmVudCwgSW5wdXQsXG4gIE9uSW5pdCwgVGVtcGxhdGVSZWYsXG59IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICd0ZXRhLWRpdmlkZXInLFxuICB0ZW1wbGF0ZVVybDogJy4vZGl2aWRlci5jb21wb25lbnQuaHRtbCcsXG4gIHN0eWxlVXJsczogWycuL2RpdmlkZXIuY29tcG9uZW50LnNjc3MnXSxcbiAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2gsXG59KVxuZXhwb3J0IGNsYXNzIERpdmlkZXJDb21wb25lbnQgaW1wbGVtZW50cyBPbkluaXQge1xuXG4gIEBJbnB1dCgpIGxhYmVsO1xuXG4gIEBJbnB1dCgpIHRlbXBsYXRlOiBUZW1wbGF0ZVJlZjxhbnk+XG4gIGNvbnN0cnVjdG9yKCkge31cbiAgbmdPbkluaXQoKTogdm9pZCB7fVxufVxuIiwiPGRpdiBjbGFzcz1cImRpdmlkZXJcIiBzdHlsZT1cIndpZHRoOiAxMDAlXCI+XG4gIDxkaXYgY2xhc3M9XCJiZy10ZXh0LTIwXCIgc3R5bGU9XCJoZWlnaHQ6IDFweFwiPjwvZGl2PlxuICA8ZGl2IGNsYXNzPVwiZGl2aWRlci1jb250ZW50IHBhZGRpbmctaC0yXCIgKm5nSWY9XCIhdGVtcGxhdGU7IGVsc2UgdGVtcGxhdGVPdXRsZXRcIj57eyBsYWJlbCB9fTwvZGl2PlxuICA8ZGl2IGNsYXNzPVwiYmctdGV4dC0yMFwiIHN0eWxlPVwiaGVpZ2h0OiAxcHhcIj48L2Rpdj5cbjwvZGl2PlxuXG48bmctdGVtcGxhdGUgI3RlbXBsYXRlT3V0bGV0PlxuICA8bmctY29udGFpbmVyICpuZ1RlbXBsYXRlT3V0bGV0PVwidGVtcGxhdGVcIj48L25nLWNvbnRhaW5lcj5cbjwvbmctdGVtcGxhdGU+XG4iXX0=
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { DividerComponent } from "./divider/divider.component";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class DividerModule {
|
|
6
|
-
}
|
|
7
|
-
DividerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DividerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
-
DividerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: DividerModule, declarations: [DividerComponent], imports: [CommonModule], exports: [DividerComponent] });
|
|
9
|
-
DividerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DividerModule, imports: [CommonModule] });
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DividerModule, decorators: [{
|
|
11
|
-
type: NgModule,
|
|
12
|
-
args: [{
|
|
13
|
-
declarations: [DividerComponent],
|
|
14
|
-
exports: [DividerComponent],
|
|
15
|
-
imports: [
|
|
16
|
-
CommonModule
|
|
17
|
-
]
|
|
18
|
-
}]
|
|
19
|
-
}] });
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGl2aWRlci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50L2RpdmlkZXIvZGl2aWRlci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN2QyxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFDN0MsT0FBTyxFQUFDLGdCQUFnQixFQUFDLE1BQU0sNkJBQTZCLENBQUM7O0FBUzdELE1BQU0sT0FBTyxhQUFhOzswR0FBYixhQUFhOzJHQUFiLGFBQWEsaUJBTlQsZ0JBQWdCLGFBRzdCLFlBQVksYUFGSixnQkFBZ0I7MkdBS2YsYUFBYSxZQUh0QixZQUFZOzJGQUdILGFBQWE7a0JBUHpCLFFBQVE7bUJBQUM7b0JBQ1IsWUFBWSxFQUFFLENBQUMsZ0JBQWdCLENBQUM7b0JBQ2hDLE9BQU8sRUFBRSxDQUFDLGdCQUFnQixDQUFDO29CQUMzQixPQUFPLEVBQUU7d0JBQ1AsWUFBWTtxQkFDYjtpQkFDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7TmdNb2R1bGV9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHtDb21tb25Nb2R1bGV9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQge0RpdmlkZXJDb21wb25lbnR9IGZyb20gXCIuL2RpdmlkZXIvZGl2aWRlci5jb21wb25lbnRcIjtcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbRGl2aWRlckNvbXBvbmVudF0sXG4gIGV4cG9ydHM6IFtEaXZpZGVyQ29tcG9uZW50XSxcbiAgaW1wb3J0czogW1xuICAgIENvbW1vbk1vZHVsZVxuICBdXG59KVxuZXhwb3J0IGNsYXNzIERpdmlkZXJNb2R1bGUge1xufVxuIl19
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './divider.module';
|
|
2
|
-
export * from './divider/divider.component';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvZGl2aWRlci9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsa0JBQWtCLENBQUM7QUFDakMsY0FBYyw2QkFBNkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZGl2aWRlci5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9kaXZpZGVyL2RpdmlkZXIuY29tcG9uZW50JztcbiJdfQ==
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { IconFileComponent } from './icon-file.component';
|
|
4
|
-
import { HttpClientModule } from '@angular/common/http';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class IconFileModule {
|
|
7
|
-
}
|
|
8
|
-
IconFileModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: IconFileModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
-
IconFileModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: IconFileModule, declarations: [IconFileComponent], imports: [CommonModule,
|
|
10
|
-
HttpClientModule], exports: [IconFileComponent] });
|
|
11
|
-
IconFileModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: IconFileModule, imports: [CommonModule,
|
|
12
|
-
HttpClientModule] });
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: IconFileModule, decorators: [{
|
|
14
|
-
type: NgModule,
|
|
15
|
-
args: [{
|
|
16
|
-
declarations: [
|
|
17
|
-
IconFileComponent
|
|
18
|
-
],
|
|
19
|
-
exports: [
|
|
20
|
-
IconFileComponent
|
|
21
|
-
],
|
|
22
|
-
imports: [
|
|
23
|
-
CommonModule,
|
|
24
|
-
HttpClientModule
|
|
25
|
-
]
|
|
26
|
-
}]
|
|
27
|
-
}] });
|
|
28
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWNvbi1maWxlLm1vZHVs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ByaXRlLmRpcmVjdGl2ZVwiO1xuaW1wb3J0IHtIdHRwQ2xpZW50TW9kdWxlfSBmcm9tICdAYW5ndWxhci9jb21tb24vaHR0cCc7XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW1xuICAgIEljb25GaWxlQ29tcG9uZW50XG4gIF0sXG4gIGV4cG9ydHM6IFtcbiAgICBJY29uRmlsZUNvbXBvbmVudFxuICBdLFxuICBpbXBvcnRzOiBbXG4gICAgQ29tbW9uTW9kdWxlLFxuICAgIEh0dHBDbGllbnRNb2R1bGVcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBJY29uRmlsZU1vZHVsZSB7XG59XG4iXX0=
|
package/style/badge.scss
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
@import "util/font-util.scss";
|
|
2
|
-
@import "util/color-util.scss";
|
|
3
|
-
@import "presets/view-types.scss";
|
|
4
|
-
|
|
5
|
-
.badge {
|
|
6
|
-
border-style: solid;
|
|
7
|
-
border-width: 1px;
|
|
8
|
-
width: fit-content;
|
|
9
|
-
padding: 4px 6px;
|
|
10
|
-
border-radius: 8px;
|
|
11
|
-
@include getFont($fonts, 'overline');
|
|
12
|
-
|
|
13
|
-
@include getView('base');
|
|
14
|
-
|
|
15
|
-
@each $paletteName, $palette in map-get($themes, nth(map-keys($themes), 1)) {
|
|
16
|
-
&-#{"" + $paletteName} {
|
|
17
|
-
border-color: getColorVar($paletteName, '50');
|
|
18
|
-
color: getColorVar($paletteName, '50');
|
|
19
|
-
|
|
20
|
-
&_filled {
|
|
21
|
-
background-color: getColorVar($paletteName, '50');
|
|
22
|
-
color: white;
|
|
23
|
-
border-color: transparent;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
package/style/bottombar.scss
DELETED
package/style/divider.scss
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// Get classes by token type: 'base', 'btn', 'field'
|
|
2
|
-
|
|
3
|
-
@mixin getView($tokenType) {
|
|
4
|
-
&_brick {
|
|
5
|
-
border-radius: var(--radius-#{$tokenType}-brick);
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
&_circle {
|
|
9
|
-
border-radius: var(--radius-#{$tokenType}-circle)''
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
&_rounded {
|
|
13
|
-
border-radius: var(--radius-#{$tokenType}-round);
|
|
14
|
-
}
|
|
15
|
-
}
|
package/style/tag.scss
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
@import "./util/font-util.scss";
|
|
2
|
-
@import "presets/view-types.scss";
|
|
3
|
-
|
|
4
|
-
.tag{
|
|
5
|
-
display: inline-flex;
|
|
6
|
-
padding: 2px 2px 2px 10px;
|
|
7
|
-
@include getFont($fonts, 'caption');
|
|
8
|
-
border-color: var(--color-text-5);
|
|
9
|
-
border-radius: 14px;
|
|
10
|
-
gap: 4px;
|
|
11
|
-
border-style: solid;
|
|
12
|
-
border-width: 1px;
|
|
13
|
-
fill: var(--color-text-50);
|
|
14
|
-
color: var(--color-text-90);
|
|
15
|
-
transition: border-color 0.4s, background-color 0.4s;
|
|
16
|
-
@include getView('base');
|
|
17
|
-
&_filled {
|
|
18
|
-
background-color: var(--color-text-5);
|
|
19
|
-
border-color: transparent;
|
|
20
|
-
&:hover:not(:active){
|
|
21
|
-
background-color: var(--color-text-10);
|
|
22
|
-
fill: var(--color-text-60);
|
|
23
|
-
}
|
|
24
|
-
&:active{
|
|
25
|
-
background-color: var(--color-text-20);
|
|
26
|
-
fill: var(--color-text-70);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
&:hover:not(:active):not(&_filled){
|
|
30
|
-
border-color: var(--color-text-10);
|
|
31
|
-
fill: var(--color-text-60);
|
|
32
|
-
}
|
|
33
|
-
&:active:not(&_filled){
|
|
34
|
-
border-color: var(--color-text-20);
|
|
35
|
-
fill: var(--color-text-70);
|
|
36
|
-
}
|
|
37
|
-
}
|