@taiga-ui/core 2.32.0 → 2.33.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/abstract/abstract-dropdown.d.ts +2 -1
- package/abstract/abstract-textfield-host.d.ts +13 -0
- package/abstract/index.d.ts +1 -0
- package/abstract/taiga-ui-core-abstract.metadata.json +1 -1
- package/bundles/taiga-ui-core-abstract.umd.js +63 -0
- package/bundles/taiga-ui-core-abstract.umd.js.map +1 -1
- package/bundles/taiga-ui-core-abstract.umd.min.js +1 -1
- package/bundles/taiga-ui-core-abstract.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-dialog.umd.js +1 -1
- package/bundles/taiga-ui-core-components-dialog.umd.min.js +1 -1
- package/bundles/taiga-ui-core-components-dialog.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-dropdown-box.umd.js +1 -1
- package/bundles/taiga-ui-core-components-dropdown-box.umd.min.js +1 -1
- package/bundles/taiga-ui-core-components-dropdown-box.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-label.umd.js +1 -1
- package/bundles/taiga-ui-core-components-label.umd.min.js +1 -1
- package/bundles/taiga-ui-core-components-label.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-loader.umd.js +5 -2
- package/bundles/taiga-ui-core-components-loader.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-loader.umd.min.js +1 -1
- package/bundles/taiga-ui-core-components-loader.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +201 -42
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.min.js +2 -2
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-theme-night.umd.js +1 -1
- package/bundles/taiga-ui-core-components-theme-night.umd.min.js +1 -1
- package/bundles/taiga-ui-core-components-theme-night.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-tooltip.umd.js +1 -1
- package/bundles/taiga-ui-core-components-tooltip.umd.min.js +1 -1
- package/bundles/taiga-ui-core-components-tooltip.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-constants.umd.js +1 -1
- package/bundles/taiga-ui-core-constants.umd.js.map +1 -1
- package/bundles/taiga-ui-core-constants.umd.min.js +1 -1
- package/bundles/taiga-ui-core-constants.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-directives-dropdown.umd.js +1 -6
- package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-dropdown.umd.min.js +2 -2
- package/bundles/taiga-ui-core-directives-dropdown.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-directives.umd.js +4 -12
- package/bundles/taiga-ui-core-directives.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives.umd.min.js +1 -1
- package/bundles/taiga-ui-core-tokens.umd.js +3 -0
- package/bundles/taiga-ui-core-tokens.umd.js.map +1 -1
- package/bundles/taiga-ui-core-tokens.umd.min.js +2 -2
- package/bundles/taiga-ui-core-tokens.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-utils-format.umd.js +1 -1
- package/bundles/taiga-ui-core-utils-format.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-format.umd.min.js +1 -1
- package/bundles/taiga-ui-core-utils-format.umd.min.js.map +1 -1
- package/components/dialog/taiga-ui-core-components-dialog.metadata.json +1 -1
- package/components/dropdown-box/taiga-ui-core-components-dropdown-box.metadata.json +1 -1
- package/components/label/taiga-ui-core-components-label.metadata.json +1 -1
- package/components/loader/loader.directive.d.ts +3 -0
- package/components/loader/taiga-ui-core-components-loader.metadata.json +1 -1
- package/components/primitive-textfield/index.d.ts +2 -0
- package/components/primitive-textfield/primitive-textfield.component.d.ts +12 -8
- package/components/primitive-textfield/primitive-textfield.directive.d.ts +8 -0
- package/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.metadata.json +1 -1
- package/components/primitive-textfield/textfield/textfield.component.d.ts +15 -0
- package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +1 -0
- package/components/theme-night/taiga-ui-core-components-theme-night.metadata.json +1 -1
- package/components/tooltip/taiga-ui-core-components-tooltip.metadata.json +1 -1
- package/constants/taiga-ui-core-constants.metadata.json +1 -1
- package/constants/version.d.ts +1 -1
- package/directives/dropdown/taiga-ui-core-directives-dropdown.metadata.json +1 -1
- package/directives/index.d.ts +0 -1
- package/directives/taiga-ui-core-directives.metadata.json +1 -1
- package/esm2015/abstract/abstract-dropdown.js +12 -1
- package/esm2015/abstract/abstract-textfield-host.js +34 -0
- package/esm2015/abstract/index.js +2 -1
- package/esm2015/components/dialog/dialog.component.js +1 -1
- package/esm2015/components/dropdown-box/dropdown-box.component.js +1 -1
- package/esm2015/components/label/label.component.js +1 -1
- package/esm2015/components/loader/loader.component.js +1 -1
- package/esm2015/components/loader/loader.directive.js +5 -2
- package/esm2015/components/primitive-textfield/index.js +3 -1
- package/esm2015/components/primitive-textfield/primitive-textfield.component.js +54 -29
- package/esm2015/components/primitive-textfield/primitive-textfield.directive.js +40 -0
- package/esm2015/components/primitive-textfield/primitive-textfield.module.js +15 -7
- package/esm2015/components/primitive-textfield/textfield/textfield.component.js +68 -0
- package/esm2015/components/primitive-textfield/value-decoration/value-decoration.component.js +12 -5
- package/esm2015/components/theme-night/theme-night.component.js +1 -1
- package/esm2015/components/tooltip/tooltip.component.js +1 -1
- package/esm2015/constants/version.js +2 -2
- package/esm2015/directives/dropdown/dropdown.directive.js +2 -7
- package/esm2015/directives/index.js +1 -2
- package/esm2015/interfaces/index.js +1 -1
- package/esm2015/interfaces/textfield-host.js +1 -0
- package/esm2015/tokens/index.js +2 -1
- package/esm2015/tokens/textfield-host.js +3 -0
- package/esm2015/utils/format/format-number.js +2 -2
- package/esm5/abstract/abstract-dropdown.js +12 -1
- package/esm5/abstract/abstract-textfield-host.js +55 -0
- package/esm5/abstract/index.js +2 -1
- package/esm5/components/dialog/dialog.component.js +1 -1
- package/esm5/components/dropdown-box/dropdown-box.component.js +1 -1
- package/esm5/components/label/label.component.js +1 -1
- package/esm5/components/loader/loader.component.js +1 -1
- package/esm5/components/loader/loader.directive.js +5 -2
- package/esm5/components/primitive-textfield/index.js +3 -1
- package/esm5/components/primitive-textfield/primitive-textfield.component.js +58 -33
- package/esm5/components/primitive-textfield/primitive-textfield.directive.js +49 -0
- package/esm5/components/primitive-textfield/primitive-textfield.module.js +15 -7
- package/esm5/components/primitive-textfield/textfield/textfield.component.js +77 -0
- package/esm5/components/primitive-textfield/value-decoration/value-decoration.component.js +16 -5
- package/esm5/components/theme-night/theme-night.component.js +1 -1
- package/esm5/components/tooltip/tooltip.component.js +1 -1
- package/esm5/constants/version.js +2 -2
- package/esm5/directives/dropdown/dropdown.directive.js +2 -7
- package/esm5/directives/index.js +1 -2
- package/esm5/interfaces/index.js +1 -1
- package/esm5/interfaces/textfield-host.js +1 -0
- package/esm5/tokens/index.js +2 -1
- package/esm5/tokens/textfield-host.js +3 -0
- package/esm5/utils/format/format-number.js +2 -2
- package/fesm2015/taiga-ui-core-abstract.js +45 -4
- package/fesm2015/taiga-ui-core-abstract.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-dialog.js +1 -1
- package/fesm2015/taiga-ui-core-components-dropdown-box.js +1 -1
- package/fesm2015/taiga-ui-core-components-label.js +1 -1
- package/fesm2015/taiga-ui-core-components-loader.js +5 -2
- package/fesm2015/taiga-ui-core-components-loader.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js +175 -40
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-theme-night.js +1 -1
- package/fesm2015/taiga-ui-core-components-tooltip.js +1 -1
- package/fesm2015/taiga-ui-core-constants.js +1 -1
- package/fesm2015/taiga-ui-core-constants.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-dropdown.js +1 -6
- package/fesm2015/taiga-ui-core-directives-dropdown.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives.js +0 -1
- package/fesm2015/taiga-ui-core-directives.js.map +1 -1
- package/fesm2015/taiga-ui-core-tokens.js +3 -1
- package/fesm2015/taiga-ui-core-tokens.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-format.js +1 -1
- package/fesm2015/taiga-ui-core-utils-format.js.map +1 -1
- package/fesm5/taiga-ui-core-abstract.js +66 -4
- package/fesm5/taiga-ui-core-abstract.js.map +1 -1
- package/fesm5/taiga-ui-core-components-dialog.js +1 -1
- package/fesm5/taiga-ui-core-components-dropdown-box.js +1 -1
- package/fesm5/taiga-ui-core-components-label.js +1 -1
- package/fesm5/taiga-ui-core-components-loader.js +5 -2
- package/fesm5/taiga-ui-core-components-loader.js.map +1 -1
- package/fesm5/taiga-ui-core-components-primitive-textfield.js +201 -44
- package/fesm5/taiga-ui-core-components-primitive-textfield.js.map +1 -1
- package/fesm5/taiga-ui-core-components-theme-night.js +1 -1
- package/fesm5/taiga-ui-core-components-tooltip.js +1 -1
- package/fesm5/taiga-ui-core-constants.js +1 -1
- package/fesm5/taiga-ui-core-constants.js.map +1 -1
- package/fesm5/taiga-ui-core-directives-dropdown.js +1 -6
- package/fesm5/taiga-ui-core-directives-dropdown.js.map +1 -1
- package/fesm5/taiga-ui-core-directives.js +0 -1
- package/fesm5/taiga-ui-core-directives.js.map +1 -1
- package/fesm5/taiga-ui-core-tokens.js +3 -1
- package/fesm5/taiga-ui-core-tokens.js.map +1 -1
- package/fesm5/taiga-ui-core-utils-format.js +1 -1
- package/fesm5/taiga-ui-core-utils-format.js.map +1 -1
- package/interfaces/index.d.ts +1 -0
- package/interfaces/taiga-ui-core-interfaces.metadata.json +1 -1
- package/interfaces/textfield-host.d.ts +9 -0
- package/package.json +10 -9
- package/styles/markup/tui-island.less +1 -0
- package/styles/mixins/textfield.less +40 -27
- package/styles/mixins/textfield.scss +0 -9
- package/styles/theme/variables.less +2 -0
- package/tokens/index.d.ts +1 -0
- package/tokens/taiga-ui-core-tokens.metadata.json +1 -1
- package/tokens/textfield-host.d.ts +3 -0
- package/bundles/taiga-ui-core-directives-border.umd.js +0 -291
- package/bundles/taiga-ui-core-directives-border.umd.js.map +0 -1
- package/bundles/taiga-ui-core-directives-border.umd.min.js +0 -16
- package/bundles/taiga-ui-core-directives-border.umd.min.js.map +0 -1
- package/directives/border/border.directive.d.ts +0 -9
- package/directives/border/border.module.d.ts +0 -2
- package/directives/border/index.d.ts +0 -2
- package/directives/border/package.json +0 -13
- package/directives/border/taiga-ui-core-directives-border.d.ts +0 -4
- package/directives/border/taiga-ui-core-directives-border.metadata.json +0 -1
- package/esm2015/directives/border/border.directive.js +0 -42
- package/esm2015/directives/border/border.module.js +0 -13
- package/esm2015/directives/border/index.js +0 -3
- package/esm2015/directives/border/taiga-ui-core-directives-border.js +0 -5
- package/esm5/directives/border/border.directive.js +0 -51
- package/esm5/directives/border/border.module.js +0 -16
- package/esm5/directives/border/index.js +0 -3
- package/esm5/directives/border/taiga-ui-core-directives-border.js +0 -5
- package/fesm2015/taiga-ui-core-directives-border.js +0 -57
- package/fesm2015/taiga-ui-core-directives-border.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-border.js +0 -69
- package/fesm5/taiga-ui-core-directives-border.js.map +0 -1
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktY29yZS1kaXJlY3RpdmVzLWJvcmRlci5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9jb3JlL2RpcmVjdGl2ZXMvYm9yZGVyLyIsInNvdXJjZXMiOlsidGFpZ2EtdWktY29yZS1kaXJlY3RpdmVzLWJvcmRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { __decorate, __param } from "tslib";
|
|
2
|
-
import { Directive, HostBinding, Inject, Input } from '@angular/core';
|
|
3
|
-
import { CSS } from '@ng-web-apis/common';
|
|
4
|
-
var TuiBorderDirective = /** @class */ (function () {
|
|
5
|
-
function TuiBorderDirective(css) {
|
|
6
|
-
this.css = css;
|
|
7
|
-
this.start = 0;
|
|
8
|
-
this.end = 0;
|
|
9
|
-
this.modern = this.css.supports('border-inline-start-width', '0');
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(TuiBorderDirective.prototype, "oldStart", {
|
|
12
|
-
get: function () {
|
|
13
|
-
return this.modern ? null : this.start;
|
|
14
|
-
},
|
|
15
|
-
enumerable: true,
|
|
16
|
-
configurable: true
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(TuiBorderDirective.prototype, "oldEnd", {
|
|
19
|
-
get: function () {
|
|
20
|
-
return this.modern ? null : this.end;
|
|
21
|
-
},
|
|
22
|
-
enumerable: true,
|
|
23
|
-
configurable: true
|
|
24
|
-
});
|
|
25
|
-
TuiBorderDirective.ctorParameters = function () { return [
|
|
26
|
-
{ type: undefined, decorators: [{ type: Inject, args: [CSS,] }] }
|
|
27
|
-
]; };
|
|
28
|
-
__decorate([
|
|
29
|
-
Input('tuiBorderStart'),
|
|
30
|
-
HostBinding('style.borderInlineStartWidth.rem')
|
|
31
|
-
], TuiBorderDirective.prototype, "start", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
Input('tuiBorderEnd'),
|
|
34
|
-
HostBinding('style.borderInlineEndWidth.rem')
|
|
35
|
-
], TuiBorderDirective.prototype, "end", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
HostBinding('style.borderLeftWidth.rem')
|
|
38
|
-
], TuiBorderDirective.prototype, "oldStart", null);
|
|
39
|
-
__decorate([
|
|
40
|
-
HostBinding('style.borderRightWidth.rem')
|
|
41
|
-
], TuiBorderDirective.prototype, "oldEnd", null);
|
|
42
|
-
TuiBorderDirective = __decorate([
|
|
43
|
-
Directive({
|
|
44
|
-
selector: '[tuiBorderStart], [tuiBorderEnd]',
|
|
45
|
-
}),
|
|
46
|
-
__param(0, Inject(CSS))
|
|
47
|
-
], TuiBorderDirective);
|
|
48
|
-
return TuiBorderDirective;
|
|
49
|
-
}());
|
|
50
|
-
export { TuiBorderDirective };
|
|
51
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm9yZGVyLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9jb3JlL2RpcmVjdGl2ZXMvYm9yZGVyLyIsInNvdXJjZXMiOlsiYm9yZGVyLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxXQUFXLEVBQUUsTUFBTSxFQUFFLEtBQUssRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUNwRSxPQUFPLEVBQUMsR0FBRyxFQUFDLE1BQU0scUJBQXFCLENBQUM7QUFLeEM7SUFXSSw0QkFBMEMsR0FBUTtRQUFSLFFBQUcsR0FBSCxHQUFHLENBQUs7UUFSbEQsVUFBSyxHQUFHLENBQUMsQ0FBQztRQUlWLFFBQUcsR0FBRyxDQUFDLENBQUM7UUFFQyxXQUFNLEdBQUcsSUFBSSxDQUFDLEdBQUcsQ0FBQyxRQUFRLENBQUMsMkJBQTJCLEVBQUUsR0FBRyxDQUFDLENBQUM7SUFFakIsQ0FBQztJQUd0RCxzQkFBSSx3Q0FBUTthQUFaO1lBQ0ksT0FBTyxJQUFJLENBQUMsTUFBTSxDQUFDLENBQUMsQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDLElBQUksQ0FBQyxLQUFLLENBQUM7UUFDM0MsQ0FBQzs7O09BQUE7SUFHRCxzQkFBSSxzQ0FBTTthQUFWO1lBQ0ksT0FBTyxJQUFJLENBQUMsTUFBTSxDQUFDLENBQUMsQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDLElBQUksQ0FBQyxHQUFHLENBQUM7UUFDekMsQ0FBQzs7O09BQUE7O2dEQVZZLE1BQU0sU0FBQyxHQUFHOztJQVJ2QjtRQUZDLEtBQUssQ0FBQyxnQkFBZ0IsQ0FBQztRQUN2QixXQUFXLENBQUMsa0NBQWtDLENBQUM7cURBQ3RDO0lBSVY7UUFGQyxLQUFLLENBQUMsY0FBYyxDQUFDO1FBQ3JCLFdBQVcsQ0FBQyxnQ0FBZ0MsQ0FBQzttREFDdEM7SUFPUjtRQURDLFdBQVcsQ0FBQywyQkFBMkIsQ0FBQztzREFHeEM7SUFHRDtRQURDLFdBQVcsQ0FBQyw0QkFBNEIsQ0FBQztvREFHekM7SUFyQlEsa0JBQWtCO1FBSDlCLFNBQVMsQ0FBQztZQUNQLFFBQVEsRUFBRSxrQ0FBa0M7U0FDL0MsQ0FBQztRQVllLFdBQUEsTUFBTSxDQUFDLEdBQUcsQ0FBQyxDQUFBO09BWGYsa0JBQWtCLENBc0I5QjtJQUFELHlCQUFDO0NBQUEsQUF0QkQsSUFzQkM7U0F0Qlksa0JBQWtCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtEaXJlY3RpdmUsIEhvc3RCaW5kaW5nLCBJbmplY3QsIElucHV0fSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7Q1NTfSBmcm9tICdAbmctd2ViLWFwaXMvY29tbW9uJztcblxuQERpcmVjdGl2ZSh7XG4gICAgc2VsZWN0b3I6ICdbdHVpQm9yZGVyU3RhcnRdLCBbdHVpQm9yZGVyRW5kXScsXG59KVxuZXhwb3J0IGNsYXNzIFR1aUJvcmRlckRpcmVjdGl2ZSB7XG4gICAgQElucHV0KCd0dWlCb3JkZXJTdGFydCcpXG4gICAgQEhvc3RCaW5kaW5nKCdzdHlsZS5ib3JkZXJJbmxpbmVTdGFydFdpZHRoLnJlbScpXG4gICAgc3RhcnQgPSAwO1xuXG4gICAgQElucHV0KCd0dWlCb3JkZXJFbmQnKVxuICAgIEBIb3N0QmluZGluZygnc3R5bGUuYm9yZGVySW5saW5lRW5kV2lkdGgucmVtJylcbiAgICBlbmQgPSAwO1xuXG4gICAgcmVhZG9ubHkgbW9kZXJuID0gdGhpcy5jc3Muc3VwcG9ydHMoJ2JvcmRlci1pbmxpbmUtc3RhcnQtd2lkdGgnLCAnMCcpO1xuXG4gICAgY29uc3RydWN0b3IoQEluamVjdChDU1MpIHByaXZhdGUgcmVhZG9ubHkgY3NzOiBhbnkpIHt9XG5cbiAgICBASG9zdEJpbmRpbmcoJ3N0eWxlLmJvcmRlckxlZnRXaWR0aC5yZW0nKVxuICAgIGdldCBvbGRTdGFydCgpOiBudW1iZXIgfCBudWxsIHtcbiAgICAgICAgcmV0dXJuIHRoaXMubW9kZXJuID8gbnVsbCA6IHRoaXMuc3RhcnQ7XG4gICAgfVxuXG4gICAgQEhvc3RCaW5kaW5nKCdzdHlsZS5ib3JkZXJSaWdodFdpZHRoLnJlbScpXG4gICAgZ2V0IG9sZEVuZCgpOiBudW1iZXIgfCBudWxsIHtcbiAgICAgICAgcmV0dXJuIHRoaXMubW9kZXJuID8gbnVsbCA6IHRoaXMuZW5kO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { NgModule } from '@angular/core';
|
|
3
|
-
import { TuiBorderDirective } from './border.directive';
|
|
4
|
-
var TuiBorderModule = /** @class */ (function () {
|
|
5
|
-
function TuiBorderModule() {
|
|
6
|
-
}
|
|
7
|
-
TuiBorderModule = __decorate([
|
|
8
|
-
NgModule({
|
|
9
|
-
declarations: [TuiBorderDirective],
|
|
10
|
-
exports: [TuiBorderDirective],
|
|
11
|
-
})
|
|
12
|
-
], TuiBorderModule);
|
|
13
|
-
return TuiBorderModule;
|
|
14
|
-
}());
|
|
15
|
-
export { TuiBorderModule };
|
|
16
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm9yZGVyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9jb3JlL2RpcmVjdGl2ZXMvYm9yZGVyLyIsInNvdXJjZXMiOlsiYm9yZGVyLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUV2QyxPQUFPLEVBQUMsa0JBQWtCLEVBQUMsTUFBTSxvQkFBb0IsQ0FBQztBQU10RDtJQUFBO0lBQThCLENBQUM7SUFBbEIsZUFBZTtRQUozQixRQUFRLENBQUM7WUFDTixZQUFZLEVBQUUsQ0FBQyxrQkFBa0IsQ0FBQztZQUNsQyxPQUFPLEVBQUUsQ0FBQyxrQkFBa0IsQ0FBQztTQUNoQyxDQUFDO09BQ1csZUFBZSxDQUFHO0lBQUQsc0JBQUM7Q0FBQSxBQUEvQixJQUErQjtTQUFsQixlQUFlIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtOZ01vZHVsZX0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmltcG9ydCB7VHVpQm9yZGVyRGlyZWN0aXZlfSBmcm9tICcuL2JvcmRlci5kaXJlY3RpdmUnO1xuXG5ATmdNb2R1bGUoe1xuICAgIGRlY2xhcmF0aW9uczogW1R1aUJvcmRlckRpcmVjdGl2ZV0sXG4gICAgZXhwb3J0czogW1R1aUJvcmRlckRpcmVjdGl2ZV0sXG59KVxuZXhwb3J0IGNsYXNzIFR1aUJvcmRlck1vZHVsZSB7fVxuIl19
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './border.directive';
|
|
2
|
-
export * from './border.module';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvY29yZS9kaXJlY3RpdmVzL2JvcmRlci8iLCJzb3VyY2VzIjpbImluZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsb0JBQW9CLENBQUM7QUFDbkMsY0FBYyxpQkFBaUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vYm9yZGVyLmRpcmVjdGl2ZSc7XG5leHBvcnQgKiBmcm9tICcuL2JvcmRlci5tb2R1bGUnO1xuIl19
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktY29yZS1kaXJlY3RpdmVzLWJvcmRlci5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9jb3JlL2RpcmVjdGl2ZXMvYm9yZGVyLyIsInNvdXJjZXMiOlsidGFpZ2EtdWktY29yZS1kaXJlY3RpdmVzLWJvcmRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { __decorate, __param } from 'tslib';
|
|
2
|
-
import { Inject, Input, HostBinding, Directive, NgModule } from '@angular/core';
|
|
3
|
-
import { CSS } from '@ng-web-apis/common';
|
|
4
|
-
|
|
5
|
-
let TuiBorderDirective = class TuiBorderDirective {
|
|
6
|
-
constructor(css) {
|
|
7
|
-
this.css = css;
|
|
8
|
-
this.start = 0;
|
|
9
|
-
this.end = 0;
|
|
10
|
-
this.modern = this.css.supports('border-inline-start-width', '0');
|
|
11
|
-
}
|
|
12
|
-
get oldStart() {
|
|
13
|
-
return this.modern ? null : this.start;
|
|
14
|
-
}
|
|
15
|
-
get oldEnd() {
|
|
16
|
-
return this.modern ? null : this.end;
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
TuiBorderDirective.ctorParameters = () => [
|
|
20
|
-
{ type: undefined, decorators: [{ type: Inject, args: [CSS,] }] }
|
|
21
|
-
];
|
|
22
|
-
__decorate([
|
|
23
|
-
Input('tuiBorderStart'),
|
|
24
|
-
HostBinding('style.borderInlineStartWidth.rem')
|
|
25
|
-
], TuiBorderDirective.prototype, "start", void 0);
|
|
26
|
-
__decorate([
|
|
27
|
-
Input('tuiBorderEnd'),
|
|
28
|
-
HostBinding('style.borderInlineEndWidth.rem')
|
|
29
|
-
], TuiBorderDirective.prototype, "end", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
HostBinding('style.borderLeftWidth.rem')
|
|
32
|
-
], TuiBorderDirective.prototype, "oldStart", null);
|
|
33
|
-
__decorate([
|
|
34
|
-
HostBinding('style.borderRightWidth.rem')
|
|
35
|
-
], TuiBorderDirective.prototype, "oldEnd", null);
|
|
36
|
-
TuiBorderDirective = __decorate([
|
|
37
|
-
Directive({
|
|
38
|
-
selector: '[tuiBorderStart], [tuiBorderEnd]',
|
|
39
|
-
}),
|
|
40
|
-
__param(0, Inject(CSS))
|
|
41
|
-
], TuiBorderDirective);
|
|
42
|
-
|
|
43
|
-
let TuiBorderModule = class TuiBorderModule {
|
|
44
|
-
};
|
|
45
|
-
TuiBorderModule = __decorate([
|
|
46
|
-
NgModule({
|
|
47
|
-
declarations: [TuiBorderDirective],
|
|
48
|
-
exports: [TuiBorderDirective],
|
|
49
|
-
})
|
|
50
|
-
], TuiBorderModule);
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* Generated bundle index. Do not edit.
|
|
54
|
-
*/
|
|
55
|
-
|
|
56
|
-
export { TuiBorderDirective, TuiBorderModule };
|
|
57
|
-
//# sourceMappingURL=taiga-ui-core-directives-border.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-core-directives-border.js","sources":["ng://@taiga-ui/core/directives/border/border.directive.ts","ng://@taiga-ui/core/directives/border/border.module.ts","ng://@taiga-ui/core/directives/border/taiga-ui-core-directives-border.ts"],"sourcesContent":["import {Directive, HostBinding, Inject, Input} from '@angular/core';\nimport {CSS} from '@ng-web-apis/common';\n\n@Directive({\n selector: '[tuiBorderStart], [tuiBorderEnd]',\n})\nexport class TuiBorderDirective {\n @Input('tuiBorderStart')\n @HostBinding('style.borderInlineStartWidth.rem')\n start = 0;\n\n @Input('tuiBorderEnd')\n @HostBinding('style.borderInlineEndWidth.rem')\n end = 0;\n\n readonly modern = this.css.supports('border-inline-start-width', '0');\n\n constructor(@Inject(CSS) private readonly css: any) {}\n\n @HostBinding('style.borderLeftWidth.rem')\n get oldStart(): number | null {\n return this.modern ? null : this.start;\n }\n\n @HostBinding('style.borderRightWidth.rem')\n get oldEnd(): number | null {\n return this.modern ? null : this.end;\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiBorderDirective} from './border.directive';\n\n@NgModule({\n declarations: [TuiBorderDirective],\n exports: [TuiBorderDirective],\n})\nexport class TuiBorderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;IAMa,kBAAkB,GAA/B,MAAa,kBAAkB;IAW3B,YAA0C,GAAQ;QAAR,QAAG,GAAH,GAAG,CAAK;QARlD,UAAK,GAAG,CAAC,CAAC;QAIV,QAAG,GAAG,CAAC,CAAC;QAEC,WAAM,GAAG,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,2BAA2B,EAAE,GAAG,CAAC,CAAC;KAEhB;IAGtD,IAAI,QAAQ;QACR,OAAO,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC;KAC1C;IAGD,IAAI,MAAM;QACN,OAAO,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC;KACxC;EACJ;;4CAXgB,MAAM,SAAC,GAAG;;AARvB;IAFC,KAAK,CAAC,gBAAgB,CAAC;IACvB,WAAW,CAAC,kCAAkC,CAAC;iDACtC;AAIV;IAFC,KAAK,CAAC,cAAc,CAAC;IACrB,WAAW,CAAC,gCAAgC,CAAC;+CACtC;AAOR;IADC,WAAW,CAAC,2BAA2B,CAAC;kDAGxC;AAGD;IADC,WAAW,CAAC,4BAA4B,CAAC;gDAGzC;AArBQ,kBAAkB;IAH9B,SAAS,CAAC;QACP,QAAQ,EAAE,kCAAkC;KAC/C,CAAC;IAYe,WAAA,MAAM,CAAC,GAAG,CAAC,CAAA;GAXf,kBAAkB,CAsB9B;;ICpBY,eAAe,GAA5B,MAAa,eAAe;EAAG;AAAlB,eAAe;IAJ3B,QAAQ,CAAC;QACN,YAAY,EAAE,CAAC,kBAAkB,CAAC;QAClC,OAAO,EAAE,CAAC,kBAAkB,CAAC;KAChC,CAAC;GACW,eAAe,CAAG;;ACR/B;;;;;;"}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { __decorate, __param } from 'tslib';
|
|
2
|
-
import { Inject, Input, HostBinding, Directive, NgModule } from '@angular/core';
|
|
3
|
-
import { CSS } from '@ng-web-apis/common';
|
|
4
|
-
|
|
5
|
-
var TuiBorderDirective = /** @class */ (function () {
|
|
6
|
-
function TuiBorderDirective(css) {
|
|
7
|
-
this.css = css;
|
|
8
|
-
this.start = 0;
|
|
9
|
-
this.end = 0;
|
|
10
|
-
this.modern = this.css.supports('border-inline-start-width', '0');
|
|
11
|
-
}
|
|
12
|
-
Object.defineProperty(TuiBorderDirective.prototype, "oldStart", {
|
|
13
|
-
get: function () {
|
|
14
|
-
return this.modern ? null : this.start;
|
|
15
|
-
},
|
|
16
|
-
enumerable: true,
|
|
17
|
-
configurable: true
|
|
18
|
-
});
|
|
19
|
-
Object.defineProperty(TuiBorderDirective.prototype, "oldEnd", {
|
|
20
|
-
get: function () {
|
|
21
|
-
return this.modern ? null : this.end;
|
|
22
|
-
},
|
|
23
|
-
enumerable: true,
|
|
24
|
-
configurable: true
|
|
25
|
-
});
|
|
26
|
-
TuiBorderDirective.ctorParameters = function () { return [
|
|
27
|
-
{ type: undefined, decorators: [{ type: Inject, args: [CSS,] }] }
|
|
28
|
-
]; };
|
|
29
|
-
__decorate([
|
|
30
|
-
Input('tuiBorderStart'),
|
|
31
|
-
HostBinding('style.borderInlineStartWidth.rem')
|
|
32
|
-
], TuiBorderDirective.prototype, "start", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
Input('tuiBorderEnd'),
|
|
35
|
-
HostBinding('style.borderInlineEndWidth.rem')
|
|
36
|
-
], TuiBorderDirective.prototype, "end", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
HostBinding('style.borderLeftWidth.rem')
|
|
39
|
-
], TuiBorderDirective.prototype, "oldStart", null);
|
|
40
|
-
__decorate([
|
|
41
|
-
HostBinding('style.borderRightWidth.rem')
|
|
42
|
-
], TuiBorderDirective.prototype, "oldEnd", null);
|
|
43
|
-
TuiBorderDirective = __decorate([
|
|
44
|
-
Directive({
|
|
45
|
-
selector: '[tuiBorderStart], [tuiBorderEnd]',
|
|
46
|
-
}),
|
|
47
|
-
__param(0, Inject(CSS))
|
|
48
|
-
], TuiBorderDirective);
|
|
49
|
-
return TuiBorderDirective;
|
|
50
|
-
}());
|
|
51
|
-
|
|
52
|
-
var TuiBorderModule = /** @class */ (function () {
|
|
53
|
-
function TuiBorderModule() {
|
|
54
|
-
}
|
|
55
|
-
TuiBorderModule = __decorate([
|
|
56
|
-
NgModule({
|
|
57
|
-
declarations: [TuiBorderDirective],
|
|
58
|
-
exports: [TuiBorderDirective],
|
|
59
|
-
})
|
|
60
|
-
], TuiBorderModule);
|
|
61
|
-
return TuiBorderModule;
|
|
62
|
-
}());
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Generated bundle index. Do not edit.
|
|
66
|
-
*/
|
|
67
|
-
|
|
68
|
-
export { TuiBorderDirective, TuiBorderModule };
|
|
69
|
-
//# sourceMappingURL=taiga-ui-core-directives-border.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-core-directives-border.js","sources":["ng://@taiga-ui/core/directives/border/border.directive.ts","ng://@taiga-ui/core/directives/border/border.module.ts","ng://@taiga-ui/core/directives/border/taiga-ui-core-directives-border.ts"],"sourcesContent":["import {Directive, HostBinding, Inject, Input} from '@angular/core';\nimport {CSS} from '@ng-web-apis/common';\n\n@Directive({\n selector: '[tuiBorderStart], [tuiBorderEnd]',\n})\nexport class TuiBorderDirective {\n @Input('tuiBorderStart')\n @HostBinding('style.borderInlineStartWidth.rem')\n start = 0;\n\n @Input('tuiBorderEnd')\n @HostBinding('style.borderInlineEndWidth.rem')\n end = 0;\n\n readonly modern = this.css.supports('border-inline-start-width', '0');\n\n constructor(@Inject(CSS) private readonly css: any) {}\n\n @HostBinding('style.borderLeftWidth.rem')\n get oldStart(): number | null {\n return this.modern ? null : this.start;\n }\n\n @HostBinding('style.borderRightWidth.rem')\n get oldEnd(): number | null {\n return this.modern ? null : this.end;\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiBorderDirective} from './border.directive';\n\n@NgModule({\n declarations: [TuiBorderDirective],\n exports: [TuiBorderDirective],\n})\nexport class TuiBorderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;IAiBI,4BAA0C,GAAQ;QAAR,QAAG,GAAH,GAAG,CAAK;QARlD,UAAK,GAAG,CAAC,CAAC;QAIV,QAAG,GAAG,CAAC,CAAC;QAEC,WAAM,GAAG,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,2BAA2B,EAAE,GAAG,CAAC,CAAC;KAEhB;IAGtD,sBAAI,wCAAQ;aAAZ;YACI,OAAO,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC;SAC1C;;;OAAA;IAGD,sBAAI,sCAAM;aAAV;YACI,OAAO,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC;SACxC;;;OAAA;;gDAVY,MAAM,SAAC,GAAG;;IARvB;QAFC,KAAK,CAAC,gBAAgB,CAAC;QACvB,WAAW,CAAC,kCAAkC,CAAC;qDACtC;IAIV;QAFC,KAAK,CAAC,cAAc,CAAC;QACrB,WAAW,CAAC,gCAAgC,CAAC;mDACtC;IAOR;QADC,WAAW,CAAC,2BAA2B,CAAC;sDAGxC;IAGD;QADC,WAAW,CAAC,4BAA4B,CAAC;oDAGzC;IArBQ,kBAAkB;QAH9B,SAAS,CAAC;YACP,QAAQ,EAAE,kCAAkC;SAC/C,CAAC;QAYe,WAAA,MAAM,CAAC,GAAG,CAAC,CAAA;OAXf,kBAAkB,CAsB9B;IAAD,yBAAC;CAtBD;;;ICEA;KAA+B;IAAlB,eAAe;QAJ3B,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,kBAAkB,CAAC;YAClC,OAAO,EAAE,CAAC,kBAAkB,CAAC;SAChC,CAAC;OACW,eAAe,CAAG;IAAD,sBAAC;CAA/B;;ACRA;;;;;;"}
|