@datarailsshared/datarailsshared 1.6.75 → 1.6.79

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.
@@ -1103,7 +1103,7 @@ function DrInputComponent_button_7_Template(rf, ctx) { if (rf & 1) {
1103
1103
  i0.ɵɵtextInterpolate1(" ", ctx_r5._buttonOptions.text, "\n");
1104
1104
  } }
1105
1105
  const _c3$7 = [[["", "prefixIcon", ""]], [["", "suffixIcon", ""]]];
1106
- const _c4$5 = ["[prefixIcon]", "[suffixIcon]"];
1106
+ const _c4$4 = ["[prefixIcon]", "[suffixIcon]"];
1107
1107
  class DrInputComponent {
1108
1108
  set disabled(value) {
1109
1109
  this.setDisabledState(value);
@@ -1286,7 +1286,7 @@ class DrInputComponent {
1286
1286
  useExisting: forwardRef((() => DrInputComponent)),
1287
1287
  multi: true,
1288
1288
  },
1289
- ])], ngContentSelectors: _c4$5, decls: 8, vars: 5, consts: [[4, "ngIf", "ngIfElse"], ["maskedInput", ""], ["class", "clear-icon", 3, "click", 4, "ngIf"], ["class", "search-icon", 3, "click", 4, "ngIf"], [3, "click", 4, "ngIf"], [3, "ngModel", "disabled", "readonly", "type", "placeholder", "name", "min", "max", "minlength", "maxlength", "step", "ngModelChange", "ngModelDebounceChange", "blur", "focus"], ["inputRef", ""], [3, "ngModel", "disabled", "readonly", "type", "placeholder", "name", "min", "max", "minlength", "maxlength", "mask", "suffix", "prefix", "step", "ngModelChange", "ngModelDebounceChange", "blur", "focus"], [1, "clear-icon", 3, "click"], [1, "search-icon", 3, "click"], [3, "click"]], template: function DrInputComponent_Template(rf, ctx) { if (rf & 1) {
1289
+ ])], ngContentSelectors: _c4$4, decls: 8, vars: 5, consts: [[4, "ngIf", "ngIfElse"], ["maskedInput", ""], ["class", "clear-icon", 3, "click", 4, "ngIf"], ["class", "search-icon", 3, "click", 4, "ngIf"], [3, "click", 4, "ngIf"], [3, "ngModel", "disabled", "readonly", "type", "placeholder", "name", "min", "max", "minlength", "maxlength", "step", "ngModelChange", "ngModelDebounceChange", "blur", "focus"], ["inputRef", ""], [3, "ngModel", "disabled", "readonly", "type", "placeholder", "name", "min", "max", "minlength", "maxlength", "mask", "suffix", "prefix", "step", "ngModelChange", "ngModelDebounceChange", "blur", "focus"], [1, "clear-icon", 3, "click"], [1, "search-icon", 3, "click"], [3, "click"]], template: function DrInputComponent_Template(rf, ctx) { if (rf & 1) {
1290
1290
  i0.ɵɵprojectionDef(_c3$7);
1291
1291
  i0.ɵɵprojection(0);
1292
1292
  i0.ɵɵtemplate(1, DrInputComponent_ng_container_1_Template, 3, 11, "ng-container", 0);
@@ -1387,14 +1387,14 @@ const _c0$F = ["labelTemplate"];
1387
1387
  const _c1$i = ["multiLabelTemplate"];
1388
1388
  const _c2$8 = ["optionTemplate"];
1389
1389
  const _c3$6 = ["optionHeaderTemplate"];
1390
- const _c4$4 = ["optionFooterTemplate"];
1391
- const _c5 = function (a0) { return { item: a0 }; };
1390
+ const _c4$3 = ["optionFooterTemplate"];
1391
+ const _c5$1 = function (a0) { return { item: a0 }; };
1392
1392
  function DrSelectComponent_2_ng_template_0_Template(rf, ctx) { if (rf & 1) {
1393
1393
  i0.ɵɵelementContainer(0, 6);
1394
1394
  } if (rf & 2) {
1395
1395
  const item_r12 = ctx.item;
1396
1396
  const ctx_r11 = i0.ɵɵnextContext(2);
1397
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r11.optionHeaderTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c5, item_r12));
1397
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r11.optionHeaderTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c5$1, item_r12));
1398
1398
  } }
1399
1399
  function DrSelectComponent_2_Template(rf, ctx) { if (rf & 1) {
1400
1400
  i0.ɵɵtemplate(0, DrSelectComponent_2_ng_template_0_Template, 1, 4, "ng-template", 5);
@@ -1417,7 +1417,7 @@ function DrSelectComponent_4_ng_template_0_Template(rf, ctx) { if (rf & 1) {
1417
1417
  } if (rf & 2) {
1418
1418
  const item_r18 = ctx.item;
1419
1419
  const ctx_r17 = i0.ɵɵnextContext(2);
1420
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r17.labelTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c5, item_r18));
1420
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r17.labelTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c5$1, item_r18));
1421
1421
  } }
1422
1422
  function DrSelectComponent_4_Template(rf, ctx) { if (rf & 1) {
1423
1423
  i0.ɵɵtemplate(0, DrSelectComponent_4_ng_template_0_Template, 1, 4, "ng-template", 8);
@@ -1624,7 +1624,7 @@ class DrSelectComponent {
1624
1624
  i0.ɵɵcontentQuery(dirIndex, _c1$i, 5);
1625
1625
  i0.ɵɵcontentQuery(dirIndex, _c2$8, 5);
1626
1626
  i0.ɵɵcontentQuery(dirIndex, _c3$6, 5);
1627
- i0.ɵɵcontentQuery(dirIndex, _c4$4, 5);
1627
+ i0.ɵɵcontentQuery(dirIndex, _c4$3, 5);
1628
1628
  } if (rf & 2) {
1629
1629
  let _t;
1630
1630
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.labelTemplate = _t.first);
@@ -5842,6 +5842,7 @@ class ChatMessage {
5842
5842
  this.user = obj?.user;
5843
5843
  this.files = obj?.files;
5844
5844
  this.suggestions = obj?.suggestions;
5845
+ this.cards = obj?.cards;
5845
5846
  }
5846
5847
  }
5847
5848
 
@@ -6829,8 +6830,9 @@ class DrChatSuggestionsComponent {
6829
6830
  }] }); })();
6830
6831
 
6831
6832
  const _c0$p = ["drChatHeader"];
6832
- const _c1$b = ["drChatContent"];
6833
- const _c2$5 = ["messagesContainer"];
6833
+ const _c1$b = ["drChatLoader"];
6834
+ const _c2$5 = ["drChatContent"];
6835
+ const _c3$4 = ["messagesContainer"];
6834
6836
  function DrChatComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
