@datarailsshared/datarailsshared 1.6.332 → 1.6.336
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/datarailsshared-datarailsshared-1.6.336.tgz +0 -0
- package/esm2022/lib/dr-dialog/components/dialog-modal-wrapper/dialog-modal-wrapper.component.mjs +6 -6
- package/esm2022/lib/dr-empty-state/dr-empty-state-description.directive.mjs +18 -0
- package/esm2022/lib/dr-empty-state/dr-empty-state-media.directive.mjs +17 -0
- package/esm2022/lib/dr-empty-state/dr-empty-state-title.directive.mjs +19 -0
- package/esm2022/lib/dr-empty-state/dr-empty-state.component.mjs +35 -25
- package/esm2022/lib/dr-empty-state/dr-empty-state.module.mjs +32 -0
- package/esm2022/lib/dr-empty-state/index.mjs +5 -3
- package/esm2022/lib/dr-grid/components/cells/tbl-header/tbl-header.component.mjs +3 -3
- package/esm2022/lib/dr-grid/components/dr-grid-columns-filter-popover/dr-grid-columns-filter-popover.component.mjs +4 -4
- package/esm2022/lib/dr-grid/components/dr-grid-toolbar/dr-grid-toolbar.component.mjs +3 -3
- package/esm2022/lib/dr-inputs/checkbox/checkbox.component.mjs +5 -4
- package/esm2022/lib/dr-inputs/date-pickers/date-time-picker/date-time-picker.component.mjs +5 -6
- package/esm2022/lib/dr-inputs/date-pickers/directives/dr-date-picker-format.directive.mjs +3 -2
- package/esm2022/lib/dr-inputs/date-pickers/dr-date-picker/dr-date-picker.component.mjs +20 -11
- package/esm2022/lib/dr-inputs/date-pickers/dr-date-picker-range/dr-date-picker-range.component.mjs +9 -8
- package/esm2022/lib/dr-inputs/date-pickers/dr-date-picker-with-timeframe/dr-date-picker-with-timeframe.component.mjs +13 -10
- package/esm2022/lib/dr-inputs/date-pickers/dr-date-picker_custom-header/dr-date-picker_custom-header.component.mjs +13 -10
- package/esm2022/lib/dr-inputs/date-pickers/dr-fiscal-month-calendar-picker/dr-fiscal-month-calendar-header.component.mjs +11 -8
- package/esm2022/lib/dr-inputs/date-pickers/dr-fiscal-month-calendar-picker/dr-fiscal-month-calendar-picker.component.mjs +20 -9
- package/esm2022/lib/dr-inputs/date-pickers/dr-show-timeframe.pipe.mjs +3 -2
- package/esm2022/lib/dr-inputs/date-pickers/time-picker/time-picker.component.mjs +6 -7
- package/esm2022/lib/dr-inputs/dr-input/dr-input.component.mjs +12 -9
- package/esm2022/lib/dr-inputs/dr-inputs.module.mjs +26 -70
- package/esm2022/lib/dr-inputs/dr-link/dr-link.component.mjs +3 -3
- package/esm2022/lib/dr-inputs/dr-model-debounce-change.directive.mjs +3 -2
- package/esm2022/lib/dr-inputs/dr-select/dr-select.component.mjs +12 -9
- package/esm2022/lib/dr-inputs/dr-select-add-item/dr-select-add-item.component.mjs +8 -7
- package/esm2022/lib/dr-inputs/dr-toggle/dr-toggle.component.mjs +5 -4
- package/esm2022/lib/dr-inputs/dr-toggle-button/dr-toggle-button.component.mjs +6 -4
- package/esm2022/lib/dr-inputs/index.mjs +3 -0
- package/esm2022/lib/dr-inputs/public-api.mjs +24 -0
- package/esm2022/lib/dr-inputs/radio-button/radio-button.component.mjs +6 -6
- package/esm2022/lib/dr-inputs/radio-button/radio-group.component.mjs +4 -3
- package/esm2022/lib/filter-dropdown/filter-dropdown.component.mjs +4 -4
- package/esm2022/local-api.mjs +2 -25
- package/fesm2022/datarailsshared-datarailsshared.mjs +5280 -5240
- package/fesm2022/datarailsshared-datarailsshared.mjs.map +1 -1
- package/lib/dr-empty-state/dr-empty-state-description.directive.d.ts +5 -0
- package/lib/dr-empty-state/dr-empty-state-media.directive.d.ts +5 -0
- package/lib/dr-empty-state/dr-empty-state-title.directive.d.ts +5 -0
- package/lib/dr-empty-state/dr-empty-state.component.d.ts +8 -5
- package/lib/dr-empty-state/dr-empty-state.module.d.ts +10 -0
- package/lib/dr-empty-state/index.d.ts +4 -2
- package/lib/dr-inputs/checkbox/checkbox.component.d.ts +1 -1
- package/lib/dr-inputs/date-pickers/directives/dr-date-picker-format.directive.d.ts +1 -1
- package/lib/dr-inputs/date-pickers/dr-date-picker/dr-date-picker.component.d.ts +1 -1
- package/lib/dr-inputs/date-pickers/dr-date-picker-range/dr-date-picker-range.component.d.ts +1 -1
- package/lib/dr-inputs/date-pickers/dr-date-picker-with-timeframe/dr-date-picker-with-timeframe.component.d.ts +1 -1
- package/lib/dr-inputs/date-pickers/dr-date-picker_custom-header/dr-date-picker_custom-header.component.d.ts +1 -1
- package/lib/dr-inputs/date-pickers/dr-fiscal-month-calendar-picker/dr-fiscal-month-calendar-header.component.d.ts +1 -1
- package/lib/dr-inputs/date-pickers/dr-fiscal-month-calendar-picker/dr-fiscal-month-calendar-picker.component.d.ts +1 -1
- package/lib/dr-inputs/date-pickers/dr-show-timeframe.pipe.d.ts +1 -1
- package/lib/dr-inputs/dr-input/dr-input.component.d.ts +1 -1
- package/lib/dr-inputs/dr-inputs.module.d.ts +20 -30
- package/lib/dr-inputs/dr-link/dr-link.component.d.ts +1 -1
- package/lib/dr-inputs/dr-model-debounce-change.directive.d.ts +1 -1
- package/lib/dr-inputs/dr-select/dr-select.component.d.ts +1 -1
- package/lib/dr-inputs/dr-select-add-item/dr-select-add-item.component.d.ts +1 -1
- package/lib/dr-inputs/dr-toggle/dr-toggle.component.d.ts +1 -1
- package/lib/dr-inputs/dr-toggle-button/dr-toggle-button.component.d.ts +1 -1
- package/lib/dr-inputs/index.d.ts +2 -0
- package/lib/dr-inputs/public-api.d.ts +23 -0
- package/lib/dr-inputs/radio-button/radio-button.component.d.ts +1 -1
- package/lib/dr-inputs/radio-button/radio-group.component.d.ts +1 -1
- package/local-api.d.ts +1 -24
- package/package.json +1 -1
- package/datarailsshared-datarailsshared-1.6.332.tgz +0 -0
- package/esm2022/lib/dr-empty-state/dr-empty-state-description.component.mjs +0 -24
- package/esm2022/lib/dr-empty-state/dr-empty-state-title.component.mjs +0 -26
- package/lib/dr-empty-state/dr-empty-state-description.component.d.ts +0 -5
- package/lib/dr-empty-state/dr-empty-state-title.component.d.ts +0 -5
|
Binary file
|
package/esm2022/lib/dr-dialog/components/dialog-modal-wrapper/dialog-modal-wrapper.component.mjs
CHANGED
|
@@ -7,11 +7,11 @@ import { catchError, finalize, takeUntil, tap } from 'rxjs/operators';
|
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
import * as i1 from "@angular/material/legacy-dialog";
|
|
9
9
|
import * as i2 from "@angular/common";
|
|
10
|
-
import * as i3 from "../../../dr-inputs/
|
|
11
|
-
import * as i4 from "../../../dr-inputs/
|
|
12
|
-
import * as i5 from "../../../dr-inputs/dr-
|
|
13
|
-
import * as i6 from "../../../dr-inputs/
|
|
14
|
-
import * as i7 from "../../../dr-inputs/
|
|
10
|
+
import * as i3 from "../../../dr-inputs/button/button.component";
|
|
11
|
+
import * as i4 from "../../../dr-inputs/checkbox/checkbox.component";
|
|
12
|
+
import * as i5 from "../../../dr-inputs/dr-input/dr-input.component";
|
|
13
|
+
import * as i6 from "../../../dr-inputs/dr-select/dr-select.component";
|
|
14
|
+
import * as i7 from "../../../dr-inputs/date-pickers/dr-date-picker/dr-date-picker.component";
|
|
15
15
|
import * as i8 from "@angular/forms";
|
|
16
16
|
function DialogModalWrapperComponent_i_2_Template(rf, ctx) { if (rf & 1) {
|
|
17
17
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
@@ -333,7 +333,7 @@ export class DialogModalWrapperComponent {
|
|
|
333
333
|
i0.ɵɵproperty("ngIf", ctx.dialogData.fields);
|
|
334
334
|
i0.ɵɵadvance(2);
|
|
335
335
|
i0.ɵɵproperty("ngIf", ctx.dialogData.cancelButton || ctx.dialogData.acceptButton);
|
|
336
|
-
} }, dependencies: [i2.NgClass, i2.NgForOf, i2.NgIf, i2.NgStyle, i3.
|
|
336
|
+
} }, dependencies: [i2.NgClass, i2.NgForOf, i2.NgIf, i2.NgStyle, i3.DrButtonComponent, i4.CheckboxComponent, i5.DrInputComponent, i6.DrSelectComponent, i7.DrDatePickerComponent, i8.ɵNgNoValidate, i8.NgControlStatus, i8.NgControlStatusGroup, i8.RequiredValidator, i8.FormGroupDirective, i8.FormControlName, i2.AsyncPipe], styles: ["[_nghost-%COMP%]{display:flex;justify-content:space-between;flex-direction:column}.small-modal[_nghost-%COMP%], .small-modal-max-height[_nghost-%COMP%]{min-height:188px;max-height:467px;min-width:400px;max-width:400px}.medium-modal[_nghost-%COMP%], .medium-modal-max-height[_nghost-%COMP%]{min-height:188px;max-height:467px;min-width:632px;max-width:632px}.medium-small-modal[_nghost-%COMP%], .medium-small-modal-max-height[_nghost-%COMP%]{min-height:188px;max-height:345px;min-width:460px;max-width:460px}.medium-modal-max-height[_nghost-%COMP%], .small-modal-max-height[_nghost-%COMP%], .medium-small-modal-max-height[_nghost-%COMP%]{max-height:80vh}.header-dialog[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:16px 56px 16px 32px;border-bottom:1px solid #dfe0e3}.header-dialog[_ngcontent-%COMP%] > .icon-close[_ngcontent-%COMP%]{position:absolute;right:32px;top:16px;cursor:pointer}.title-dialog[_ngcontent-%COMP%]{font-size:16px;line-height:24px;font-weight:600;display:flex;color:#333;position:static;margin-top:0;margin-bottom:0}.title-dialog__icon[_ngcontent-%COMP%]{font-size:32px;margin-right:8px;line-height:24px;color:#6d6e6f}.content-dialog[_ngcontent-%COMP%]{font-weight:400;font-size:14px;padding:16px 32px 5px;white-space:pre-line;overflow:auto}.icon-close[_ngcontent-%COMP%]{color:#6d6e6f;cursor:pointer}.dr-smart-from[_ngcontent-%COMP%]{font-size:14px;font-weight:400;line-height:22px;padding:8px 32px 24px}.dr-smart-from[_ngcontent-%COMP%] dr-checkbox[_ngcontent-%COMP%]{font-weight:400}.content-dialog[_ngcontent-%COMP%]{padding:16px 32px 0;font-weight:400;font-size:14px;line-height:22px}.content-anchor[_ngcontent-%COMP%]{display:none}.footer-dialog[_ngcontent-%COMP%]{border-top:1px solid #dfe0e3}.buttons-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;padding:10px 32px 11px}.buttons-wrapper[_ngcontent-%COMP%] dr-button[_ngcontent-%COMP%]:nth-of-type(n+2){margin-left:12px}.buttons-wrapper--custom-btn[_ngcontent-%COMP%]{margin-right:auto}.form-field-error-alert[_ngcontent-%COMP%]{font-size:12px;color:#bf1d30;line-height:20px}.form-error-alert[_ngcontent-%COMP%]{position:absolute;margin-top:5px;font-size:12px;color:#bf1d30}.dr-select-footer__btn[_ngcontent-%COMP%]{background-color:transparent;display:flex;align-items:center;justify-content:flex-start;cursor:pointer;min-width:15rem;font-style:normal;font-weight:400;font-size:14px;line-height:24px;clear:both;width:100%;white-space:nowrap;padding:0 12px;height:36px;flex-shrink:0}"] }); }
|
|
337
337
|
}
|
|
338
338
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DialogModalWrapperComponent, [{
|
|
339
339
|
type: Component,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Directive } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class DrEmptyStateDescriptionDirective {
|
|
4
|
+
/** @nocollapse */ static { this.ɵfac = function DrEmptyStateDescriptionDirective_Factory(t) { return new (t || DrEmptyStateDescriptionDirective)(); }; }
|
|
5
|
+
/** @nocollapse */ static { this.ɵdir = /** @pureOrBreakMyCode */ i0.ɵɵdefineDirective({ type: DrEmptyStateDescriptionDirective, selectors: [["dr-empty-state-description"], ["", "dr-empty-state-description", ""], ["", "drEmptyStateDescription", ""]], hostAttrs: ["role", "paragraph", 1, "dr-empty-state__description"], standalone: true }); }
|
|
6
|
+
}
|
|
7
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrEmptyStateDescriptionDirective, [{
|
|
8
|
+
type: Directive,
|
|
9
|
+
args: [{
|
|
10
|
+
selector: 'dr-empty-state-description, [dr-empty-state-description], [drEmptyStateDescription]',
|
|
11
|
+
standalone: true,
|
|
12
|
+
host: {
|
|
13
|
+
class: 'dr-empty-state__description',
|
|
14
|
+
role: 'paragraph',
|
|
15
|
+
},
|
|
16
|
+
}]
|
|
17
|
+
}], null, null); })();
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHItZW1wdHktc3RhdGUtZGVzY3JpcHRpb24uZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZGF0YXJhaWxzc2hhcmVkL3NyYy9saWIvZHItZW1wdHktc3RhdGUvZHItZW1wdHktc3RhdGUtZGVzY3JpcHRpb24uZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBVTFDLE1BQU0sT0FBTyxnQ0FBZ0M7b0hBQWhDLGdDQUFnQzttR0FBaEMsZ0NBQWdDOzt1RkFBaEMsZ0NBQWdDO2NBUjVDLFNBQVM7ZUFBQztnQkFDUCxRQUFRLEVBQUUscUZBQXFGO2dCQUMvRixVQUFVLEVBQUUsSUFBSTtnQkFDaEIsSUFBSSxFQUFFO29CQUNGLEtBQUssRUFBRSw2QkFBNkI7b0JBQ3BDLElBQUksRUFBRSxXQUFXO2lCQUNwQjthQUNKIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRGlyZWN0aXZlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBEaXJlY3RpdmUoe1xuICAgIHNlbGVjdG9yOiAnZHItZW1wdHktc3RhdGUtZGVzY3JpcHRpb24sIFtkci1lbXB0eS1zdGF0ZS1kZXNjcmlwdGlvbl0sIFtkckVtcHR5U3RhdGVEZXNjcmlwdGlvbl0nLFxuICAgIHN0YW5kYWxvbmU6IHRydWUsXG4gICAgaG9zdDoge1xuICAgICAgICBjbGFzczogJ2RyLWVtcHR5LXN0YXRlX19kZXNjcmlwdGlvbicsXG4gICAgICAgIHJvbGU6ICdwYXJhZ3JhcGgnLFxuICAgIH0sXG59KVxuZXhwb3J0IGNsYXNzIERyRW1wdHlTdGF0ZURlc2NyaXB0aW9uRGlyZWN0aXZlIHt9XG4iXX0=
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Directive } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class DrEmptyStateMediaDirective {
|
|
4
|
+
/** @nocollapse */ static { this.ɵfac = function DrEmptyStateMediaDirective_Factory(t) { return new (t || DrEmptyStateMediaDirective)(); }; }
|
|
5
|
+
/** @nocollapse */ static { this.ɵdir = /** @pureOrBreakMyCode */ i0.ɵɵdefineDirective({ type: DrEmptyStateMediaDirective, selectors: [["dr-empty-state-media"], ["", "dr-empty-state-media", ""], ["", "drEmptyStateMedia", ""]], hostAttrs: [1, "dr-empty-state__media"], standalone: true }); }
|
|
6
|
+
}
|
|
7
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrEmptyStateMediaDirective, [{
|
|
8
|
+
type: Directive,
|
|
9
|
+
args: [{
|
|
10
|
+
selector: 'dr-empty-state-media, [dr-empty-state-media], [drEmptyStateMedia]',
|
|
11
|
+
standalone: true,
|
|
12
|
+
host: {
|
|
13
|
+
class: 'dr-empty-state__media',
|
|
14
|
+
},
|
|
15
|
+
}]
|
|
16
|
+
}], null, null); })();
|
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHItZW1wdHktc3RhdGUtbWVkaWEuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZGF0YXJhaWxzc2hhcmVkL3NyYy9saWIvZHItZW1wdHktc3RhdGUvZHItZW1wdHktc3RhdGUtbWVkaWEuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBUzFDLE1BQU0sT0FBTywwQkFBMEI7OEdBQTFCLDBCQUEwQjttR0FBMUIsMEJBQTBCOzt1RkFBMUIsMEJBQTBCO2NBUHRDLFNBQVM7ZUFBQztnQkFDUCxRQUFRLEVBQUUsbUVBQW1FO2dCQUM3RSxVQUFVLEVBQUUsSUFBSTtnQkFDaEIsSUFBSSxFQUFFO29CQUNGLEtBQUssRUFBRSx1QkFBdUI7aUJBQ2pDO2FBQ0oiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBEaXJlY3RpdmUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQERpcmVjdGl2ZSh7XG4gICAgc2VsZWN0b3I6ICdkci1lbXB0eS1zdGF0ZS1tZWRpYSwgW2RyLWVtcHR5LXN0YXRlLW1lZGlhXSwgW2RyRW1wdHlTdGF0ZU1lZGlhXScsXG4gICAgc3RhbmRhbG9uZTogdHJ1ZSxcbiAgICBob3N0OiB7XG4gICAgICAgIGNsYXNzOiAnZHItZW1wdHktc3RhdGVfX21lZGlhJyxcbiAgICB9LFxufSlcbmV4cG9ydCBjbGFzcyBEckVtcHR5U3RhdGVNZWRpYURpcmVjdGl2ZSB7fVxuIl19
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Directive } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class DrEmptyStateTitleDirective {
|
|
4
|
+
/** @nocollapse */ static { this.ɵfac = function DrEmptyStateTitleDirective_Factory(t) { return new (t || DrEmptyStateTitleDirective)(); }; }
|
|
5
|
+
/** @nocollapse */ static { this.ɵdir = /** @pureOrBreakMyCode */ i0.ɵɵdefineDirective({ type: DrEmptyStateTitleDirective, selectors: [["dr-empty-state-title"], ["", "dr-empty-state-title", ""], ["", "drEmptyStateTitle", ""]], hostAttrs: ["role", "heading", "aria-level", "2", 1, "dr-empty-state__title"], standalone: true }); }
|
|
6
|
+
}
|
|
7
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrEmptyStateTitleDirective, [{
|
|
8
|
+
type: Directive,
|
|
9
|
+
args: [{
|
|
10
|
+
selector: 'dr-empty-state-title, [dr-empty-state-title], [drEmptyStateTitle]',
|
|
11
|
+
standalone: true,
|
|
12
|
+
host: {
|
|
13
|
+
class: 'dr-empty-state__title',
|
|
14
|
+
role: 'heading',
|
|
15
|
+
'aria-level': '2',
|
|
16
|
+
},
|
|
17
|
+
}]
|
|
18
|
+
}], null, null); })();
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHItZW1wdHktc3RhdGUtdGl0bGUuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZGF0YXJhaWxzc2hhcmVkL3NyYy9saWIvZHItZW1wdHktc3RhdGUvZHItZW1wdHktc3RhdGUtdGl0bGUuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBVzFDLE1BQU0sT0FBTywwQkFBMEI7OEdBQTFCLDBCQUEwQjttR0FBMUIsMEJBQTBCOzt1RkFBMUIsMEJBQTBCO2NBVHRDLFNBQVM7ZUFBQztnQkFDUCxRQUFRLEVBQUUsbUVBQW1FO2dCQUM3RSxVQUFVLEVBQUUsSUFBSTtnQkFDaEIsSUFBSSxFQUFFO29CQUNGLEtBQUssRUFBRSx1QkFBdUI7b0JBQzlCLElBQUksRUFBRSxTQUFTO29CQUNmLFlBQVksRUFBRSxHQUFHO2lCQUNwQjthQUNKIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRGlyZWN0aXZlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBEaXJlY3RpdmUoe1xuICAgIHNlbGVjdG9yOiAnZHItZW1wdHktc3RhdGUtdGl0bGUsIFtkci1lbXB0eS1zdGF0ZS10aXRsZV0sIFtkckVtcHR5U3RhdGVUaXRsZV0nLFxuICAgIHN0YW5kYWxvbmU6IHRydWUsXG4gICAgaG9zdDoge1xuICAgICAgICBjbGFzczogJ2RyLWVtcHR5LXN0YXRlX190aXRsZScsXG4gICAgICAgIHJvbGU6ICdoZWFkaW5nJyxcbiAgICAgICAgJ2FyaWEtbGV2ZWwnOiAnMicsXG4gICAgfSxcbn0pXG5leHBvcnQgY2xhc3MgRHJFbXB0eVN0YXRlVGl0bGVEaXJlY3RpdmUge31cbiJdfQ==
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, ContentChild, HostBinding, Input } from '@angular/core';
|
|
1
|
+
import { ChangeDetectionStrategy, Component, ContentChild, HostBinding, Input, ViewEncapsulation } from '@angular/core';
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { DrEmptyStateDescriptionDirective } from './dr-empty-state-description.directive';
|
|
4
|
+
import { DrEmptyStateMediaDirective } from './dr-empty-state-media.directive';
|
|
5
|
+
import { DrEmptyStateTitleDirective } from './dr-empty-state-title.directive';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
import * as i1 from "@angular/common";
|
|
7
8
|
function DrEmptyStateComponent_img_1_Template(rf, ctx) { if (rf & 1) {
|
|
8
|
-
i0.ɵɵelement(0, "img",
|
|
9
|
+
i0.ɵɵelement(0, "img", 3);
|
|
9
10
|
} if (rf & 2) {
|
|
10
11
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
11
12
|
i0.ɵɵproperty("src", ctx_r0.illustrationUrl, i0.ɵɵsanitizeUrl);
|
|
12
13
|
i0.ɵɵattribute("alt", ctx_r0.isIllustrationDecorative ? "" : ctx_r0.illustrationAlt)("aria-hidden", ctx_r0.isIllustrationDecorative ? "true" : null);
|
|
13
14
|
} }
|
|
14
15
|
function DrEmptyStateComponent_h2_3_Template(rf, ctx) { if (rf & 1) {
|
|
15
|
-
i0.ɵɵelementStart(0, "h2",
|
|
16
|
+
i0.ɵɵelementStart(0, "h2", 4);
|
|
16
17
|
i0.ɵɵtext(1);
|
|
17
18
|
i0.ɵɵelementEnd();
|
|
18
19
|
} if (rf & 2) {
|
|
@@ -21,7 +22,7 @@ function DrEmptyStateComponent_h2_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
21
22
|
i0.ɵɵtextInterpolate(ctx_r1.title);
|
|
22
23
|
} }
|
|
23
24
|
function DrEmptyStateComponent_p_5_Template(rf, ctx) { if (rf & 1) {
|
|
24
|
-
i0.ɵɵelementStart(0, "p",
|
|
25
|
+
i0.ɵɵelementStart(0, "p", 5);
|
|
25
26
|
i0.ɵɵtext(1);
|
|
26
27
|
i0.ɵɵelementEnd();
|
|
27
28
|
} if (rf & 2) {
|
|
@@ -29,8 +30,8 @@ function DrEmptyStateComponent_p_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
29
30
|
i0.ɵɵadvance(1);
|
|
30
31
|
i0.ɵɵtextInterpolate(ctx_r2.description);
|
|
31
32
|
} }
|
|
32
|
-
const _c0 = [[["dr-empty-state-title"], ["", "dr-empty-state-title", ""], ["", "drEmptyStateTitle", ""]], [["dr-empty-state-description"], ["", "dr-empty-state-description", ""], ["", "drEmptyStateDescription", ""]]];
|
|
33
|
-
const _c1 = ["dr-empty-state-title, [dr-empty-state-title], [drEmptyStateTitle]", "dr-empty-state-description, [dr-empty-state-description], [drEmptyStateDescription]"];
|
|
33
|
+
const _c0 = [[["dr-empty-state-media"], ["", "dr-empty-state-media", ""], ["", "drEmptyStateMedia", ""]], [["dr-empty-state-title"], ["", "dr-empty-state-title", ""], ["", "drEmptyStateTitle", ""]], [["dr-empty-state-description"], ["", "dr-empty-state-description", ""], ["", "drEmptyStateDescription", ""]]];
|
|
34
|
+
const _c1 = ["dr-empty-state-media, [dr-empty-state-media], [drEmptyStateMedia]", "dr-empty-state-title, [dr-empty-state-title], [drEmptyStateTitle]", "dr-empty-state-description, [dr-empty-state-description], [drEmptyStateDescription]"];
|
|
34
35
|
export class DrEmptyStateComponent {
|
|
35
36
|
constructor() {
|
|
36
37
|
this.title = '';
|
|
@@ -50,40 +51,46 @@ export class DrEmptyStateComponent {
|
|
|
50
51
|
get hasProjectedDescription() {
|
|
51
52
|
return !!this.projectedDescription;
|
|
52
53
|
}
|
|
54
|
+
get hasProjectedMedia() {
|
|
55
|
+
return !!this.projectedMedia;
|
|
56
|
+
}
|
|
53
57
|
get isIllustrationDecorative() {
|
|
54
58
|
return !this.illustrationAlt.trim();
|
|
55
59
|
}
|
|
56
60
|
/** @nocollapse */ static { this.ɵfac = function DrEmptyStateComponent_Factory(t) { return new (t || DrEmptyStateComponent)(); }; }
|
|
57
61
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrEmptyStateComponent, selectors: [["dr-empty-state"]], contentQueries: function DrEmptyStateComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
58
|
-
i0.ɵɵcontentQuery(dirIndex,
|
|
59
|
-
i0.ɵɵcontentQuery(dirIndex,
|
|
62
|
+
i0.ɵɵcontentQuery(dirIndex, DrEmptyStateTitleDirective, 5);
|
|
63
|
+
i0.ɵɵcontentQuery(dirIndex, DrEmptyStateDescriptionDirective, 5);
|
|
64
|
+
i0.ɵɵcontentQuery(dirIndex, DrEmptyStateMediaDirective, 5);
|
|
60
65
|
} if (rf & 2) {
|
|
61
66
|
let _t;
|
|
62
67
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.projectedTitle = _t.first);
|
|
63
68
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.projectedDescription = _t.first);
|
|
64
|
-
|
|
69
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.projectedMedia = _t.first);
|
|
70
|
+
} }, hostAttrs: [1, "dr-empty-state"], hostVars: 4, hostBindings: function DrEmptyStateComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
65
71
|
i0.ɵɵattribute("role", ctx.role)("aria-live", ctx.ariaLive)("aria-atomic", ctx.ariaAtomic)("aria-label", ctx.ariaLabelAttr);
|
|
66
|
-
} }, inputs: { title: "title", description: "description", illustrationUrl: "illustrationUrl", illustrationAlt: "illustrationAlt", ariaLabel: "ariaLabel" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c1, decls: 6, vars: 3, consts: [[
|
|
72
|
+
} }, inputs: { title: "title", description: "description", illustrationUrl: "illustrationUrl", illustrationAlt: "illustrationAlt", ariaLabel: "ariaLabel" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c1, decls: 6, vars: 3, consts: [["class", "dr-empty-state__illustration", 3, "src", 4, "ngIf"], ["class", "dr-empty-state__title", 4, "ngIf"], ["class", "dr-empty-state__description", 4, "ngIf"], [1, "dr-empty-state__illustration", 3, "src"], [1, "dr-empty-state__title"], [1, "dr-empty-state__description"]], template: function DrEmptyStateComponent_Template(rf, ctx) { if (rf & 1) {
|
|
67
73
|
i0.ɵɵprojectionDef(_c0);
|
|
68
|
-
i0.ɵɵ
|
|
69
|
-
i0.ɵɵtemplate(1, DrEmptyStateComponent_img_1_Template, 1, 3, "img",
|
|
70
|
-
i0.ɵɵprojection(2);
|
|
71
|
-
i0.ɵɵtemplate(3, DrEmptyStateComponent_h2_3_Template, 2, 1, "h2",
|
|
72
|
-
i0.ɵɵprojection(4,
|
|
73
|
-
i0.ɵɵtemplate(5, DrEmptyStateComponent_p_5_Template, 2, 1, "p",
|
|
74
|
-
i0.ɵɵelementEnd();
|
|
74
|
+
i0.ɵɵprojection(0);
|
|
75
|
+
i0.ɵɵtemplate(1, DrEmptyStateComponent_img_1_Template, 1, 3, "img", 0);
|
|
76
|
+
i0.ɵɵprojection(2, 1);
|
|
77
|
+
i0.ɵɵtemplate(3, DrEmptyStateComponent_h2_3_Template, 2, 1, "h2", 1);
|
|
78
|
+
i0.ɵɵprojection(4, 2);
|
|
79
|
+
i0.ɵɵtemplate(5, DrEmptyStateComponent_p_5_Template, 2, 1, "p", 2);
|
|
75
80
|
} if (rf & 2) {
|
|
76
81
|
i0.ɵɵadvance(1);
|
|
77
|
-
i0.ɵɵproperty("ngIf", ctx.illustrationUrl);
|
|
82
|
+
i0.ɵɵproperty("ngIf", !ctx.hasProjectedMedia && ctx.illustrationUrl);
|
|
78
83
|
i0.ɵɵadvance(2);
|
|
79
84
|
i0.ɵɵproperty("ngIf", !ctx.hasProjectedTitle && ctx.title);
|
|
80
85
|
i0.ɵɵadvance(2);
|
|
81
86
|
i0.ɵɵproperty("ngIf", !ctx.hasProjectedDescription && ctx.description);
|
|
82
|
-
} }, dependencies: [CommonModule, i1.NgIf], styles: ["
|
|
87
|
+
} }, dependencies: [CommonModule, i1.NgIf], styles: [".dr-empty-state{display:flex;justify-content:center;align-items:center;flex-direction:column;gap:4px;height:100%;width:100%;text-align:center}.dr-empty-state__illustration,.dr-empty-state__media{width:140px;height:130px;max-width:100%;object-fit:contain;margin-bottom:16px}.dr-empty-state__title{color:#333;font-size:16px;line-height:24px;font-weight:500;margin:0}.dr-empty-state__description{color:#6d6e6f;font-size:14px;line-height:24px;font-weight:400;margin:0}\n"], encapsulation: 2, changeDetection: 0 }); }
|
|
83
88
|
}
|
|
84
89
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrEmptyStateComponent, [{
|
|
85
90
|
type: Component,
|
|
86
|
-
args: [{ selector: 'dr-empty-state', standalone: true, imports: [CommonModule], changeDetection: ChangeDetectionStrategy.OnPush,
|
|
91
|
+
args: [{ selector: 'dr-empty-state', standalone: true, imports: [CommonModule], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
92
|
+
class: 'dr-empty-state',
|
|
93
|
+
}, template: "<ng-content select=\"dr-empty-state-media, [dr-empty-state-media], [drEmptyStateMedia]\"></ng-content>\n\n<img\n *ngIf=\"!hasProjectedMedia && illustrationUrl\"\n class=\"dr-empty-state__illustration\"\n [src]=\"illustrationUrl\"\n [attr.alt]=\"isIllustrationDecorative ? '' : illustrationAlt\"\n [attr.aria-hidden]=\"isIllustrationDecorative ? 'true' : null\" />\n\n<ng-content select=\"dr-empty-state-title, [dr-empty-state-title], [drEmptyStateTitle]\"></ng-content>\n<h2 *ngIf=\"!hasProjectedTitle && title\" class=\"dr-empty-state__title\">{{ title }}</h2>\n\n<ng-content select=\"dr-empty-state-description, [dr-empty-state-description], [drEmptyStateDescription]\"></ng-content>\n<p *ngIf=\"!hasProjectedDescription && description\" class=\"dr-empty-state__description\">{{ description }}</p>\n", styles: [".dr-empty-state{display:flex;justify-content:center;align-items:center;flex-direction:column;gap:4px;height:100%;width:100%;text-align:center}.dr-empty-state__illustration,.dr-empty-state__media{width:140px;height:130px;max-width:100%;object-fit:contain;margin-bottom:16px}.dr-empty-state__title{color:#333;font-size:16px;line-height:24px;font-weight:500;margin:0}.dr-empty-state__description{color:#6d6e6f;font-size:14px;line-height:24px;font-weight:400;margin:0}\n"] }]
|
|
87
94
|
}], null, { title: [{
|
|
88
95
|
type: Input
|
|
89
96
|
}], description: [{
|
|
@@ -96,10 +103,13 @@ export class DrEmptyStateComponent {
|
|
|
96
103
|
type: Input
|
|
97
104
|
}], projectedTitle: [{
|
|
98
105
|
type: ContentChild,
|
|
99
|
-
args: [
|
|
106
|
+
args: [DrEmptyStateTitleDirective]
|
|
100
107
|
}], projectedDescription: [{
|
|
101
108
|
type: ContentChild,
|
|
102
|
-
args: [
|
|
109
|
+
args: [DrEmptyStateDescriptionDirective]
|
|
110
|
+
}], projectedMedia: [{
|
|
111
|
+
type: ContentChild,
|
|
112
|
+
args: [DrEmptyStateMediaDirective]
|
|
103
113
|
}], role: [{
|
|
104
114
|
type: HostBinding,
|
|
105
115
|
args: ['attr.role']
|
|
@@ -113,4 +123,4 @@ export class DrEmptyStateComponent {
|
|
|
113
123
|
type: HostBinding,
|
|
114
124
|
args: ['attr.aria-label']
|
|
115
125
|
}] }); })();
|
|
116
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
126
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHItZW1wdHktc3RhdGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZGF0YXJhaWxzc2hhcmVkL3NyYy9saWIvZHItZW1wdHktc3RhdGUvZHItZW1wdHktc3RhdGUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZGF0YXJhaWxzc2hhcmVkL3NyYy9saWIvZHItZW1wdHktc3RhdGUvZHItZW1wdHktc3RhdGUuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsV0FBVyxFQUFFLEtBQUssRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN4SCxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLGdDQUFnQyxFQUFFLE1BQU0sd0NBQXdDLENBQUM7QUFDMUYsT0FBTyxFQUFFLDBCQUEwQixFQUFFLE1BQU0sa0NBQWtDLENBQUM7QUFDOUUsT0FBTyxFQUFFLDBCQUEwQixFQUFFLE1BQU0sa0NBQWtDLENBQUM7Ozs7SUNGOUUseUJBS29FOzs7SUFGaEUsOERBQXVCO0lBQ3ZCLG9GQUE0RCxnRUFBQTs7O0lBSWhFLDZCQUFzRTtJQUFBLFlBQVc7SUFBQ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kVGl0bGUgJiYgdGl0bGVcIiBjbGFzcz1cImRyLWVtcHR5LXN0YXRlX190aXRsZVwiPnt7IHRpdGxlIH19PC9oMj5cblxuPG5nLWNvbnRlbnQgc2VsZWN0PVwiZHItZW1wdHktc3RhdGUtZGVzY3JpcHRpb24sIFtkci1lbXB0eS1zdGF0ZS1kZXNjcmlwdGlvbl0sIFtkckVtcHR5U3RhdGVEZXNjcmlwdGlvbl1cIj48L25nLWNvbnRlbnQ+XG48cCAqbmdJZj1cIiFoYXNQcm9qZWN0ZWREZXNjcmlwdGlvbiAmJiBkZXNjcmlwdGlvblwiIGNsYXNzPVwiZHItZW1wdHktc3RhdGVfX2Rlc2NyaXB0aW9uXCI+e3sgZGVzY3JpcHRpb24gfX08L3A+XG4iXX0=
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { DrEmptyStateComponent } from './dr-empty-state.component';
|
|
3
|
+
import { DrEmptyStateTitleDirective } from './dr-empty-state-title.directive';
|
|
4
|
+
import { DrEmptyStateDescriptionDirective } from './dr-empty-state-description.directive';
|
|
5
|
+
import { DrEmptyStateMediaDirective } from './dr-empty-state-media.directive';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
const EMPTY_STATE_IMPORTS = [
|
|
8
|
+
DrEmptyStateComponent,
|
|
9
|
+
DrEmptyStateTitleDirective,
|
|
10
|
+
DrEmptyStateDescriptionDirective,
|
|
11
|
+
DrEmptyStateMediaDirective,
|
|
12
|
+
];
|
|
13
|
+
export class DrEmptyStateModule {
|
|
14
|
+
/** @nocollapse */ static { this.ɵfac = function DrEmptyStateModule_Factory(t) { return new (t || DrEmptyStateModule)(); }; }
|
|
15
|
+
/** @nocollapse */ static { this.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: DrEmptyStateModule }); }
|
|
16
|
+
/** @nocollapse */ static { this.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ imports: [DrEmptyStateComponent] }); }
|
|
17
|
+
}
|
|
18
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrEmptyStateModule, [{
|
|
19
|
+
type: NgModule,
|
|
20
|
+
args: [{
|
|
21
|
+
imports: EMPTY_STATE_IMPORTS,
|
|
22
|
+
exports: EMPTY_STATE_IMPORTS,
|
|
23
|
+
}]
|
|
24
|
+
}], null, null); })();
|
|
25
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(DrEmptyStateModule, { imports: [DrEmptyStateComponent,
|
|
26
|
+
DrEmptyStateTitleDirective,
|
|
27
|
+
DrEmptyStateDescriptionDirective,
|
|
28
|
+
DrEmptyStateMediaDirective], exports: [DrEmptyStateComponent,
|
|
29
|
+
DrEmptyStateTitleDirective,
|
|
30
|
+
DrEmptyStateDescriptionDirective,
|
|
31
|
+
DrEmptyStateMediaDirective] }); })();
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHItZW1wdHktc3RhdGUubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZGF0YXJhaWxzc2hhcmVkL3NyYy9saWIvZHItZW1wdHktc3RhdGUvZHItZW1wdHktc3RhdGUubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sNEJBQTRCLENBQUM7QUFDbkUsT0FBTyxFQUFFLDBCQUEwQixFQUFFLE1BQU0sa0NBQWtDLENBQUM7QUFDOUUsT0FBTyxFQUFFLGdDQUFnQyxFQUFFLE1BQU0sd0NBQXdDLENBQUM7QUFDMUYsT0FBTyxFQUFFLDBCQUEwQixFQUFFLE1BQU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5U3RhdGVDb21wb25lbnQsXG4gICAgRHJFbXB0eVN0YXRlVGl0bGVEaXJlY3RpdmUsXG4gICAgRHJFbXB0eVN0YXRlRGVzY3JpcHRpb25EaXJlY3RpdmUsXG4gICAgRHJFbXB0eVN0YXRlTWVkaWFEaXJlY3RpdmUsXG5dO1xuXG5ATmdNb2R1bGUoe1xuICAgIGltcG9ydHM6IEVNUFRZX1NUQVRFX0lNUE9SVFMsXG4gICAgZXhwb3J0czogRU1QVFlfU1RBVEVfSU1QT1JUUyxcbn0pXG5leHBvcnQgY2xhc3MgRHJFbXB0eVN0YXRlTW9kdWxlIHt9XG4iXX0=
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export * from './dr-empty-state.component';
|
|
2
|
-
export * from './dr-empty-state-title.
|
|
3
|
-
export * from './dr-empty-state-description.
|
|
4
|
-
|
|
2
|
+
export * from './dr-empty-state-title.directive';
|
|
3
|
+
export * from './dr-empty-state-description.directive';
|
|
4
|
+
export * from './dr-empty-state-media.directive';
|
|
5
|
+
export * from './dr-empty-state.module';
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9kYXRhcmFpbHNzaGFyZWQvc3JjL2xpYi9kci1lbXB0eS1zdGF0ZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDRCQUE0QixDQUFDO0FBQzNDLGNBQWMsa0NBQWtDLENBQUM7QUFDakQsY0FBYyx3Q0FBd0MsQ0FBQztBQUN2RCxjQUFjLGtDQUFrQyxDQUFDO0FBQ2pELGNBQWMseUJBQXlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2RyLWVtcHR5LXN0YXRlLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2RyLWVtcHR5LXN0YXRlLXRpdGxlLmRpcmVjdGl2ZSc7XG5leHBvcnQgKiBmcm9tICcuL2RyLWVtcHR5LXN0YXRlLWRlc2NyaXB0aW9uLmRpcmVjdGl2ZSc7XG5leHBvcnQgKiBmcm9tICcuL2RyLWVtcHR5LXN0YXRlLW1lZGlhLmRpcmVjdGl2ZSc7XG5leHBvcnQgKiBmcm9tICcuL2RyLWVtcHR5LXN0YXRlLm1vZHVsZSc7XG4iXX0=
|
|
@@ -10,8 +10,8 @@ import { Subject } from 'rxjs';
|
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
import * as i1 from "@angular/common";
|
|
12
12
|
import * as i2 from "@angular/forms";
|
|
13
|
-
import * as i3 from "../../../../dr-inputs/
|
|
14
|
-
import * as i4 from "../../../../dr-inputs/
|
|
13
|
+
import * as i3 from "../../../../dr-inputs/button/button.component";
|
|
14
|
+
import * as i4 from "../../../../dr-inputs/dr-input/dr-input.component";
|
|
15
15
|
import * as i5 from "../../../../dr-tooltip/dr-tooltip.directive";
|
|
16
16
|
function TblHeaderComponent_i_3_Template(rf, ctx) { if (rf & 1) {
|
|
17
17
|
i0.ɵɵelement(0, "i", 5);
|
|
@@ -157,7 +157,7 @@ export class TblHeaderComponent {
|
|
|
157
157
|
i0.ɵɵproperty("ngIf", ctx.defs == null ? null : ctx.defs.sortable);
|
|
158
158
|
i0.ɵɵadvance(1);
|
|
159
159
|
i0.ɵɵproperty("ngIf", ctx.defs == null ? null : ctx.defs.headerComponentParams == null ? null : ctx.defs.headerComponentParams.filterable);
|
|
160
|
-
} }, dependencies: [CommonModule, i1.NgIf, FormsModule, i2.NgControlStatus, i2.NgModel, DrInputsModule, i3.
|
|
160
|
+
} }, dependencies: [CommonModule, i1.NgIf, FormsModule, i2.NgControlStatus, i2.NgModel, DrInputsModule, i3.DrButtonComponent, i4.DrInputComponent, DrTooltipModule, i5.DrTooltipDirective], styles: ["[_nghost-%COMP%]{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;gap:4px}[_nghost-%COMP%] .table-header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:4px;min-height:28px}[_nghost-%COMP%] .table-header__title[_ngcontent-%COMP%]{display:inline-block;text-overflow:ellipsis;overflow:hidden;vertical-align:middle}[_nghost-%COMP%] .table-header__tooltip[_ngcontent-%COMP%]{color:#6d6e6f;cursor:pointer}[_nghost-%COMP%] .table-header[_ngcontent-%COMP%] dr-button[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%] dr-input[_ngcontent-%COMP%]{width:98%}[_nghost-%COMP%]:hover .table-header[_ngcontent-%COMP%] dr-button[_ngcontent-%COMP%], [_nghost-%COMP%] .table-header[_ngcontent-%COMP%] dr-button.sorted[_ngcontent-%COMP%]{display:inline-flex}"] }); }
|
|
161
161
|
}
|
|
162
162
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TblHeaderComponent, [{
|
|
163
163
|
type: Component,
|
|
@@ -10,9 +10,9 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
import * as i1 from "../../../models/popover";
|
|
11
11
|
import * as i2 from "@angular/common";
|
|
12
12
|
import * as i3 from "@angular/forms";
|
|
13
|
-
import * as i4 from "../../../dr-inputs/
|
|
14
|
-
import * as i5 from "../../../dr-inputs/
|
|
15
|
-
import * as i6 from "../../../dr-inputs/
|
|
13
|
+
import * as i4 from "../../../dr-inputs/button/button.component";
|
|
14
|
+
import * as i5 from "../../../dr-inputs/checkbox/checkbox.component";
|
|
15
|
+
import * as i6 from "../../../dr-inputs/dr-input/dr-input.component";
|
|
16
16
|
function DrGridColumnsFilterPopoverComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
17
17
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
18
18
|
i0.ɵɵelementStart(0, "div", 9)(1, "dr-checkbox", 10);
|
|
@@ -78,7 +78,7 @@ export class DrGridColumnsFilterPopoverComponent {
|
|
|
78
78
|
i0.ɵɵproperty("ngModel", ctx.searchInput);
|
|
79
79
|
i0.ɵɵadvance(2);
|
|
80
80
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(10, 10, ctx.columnDefinitions, ctx.onSearch.bind(ctx)));
|
|
81
|
-
} }, dependencies: [CommonModule, i2.NgForOf, FormsModule, i3.NgControlStatus, i3.NgModel, DrInputsModule, i4.
|
|
81
|
+
} }, dependencies: [CommonModule, i2.NgForOf, FormsModule, i3.NgControlStatus, i3.NgModel, DrInputsModule, i4.DrButtonComponent, i5.CheckboxComponent, i6.DrInputComponent, FilterPipe, AllCheckedPipe, IndeterminatePipe], styles: [".columns-filter[_ngcontent-%COMP%]{min-width:350px;font-size:14px}.columns-filter__header[_ngcontent-%COMP%]{padding:16px 32px;border-bottom:1px solid #ccc;white-space:nowrap;font-weight:600}.columns-filter__search-bar[_ngcontent-%COMP%]{display:flex;align-items:center;border-bottom:1px solid #dfe0e3;padding:5px 32px}.columns-filter__list[_ngcontent-%COMP%]{height:160px;overflow:auto;padding:0 32px}.columns-filter__item[_ngcontent-%COMP%]{padding-top:1rem}.columns-filter__item[_ngcontent-%COMP%]:last-child{padding-bottom:1rem}.columns-filter__footer[_ngcontent-%COMP%]{display:flex;border-top:1px solid #dfe0e3;padding:8px 32px}"], changeDetection: 0 }); }
|
|
82
82
|
}
|
|
83
83
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrGridColumnsFilterPopoverComponent, [{
|
|
84
84
|
type: Component,
|
|
@@ -23,8 +23,8 @@ import * as i0 from "@angular/core";
|
|
|
23
23
|
import * as i1 from "@angular/router";
|
|
24
24
|
import * as i2 from "@angular/common";
|
|
25
25
|
import * as i3 from "@angular/forms";
|
|
26
|
-
import * as i4 from "../../../dr-inputs/
|
|
27
|
-
import * as i5 from "../../../dr-inputs/
|
|
26
|
+
import * as i4 from "../../../dr-inputs/button/button.component";
|
|
27
|
+
import * as i5 from "../../../dr-inputs/dr-input/dr-input.component";
|
|
28
28
|
import * as i6 from "../../../dr-dropdown/dr-dropdown.directive";
|
|
29
29
|
import * as i7 from "../../../dr-tooltip/dr-tooltip.directive";
|
|
30
30
|
import * as i8 from "../../../dr-popover/dr-popover.directive";
|
|
@@ -141,7 +141,7 @@ export class DrGridToolbarComponent {
|
|
|
141
141
|
i0.ɵɵproperty("ngIf", ctx.showRefresh);
|
|
142
142
|
i0.ɵɵadvance(1);
|
|
143
143
|
i0.ɵɵproperty("ngIf", ctx.csvParams);
|
|
144
|
-
} }, dependencies: [CommonModule, i2.NgIf, FormsModule, i3.NgControlStatus, i3.NgModel, DrInputsModule, i4.
|
|
144
|
+
} }, dependencies: [CommonModule, i2.NgIf, FormsModule, i3.NgControlStatus, i3.NgModel, DrInputsModule, i4.DrButtonComponent, i5.DrInputComponent, DrDropdownModule, i6.DrDropdownDirective, DrTooltipModule, i7.DrTooltipDirective, DrPopoverModule, i8.DrPopoverDirective], styles: ["[_nghost-%COMP%]{display:flex;align-items:center}[_nghost-%COMP%] .dr-grid-toolbar__title[_ngcontent-%COMP%]{flex-grow:1;font-size:16px;line-height:24px;font-weight:500}[_nghost-%COMP%] .dr-grid-toolbar__actions[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;flex-shrink:0}[_nghost-%COMP%] .dr-grid-toolbar__actions__columns-settings[_ngcontent-%COMP%]{order:20}[_nghost-%COMP%] .dr-grid-toolbar__actions__more-actions[_ngcontent-%COMP%]{order:30}[_nghost-%COMP%] .dr-grid-toolbar__actions__refresh[_ngcontent-%COMP%]{order:40}[_nghost-%COMP%] .dr-grid-toolbar__actions__export[_ngcontent-%COMP%]{order:50}[_nghost-%COMP%] .table-view-form__add-new-integration-btn.icon-primary button{width:unset!important;padding:4px 16px 4px 8px!important}"], changeDetection: 0 }); }
|
|
145
145
|
}
|
|
146
146
|
__decorate([
|
|
147
147
|
Debounce(100),
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EventEmitter, HostBinding, Input, Output, ViewChild, } from '@angular/core';
|
|
2
2
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
+
import { DrTooltipModule } from '../../dr-tooltip/dr-tooltip.module';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
import * as i1 from "../../dr-tooltip/dr-tooltip.directive";
|
|
5
6
|
const _c0 = ["checkboxContent"];
|
|
@@ -61,7 +62,7 @@ export class CheckboxComponent {
|
|
|
61
62
|
i0.ɵɵattribute("id", ctx.hostId);
|
|
62
63
|
i0.ɵɵclassMap(ctx.theme);
|
|
63
64
|
i0.ɵɵclassProp("disabled", ctx.disabled)("text-nowrap", ctx.textNowrap);
|
|
64
|
-
} }, inputs: { id: "id", checkedStatus: "checkedStatus", disabled: "disabled", icon: "icon", theme: "theme", indeterminate: "indeterminate", textNowrap: "textNowrap" }, outputs: { checkedChange: "checkedChange" }, features: [i0.ɵɵProvidersFeature([{ provide: NG_VALUE_ACCESSOR, useExisting: CheckboxComponent, multi: true }])], ngContentSelectors: _c1, decls: 5, vars: 9, consts: [["type", "checkbox", 3, "checked", "disabled", "change", "click"], [3, "drTooltip"], ["checkboxContent", ""]], template: function CheckboxComponent_Template(rf, ctx) { if (rf & 1) {
|
|
65
|
+
} }, inputs: { id: "id", checkedStatus: "checkedStatus", disabled: "disabled", icon: "icon", theme: "theme", indeterminate: "indeterminate", textNowrap: "textNowrap" }, outputs: { checkedChange: "checkedChange" }, standalone: true, features: [i0.ɵɵProvidersFeature([{ provide: NG_VALUE_ACCESSOR, useExisting: CheckboxComponent, multi: true }]), i0.ɵɵStandaloneFeature], ngContentSelectors: _c1, decls: 5, vars: 9, consts: [["type", "checkbox", 3, "checked", "disabled", "change", "click"], [3, "drTooltip"], ["checkboxContent", ""]], template: function CheckboxComponent_Template(rf, ctx) { if (rf & 1) {
|
|
65
66
|
i0.ɵɵprojectionDef();
|
|
66
67
|
i0.ɵɵelementStart(0, "label")(1, "input", 0);
|
|
67
68
|
i0.ɵɵlistener("change", function CheckboxComponent_Template_input_change_1_listener($event) { return ctx.setValue($event); })("click", function CheckboxComponent_Template_input_click_1_listener($event) { return $event.stopPropagation(); });
|
|
@@ -77,11 +78,11 @@ export class CheckboxComponent {
|
|
|
77
78
|
i0.ɵɵclassMap(ctx.icon);
|
|
78
79
|
i0.ɵɵclassProp("indeterminate", ctx.indeterminate);
|
|
79
80
|
i0.ɵɵproperty("drTooltip", ctx.tooltip);
|
|
80
|
-
} }, dependencies: [i1.DrTooltipDirective], styles: ["input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{vertical-align:middle;line-height:30px}input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%], input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before{box-sizing:content-box!important;-webkit-box-sizing:content-box!important;-moz-box-sizing:content-box!important}input[_ngcontent-%COMP%]{visibility:hidden;position:absolute;width:0}label[_ngcontent-%COMP%] input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{position:relative;z-index:19;display:inline-block;margin:0 5px 0 0;line-height:17px;min-height:14px;min-width:14px}.text-nowrap[_nghost-%COMP%] label[_ngcontent-%COMP%] input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;max-width:100%;text-overflow:ellipsis;line-height:16px}label[_ngcontent-%COMP%] input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:hover{cursor:pointer}label[_ngcontent-%COMP%] input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before{content:\"\";font-size:14px;border-radius:0;display:inline-block;text-align:center;vertical-align:middle;padding:1px;min-height:12px;line-height:12px;min-width:12px;margin-right:5px;border:1.5px solid #8f929e;background-color:#fff;font-weight:400;margin-top:-1px}label[_ngcontent-%COMP%] input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before, label[_ngcontent-%COMP%]:hover input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before{background-color:#fff;border-color:#8f929e;color:#4646ce;border-radius:2px}label[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:before, label[_ngcontent-%COMP%]:hover input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:before{content:url('data:image/svg+xml; utf8, <svg width=\"12\" height=\"10\" viewBox=\"0 0 12 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M1 5L4.5 8.5L11 1.5\" stroke=\"white\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/> </svg>');background:#4646ce;border-color:#4646ce;color:#fff}label[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + span.cross[_ngcontent-%COMP%]:before, label[_ngcontent-%COMP%]:hover input[_ngcontent-%COMP%]:checked + span.cross[_ngcontent-%COMP%]:before{content:url('data:image/svg+xml; utf8, <svg width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M5.91786 4.99992L9.03356 1.88386C9.11927 1.79808 9.16654 1.68365 9.16668 1.56162C9.16668 1.43952 9.1194 1.32495 9.03356 1.23931L8.7605 0.966323C8.67466 0.880342 8.56026 0.833252 8.43811 0.833252C8.31615 0.833252 8.20169 0.880342 8.11585 0.966323L5.00016 4.08218L1.88431 0.966323C1.79861 0.880342 1.68407 0.833252 1.56199 0.833252C1.44004 0.833252 1.32559 0.880342 1.23988 0.966323L0.966677 1.23931C0.788899 1.4171 0.788899 1.70628 0.966677 1.88386L4.08245 4.99992L0.966677 8.11584C0.880904 8.20175 0.833707 8.31619 0.833707 8.43822C0.833707 8.56025 0.880904 8.67468 0.966677 8.76053L1.23981 9.03351C1.32551 9.11943 1.44003 9.16658 1.56191 9.16658C1.684 9.16658 1.79853 9.11943 1.88424 9.03351L5.00008 5.91759L8.11578 9.03351C8.20162 9.11943 8.31608 9.16658 8.43803 9.16658C8.56005 9.16658 8.67459 9.11943 8.76043 9.03351L9.03349 8.76053C9.11919 8.67475 9.16646 8.56025 9.16646 8.43822C9.16646 8.31619 9.11919 8.20175 9.03349 8.11591L5.91786 4.99992Z\" fill=\"white\"/></svg>')}label[_ngcontent-%COMP%] input[_ngcontent-%COMP%] + span.indeterminate[_ngcontent-%COMP%]:before, label[_ngcontent-%COMP%]:hover input[_ngcontent-%COMP%] + span.indeterminate[_ngcontent-%COMP%]:before{content:url('data:image/svg+xml; utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"10\" height=\"10\" viewBox=\"0 0 10 2\" fill=\"none\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M0.25 1C0.25 0.585786 0.585786 0.25 1 0.25L11 0.250001C11.4142 0.250001 11.75 0.585787 11.75 1C11.75 1.41421 11.4142 1.75 11 1.75L1 1.75C0.585786 1.75 0.25 1.41421 0.25 1Z\" fill=\"white\"/></svg>');background:#4646ce;border-color:#4646ce;color:#fff}label[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:disabled + span[_ngcontent-%COMP%]{color:#8f929e}label[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:disabled + span[_ngcontent-%COMP%]:before{border-color:#dfe0e3;pointer-events:none}label[_ngcontent-%COMP%] input[disabled][_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:before{background:#8f929e;border-color:#8f929e;pointer-events:none}[_nghost-%COMP%]{font-family:Poppins,sans-serif;font-style:normal}[_nghost-%COMP%] label[_ngcontent-%COMP%]{position:relative}[_nghost-%COMP%] label[_ngcontent-%COMP%]:hover:after{content:\"\";width:24px;height:24px;background:#f2f2fb;border-radius:50%;position:absolute;left:-4px;top:.5px}.small[_nghost-%COMP%]{color:#333;font-size:14px}.small[_nghost-%COMP%] label[_ngcontent-%COMP%]:after, .small[_nghost-%COMP%] label[_ngcontent-%COMP%]:hover:after{width:20px;height:20px;left:-3px;top:1.5px}.small[_nghost-%COMP%] label[_ngcontent-%COMP%] input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%], .small[_nghost-%COMP%] label[_ngcontent-%COMP%]:hover input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{min-height:10px;min-width:10px}.small[_nghost-%COMP%] label[_ngcontent-%COMP%] input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before, .small[_nghost-%COMP%] label[_ngcontent-%COMP%]:hover input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before{height:10px;width:10px;min-height:10px;min-width:10px;line-height:10px;margin-right:8px}.small[_nghost-%COMP%] label[_ngcontent-%COMP%] input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before, .small[_nghost-%COMP%] label[_ngcontent-%COMP%]:hover input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before{content:\"\";background-position:center;background-repeat:no-repeat;background-size:10px 10px}.small[_nghost-%COMP%] label[_ngcontent-%COMP%] input[_ngcontent-%COMP%] + span.indeterminate[_ngcontent-%COMP%]:before, .small[_nghost-%COMP%] label[_ngcontent-%COMP%]:hover input[_ngcontent-%COMP%] + span.indeterminate[_ngcontent-%COMP%]:before{background-image:url('data:image/svg+xml; utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"10\" height=\"10\" viewBox=\"0 0 10 2\" fill=\"none\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M0.25 1C0.25 0.585786 0.585786 0.25 1 0.25L11 0.250001C11.4142 0.250001 11.75 0.585787 11.75 1C11.75 1.41421 11.4142 1.75 11 1.75L1 1.75C0.585786 1.75 0.25 1.41421 0.25 1Z\" fill=\"white\"/></svg>')}.small[_nghost-%COMP%] label[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:before, .small[_nghost-%COMP%] label[_ngcontent-%COMP%]:hover input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:before{background-image:url('data:image/svg+xml; utf8, <svg width=\"12\" height=\"10\" viewBox=\"0 0 12 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M1 5L4.5 8.5L11 1.5\" stroke=\"white\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/> </svg>')}.small[_nghost-%COMP%] label[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + span.cross[_ngcontent-%COMP%]:before, .small[_nghost-%COMP%] label[_ngcontent-%COMP%]:hover input[_ngcontent-%COMP%]:checked + span.cross[_ngcontent-%COMP%]:before{background-image:url('data:image/svg+xml; utf8, <svg width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M5.91786 4.99992L9.03356 1.88386C9.11927 1.79808 9.16654 1.68365 9.16668 1.56162C9.16668 1.43952 9.1194 1.32495 9.03356 1.23931L8.7605 0.966323C8.67466 0.880342 8.56026 0.833252 8.43811 0.833252C8.31615 0.833252 8.20169 0.880342 8.11585 0.966323L5.00016 4.08218L1.88431 0.966323C1.79861 0.880342 1.68407 0.833252 1.56199 0.833252C1.44004 0.833252 1.32559 0.880342 1.23988 0.966323L0.966677 1.23931C0.788899 1.4171 0.788899 1.70628 0.966677 1.88386L4.08245 4.99992L0.966677 8.11584C0.880904 8.20175 0.833707 8.31619 0.833707 8.43822C0.833707 8.56025 0.880904 8.67468 0.966677 8.76053L1.23981 9.03351C1.32551 9.11943 1.44003 9.16658 1.56191 9.16658C1.684 9.16658 1.79853 9.11943 1.88424 9.03351L5.00008 5.91759L8.11578 9.03351C8.20162 9.11943 8.31608 9.16658 8.43803 9.16658C8.56005 9.16658 8.67459 9.11943 8.76043 9.03351L9.03349 8.76053C9.11919 8.67475 9.16646 8.56025 9.16646 8.43822C9.16646 8.31619 9.11919 8.20175 9.03349 8.11591L5.91786 4.99992Z\" fill=\"white\"/></svg>')}.disabled[_nghost-%COMP%] label[_ngcontent-%COMP%]:hover:after{display:none}"], changeDetection: 0 }); }
|
|
81
|
+
} }, dependencies: [DrTooltipModule, i1.DrTooltipDirective], styles: ["input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{vertical-align:middle;line-height:30px}input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%], input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before{box-sizing:content-box!important;-webkit-box-sizing:content-box!important;-moz-box-sizing:content-box!important}input[_ngcontent-%COMP%]{visibility:hidden;position:absolute;width:0}label[_ngcontent-%COMP%] input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{position:relative;z-index:19;display:inline-block;margin:0 5px 0 0;line-height:17px;min-height:14px;min-width:14px}.text-nowrap[_nghost-%COMP%] label[_ngcontent-%COMP%] input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;max-width:100%;text-overflow:ellipsis;line-height:16px}label[_ngcontent-%COMP%] input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:hover{cursor:pointer}label[_ngcontent-%COMP%] input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before{content:\"\";font-size:14px;border-radius:0;display:inline-block;text-align:center;vertical-align:middle;padding:1px;min-height:12px;line-height:12px;min-width:12px;margin-right:5px;border:1.5px solid #8f929e;background-color:#fff;font-weight:400;margin-top:-1px}label[_ngcontent-%COMP%] input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before, label[_ngcontent-%COMP%]:hover input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before{background-color:#fff;border-color:#8f929e;color:#4646ce;border-radius:2px}label[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:before, label[_ngcontent-%COMP%]:hover input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:before{content:url('data:image/svg+xml; utf8, <svg width=\"12\" height=\"10\" viewBox=\"0 0 12 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M1 5L4.5 8.5L11 1.5\" stroke=\"white\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/> </svg>');background:#4646ce;border-color:#4646ce;color:#fff}label[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + span.cross[_ngcontent-%COMP%]:before, label[_ngcontent-%COMP%]:hover input[_ngcontent-%COMP%]:checked + span.cross[_ngcontent-%COMP%]:before{content:url('data:image/svg+xml; utf8, <svg width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M5.91786 4.99992L9.03356 1.88386C9.11927 1.79808 9.16654 1.68365 9.16668 1.56162C9.16668 1.43952 9.1194 1.32495 9.03356 1.23931L8.7605 0.966323C8.67466 0.880342 8.56026 0.833252 8.43811 0.833252C8.31615 0.833252 8.20169 0.880342 8.11585 0.966323L5.00016 4.08218L1.88431 0.966323C1.79861 0.880342 1.68407 0.833252 1.56199 0.833252C1.44004 0.833252 1.32559 0.880342 1.23988 0.966323L0.966677 1.23931C0.788899 1.4171 0.788899 1.70628 0.966677 1.88386L4.08245 4.99992L0.966677 8.11584C0.880904 8.20175 0.833707 8.31619 0.833707 8.43822C0.833707 8.56025 0.880904 8.67468 0.966677 8.76053L1.23981 9.03351C1.32551 9.11943 1.44003 9.16658 1.56191 9.16658C1.684 9.16658 1.79853 9.11943 1.88424 9.03351L5.00008 5.91759L8.11578 9.03351C8.20162 9.11943 8.31608 9.16658 8.43803 9.16658C8.56005 9.16658 8.67459 9.11943 8.76043 9.03351L9.03349 8.76053C9.11919 8.67475 9.16646 8.56025 9.16646 8.43822C9.16646 8.31619 9.11919 8.20175 9.03349 8.11591L5.91786 4.99992Z\" fill=\"white\"/></svg>')}label[_ngcontent-%COMP%] input[_ngcontent-%COMP%] + span.indeterminate[_ngcontent-%COMP%]:before, label[_ngcontent-%COMP%]:hover input[_ngcontent-%COMP%] + span.indeterminate[_ngcontent-%COMP%]:before{content:url('data:image/svg+xml; utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"10\" height=\"10\" viewBox=\"0 0 10 2\" fill=\"none\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M0.25 1C0.25 0.585786 0.585786 0.25 1 0.25L11 0.250001C11.4142 0.250001 11.75 0.585787 11.75 1C11.75 1.41421 11.4142 1.75 11 1.75L1 1.75C0.585786 1.75 0.25 1.41421 0.25 1Z\" fill=\"white\"/></svg>');background:#4646ce;border-color:#4646ce;color:#fff}label[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:disabled + span[_ngcontent-%COMP%]{color:#8f929e}label[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:disabled + span[_ngcontent-%COMP%]:before{border-color:#dfe0e3;pointer-events:none}label[_ngcontent-%COMP%] input[disabled][_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:before{background:#8f929e;border-color:#8f929e;pointer-events:none}[_nghost-%COMP%]{font-family:Poppins,sans-serif;font-style:normal}[_nghost-%COMP%] label[_ngcontent-%COMP%]{position:relative}[_nghost-%COMP%] label[_ngcontent-%COMP%]:hover:after{content:\"\";width:24px;height:24px;background:#f2f2fb;border-radius:50%;position:absolute;left:-4px;top:.5px}.small[_nghost-%COMP%]{color:#333;font-size:14px}.small[_nghost-%COMP%] label[_ngcontent-%COMP%]:after, .small[_nghost-%COMP%] label[_ngcontent-%COMP%]:hover:after{width:20px;height:20px;left:-3px;top:1.5px}.small[_nghost-%COMP%] label[_ngcontent-%COMP%] input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%], .small[_nghost-%COMP%] label[_ngcontent-%COMP%]:hover input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{min-height:10px;min-width:10px}.small[_nghost-%COMP%] label[_ngcontent-%COMP%] input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before, .small[_nghost-%COMP%] label[_ngcontent-%COMP%]:hover input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before{height:10px;width:10px;min-height:10px;min-width:10px;line-height:10px;margin-right:8px}.small[_nghost-%COMP%] label[_ngcontent-%COMP%] input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before, .small[_nghost-%COMP%] label[_ngcontent-%COMP%]:hover input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before{content:\"\";background-position:center;background-repeat:no-repeat;background-size:10px 10px}.small[_nghost-%COMP%] label[_ngcontent-%COMP%] input[_ngcontent-%COMP%] + span.indeterminate[_ngcontent-%COMP%]:before, .small[_nghost-%COMP%] label[_ngcontent-%COMP%]:hover input[_ngcontent-%COMP%] + span.indeterminate[_ngcontent-%COMP%]:before{background-image:url('data:image/svg+xml; utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"10\" height=\"10\" viewBox=\"0 0 10 2\" fill=\"none\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M0.25 1C0.25 0.585786 0.585786 0.25 1 0.25L11 0.250001C11.4142 0.250001 11.75 0.585787 11.75 1C11.75 1.41421 11.4142 1.75 11 1.75L1 1.75C0.585786 1.75 0.25 1.41421 0.25 1Z\" fill=\"white\"/></svg>')}.small[_nghost-%COMP%] label[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:before, .small[_nghost-%COMP%] label[_ngcontent-%COMP%]:hover input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:before{background-image:url('data:image/svg+xml; utf8, <svg width=\"12\" height=\"10\" viewBox=\"0 0 12 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M1 5L4.5 8.5L11 1.5\" stroke=\"white\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/> </svg>')}.small[_nghost-%COMP%] label[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + span.cross[_ngcontent-%COMP%]:before, .small[_nghost-%COMP%] label[_ngcontent-%COMP%]:hover input[_ngcontent-%COMP%]:checked + span.cross[_ngcontent-%COMP%]:before{background-image:url('data:image/svg+xml; utf8, <svg width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M5.91786 4.99992L9.03356 1.88386C9.11927 1.79808 9.16654 1.68365 9.16668 1.56162C9.16668 1.43952 9.1194 1.32495 9.03356 1.23931L8.7605 0.966323C8.67466 0.880342 8.56026 0.833252 8.43811 0.833252C8.31615 0.833252 8.20169 0.880342 8.11585 0.966323L5.00016 4.08218L1.88431 0.966323C1.79861 0.880342 1.68407 0.833252 1.56199 0.833252C1.44004 0.833252 1.32559 0.880342 1.23988 0.966323L0.966677 1.23931C0.788899 1.4171 0.788899 1.70628 0.966677 1.88386L4.08245 4.99992L0.966677 8.11584C0.880904 8.20175 0.833707 8.31619 0.833707 8.43822C0.833707 8.56025 0.880904 8.67468 0.966677 8.76053L1.23981 9.03351C1.32551 9.11943 1.44003 9.16658 1.56191 9.16658C1.684 9.16658 1.79853 9.11943 1.88424 9.03351L5.00008 5.91759L8.11578 9.03351C8.20162 9.11943 8.31608 9.16658 8.43803 9.16658C8.56005 9.16658 8.67459 9.11943 8.76043 9.03351L9.03349 8.76053C9.11919 8.67475 9.16646 8.56025 9.16646 8.43822C9.16646 8.31619 9.11919 8.20175 9.03349 8.11591L5.91786 4.99992Z\" fill=\"white\"/></svg>')}.disabled[_nghost-%COMP%] label[_ngcontent-%COMP%]:hover:after{display:none}"], changeDetection: 0 }); }
|
|
81
82
|
}
|
|
82
83
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CheckboxComponent, [{
|
|
83
84
|
type: Component,
|
|
84
|
-
args: [{ selector: 'dr-checkbox', providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: CheckboxComponent, multi: true }], changeDetection: ChangeDetectionStrategy.OnPush, template: "<label>\n <input\n type=\"checkbox\"\n [attr.id]=\"id\"\n [attr.data-test]=\"checkedStatus ? 'checked' : 'unchecked'\"\n [checked]=\"checkedStatus\"\n [disabled]=\"disabled\"\n (change)=\"setValue($event)\"\n (click)=\"$event.stopPropagation()\" />\n <span #checkboxContent [class]=\"icon\" [class.indeterminate]=\"indeterminate\" [drTooltip]=\"tooltip\">\n <ng-content></ng-content>\n </span>\n</label>\n", styles: ["input+span{vertical-align:middle;line-height:30px}input+span,input+span:before{box-sizing:content-box!important;-webkit-box-sizing:content-box!important;-moz-box-sizing:content-box!important}input{visibility:hidden;position:absolute;width:0}label input+span{position:relative;z-index:19;display:inline-block;margin:0 5px 0 0;line-height:17px;min-height:14px;min-width:14px}:host.text-nowrap label input+span{white-space:nowrap;overflow:hidden;max-width:100%;text-overflow:ellipsis;line-height:16px}label input+span:hover{cursor:pointer}label input+span:before{content:\"\";font-size:14px;border-radius:0;display:inline-block;text-align:center;vertical-align:middle;padding:1px;min-height:12px;line-height:12px;min-width:12px;margin-right:5px;border:1.5px solid #8f929e;background-color:#fff;font-weight:400;margin-top:-1px}label input+span:before,label:hover input+span:before{background-color:#fff;border-color:#8f929e;color:#4646ce;border-radius:2px}label input:checked+span:before,label:hover input:checked+span:before{content:url('data:image/svg+xml; utf8, <svg width=\"12\" height=\"10\" viewBox=\"0 0 12 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M1 5L4.5 8.5L11 1.5\" stroke=\"white\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/> </svg>');background:#4646ce;border-color:#4646ce;color:#fff}label input:checked+span.cross:before,label:hover input:checked+span.cross:before{content:url('data:image/svg+xml; utf8, <svg width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M5.91786 4.99992L9.03356 1.88386C9.11927 1.79808 9.16654 1.68365 9.16668 1.56162C9.16668 1.43952 9.1194 1.32495 9.03356 1.23931L8.7605 0.966323C8.67466 0.880342 8.56026 0.833252 8.43811 0.833252C8.31615 0.833252 8.20169 0.880342 8.11585 0.966323L5.00016 4.08218L1.88431 0.966323C1.79861 0.880342 1.68407 0.833252 1.56199 0.833252C1.44004 0.833252 1.32559 0.880342 1.23988 0.966323L0.966677 1.23931C0.788899 1.4171 0.788899 1.70628 0.966677 1.88386L4.08245 4.99992L0.966677 8.11584C0.880904 8.20175 0.833707 8.31619 0.833707 8.43822C0.833707 8.56025 0.880904 8.67468 0.966677 8.76053L1.23981 9.03351C1.32551 9.11943 1.44003 9.16658 1.56191 9.16658C1.684 9.16658 1.79853 9.11943 1.88424 9.03351L5.00008 5.91759L8.11578 9.03351C8.20162 9.11943 8.31608 9.16658 8.43803 9.16658C8.56005 9.16658 8.67459 9.11943 8.76043 9.03351L9.03349 8.76053C9.11919 8.67475 9.16646 8.56025 9.16646 8.43822C9.16646 8.31619 9.11919 8.20175 9.03349 8.11591L5.91786 4.99992Z\" fill=\"white\"/></svg>')}label input+span.indeterminate:before,label:hover input+span.indeterminate:before{content:url('data:image/svg+xml; utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"10\" height=\"10\" viewBox=\"0 0 10 2\" fill=\"none\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M0.25 1C0.25 0.585786 0.585786 0.25 1 0.25L11 0.250001C11.4142 0.250001 11.75 0.585787 11.75 1C11.75 1.41421 11.4142 1.75 11 1.75L1 1.75C0.585786 1.75 0.25 1.41421 0.25 1Z\" fill=\"white\"/></svg>');background:#4646ce;border-color:#4646ce;color:#fff}label input:disabled+span{color:#8f929e}label input:disabled+span:before{border-color:#dfe0e3;pointer-events:none}label input[disabled]:checked+span:before{background:#8f929e;border-color:#8f929e;pointer-events:none}:host{font-family:Poppins,sans-serif;font-style:normal}:host label{position:relative}:host label:hover:after{content:\"\";width:24px;height:24px;background:#f2f2fb;border-radius:50%;position:absolute;left:-4px;top:.5px}:host.small{color:#333;font-size:14px}:host.small label:after,:host.small label:hover:after{width:20px;height:20px;left:-3px;top:1.5px}:host.small label input+span,:host.small label:hover input+span{min-height:10px;min-width:10px}:host.small label input+span:before,:host.small label:hover input+span:before{height:10px;width:10px;min-height:10px;min-width:10px;line-height:10px;margin-right:8px}:host.small label input+span:before,:host.small label:hover input+span:before{content:\"\";background-position:center;background-repeat:no-repeat;background-size:10px 10px}:host.small label input+span.indeterminate:before,:host.small label:hover input+span.indeterminate:before{background-image:url('data:image/svg+xml; utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"10\" height=\"10\" viewBox=\"0 0 10 2\" fill=\"none\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M0.25 1C0.25 0.585786 0.585786 0.25 1 0.25L11 0.250001C11.4142 0.250001 11.75 0.585787 11.75 1C11.75 1.41421 11.4142 1.75 11 1.75L1 1.75C0.585786 1.75 0.25 1.41421 0.25 1Z\" fill=\"white\"/></svg>')}:host.small label input:checked+span:before,:host.small label:hover input:checked+span:before{background-image:url('data:image/svg+xml; utf8, <svg width=\"12\" height=\"10\" viewBox=\"0 0 12 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M1 5L4.5 8.5L11 1.5\" stroke=\"white\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/> </svg>')}:host.small label input:checked+span.cross:before,:host.small label:hover input:checked+span.cross:before{background-image:url('data:image/svg+xml; utf8, <svg width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M5.91786 4.99992L9.03356 1.88386C9.11927 1.79808 9.16654 1.68365 9.16668 1.56162C9.16668 1.43952 9.1194 1.32495 9.03356 1.23931L8.7605 0.966323C8.67466 0.880342 8.56026 0.833252 8.43811 0.833252C8.31615 0.833252 8.20169 0.880342 8.11585 0.966323L5.00016 4.08218L1.88431 0.966323C1.79861 0.880342 1.68407 0.833252 1.56199 0.833252C1.44004 0.833252 1.32559 0.880342 1.23988 0.966323L0.966677 1.23931C0.788899 1.4171 0.788899 1.70628 0.966677 1.88386L4.08245 4.99992L0.966677 8.11584C0.880904 8.20175 0.833707 8.31619 0.833707 8.43822C0.833707 8.56025 0.880904 8.67468 0.966677 8.76053L1.23981 9.03351C1.32551 9.11943 1.44003 9.16658 1.56191 9.16658C1.684 9.16658 1.79853 9.11943 1.88424 9.03351L5.00008 5.91759L8.11578 9.03351C8.20162 9.11943 8.31608 9.16658 8.43803 9.16658C8.56005 9.16658 8.67459 9.11943 8.76043 9.03351L9.03349 8.76053C9.11919 8.67475 9.16646 8.56025 9.16646 8.43822C9.16646 8.31619 9.11919 8.20175 9.03349 8.11591L5.91786 4.99992Z\" fill=\"white\"/></svg>')}:host.disabled label:hover:after{display:none}\n"] }]
|
|
85
|
+
args: [{ selector: 'dr-checkbox', standalone: true, imports: [DrTooltipModule], providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: CheckboxComponent, multi: true }], changeDetection: ChangeDetectionStrategy.OnPush, template: "<label>\n <input\n type=\"checkbox\"\n [attr.id]=\"id\"\n [attr.data-test]=\"checkedStatus ? 'checked' : 'unchecked'\"\n [checked]=\"checkedStatus\"\n [disabled]=\"disabled\"\n (change)=\"setValue($event)\"\n (click)=\"$event.stopPropagation()\" />\n <span #checkboxContent [class]=\"icon\" [class.indeterminate]=\"indeterminate\" [drTooltip]=\"tooltip\">\n <ng-content></ng-content>\n </span>\n</label>\n", styles: ["input+span{vertical-align:middle;line-height:30px}input+span,input+span:before{box-sizing:content-box!important;-webkit-box-sizing:content-box!important;-moz-box-sizing:content-box!important}input{visibility:hidden;position:absolute;width:0}label input+span{position:relative;z-index:19;display:inline-block;margin:0 5px 0 0;line-height:17px;min-height:14px;min-width:14px}:host.text-nowrap label input+span{white-space:nowrap;overflow:hidden;max-width:100%;text-overflow:ellipsis;line-height:16px}label input+span:hover{cursor:pointer}label input+span:before{content:\"\";font-size:14px;border-radius:0;display:inline-block;text-align:center;vertical-align:middle;padding:1px;min-height:12px;line-height:12px;min-width:12px;margin-right:5px;border:1.5px solid #8f929e;background-color:#fff;font-weight:400;margin-top:-1px}label input+span:before,label:hover input+span:before{background-color:#fff;border-color:#8f929e;color:#4646ce;border-radius:2px}label input:checked+span:before,label:hover input:checked+span:before{content:url('data:image/svg+xml; utf8, <svg width=\"12\" height=\"10\" viewBox=\"0 0 12 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M1 5L4.5 8.5L11 1.5\" stroke=\"white\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/> </svg>');background:#4646ce;border-color:#4646ce;color:#fff}label input:checked+span.cross:before,label:hover input:checked+span.cross:before{content:url('data:image/svg+xml; utf8, <svg width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M5.91786 4.99992L9.03356 1.88386C9.11927 1.79808 9.16654 1.68365 9.16668 1.56162C9.16668 1.43952 9.1194 1.32495 9.03356 1.23931L8.7605 0.966323C8.67466 0.880342 8.56026 0.833252 8.43811 0.833252C8.31615 0.833252 8.20169 0.880342 8.11585 0.966323L5.00016 4.08218L1.88431 0.966323C1.79861 0.880342 1.68407 0.833252 1.56199 0.833252C1.44004 0.833252 1.32559 0.880342 1.23988 0.966323L0.966677 1.23931C0.788899 1.4171 0.788899 1.70628 0.966677 1.88386L4.08245 4.99992L0.966677 8.11584C0.880904 8.20175 0.833707 8.31619 0.833707 8.43822C0.833707 8.56025 0.880904 8.67468 0.966677 8.76053L1.23981 9.03351C1.32551 9.11943 1.44003 9.16658 1.56191 9.16658C1.684 9.16658 1.79853 9.11943 1.88424 9.03351L5.00008 5.91759L8.11578 9.03351C8.20162 9.11943 8.31608 9.16658 8.43803 9.16658C8.56005 9.16658 8.67459 9.11943 8.76043 9.03351L9.03349 8.76053C9.11919 8.67475 9.16646 8.56025 9.16646 8.43822C9.16646 8.31619 9.11919 8.20175 9.03349 8.11591L5.91786 4.99992Z\" fill=\"white\"/></svg>')}label input+span.indeterminate:before,label:hover input+span.indeterminate:before{content:url('data:image/svg+xml; utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"10\" height=\"10\" viewBox=\"0 0 10 2\" fill=\"none\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M0.25 1C0.25 0.585786 0.585786 0.25 1 0.25L11 0.250001C11.4142 0.250001 11.75 0.585787 11.75 1C11.75 1.41421 11.4142 1.75 11 1.75L1 1.75C0.585786 1.75 0.25 1.41421 0.25 1Z\" fill=\"white\"/></svg>');background:#4646ce;border-color:#4646ce;color:#fff}label input:disabled+span{color:#8f929e}label input:disabled+span:before{border-color:#dfe0e3;pointer-events:none}label input[disabled]:checked+span:before{background:#8f929e;border-color:#8f929e;pointer-events:none}:host{font-family:Poppins,sans-serif;font-style:normal}:host label{position:relative}:host label:hover:after{content:\"\";width:24px;height:24px;background:#f2f2fb;border-radius:50%;position:absolute;left:-4px;top:.5px}:host.small{color:#333;font-size:14px}:host.small label:after,:host.small label:hover:after{width:20px;height:20px;left:-3px;top:1.5px}:host.small label input+span,:host.small label:hover input+span{min-height:10px;min-width:10px}:host.small label input+span:before,:host.small label:hover input+span:before{height:10px;width:10px;min-height:10px;min-width:10px;line-height:10px;margin-right:8px}:host.small label input+span:before,:host.small label:hover input+span:before{content:\"\";background-position:center;background-repeat:no-repeat;background-size:10px 10px}:host.small label input+span.indeterminate:before,:host.small label:hover input+span.indeterminate:before{background-image:url('data:image/svg+xml; utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"10\" height=\"10\" viewBox=\"0 0 10 2\" fill=\"none\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M0.25 1C0.25 0.585786 0.585786 0.25 1 0.25L11 0.250001C11.4142 0.250001 11.75 0.585787 11.75 1C11.75 1.41421 11.4142 1.75 11 1.75L1 1.75C0.585786 1.75 0.25 1.41421 0.25 1Z\" fill=\"white\"/></svg>')}:host.small label input:checked+span:before,:host.small label:hover input:checked+span:before{background-image:url('data:image/svg+xml; utf8, <svg width=\"12\" height=\"10\" viewBox=\"0 0 12 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M1 5L4.5 8.5L11 1.5\" stroke=\"white\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/> </svg>')}:host.small label input:checked+span.cross:before,:host.small label:hover input:checked+span.cross:before{background-image:url('data:image/svg+xml; utf8, <svg width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M5.91786 4.99992L9.03356 1.88386C9.11927 1.79808 9.16654 1.68365 9.16668 1.56162C9.16668 1.43952 9.1194 1.32495 9.03356 1.23931L8.7605 0.966323C8.67466 0.880342 8.56026 0.833252 8.43811 0.833252C8.31615 0.833252 8.20169 0.880342 8.11585 0.966323L5.00016 4.08218L1.88431 0.966323C1.79861 0.880342 1.68407 0.833252 1.56199 0.833252C1.44004 0.833252 1.32559 0.880342 1.23988 0.966323L0.966677 1.23931C0.788899 1.4171 0.788899 1.70628 0.966677 1.88386L4.08245 4.99992L0.966677 8.11584C0.880904 8.20175 0.833707 8.31619 0.833707 8.43822C0.833707 8.56025 0.880904 8.67468 0.966677 8.76053L1.23981 9.03351C1.32551 9.11943 1.44003 9.16658 1.56191 9.16658C1.684 9.16658 1.79853 9.11943 1.88424 9.03351L5.00008 5.91759L8.11578 9.03351C8.20162 9.11943 8.31608 9.16658 8.43803 9.16658C8.56005 9.16658 8.67459 9.11943 8.76043 9.03351L9.03349 8.76053C9.11919 8.67475 9.16646 8.56025 9.16646 8.43822C9.16646 8.31619 9.11919 8.20175 9.03349 8.11591L5.91786 4.99992Z\" fill=\"white\"/></svg>')}:host.disabled label:hover:after{display:none}\n"] }]
|
|
85
86
|
}], function () { return [{ type: i0.ChangeDetectorRef }]; }, { id: [{
|
|
86
87
|
type: Input
|
|
87
88
|
}], hostId: [{
|
|
@@ -114,4 +115,4 @@ export class CheckboxComponent {
|
|
|
114
115
|
type: ViewChild,
|
|
115
116
|
args: ['checkboxContent']
|
|
116
117
|
}] }); })();
|
|
117
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
118
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozL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