@datarailsshared/datarailsshared 1.6.411 → 1.6.412
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.412.tgz +0 -0
- package/esm2022/lib/dr-grid/components/cells/cell-action/cell-action.component.mjs +11 -4
- package/esm2022/lib/dr-grid/components/cells/cell-children-list/cell-children-list.component.mjs +2 -2
- package/esm2022/lib/dr-grid/components/cells/cell-select/cell-select.component.mjs +5 -5
- package/esm2022/lib/dr-grid/components/tbl-toggle-button-header/tbl-toggle-button-header.component.mjs +22 -4
- package/esm2022/lib/dr-inputs/dr-select/dr-select.component.mjs +15 -6
- package/fesm2022/datarailsshared-datarailsshared.mjs +51 -17
- package/fesm2022/datarailsshared-datarailsshared.mjs.map +1 -1
- package/lib/dr-grid/components/cells/cell-action/cell-action.component.d.ts +2 -1
- package/lib/dr-grid/components/cells/cell-select/cell-select.component.d.ts +1 -0
- package/lib/dr-grid/components/tbl-toggle-button-header/tbl-toggle-button-header.component.d.ts +3 -0
- package/lib/dr-inputs/dr-select/dr-select.component.d.ts +3 -1
- package/package.json +1 -1
- package/datarailsshared-datarailsshared-1.6.411.tgz +0 -0
|
@@ -1624,6 +1624,9 @@ function DrSelectComponent_i_12_Template(rf, ctx) { if (rf & 1) {
|
|
|
1624
1624
|
} }
|
|
1625
1625
|
const SELECT_HOST_ATTRIBUTES = ['no-left-border', 'no-left-border-radius', 'no-right-border', 'no-right-border-radius'];
|
|
1626
1626
|
class DrSelectComponent {
|
|
1627
|
+
set borderless(val) {
|
|
1628
|
+
this.asBorderless = val;
|
|
1629
|
+
}
|
|
1627
1630
|
set textView(val) {
|
|
1628
1631
|
this.asTextView = val;
|
|
1629
1632
|
}
|
|
@@ -1651,6 +1654,7 @@ class DrSelectComponent {
|
|
|
1651
1654
|
this.open = new EventEmitter();
|
|
1652
1655
|
this.closeUp = new EventEmitter();
|
|
1653
1656
|
this.asTextView = false;
|
|
1657
|
+
this.asBorderless = false;
|
|
1654
1658
|
this.backdropElement = null;
|
|
1655
1659
|
this.onChange = () => { };
|
|
1656
1660
|
this.onTouched = () => { };
|
|
@@ -1776,11 +1780,11 @@ class DrSelectComponent {
|
|
|
1776
1780
|
} if (rf & 2) {
|
|
1777
1781
|
let _t;
|
|
1778
1782
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.ngSelect = _t.first);
|
|
1779
|
-
} }, hostVars:
|
|
1783
|
+
} }, hostVars: 7, hostBindings: function DrSelectComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
1780
1784
|
i0.ɵɵattribute("id", ctx.hostId);
|
|
1781
1785
|
i0.ɵɵclassMap(ctx.type);
|
|
1782
|
-
i0.ɵɵclassProp("textView", ctx.asTextView);
|
|
1783
|
-
} }, inputs: { type: "type", clearInputTextAfterSelection: "clearInputTextAfterSelection", className: "className", items: "items", addTag: "addTag", appendTo: "appendTo", bindLabel: "bindLabel", bindValue: "bindValue", clearable: "clearable", compareWith: "compareWith", searchable: "searchable", isDisplayingSearchInHeader: "isDisplayingSearchInHeader", minItemsToDisplaySearchInHeader: "minItemsToDisplaySearchInHeader", searchFn: "searchFn", multiple: "multiple", multipleHeightIncreased: "multipleHeightIncreased", hideSelected: "hideSelected", maxSelectedItems: "maxSelectedItems", placeholder: "placeholder", loading: "loading", loadingText: "loadingText", readonly: "readonly", disabled: "disabled", groupBy: "groupBy", optionWithDescription: "optionWithDescription", id: "id", keyDownFn: "keyDownFn", selectedItem: "selectedItem", dropdownClass: "dropdownClass", closeOnSelect: "closeOnSelect", textView: "textView", autofocus: "autofocus", isOpen: "isOpen", noValuePadding: "noValuePadding", selectOnTabKeyPress: "selectOnTabKeyPress", virtualScroll: "virtualScroll", typeahead: "typeahead" }, outputs: { search: "search", scrollToEnd: "scrollToEnd", change: "change", open: "open", closeUp: "closeUp" }, standalone: true, features: [i0.ɵɵProvidersFeature([
|
|
1786
|
+
i0.ɵɵclassProp("textView", ctx.asTextView)("borderless", ctx.asBorderless);
|
|
1787
|
+
} }, inputs: { type: "type", clearInputTextAfterSelection: "clearInputTextAfterSelection", className: "className", items: "items", addTag: "addTag", appendTo: "appendTo", bindLabel: "bindLabel", bindValue: "bindValue", clearable: "clearable", compareWith: "compareWith", searchable: "searchable", isDisplayingSearchInHeader: "isDisplayingSearchInHeader", minItemsToDisplaySearchInHeader: "minItemsToDisplaySearchInHeader", searchFn: "searchFn", multiple: "multiple", multipleHeightIncreased: "multipleHeightIncreased", hideSelected: "hideSelected", maxSelectedItems: "maxSelectedItems", placeholder: "placeholder", loading: "loading", loadingText: "loadingText", readonly: "readonly", disabled: "disabled", groupBy: "groupBy", optionWithDescription: "optionWithDescription", id: "id", keyDownFn: "keyDownFn", selectedItem: "selectedItem", dropdownClass: "dropdownClass", closeOnSelect: "closeOnSelect", borderless: "borderless", textView: "textView", autofocus: "autofocus", isOpen: "isOpen", noValuePadding: "noValuePadding", selectOnTabKeyPress: "selectOnTabKeyPress", virtualScroll: "virtualScroll", typeahead: "typeahead" }, outputs: { search: "search", scrollToEnd: "scrollToEnd", change: "change", open: "open", closeUp: "closeUp" }, standalone: true, features: [i0.ɵɵProvidersFeature([
|
|
1784
1788
|
{
|
|
1785
1789
|
provide: NG_VALUE_ACCESSOR,
|
|
1786
1790
|
useExisting: DrSelectComponent,
|
|
@@ -1826,7 +1830,7 @@ class DrSelectComponent {
|
|
|
1826
1830
|
i0.ɵɵproperty("ngIf", ctx.notFoundTemplate);
|
|
1827
1831
|
i0.ɵɵadvance(1);
|
|
1828
1832
|
i0.ɵɵproperty("ngIf", ctx.type === "search-input");
|
|
1829
|
-
} }, dependencies: [CommonModule, i1.NgIf, i1.NgTemplateOutlet, FormsModule, i2.NgControlStatus, i2.NgModel, NgSelectModule, i3.NgSelectComponent, i3.NgOptgroupTemplateDirective, i3.NgOptionTemplateDirective, i3.NgLabelTemplateDirective, i3.NgMultiLabelTemplateDirective, i3.NgHeaderTemplateDirective, i3.NgFooterTemplateDirective, i3.NgNotFoundTemplateDirective, i3.NgLoadingSpinnerTemplateDirective, DrInputComponent, DrSpinnerModule, DrSpinnerDirective], styles: ["[_nghost-%COMP%]{width:100%;height:32px;font-family:Poppins,sans-serif}.textView[_nghost-%COMP%] {width:auto}.textView[_nghost-%COMP%] ng-select.ng-select .ng-select-container{border:none!important;cursor:pointer}.textView[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-value-container{padding:0;color:#4646ce}.textView[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-value-container:hover{text-decoration-line:underline}.textView[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-arrow-wrapper{display:none}.textView[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container, .textView[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:hover, .textView[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within{background:#fff!important;border:none!important;cursor:default}.textView[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container .ng-value, .textView[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:hover .ng-value, .textView[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within .ng-value{color:#aeabac!important}.textView[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container .ng-input input::placeholder{color:#aeabac}.textView[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-value-container:hover{text-decoration-line:none}.no-left-border-radius[_nghost-%COMP%] ng-select.ng-select .ng-select-container{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.no-right-border-radius[_nghost-%COMP%] ng-select.ng-select .ng-select-container{border-bottom-right-radius:0!important;border-top-right-radius:0!important}.no-right-border[_nghost-%COMP%] ng-select.ng-select .ng-select-container{border-right:none!important}.no-left-border[_nghost-%COMP%] ng-select.ng-select .ng-select-container{border-left:none!important}[_nghost-%COMP%] ng-select.ng-select .ng-select-container{min-height:32px;height:32px;width:100%;border-radius:6px;border:1px solid #9ea1aa;box-shadow:none!important}[_nghost-%COMP%] ng-select.ng-select .ng-select-container:hover{border-color:#4646ce}[_nghost-%COMP%] ng-select.ng-select .ng-select-container:focus-within{border-color:#4646ce}[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-input{font-size:14px;line-height:24px;font-weight:400;top:0!important;padding:0 50px 0 8px!important;color:#333}[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-input input::placeholder{font-size:14px;line-height:24px;font-weight:400;color:#6d6e6f}[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-value-container{font-size:14px;line-height:24px;font-weight:400;padding:0 0 0 8px;height:100%;overflow:auto}[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-value-container .ng-input{padding:0 0 0 3px!important}[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-arrow-wrapper{margin-right:7px}[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-arrow-wrapper .ng-arrow{border:none;width:auto;height:auto;display:flex;text-decoration-line:none;top:0}[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-arrow-wrapper .ng-arrow:before{font-family:DataRails!important;content:var(--dr-icon-arrow-down, \"\\ea18\");font-size:24px;color:#6d6e6f}[_nghost-%COMP%] ng-select.ng-select.ng-select-opened .ng-select-container{border-radius:6px}[_nghost-%COMP%] ng-select.ng-select.ng-select-multiple .ng-select-container{max-height:58px;height:100%}[_nghost-%COMP%] ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container{font-size:14px;line-height:24px;font-weight:400;max-height:58px}[_nghost-%COMP%] ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{font-size:12px;line-height:16px;font-weight:400;color:#333;height:24px;padding:2px 16px;margin:2px 4px 2px 0;background:#f0f1f4;display:flex;flex-direction:row-reverse;align-items:center;border-radius:12px}[_nghost-%COMP%] ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-label{padding:0!important}[_nghost-%COMP%] ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon{border:none!important;padding:0!important;width:20px;display:flex;align-items:center;color:transparent;margin-left:4px}[_nghost-%COMP%] ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon:before{font-family:DataRails!important;content:var(--dr-icon-exit, \"\\ea77\");font-size:20px;color:#333}[_nghost-%COMP%] ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon, [_nghost-%COMP%] ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon:hover{background:transparent!important}[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container, [_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:hover, [_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within{background:#f0f1f4!important;border:1px solid #aeabac!important}[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container .ng-value, [_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:hover .ng-value, [_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within .ng-value{color:#aeabac!important}[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container .ng-arrow{color:#aeabac}[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container .ng-arrow:before{color:#aeabac}[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container .ng-input input::placeholder{color:#aeabac}[_nghost-%COMP%] ng-select.ng-select.ng-select-single.ng-invalid.ng-touched .ng-select-container, [_nghost-%COMP%] ng-select.ng-select.ng-select-multiple.ng-invalid.ng-touched .ng-select-container{border-color:#bf1d30}[_nghost-%COMP%] ng-select.ng-select--multiple-height-increased.ng-select-multiple .ng-select-container{max-height:88px}[_nghost-%COMP%] ng-select.ng-select--multiple-height-increased.ng-select-multiple .ng-select-container .ng-value-container{max-height:88px}[_nghost-%COMP%] ng-select.ng-select--no-value-padding .ng-select-container .ng-value-container .ng-value, [_nghost-%COMP%] ng-select.ng-select--no-value-padding.ng-select-multiple .ng-select-container .ng-value-container .ng-value{padding:0}[_nghost-%COMP%] ng-select.ng-select--no-value-padding .ng-select-container .ng-value-container .ng-value .ng-select-user-label, [_nghost-%COMP%] ng-select.ng-select--no-value-padding.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-select-user-label{height:100%}.ng-invalid.ng-touched[_nghost-%COMP%] ng-select.ng-select .ng-select-container{border-color:#bf1d30}[_nghost-%COMP%] .dr-select__loading[_ngcontent-%COMP%]{position:relative;height:32px;width:24px}.search-input[_nghost-%COMP%]{position:relative}.search-input[_nghost-%COMP%] .search-icon[_ngcontent-%COMP%]{position:absolute;top:4px;right:16px;color:#6d6e6f;z-index:1001}.search-input[_nghost-%COMP%] ng-select.ng-select .ng-select-container{border-radius:16px}.search-input[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-arrow-wrapper{display:none!important}.search-input[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-clear-wrapper{display:flex;justify-content:center;align-items:center;right:40px;top:1px;width:24px;height:24px}.search-input[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-clear-wrapper .ng-clear{font-size:24px;font-weight:300;color:#6d6e6f}.search-input[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-input, .search-input[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-value-container{padding:0 0 0 16px!important;width:calc(100% - 63px)}.search-input[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-input input, .search-input[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-value-container input{height:100%} ng-dropdown-panel.ng-dropdown-panel.dr-select{font-family:Poppins,sans-serif;border:1px solid #dfe0e3;border-radius:4px!important;margin:8px 0;box-shadow:0 4px 8px 1px #00000040;background-color:#fff;overflow:hidden;padding:8px 0} ng-dropdown-panel.ng-dropdown-panel.dr-select.textView{width:auto!important} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option:empty{display:none} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option{display:flex;align-items:center;min-height:36px;padding:8px 12px;font-size:14px;line-height:22px;background:#fff} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option>.ng-option-label{text-overflow:ellipsis;overflow:hidden} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-marked{background:#f5f5f5} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected, ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked{background:#eaeaff;color:#333} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected span, ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked span{font-weight:400!important} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled{cursor:default} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled>div{color:#aeabac} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled>div.dr-select__option-with-desc__wrapper .dr-select__option-with-desc__description{color:#aeabac} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled[role=group]{font-size:14px;line-height:22px;color:#aeabac;cursor:default} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled[role=group]:not(:first-of-type){border-top:1px solid #dfe0e3} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled[role=group]:hover{background:#fff} ng-dropdown-panel.ng-dropdown-panel.dr-select .dr-select__option-with-desc__wrapper{color:#333} ng-dropdown-panel.ng-dropdown-panel.dr-select .dr-select__option-with-desc__wrapper .dr-select__option-with-desc__description{max-width:-moz-fit-content;max-width:fit-content;word-break:break-word;white-space:normal;color:#6d6e6f;font-weight:400;font-size:12px;line-height:20px} ng-dropdown-panel.ng-dropdown-panel.dr-select.ng-option-selected .dr-select__option-with-desc__wrapper .dr-select__option-with-desc__description, ng-dropdown-panel.ng-dropdown-panel.dr-select.ng-option-selected.ng-option-marked .dr-select__option-with-desc__wrapper .dr-select__option-with-desc__description{color:#6d6e6f} .ng-dropdown-panel--with-search .ng-dropdown-header{border-bottom:none}.custom-backdrop[_ngcontent-%COMP%]{position:fixed;inset:0;overflow:hidden;pointer-events:none}"] }); }
|
|
1833
|
+
} }, dependencies: [CommonModule, i1.NgIf, i1.NgTemplateOutlet, FormsModule, i2.NgControlStatus, i2.NgModel, NgSelectModule, i3.NgSelectComponent, i3.NgOptgroupTemplateDirective, i3.NgOptionTemplateDirective, i3.NgLabelTemplateDirective, i3.NgMultiLabelTemplateDirective, i3.NgHeaderTemplateDirective, i3.NgFooterTemplateDirective, i3.NgNotFoundTemplateDirective, i3.NgLoadingSpinnerTemplateDirective, DrInputComponent, DrSpinnerModule, DrSpinnerDirective], styles: ["[_nghost-%COMP%]{width:100%;height:32px;font-family:Poppins,sans-serif}.borderless[_nghost-%COMP%] ng-select.ng-select .ng-select-container{border:none!important;cursor:pointer;gap:4px;background:none!important}.borderless[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-value-container{flex:none;padding:0;color:#333}.borderless[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container, .borderless[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:hover, .borderless[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within{cursor:default}.borderless[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container .ng-value, .borderless[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:hover .ng-value, .borderless[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within .ng-value{color:#aeabac!important}.borderless[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container .ng-input input::placeholder{color:#aeabac}.textView[_nghost-%COMP%] {width:auto}.textView[_nghost-%COMP%] ng-select.ng-select .ng-select-container{border:none!important;cursor:pointer}.textView[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-value-container{padding:0;color:#4646ce}.textView[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-value-container:hover{text-decoration-line:underline}.textView[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-arrow-wrapper{display:none}.textView[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container, .textView[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:hover, .textView[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within{background:#fff!important;border:none!important;cursor:default}.textView[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container .ng-value, .textView[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:hover .ng-value, .textView[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within .ng-value{color:#aeabac!important}.textView[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container .ng-input input::placeholder{color:#aeabac}.textView[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-value-container:hover{text-decoration-line:none}.no-left-border-radius[_nghost-%COMP%] ng-select.ng-select .ng-select-container{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.no-right-border-radius[_nghost-%COMP%] ng-select.ng-select .ng-select-container{border-bottom-right-radius:0!important;border-top-right-radius:0!important}.no-right-border[_nghost-%COMP%] ng-select.ng-select .ng-select-container{border-right:none!important}.no-left-border[_nghost-%COMP%] ng-select.ng-select .ng-select-container{border-left:none!important}[_nghost-%COMP%] ng-select.ng-select .ng-select-container{min-height:32px;height:32px;width:100%;border-radius:6px;border:1px solid #9ea1aa;box-shadow:none!important}[_nghost-%COMP%] ng-select.ng-select .ng-select-container:hover{border-color:#4646ce}[_nghost-%COMP%] ng-select.ng-select .ng-select-container:focus-within{border-color:#4646ce}[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-input{font-size:14px;line-height:24px;font-weight:400;top:0!important;padding:0 50px 0 8px!important;color:#333}[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-input input::placeholder{font-size:14px;line-height:24px;font-weight:400;color:#6d6e6f}[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-value-container{font-size:14px;line-height:24px;font-weight:400;padding:0 0 0 8px;height:100%;overflow:auto}[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-value-container .ng-input{padding:0 0 0 3px!important}[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-arrow-wrapper{margin-right:7px}[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-arrow-wrapper .ng-arrow{border:none;width:auto;height:auto;display:flex;text-decoration-line:none;top:0}[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-arrow-wrapper .ng-arrow:before{font-family:DataRails!important;content:var(--dr-icon-arrow-down, \"\\ea18\");font-size:24px;color:#6d6e6f}[_nghost-%COMP%] ng-select.ng-select.ng-select-opened .ng-select-container{border-radius:6px}[_nghost-%COMP%] ng-select.ng-select.ng-select-multiple .ng-select-container{max-height:58px;height:100%}[_nghost-%COMP%] ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container{font-size:14px;line-height:24px;font-weight:400;max-height:58px}[_nghost-%COMP%] ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{font-size:12px;line-height:16px;font-weight:400;color:#333;height:24px;padding:2px 16px;margin:2px 4px 2px 0;background:#f0f1f4;display:flex;flex-direction:row-reverse;align-items:center;border-radius:12px}[_nghost-%COMP%] ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-label{padding:0!important}[_nghost-%COMP%] ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon{border:none!important;padding:0!important;width:20px;display:flex;align-items:center;color:transparent;margin-left:4px}[_nghost-%COMP%] ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon:before{font-family:DataRails!important;content:var(--dr-icon-exit, \"\\ea77\");font-size:20px;color:#333}[_nghost-%COMP%] ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon, [_nghost-%COMP%] ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon:hover{background:transparent!important}[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container, [_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:hover, [_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within{background:#f0f1f4!important;border:1px solid #aeabac!important}[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container .ng-value, [_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:hover .ng-value, [_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within .ng-value{color:#aeabac!important}[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container .ng-arrow{color:#aeabac}[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container .ng-arrow:before{color:#aeabac}[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container .ng-input input::placeholder{color:#aeabac}[_nghost-%COMP%] ng-select.ng-select.ng-select-single.ng-invalid.ng-touched .ng-select-container, [_nghost-%COMP%] ng-select.ng-select.ng-select-multiple.ng-invalid.ng-touched .ng-select-container{border-color:#bf1d30}[_nghost-%COMP%] ng-select.ng-select--multiple-height-increased.ng-select-multiple .ng-select-container{max-height:88px}[_nghost-%COMP%] ng-select.ng-select--multiple-height-increased.ng-select-multiple .ng-select-container .ng-value-container{max-height:88px}[_nghost-%COMP%] ng-select.ng-select--no-value-padding .ng-select-container .ng-value-container .ng-value, [_nghost-%COMP%] ng-select.ng-select--no-value-padding.ng-select-multiple .ng-select-container .ng-value-container .ng-value{padding:0}[_nghost-%COMP%] ng-select.ng-select--no-value-padding .ng-select-container .ng-value-container .ng-value .ng-select-user-label, [_nghost-%COMP%] ng-select.ng-select--no-value-padding.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-select-user-label{height:100%}.ng-invalid.ng-touched[_nghost-%COMP%] ng-select.ng-select .ng-select-container{border-color:#bf1d30}[_nghost-%COMP%] .dr-select__loading[_ngcontent-%COMP%]{position:relative;height:32px;width:24px}.search-input[_nghost-%COMP%]{position:relative}.search-input[_nghost-%COMP%] .search-icon[_ngcontent-%COMP%]{position:absolute;top:4px;right:16px;color:#6d6e6f;z-index:1001}.search-input[_nghost-%COMP%] ng-select.ng-select .ng-select-container{border-radius:16px}.search-input[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-arrow-wrapper{display:none!important}.search-input[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-clear-wrapper{display:flex;justify-content:center;align-items:center;right:40px;top:1px;width:24px;height:24px}.search-input[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-clear-wrapper .ng-clear{font-size:24px;font-weight:300;color:#6d6e6f}.search-input[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-input, .search-input[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-value-container{padding:0 0 0 16px!important;width:calc(100% - 63px)}.search-input[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-input input, .search-input[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-value-container input{height:100%} ng-dropdown-panel.ng-dropdown-panel.dr-select{font-family:Poppins,sans-serif;border:1px solid #dfe0e3;border-radius:4px!important;margin:8px 0;box-shadow:0 4px 8px 1px #00000040;background-color:#fff;overflow:hidden;padding:8px 0} ng-dropdown-panel.ng-dropdown-panel.dr-select.textView{width:auto!important} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option:empty{display:none} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option{display:flex;align-items:center;min-height:36px;padding:8px 12px;font-size:14px;line-height:22px;background:#fff} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option>.ng-option-label{text-overflow:ellipsis;overflow:hidden} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-marked{background:#f5f5f5} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected, ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked{background:#eaeaff;color:#333} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected span, ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked span{font-weight:400!important} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled{cursor:default} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled>div{color:#aeabac} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled>div.dr-select__option-with-desc__wrapper .dr-select__option-with-desc__description{color:#aeabac} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled[role=group]{font-size:14px;line-height:22px;color:#aeabac;cursor:default} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled[role=group]:not(:first-of-type){border-top:1px solid #dfe0e3} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled[role=group]:hover{background:#fff} ng-dropdown-panel.ng-dropdown-panel.dr-select .dr-select__option-with-desc__wrapper{color:#333} ng-dropdown-panel.ng-dropdown-panel.dr-select .dr-select__option-with-desc__wrapper .dr-select__option-with-desc__description{max-width:-moz-fit-content;max-width:fit-content;word-break:break-word;white-space:normal;color:#6d6e6f;font-weight:400;font-size:12px;line-height:20px} ng-dropdown-panel.ng-dropdown-panel.dr-select.ng-option-selected .dr-select__option-with-desc__wrapper .dr-select__option-with-desc__description, ng-dropdown-panel.ng-dropdown-panel.dr-select.ng-option-selected.ng-option-marked .dr-select__option-with-desc__wrapper .dr-select__option-with-desc__description{color:#6d6e6f} .ng-dropdown-panel--with-search .ng-dropdown-header{border-bottom:none}.custom-backdrop[_ngcontent-%COMP%]{position:fixed;inset:0;overflow:hidden;pointer-events:none}"] }); }
|
|
1830
1834
|
}
|
|
1831
1835
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrSelectComponent, [{
|
|
1832
1836
|
type: Component,
|
|
@@ -1836,7 +1840,7 @@ class DrSelectComponent {
|
|
|
1836
1840
|
useExisting: DrSelectComponent,
|
|
1837
1841
|
multi: true,
|
|
1838
1842
|
},
|
|
1839
|
-
], template: "<ng-select\n [(ngModel)]=\"selectedItem\"\n [items]=\"items\"\n [bindLabel]=\"bindLabel\"\n [bindValue]=\"bindValue\"\n [multiple]=\"multiple\"\n [addTag]=\"addTag\"\n [appendTo]=\"appendTo\"\n [clearable]=\"clearable\"\n [searchable]=\"searchable\"\n [hideSelected]=\"hideSelected\"\n [placeholder]=\"placeholder\"\n [loading]=\"loading\"\n [loadingText]=\"loadingText\"\n [readonly]=\"readonly\"\n [closeOnSelect]=\"closeOnSelect\"\n [disabled]=\"disabled\"\n [labelForId]=\"id\"\n [maxSelectedItems]=\"maxSelectedItems\"\n [keyDownFn]=\"keyDownFn\"\n [searchFn]=\"searchFn\"\n [isOpen]=\"(type !== 'search-input' || !!selectComponent.searchTerm?.length) && isOpen\"\n [groupBy]=\"groupBy\"\n [attr.autofocus]=\"autofocus\"\n [selectOnTab]=\"selectOnTabKeyPress\"\n [virtualScroll]=\"virtualScroll\"\n [typeahead]=\"typeahead\"\n (search)=\"search.emit($event)\"\n (scrollToEnd)=\"scrollToEnd.emit($event)\"\n (keydown.tab)=\"onTabKeypress($event)\"\n [compareWith]=\"compareWith\"\n (change)=\"onValueSelected(selectedItem)\"\n (open)=\"open.emit($event); onDropdownOpen()\"\n (close)=\"onClose($event)\"\n class=\"dr-select\"\n [class.ng-select--no-value-padding]=\"noValuePadding\"\n [class.ng-select--multiple-height-increased]=\"multipleHeightIncreased\"\n #selectComponent>\n <ng-template *ngIf=\"optionHeaderTemplate\" ng-header-tmp let-item=\"item\">\n <ng-container [ngTemplateOutlet]=\"optionHeaderTemplate\" [ngTemplateOutletContext]=\"{ item: item }\"></ng-container>\n </ng-template>\n <ng-template\n ng-header-tmp\n *ngIf=\"!optionHeaderTemplate && isDisplayingSearchInHeader && items?.length >= minItemsToDisplaySearchInHeader\"\n let-item=\"item\">\n <dr-input\n class=\"dr-select__search\"\n [ngModel]=\"selectComponent.searchTerm\"\n (ngModelChange)=\"selectComponent.itemsList.filter($event + '')\"\n type=\"search\">\n </dr-input>\n </ng-template>\n <ng-template *ngIf=\"labelTemplate\" ng-label-tmp let-item=\"item\">\n <ng-container [ngTemplateOutlet]=\"labelTemplate\" [ngTemplateOutletContext]=\"{ item: item }\"></ng-container>\n </ng-template>\n <ng-template *ngIf=\"multiLabelTemplate\" ng-multi-label-tmp let-items=\"items\" let-clear=\"clear\">\n <ng-container [ngTemplateOutlet]=\"multiLabelTemplate\" [ngTemplateOutletContext]=\"{ items: items, clear: clear }\">\n </ng-container>\n </ng-template>\n <ng-template *ngIf=\"optionTemplate\" ng-option-tmp let-item=\"item\" let-item$=\"item$\">\n <ng-container [ngTemplateOutlet]=\"optionTemplate\" [ngTemplateOutletContext]=\"{ item: item, item$: item$ }\"></ng-container>\n </ng-template>\n <ng-template *ngIf=\"optionWithDescription\" ng-option-tmp let-item=\"item\">\n <div class=\"dr-select__option-with-desc__wrapper\">\n <div>{{ item.name }}</div>\n <div class=\"dr-select__option-with-desc__description\">{{ item?.description }}</div>\n </div>\n </ng-template>\n <ng-template *ngIf=\"optionFooterTemplate\" ng-footer-tmp let-item=\"item\">\n <ng-container\n [ngTemplateOutlet]=\"optionFooterTemplate\"\n [ngTemplateOutletContext]=\"{ item: item, close: selectComponent.close.bind(selectComponent) }\"></ng-container>\n </ng-template>\n <ng-template *ngIf=\"groupBy\" ng-optgroup-tmp let-item=\"item\">\n {{ item[groupBy] }}\n </ng-template>\n <ng-template ng-loadingspinner-tmp>\n <div\n *ngIf=\"loading\"\n class=\"dr-select__loading\"\n [drSpinner]=\"loading\"\n [drSpinnerType]=\"'circle'\"\n [drSpinnerSize]=\"'small'\"\n [drSpinnerNoOverlay]=\"true\"></div>\n </ng-template>\n <ng-template *ngIf=\"notFoundTemplate\" ng-notfound-tmp>\n <ng-container [ngTemplateOutlet]=\"notFoundTemplate\"></ng-container>\n </ng-template>\n</ng-select>\n<i *ngIf=\"type === 'search-input'\" class=\"search-icon dr-icon-search\"></i>\n", styles: [":host{width:100%;height:32px;font-family:Poppins,sans-serif}:host.textView::ng-deep{width:auto}:host.textView::ng-deep ng-select.ng-select .ng-select-container{border:none!important;cursor:pointer}:host.textView::ng-deep ng-select.ng-select .ng-select-container .ng-value-container{padding:0;color:#4646ce}:host.textView::ng-deep ng-select.ng-select .ng-select-container .ng-value-container:hover{text-decoration-line:underline}:host.textView::ng-deep ng-select.ng-select .ng-select-container .ng-arrow-wrapper{display:none}:host.textView::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container,:host.textView::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:hover,:host.textView::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within{background:#fff!important;border:none!important;cursor:default}:host.textView::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container .ng-value,:host.textView::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:hover .ng-value,:host.textView::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within .ng-value{color:#aeabac!important}:host.textView::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container .ng-input input::placeholder{color:#aeabac}:host.textView::ng-deep ng-select.ng-select.ng-select-disabled .ng-value-container:hover{text-decoration-line:none}:host.no-left-border-radius ::ng-deep ng-select.ng-select .ng-select-container{border-bottom-left-radius:0!important;border-top-left-radius:0!important}:host.no-right-border-radius ::ng-deep ng-select.ng-select .ng-select-container{border-bottom-right-radius:0!important;border-top-right-radius:0!important}:host.no-right-border ::ng-deep ng-select.ng-select .ng-select-container{border-right:none!important}:host.no-left-border ::ng-deep ng-select.ng-select .ng-select-container{border-left:none!important}:host ::ng-deep ng-select.ng-select .ng-select-container{min-height:32px;height:32px;width:100%;border-radius:6px;border:1px solid #9ea1aa;box-shadow:none!important}:host ::ng-deep ng-select.ng-select .ng-select-container:hover{border-color:#4646ce}:host ::ng-deep ng-select.ng-select .ng-select-container:focus-within{border-color:#4646ce}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-input{font-size:14px;line-height:24px;font-weight:400;top:0!important;padding:0 50px 0 8px!important;color:#333}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-input input::placeholder{font-size:14px;line-height:24px;font-weight:400;color:#6d6e6f}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-value-container{font-size:14px;line-height:24px;font-weight:400;padding:0 0 0 8px;height:100%;overflow:auto}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-value-container .ng-input{padding:0 0 0 3px!important}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-arrow-wrapper{margin-right:7px}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-arrow-wrapper .ng-arrow{border:none;width:auto;height:auto;display:flex;text-decoration-line:none;top:0}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-arrow-wrapper .ng-arrow:before{font-family:DataRails!important;content:var(--dr-icon-arrow-down, \"\\ea18\");font-size:24px;color:#6d6e6f}:host ::ng-deep ng-select.ng-select.ng-select-opened .ng-select-container{border-radius:6px}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container{max-height:58px;height:100%}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container{font-size:14px;line-height:24px;font-weight:400;max-height:58px}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{font-size:12px;line-height:16px;font-weight:400;color:#333;height:24px;padding:2px 16px;margin:2px 4px 2px 0;background:#f0f1f4;display:flex;flex-direction:row-reverse;align-items:center;border-radius:12px}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-label{padding:0!important}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon{border:none!important;padding:0!important;width:20px;display:flex;align-items:center;color:transparent;margin-left:4px}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon:before{font-family:DataRails!important;content:var(--dr-icon-exit, \"\\ea77\");font-size:20px;color:#333}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon,:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon:hover{background:transparent!important}:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container,:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:hover,:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within{background:#f0f1f4!important;border:1px solid #aeabac!important}:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container .ng-value,:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:hover .ng-value,:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within .ng-value{color:#aeabac!important}:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container .ng-arrow{color:#aeabac}:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container .ng-arrow:before{color:#aeabac}:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container .ng-input input::placeholder{color:#aeabac}:host ::ng-deep ng-select.ng-select.ng-select-single.ng-invalid.ng-touched .ng-select-container,:host ::ng-deep ng-select.ng-select.ng-select-multiple.ng-invalid.ng-touched .ng-select-container{border-color:#bf1d30}:host ::ng-deep ng-select.ng-select--multiple-height-increased.ng-select-multiple .ng-select-container{max-height:88px}:host ::ng-deep ng-select.ng-select--multiple-height-increased.ng-select-multiple .ng-select-container .ng-value-container{max-height:88px}:host ::ng-deep ng-select.ng-select--no-value-padding .ng-select-container .ng-value-container .ng-value,:host ::ng-deep ng-select.ng-select--no-value-padding.ng-select-multiple .ng-select-container .ng-value-container .ng-value{padding:0}:host ::ng-deep ng-select.ng-select--no-value-padding .ng-select-container .ng-value-container .ng-value .ng-select-user-label,:host ::ng-deep ng-select.ng-select--no-value-padding.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-select-user-label{height:100%}:host.ng-invalid.ng-touched::ng-deep ng-select.ng-select .ng-select-container{border-color:#bf1d30}:host .dr-select__loading{position:relative;height:32px;width:24px}:host.search-input{position:relative}:host.search-input .search-icon{position:absolute;top:4px;right:16px;color:#6d6e6f;z-index:1001}:host.search-input::ng-deep ng-select.ng-select .ng-select-container{border-radius:16px}:host.search-input::ng-deep ng-select.ng-select .ng-select-container .ng-arrow-wrapper{display:none!important}:host.search-input::ng-deep ng-select.ng-select .ng-select-container .ng-clear-wrapper{display:flex;justify-content:center;align-items:center;right:40px;top:1px;width:24px;height:24px}:host.search-input::ng-deep ng-select.ng-select .ng-select-container .ng-clear-wrapper .ng-clear{font-size:24px;font-weight:300;color:#6d6e6f}:host.search-input::ng-deep ng-select.ng-select .ng-select-container .ng-input,:host.search-input::ng-deep ng-select.ng-select .ng-select-container .ng-value-container{padding:0 0 0 16px!important;width:calc(100% - 63px)}:host.search-input::ng-deep ng-select.ng-select .ng-select-container .ng-input input,:host.search-input::ng-deep ng-select.ng-select .ng-select-container .ng-value-container input{height:100%}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select{font-family:Poppins,sans-serif;border:1px solid #dfe0e3;border-radius:4px!important;margin:8px 0;box-shadow:0 4px 8px 1px #00000040;background-color:#fff;overflow:hidden;padding:8px 0}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select.textView{width:auto!important}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option:empty{display:none}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option{display:flex;align-items:center;min-height:36px;padding:8px 12px;font-size:14px;line-height:22px;background:#fff}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option>.ng-option-label{text-overflow:ellipsis;overflow:hidden}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-marked{background:#f5f5f5}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected,::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked{background:#eaeaff;color:#333}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected span,::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked span{font-weight:400!important}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled{cursor:default}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled>div{color:#aeabac}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled>div.dr-select__option-with-desc__wrapper .dr-select__option-with-desc__description{color:#aeabac}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled[role=group]{font-size:14px;line-height:22px;color:#aeabac;cursor:default}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled[role=group]:not(:first-of-type){border-top:1px solid #dfe0e3}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled[role=group]:hover{background:#fff}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .dr-select__option-with-desc__wrapper{color:#333}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .dr-select__option-with-desc__wrapper .dr-select__option-with-desc__description{max-width:-moz-fit-content;max-width:fit-content;word-break:break-word;white-space:normal;color:#6d6e6f;font-weight:400;font-size:12px;line-height:20px}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select.ng-option-selected .dr-select__option-with-desc__wrapper .dr-select__option-with-desc__description,::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select.ng-option-selected.ng-option-marked .dr-select__option-with-desc__wrapper .dr-select__option-with-desc__description{color:#6d6e6f}::ng-deep .ng-dropdown-panel--with-search .ng-dropdown-header{border-bottom:none}.custom-backdrop{position:fixed;inset:0;overflow:hidden;pointer-events:none}\n"] }]
|
|
1843
|
+
], template: "<ng-select\n [(ngModel)]=\"selectedItem\"\n [items]=\"items\"\n [bindLabel]=\"bindLabel\"\n [bindValue]=\"bindValue\"\n [multiple]=\"multiple\"\n [addTag]=\"addTag\"\n [appendTo]=\"appendTo\"\n [clearable]=\"clearable\"\n [searchable]=\"searchable\"\n [hideSelected]=\"hideSelected\"\n [placeholder]=\"placeholder\"\n [loading]=\"loading\"\n [loadingText]=\"loadingText\"\n [readonly]=\"readonly\"\n [closeOnSelect]=\"closeOnSelect\"\n [disabled]=\"disabled\"\n [labelForId]=\"id\"\n [maxSelectedItems]=\"maxSelectedItems\"\n [keyDownFn]=\"keyDownFn\"\n [searchFn]=\"searchFn\"\n [isOpen]=\"(type !== 'search-input' || !!selectComponent.searchTerm?.length) && isOpen\"\n [groupBy]=\"groupBy\"\n [attr.autofocus]=\"autofocus\"\n [selectOnTab]=\"selectOnTabKeyPress\"\n [virtualScroll]=\"virtualScroll\"\n [typeahead]=\"typeahead\"\n (search)=\"search.emit($event)\"\n (scrollToEnd)=\"scrollToEnd.emit($event)\"\n (keydown.tab)=\"onTabKeypress($event)\"\n [compareWith]=\"compareWith\"\n (change)=\"onValueSelected(selectedItem)\"\n (open)=\"open.emit($event); onDropdownOpen()\"\n (close)=\"onClose($event)\"\n class=\"dr-select\"\n [class.ng-select--no-value-padding]=\"noValuePadding\"\n [class.ng-select--multiple-height-increased]=\"multipleHeightIncreased\"\n #selectComponent>\n <ng-template *ngIf=\"optionHeaderTemplate\" ng-header-tmp let-item=\"item\">\n <ng-container [ngTemplateOutlet]=\"optionHeaderTemplate\" [ngTemplateOutletContext]=\"{ item: item }\"></ng-container>\n </ng-template>\n <ng-template\n ng-header-tmp\n *ngIf=\"!optionHeaderTemplate && isDisplayingSearchInHeader && items?.length >= minItemsToDisplaySearchInHeader\"\n let-item=\"item\">\n <dr-input\n class=\"dr-select__search\"\n [ngModel]=\"selectComponent.searchTerm\"\n (ngModelChange)=\"selectComponent.itemsList.filter($event + '')\"\n type=\"search\">\n </dr-input>\n </ng-template>\n <ng-template *ngIf=\"labelTemplate\" ng-label-tmp let-item=\"item\">\n <ng-container [ngTemplateOutlet]=\"labelTemplate\" [ngTemplateOutletContext]=\"{ item: item }\"></ng-container>\n </ng-template>\n <ng-template *ngIf=\"multiLabelTemplate\" ng-multi-label-tmp let-items=\"items\" let-clear=\"clear\">\n <ng-container [ngTemplateOutlet]=\"multiLabelTemplate\" [ngTemplateOutletContext]=\"{ items: items, clear: clear }\">\n </ng-container>\n </ng-template>\n <ng-template *ngIf=\"optionTemplate\" ng-option-tmp let-item=\"item\" let-item$=\"item$\">\n <ng-container [ngTemplateOutlet]=\"optionTemplate\" [ngTemplateOutletContext]=\"{ item: item, item$: item$ }\"></ng-container>\n </ng-template>\n <ng-template *ngIf=\"optionWithDescription\" ng-option-tmp let-item=\"item\">\n <div class=\"dr-select__option-with-desc__wrapper\">\n <div>{{ item.name }}</div>\n <div class=\"dr-select__option-with-desc__description\">{{ item?.description }}</div>\n </div>\n </ng-template>\n <ng-template *ngIf=\"optionFooterTemplate\" ng-footer-tmp let-item=\"item\">\n <ng-container\n [ngTemplateOutlet]=\"optionFooterTemplate\"\n [ngTemplateOutletContext]=\"{ item: item, close: selectComponent.close.bind(selectComponent) }\"></ng-container>\n </ng-template>\n <ng-template *ngIf=\"groupBy\" ng-optgroup-tmp let-item=\"item\">\n {{ item[groupBy] }}\n </ng-template>\n <ng-template ng-loadingspinner-tmp>\n <div\n *ngIf=\"loading\"\n class=\"dr-select__loading\"\n [drSpinner]=\"loading\"\n [drSpinnerType]=\"'circle'\"\n [drSpinnerSize]=\"'small'\"\n [drSpinnerNoOverlay]=\"true\"></div>\n </ng-template>\n <ng-template *ngIf=\"notFoundTemplate\" ng-notfound-tmp>\n <ng-container [ngTemplateOutlet]=\"notFoundTemplate\"></ng-container>\n </ng-template>\n</ng-select>\n<i *ngIf=\"type === 'search-input'\" class=\"search-icon dr-icon-search\"></i>\n", styles: [":host{width:100%;height:32px;font-family:Poppins,sans-serif}:host.borderless::ng-deep ng-select.ng-select .ng-select-container{border:none!important;cursor:pointer;gap:4px;background:none!important}:host.borderless::ng-deep ng-select.ng-select .ng-select-container .ng-value-container{flex:none;padding:0;color:#333}:host.borderless::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container,:host.borderless::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:hover,:host.borderless::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within{cursor:default}:host.borderless::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container .ng-value,:host.borderless::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:hover .ng-value,:host.borderless::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within .ng-value{color:#aeabac!important}:host.borderless::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container .ng-input input::placeholder{color:#aeabac}:host.textView::ng-deep{width:auto}:host.textView::ng-deep ng-select.ng-select .ng-select-container{border:none!important;cursor:pointer}:host.textView::ng-deep ng-select.ng-select .ng-select-container .ng-value-container{padding:0;color:#4646ce}:host.textView::ng-deep ng-select.ng-select .ng-select-container .ng-value-container:hover{text-decoration-line:underline}:host.textView::ng-deep ng-select.ng-select .ng-select-container .ng-arrow-wrapper{display:none}:host.textView::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container,:host.textView::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:hover,:host.textView::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within{background:#fff!important;border:none!important;cursor:default}:host.textView::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container .ng-value,:host.textView::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:hover .ng-value,:host.textView::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within .ng-value{color:#aeabac!important}:host.textView::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container .ng-input input::placeholder{color:#aeabac}:host.textView::ng-deep ng-select.ng-select.ng-select-disabled .ng-value-container:hover{text-decoration-line:none}:host.no-left-border-radius ::ng-deep ng-select.ng-select .ng-select-container{border-bottom-left-radius:0!important;border-top-left-radius:0!important}:host.no-right-border-radius ::ng-deep ng-select.ng-select .ng-select-container{border-bottom-right-radius:0!important;border-top-right-radius:0!important}:host.no-right-border ::ng-deep ng-select.ng-select .ng-select-container{border-right:none!important}:host.no-left-border ::ng-deep ng-select.ng-select .ng-select-container{border-left:none!important}:host ::ng-deep ng-select.ng-select .ng-select-container{min-height:32px;height:32px;width:100%;border-radius:6px;border:1px solid #9ea1aa;box-shadow:none!important}:host ::ng-deep ng-select.ng-select .ng-select-container:hover{border-color:#4646ce}:host ::ng-deep ng-select.ng-select .ng-select-container:focus-within{border-color:#4646ce}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-input{font-size:14px;line-height:24px;font-weight:400;top:0!important;padding:0 50px 0 8px!important;color:#333}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-input input::placeholder{font-size:14px;line-height:24px;font-weight:400;color:#6d6e6f}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-value-container{font-size:14px;line-height:24px;font-weight:400;padding:0 0 0 8px;height:100%;overflow:auto}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-value-container .ng-input{padding:0 0 0 3px!important}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-arrow-wrapper{margin-right:7px}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-arrow-wrapper .ng-arrow{border:none;width:auto;height:auto;display:flex;text-decoration-line:none;top:0}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-arrow-wrapper .ng-arrow:before{font-family:DataRails!important;content:var(--dr-icon-arrow-down, \"\\ea18\");font-size:24px;color:#6d6e6f}:host ::ng-deep ng-select.ng-select.ng-select-opened .ng-select-container{border-radius:6px}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container{max-height:58px;height:100%}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container{font-size:14px;line-height:24px;font-weight:400;max-height:58px}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{font-size:12px;line-height:16px;font-weight:400;color:#333;height:24px;padding:2px 16px;margin:2px 4px 2px 0;background:#f0f1f4;display:flex;flex-direction:row-reverse;align-items:center;border-radius:12px}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-label{padding:0!important}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon{border:none!important;padding:0!important;width:20px;display:flex;align-items:center;color:transparent;margin-left:4px}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon:before{font-family:DataRails!important;content:var(--dr-icon-exit, \"\\ea77\");font-size:20px;color:#333}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon,:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon:hover{background:transparent!important}:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container,:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:hover,:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within{background:#f0f1f4!important;border:1px solid #aeabac!important}:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container .ng-value,:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:hover .ng-value,:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within .ng-value{color:#aeabac!important}:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container .ng-arrow{color:#aeabac}:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container .ng-arrow:before{color:#aeabac}:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container .ng-input input::placeholder{color:#aeabac}:host ::ng-deep ng-select.ng-select.ng-select-single.ng-invalid.ng-touched .ng-select-container,:host ::ng-deep ng-select.ng-select.ng-select-multiple.ng-invalid.ng-touched .ng-select-container{border-color:#bf1d30}:host ::ng-deep ng-select.ng-select--multiple-height-increased.ng-select-multiple .ng-select-container{max-height:88px}:host ::ng-deep ng-select.ng-select--multiple-height-increased.ng-select-multiple .ng-select-container .ng-value-container{max-height:88px}:host ::ng-deep ng-select.ng-select--no-value-padding .ng-select-container .ng-value-container .ng-value,:host ::ng-deep ng-select.ng-select--no-value-padding.ng-select-multiple .ng-select-container .ng-value-container .ng-value{padding:0}:host ::ng-deep ng-select.ng-select--no-value-padding .ng-select-container .ng-value-container .ng-value .ng-select-user-label,:host ::ng-deep ng-select.ng-select--no-value-padding.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-select-user-label{height:100%}:host.ng-invalid.ng-touched::ng-deep ng-select.ng-select .ng-select-container{border-color:#bf1d30}:host .dr-select__loading{position:relative;height:32px;width:24px}:host.search-input{position:relative}:host.search-input .search-icon{position:absolute;top:4px;right:16px;color:#6d6e6f;z-index:1001}:host.search-input::ng-deep ng-select.ng-select .ng-select-container{border-radius:16px}:host.search-input::ng-deep ng-select.ng-select .ng-select-container .ng-arrow-wrapper{display:none!important}:host.search-input::ng-deep ng-select.ng-select .ng-select-container .ng-clear-wrapper{display:flex;justify-content:center;align-items:center;right:40px;top:1px;width:24px;height:24px}:host.search-input::ng-deep ng-select.ng-select .ng-select-container .ng-clear-wrapper .ng-clear{font-size:24px;font-weight:300;color:#6d6e6f}:host.search-input::ng-deep ng-select.ng-select .ng-select-container .ng-input,:host.search-input::ng-deep ng-select.ng-select .ng-select-container .ng-value-container{padding:0 0 0 16px!important;width:calc(100% - 63px)}:host.search-input::ng-deep ng-select.ng-select .ng-select-container .ng-input input,:host.search-input::ng-deep ng-select.ng-select .ng-select-container .ng-value-container input{height:100%}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select{font-family:Poppins,sans-serif;border:1px solid #dfe0e3;border-radius:4px!important;margin:8px 0;box-shadow:0 4px 8px 1px #00000040;background-color:#fff;overflow:hidden;padding:8px 0}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select.textView{width:auto!important}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option:empty{display:none}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option{display:flex;align-items:center;min-height:36px;padding:8px 12px;font-size:14px;line-height:22px;background:#fff}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option>.ng-option-label{text-overflow:ellipsis;overflow:hidden}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-marked{background:#f5f5f5}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected,::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked{background:#eaeaff;color:#333}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected span,::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked span{font-weight:400!important}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled{cursor:default}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled>div{color:#aeabac}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled>div.dr-select__option-with-desc__wrapper .dr-select__option-with-desc__description{color:#aeabac}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled[role=group]{font-size:14px;line-height:22px;color:#aeabac;cursor:default}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled[role=group]:not(:first-of-type){border-top:1px solid #dfe0e3}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled[role=group]:hover{background:#fff}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .dr-select__option-with-desc__wrapper{color:#333}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .dr-select__option-with-desc__wrapper .dr-select__option-with-desc__description{max-width:-moz-fit-content;max-width:fit-content;word-break:break-word;white-space:normal;color:#6d6e6f;font-weight:400;font-size:12px;line-height:20px}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select.ng-option-selected .dr-select__option-with-desc__wrapper .dr-select__option-with-desc__description,::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select.ng-option-selected.ng-option-marked .dr-select__option-with-desc__wrapper .dr-select__option-with-desc__description{color:#6d6e6f}::ng-deep .ng-dropdown-panel--with-search .ng-dropdown-header{border-bottom:none}.custom-backdrop{position:fixed;inset:0;overflow:hidden;pointer-events:none}\n"] }]
|
|
1840
1844
|
}], function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, { type: [{
|
|
1841
1845
|
type: Input
|
|
1842
1846
|
}, {
|
|
@@ -1903,6 +1907,8 @@ class DrSelectComponent {
|
|
|
1903
1907
|
type: Input
|
|
1904
1908
|
}], closeOnSelect: [{
|
|
1905
1909
|
type: Input
|
|
1910
|
+
}], borderless: [{
|
|
1911
|
+
type: Input
|
|
1906
1912
|
}], textView: [{
|
|
1907
1913
|
type: Input
|
|
1908
1914
|
}], autofocus: [{
|
|
@@ -1951,6 +1957,9 @@ class DrSelectComponent {
|
|
|
1951
1957
|
}], asTextView: [{
|
|
1952
1958
|
type: HostBinding,
|
|
1953
1959
|
args: ['class.textView']
|
|
1960
|
+
}], asBorderless: [{
|
|
1961
|
+
type: HostBinding,
|
|
1962
|
+
args: ['class.borderless']
|
|
1954
1963
|
}] }); })();
|
|
1955
1964
|
|
|
1956
1965
|
const _c0$_ = ["dynamicInputRef"];
|
|
@@ -19124,6 +19133,7 @@ class CellActionComponent {
|
|
|
19124
19133
|
this.useParentDataForChildren = params.useParentDataForChildren;
|
|
19125
19134
|
this.setPayloadForDropdown(params.menu, params.node.data, params.bindValue, this.useParentDataForChildren);
|
|
19126
19135
|
this.buttonOptions = params.buttonOptions;
|
|
19136
|
+
this.pinRight = params.pinRight;
|
|
19127
19137
|
}
|
|
19128
19138
|
refresh() {
|
|
19129
19139
|
return false;
|
|
@@ -19158,15 +19168,19 @@ class CellActionComponent {
|
|
|
19158
19168
|
});
|
|
19159
19169
|
}
|
|
19160
19170
|
/** @nocollapse */ static { this.ɵfac = function CellActionComponent_Factory(t) { return new (t || CellActionComponent)(); }; }
|
|
19161
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: CellActionComponent, selectors: [["dr-cell-action"]],
|
|
19171
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: CellActionComponent, selectors: [["dr-cell-action"]], hostVars: 2, hostBindings: function CellActionComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
19172
|
+
i0.ɵɵclassProp("dr-cell-action-pin-right", ctx.pinRight);
|
|
19173
|
+
} }, inputs: { menu: "menu", dataAnalytics: "dataAnalytics", bindValue: "bindValue", data: "data", useParentDataForChildren: "useParentDataForChildren", pinRight: "pinRight" }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 1, vars: 1, consts: [["data-analytics", "cell-action_button-0", 3, "theme", "icon", "iconSize", "iconAfter", "iconAfterColor", "iconAfterSize", "isLoading", "drDropdown", "drDropdownPosition", "drDropdownAction", 4, "ngIf"], ["data-analytics", "cell-action_button-0", 3, "theme", "icon", "iconSize", "iconAfter", "iconAfterColor", "iconAfterSize", "isLoading", "drDropdown", "drDropdownPosition", "drDropdownAction"]], template: function CellActionComponent_Template(rf, ctx) { if (rf & 1) {
|
|
19162
19174
|
i0.ɵɵtemplate(0, CellActionComponent_dr_button_0_Template, 2, 11, "dr-button", 0);
|
|
19163
19175
|
} if (rf & 2) {
|
|
19164
19176
|
i0.ɵɵproperty("ngIf", !ctx.isDisabled);
|
|
19165
|
-
} }, dependencies: [CommonModule, i1.NgIf, DrInputsModule, DrButtonComponent, DrDropdownModule, DrDropdownDirective], styles: ["[_nghost-%COMP%]{display:flex;align-items:center;justify-content:center;position:relative;width:100%;height:100%}"], changeDetection: 0 }); }
|
|
19177
|
+
} }, dependencies: [CommonModule, i1.NgIf, DrInputsModule, DrButtonComponent, DrDropdownModule, DrDropdownDirective], styles: ["[_nghost-%COMP%]{display:flex;align-items:center;justify-content:center;position:relative;width:100%;height:100%}.dr-cell-action-pin-right[_nghost-%COMP%]{justify-content:flex-end;padding-right:8px}"], changeDetection: 0 }); }
|
|
19166
19178
|
}
|
|
19167
19179
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CellActionComponent, [{
|
|
19168
19180
|
type: Component,
|
|
19169
|
-
args: [{ selector: 'dr-cell-action', standalone: true, imports: [CommonModule, DrInputsModule, DrDropdownModule], changeDetection: ChangeDetectionStrategy.OnPush,
|
|
19181
|
+
args: [{ selector: 'dr-cell-action', standalone: true, imports: [CommonModule, DrInputsModule, DrDropdownModule], changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
19182
|
+
'[class.dr-cell-action-pin-right]': 'pinRight',
|
|
19183
|
+
}, template: "<dr-button\n data-analytics=\"cell-action_button-0\"\n *ngIf=\"!isDisabled\"\n [attr.data-analytics]=\"dataAnalytics\"\n [theme]=\"buttonOptions?.theme || 'icon'\"\n [icon]=\"buttonOptions?.icon || 'dr-icon-more'\"\n [iconSize]=\"buttonOptions?.iconSize\"\n [iconAfter]=\"buttonOptions?.iconAfter\"\n [iconAfterColor]=\"buttonOptions?.iconAfterColor\"\n [iconAfterSize]=\"buttonOptions?.iconAfterSize\"\n [isLoading]=\"buttonOptions?.isLoading\"\n [drDropdown]=\"menu\"\n [drDropdownPosition]=\"buttonOptions?.dropdownPosition || 'left-top'\"\n (drDropdownAction)=\"onMenuAction($event)\">\n {{ buttonOptions?.content }}\n</dr-button>\n", styles: [":host{display:flex;align-items:center;justify-content:center;position:relative;width:100%;height:100%}:host.dr-cell-action-pin-right{justify-content:flex-end;padding-right:8px}\n"] }]
|
|
19170
19184
|
}], null, { menu: [{
|
|
19171
19185
|
type: Input
|
|
19172
19186
|
}], dataAnalytics: [{
|
|
@@ -19177,6 +19191,8 @@ class CellActionComponent {
|
|
|
19177
19191
|
type: Input
|
|
19178
19192
|
}], useParentDataForChildren: [{
|
|
19179
19193
|
type: Input
|
|
19194
|
+
}], pinRight: [{
|
|
19195
|
+
type: Input
|
|
19180
19196
|
}] }); })();
|
|
19181
19197
|
|
|
19182
19198
|
function CellCheckboxComponent_dr_checkbox_0_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -19686,11 +19702,11 @@ class CellChildrenListComponent {
|
|
|
19686
19702
|
i0.ɵɵtemplate(0, CellChildrenListComponent_div_0_Template, 2, 2, "div", 0);
|
|
19687
19703
|
} if (rf & 2) {
|
|
19688
19704
|
i0.ɵɵproperty("ngIf", ctx.children == null ? null : ctx.children.length);
|
|
19689
|
-
} }, dependencies: [CommonModule, i1.NgIf, DrInputsModule, DrButtonComponent], styles: ["[_nghost-%COMP%]{height:100%;display:flex;align-items:center;justify-content:center}[_nghost-%COMP%] .cell-children-list[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center} .ag-row-level-0 .dr-cell-children-list{padding-left:16px;overflow:visible;z-index:1} .ag-row-level-0 .dr-cell-children-list+.ag-cell{padding-left:16px;border-top:none;border-bottom:none} .ag-row-level-0 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent} .ag-row-level-1 .dr-cell-children-list{padding-left:32px;overflow:visible;z-index:1} .ag-row-level-1 .dr-cell-children-list+.ag-cell{padding-left:32px;border-top:none;border-bottom:none} .ag-row-level-1 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent} .ag-row-level-2 .dr-cell-children-list{padding-left:48px;overflow:visible;z-index:1} .ag-row-level-2 .dr-cell-children-list+.ag-cell{padding-left:48px;border-top:none;border-bottom:none} .ag-row-level-2 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent} .ag-row-level-3 .dr-cell-children-list{padding-left:64px;overflow:visible;z-index:1} .ag-row-level-3 .dr-cell-children-list+.ag-cell{padding-left:64px;border-top:none;border-bottom:none} .ag-row-level-3 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent} .ag-row-level-4 .dr-cell-children-list{padding-left:80px;overflow:visible;z-index:1} .ag-row-level-4 .dr-cell-children-list+.ag-cell{padding-left:80px;border-top:none;border-bottom:none} .ag-row-level-4 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent} .ag-row-level-5 .dr-cell-children-list{padding-left:96px;overflow:visible;z-index:1} .ag-row-level-5 .dr-cell-children-list+.ag-cell{padding-left:96px;border-top:none;border-bottom:none} .ag-row-level-5 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent} .ag-row-level-6 .dr-cell-children-list{padding-left:112px;overflow:visible;z-index:1} .ag-row-level-6 .dr-cell-children-list+.ag-cell{padding-left:112px;border-top:none;border-bottom:none} .ag-row-level-6 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent} .ag-row-level-7 .dr-cell-children-list{padding-left:128px;overflow:visible;z-index:1} .ag-row-level-7 .dr-cell-children-list+.ag-cell{padding-left:128px;border-top:none;border-bottom:none} .ag-row-level-7 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent} .ag-row-level-8 .dr-cell-children-list{padding-left:144px;overflow:visible;z-index:1} .ag-row-level-8 .dr-cell-children-list+.ag-cell{padding-left:144px;border-top:none;border-bottom:none} .ag-row-level-8 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent} .ag-row-level-9 .dr-cell-children-list{padding-left:160px;overflow:visible;z-index:1} .ag-row-level-9 .dr-cell-children-list+.ag-cell{padding-left:160px;border-top:none;border-bottom:none} .ag-row-level-9 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent} .ag-row-level-10 .dr-cell-children-list{padding-left:176px;overflow:visible;z-index:1} .ag-row-level-10 .dr-cell-children-list+.ag-cell{padding-left:176px;border-top:none;border-bottom:none} .ag-row-level-10 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent} .dr-row-child .dr-cell-children-list+.ag-cell .ag-selection-checkbox{border-left:1px solid #9ea1aa} .dr-row-child .dr-cell-children-list+.ag-cell .ag-selection-checkbox:before{content:\"\";position:absolute;width:9px;top:calc(-50% - 2px);height:calc(100% + 4px);left:-1px;display:block;border-left:1px solid #9ea1aa;border-bottom:1px solid #9ea1aa} .dr-row-child-first .dr-cell-children-list+.ag-cell .ag-selection-checkbox:before{top:-1px;height:calc(50% + 2px)} .dr-row-child-last .dr-cell-children-list+.ag-cell .ag-selection-checkbox{border-left-color:transparent} .dr-row-child-last .dr-cell-children-list+.ag-cell .ag-selection-checkbox:before{border-bottom-left-radius:4px} .dr-row-parent-expanded .ag-selection-checkbox{height:100%;position:relative} .dr-row-parent-expanded .ag-selection-checkbox:after{content:\"\";position:absolute;top:calc(50% + 8px);left:calc(50% + 3px);height:calc(50% + 1px);display:block;border-left:1px solid #9ea1aa}"], changeDetection: 0 }); }
|
|
19705
|
+
} }, dependencies: [CommonModule, i1.NgIf, DrInputsModule, DrButtonComponent], styles: ["[_nghost-%COMP%]{height:100%;display:flex;align-items:center;justify-content:center}[_nghost-%COMP%] .cell-children-list[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center} .ag-row-level-0 .dr-cell-children-list{padding-left:16px;overflow:visible;z-index:1} .ag-row-level-0 .dr-cell-children-list+.ag-cell{padding-left:16px;border-top:none;border-bottom:none} .ag-row-level-0 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent} .ag-row-level-1 .dr-cell-children-list{padding-left:32px;overflow:visible;z-index:1} .ag-row-level-1 .dr-cell-children-list+.ag-cell{padding-left:32px;border-top:none;border-bottom:none} .ag-row-level-1 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent} .ag-row-level-2 .dr-cell-children-list{padding-left:48px;overflow:visible;z-index:1} .ag-row-level-2 .dr-cell-children-list+.ag-cell{padding-left:48px;border-top:none;border-bottom:none} .ag-row-level-2 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent} .ag-row-level-3 .dr-cell-children-list{padding-left:64px;overflow:visible;z-index:1} .ag-row-level-3 .dr-cell-children-list+.ag-cell{padding-left:64px;border-top:none;border-bottom:none} .ag-row-level-3 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent} .ag-row-level-4 .dr-cell-children-list{padding-left:80px;overflow:visible;z-index:1} .ag-row-level-4 .dr-cell-children-list+.ag-cell{padding-left:80px;border-top:none;border-bottom:none} .ag-row-level-4 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent} .ag-row-level-5 .dr-cell-children-list{padding-left:96px;overflow:visible;z-index:1} .ag-row-level-5 .dr-cell-children-list+.ag-cell{padding-left:96px;border-top:none;border-bottom:none} .ag-row-level-5 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent} .ag-row-level-6 .dr-cell-children-list{padding-left:112px;overflow:visible;z-index:1} .ag-row-level-6 .dr-cell-children-list+.ag-cell{padding-left:112px;border-top:none;border-bottom:none} .ag-row-level-6 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent} .ag-row-level-7 .dr-cell-children-list{padding-left:128px;overflow:visible;z-index:1} .ag-row-level-7 .dr-cell-children-list+.ag-cell{padding-left:128px;border-top:none;border-bottom:none} .ag-row-level-7 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent} .ag-row-level-8 .dr-cell-children-list{padding-left:144px;overflow:visible;z-index:1} .ag-row-level-8 .dr-cell-children-list+.ag-cell{padding-left:144px;border-top:none;border-bottom:none} .ag-row-level-8 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent} .ag-row-level-9 .dr-cell-children-list{padding-left:160px;overflow:visible;z-index:1} .ag-row-level-9 .dr-cell-children-list+.ag-cell{padding-left:160px;border-top:none;border-bottom:none} .ag-row-level-9 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent} .ag-row-level-10 .dr-cell-children-list{padding-left:176px;overflow:visible;z-index:1} .ag-row-level-10 .dr-cell-children-list+.ag-cell{padding-left:176px;border-top:none;border-bottom:none} .ag-row-level-10 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent} .dr-row-child:not(.dr-row-suppress-connected-lines) .dr-cell-children-list+.ag-cell .ag-selection-checkbox{border-left:1px solid #9ea1aa} .dr-row-child:not(.dr-row-suppress-connected-lines) .dr-cell-children-list+.ag-cell .ag-selection-checkbox:before{content:\"\";position:absolute;width:9px;top:calc(-50% - 2px);height:calc(100% + 4px);left:-1px;display:block;border-left:1px solid #9ea1aa;border-bottom:1px solid #9ea1aa} .dr-row-child-first:not(.dr-row-suppress-connected-lines) .dr-cell-children-list+.ag-cell .ag-selection-checkbox:before{top:-1px;height:calc(50% + 2px)} .dr-row-child-last:not(.dr-row-suppress-connected-lines) .dr-cell-children-list+.ag-cell .ag-selection-checkbox{border-left-color:transparent} .dr-row-child-last:not(.dr-row-suppress-connected-lines) .dr-cell-children-list+.ag-cell .ag-selection-checkbox:before{border-bottom-left-radius:4px} .dr-row-parent-expanded:not(.dr-row-suppress-connected-lines) .ag-selection-checkbox{height:100%;position:relative} .dr-row-parent-expanded:not(.dr-row-suppress-connected-lines) .ag-selection-checkbox:after{content:\"\";position:absolute;top:calc(50% + 8px);left:calc(50% + 3px);height:calc(50% + 1px);display:block;border-left:1px solid #9ea1aa}"], changeDetection: 0 }); }
|
|
19690
19706
|
}
|
|
19691
19707
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CellChildrenListComponent, [{
|
|
19692
19708
|
type: Component,
|
|
19693
|
-
args: [{ selector: 'dr-cell-children-list', standalone: true, imports: [CommonModule, DrInputsModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"cell-children-list\" *ngIf=\"children?.length\">\n <dr-button\n data-analytics=\"tables_cells_cell-children-list_button-0\"\n theme=\"icon\"\n [iconSize]=\"collapseIconSize\"\n [icon]=\"rowNode.drCollapsed ? 'dr-icon-arrow-right' : 'dr-icon-arrow-down'\"\n (click)=\"$event?.stopPropagation(); rowNode.drCollapsed ? this.expand() : this.collapse()\"></dr-button>\n</div>\n", styles: [":host{height:100%;display:flex;align-items:center;justify-content:center}:host .cell-children-list{display:flex;align-items:center;justify-content:center}::ng-deep .ag-row-level-0 .dr-cell-children-list{padding-left:16px;overflow:visible;z-index:1}::ng-deep .ag-row-level-0 .dr-cell-children-list+.ag-cell{padding-left:16px;border-top:none;border-bottom:none}::ng-deep .ag-row-level-0 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent}::ng-deep .ag-row-level-1 .dr-cell-children-list{padding-left:32px;overflow:visible;z-index:1}::ng-deep .ag-row-level-1 .dr-cell-children-list+.ag-cell{padding-left:32px;border-top:none;border-bottom:none}::ng-deep .ag-row-level-1 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent}::ng-deep .ag-row-level-2 .dr-cell-children-list{padding-left:48px;overflow:visible;z-index:1}::ng-deep .ag-row-level-2 .dr-cell-children-list+.ag-cell{padding-left:48px;border-top:none;border-bottom:none}::ng-deep .ag-row-level-2 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent}::ng-deep .ag-row-level-3 .dr-cell-children-list{padding-left:64px;overflow:visible;z-index:1}::ng-deep .ag-row-level-3 .dr-cell-children-list+.ag-cell{padding-left:64px;border-top:none;border-bottom:none}::ng-deep .ag-row-level-3 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent}::ng-deep .ag-row-level-4 .dr-cell-children-list{padding-left:80px;overflow:visible;z-index:1}::ng-deep .ag-row-level-4 .dr-cell-children-list+.ag-cell{padding-left:80px;border-top:none;border-bottom:none}::ng-deep .ag-row-level-4 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent}::ng-deep .ag-row-level-5 .dr-cell-children-list{padding-left:96px;overflow:visible;z-index:1}::ng-deep .ag-row-level-5 .dr-cell-children-list+.ag-cell{padding-left:96px;border-top:none;border-bottom:none}::ng-deep .ag-row-level-5 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent}::ng-deep .ag-row-level-6 .dr-cell-children-list{padding-left:112px;overflow:visible;z-index:1}::ng-deep .ag-row-level-6 .dr-cell-children-list+.ag-cell{padding-left:112px;border-top:none;border-bottom:none}::ng-deep .ag-row-level-6 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent}::ng-deep .ag-row-level-7 .dr-cell-children-list{padding-left:128px;overflow:visible;z-index:1}::ng-deep .ag-row-level-7 .dr-cell-children-list+.ag-cell{padding-left:128px;border-top:none;border-bottom:none}::ng-deep .ag-row-level-7 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent}::ng-deep .ag-row-level-8 .dr-cell-children-list{padding-left:144px;overflow:visible;z-index:1}::ng-deep .ag-row-level-8 .dr-cell-children-list+.ag-cell{padding-left:144px;border-top:none;border-bottom:none}::ng-deep .ag-row-level-8 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent}::ng-deep .ag-row-level-9 .dr-cell-children-list{padding-left:160px;overflow:visible;z-index:1}::ng-deep .ag-row-level-9 .dr-cell-children-list+.ag-cell{padding-left:160px;border-top:none;border-bottom:none}::ng-deep .ag-row-level-9 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent}::ng-deep .ag-row-level-10 .dr-cell-children-list{padding-left:176px;overflow:visible;z-index:1}::ng-deep .ag-row-level-10 .dr-cell-children-list+.ag-cell{padding-left:176px;border-top:none;border-bottom:none}::ng-deep .ag-row-level-10 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent}::ng-deep .dr-row-child .dr-cell-children-list+.ag-cell .ag-selection-checkbox{border-left:1px solid #9ea1aa}::ng-deep .dr-row-child .dr-cell-children-list+.ag-cell .ag-selection-checkbox:before{content:\"\";position:absolute;width:9px;top:calc(-50% - 2px);height:calc(100% + 4px);left:-1px;display:block;border-left:1px solid #9ea1aa;border-bottom:1px solid #9ea1aa}::ng-deep .dr-row-child-first .dr-cell-children-list+.ag-cell .ag-selection-checkbox:before{top:-1px;height:calc(50% + 2px)}::ng-deep .dr-row-child-last .dr-cell-children-list+.ag-cell .ag-selection-checkbox{border-left-color:transparent}::ng-deep .dr-row-child-last .dr-cell-children-list+.ag-cell .ag-selection-checkbox:before{border-bottom-left-radius:4px}::ng-deep .dr-row-parent-expanded .ag-selection-checkbox{height:100%;position:relative}::ng-deep .dr-row-parent-expanded .ag-selection-checkbox:after{content:\"\";position:absolute;top:calc(50% + 8px);left:calc(50% + 3px);height:calc(50% + 1px);display:block;border-left:1px solid #9ea1aa}\n"] }]
|
|
19709
|
+
args: [{ selector: 'dr-cell-children-list', standalone: true, imports: [CommonModule, DrInputsModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"cell-children-list\" *ngIf=\"children?.length\">\n <dr-button\n data-analytics=\"tables_cells_cell-children-list_button-0\"\n theme=\"icon\"\n [iconSize]=\"collapseIconSize\"\n [icon]=\"rowNode.drCollapsed ? 'dr-icon-arrow-right' : 'dr-icon-arrow-down'\"\n (click)=\"$event?.stopPropagation(); rowNode.drCollapsed ? this.expand() : this.collapse()\"></dr-button>\n</div>\n", styles: [":host{height:100%;display:flex;align-items:center;justify-content:center}:host .cell-children-list{display:flex;align-items:center;justify-content:center}::ng-deep .ag-row-level-0 .dr-cell-children-list{padding-left:16px;overflow:visible;z-index:1}::ng-deep .ag-row-level-0 .dr-cell-children-list+.ag-cell{padding-left:16px;border-top:none;border-bottom:none}::ng-deep .ag-row-level-0 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent}::ng-deep .ag-row-level-1 .dr-cell-children-list{padding-left:32px;overflow:visible;z-index:1}::ng-deep .ag-row-level-1 .dr-cell-children-list+.ag-cell{padding-left:32px;border-top:none;border-bottom:none}::ng-deep .ag-row-level-1 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent}::ng-deep .ag-row-level-2 .dr-cell-children-list{padding-left:48px;overflow:visible;z-index:1}::ng-deep .ag-row-level-2 .dr-cell-children-list+.ag-cell{padding-left:48px;border-top:none;border-bottom:none}::ng-deep .ag-row-level-2 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent}::ng-deep .ag-row-level-3 .dr-cell-children-list{padding-left:64px;overflow:visible;z-index:1}::ng-deep .ag-row-level-3 .dr-cell-children-list+.ag-cell{padding-left:64px;border-top:none;border-bottom:none}::ng-deep .ag-row-level-3 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent}::ng-deep .ag-row-level-4 .dr-cell-children-list{padding-left:80px;overflow:visible;z-index:1}::ng-deep .ag-row-level-4 .dr-cell-children-list+.ag-cell{padding-left:80px;border-top:none;border-bottom:none}::ng-deep .ag-row-level-4 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent}::ng-deep .ag-row-level-5 .dr-cell-children-list{padding-left:96px;overflow:visible;z-index:1}::ng-deep .ag-row-level-5 .dr-cell-children-list+.ag-cell{padding-left:96px;border-top:none;border-bottom:none}::ng-deep .ag-row-level-5 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent}::ng-deep .ag-row-level-6 .dr-cell-children-list{padding-left:112px;overflow:visible;z-index:1}::ng-deep .ag-row-level-6 .dr-cell-children-list+.ag-cell{padding-left:112px;border-top:none;border-bottom:none}::ng-deep .ag-row-level-6 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent}::ng-deep .ag-row-level-7 .dr-cell-children-list{padding-left:128px;overflow:visible;z-index:1}::ng-deep .ag-row-level-7 .dr-cell-children-list+.ag-cell{padding-left:128px;border-top:none;border-bottom:none}::ng-deep .ag-row-level-7 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent}::ng-deep .ag-row-level-8 .dr-cell-children-list{padding-left:144px;overflow:visible;z-index:1}::ng-deep .ag-row-level-8 .dr-cell-children-list+.ag-cell{padding-left:144px;border-top:none;border-bottom:none}::ng-deep .ag-row-level-8 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent}::ng-deep .ag-row-level-9 .dr-cell-children-list{padding-left:160px;overflow:visible;z-index:1}::ng-deep .ag-row-level-9 .dr-cell-children-list+.ag-cell{padding-left:160px;border-top:none;border-bottom:none}::ng-deep .ag-row-level-9 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent}::ng-deep .ag-row-level-10 .dr-cell-children-list{padding-left:176px;overflow:visible;z-index:1}::ng-deep .ag-row-level-10 .dr-cell-children-list+.ag-cell{padding-left:176px;border-top:none;border-bottom:none}::ng-deep .ag-row-level-10 .dr-cell-children-list+.ag-cell .ag-selection-checkbox{height:100%!important;position:relative;margin-left:-10px;padding-left:8px;border-left:1px solid transparent}::ng-deep .dr-row-child:not(.dr-row-suppress-connected-lines) .dr-cell-children-list+.ag-cell .ag-selection-checkbox{border-left:1px solid #9ea1aa}::ng-deep .dr-row-child:not(.dr-row-suppress-connected-lines) .dr-cell-children-list+.ag-cell .ag-selection-checkbox:before{content:\"\";position:absolute;width:9px;top:calc(-50% - 2px);height:calc(100% + 4px);left:-1px;display:block;border-left:1px solid #9ea1aa;border-bottom:1px solid #9ea1aa}::ng-deep .dr-row-child-first:not(.dr-row-suppress-connected-lines) .dr-cell-children-list+.ag-cell .ag-selection-checkbox:before{top:-1px;height:calc(50% + 2px)}::ng-deep .dr-row-child-last:not(.dr-row-suppress-connected-lines) .dr-cell-children-list+.ag-cell .ag-selection-checkbox{border-left-color:transparent}::ng-deep .dr-row-child-last:not(.dr-row-suppress-connected-lines) .dr-cell-children-list+.ag-cell .ag-selection-checkbox:before{border-bottom-left-radius:4px}::ng-deep .dr-row-parent-expanded:not(.dr-row-suppress-connected-lines) .ag-selection-checkbox{height:100%;position:relative}::ng-deep .dr-row-parent-expanded:not(.dr-row-suppress-connected-lines) .ag-selection-checkbox:after{content:\"\";position:absolute;top:calc(50% + 8px);left:calc(50% + 3px);height:calc(50% + 1px);display:block;border-left:1px solid #9ea1aa}\n"] }]
|
|
19694
19710
|
}], null, null); })();
|
|
19695
19711
|
|
|
19696
19712
|
function CellCustomTemplateComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -20143,7 +20159,7 @@ function CellSelectComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
20143
20159
|
} if (rf & 2) {
|
|
20144
20160
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
20145
20161
|
i0.ɵɵadvance(1);
|
|
20146
|
-
i0.ɵɵproperty("ngModel", ctx_r0.field[ctx_r0.bindFieldValue])("bindLabel", ctx_r0.selectConfig == null ? null : ctx_r0.selectConfig.bindLabel)("bindValue", ctx_r0.selectConfig == null ? null : ctx_r0.selectConfig.bindValue)("multiple", ctx_r0.selectConfig == null ? null : ctx_r0.selectConfig.multiple)("addTag", ctx_r0.selectConfig == null ? null : ctx_r0.selectConfig.addTag)("clearable", ctx_r0.selectConfig == null ? null : ctx_r0.selectConfig.clearable)("searchable", ctx_r0.selectConfig == null ? null : ctx_r0.selectConfig.searchable)("items", ctx_r0.selectItems);
|
|
20162
|
+
i0.ɵɵproperty("ngModel", ctx_r0.field[ctx_r0.bindFieldValue])("bindLabel", ctx_r0.selectConfig == null ? null : ctx_r0.selectConfig.bindLabel)("bindValue", ctx_r0.selectConfig == null ? null : ctx_r0.selectConfig.bindValue)("multiple", ctx_r0.selectConfig == null ? null : ctx_r0.selectConfig.multiple)("addTag", ctx_r0.selectConfig == null ? null : ctx_r0.selectConfig.addTag)("clearable", ctx_r0.selectConfig == null ? null : ctx_r0.selectConfig.clearable)("searchable", ctx_r0.selectConfig == null ? null : ctx_r0.selectConfig.searchable)("items", ctx_r0.selectItems)("borderless", ctx_r0.selectConfig == null ? null : ctx_r0.selectConfig.borderless);
|
|
20147
20163
|
} }
|
|
20148
20164
|
class CellSelectComponent {
|
|
20149
20165
|
agInit(params) {
|
|
@@ -20162,15 +20178,15 @@ class CellSelectComponent {
|
|
|
20162
20178
|
}
|
|
20163
20179
|
}
|
|
20164
20180
|
/** @nocollapse */ static { this.ɵfac = function CellSelectComponent_Factory(t) { return new (t || CellSelectComponent)(); }; }
|
|
20165
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: CellSelectComponent, selectors: [["dr-cell-select"]], standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 1, vars: 1, consts: [["class", "cell-select", 4, "ngIf"], [1, "cell-select"], ["data-analytics", "cell-select_select-0", "appendTo", "body", 3, "ngModel", "bindLabel", "bindValue", "multiple", "addTag", "clearable", "searchable", "items", "ngModelChange"]], template: function CellSelectComponent_Template(rf, ctx) { if (rf & 1) {
|
|
20166
|
-
i0.ɵɵtemplate(0, CellSelectComponent_div_0_Template, 2,
|
|
20181
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: CellSelectComponent, selectors: [["dr-cell-select"]], standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 1, vars: 1, consts: [["class", "cell-select", 4, "ngIf"], [1, "cell-select"], ["data-analytics", "cell-select_select-0", "appendTo", "body", 3, "ngModel", "bindLabel", "bindValue", "multiple", "addTag", "clearable", "searchable", "items", "borderless", "ngModelChange"]], template: function CellSelectComponent_Template(rf, ctx) { if (rf & 1) {
|
|
20182
|
+
i0.ɵɵtemplate(0, CellSelectComponent_div_0_Template, 2, 9, "div", 0);
|
|
20167
20183
|
} if (rf & 2) {
|
|
20168
20184
|
i0.ɵɵproperty("ngIf", ctx.field && ctx.selectItems);
|
|
20169
20185
|
} }, dependencies: [NgIf, FormsModule, i2.NgControlStatus, i2.NgModel, DrInputsModule, DrSelectComponent], styles: ["[_nghost-%COMP%]{flex-grow:1}"], changeDetection: 0 }); }
|
|
20170
20186
|
}
|
|
20171
20187
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CellSelectComponent, [{
|
|
20172
20188
|
type: Component,
|
|
20173
|
-
args: [{ selector: 'dr-cell-select', standalone: true, imports: [NgIf, FormsModule, DrInputsModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngIf=\"field && selectItems\" class=\"cell-select\">\n <dr-select\n data-analytics=\"cell-select_select-0\"\n [(ngModel)]=\"field[bindFieldValue]\"\n appendTo=\"body\"\n [bindLabel]=\"selectConfig?.bindLabel\"\n [bindValue]=\"selectConfig?.bindValue\"\n [multiple]=\"selectConfig?.multiple\"\n [addTag]=\"selectConfig?.addTag\"\n [clearable]=\"selectConfig?.clearable\"\n [searchable]=\"selectConfig?.searchable\"\n [items]=\"selectItems\"\n (ngModelChange)=\"onChange()\"></dr-select>\n</div>\n", styles: [":host{flex-grow:1}\n"] }]
|
|
20189
|
+
args: [{ selector: 'dr-cell-select', standalone: true, imports: [NgIf, FormsModule, DrInputsModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngIf=\"field && selectItems\" class=\"cell-select\">\n <dr-select\n data-analytics=\"cell-select_select-0\"\n [(ngModel)]=\"field[bindFieldValue]\"\n appendTo=\"body\"\n [bindLabel]=\"selectConfig?.bindLabel\"\n [bindValue]=\"selectConfig?.bindValue\"\n [multiple]=\"selectConfig?.multiple\"\n [addTag]=\"selectConfig?.addTag\"\n [clearable]=\"selectConfig?.clearable\"\n [searchable]=\"selectConfig?.searchable\"\n [items]=\"selectItems\"\n [borderless]=\"selectConfig?.borderless\"\n (ngModelChange)=\"onChange()\"></dr-select>\n</div>\n", styles: [":host{flex-grow:1}\n"] }]
|
|
20174
20190
|
}], null, null); })();
|
|
20175
20191
|
|
|
20176
20192
|
const GRID_THEME_OPTIONS = {
|
|
@@ -21068,9 +21084,11 @@ class TblToggleButtonHeaderComponent {
|
|
|
21068
21084
|
this.bindLabel = tableWidth < params.minTableWidth ? null : (params.bindLabel ?? null);
|
|
21069
21085
|
this.bindValue = params.bindValue || null;
|
|
21070
21086
|
this.bindHidden = params.bindHidden || null;
|
|
21087
|
+
this.pinRight = params.pinRight || false;
|
|
21071
21088
|
this.mode = tableWidth < params.minTableWidth ? ToggleButtonMode.ICON_ONLY : params.mode || ToggleButtonMode.DEFAULT;
|
|
21072
21089
|
this.selectedValue = params.selectedValue || null;
|
|
21073
21090
|
this.selectedValue$ = params.selectedValue$ || null;
|
|
21091
|
+
params.api.addEventListener('gridSizeChanged', this.onGridSizeChanged.bind(this));
|
|
21074
21092
|
}
|
|
21075
21093
|
refresh() {
|
|
21076
21094
|
return false;
|
|
@@ -21078,19 +21096,35 @@ class TblToggleButtonHeaderComponent {
|
|
|
21078
21096
|
onSelectionChanged(selectedValue) {
|
|
21079
21097
|
this.params.onSelectionChanged(selectedValue);
|
|
21080
21098
|
}
|
|
21099
|
+
onGridSizeChanged() {
|
|
21100
|
+
const tableWidth = this.params?.api?.gridBodyCtrl?.eGridBody?.clientWidth;
|
|
21101
|
+
const isCompact = tableWidth < this.params.minTableWidth;
|
|
21102
|
+
const newBindLabel = isCompact ? null : (this.params.bindLabel ?? null);
|
|
21103
|
+
const newMode = isCompact ? ToggleButtonMode.ICON_ONLY : this.params.mode || ToggleButtonMode.DEFAULT;
|
|
21104
|
+
if (newBindLabel === this.bindLabel && newMode === this.mode) {
|
|
21105
|
+
return;
|
|
21106
|
+
}
|
|
21107
|
+
this.bindLabel = newBindLabel;
|
|
21108
|
+
this.mode = newMode;
|
|
21109
|
+
this.params.api.refreshCells();
|
|
21110
|
+
}
|
|
21081
21111
|
/** @nocollapse */ static { this.ɵfac = function TblToggleButtonHeaderComponent_Factory(t) { return new (t || TblToggleButtonHeaderComponent)(); }; }
|
|
21082
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: TblToggleButtonHeaderComponent, selectors: [["dr-tbl-toggle-button-header"]],
|
|
21112
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: TblToggleButtonHeaderComponent, selectors: [["dr-tbl-toggle-button-header"]], hostVars: 2, hostBindings: function TblToggleButtonHeaderComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
21113
|
+
i0.ɵɵclassProp("dr-tbl-toggle-button-header-pin-right", ctx.pinRight);
|
|
21114
|
+
} }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 2, vars: 7, consts: [["data-analytics", "tables_dr-grid_tbl-toggle-button-header_toggle-button-0", 3, "ngModel", "items", "bindValue", "bindLabel", "mode", "ngModelChange"]], template: function TblToggleButtonHeaderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
21083
21115
|
i0.ɵɵelementStart(0, "dr-toggle-button", 0);
|
|
21084
21116
|
i0.ɵɵlistener("ngModelChange", function TblToggleButtonHeaderComponent_Template_dr_toggle_button_ngModelChange_0_listener($event) { return ctx.onSelectionChanged($event); });
|
|
21085
21117
|
i0.ɵɵpipe(1, "async");
|
|
21086
21118
|
i0.ɵɵelementEnd();
|
|
21087
21119
|
} if (rf & 2) {
|
|
21088
21120
|
i0.ɵɵproperty("ngModel", i0.ɵɵpipeBind1(1, 5, ctx.selectedValue$) || ctx.selectedValue)("items", ctx.items)("bindValue", ctx.bindValue)("bindLabel", ctx.bindLabel)("mode", ctx.mode);
|
|
21089
|
-
} }, dependencies: [DrInputsModule, DrToggleButtonComponent, FormsModule, i2.NgControlStatus, i2.NgModel, AsyncPipe], styles: ["[_nghost-%COMP%]{position:absolute;top:0;right:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center} .ag-header-cell:has(dr-tbl-toggle-button-header){overflow:visible}"] }); }
|
|
21121
|
+
} }, dependencies: [DrInputsModule, DrToggleButtonComponent, FormsModule, i2.NgControlStatus, i2.NgModel, AsyncPipe], styles: ["[_nghost-%COMP%]{position:absolute;top:0;right:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center}.dr-tbl-toggle-button-header-pin-right[_nghost-%COMP%]{justify-content:flex-end;padding-right:16px}[_nghost-%COMP%] .toggle-container__item__content{gap:4px;padding:4px 8px!important}[_nghost-%COMP%] .toggle-container__item__content__icon{margin-right:0!important} .ag-header-cell:has(dr-tbl-toggle-button-header){overflow:visible}"] }); }
|
|
21090
21122
|
}
|
|
21091
21123
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TblToggleButtonHeaderComponent, [{
|
|
21092
21124
|
type: Component,
|
|
21093
|
-
args: [{ selector: 'dr-tbl-toggle-button-header', standalone: true, imports: [DrInputsModule, FormsModule, AsyncPipe],
|
|
21125
|
+
args: [{ selector: 'dr-tbl-toggle-button-header', standalone: true, imports: [DrInputsModule, FormsModule, AsyncPipe], host: {
|
|
21126
|
+
'[class.dr-tbl-toggle-button-header-pin-right]': 'pinRight',
|
|
21127
|
+
}, template: "<dr-toggle-button\n data-analytics=\"tables_dr-grid_tbl-toggle-button-header_toggle-button-0\"\n [ngModel]=\"(selectedValue$ | async) || selectedValue\"\n (ngModelChange)=\"onSelectionChanged($event)\"\n [items]=\"items\"\n [bindValue]=\"bindValue\"\n [bindLabel]=\"bindLabel\"\n [mode]=\"mode\">\n</dr-toggle-button>\n", styles: [":host{position:absolute;top:0;right:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center}:host.dr-tbl-toggle-button-header-pin-right{justify-content:flex-end;padding-right:16px}:host ::ng-deep .toggle-container__item__content{gap:4px;padding:4px 8px!important}:host ::ng-deep .toggle-container__item__content__icon{margin-right:0!important}::ng-deep .ag-header-cell:has(dr-tbl-toggle-button-header){overflow:visible}\n"] }]
|
|
21094
21128
|
}], null, null); })();
|
|
21095
21129
|
|
|
21096
21130
|
class DrDividerComponent {
|