6835
6837
  i0.ɵɵelementContainer(0, 8);
6836
6838
  } if (rf & 2) {
@@ -6852,10 +6854,17 @@ function DrChatComponent_div_6_ng_container_4_Template(rf, ctx) { if (rf & 1) {
6852
6854
  const ctx_r5 = i0.ɵɵnextContext(2);
6853
6855
  i0.ɵɵproperty("ngTemplateOutlet", ctx_r5.chatContent);
6854
6856
  } }
6857
+ function DrChatComponent_div_6_ng_container_5_Template(rf, ctx) { if (rf & 1) {
6858
+ i0.ɵɵelementContainer(0, 8);
6859
+ } if (rf & 2) {
6860
+ const ctx_r6 = i0.ɵɵnextContext(2);
6861
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r6.chatLoader);
6862
+ } }
6855
6863
  function DrChatComponent_div_6_Template(rf, ctx) { if (rf & 1) {
6856
6864
  i0.ɵɵelementStart(0, "div", 11)(1, "div", 12, 13);
6857
6865
  i0.ɵɵprojection(3, 3);
6858
6866
  i0.ɵɵtemplate(4, DrChatComponent_div_6_ng_container_4_Template, 1, 1, "ng-container", 2);
6867
+ i0.ɵɵtemplate(5, DrChatComponent_div_6_ng_container_5_Template, 1, 1, "ng-container", 2);
6859
6868
  i0.ɵɵelementEnd()();
6860
6869
  } if (rf & 2) {
6861
6870
  const ctx_r2 = i0.ɵɵnextContext();
@@ -6863,19 +6872,21 @@ function DrChatComponent_div_6_Template(rf, ctx) { if (rf & 1) {
6863
6872
  i0.ɵɵclassProp("chat__messages__container--scroll", ctx_r2.messagesContainerWithScroll);
6864
6873
  i0.ɵɵadvance(3);
6865
6874
  i0.ɵɵproperty("ngIf", ctx_r2.chatContent);
6875
+ i0.ɵɵadvance(1);
6876
+ i0.ɵɵproperty("ngIf", ctx_r2.chatLoader);
6866
6877
  } }
6867
6878
  function DrChatComponent_dr_chat_suggestions_7_Template(rf, ctx) { if (rf & 1) {
6868
- const _r7 = i0.ɵɵgetCurrentView();
6879
+ const _r8 = i0.ɵɵgetCurrentView();
6869
6880
  i0.ɵɵelementStart(0, "dr-chat-suggestions", 14);
6870
- i0.ɵɵlistener("suggestionSelect", function DrChatComponent_dr_chat_suggestions_7_Template_dr_chat_suggestions_suggestionSelect_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r6 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r6.suggestionSelect.emit($event)); });
6881
+ i0.ɵɵlistener("suggestionSelect", function DrChatComponent_dr_chat_suggestions_7_Template_dr_chat_suggestions_suggestionSelect_0_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r7 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r7.suggestionSelect.emit($event)); });
6871
6882
  i0.ɵɵelementEnd();
6872
6883
  } if (rf & 2) {
6873
6884
  const ctx_r3 = i0.ɵɵnextContext();
6874
6885
  i0.ɵɵclassProp("chat__suggestions--full-height", ctx_r3.fullScreen && !(ctx_r3.messages == null ? null : ctx_r3.messages.length));
6875
6886
  i0.ɵɵproperty("values", ctx_r3.suggestions)("fullScreen", ctx_r3.fullScreen)("waitForReply", ctx_r3.waitForReply)("buttonMode", !!(ctx_r3.messages == null ? null : ctx_r3.messages.length));
6876
6887
  } }
6877
- const _c3$4 = [[["dr-chat-alert"]], [["dr-chat-form"]], [["dr-ai-search-input"]], [["dr-chat-message"]]];
6878
- const _c4$3 = ["dr-chat-alert", "dr-chat-form", "dr-ai-search-input", "dr-chat-message"];
6888
+ const _c4$2 = [[["dr-chat-alert"]], [["dr-chat-form"]], [["dr-ai-search-input"]], [["dr-chat-message"]]];
6889
+ const _c5 = ["dr-chat-alert", "dr-chat-form", "dr-ai-search-input", "dr-chat-message"];
6879
6890
  class DrChatComponent {
6880
6891
  set contentUpdateSubject(value) {
6881
6892
  if (value) {
@@ -6957,29 +6968,31 @@ class DrChatComponent {
6957
6968
  i0.ɵɵcontentQuery(dirIndex, DrChatFormComponent, 5);
6958
6969
  i0.ɵɵcontentQuery(dirIndex, _c0$p, 5);
6959
6970
  i0.ɵɵcontentQuery(dirIndex, _c1$b, 5);
6971
+ i0.ɵɵcontentQuery(dirIndex, _c2$5, 5);
6960
6972
  i0.ɵɵcontentQuery(dirIndex, DrChatMessageComponent, 4);
6961
6973
  } if (rf & 2) {
6962
6974
  let _t;
6963
6975
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.chatForm = _t.first);
6964
6976
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.chatHeader = _t.first);
6977
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.chatLoader = _t.first);
6965
6978
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.chatContent = _t.first);
6966
6979
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.messages = _t);
6967
6980
  } }, viewQuery: function DrChatComponent_Query(rf, ctx) { if (rf & 1) {
6968
- i0.ɵɵviewQuery(_c2$5, 5);
6981
+ i0.ɵɵviewQuery(_c3$4, 5);
6969
6982
  i0.ɵɵviewQuery(DrChatSuggestionsComponent, 5);
6970
6983
  } if (rf & 2) {
6971
6984
  let _t;
6972
6985
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.messagesContainer = _t.first);
6973
6986
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._chatSuggestions = _t.first);
6974
- } }, inputs: { fullScreen: "fullScreen", noMessagesPlaceholder: "noMessagesPlaceholder", contentUpdateSubject: "contentUpdateSubject", scrollBottom: "scrollBottom", suggestions: "suggestions", reopen: "reopen", waitForReply: "waitForReply", scrollDelay: "scrollDelay" }, outputs: { suggestionSelect: "suggestionSelect" }, features: [i0.ɵɵProvidersFeature([DrChatCustomMessageService])], ngContentSelectors: _c4$3, decls: 11, vars: 6, consts: [[1, "chat"], [1, "chat__sticky-top"], [3, "ngTemplateOutlet", 4, "ngIf"], [1, "chat__alert"], ["class", "chat__empty-state", 4, "ngIf"], ["class", "chat__messages", 4, "ngIf"], ["class", "chat__suggestions", 3, "values", "fullScreen", "waitForReply", "chat__suggestions--full-height", "buttonMode", "suggestionSelect", 4, "ngIf"], [1, "form"], [3, "ngTemplateOutlet"], [1, "chat__empty-state"], [1, "chat__empty-state__text"], [1, "chat__messages"], [1, "chat__messages__container"], ["messagesContainer", ""], [1, "chat__suggestions", 3, "values", "fullScreen", "waitForReply", "buttonMode", "suggestionSelect"]], template: function DrChatComponent_Template(rf, ctx) { if (rf & 1) {
6975
- i0.ɵɵprojectionDef(_c3$4);
6987
+ } }, inputs: { fullScreen: "fullScreen", noMessagesPlaceholder: "noMessagesPlaceholder", contentUpdateSubject: "contentUpdateSubject", scrollBottom: "scrollBottom", suggestions: "suggestions", reopen: "reopen", waitForReply: "waitForReply", scrollDelay: "scrollDelay" }, outputs: { suggestionSelect: "suggestionSelect" }, features: [i0.ɵɵProvidersFeature([DrChatCustomMessageService])], ngContentSelectors: _c5, decls: 11, vars: 6, consts: [[1, "chat"], [1, "chat__sticky-top"], [3, "ngTemplateOutlet", 4, "ngIf"], [1, "chat__alert"], ["class", "chat__empty-state", 4, "ngIf"], ["class", "chat__messages", 4, "ngIf"], ["class", "chat__suggestions", 3, "values", "fullScreen", "waitForReply", "chat__suggestions--full-height", "buttonMode", "suggestionSelect", 4, "ngIf"], [1, "form"], [3, "ngTemplateOutlet"], [1, "chat__empty-state"], [1, "chat__empty-state__text"], [1, "chat__messages"], [1, "chat__messages__container"], ["messagesContainer", ""], [1, "chat__suggestions", 3, "values", "fullScreen", "waitForReply", "buttonMode", "suggestionSelect"]], template: function DrChatComponent_Template(rf, ctx) { if (rf & 1) {
6988
+ i0.ɵɵprojectionDef(_c4$2);
6976
6989
  i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
6977
6990
  i0.ɵɵtemplate(2, DrChatComponent_ng_container_2_Template, 1, 1, "ng-container", 2);
6978
6991
  i0.ɵɵelementStart(3, "div", 3);
6979
6992
  i0.ɵɵprojection(4);
6980
6993
  i0.ɵɵelementEnd()();
6981
6994
  i0.ɵɵtemplate(5, DrChatComponent_div_5_Template, 3, 1, "div", 4);
6982
- i0.ɵɵtemplate(6, DrChatComponent_div_6_Template, 5, 3, "div", 5);
6995
+ i0.ɵɵtemplate(6, DrChatComponent_div_6_Template, 6, 4, "div", 5);
6983
6996
  i0.ɵɵtemplate(7, DrChatComponent_dr_chat_suggestions_7_Template, 1, 6, "dr-chat-suggestions", 6);
6984
6997
  i0.ɵɵelementStart(8, "div", 7);
6985
6998
  i0.ɵɵprojection(9, 1);
@@ -6999,7 +7012,7 @@ class DrChatComponent {
6999
7012
  }
7000
7013
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrChatComponent, [{
7001
7014
  type: Component,
7002
- args: [{ selector: 'dr-chat', providers: [DrChatCustomMessageService], template: "<div class=\"chat\" [class.chat--in-full-screen]=\"fullScreen\">\n <div class=\"chat__sticky-top\">\n <ng-container *ngIf=\"chatHeader\" [ngTemplateOutlet]=\"chatHeader\"></ng-container>\n\n <div class=\"chat__alert\">\n <ng-content select=\"dr-chat-alert\"></ng-content>\n </div>\n </div>\n\n <div *ngIf=\"!messages?.length\" class=\"chat__empty-state\">\n <span class=\"chat__empty-state__text\">{{ noMessagesPlaceholder }}</span>\n </div>\n\n <div *ngIf=\"messages?.length\" class=\"chat__messages\">\n <div\n #messagesContainer\n class=\"chat__messages__container\"\n [class.chat__messages__container--scroll]=\"messagesContainerWithScroll\">\n <ng-content select=\"dr-chat-message\"></ng-content>\n <ng-container *ngIf=\"chatContent\" [ngTemplateOutlet]=\"chatContent\"></ng-container>\n </div>\n </div>\n\n <dr-chat-suggestions\n *ngIf=\"suggestions?.length\"\n [values]=\"suggestions\"\n [fullScreen]=\"fullScreen\"\n [waitForReply]=\"waitForReply\"\n class=\"chat__suggestions\"\n [class.chat__suggestions--full-height]=\"fullScreen && !messages?.length\"\n [buttonMode]=\"!!messages?.length\"\n (suggestionSelect)=\"suggestionSelect.emit($event)\">\n </dr-chat-suggestions>\n\n <div class=\"form\">\n <ng-content select=\"dr-chat-form\"></ng-content>\n <ng-content select=\"dr-ai-search-input\"></ng-content>\n </div>\n</div>\n", styles: [":host{height:100%;width:100%;display:flex;flex-direction:column}.chat{position:relative;display:flex;flex-grow:1;flex-direction:column;height:100%;background-color:#fff;color:#4e566c;font-family:Poppins,sans-serif;font-size:14px;font-weight:400;line-height:22px;box-shadow:0 2px 36px #00000026}.chat__sticky-top{display:flex;flex-direction:column;box-shadow:0 1px 3px #0003;z-index:1}.chat__empty-state{display:flex;justify-content:center}.chat__empty-state__text{padding:44px 0;font-family:Poppins,sans-serif;font-size:18px;font-weight:400;line-height:28px;text-align:center;max-width:440px;color:#4646ce}.chat__messages{display:flex;flex-grow:1;overflow-x:hidden;overflow-y:auto;height:100%;width:100%}.chat__messages__container{overflow-y:auto;overflow-x:hidden;display:flex;flex-shrink:0;flex-direction:column;width:100%;padding-bottom:1px}.chat__messages__container--scroll::ng-deep dr-chat-message{padding-right:8px}.chat__suggestions{flex:1}.chat__suggestions ::ng-deep .chat-suggestions__container{padding:0}.chat__suggestions--full-height{flex-grow:1;height:1px;overflow:auto}.chat--in-full-screen .chat__header{padding-left:32px;padding-right:32px}.chat--in-full-screen .chat__empty-state__text{padding:77px 0;font-size:28px;line-height:46px;max-width:570px}.chat--in-full-screen .chat__messages::ng-deep dr-chat-message{justify-content:center}.chat--in-full-screen .chat__messages::ng-deep .message{max-width:912px}.chat--in-full-screen .chat__suggestions::ng-deep .chat-suggestions__items{padding-left:0;padding-right:0}.chat--in-full-screen .chat__suggestions::ng-deep .chat-suggestions__items__item{font-size:16px}\n"] }]
7015
+ args: [{ selector: 'dr-chat', providers: [DrChatCustomMessageService], template: "<div class=\"chat\" [class.chat--in-full-screen]=\"fullScreen\">\n <div class=\"chat__sticky-top\">\n <ng-container *ngIf=\"chatHeader\" [ngTemplateOutlet]=\"chatHeader\"></ng-container>\n\n <div class=\"chat__alert\">\n <ng-content select=\"dr-chat-alert\"></ng-content>\n </div>\n </div>\n\n <div *ngIf=\"!messages?.length\" class=\"chat__empty-state\">\n <span class=\"chat__empty-state__text\">{{ noMessagesPlaceholder }}</span>\n </div>\n\n <div *ngIf=\"messages?.length\" class=\"chat__messages\">\n <div\n #messagesContainer\n class=\"chat__messages__container\"\n [class.chat__messages__container--scroll]=\"messagesContainerWithScroll\">\n <ng-content select=\"dr-chat-message\"></ng-content>\n <ng-container *ngIf=\"chatContent\" [ngTemplateOutlet]=\"chatContent\"></ng-container>\n <ng-container *ngIf=\"chatLoader\" [ngTemplateOutlet]=\"chatLoader\"></ng-container>\n </div>\n </div>\n\n <dr-chat-suggestions\n *ngIf=\"suggestions?.length\"\n [values]=\"suggestions\"\n [fullScreen]=\"fullScreen\"\n [waitForReply]=\"waitForReply\"\n class=\"chat__suggestions\"\n [class.chat__suggestions--full-height]=\"fullScreen && !messages?.length\"\n [buttonMode]=\"!!messages?.length\"\n (suggestionSelect)=\"suggestionSelect.emit($event)\">\n </dr-chat-suggestions>\n\n <div class=\"form\">\n <ng-content select=\"dr-chat-form\"></ng-content>\n <ng-content select=\"dr-ai-search-input\"></ng-content>\n </div>\n</div>\n", styles: [":host{height:100%;width:100%;display:flex;flex-direction:column}.chat{position:relative;display:flex;flex-grow:1;flex-direction:column;height:100%;background-color:#fff;color:#4e566c;font-family:Poppins,sans-serif;font-size:14px;font-weight:400;line-height:22px;box-shadow:0 2px 36px #00000026}.chat__sticky-top{display:flex;flex-direction:column;box-shadow:0 1px 3px #0003;z-index:1}.chat__empty-state{display:flex;justify-content:center}.chat__empty-state__text{padding:44px 0;font-family:Poppins,sans-serif;font-size:18px;font-weight:400;line-height:28px;text-align:center;max-width:440px;color:#4646ce}.chat__messages{display:flex;flex-grow:1;overflow-x:hidden;overflow-y:auto;height:100%;width:100%}.chat__messages__container{overflow-y:auto;overflow-x:hidden;display:flex;flex-shrink:0;flex-direction:column;width:100%;padding-bottom:1px}.chat__messages__container--scroll::ng-deep dr-chat-message{padding-right:8px}.chat__suggestions{flex:1}.chat__suggestions ::ng-deep .chat-suggestions__container{padding:0}.chat__suggestions--full-height{flex-grow:1;height:1px;overflow:auto}.chat--in-full-screen .chat__header{padding-left:32px;padding-right:32px}.chat--in-full-screen .chat__empty-state__text{padding:77px 0;font-size:28px;line-height:46px;max-width:570px}.chat--in-full-screen .chat__messages::ng-deep dr-chat-message{justify-content:center}.chat--in-full-screen .chat__messages::ng-deep .message{max-width:912px}.chat--in-full-screen .chat__suggestions::ng-deep .chat-suggestions__items{padding-left:0;padding-right:0}.chat--in-full-screen .chat__suggestions::ng-deep .chat-suggestions__items__item{font-size:16px}\n"] }]
7003
7016
  }], function () { return [{ type: i0.ChangeDetectorRef }]; }, { fullScreen: [{
7004
7017
  type: Input
7005
7018
  }], noMessagesPlaceholder: [{
@@ -7028,6 +7041,9 @@ class DrChatComponent {
7028
7041
  }], chatHeader: [{
7029
7042
  type: ContentChild,
7030
7043
  args: ['drChatHeader']
7044
+ }], chatLoader: [{
7045
+ type: ContentChild,
7046
+ args: ['drChatLoader']
7031
7047
  }], chatContent: [{
7032
7048
  type: ContentChild,
7033
7049
  args: ['drChatContent']
@@ -7067,7 +7083,7 @@ function DrChatFormDropdownComponent_dr_dot_flashing_15_Template(rf, ctx) { if (
7067
7083
  } }
7068
7084
  const _c2$4 = function (a0) { return { "message-row_loading": a0 }; };
7069
7085
  const _c3$3 = function (a0, a1) { return { "message-row__input--focused": a0, "message-row__input--filled": a1 }; };
7070
- const _c4$2 = ["*"];
7086
+ const _c4$1 = ["*"];
7071
7087
  class DrChatFormDropdownComponent {
7072
7088
  constructor(cdr, domSanitizer) {
7073
7089
  this.cdr = cdr;
@@ -7235,7 +7251,7 @@ class DrChatFormDropdownComponent {
7235
7251
  i0.ɵɵlistener("drop", function DrChatFormDropdownComponent_drop_HostBindingHandler($event) { return ctx.onDrop($event); })("dragover", function DrChatFormDropdownComponent_dragover_HostBindingHandler($event) { return ctx.onDragOver($event); })("dragleave", function DrChatFormDropdownComponent_dragleave_HostBindingHandler($event) { return ctx.onDragLeave($event); });
7236
7252
  } if (rf & 2) {
7237
7253
  i0.ɵɵclassProp("file-over", ctx.fileOver);
7238
- } }, inputs: { isUploadingFiles: "isUploadingFiles", message: "message", messagePlaceholder: "messagePlaceholder", dropFiles: "dropFiles", dropFilePlaceholder: "dropFilePlaceholder", waitForReply: "waitForReply", showDotFlashing: "showDotFlashing" }, outputs: { send: "send", uploadFiles: "uploadFiles", abort: "abort", inputChange: "inputChange" }, ngContentSelectors: _c4$2, decls: 16, vars: 20, consts: [[1, "message-row", 3, "ngClass"], [1, "message-row__input", 3, "ngClass"], [3, "files", "isRemovable", "maxLengthText", "removeFileEvent", 4, "ngIf"], [1, "message-row__input-textarea-wrap"], ["type", "text", 3, "ngModel", "rows", "placeholder", "focus", "blur", "mouseenter", "mouseleave", "ngModelChange", "keydown.enter"], ["textAreaElement", ""], [1, "message-row__btns"], ["type", "file", "hidden", "", "multiple", "", 3, "change"], ["fileInput", ""], ["class", "dr-icon-send-arrow-up send-button", 3, "click", 4, "ngIf"], ["class", "dr-icon-stop abort-button", 3, "click", 4, "ngIf"], ["class", "wait-reply-dot-flashing", 4, "ngIf"], [3, "files", "isRemovable", "maxLengthText", "removeFileEvent"], [1, "dr-icon-send-arrow-up", "send-button", 3, "click"], [1, "dr-icon-stop", "abort-button", 3, "click"], [1, "wait-reply-dot-flashing"]], template: function DrChatFormDropdownComponent_Template(rf, ctx) { if (rf & 1) {
7254
+ } }, inputs: { isUploadingFiles: "isUploadingFiles", message: "message", messagePlaceholder: "messagePlaceholder", dropFiles: "dropFiles", dropFilePlaceholder: "dropFilePlaceholder", waitForReply: "waitForReply", showDotFlashing: "showDotFlashing" }, outputs: { send: "send", uploadFiles: "uploadFiles", abort: "abort", inputChange: "inputChange" }, ngContentSelectors: _c4$1, decls: 16, vars: 20, consts: [[1, "message-row", 3, "ngClass"], [1, "message-row__input", 3, "ngClass"], [3, "files", "isRemovable", "maxLengthText", "removeFileEvent", 4, "ngIf"], [1, "message-row__input-textarea-wrap"], ["type", "text", 3, "ngModel", "rows", "placeholder", "focus", "blur", "mouseenter", "mouseleave", "ngModelChange", "keydown.enter"], ["textAreaElement", ""], [1, "message-row__btns"], ["type", "file", "hidden", "", "multiple", "", 3, "change"], ["fileInput", ""], ["class", "dr-icon-send-arrow-up send-button", 3, "click", 4, "ngIf"], ["class", "dr-icon-stop abort-button", 3, "click", 4, "ngIf"], ["class", "wait-reply-dot-flashing", 4, "ngIf"], [3, "files", "isRemovable", "maxLengthText", "removeFileEvent"], [1, "dr-icon-send-arrow-up", "send-button", 3, "click"], [1, "dr-icon-stop", "abort-button", 3, "click"], [1, "wait-reply-dot-flashing"]], template: function DrChatFormDropdownComponent_Template(rf, ctx) { if (rf & 1) {
7239
7255
  i0.ɵɵprojectionDef();
7240
7256
  i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
7241
7257
  i0.ɵɵpipe(2, "async");
@@ -9459,7 +9475,7 @@ function DrDropdownComponent_dr_dropdown_item_4_Template(rf, ctx) { if (rf & 1)
9459
9475
  i0.ɵɵproperty("ngIf", act_r2.templateRef);
9460
9476
  } }
9461
9477
  const _c3$2 = [[["dr-dropdown-item"]]];
9462
- const _c4$1 = ["dr-dropdown-item"];
9478
+ const _c4 = ["dr-dropdown-item"];
9463
9479
  class DrDropdownComponent {
9464
9480
  set options(data) {
9465
9481
  if (data) {
@@ -9579,7 +9595,7 @@ class DrDropdownComponent {
9579
9595
  } if (rf & 2) {
9580
9596
  let _t;
9581
9597
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.menuContainer = _t.first);
9582
- } }, inputs: { options: "options" }, outputs: { onAction: "action" }, features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c4$1, decls: 6, vars: 5, consts: [[1, "dr-dropdown"], ["menuContainer", ""], ["tabindex", "-1", "role", "listbox", 1, "dr-dropdown__container", 3, "mouseenter", "mouseleave"], ["drDropdownChild", "", "role", "option", "tabindex", "0", 3, "drTooltip", "drTooltipPosition", "drTooltipOptions", "drTooltipClass", "drDropdown", "drDropdownClass", "drDropdownInHover", "drDropdownPosition", "disabled", "selected", "divider", "mousedown", 4, "ngFor", "ngForOf"], ["drDropdownChild", "", "role", "option", "tabindex", "0", 3, "drTooltip", "drTooltipPosition", "drTooltipOptions", "drTooltipClass", "drDropdown", "drDropdownClass", "drDropdownInHover", "drDropdownPosition", "disabled", "selected", "divider", "mousedown"], ["dropdownItemContent", "", 4, "ngIf"], ["dropdownItemActions", "", 4, "ngIf"], ["dropdownItemContent", "", 3, "ngTemplateOutlet", "ngTemplateOutletContext", 4, "ngIf"], ["dropdownItemContent", ""], ["class", "dr-dropdown__icon", 3, "class", 4, "ngIf"], [1, "dr-dropdown__text"], [1, "dr-dropdown__icon"], ["dropdownItemActions", ""], [3, "class", "showOnHover", "mousedown", 4, "ngFor", "ngForOf"], ["class", "dr-icon-arrow-right", 4, "ngIf"], [3, "mousedown"], [1, "dr-icon-arrow-right"], ["dropdownItemContent", "", 3, "ngTemplateOutlet", "ngTemplateOutletContext"]], template: function DrDropdownComponent_Template(rf, ctx) { if (rf & 1) {
9598
+ } }, inputs: { options: "options" }, outputs: { onAction: "action" }, features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c4, decls: 6, vars: 5, consts: [[1, "dr-dropdown"], ["menuContainer", ""], ["tabindex", "-1", "role", "listbox", 1, "dr-dropdown__container", 3, "mouseenter", "mouseleave"], ["drDropdownChild", "", "role", "option", "tabindex", "0", 3, "drTooltip", "drTooltipPosition", "drTooltipOptions", "drTooltipClass", "drDropdown", "drDropdownClass", "drDropdownInHover", "drDropdownPosition", "disabled", "selected", "divider", "mousedown", 4, "ngFor", "ngForOf"], ["drDropdownChild", "", "role", "option", "tabindex", "0", 3, "drTooltip", "drTooltipPosition", "drTooltipOptions", "drTooltipClass", "drDropdown", "drDropdownClass", "drDropdownInHover", "drDropdownPosition", "disabled", "selected", "divider", "mousedown"], ["dropdownItemContent", "", 4, "ngIf"], ["dropdownItemActions", "", 4, "ngIf"], ["dropdownItemContent", "", 3, "ngTemplateOutlet", "ngTemplateOutletContext", 4, "ngIf"], ["dropdownItemContent", ""], ["class", "dr-dropdown__icon", 3, "class", 4, "ngIf"], [1, "dr-dropdown__text"], [1, "dr-dropdown__icon"], ["dropdownItemActions", ""], [3, "class", "showOnHover", "mousedown", 4, "ngFor", "ngForOf"], ["class", "dr-icon-arrow-right", 4, "ngIf"], [3, "mousedown"], [1, "dr-icon-arrow-right"], ["dropdownItemContent", "", 3, "ngTemplateOutlet", "ngTemplateOutletContext"]], template: function DrDropdownComponent_Template(rf, ctx) { if (rf & 1) {
9583
9599
  i0.ɵɵprojectionDef(_c3$2);
9584
9600
  i0.ɵɵelementStart(0, "div", 0, 1)(2, "div", 2);
9585
9601
  i0.ɵɵlistener("mouseenter", function DrDropdownComponent_Template_div_mouseenter_2_listener() { return ctx.onMouseenter(); })("mouseleave", function DrDropdownComponent_Template_div_mouseleave_2_listener() { return ctx.onMouseleave(); });
@@ -13646,9 +13662,8 @@ function DrGalleryComponent_dr_button_0_Template(rf, ctx) { if (rf & 1) {
13646
13662
  function DrGalleryComponent_div_4_ng_container_2_Template(rf, ctx) { if (rf & 1) {
13647
13663
  i0.ɵɵelementContainer(0);
13648
13664
  } }
13649
- const _c2 = function (a0) { return { "dr-gallery-item_active": a0 }; };
13650
- const _c3 = function () { return {}; };
13651
- const _c4 = function (a0) { return { $implicit: a0 }; };
13665
+ const _c2 = function () { return {}; };
13666
+ const _c3 = function (a0) { return { $implicit: a0 }; };
13652
13667
  function DrGalleryComponent_div_4_Template(rf, ctx) { if (rf & 1) {
13653
13668
  i0.ɵɵelementStart(0, "div", 6, 7);
13654
13669
  i0.ɵɵtemplate(2, DrGalleryComponent_div_4_ng_container_2_Template, 1, 0, "ng-container", 8);
@@ -13658,9 +13673,10 @@ function DrGalleryComponent_div_4_Template(rf, ctx) { if (rf & 1) {
13658
13673
  const i_r7 = ctx.index;
13659
13674
  const ctx_r2 = i0.ɵɵnextContext();
13660
13675
  i0.ɵɵstyleProp("transition", ctx_r2.transition);
13661
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c2, ctx_r2.centerIndex === i_r7))("ngStyle", ctx_r2.modeType === "loop" ? ctx_r2.getStyle() : i0.ɵɵpureFunction0(8, _c3));
13676
+ i0.ɵɵclassProp("dr-gallery-item_active", ctx_r2.centerIndex === i_r7)("dr-gallery-item_fadein", ctx_r2.fadeIn && ctx_r2.centerIndex === i_r7 + 1);
13677
+ i0.ɵɵproperty("ngStyle", ctx_r2.modeType === "loop" ? ctx_r2.getStyle() : i0.ɵɵpureFunction0(9, _c2));
13662
13678
  i0.ɵɵadvance(2);
13663
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.template)("ngTemplateOutletContext", i0.ɵɵpureFunction1(9, _c4, item_r6));
13679
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.template)("ngTemplateOutletContext", i0.ɵɵpureFunction1(10, _c3, item_r6));
13664
13680
  } }
13665
13681
  function DrGalleryComponent_dr_button_5_Template(rf, ctx) { if (rf & 1) {
13666
13682
  const _r11 = i0.ɵɵgetCurrentView();
@@ -13701,6 +13717,9 @@ class DrGalleryComponent {
13701
13717
  this.noTransition = '0ms';
13702
13718
  this.modeType = 'loop';
13703
13719
  this.isOutsideBtns = false;
13720
+ this.fadeIn = false;
13721
+ this.autoPlay = false;
13722
+ this.autoplayInterval = 5000; //5 seconds
13704
13723
  this.activeIndex = 0;
13705
13724
  this.carouselItems = [];
13706
13725
  this.transform = 'translateX(0%)';
@@ -13713,8 +13732,14 @@ class DrGalleryComponent {
13713
13732
  setTimeout(() => {
13714
13733
  this.calculateItemOffsets();
13715
13734
  this.updateTransform();
13735
+ if (this.autoPlay) {
13736
+ this.startAutoplay();
13737
+ }
13716
13738
  });
13717
13739
  }
13740
+ ngOnDestroy() {
13741
+ this.clearAutoplay();
13742
+ }
13718
13743
  initializeCarousel() {
13719
13744
  if (this.modeType === 'loop') {
13720
13745
  this.carouselItems = [
@@ -13783,11 +13808,18 @@ class DrGalleryComponent {
13783
13808
  this.activeIndex++;
13784
13809
  this.updateTransform();
13785
13810
  }
13811
+ else {
13812
+ this.activeIndex = 0;
13813
+ this.updateTransform();
13814
+ }
13786
13815
  }
13787
13816
  }
13788
13817
  navigate(index) {
13789
13818
  this.activeIndex = index;
13790
13819
  this.updateTransform();
13820
+ if (this.autoPlay) {
13821
+ this.startAutoplay();
13822
+ }
13791
13823
  }
13792
13824
  get canGoPrev() {
13793
13825
  if (this.modeType === 'loop')
@@ -13824,6 +13856,18 @@ class DrGalleryComponent {
13824
13856
  this.transition = this.defaultTransition;
13825
13857
  this.cdr.markForCheck();
13826
13858
  }
13859
+ startAutoplay() {
13860
+ this.clearAutoplay();
13861
+ this.autoplayTimer = setInterval(() => {
13862
+ this.next();
13863
+ }, this.autoplayInterval);
13864
+ }
13865
+ clearAutoplay() {
13866
+ if (this.autoplayTimer) {
13867
+ clearInterval(this.autoplayTimer);
13868
+ this.autoplayTimer = null;
13869
+ }
13870
+ }
13827
13871
  /** @nocollapse */ static { this.ɵfac = function DrGalleryComponent_Factory(t) { return new (t || DrGalleryComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
13828
13872
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrGalleryComponent, selectors: [["dr-gallery"]], contentQueries: function DrGalleryComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
13829
13873
  i0.ɵɵcontentQuery(dirIndex, TemplateRef, 5);
@@ -13837,27 +13881,28 @@ class DrGalleryComponent {
13837
13881
  let _t;
13838
13882
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.containerRef = _t.first);
13839
13883
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.itemElements = _t);
13840
- } }, inputs: { modeType: "modeType", isOutsideBtns: "isOutsideBtns", items: "items", itemsCount: "itemsCount" }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 6, vars: 10, consts: [["class", "dr-gallery-btn dr-gallery-btn_left", "theme", "icon", 3, "icon", "click", 4, "ngIf"], ["carouselContainer", ""], [1, "dr-gallery-items"], ["class", "dr-gallery-item", 3, "transition", "ngClass", "ngStyle", 4, "ngFor", "ngForOf"], ["class", "dr-gallery-btn dr-gallery-btn_right", "theme", "icon", 3, "iconSize", "icon", "click", 4, "ngIf"], ["theme", "icon", 1, "dr-gallery-btn", "dr-gallery-btn_left", 3, "icon", "click"], [1, "dr-gallery-item", 3, "ngClass", "ngStyle"], ["carouselItem", ""], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["theme", "icon", 1, "dr-gallery-btn", "dr-gallery-btn_right", 3, "iconSize", "icon", "click"]], template: function DrGalleryComponent_Template(rf, ctx) { if (rf & 1) {
13884
+ } }, inputs: { modeType: "modeType", isOutsideBtns: "isOutsideBtns", fadeIn: "fadeIn", autoPlay: "autoPlay", autoplayInterval: "autoplayInterval", items: "items", itemsCount: "itemsCount" }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 6, vars: 12, consts: [["class", "dr-gallery-btn dr-gallery-btn_left", "theme", "icon", 3, "icon", "click", 4, "ngIf"], ["carouselContainer", ""], [1, "dr-gallery-items"], ["class", "dr-gallery-item", 3, "transition", "dr-gallery-item_active", "dr-gallery-item_fadein", "ngStyle", 4, "ngFor", "ngForOf"], ["class", "dr-gallery-btn dr-gallery-btn_right", "theme", "icon", 3, "iconSize", "icon", "click", 4, "ngIf"], ["theme", "icon", 1, "dr-gallery-btn", "dr-gallery-btn_left", 3, "icon", "click"], [1, "dr-gallery-item", 3, "ngStyle"], ["carouselItem", ""], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["theme", "icon", 1, "dr-gallery-btn", "dr-gallery-btn_right", 3, "iconSize", "icon", "click"]], template: function DrGalleryComponent_Template(rf, ctx) { if (rf & 1) {
13841
13885
  i0.ɵɵtemplate(0, DrGalleryComponent_dr_button_0_Template, 1, 1, "dr-button", 0);
13842
13886
  i0.ɵɵelementStart(1, "div", null, 1)(3, "div", 2);
13843
- i0.ɵɵtemplate(4, DrGalleryComponent_div_4_Template, 3, 11, "div", 3);
13887
+ i0.ɵɵtemplate(4, DrGalleryComponent_div_4_Template, 3, 12, "div", 3);
13844
13888
  i0.ɵɵelementEnd()();
13845
13889
  i0.ɵɵtemplate(5, DrGalleryComponent_dr_button_5_Template, 1, 2, "dr-button", 4);
13846
13890
  } if (rf & 2) {
13847
13891
  i0.ɵɵproperty("ngIf", !ctx.isOutsideBtns);
13848
13892
  i0.ɵɵadvance(1);
13849
13893
  i0.ɵɵclassMapInterpolate1("dr-gallery-caroousel dr-gallery-caroousel_", ctx.modeType, "");
13894
+ i0.ɵɵclassProp("dr-gallery-caroousel_fadein", ctx.fadeIn);
13850
13895
  i0.ɵɵadvance(2);
13851
13896
  i0.ɵɵstyleProp("transition", ctx.transition)("transform", ctx.transform);
13852
13897
  i0.ɵɵadvance(1);
13853
13898
  i0.ɵɵproperty("ngForOf", ctx.carouselItems);
13854
13899
  i0.ɵɵadvance(1);
13855
13900
  i0.ɵɵproperty("ngIf", !ctx.isOutsideBtns);
13856
- } }, dependencies: [CommonModule, i1.NgClass, i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, DrInputsModule, DrButtonComponent], styles: [".dr-gallery-caroousel[_ngcontent-%COMP%]{display:block;position:relative;overflow:hidden}.dr-gallery-items[_ngcontent-%COMP%]{display:flex;position:relative;align-items:flex-end;will-change:transform}.dr-gallery-item[_ngcontent-%COMP%]{box-sizing:border-box;position:relative;padding:42px 24px;margin-top:-8px;flex-grow:1}.dr-gallery-btn[_ngcontent-%COMP%]{position:absolute;top:50%;transform:translateY(-50%);z-index:9999;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:50%;box-shadow:0 4px 4px #00000040}.dr-gallery-btn[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:40px!important;height:40px!important}.dr-gallery-btn[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{border-radius:50%}.dr-gallery-btn_left[_ngcontent-%COMP%]{left:0}.dr-gallery-btn_right[_ngcontent-%COMP%]{right:0}.dr-gallery-caroousel_loop[_ngcontent-%COMP%] .dr-gallery-item[_ngcontent-%COMP%]{width:100%;min-height:240px}.dr-gallery-caroousel_loop[_ngcontent-%COMP%] .dr-gallery-item_active[_ngcontent-%COMP%]{transform:scale(1.2)}"], changeDetection: 0 }); }
13901
+ } }, dependencies: [CommonModule, i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, DrInputsModule, DrButtonComponent], styles: [".dr-gallery-caroousel[_ngcontent-%COMP%]{display:block;position:relative;overflow:hidden}.dr-gallery-caroousel.dr-gallery-caroousel_loop[_ngcontent-%COMP%] .dr-gallery-item[_ngcontent-%COMP%]{width:100%;min-height:240px}.dr-gallery-caroousel.dr-gallery-caroousel_loop[_ngcontent-%COMP%] .dr-gallery-item_active[_ngcontent-%COMP%]{transform:scale(1.2)}.dr-gallery-caroousel.dr-gallery-caroousel_fadein[_ngcontent-%COMP%] .dr-gallery-item[_ngcontent-%COMP%]{opacity:0}.dr-gallery-items[_ngcontent-%COMP%]{display:flex;position:relative;align-items:flex-end;will-change:transform}.dr-gallery-item[_ngcontent-%COMP%]{box-sizing:border-box;position:relative;flex-grow:1;padding:42px 24px;margin-top:-8px}.dr-gallery-item_fadein[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fadeIn .3s ease-in .25s forwards}.dr-gallery-btn[_ngcontent-%COMP%]{position:absolute;top:50%;transform:translateY(-50%);z-index:9999;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:50%;box-shadow:0 4px 4px #00000040}.dr-gallery-btn[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:40px!important;height:40px!important}.dr-gallery-btn[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{border-radius:50%}.dr-gallery-btn_left[_ngcontent-%COMP%]{left:0}.dr-gallery-btn_right[_ngcontent-%COMP%]{right:0}@keyframes _ngcontent-%COMP%_fadeIn{0%{opacity:0}to{opacity:1}}"], changeDetection: 0 }); }
13857
13902
  }
13858
13903
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrGalleryComponent, [{
13859
13904
  type: Component,
13860
- args: [{ selector: 'dr-gallery', imports: [CommonModule, DrInputsModule], standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "<dr-button\n *ngIf=\"!isOutsideBtns\"\n class=\"dr-gallery-btn dr-gallery-btn_left\"\n (click)=\"prev()\"\n theme=\"icon\"\n [icon]=\"'dr-icon-arrow-left'\">\n</dr-button>\n\n<div #carouselContainer class=\"dr-gallery-caroousel dr-gallery-caroousel_{{ modeType }}\">\n <div class=\"dr-gallery-items\" [style.transition]=\"transition\" [style.transform]=\"transform\">\n <div\n #carouselItem\n *ngFor=\"let item of carouselItems; let i = index\"\n class=\"dr-gallery-item\"\n [style.transition]=\"transition\"\n [ngClass]=\"{ 'dr-gallery-item_active': centerIndex === i }\"\n [ngStyle]=\"modeType === 'loop' ? getStyle() : {}\">\n <ng-container *ngTemplateOutlet=\"template; context: { $implicit: item }\"></ng-container>\n </div>\n </div>\n</div>\n\n<dr-button\n *ngIf=\"!isOutsideBtns\"\n class=\"dr-gallery-btn dr-gallery-btn_right\"\n (click)=\"next()\"\n [iconSize]=\"'24px'\"\n theme=\"icon\"\n [icon]=\"'dr-icon-arrow-right'\">\n</dr-button>\n", styles: [".dr-gallery-caroousel{display:block;position:relative;overflow:hidden}.dr-gallery-items{display:flex;position:relative;align-items:flex-end;will-change:transform}.dr-gallery-item{box-sizing:border-box;position:relative;padding:42px 24px;margin-top:-8px;flex-grow:1}.dr-gallery-btn{position:absolute;top:50%;transform:translateY(-50%);z-index:9999;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:50%;box-shadow:0 4px 4px #00000040}.dr-gallery-btn button{width:40px!important;height:40px!important}.dr-gallery-btn button:hover{border-radius:50%}.dr-gallery-btn_left{left:0}.dr-gallery-btn_right{right:0}.dr-gallery-caroousel_loop .dr-gallery-item{width:100%;min-height:240px}.dr-gallery-caroousel_loop .dr-gallery-item_active{transform:scale(1.2)}\n"] }]
13905
+ args: [{ selector: 'dr-gallery', imports: [CommonModule, DrInputsModule], standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "<dr-button\n *ngIf=\"!isOutsideBtns\"\n class=\"dr-gallery-btn dr-gallery-btn_left\"\n (click)=\"prev()\"\n theme=\"icon\"\n [icon]=\"'dr-icon-arrow-left'\">\n</dr-button>\n\n<div\n #carouselContainer\n class=\"dr-gallery-caroousel dr-gallery-caroousel_{{ modeType }}\"\n [class.dr-gallery-caroousel_fadein]=\"fadeIn\">\n <div class=\"dr-gallery-items\" [style.transition]=\"transition\" [style.transform]=\"transform\">\n <div\n #carouselItem\n *ngFor=\"let item of carouselItems; let i = index\"\n class=\"dr-gallery-item\"\n [style.transition]=\"transition\"\n [class.dr-gallery-item_active]=\"centerIndex === i\"\n [class.dr-gallery-item_fadein]=\"fadeIn && centerIndex === i + 1\"\n [ngStyle]=\"modeType === 'loop' ? getStyle() : {}\">\n <ng-container *ngTemplateOutlet=\"template; context: { $implicit: item }\"></ng-container>\n </div>\n </div>\n</div>\n\n<dr-button\n *ngIf=\"!isOutsideBtns\"\n class=\"dr-gallery-btn dr-gallery-btn_right\"\n (click)=\"next()\"\n [iconSize]=\"'24px'\"\n theme=\"icon\"\n [icon]=\"'dr-icon-arrow-right'\">\n</dr-button>\n", styles: [".dr-gallery-caroousel{display:block;position:relative;overflow:hidden}.dr-gallery-caroousel.dr-gallery-caroousel_loop .dr-gallery-item{width:100%;min-height:240px}.dr-gallery-caroousel.dr-gallery-caroousel_loop .dr-gallery-item_active{transform:scale(1.2)}.dr-gallery-caroousel.dr-gallery-caroousel_fadein .dr-gallery-item{opacity:0}.dr-gallery-items{display:flex;position:relative;align-items:flex-end;will-change:transform}.dr-gallery-item{box-sizing:border-box;position:relative;flex-grow:1;padding:42px 24px;margin-top:-8px}.dr-gallery-item_fadein{animation:fadeIn .3s ease-in .25s forwards}.dr-gallery-btn{position:absolute;top:50%;transform:translateY(-50%);z-index:9999;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:50%;box-shadow:0 4px 4px #00000040}.dr-gallery-btn button{width:40px!important;height:40px!important}.dr-gallery-btn button:hover{border-radius:50%}.dr-gallery-btn_left{left:0}.dr-gallery-btn_right{right:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}\n"] }]
13861
13906
  }], function () { return [{ type: i0.ChangeDetectorRef }]; }, { template: [{
13862
13907
  type: ContentChild,
13863
13908
  args: [TemplateRef]
@@ -13865,6 +13910,12 @@ class DrGalleryComponent {
13865
13910
  type: Input
13866
13911
  }], isOutsideBtns: [{
13867
13912
  type: Input
13913
+ }], fadeIn: [{
13914
+ type: Input
13915
+ }], autoPlay: [{
13916
+ type: Input
13917
+ }], autoplayInterval: [{
13918
+ type: Input
13868
13919
  }], items: [{
13869
13920
  type: Input
13870
13921
  }], itemsCount: [{