asksuite-citrus 1.5.11 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/citrus-i18n/en.json +2 -0
 - package/assets/citrus-i18n/es.json +2 -0
 - package/assets/citrus-i18n/pt.json +2 -0
 - package/esm2022/lib/asksuite-citrus.module.mjs +14 -4
 - package/esm2022/lib/classes/richtext-wrapper.mjs +274 -0
 - package/esm2022/lib/classes/toolbox-bubble.mjs +46 -0
 - package/esm2022/lib/classes/toolbox-topbar.mjs +34 -0
 - package/esm2022/lib/classes/toolbox.mjs +107 -0
 - package/esm2022/lib/components/autocomplete/autocomplete.component.mjs +2 -2
 - package/esm2022/lib/components/avatar/avatar.component.mjs +2 -2
 - package/esm2022/lib/components/box/box.component.mjs +2 -2
 - package/esm2022/lib/components/button/button.component.mjs +2 -2
 - package/esm2022/lib/components/character-counter/character-counter.component.mjs +2 -2
 - package/esm2022/lib/components/checkbox/checkbox.component.mjs +2 -2
 - package/esm2022/lib/components/chips/chips.component.mjs +2 -2
 - package/esm2022/lib/components/date-picker/date-picker-calendar/date-picker-calendar.component.mjs +2 -2
 - package/esm2022/lib/components/date-picker/date-picker.component.mjs +2 -2
 - package/esm2022/lib/components/dropdown-container/dropdown-container.component.mjs +2 -2
 - package/esm2022/lib/components/input/input.component.mjs +2 -2
 - package/esm2022/lib/components/modal/modal.component.mjs +2 -2
 - package/esm2022/lib/components/pagination/pagination.component.mjs +2 -2
 - package/esm2022/lib/components/richtext-toolbox-core/richtext-toolbox-core.component.mjs +82 -0
 - package/esm2022/lib/components/richtext-url-prompt/richtext-url-prompt-state.service.mjs +16 -0
 - package/esm2022/lib/components/richtext-url-prompt/richtext-url-prompt.component.mjs +66 -0
 - package/esm2022/lib/components/select/select.component.mjs +2 -2
 - package/esm2022/lib/components/table/table.component.mjs +2 -2
 - package/esm2022/lib/components/toast/toast.component.mjs +3 -3
 - package/esm2022/lib/constants/richtext-toolbox.constants.mjs +40 -0
 - package/esm2022/lib/constants/url-regex.constant.mjs +2 -0
 - package/esm2022/lib/directives/button/ask-button.directive.mjs +3 -8
 - package/esm2022/lib/directives/index.mjs +2 -1
 - package/esm2022/lib/directives/richtext-toolbox/richtext-toolbox.directive.mjs +163 -0
 - package/esm2022/lib/helpers/are-objects-equal.helper.mjs +4 -0
 - package/esm2022/lib/interfaces/richtext-toolbox.interface.mjs +2 -0
 - package/esm2022/public-api.mjs +3 -1
 - package/fesm2022/asksuite-citrus.mjs +865 -60
 - package/fesm2022/asksuite-citrus.mjs.map +1 -1
 - package/lib/asksuite-citrus.module.d.ts +10 -7
 - package/lib/classes/richtext-wrapper.d.ts +48 -0
 - package/lib/classes/toolbox-bubble.d.ts +13 -0
 - package/lib/classes/toolbox-topbar.d.ts +8 -0
 - package/lib/classes/toolbox.d.ts +31 -0
 - package/lib/components/richtext-toolbox-core/richtext-toolbox-core.component.d.ts +25 -0
 - package/lib/components/richtext-url-prompt/richtext-url-prompt-state.service.d.ts +6 -0
 - package/lib/components/richtext-url-prompt/richtext-url-prompt.component.d.ts +19 -0
 - package/lib/components/toast/toast.component.d.ts +1 -2
 - package/lib/constants/richtext-toolbox.constants.d.ts +4 -0
 - package/lib/constants/url-regex.constant.d.ts +1 -0
 - package/lib/directives/button/ask-button.directive.d.ts +1 -1
 - package/lib/directives/index.d.ts +1 -0
 - package/lib/directives/richtext-toolbox/richtext-toolbox.directive.d.ts +39 -0
 - package/lib/helpers/are-objects-equal.helper.d.ts +1 -0
 - package/lib/interfaces/richtext-toolbox.interface.d.ts +54 -0
 - package/package.json +3 -2
 - package/public-api.d.ts +1 -0
 - package/styles/ask-mixins.scss +45 -0
 - package/styles/font-weights.scss +1 -0
 - package/styles/quill.scss +18 -0
 - package/styles/styles.scss +2 -30
 
| 
         @@ -6,11 +6,11 @@ export class ModalComponent { 
     | 
|
| 
       6 
6 
     | 
    
         
             
                    this.fullscreen = false;
         
     | 
| 
       7 
7 
     | 
    
         
             
                }
         
     | 
| 
       8 
8 
     | 
    
         
             
                static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: ModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
         
     | 
| 
       9 
     | 
    
         
            -
                static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.6", type: ModalComponent, selector: "ask-modal", inputs: { content: "content", fullscreen: "fullscreen" }, ngImport: i0, template: "<div\n  data-testid=\"ask-modal\"\n  class=\"ask-modal\"\n  [class.-fullscreen]=\"fullscreen\"\n>\n  <div class=\"body\">\n    <ng-container *ngComponentOutlet=\"content\"></ng-container>\n  </div>\n</div>\n", styles: [" 
     | 
| 
      
 9 
     | 
    
         
            +
                static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.6", type: ModalComponent, selector: "ask-modal", inputs: { content: "content", fullscreen: "fullscreen" }, ngImport: i0, template: "<div\n  data-testid=\"ask-modal\"\n  class=\"ask-modal\"\n  [class.-fullscreen]=\"fullscreen\"\n>\n  <div class=\"body\">\n    <ng-container *ngComponentOutlet=\"content\"></ng-container>\n  </div>\n</div>\n", styles: ["@import\"https://cdn.quilljs.com/1.0.0/quill.core.css\";:root{--asksuite-orange: #FF5724;--white: #FFF;--grey-50: #F5F7FA;--grey-100: #E4E7EB;--grey-200: #CBD2D9;--grey-300: #9AA5B1;--grey-400: #7B8794;--grey-500: #616E7C;--grey-600: #52606D;--grey-700: #3E4C59;--grey-800: #2A3042;--grey-900: #1F2933;--yellow-50: #FFF8E2;--yellow-200: #FFECB3;--success-green: #4BAF50;--warning-yellow: #FFC107;--error-red: #E8453E;--shadow: rgba(42, 48, 66, .1607843137);--lightblue-tag: #CDF9F3;--lavender-tag: #D4DAF3;--green-tag: #CEEEAA;--pink-tag: #FBC5FF;--orange-tag: #FED5C9;--purple-tag: #DDBFE5;--yellow-tag: #FFE0B2;--blue-tag: #B2E5FD;--brown-tag: #EFC89C;--whatsapp-green: #68B35D;--facebook-blue: #0084FF;--instagram-pink: #D53E91;--google-blue: #345DC8;--telegram-blue: #34AADF;--telephone-yellow: #FECB00;--primary-background: #FFF;--secondary-background: #EFF3F8;--hover-background: #F5F7FA;--divider-background: #E4E7EB;--font-color-100: #2A3042;--font-color-200: #616E7C;--font-color-300: #9AA5B1}:root{--font-default: $font-default;--font-code: $font-code}:root{--font-xs: $font-xs;--font-sm: $font-sm;--font-md: $font-md;--font-lg: $font-lg;--font-xl: $font-xl;--font-xxl: $font-xxl}:root{--font-weight-regular: $font-weight-regular;--font-weight-medium: $font-weight-medium}:root{--radii-px: $radii-px;--radii-xs: $radii-xs;--radii-sm: $radii-sm;--radii-md: $radii-md;--radii-lg: $radii-lg;--radii-full: $radii-full}.ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scale-in-center{animation:scale-in-center .3s ease-in-out both}@keyframes scale-in-center{0%{transform:scale(0);opacity:1}to{transform:scale(1);opacity:1}}.scale-out-center{animation:scale-out-center .3s ease-in-out both}@keyframes scale-out-center{0%{transform:scale(1);opacity:1}to{transform:scale(0);opacity:1}}.ask-tooltip{background-color:#7b8794;color:#fff;padding:4px;border-radius:8px;position:relative}.ask-tooltip>div{text-align:center!important}.ask-tooltip:after{position:absolute;content:\"\";width:10px;height:10px;background-color:inherit}.ask-tooltip.-above{margin-bottom:4px}.ask-tooltip.-above:after{bottom:-5px;left:50%;transform:translate(-50%) rotate(45deg)}.ask-tooltip.-below{margin-top:4px}.ask-tooltip.-below:after{top:-5px;left:50%;transform:translate(-50%) rotate(45deg)}.ask-tooltip.-after,.ask-tooltip.-right{margin-left:4px}.ask-tooltip.-after:after,.ask-tooltip.-right:after{left:-5px;top:50%;transform:translateY(-50%) rotate(45deg)}.ask-tooltip.-before,.ask-tooltip.-left{margin-right:4px}.ask-tooltip.-before:after,.ask-tooltip.-left:after{right:-5px;top:50%;transform:translateY(-50%) rotate(45deg)}.ask-button{padding:8px 24px;border-radius:6px;border:none;outline:none;height:48px;font-size:1rem;transition:background-color .1s,box-shadow .1s;cursor:pointer;font-weight:500;background:white;color:var(--grey-500)}.ask-button:not(.-primary,.-secondary){box-shadow:0 1px 2px #2a304229}.ask-button:not(.-primary):hover:not(:disabled){box-shadow:0 0 6px #2a304229}.ask-button:hover:not(:disabled){box-shadow:0 0 6px #ff572466}.ask-button:active:not(:disabled){background-color:#f34915}.ask-button:disabled{cursor:not-allowed;background-color:#9aa5b1}.ask-button.-primary{background:#FF5724;color:#fff}.ask-modal-header{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.ask-modal-body{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;padding:20px 24px;max-height:65vh;display:block}.ask-modal-footer{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}.ql-editor{padding:14px 16px;font-size:.875rem;word-break:break-word}.bubble-toolbox{position:absolute;background-color:var(--grey-800);border-radius:8px;z-index:999}.top-toolbox{background-color:var(--grey-100)}.material-icons{font-family:Material Icons;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:\"liga\";-webkit-font-smoothing:antialiased}*{box-sizing:border-box}*,button,select,textarea{font-family:Inter,sans-serif;font-weight:400}input{font-size:1rem}.ask-badge{position:relative}.ask-badge>.badge{position:absolute;display:flex;justify-content:center;align-items:center;background-color:var(--bg-color);color:#fff;font-size:12px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border-radius:50%;box-shadow:0 2px 6px -1px #00000080}.ask-badge>.badge.-primary{--bg-color: var(--asksuite-orange)}.ask-badge>.badge.-secondary{--bg-color: var(--grey-800)}.ask-badge>.badge.-top{top:-10px}.ask-badge>.badge.-bottom{bottom:-10px}.ask-badge>.badge.-left{left:-10px}.ask-badge>.badge.-right{right:-10px}.ask-badge>.badge.-small{width:18px;height:18px;font-size:10px}.ask-badge>.badge.-regular{width:22px;height:22px;font-size:11px}.ask-badge>.badge.-large{width:28px;height:28px;font-size:12px}.ask-dropdown-top-right{margin-left:8px}.ask-dropdown-top-left{margin-right:8px}.ask-dropdown-bottom-right,.ask-dropdown-bottom-left{margin-top:8px}:host{min-height:inherit;min-width:inherit;max-height:inherit;max-width:inherit}.ask-modal{width:100%;height:100%}.ask-modal.-fullscreen{width:100vw;height:100vh}.ask-modal.-fullscreen>.body{border-radius:0}.ask-modal>.body{width:100%;height:100%;background:white;border-radius:8px;overflow-y:auto;position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box}\n"], dependencies: [{ kind: "directive", type: i1.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }] }); }
         
     | 
| 
       10 
10 
     | 
    
         
             
            }
         
     | 
| 
       11 
11 
     | 
    
         
             
            i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: ModalComponent, decorators: [{
         
     | 
| 
       12 
12 
     | 
    
         
             
                        type: Component,
         
     | 
| 
       13 
     | 
    
         
            -
                        args: [{ selector: 'ask-modal', template: "<div\n  data-testid=\"ask-modal\"\n  class=\"ask-modal\"\n  [class.-fullscreen]=\"fullscreen\"\n>\n  <div class=\"body\">\n    <ng-container *ngComponentOutlet=\"content\"></ng-container>\n  </div>\n</div>\n", styles: [" 
     | 
| 
      
 13 
     | 
    
         
            +
                        args: [{ selector: 'ask-modal', template: "<div\n  data-testid=\"ask-modal\"\n  class=\"ask-modal\"\n  [class.-fullscreen]=\"fullscreen\"\n>\n  <div class=\"body\">\n    <ng-container *ngComponentOutlet=\"content\"></ng-container>\n  </div>\n</div>\n", styles: ["@import\"https://cdn.quilljs.com/1.0.0/quill.core.css\";:root{--asksuite-orange: #FF5724;--white: #FFF;--grey-50: #F5F7FA;--grey-100: #E4E7EB;--grey-200: #CBD2D9;--grey-300: #9AA5B1;--grey-400: #7B8794;--grey-500: #616E7C;--grey-600: #52606D;--grey-700: #3E4C59;--grey-800: #2A3042;--grey-900: #1F2933;--yellow-50: #FFF8E2;--yellow-200: #FFECB3;--success-green: #4BAF50;--warning-yellow: #FFC107;--error-red: #E8453E;--shadow: rgba(42, 48, 66, .1607843137);--lightblue-tag: #CDF9F3;--lavender-tag: #D4DAF3;--green-tag: #CEEEAA;--pink-tag: #FBC5FF;--orange-tag: #FED5C9;--purple-tag: #DDBFE5;--yellow-tag: #FFE0B2;--blue-tag: #B2E5FD;--brown-tag: #EFC89C;--whatsapp-green: #68B35D;--facebook-blue: #0084FF;--instagram-pink: #D53E91;--google-blue: #345DC8;--telegram-blue: #34AADF;--telephone-yellow: #FECB00;--primary-background: #FFF;--secondary-background: #EFF3F8;--hover-background: #F5F7FA;--divider-background: #E4E7EB;--font-color-100: #2A3042;--font-color-200: #616E7C;--font-color-300: #9AA5B1}:root{--font-default: $font-default;--font-code: $font-code}:root{--font-xs: $font-xs;--font-sm: $font-sm;--font-md: $font-md;--font-lg: $font-lg;--font-xl: $font-xl;--font-xxl: $font-xxl}:root{--font-weight-regular: $font-weight-regular;--font-weight-medium: $font-weight-medium}:root{--radii-px: $radii-px;--radii-xs: $radii-xs;--radii-sm: $radii-sm;--radii-md: $radii-md;--radii-lg: $radii-lg;--radii-full: $radii-full}.ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scale-in-center{animation:scale-in-center .3s ease-in-out both}@keyframes scale-in-center{0%{transform:scale(0);opacity:1}to{transform:scale(1);opacity:1}}.scale-out-center{animation:scale-out-center .3s ease-in-out both}@keyframes scale-out-center{0%{transform:scale(1);opacity:1}to{transform:scale(0);opacity:1}}.ask-tooltip{background-color:#7b8794;color:#fff;padding:4px;border-radius:8px;position:relative}.ask-tooltip>div{text-align:center!important}.ask-tooltip:after{position:absolute;content:\"\";width:10px;height:10px;background-color:inherit}.ask-tooltip.-above{margin-bottom:4px}.ask-tooltip.-above:after{bottom:-5px;left:50%;transform:translate(-50%) rotate(45deg)}.ask-tooltip.-below{margin-top:4px}.ask-tooltip.-below:after{top:-5px;left:50%;transform:translate(-50%) rotate(45deg)}.ask-tooltip.-after,.ask-tooltip.-right{margin-left:4px}.ask-tooltip.-after:after,.ask-tooltip.-right:after{left:-5px;top:50%;transform:translateY(-50%) rotate(45deg)}.ask-tooltip.-before,.ask-tooltip.-left{margin-right:4px}.ask-tooltip.-before:after,.ask-tooltip.-left:after{right:-5px;top:50%;transform:translateY(-50%) rotate(45deg)}.ask-button{padding:8px 24px;border-radius:6px;border:none;outline:none;height:48px;font-size:1rem;transition:background-color .1s,box-shadow .1s;cursor:pointer;font-weight:500;background:white;color:var(--grey-500)}.ask-button:not(.-primary,.-secondary){box-shadow:0 1px 2px #2a304229}.ask-button:not(.-primary):hover:not(:disabled){box-shadow:0 0 6px #2a304229}.ask-button:hover:not(:disabled){box-shadow:0 0 6px #ff572466}.ask-button:active:not(:disabled){background-color:#f34915}.ask-button:disabled{cursor:not-allowed;background-color:#9aa5b1}.ask-button.-primary{background:#FF5724;color:#fff}.ask-modal-header{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.ask-modal-body{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;padding:20px 24px;max-height:65vh;display:block}.ask-modal-footer{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}.ql-editor{padding:14px 16px;font-size:.875rem;word-break:break-word}.bubble-toolbox{position:absolute;background-color:var(--grey-800);border-radius:8px;z-index:999}.top-toolbox{background-color:var(--grey-100)}.material-icons{font-family:Material Icons;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:\"liga\";-webkit-font-smoothing:antialiased}*{box-sizing:border-box}*,button,select,textarea{font-family:Inter,sans-serif;font-weight:400}input{font-size:1rem}.ask-badge{position:relative}.ask-badge>.badge{position:absolute;display:flex;justify-content:center;align-items:center;background-color:var(--bg-color);color:#fff;font-size:12px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border-radius:50%;box-shadow:0 2px 6px -1px #00000080}.ask-badge>.badge.-primary{--bg-color: var(--asksuite-orange)}.ask-badge>.badge.-secondary{--bg-color: var(--grey-800)}.ask-badge>.badge.-top{top:-10px}.ask-badge>.badge.-bottom{bottom:-10px}.ask-badge>.badge.-left{left:-10px}.ask-badge>.badge.-right{right:-10px}.ask-badge>.badge.-small{width:18px;height:18px;font-size:10px}.ask-badge>.badge.-regular{width:22px;height:22px;font-size:11px}.ask-badge>.badge.-large{width:28px;height:28px;font-size:12px}.ask-dropdown-top-right{margin-left:8px}.ask-dropdown-top-left{margin-right:8px}.ask-dropdown-bottom-right,.ask-dropdown-bottom-left{margin-top:8px}:host{min-height:inherit;min-width:inherit;max-height:inherit;max-width:inherit}.ask-modal{width:100%;height:100%}.ask-modal.-fullscreen{width:100vw;height:100vh}.ask-modal.-fullscreen>.body{border-radius:0}.ask-modal>.body{width:100%;height:100%;background:white;border-radius:8px;overflow-y:auto;position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box}\n"] }]
         
     | 
| 
       14 
14 
     | 
    
         
             
                    }], propDecorators: { content: [{
         
     | 
| 
       15 
15 
     | 
    
         
             
                            type: Input
         
     | 
| 
       16 
16 
     | 
    
         
             
                        }], fullscreen: [{
         
     | 
| 
         @@ -95,11 +95,11 @@ export class PaginationComponent { 
     | 
|
| 
       95 
95 
     | 
    
         
             
                    });
         
     | 
| 
       96 
96 
     | 
    
         
             
                }
         
     | 
| 
       97 
97 
     | 
    
         
             
                static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: PaginationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
         
     | 
| 
       98 
     | 
    
         
            -
                static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.6", type: PaginationComponent, selector: "ask-pagination", inputs: { maxPages: "maxPages", selectedPage: "selectedPage", maxPageItemsOnDisplay: "maxPageItemsOnDisplay", resultsPerPage: "resultsPerPage", resultsPerPageOptions: "resultsPerPageOptions" }, outputs: { pageChange: "pageChange" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"page-size\">\n  <p class=\"label\">{{ 'RESULTS_PER_PAGE' | translate }}</p>\n\n  <select\n    class=\"size\"\n    name=\"resultsPerPage\"\n    id=\"resultsPerPage\"\n    data-testid=\"results-per-page-select\"\n    [ngModel]=\"resultsPerPage\"\n    (ngModelChange)=\"handleResultsPerPageChange($event)\"\n  >\n    <option *ngFor=\"let value of resultsPerPageOptions\" [value]=\"value\">{{ value }}</option>\n  </select>\n</div>\n\n<div class=\"page-selector\">\n  <button\n    type=\"button\"\n    class=\"previous\"\n    data-testid=\"previous-button\"\n    [disabled]=\"disablePrevious\"\n    (click)=\"changePage(selectedPage - 1)\"\n  >\n    <span class=\"material-icons\">\n      chevron_left\n    </span>\n  </button>\n\n  <div class=\"page-list\" data-testid=\"page-list\">\n    <button\n      *ngFor=\"let page of pagesDisplay\"\n      type=\"button\"\n      class=\"page\"\n      [ngClass]=\"{\n        '-selected': page.isSelected,\n        '-more': page.isGroupChange,\n      }\"\n      (click)=\"page.onClick()\"\n    >\n      {{ page.page }}\n    </button>\n  </div>\n\n  <button\n    type=\"button\"\n    class=\"next\"\n    data-testid=\"next-button\"\n    [disabled]=\"disableNext\"\n    (click)=\"changePage(selectedPage + 1)\"\n  >\n    <span class=\"material-icons\">\n      chevron_right\n    </span>\n  </button>\n</div>\n", styles: [" 
     | 
| 
      
 98 
     | 
    
         
            +
                static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.6", type: PaginationComponent, selector: "ask-pagination", inputs: { maxPages: "maxPages", selectedPage: "selectedPage", maxPageItemsOnDisplay: "maxPageItemsOnDisplay", resultsPerPage: "resultsPerPage", resultsPerPageOptions: "resultsPerPageOptions" }, outputs: { pageChange: "pageChange" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"page-size\">\n  <p class=\"label\">{{ 'RESULTS_PER_PAGE' | translate }}</p>\n\n  <select\n    class=\"size\"\n    name=\"resultsPerPage\"\n    id=\"resultsPerPage\"\n    data-testid=\"results-per-page-select\"\n    [ngModel]=\"resultsPerPage\"\n    (ngModelChange)=\"handleResultsPerPageChange($event)\"\n  >\n    <option *ngFor=\"let value of resultsPerPageOptions\" [value]=\"value\">{{ value }}</option>\n  </select>\n</div>\n\n<div class=\"page-selector\">\n  <button\n    type=\"button\"\n    class=\"previous\"\n    data-testid=\"previous-button\"\n    [disabled]=\"disablePrevious\"\n    (click)=\"changePage(selectedPage - 1)\"\n  >\n    <span class=\"material-icons\">\n      chevron_left\n    </span>\n  </button>\n\n  <div class=\"page-list\" data-testid=\"page-list\">\n    <button\n      *ngFor=\"let page of pagesDisplay\"\n      type=\"button\"\n      class=\"page\"\n      [ngClass]=\"{\n        '-selected': page.isSelected,\n        '-more': page.isGroupChange,\n      }\"\n      (click)=\"page.onClick()\"\n    >\n      {{ page.page }}\n    </button>\n  </div>\n\n  <button\n    type=\"button\"\n    class=\"next\"\n    data-testid=\"next-button\"\n    [disabled]=\"disableNext\"\n    (click)=\"changePage(selectedPage + 1)\"\n  >\n    <span class=\"material-icons\">\n      chevron_right\n    </span>\n  </button>\n</div>\n", styles: ["@import\"https://cdn.quilljs.com/1.0.0/quill.core.css\";:root{--asksuite-orange: #FF5724;--white: #FFF;--grey-50: #F5F7FA;--grey-100: #E4E7EB;--grey-200: #CBD2D9;--grey-300: #9AA5B1;--grey-400: #7B8794;--grey-500: #616E7C;--grey-600: #52606D;--grey-700: #3E4C59;--grey-800: #2A3042;--grey-900: #1F2933;--yellow-50: #FFF8E2;--yellow-200: #FFECB3;--success-green: #4BAF50;--warning-yellow: #FFC107;--error-red: #E8453E;--shadow: rgba(42, 48, 66, .1607843137);--lightblue-tag: #CDF9F3;--lavender-tag: #D4DAF3;--green-tag: #CEEEAA;--pink-tag: #FBC5FF;--orange-tag: #FED5C9;--purple-tag: #DDBFE5;--yellow-tag: #FFE0B2;--blue-tag: #B2E5FD;--brown-tag: #EFC89C;--whatsapp-green: #68B35D;--facebook-blue: #0084FF;--instagram-pink: #D53E91;--google-blue: #345DC8;--telegram-blue: #34AADF;--telephone-yellow: #FECB00;--primary-background: #FFF;--secondary-background: #EFF3F8;--hover-background: #F5F7FA;--divider-background: #E4E7EB;--font-color-100: #2A3042;--font-color-200: #616E7C;--font-color-300: #9AA5B1}:root{--font-default: $font-default;--font-code: $font-code}:root{--font-xs: $font-xs;--font-sm: $font-sm;--font-md: $font-md;--font-lg: $font-lg;--font-xl: $font-xl;--font-xxl: $font-xxl}:root{--font-weight-regular: $font-weight-regular;--font-weight-medium: $font-weight-medium}:root{--radii-px: $radii-px;--radii-xs: $radii-xs;--radii-sm: $radii-sm;--radii-md: $radii-md;--radii-lg: $radii-lg;--radii-full: $radii-full}.ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scale-in-center{animation:scale-in-center .3s ease-in-out both}@keyframes scale-in-center{0%{transform:scale(0);opacity:1}to{transform:scale(1);opacity:1}}.scale-out-center{animation:scale-out-center .3s ease-in-out both}@keyframes scale-out-center{0%{transform:scale(1);opacity:1}to{transform:scale(0);opacity:1}}.ask-tooltip{background-color:#7b8794;color:#fff;padding:4px;border-radius:8px;position:relative}.ask-tooltip>div{text-align:center!important}.ask-tooltip:after{position:absolute;content:\"\";width:10px;height:10px;background-color:inherit}.ask-tooltip.-above{margin-bottom:4px}.ask-tooltip.-above:after{bottom:-5px;left:50%;transform:translate(-50%) rotate(45deg)}.ask-tooltip.-below{margin-top:4px}.ask-tooltip.-below:after{top:-5px;left:50%;transform:translate(-50%) rotate(45deg)}.ask-tooltip.-after,.ask-tooltip.-right{margin-left:4px}.ask-tooltip.-after:after,.ask-tooltip.-right:after{left:-5px;top:50%;transform:translateY(-50%) rotate(45deg)}.ask-tooltip.-before,.ask-tooltip.-left{margin-right:4px}.ask-tooltip.-before:after,.ask-tooltip.-left:after{right:-5px;top:50%;transform:translateY(-50%) rotate(45deg)}.ask-button{padding:8px 24px;border-radius:6px;border:none;outline:none;height:48px;font-size:1rem;transition:background-color .1s,box-shadow .1s;cursor:pointer;font-weight:500;background:white;color:var(--grey-500)}.ask-button:not(.-primary,.-secondary){box-shadow:0 1px 2px #2a304229}.ask-button:not(.-primary):hover:not(:disabled){box-shadow:0 0 6px #2a304229}.ask-button:hover:not(:disabled){box-shadow:0 0 6px #ff572466}.ask-button:active:not(:disabled){background-color:#f34915}.ask-button:disabled{cursor:not-allowed;background-color:#9aa5b1}.ask-button.-primary{background:#FF5724;color:#fff}.ask-modal-header{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.ask-modal-body{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;padding:20px 24px;max-height:65vh;display:block}.ask-modal-footer{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}.ql-editor{padding:14px 16px;font-size:.875rem;word-break:break-word}.bubble-toolbox{position:absolute;background-color:var(--grey-800);border-radius:8px;z-index:999}.top-toolbox{background-color:var(--grey-100)}.material-icons{font-family:Material Icons;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:\"liga\";-webkit-font-smoothing:antialiased}*{box-sizing:border-box}*,button,select,textarea{font-family:Inter,sans-serif;font-weight:400}input{font-size:1rem}.ask-badge{position:relative}.ask-badge>.badge{position:absolute;display:flex;justify-content:center;align-items:center;background-color:var(--bg-color);color:#fff;font-size:12px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border-radius:50%;box-shadow:0 2px 6px -1px #00000080}.ask-badge>.badge.-primary{--bg-color: var(--asksuite-orange)}.ask-badge>.badge.-secondary{--bg-color: var(--grey-800)}.ask-badge>.badge.-top{top:-10px}.ask-badge>.badge.-bottom{bottom:-10px}.ask-badge>.badge.-left{left:-10px}.ask-badge>.badge.-right{right:-10px}.ask-badge>.badge.-small{width:18px;height:18px;font-size:10px}.ask-badge>.badge.-regular{width:22px;height:22px;font-size:11px}.ask-badge>.badge.-large{width:28px;height:28px;font-size:12px}.ask-dropdown-top-right{margin-left:8px}.ask-dropdown-top-left{margin-right:8px}.ask-dropdown-bottom-right,.ask-dropdown-bottom-left{margin-top:8px}:host{display:flex;flex-direction:row;gap:32px}.page-size{display:flex;flex-direction:row;align-items:center;gap:8px;color:var(--font-color-200)}.page-size>.label{font-size:.875rem}.page-size>.size{border:1px solid var(--font-color-200);background:none;border-radius:2px;outline:none;padding:5.5px 8px;font-size:.875rem;color:var(--font-color-200)}.page-selector{display:flex;flex-direction:row;gap:2px}.page-selector>.previous,.page-selector>.next{display:flex;align-items:center;justify-content:center;border:1px solid var(--font-color-200);background:none;border-radius:2px;outline:none;padding:0 8px;font-size:.875rem;color:var(--font-color-200);width:32px;cursor:pointer;transition:all .2s}.page-selector>.previous:hover:not(:disabled),.page-selector>.next:hover:not(:disabled){border-color:var(--font-color-300);color:var(--font-color-300)}.page-selector>.previous:disabled,.page-selector>.next:disabled{border-color:var(--grey-200);color:var(--grey-200);cursor:not-allowed}.page-list{display:flex;flex-direction:row;gap:1px}.page-list>.page{display:flex;align-items:center;justify-content:center;background:var(--divider-background);color:var(--font-color-200);border:none;min-width:32px;padding:0 6px;cursor:pointer;transition:all .2s}.page-list>.page:first-child{border-radius:2px 0 0 2px}.page-list>.page:last-child{border-radius:0 2px 2px 0}.page-list>.page:first-child:last-child{border-radius:2px}.page-list>.page:hover{background:var(--hover-background)}.page-list>.page.-selected{background:var(--font-color-200);color:var(--primary-background)}.page-list>.page.-selected:hover{background:var(--font-color-300)}.page-list>.page.-more{background:none}.page-list>.page.-more:hover{background:var(--hover-background)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }] }); }
         
     | 
| 
       99 
99 
     | 
    
         
             
            }
         
     | 
| 
       100 
100 
     | 
    
         
             
            i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: PaginationComponent, decorators: [{
         
     | 
| 
       101 
101 
     | 
    
         
             
                        type: Component,
         
     | 
| 
       102 
     | 
    
         
            -
                        args: [{ selector: 'ask-pagination', template: "<div class=\"page-size\">\n  <p class=\"label\">{{ 'RESULTS_PER_PAGE' | translate }}</p>\n\n  <select\n    class=\"size\"\n    name=\"resultsPerPage\"\n    id=\"resultsPerPage\"\n    data-testid=\"results-per-page-select\"\n    [ngModel]=\"resultsPerPage\"\n    (ngModelChange)=\"handleResultsPerPageChange($event)\"\n  >\n    <option *ngFor=\"let value of resultsPerPageOptions\" [value]=\"value\">{{ value }}</option>\n  </select>\n</div>\n\n<div class=\"page-selector\">\n  <button\n    type=\"button\"\n    class=\"previous\"\n    data-testid=\"previous-button\"\n    [disabled]=\"disablePrevious\"\n    (click)=\"changePage(selectedPage - 1)\"\n  >\n    <span class=\"material-icons\">\n      chevron_left\n    </span>\n  </button>\n\n  <div class=\"page-list\" data-testid=\"page-list\">\n    <button\n      *ngFor=\"let page of pagesDisplay\"\n      type=\"button\"\n      class=\"page\"\n      [ngClass]=\"{\n        '-selected': page.isSelected,\n        '-more': page.isGroupChange,\n      }\"\n      (click)=\"page.onClick()\"\n    >\n      {{ page.page }}\n    </button>\n  </div>\n\n  <button\n    type=\"button\"\n    class=\"next\"\n    data-testid=\"next-button\"\n    [disabled]=\"disableNext\"\n    (click)=\"changePage(selectedPage + 1)\"\n  >\n    <span class=\"material-icons\">\n      chevron_right\n    </span>\n  </button>\n</div>\n", styles: [" 
     | 
| 
      
 102 
     | 
    
         
            +
                        args: [{ selector: 'ask-pagination', template: "<div class=\"page-size\">\n  <p class=\"label\">{{ 'RESULTS_PER_PAGE' | translate }}</p>\n\n  <select\n    class=\"size\"\n    name=\"resultsPerPage\"\n    id=\"resultsPerPage\"\n    data-testid=\"results-per-page-select\"\n    [ngModel]=\"resultsPerPage\"\n    (ngModelChange)=\"handleResultsPerPageChange($event)\"\n  >\n    <option *ngFor=\"let value of resultsPerPageOptions\" [value]=\"value\">{{ value }}</option>\n  </select>\n</div>\n\n<div class=\"page-selector\">\n  <button\n    type=\"button\"\n    class=\"previous\"\n    data-testid=\"previous-button\"\n    [disabled]=\"disablePrevious\"\n    (click)=\"changePage(selectedPage - 1)\"\n  >\n    <span class=\"material-icons\">\n      chevron_left\n    </span>\n  </button>\n\n  <div class=\"page-list\" data-testid=\"page-list\">\n    <button\n      *ngFor=\"let page of pagesDisplay\"\n      type=\"button\"\n      class=\"page\"\n      [ngClass]=\"{\n        '-selected': page.isSelected,\n        '-more': page.isGroupChange,\n      }\"\n      (click)=\"page.onClick()\"\n    >\n      {{ page.page }}\n    </button>\n  </div>\n\n  <button\n    type=\"button\"\n    class=\"next\"\n    data-testid=\"next-button\"\n    [disabled]=\"disableNext\"\n    (click)=\"changePage(selectedPage + 1)\"\n  >\n    <span class=\"material-icons\">\n      chevron_right\n    </span>\n  </button>\n</div>\n", styles: ["@import\"https://cdn.quilljs.com/1.0.0/quill.core.css\";:root{--asksuite-orange: #FF5724;--white: #FFF;--grey-50: #F5F7FA;--grey-100: #E4E7EB;--grey-200: #CBD2D9;--grey-300: #9AA5B1;--grey-400: #7B8794;--grey-500: #616E7C;--grey-600: #52606D;--grey-700: #3E4C59;--grey-800: #2A3042;--grey-900: #1F2933;--yellow-50: #FFF8E2;--yellow-200: #FFECB3;--success-green: #4BAF50;--warning-yellow: #FFC107;--error-red: #E8453E;--shadow: rgba(42, 48, 66, .1607843137);--lightblue-tag: #CDF9F3;--lavender-tag: #D4DAF3;--green-tag: #CEEEAA;--pink-tag: #FBC5FF;--orange-tag: #FED5C9;--purple-tag: #DDBFE5;--yellow-tag: #FFE0B2;--blue-tag: #B2E5FD;--brown-tag: #EFC89C;--whatsapp-green: #68B35D;--facebook-blue: #0084FF;--instagram-pink: #D53E91;--google-blue: #345DC8;--telegram-blue: #34AADF;--telephone-yellow: #FECB00;--primary-background: #FFF;--secondary-background: #EFF3F8;--hover-background: #F5F7FA;--divider-background: #E4E7EB;--font-color-100: #2A3042;--font-color-200: #616E7C;--font-color-300: #9AA5B1}:root{--font-default: $font-default;--font-code: $font-code}:root{--font-xs: $font-xs;--font-sm: $font-sm;--font-md: $font-md;--font-lg: $font-lg;--font-xl: $font-xl;--font-xxl: $font-xxl}:root{--font-weight-regular: $font-weight-regular;--font-weight-medium: $font-weight-medium}:root{--radii-px: $radii-px;--radii-xs: $radii-xs;--radii-sm: $radii-sm;--radii-md: $radii-md;--radii-lg: $radii-lg;--radii-full: $radii-full}.ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scale-in-center{animation:scale-in-center .3s ease-in-out both}@keyframes scale-in-center{0%{transform:scale(0);opacity:1}to{transform:scale(1);opacity:1}}.scale-out-center{animation:scale-out-center .3s ease-in-out both}@keyframes scale-out-center{0%{transform:scale(1);opacity:1}to{transform:scale(0);opacity:1}}.ask-tooltip{background-color:#7b8794;color:#fff;padding:4px;border-radius:8px;position:relative}.ask-tooltip>div{text-align:center!important}.ask-tooltip:after{position:absolute;content:\"\";width:10px;height:10px;background-color:inherit}.ask-tooltip.-above{margin-bottom:4px}.ask-tooltip.-above:after{bottom:-5px;left:50%;transform:translate(-50%) rotate(45deg)}.ask-tooltip.-below{margin-top:4px}.ask-tooltip.-below:after{top:-5px;left:50%;transform:translate(-50%) rotate(45deg)}.ask-tooltip.-after,.ask-tooltip.-right{margin-left:4px}.ask-tooltip.-after:after,.ask-tooltip.-right:after{left:-5px;top:50%;transform:translateY(-50%) rotate(45deg)}.ask-tooltip.-before,.ask-tooltip.-left{margin-right:4px}.ask-tooltip.-before:after,.ask-tooltip.-left:after{right:-5px;top:50%;transform:translateY(-50%) rotate(45deg)}.ask-button{padding:8px 24px;border-radius:6px;border:none;outline:none;height:48px;font-size:1rem;transition:background-color .1s,box-shadow .1s;cursor:pointer;font-weight:500;background:white;color:var(--grey-500)}.ask-button:not(.-primary,.-secondary){box-shadow:0 1px 2px #2a304229}.ask-button:not(.-primary):hover:not(:disabled){box-shadow:0 0 6px #2a304229}.ask-button:hover:not(:disabled){box-shadow:0 0 6px #ff572466}.ask-button:active:not(:disabled){background-color:#f34915}.ask-button:disabled{cursor:not-allowed;background-color:#9aa5b1}.ask-button.-primary{background:#FF5724;color:#fff}.ask-modal-header{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.ask-modal-body{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;padding:20px 24px;max-height:65vh;display:block}.ask-modal-footer{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}.ql-editor{padding:14px 16px;font-size:.875rem;word-break:break-word}.bubble-toolbox{position:absolute;background-color:var(--grey-800);border-radius:8px;z-index:999}.top-toolbox{background-color:var(--grey-100)}.material-icons{font-family:Material Icons;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:\"liga\";-webkit-font-smoothing:antialiased}*{box-sizing:border-box}*,button,select,textarea{font-family:Inter,sans-serif;font-weight:400}input{font-size:1rem}.ask-badge{position:relative}.ask-badge>.badge{position:absolute;display:flex;justify-content:center;align-items:center;background-color:var(--bg-color);color:#fff;font-size:12px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border-radius:50%;box-shadow:0 2px 6px -1px #00000080}.ask-badge>.badge.-primary{--bg-color: var(--asksuite-orange)}.ask-badge>.badge.-secondary{--bg-color: var(--grey-800)}.ask-badge>.badge.-top{top:-10px}.ask-badge>.badge.-bottom{bottom:-10px}.ask-badge>.badge.-left{left:-10px}.ask-badge>.badge.-right{right:-10px}.ask-badge>.badge.-small{width:18px;height:18px;font-size:10px}.ask-badge>.badge.-regular{width:22px;height:22px;font-size:11px}.ask-badge>.badge.-large{width:28px;height:28px;font-size:12px}.ask-dropdown-top-right{margin-left:8px}.ask-dropdown-top-left{margin-right:8px}.ask-dropdown-bottom-right,.ask-dropdown-bottom-left{margin-top:8px}:host{display:flex;flex-direction:row;gap:32px}.page-size{display:flex;flex-direction:row;align-items:center;gap:8px;color:var(--font-color-200)}.page-size>.label{font-size:.875rem}.page-size>.size{border:1px solid var(--font-color-200);background:none;border-radius:2px;outline:none;padding:5.5px 8px;font-size:.875rem;color:var(--font-color-200)}.page-selector{display:flex;flex-direction:row;gap:2px}.page-selector>.previous,.page-selector>.next{display:flex;align-items:center;justify-content:center;border:1px solid var(--font-color-200);background:none;border-radius:2px;outline:none;padding:0 8px;font-size:.875rem;color:var(--font-color-200);width:32px;cursor:pointer;transition:all .2s}.page-selector>.previous:hover:not(:disabled),.page-selector>.next:hover:not(:disabled){border-color:var(--font-color-300);color:var(--font-color-300)}.page-selector>.previous:disabled,.page-selector>.next:disabled{border-color:var(--grey-200);color:var(--grey-200);cursor:not-allowed}.page-list{display:flex;flex-direction:row;gap:1px}.page-list>.page{display:flex;align-items:center;justify-content:center;background:var(--divider-background);color:var(--font-color-200);border:none;min-width:32px;padding:0 6px;cursor:pointer;transition:all .2s}.page-list>.page:first-child{border-radius:2px 0 0 2px}.page-list>.page:last-child{border-radius:0 2px 2px 0}.page-list>.page:first-child:last-child{border-radius:2px}.page-list>.page:hover{background:var(--hover-background)}.page-list>.page.-selected{background:var(--font-color-200);color:var(--primary-background)}.page-list>.page.-selected:hover{background:var(--font-color-300)}.page-list>.page.-more{background:none}.page-list>.page.-more:hover{background:var(--hover-background)}\n"] }]
         
     | 
| 
       103 
103 
     | 
    
         
             
                    }], propDecorators: { maxPages: [{
         
     | 
| 
       104 
104 
     | 
    
         
             
                            type: Input,
         
     | 
| 
       105 
105 
     | 
    
         
             
                            args: [{ required: true }]
         
     | 
| 
         @@ -0,0 +1,82 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            import { ChangeDetectionStrategy, Component, EventEmitter, HostBinding, Input, Output, ViewChildren, } from '@angular/core';
         
     | 
| 
      
 2 
     | 
    
         
            +
            import { AskDropdownDirective } from '../../directives';
         
     | 
| 
      
 3 
     | 
    
         
            +
            import * as i0 from "@angular/core";
         
     | 
| 
      
 4 
     | 
    
         
            +
            import * as i1 from "@angular/common";
         
     | 
| 
      
 5 
     | 
    
         
            +
            import * as i2 from "../../directives/ask-dropdown.directive";
         
     | 
| 
      
 6 
     | 
    
         
            +
            import * as i3 from "../richtext-url-prompt/richtext-url-prompt.component";
         
     | 
| 
      
 7 
     | 
    
         
            +
            export class RichtextToolboxCoreComponent {
         
     | 
| 
      
 8 
     | 
    
         
            +
                constructor() {
         
     | 
| 
      
 9 
     | 
    
         
            +
                    this.close = new EventEmitter();
         
     | 
| 
      
 10 
     | 
    
         
            +
                    this.tool = new EventEmitter();
         
     | 
| 
      
 11 
     | 
    
         
            +
                    this.type = 'topbar';
         
     | 
| 
      
 12 
     | 
    
         
            +
                    this.class = '';
         
     | 
| 
      
 13 
     | 
    
         
            +
                    this._toolbarItems = [];
         
     | 
| 
      
 14 
     | 
    
         
            +
                    this.urlIdx = -1;
         
     | 
| 
      
 15 
     | 
    
         
            +
                    this.isUrlMode = false;
         
     | 
| 
      
 16 
     | 
    
         
            +
                }
         
     | 
| 
      
 17 
     | 
    
         
            +
                get toolbarItems() {
         
     | 
| 
      
 18 
     | 
    
         
            +
                    return this._toolbarItems;
         
     | 
| 
      
 19 
     | 
    
         
            +
                }
         
     | 
| 
      
 20 
     | 
    
         
            +
                set toolbarItems(value) {
         
     | 
| 
      
 21 
     | 
    
         
            +
                    this._toolbarItems = value;
         
     | 
| 
      
 22 
     | 
    
         
            +
                    this.urlIdx = value.findIndex((item) => item.tool === 'link');
         
     | 
| 
      
 23 
     | 
    
         
            +
                }
         
     | 
| 
      
 24 
     | 
    
         
            +
                get linkTool() {
         
     | 
| 
      
 25 
     | 
    
         
            +
                    return this.toolbarItems[this.urlIdx];
         
     | 
| 
      
 26 
     | 
    
         
            +
                }
         
     | 
| 
      
 27 
     | 
    
         
            +
                get urlDropdownRef() {
         
     | 
| 
      
 28 
     | 
    
         
            +
                    return this.dropdowns?.get(this.urlIdx);
         
     | 
| 
      
 29 
     | 
    
         
            +
                }
         
     | 
| 
      
 30 
     | 
    
         
            +
                ngOnChanges(sp) {
         
     | 
| 
      
 31 
     | 
    
         
            +
                    if (sp['type'] && !this.class) {
         
     | 
| 
      
 32 
     | 
    
         
            +
                        this.class = this.type === 'bubble' ? 'bubble-toolbox' : 'top-toolbox';
         
     | 
| 
      
 33 
     | 
    
         
            +
                    }
         
     | 
| 
      
 34 
     | 
    
         
            +
                }
         
     | 
| 
      
 35 
     | 
    
         
            +
                onTool(toolbarItem) {
         
     | 
| 
      
 36 
     | 
    
         
            +
                    if (toolbarItem.disabled)
         
     | 
| 
      
 37 
     | 
    
         
            +
                        return;
         
     | 
| 
      
 38 
     | 
    
         
            +
                    if (toolbarItem.tool === 'link') {
         
     | 
| 
      
 39 
     | 
    
         
            +
                        if (this.type === 'bubble')
         
     | 
| 
      
 40 
     | 
    
         
            +
                            this.isUrlMode = true;
         
     | 
| 
      
 41 
     | 
    
         
            +
                    }
         
     | 
| 
      
 42 
     | 
    
         
            +
                    else {
         
     | 
| 
      
 43 
     | 
    
         
            +
                        this.tool.emit(toolbarItem);
         
     | 
| 
      
 44 
     | 
    
         
            +
                    }
         
     | 
| 
      
 45 
     | 
    
         
            +
                }
         
     | 
| 
      
 46 
     | 
    
         
            +
                onUrl(link) {
         
     | 
| 
      
 47 
     | 
    
         
            +
                    this.tool.emit({ ...this.linkTool, value: link });
         
     | 
| 
      
 48 
     | 
    
         
            +
                    this.closeUrlInput();
         
     | 
| 
      
 49 
     | 
    
         
            +
                }
         
     | 
| 
      
 50 
     | 
    
         
            +
                trackByToolFn(index, item) {
         
     | 
| 
      
 51 
     | 
    
         
            +
                    return item.tool;
         
     | 
| 
      
 52 
     | 
    
         
            +
                }
         
     | 
| 
      
 53 
     | 
    
         
            +
                closeUrlInput() {
         
     | 
| 
      
 54 
     | 
    
         
            +
                    if (this.isUrlMode)
         
     | 
| 
      
 55 
     | 
    
         
            +
                        this.isUrlMode = false;
         
     | 
| 
      
 56 
     | 
    
         
            +
                    else
         
     | 
| 
      
 57 
     | 
    
         
            +
                        this.urlDropdownRef.close();
         
     | 
| 
      
 58 
     | 
    
         
            +
                }
         
     | 
| 
      
 59 
     | 
    
         
            +
                static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: RichtextToolboxCoreComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
         
     | 
| 
      
 60 
     | 
    
         
            +
                static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.6", type: RichtextToolboxCoreComponent, selector: "ask-richtext-toolbox-core", inputs: { toolbarItems: "toolbarItems", type: "type", class: "class" }, outputs: { close: "close", tool: "tool" }, host: { properties: { "class": "this.class" } }, viewQueries: [{ propertyName: "dropdowns", predicate: AskDropdownDirective, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"!isUrlMode; else urlTemplate\">\n  <button\n    class=\"button\"\n    *ngFor=\"let tool of toolbarItems; trackBy: trackByToolFn\"\n    [disabled]=\"tool.disabled\"\n    (click)=\"onTool(tool)\"\n    [askDropdown]=\"tool.tool === 'link' && type === 'topbar' ? urlTemplate : undefined\"\n    positions=\"BOTTOM_LEFT\"\n  >\n    <span\n      class=\"material-icons icon\"\n      [ngClass]=\"{\n      '-selected': tool.selected,\n      '-disabled': tool.disabled,\n      '-bubble': type === 'bubble',\n    }\"\n    >\n      {{ tool.icon }}\n    </span>\n  </button>\n</ng-container>\n\n<ng-template #urlTemplate>\n  <ask-richtext-url-prompt\n    [url]=\"linkTool?.value || ''\"\n    (url)=\"onUrl($event)\"\n    (keydown.escape)=\"closeUrlInput()\"\n  />\n</ng-template>\n", styles: ["@import\"https://cdn.quilljs.com/1.0.0/quill.core.css\";:root{--asksuite-orange: #FF5724;--white: #FFF;--grey-50: #F5F7FA;--grey-100: #E4E7EB;--grey-200: #CBD2D9;--grey-300: #9AA5B1;--grey-400: #7B8794;--grey-500: #616E7C;--grey-600: #52606D;--grey-700: #3E4C59;--grey-800: #2A3042;--grey-900: #1F2933;--yellow-50: #FFF8E2;--yellow-200: #FFECB3;--success-green: #4BAF50;--warning-yellow: #FFC107;--error-red: #E8453E;--shadow: rgba(42, 48, 66, .1607843137);--lightblue-tag: #CDF9F3;--lavender-tag: #D4DAF3;--green-tag: #CEEEAA;--pink-tag: #FBC5FF;--orange-tag: #FED5C9;--purple-tag: #DDBFE5;--yellow-tag: #FFE0B2;--blue-tag: #B2E5FD;--brown-tag: #EFC89C;--whatsapp-green: #68B35D;--facebook-blue: #0084FF;--instagram-pink: #D53E91;--google-blue: #345DC8;--telegram-blue: #34AADF;--telephone-yellow: #FECB00;--primary-background: #FFF;--secondary-background: #EFF3F8;--hover-background: #F5F7FA;--divider-background: #E4E7EB;--font-color-100: #2A3042;--font-color-200: #616E7C;--font-color-300: #9AA5B1}:root{--font-default: $font-default;--font-code: $font-code}:root{--font-xs: $font-xs;--font-sm: $font-sm;--font-md: $font-md;--font-lg: $font-lg;--font-xl: $font-xl;--font-xxl: $font-xxl}:root{--font-weight-regular: $font-weight-regular;--font-weight-medium: $font-weight-medium}:root{--radii-px: $radii-px;--radii-xs: $radii-xs;--radii-sm: $radii-sm;--radii-md: $radii-md;--radii-lg: $radii-lg;--radii-full: $radii-full}.ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scale-in-center{animation:scale-in-center .3s ease-in-out both}@keyframes scale-in-center{0%{transform:scale(0);opacity:1}to{transform:scale(1);opacity:1}}.scale-out-center{animation:scale-out-center .3s ease-in-out both}@keyframes scale-out-center{0%{transform:scale(1);opacity:1}to{transform:scale(0);opacity:1}}.ask-tooltip{background-color:#7b8794;color:#fff;padding:4px;border-radius:8px;position:relative}.ask-tooltip>div{text-align:center!important}.ask-tooltip:after{position:absolute;content:\"\";width:10px;height:10px;background-color:inherit}.ask-tooltip.-above{margin-bottom:4px}.ask-tooltip.-above:after{bottom:-5px;left:50%;transform:translate(-50%) rotate(45deg)}.ask-tooltip.-below{margin-top:4px}.ask-tooltip.-below:after{top:-5px;left:50%;transform:translate(-50%) rotate(45deg)}.ask-tooltip.-after,.ask-tooltip.-right{margin-left:4px}.ask-tooltip.-after:after,.ask-tooltip.-right:after{left:-5px;top:50%;transform:translateY(-50%) rotate(45deg)}.ask-tooltip.-before,.ask-tooltip.-left{margin-right:4px}.ask-tooltip.-before:after,.ask-tooltip.-left:after{right:-5px;top:50%;transform:translateY(-50%) rotate(45deg)}.ask-button{padding:8px 24px;border-radius:6px;border:none;outline:none;height:48px;font-size:1rem;transition:background-color .1s,box-shadow .1s;cursor:pointer;font-weight:500;background:white;color:var(--grey-500)}.ask-button:not(.-primary,.-secondary){box-shadow:0 1px 2px #2a304229}.ask-button:not(.-primary):hover:not(:disabled){box-shadow:0 0 6px #2a304229}.ask-button:hover:not(:disabled){box-shadow:0 0 6px #ff572466}.ask-button:active:not(:disabled){background-color:#f34915}.ask-button:disabled{cursor:not-allowed;background-color:#9aa5b1}.ask-button.-primary{background:#FF5724;color:#fff}.ask-modal-header{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.ask-modal-body{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;padding:20px 24px;max-height:65vh;display:block}.ask-modal-footer{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}.ql-editor{padding:14px 16px;font-size:.875rem;word-break:break-word}.bubble-toolbox{position:absolute;background-color:var(--grey-800);border-radius:8px;z-index:999}.top-toolbox{background-color:var(--grey-100)}.material-icons{font-family:Material Icons;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:\"liga\";-webkit-font-smoothing:antialiased}*{box-sizing:border-box}*,button,select,textarea{font-family:Inter,sans-serif;font-weight:400}input{font-size:1rem}.ask-badge{position:relative}.ask-badge>.badge{position:absolute;display:flex;justify-content:center;align-items:center;background-color:var(--bg-color);color:#fff;font-size:12px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border-radius:50%;box-shadow:0 2px 6px -1px #00000080}.ask-badge>.badge.-primary{--bg-color: var(--asksuite-orange)}.ask-badge>.badge.-secondary{--bg-color: var(--grey-800)}.ask-badge>.badge.-top{top:-10px}.ask-badge>.badge.-bottom{bottom:-10px}.ask-badge>.badge.-left{left:-10px}.ask-badge>.badge.-right{right:-10px}.ask-badge>.badge.-small{width:18px;height:18px;font-size:10px}.ask-badge>.badge.-regular{width:22px;height:22px;font-size:11px}.ask-badge>.badge.-large{width:28px;height:28px;font-size:12px}.ask-dropdown-top-right{margin-left:8px}.ask-dropdown-top-left{margin-right:8px}.ask-dropdown-bottom-right,.ask-dropdown-bottom-left{margin-top:8px}:host{display:flex}.button{background:none;color:inherit;border:none;margin:0;font:inherit;cursor:pointer;outline:inherit;line-height:0;color:#7b8794;padding:8px}.icon.-bubble{color:var(--white)}.icon.-disabled{color:var(--grey-200)}.icon.-selected{color:#ff5724}.icon.-bubble.-disabled{color:var(--grey-600)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.AskDropdownDirective, selector: "[askDropdown]", inputs: ["askDropdown", "dropdownName", "positions", "dropdownDisabled", "dropdownOpenOnHover", "mouseThreshold"], outputs: ["askDropdownOnClose"] }, { kind: "component", type: i3.RichtextUrlPromptComponent, selector: "ask-richtext-url-prompt", inputs: ["url"], outputs: ["url"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
         
     | 
| 
      
 61 
     | 
    
         
            +
            }
         
     | 
| 
      
 62 
     | 
    
         
            +
            i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: RichtextToolboxCoreComponent, decorators: [{
         
     | 
| 
      
 63 
     | 
    
         
            +
                        type: Component,
         
     | 
| 
      
 64 
     | 
    
         
            +
                        args: [{ selector: 'ask-richtext-toolbox-core', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"!isUrlMode; else urlTemplate\">\n  <button\n    class=\"button\"\n    *ngFor=\"let tool of toolbarItems; trackBy: trackByToolFn\"\n    [disabled]=\"tool.disabled\"\n    (click)=\"onTool(tool)\"\n    [askDropdown]=\"tool.tool === 'link' && type === 'topbar' ? urlTemplate : undefined\"\n    positions=\"BOTTOM_LEFT\"\n  >\n    <span\n      class=\"material-icons icon\"\n      [ngClass]=\"{\n      '-selected': tool.selected,\n      '-disabled': tool.disabled,\n      '-bubble': type === 'bubble',\n    }\"\n    >\n      {{ tool.icon }}\n    </span>\n  </button>\n</ng-container>\n\n<ng-template #urlTemplate>\n  <ask-richtext-url-prompt\n    [url]=\"linkTool?.value || ''\"\n    (url)=\"onUrl($event)\"\n    (keydown.escape)=\"closeUrlInput()\"\n  />\n</ng-template>\n", styles: ["@import\"https://cdn.quilljs.com/1.0.0/quill.core.css\";:root{--asksuite-orange: #FF5724;--white: #FFF;--grey-50: #F5F7FA;--grey-100: #E4E7EB;--grey-200: #CBD2D9;--grey-300: #9AA5B1;--grey-400: #7B8794;--grey-500: #616E7C;--grey-600: #52606D;--grey-700: #3E4C59;--grey-800: #2A3042;--grey-900: #1F2933;--yellow-50: #FFF8E2;--yellow-200: #FFECB3;--success-green: #4BAF50;--warning-yellow: #FFC107;--error-red: #E8453E;--shadow: rgba(42, 48, 66, .1607843137);--lightblue-tag: #CDF9F3;--lavender-tag: #D4DAF3;--green-tag: #CEEEAA;--pink-tag: #FBC5FF;--orange-tag: #FED5C9;--purple-tag: #DDBFE5;--yellow-tag: #FFE0B2;--blue-tag: #B2E5FD;--brown-tag: #EFC89C;--whatsapp-green: #68B35D;--facebook-blue: #0084FF;--instagram-pink: #D53E91;--google-blue: #345DC8;--telegram-blue: #34AADF;--telephone-yellow: #FECB00;--primary-background: #FFF;--secondary-background: #EFF3F8;--hover-background: #F5F7FA;--divider-background: #E4E7EB;--font-color-100: #2A3042;--font-color-200: #616E7C;--font-color-300: #9AA5B1}:root{--font-default: $font-default;--font-code: $font-code}:root{--font-xs: $font-xs;--font-sm: $font-sm;--font-md: $font-md;--font-lg: $font-lg;--font-xl: $font-xl;--font-xxl: $font-xxl}:root{--font-weight-regular: $font-weight-regular;--font-weight-medium: $font-weight-medium}:root{--radii-px: $radii-px;--radii-xs: $radii-xs;--radii-sm: $radii-sm;--radii-md: $radii-md;--radii-lg: $radii-lg;--radii-full: $radii-full}.ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scale-in-center{animation:scale-in-center .3s ease-in-out both}@keyframes scale-in-center{0%{transform:scale(0);opacity:1}to{transform:scale(1);opacity:1}}.scale-out-center{animation:scale-out-center .3s ease-in-out both}@keyframes scale-out-center{0%{transform:scale(1);opacity:1}to{transform:scale(0);opacity:1}}.ask-tooltip{background-color:#7b8794;color:#fff;padding:4px;border-radius:8px;position:relative}.ask-tooltip>div{text-align:center!important}.ask-tooltip:after{position:absolute;content:\"\";width:10px;height:10px;background-color:inherit}.ask-tooltip.-above{margin-bottom:4px}.ask-tooltip.-above:after{bottom:-5px;left:50%;transform:translate(-50%) rotate(45deg)}.ask-tooltip.-below{margin-top:4px}.ask-tooltip.-below:after{top:-5px;left:50%;transform:translate(-50%) rotate(45deg)}.ask-tooltip.-after,.ask-tooltip.-right{margin-left:4px}.ask-tooltip.-after:after,.ask-tooltip.-right:after{left:-5px;top:50%;transform:translateY(-50%) rotate(45deg)}.ask-tooltip.-before,.ask-tooltip.-left{margin-right:4px}.ask-tooltip.-before:after,.ask-tooltip.-left:after{right:-5px;top:50%;transform:translateY(-50%) rotate(45deg)}.ask-button{padding:8px 24px;border-radius:6px;border:none;outline:none;height:48px;font-size:1rem;transition:background-color .1s,box-shadow .1s;cursor:pointer;font-weight:500;background:white;color:var(--grey-500)}.ask-button:not(.-primary,.-secondary){box-shadow:0 1px 2px #2a304229}.ask-button:not(.-primary):hover:not(:disabled){box-shadow:0 0 6px #2a304229}.ask-button:hover:not(:disabled){box-shadow:0 0 6px #ff572466}.ask-button:active:not(:disabled){background-color:#f34915}.ask-button:disabled{cursor:not-allowed;background-color:#9aa5b1}.ask-button.-primary{background:#FF5724;color:#fff}.ask-modal-header{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.ask-modal-body{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;padding:20px 24px;max-height:65vh;display:block}.ask-modal-footer{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}.ql-editor{padding:14px 16px;font-size:.875rem;word-break:break-word}.bubble-toolbox{position:absolute;background-color:var(--grey-800);border-radius:8px;z-index:999}.top-toolbox{background-color:var(--grey-100)}.material-icons{font-family:Material Icons;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:\"liga\";-webkit-font-smoothing:antialiased}*{box-sizing:border-box}*,button,select,textarea{font-family:Inter,sans-serif;font-weight:400}input{font-size:1rem}.ask-badge{position:relative}.ask-badge>.badge{position:absolute;display:flex;justify-content:center;align-items:center;background-color:var(--bg-color);color:#fff;font-size:12px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border-radius:50%;box-shadow:0 2px 6px -1px #00000080}.ask-badge>.badge.-primary{--bg-color: var(--asksuite-orange)}.ask-badge>.badge.-secondary{--bg-color: var(--grey-800)}.ask-badge>.badge.-top{top:-10px}.ask-badge>.badge.-bottom{bottom:-10px}.ask-badge>.badge.-left{left:-10px}.ask-badge>.badge.-right{right:-10px}.ask-badge>.badge.-small{width:18px;height:18px;font-size:10px}.ask-badge>.badge.-regular{width:22px;height:22px;font-size:11px}.ask-badge>.badge.-large{width:28px;height:28px;font-size:12px}.ask-dropdown-top-right{margin-left:8px}.ask-dropdown-top-left{margin-right:8px}.ask-dropdown-bottom-right,.ask-dropdown-bottom-left{margin-top:8px}:host{display:flex}.button{background:none;color:inherit;border:none;margin:0;font:inherit;cursor:pointer;outline:inherit;line-height:0;color:#7b8794;padding:8px}.icon.-bubble{color:var(--white)}.icon.-disabled{color:var(--grey-200)}.icon.-selected{color:#ff5724}.icon.-bubble.-disabled{color:var(--grey-600)}\n"] }]
         
     | 
| 
      
 65 
     | 
    
         
            +
                    }], propDecorators: { dropdowns: [{
         
     | 
| 
      
 66 
     | 
    
         
            +
                            type: ViewChildren,
         
     | 
| 
      
 67 
     | 
    
         
            +
                            args: [AskDropdownDirective]
         
     | 
| 
      
 68 
     | 
    
         
            +
                        }], close: [{
         
     | 
| 
      
 69 
     | 
    
         
            +
                            type: Output
         
     | 
| 
      
 70 
     | 
    
         
            +
                        }], tool: [{
         
     | 
| 
      
 71 
     | 
    
         
            +
                            type: Output
         
     | 
| 
      
 72 
     | 
    
         
            +
                        }], toolbarItems: [{
         
     | 
| 
      
 73 
     | 
    
         
            +
                            type: Input
         
     | 
| 
      
 74 
     | 
    
         
            +
                        }], type: [{
         
     | 
| 
      
 75 
     | 
    
         
            +
                            type: Input
         
     | 
| 
      
 76 
     | 
    
         
            +
                        }], class: [{
         
     | 
| 
      
 77 
     | 
    
         
            +
                            type: Input
         
     | 
| 
      
 78 
     | 
    
         
            +
                        }, {
         
     | 
| 
      
 79 
     | 
    
         
            +
                            type: HostBinding,
         
     | 
| 
      
 80 
     | 
    
         
            +
                            args: ['class']
         
     | 
| 
      
 81 
     | 
    
         
            +
                        }] } });
         
     | 
| 
      
 82 
     | 
    
         
            +
            //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmljaHRleHQtdG9vbGJveC1jb3JlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fza3N1aXRlLWNpdHJ1cy9zcmMvbGliL2NvbXBvbmVudHMvcmlja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idWJibGUnLFxuICAgIH1cIlxuICAgID5cbiAgICAgIHt7IHRvb2wuaWNvbiB9fVxuICAgIDwvc3Bhbj5cbiAgPC9idXR0b24+XG48L25nLWNvbnRhaW5lcj5cblxuPG5nLXRlbXBsYXRlICN1cmxUZW1wbGF0ZT5cbiAgPGFzay1yaWNodGV4dC11cmwtcHJvbXB0XG4gICAgW3VybF09XCJsaW5rVG9vbD8udmFsdWUgfHwgJydcIlxuICAgICh1cmwpPVwib25VcmwoJGV2ZW50KVwiXG4gICAgKGtleWRvd24uZXNjYXBlKT1cImNsb3NlVXJsSW5wdXQoKVwiXG4gIC8+XG48L25nLXRlbXBsYXRlPlxuIl19
         
     | 
| 
         @@ -0,0 +1,16 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            import { Injectable } from '@angular/core';
         
     | 
| 
      
 2 
     | 
    
         
            +
            import * as i0 from "@angular/core";
         
     | 
| 
      
 3 
     | 
    
         
            +
            export class RichtextUrlPromptStateService {
         
     | 
| 
      
 4 
     | 
    
         
            +
                constructor() {
         
     | 
| 
      
 5 
     | 
    
         
            +
                    this.urlText = '';
         
     | 
| 
      
 6 
     | 
    
         
            +
                }
         
     | 
| 
      
 7 
     | 
    
         
            +
                static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: RichtextUrlPromptStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
         
     | 
| 
      
 8 
     | 
    
         
            +
                static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: RichtextUrlPromptStateService, providedIn: 'root' }); }
         
     | 
| 
      
 9 
     | 
    
         
            +
            }
         
     | 
| 
      
 10 
     | 
    
         
            +
            i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: RichtextUrlPromptStateService, decorators: [{
         
     | 
| 
      
 11 
     | 
    
         
            +
                        type: Injectable,
         
     | 
| 
      
 12 
     | 
    
         
            +
                        args: [{
         
     | 
| 
      
 13 
     | 
    
         
            +
                                providedIn: 'root'
         
     | 
| 
      
 14 
     | 
    
         
            +
                            }]
         
     | 
| 
      
 15 
     | 
    
         
            +
                    }] });
         
     | 
| 
      
 16 
     | 
    
         
            +
            //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmljaHRleHQtdXJsLXByb21wdC1zdGF0ZS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYXNrc3VpdGUtY2l0cnVzL3NyYy9saWIvY29tcG9uZW50cy9yaWNodGV4dC11cmwtcHJvbXB0L3JpY2h0ZXh0LXVybC1wcm9tcHQtc3RhdGUuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQUszQyxNQUFNLE9BQU8sNkJBQTZCO0lBSDFDO1FBSVMsWUFBTyxHQUFXLEVBQUUsQ0FBQztLQUM3Qjs4R0FGWSw2QkFBNkI7a0hBQTdCLDZCQUE2QixjQUY1QixNQUFNOzsyRkFFUCw2QkFBNkI7a0JBSHpDLFVBQVU7bUJBQUM7b0JBQ1YsVUFBVSxFQUFFLE1BQU07aUJBQ25CIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0YWJsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5ASW5qZWN0YWJsZSh7XG4gIHByb3ZpZGVkSW46ICdyb290J1xufSlcbmV4cG9ydCBjbGFzcyBSaWNodGV4dFVybFByb21wdFN0YXRlU2VydmljZSB7XG4gIHB1YmxpYyB1cmxUZXh0OiBzdHJpbmcgPSAnJztcbn1cbiJdfQ==
         
     | 
| 
         @@ -0,0 +1,66 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, ViewChild, } from '@angular/core';
         
     | 
| 
      
 2 
     | 
    
         
            +
            import { FormControl, Validators } from '@angular/forms';
         
     | 
| 
      
 3 
     | 
    
         
            +
            import { URL_REGEX } from '../../constants/url-regex.constant';
         
     | 
| 
      
 4 
     | 
    
         
            +
            import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
         
     | 
| 
      
 5 
     | 
    
         
            +
            import * as i0 from "@angular/core";
         
     | 
| 
      
 6 
     | 
    
         
            +
            import * as i1 from "./richtext-url-prompt-state.service";
         
     | 
| 
      
 7 
     | 
    
         
            +
            import * as i2 from "@angular/forms";
         
     | 
| 
      
 8 
     | 
    
         
            +
            import * as i3 from "@ngx-translate/core";
         
     | 
| 
      
 9 
     | 
    
         
            +
            export class RichtextUrlPromptComponent {
         
     | 
| 
      
 10 
     | 
    
         
            +
                set _url(url) {
         
     | 
| 
      
 11 
     | 
    
         
            +
                    if (document.activeElement === this.inputEl?.nativeElement)
         
     | 
| 
      
 12 
     | 
    
         
            +
                        return;
         
     | 
| 
      
 13 
     | 
    
         
            +
                    if (url)
         
     | 
| 
      
 14 
     | 
    
         
            +
                        this.isPreset = true;
         
     | 
| 
      
 15 
     | 
    
         
            +
                    url = url || this.state.urlText;
         
     | 
| 
      
 16 
     | 
    
         
            +
                    this.formControl.setValue(url, { emitEvent: false });
         
     | 
| 
      
 17 
     | 
    
         
            +
                }
         
     | 
| 
      
 18 
     | 
    
         
            +
                get isValid() {
         
     | 
| 
      
 19 
     | 
    
         
            +
                    if (this.isPreset)
         
     | 
| 
      
 20 
     | 
    
         
            +
                        return true;
         
     | 
| 
      
 21 
     | 
    
         
            +
                    return this.formControl.valid && this.formControl.dirty;
         
     | 
| 
      
 22 
     | 
    
         
            +
                }
         
     | 
| 
      
 23 
     | 
    
         
            +
                constructor(destroyRef, state) {
         
     | 
| 
      
 24 
     | 
    
         
            +
                    this.destroyRef = destroyRef;
         
     | 
| 
      
 25 
     | 
    
         
            +
                    this.state = state;
         
     | 
| 
      
 26 
     | 
    
         
            +
                    this.isPreset = false;
         
     | 
| 
      
 27 
     | 
    
         
            +
                    this.url = new EventEmitter();
         
     | 
| 
      
 28 
     | 
    
         
            +
                    this.formControl = new FormControl('', {
         
     | 
| 
      
 29 
     | 
    
         
            +
                        nonNullable: true,
         
     | 
| 
      
 30 
     | 
    
         
            +
                        validators: [Validators.required, Validators.pattern(URL_REGEX)],
         
     | 
| 
      
 31 
     | 
    
         
            +
                    });
         
     | 
| 
      
 32 
     | 
    
         
            +
                    this.formControl.valueChanges
         
     | 
| 
      
 33 
     | 
    
         
            +
                        .pipe(takeUntilDestroyed(this.destroyRef))
         
     | 
| 
      
 34 
     | 
    
         
            +
                        .subscribe((value) => {
         
     | 
| 
      
 35 
     | 
    
         
            +
                        state.urlText = value;
         
     | 
| 
      
 36 
     | 
    
         
            +
                        this.isPreset = false;
         
     | 
| 
      
 37 
     | 
    
         
            +
                    });
         
     | 
| 
      
 38 
     | 
    
         
            +
                }
         
     | 
| 
      
 39 
     | 
    
         
            +
                onSubmit(event) {
         
     | 
| 
      
 40 
     | 
    
         
            +
                    event.preventDefault();
         
     | 
| 
      
 41 
     | 
    
         
            +
                    if (!this.isValid)
         
     | 
| 
      
 42 
     | 
    
         
            +
                        return;
         
     | 
| 
      
 43 
     | 
    
         
            +
                    if (this.isPreset)
         
     | 
| 
      
 44 
     | 
    
         
            +
                        this.formControl.setValue('', { emitEvent: false });
         
     | 
| 
      
 45 
     | 
    
         
            +
                    this.state.urlText = '';
         
     | 
| 
      
 46 
     | 
    
         
            +
                    this.url.emit(this.formControl.value);
         
     | 
| 
      
 47 
     | 
    
         
            +
                }
         
     | 
| 
      
 48 
     | 
    
         
            +
                ngAfterViewInit() {
         
     | 
| 
      
 49 
     | 
    
         
            +
                    this.inputEl.nativeElement.focus();
         
     | 
| 
      
 50 
     | 
    
         
            +
                }
         
     | 
| 
      
 51 
     | 
    
         
            +
                static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: RichtextUrlPromptComponent, deps: [{ token: i0.DestroyRef }, { token: i1.RichtextUrlPromptStateService }], target: i0.ɵɵFactoryTarget.Component }); }
         
     | 
| 
      
 52 
     | 
    
         
            +
                static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.6", type: RichtextUrlPromptComponent, selector: "ask-richtext-url-prompt", inputs: { _url: ["url", "_url"] }, outputs: { url: "url" }, viewQueries: [{ propertyName: "inputEl", first: true, predicate: ["input"], descendants: true }], ngImport: i0, template: "<input\n  #input\n  placeholder=\"https://asksuite.com\"\n  class=\"input\"\n  [formControl]=\"formControl\"\n  (keydown.enter)=\"onSubmit($event);\"\n/>\n<button\n  [disabled]=\"!isValid\"\n  class=\"save\"\n  (click)=\"onSubmit($event)\"\n>\n  {{ (isPreset ? 'CLEAR' : 'SAVE') | translate}}\n</button>\n", styles: ["@import\"https://cdn.quilljs.com/1.0.0/quill.core.css\";:root{--asksuite-orange: #FF5724;--white: #FFF;--grey-50: #F5F7FA;--grey-100: #E4E7EB;--grey-200: #CBD2D9;--grey-300: #9AA5B1;--grey-400: #7B8794;--grey-500: #616E7C;--grey-600: #52606D;--grey-700: #3E4C59;--grey-800: #2A3042;--grey-900: #1F2933;--yellow-50: #FFF8E2;--yellow-200: #FFECB3;--success-green: #4BAF50;--warning-yellow: #FFC107;--error-red: #E8453E;--shadow: rgba(42, 48, 66, .1607843137);--lightblue-tag: #CDF9F3;--lavender-tag: #D4DAF3;--green-tag: #CEEEAA;--pink-tag: #FBC5FF;--orange-tag: #FED5C9;--purple-tag: #DDBFE5;--yellow-tag: #FFE0B2;--blue-tag: #B2E5FD;--brown-tag: #EFC89C;--whatsapp-green: #68B35D;--facebook-blue: #0084FF;--instagram-pink: #D53E91;--google-blue: #345DC8;--telegram-blue: #34AADF;--telephone-yellow: #FECB00;--primary-background: #FFF;--secondary-background: #EFF3F8;--hover-background: #F5F7FA;--divider-background: #E4E7EB;--font-color-100: #2A3042;--font-color-200: #616E7C;--font-color-300: #9AA5B1}:root{--font-default: $font-default;--font-code: $font-code}:root{--font-xs: $font-xs;--font-sm: $font-sm;--font-md: $font-md;--font-lg: $font-lg;--font-xl: $font-xl;--font-xxl: $font-xxl}:root{--font-weight-regular: $font-weight-regular;--font-weight-medium: $font-weight-medium}:root{--radii-px: $radii-px;--radii-xs: $radii-xs;--radii-sm: $radii-sm;--radii-md: $radii-md;--radii-lg: $radii-lg;--radii-full: $radii-full}.ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scale-in-center{animation:scale-in-center .3s ease-in-out both}@keyframes scale-in-center{0%{transform:scale(0);opacity:1}to{transform:scale(1);opacity:1}}.scale-out-center{animation:scale-out-center .3s ease-in-out both}@keyframes scale-out-center{0%{transform:scale(1);opacity:1}to{transform:scale(0);opacity:1}}.ask-tooltip{background-color:#7b8794;color:#fff;padding:4px;border-radius:8px;position:relative}.ask-tooltip>div{text-align:center!important}.ask-tooltip:after{position:absolute;content:\"\";width:10px;height:10px;background-color:inherit}.ask-tooltip.-above{margin-bottom:4px}.ask-tooltip.-above:after{bottom:-5px;left:50%;transform:translate(-50%) rotate(45deg)}.ask-tooltip.-below{margin-top:4px}.ask-tooltip.-below:after{top:-5px;left:50%;transform:translate(-50%) rotate(45deg)}.ask-tooltip.-after,.ask-tooltip.-right{margin-left:4px}.ask-tooltip.-after:after,.ask-tooltip.-right:after{left:-5px;top:50%;transform:translateY(-50%) rotate(45deg)}.ask-tooltip.-before,.ask-tooltip.-left{margin-right:4px}.ask-tooltip.-before:after,.ask-tooltip.-left:after{right:-5px;top:50%;transform:translateY(-50%) rotate(45deg)}.ask-button{padding:8px 24px;border-radius:6px;border:none;outline:none;height:48px;font-size:1rem;transition:background-color .1s,box-shadow .1s;cursor:pointer;font-weight:500;background:white;color:var(--grey-500)}.ask-button:not(.-primary,.-secondary){box-shadow:0 1px 2px #2a304229}.ask-button:not(.-primary):hover:not(:disabled){box-shadow:0 0 6px #2a304229}.ask-button:hover:not(:disabled){box-shadow:0 0 6px #ff572466}.ask-button:active:not(:disabled){background-color:#f34915}.ask-button:disabled{cursor:not-allowed;background-color:#9aa5b1}.ask-button.-primary{background:#FF5724;color:#fff}.ask-modal-header{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.ask-modal-body{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;padding:20px 24px;max-height:65vh;display:block}.ask-modal-footer{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}.ql-editor{padding:14px 16px;font-size:.875rem;word-break:break-word}.bubble-toolbox{position:absolute;background-color:var(--grey-800);border-radius:8px;z-index:999}.top-toolbox{background-color:var(--grey-100)}.material-icons{font-family:Material Icons;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:\"liga\";-webkit-font-smoothing:antialiased}*{box-sizing:border-box}*,button,select,textarea{font-family:Inter,sans-serif;font-weight:400}input{font-size:1rem}.ask-badge{position:relative}.ask-badge>.badge{position:absolute;display:flex;justify-content:center;align-items:center;background-color:var(--bg-color);color:#fff;font-size:12px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border-radius:50%;box-shadow:0 2px 6px -1px #00000080}.ask-badge>.badge.-primary{--bg-color: var(--asksuite-orange)}.ask-badge>.badge.-secondary{--bg-color: var(--grey-800)}.ask-badge>.badge.-top{top:-10px}.ask-badge>.badge.-bottom{bottom:-10px}.ask-badge>.badge.-left{left:-10px}.ask-badge>.badge.-right{right:-10px}.ask-badge>.badge.-small{width:18px;height:18px;font-size:10px}.ask-badge>.badge.-regular{width:22px;height:22px;font-size:11px}.ask-badge>.badge.-large{width:28px;height:28px;font-size:12px}.ask-dropdown-top-right{margin-left:8px}.ask-dropdown-top-left{margin-right:8px}.ask-dropdown-bottom-right,.ask-dropdown-bottom-left{margin-top:8px}:host{display:flex;gap:16px;align-items:center;background-color:var(--grey-800);padding:10px 16px;border-radius:8px}:host>.input{border:none;outline:none;background-color:transparent;font-size:14px;line-height:20px;color:#fff;text-overflow:ellipsis}:host>.input ::placeholder{color:#9aa5b1}:host>.save{background:none;color:inherit;border:none;padding:0;margin:0;font:inherit;cursor:pointer;outline:inherit;line-height:0;background-color:transparent;color:#ff5724;font-weight:500;line-height:20px}:host>.save[disabled]{color:#9aa5b1;cursor:not-allowed}\n"], dependencies: [{ kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
         
     | 
| 
      
 53 
     | 
    
         
            +
            }
         
     | 
| 
      
 54 
     | 
    
         
            +
            i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: RichtextUrlPromptComponent, decorators: [{
         
     | 
| 
      
 55 
     | 
    
         
            +
                        type: Component,
         
     | 
| 
      
 56 
     | 
    
         
            +
                        args: [{ selector: 'ask-richtext-url-prompt', changeDetection: ChangeDetectionStrategy.OnPush, template: "<input\n  #input\n  placeholder=\"https://asksuite.com\"\n  class=\"input\"\n  [formControl]=\"formControl\"\n  (keydown.enter)=\"onSubmit($event);\"\n/>\n<button\n  [disabled]=\"!isValid\"\n  class=\"save\"\n  (click)=\"onSubmit($event)\"\n>\n  {{ (isPreset ? 'CLEAR' : 'SAVE') | translate}}\n</button>\n", styles: ["@import\"https://cdn.quilljs.com/1.0.0/quill.core.css\";:root{--asksuite-orange: #FF5724;--white: #FFF;--grey-50: #F5F7FA;--grey-100: #E4E7EB;--grey-200: #CBD2D9;--grey-300: #9AA5B1;--grey-400: #7B8794;--grey-500: #616E7C;--grey-600: #52606D;--grey-700: #3E4C59;--grey-800: #2A3042;--grey-900: #1F2933;--yellow-50: #FFF8E2;--yellow-200: #FFECB3;--success-green: #4BAF50;--warning-yellow: #FFC107;--error-red: #E8453E;--shadow: rgba(42, 48, 66, .1607843137);--lightblue-tag: #CDF9F3;--lavender-tag: #D4DAF3;--green-tag: #CEEEAA;--pink-tag: #FBC5FF;--orange-tag: #FED5C9;--purple-tag: #DDBFE5;--yellow-tag: #FFE0B2;--blue-tag: #B2E5FD;--brown-tag: #EFC89C;--whatsapp-green: #68B35D;--facebook-blue: #0084FF;--instagram-pink: #D53E91;--google-blue: #345DC8;--telegram-blue: #34AADF;--telephone-yellow: #FECB00;--primary-background: #FFF;--secondary-background: #EFF3F8;--hover-background: #F5F7FA;--divider-background: #E4E7EB;--font-color-100: #2A3042;--font-color-200: #616E7C;--font-color-300: #9AA5B1}:root{--font-default: $font-default;--font-code: $font-code}:root{--font-xs: $font-xs;--font-sm: $font-sm;--font-md: $font-md;--font-lg: $font-lg;--font-xl: $font-xl;--font-xxl: $font-xxl}:root{--font-weight-regular: $font-weight-regular;--font-weight-medium: $font-weight-medium}:root{--radii-px: $radii-px;--radii-xs: $radii-xs;--radii-sm: $radii-sm;--radii-md: $radii-md;--radii-lg: $radii-lg;--radii-full: $radii-full}.ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scale-in-center{animation:scale-in-center .3s ease-in-out both}@keyframes scale-in-center{0%{transform:scale(0);opacity:1}to{transform:scale(1);opacity:1}}.scale-out-center{animation:scale-out-center .3s ease-in-out both}@keyframes scale-out-center{0%{transform:scale(1);opacity:1}to{transform:scale(0);opacity:1}}.ask-tooltip{background-color:#7b8794;color:#fff;padding:4px;border-radius:8px;position:relative}.ask-tooltip>div{text-align:center!important}.ask-tooltip:after{position:absolute;content:\"\";width:10px;height:10px;background-color:inherit}.ask-tooltip.-above{margin-bottom:4px}.ask-tooltip.-above:after{bottom:-5px;left:50%;transform:translate(-50%) rotate(45deg)}.ask-tooltip.-below{margin-top:4px}.ask-tooltip.-below:after{top:-5px;left:50%;transform:translate(-50%) rotate(45deg)}.ask-tooltip.-after,.ask-tooltip.-right{margin-left:4px}.ask-tooltip.-after:after,.ask-tooltip.-right:after{left:-5px;top:50%;transform:translateY(-50%) rotate(45deg)}.ask-tooltip.-before,.ask-tooltip.-left{margin-right:4px}.ask-tooltip.-before:after,.ask-tooltip.-left:after{right:-5px;top:50%;transform:translateY(-50%) rotate(45deg)}.ask-button{padding:8px 24px;border-radius:6px;border:none;outline:none;height:48px;font-size:1rem;transition:background-color .1s,box-shadow .1s;cursor:pointer;font-weight:500;background:white;color:var(--grey-500)}.ask-button:not(.-primary,.-secondary){box-shadow:0 1px 2px #2a304229}.ask-button:not(.-primary):hover:not(:disabled){box-shadow:0 0 6px #2a304229}.ask-button:hover:not(:disabled){box-shadow:0 0 6px #ff572466}.ask-button:active:not(:disabled){background-color:#f34915}.ask-button:disabled{cursor:not-allowed;background-color:#9aa5b1}.ask-button.-primary{background:#FF5724;color:#fff}.ask-modal-header{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.ask-modal-body{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;padding:20px 24px;max-height:65vh;display:block}.ask-modal-footer{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}.ql-editor{padding:14px 16px;font-size:.875rem;word-break:break-word}.bubble-toolbox{position:absolute;background-color:var(--grey-800);border-radius:8px;z-index:999}.top-toolbox{background-color:var(--grey-100)}.material-icons{font-family:Material Icons;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:\"liga\";-webkit-font-smoothing:antialiased}*{box-sizing:border-box}*,button,select,textarea{font-family:Inter,sans-serif;font-weight:400}input{font-size:1rem}.ask-badge{position:relative}.ask-badge>.badge{position:absolute;display:flex;justify-content:center;align-items:center;background-color:var(--bg-color);color:#fff;font-size:12px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border-radius:50%;box-shadow:0 2px 6px -1px #00000080}.ask-badge>.badge.-primary{--bg-color: var(--asksuite-orange)}.ask-badge>.badge.-secondary{--bg-color: var(--grey-800)}.ask-badge>.badge.-top{top:-10px}.ask-badge>.badge.-bottom{bottom:-10px}.ask-badge>.badge.-left{left:-10px}.ask-badge>.badge.-right{right:-10px}.ask-badge>.badge.-small{width:18px;height:18px;font-size:10px}.ask-badge>.badge.-regular{width:22px;height:22px;font-size:11px}.ask-badge>.badge.-large{width:28px;height:28px;font-size:12px}.ask-dropdown-top-right{margin-left:8px}.ask-dropdown-top-left{margin-right:8px}.ask-dropdown-bottom-right,.ask-dropdown-bottom-left{margin-top:8px}:host{display:flex;gap:16px;align-items:center;background-color:var(--grey-800);padding:10px 16px;border-radius:8px}:host>.input{border:none;outline:none;background-color:transparent;font-size:14px;line-height:20px;color:#fff;text-overflow:ellipsis}:host>.input ::placeholder{color:#9aa5b1}:host>.save{background:none;color:inherit;border:none;padding:0;margin:0;font:inherit;cursor:pointer;outline:inherit;line-height:0;background-color:transparent;color:#ff5724;font-weight:500;line-height:20px}:host>.save[disabled]{color:#9aa5b1;cursor:not-allowed}\n"] }]
         
     | 
| 
      
 57 
     | 
    
         
            +
                    }], ctorParameters: function () { return [{ type: i0.DestroyRef }, { type: i1.RichtextUrlPromptStateService }]; }, propDecorators: { inputEl: [{
         
     | 
| 
      
 58 
     | 
    
         
            +
                            type: ViewChild,
         
     | 
| 
      
 59 
     | 
    
         
            +
                            args: ['input']
         
     | 
| 
      
 60 
     | 
    
         
            +
                        }], _url: [{
         
     | 
| 
      
 61 
     | 
    
         
            +
                            type: Input,
         
     | 
| 
      
 62 
     | 
    
         
            +
                            args: [{ alias: 'url' }]
         
     | 
| 
      
 63 
     | 
    
         
            +
                        }], url: [{
         
     | 
| 
      
 64 
     | 
    
         
            +
                            type: Output
         
     | 
| 
      
 65 
     | 
    
         
            +
                        }] } });
         
     | 
| 
      
 66 
     | 
    
         
            +
            //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmljaHRleHQtdXJsLXByb21wdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hc2tzdWl0ZS1jaXRydXMvc3JjL2xpYi9jb21wb25lbnRzL3JpY2h0ZXh0LXVybC1wcm9tcHQvcmljaHRleHQtdXJsLXByb21wdC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hc2tzdWl0ZS1jaXRydXMvc3JjL2xpYi9jb21wb25lbnRzL3JpY2h0ZXh0LXVybC1wcm9tcHQvcmljaHRleHQtdXJsLXByb21wdC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFHVCxZQUFZLEVBQ1osS0FBSyxFQUNMLE1BQU0sRUFDTixTQUFTLEdBQ1YsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLFdBQVcsRUFBRSxVQUFVLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUN6RCxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sb0NBQW9DLENBQUM7QUFDL0QsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sNEJBQTRCLENBQU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C5zdWJzY3JpYmUoKHZhbHVlKSA9PiB7XG4gICAgICAgIHN0YXRlLnVybFRleHQgPSB2YWx1ZTtcbiAgICAgICAgdGhpcy5pc1ByZXNldCA9IGZhbHNlO1xuICAgICAgfSk7XG4gIH1cblxuICBvblN1Ym1pdChldmVudDogRXZlbnQpIHtcbiAgICBldmVudC5wcmV2ZW50RGVmYXVsdCgpO1xuICAgIGlmICghdGhpcy5pc1ZhbGlkKSByZXR1cm47XG5cbiAgICBpZih0aGlzLmlzUHJlc2V0KSB0aGlzLmZvcm1Db250cm9sLnNldFZhbHVlKCcnLCB7ZW1pdEV2ZW50OiBmYWxzZX0pO1xuXG4gICAgdGhpcy5zdGF0ZS51cmxUZXh0ID0gJyc7XG4gICAgdGhpcy51cmwuZW1pdCh0aGlzLmZvcm1Db250cm9sLnZhbHVlKTtcbiAgfVxuXG4gIG5nQWZ0ZXJWaWV3SW5pdCgpIHtcbiAgICB0aGlzLmlucHV0RWwhLm5hdGl2ZUVsZW1lbnQuZm9jdXMoKTtcbiAgfVxufVxuIiwiPGlucHV0XG4gICNpbnB1dFxuICBwbGFjZWhvbGRlcj1cImh0dHBzOi8vYXNrc3VpdGUuY29tXCJcbiAgY2xhc3M9XCJpbnB1dFwiXG4gIFtmb3JtQ29udHJvbF09XCJmb3JtQ29udHJvbFwiXG4gIChrZXlkb3duLmVudGVyKT1cIm9uU3VibWl0KCRldmVudCk7XCJcbi8+XG48YnV0dG9uXG4gIFtkaXNhYmxlZF09XCIhaXNWYWxpZFwiXG4gIGNsYXNzPVwic2F2ZVwiXG4gIChjbGljayk9XCJvblN1Ym1pdCgkZXZlbnQpXCJcbj5cbiAge3sgKGlzUHJlc2V0ID8gJ0NMRUFSJyA6ICdTQVZFJykgfCB0cmFuc2xhdGV9fVxuPC9idXR0b24+XG4iXX0=
         
     | 
| 
         @@ -65,11 +65,11 @@ export class SelectComponent { 
     | 
|
| 
       65 
65 
     | 
    
         
             
                    this.onTouch = fn;
         
     | 
| 
       66 
66 
     | 
    
         
             
                }
         
     | 
| 
       67 
67 
     | 
    
         
             
                static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: SelectComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
         
     | 
| 
       68 
     | 
    
         
            -
                static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.6", type: SelectComponent, selector: "ask-select", inputs: { value: "value", options: "options", maxItems: "maxItems", showNoneOption: "showNoneOption", selectAnOptionLabel: "selectAnOptionLabel", noOptionLabel: "noOptionLabel", noneLabel: "noneLabel" }, outputs: { valueChange: "valueChange" }, host: { listeners: { "document:click": "clickOut($event)" } }, providers: [valueAccessor], ngImport: i0, template: "<div\n  class=\"select-container\"\n  (click)=\"handleSelectClick()\"\n>\n  <select [hidden]=\"true\"></select>\n\n  <span class=\"label\">{{ selectedOption?.label || selectAnOptionLabel }}</span>\n  <span class=\"material-icons arrow\">arrow_drop_down</span>\n\n  <div\n    *ngIf=\"showList\"\n    class=\"options-list\"\n    [style.max-height]=\"listMaxHeight + 'px'\"\n  >\n    <!-- No options available -->\n    <div\n      *ngIf=\"!options?.length\"\n      class=\"option\"\n    >\n      {{ noOptionLabel }}\n    </div>\n\n    <div\n      *ngIf=\"showNoneOption && options?.length\"\n      class=\"option\"\n      (click)=\"handleOptionClick(undefined)\"\n    >\n      {{ noneLabel }}\n    </div>\n\n    <div\n      *ngFor=\"let option of options\"\n      class=\"option\"\n      (click)=\"handleOptionClick(option)\"\n    >\n      {{ option.label }}\n    </div>\n  </div>\n</div>\n", styles: [" 
     | 
| 
      
 68 
     | 
    
         
            +
                static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.6", type: SelectComponent, selector: "ask-select", inputs: { value: "value", options: "options", maxItems: "maxItems", showNoneOption: "showNoneOption", selectAnOptionLabel: "selectAnOptionLabel", noOptionLabel: "noOptionLabel", noneLabel: "noneLabel" }, outputs: { valueChange: "valueChange" }, host: { listeners: { "document:click": "clickOut($event)" } }, providers: [valueAccessor], ngImport: i0, template: "<div\n  class=\"select-container\"\n  (click)=\"handleSelectClick()\"\n>\n  <select [hidden]=\"true\"></select>\n\n  <span class=\"label\">{{ selectedOption?.label || selectAnOptionLabel }}</span>\n  <span class=\"material-icons arrow\">arrow_drop_down</span>\n\n  <div\n    *ngIf=\"showList\"\n    class=\"options-list\"\n    [style.max-height]=\"listMaxHeight + 'px'\"\n  >\n    <!-- No options available -->\n    <div\n      *ngIf=\"!options?.length\"\n      class=\"option\"\n    >\n      {{ noOptionLabel }}\n    </div>\n\n    <div\n      *ngIf=\"showNoneOption && options?.length\"\n      class=\"option\"\n      (click)=\"handleOptionClick(undefined)\"\n    >\n      {{ noneLabel }}\n    </div>\n\n    <div\n      *ngFor=\"let option of options\"\n      class=\"option\"\n      (click)=\"handleOptionClick(option)\"\n    >\n      {{ option.label }}\n    </div>\n  </div>\n</div>\n", styles: ["@import\"https://cdn.quilljs.com/1.0.0/quill.core.css\";:root{--asksuite-orange: #FF5724;--white: #FFF;--grey-50: #F5F7FA;--grey-100: #E4E7EB;--grey-200: #CBD2D9;--grey-300: #9AA5B1;--grey-400: #7B8794;--grey-500: #616E7C;--grey-600: #52606D;--grey-700: #3E4C59;--grey-800: #2A3042;--grey-900: #1F2933;--yellow-50: #FFF8E2;--yellow-200: #FFECB3;--success-green: #4BAF50;--warning-yellow: #FFC107;--error-red: #E8453E;--shadow: rgba(42, 48, 66, .1607843137);--lightblue-tag: #CDF9F3;--lavender-tag: #D4DAF3;--green-tag: #CEEEAA;--pink-tag: #FBC5FF;--orange-tag: #FED5C9;--purple-tag: #DDBFE5;--yellow-tag: #FFE0B2;--blue-tag: #B2E5FD;--brown-tag: #EFC89C;--whatsapp-green: #68B35D;--facebook-blue: #0084FF;--instagram-pink: #D53E91;--google-blue: #345DC8;--telegram-blue: #34AADF;--telephone-yellow: #FECB00;--primary-background: #FFF;--secondary-background: #EFF3F8;--hover-background: #F5F7FA;--divider-background: #E4E7EB;--font-color-100: #2A3042;--font-color-200: #616E7C;--font-color-300: #9AA5B1}:root{--font-default: $font-default;--font-code: $font-code}:root{--font-xs: $font-xs;--font-sm: $font-sm;--font-md: $font-md;--font-lg: $font-lg;--font-xl: $font-xl;--font-xxl: $font-xxl}:root{--font-weight-regular: $font-weight-regular;--font-weight-medium: $font-weight-medium}:root{--radii-px: $radii-px;--radii-xs: $radii-xs;--radii-sm: $radii-sm;--radii-md: $radii-md;--radii-lg: $radii-lg;--radii-full: $radii-full}.ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scale-in-center{animation:scale-in-center .3s ease-in-out both}@keyframes scale-in-center{0%{transform:scale(0);opacity:1}to{transform:scale(1);opacity:1}}.scale-out-center{animation:scale-out-center .3s ease-in-out both}@keyframes scale-out-center{0%{transform:scale(1);opacity:1}to{transform:scale(0);opacity:1}}.ask-tooltip{background-color:#7b8794;color:#fff;padding:4px;border-radius:8px;position:relative}.ask-tooltip>div{text-align:center!important}.ask-tooltip:after{position:absolute;content:\"\";width:10px;height:10px;background-color:inherit}.ask-tooltip.-above{margin-bottom:4px}.ask-tooltip.-above:after{bottom:-5px;left:50%;transform:translate(-50%) rotate(45deg)}.ask-tooltip.-below{margin-top:4px}.ask-tooltip.-below:after{top:-5px;left:50%;transform:translate(-50%) rotate(45deg)}.ask-tooltip.-after,.ask-tooltip.-right{margin-left:4px}.ask-tooltip.-after:after,.ask-tooltip.-right:after{left:-5px;top:50%;transform:translateY(-50%) rotate(45deg)}.ask-tooltip.-before,.ask-tooltip.-left{margin-right:4px}.ask-tooltip.-before:after,.ask-tooltip.-left:after{right:-5px;top:50%;transform:translateY(-50%) rotate(45deg)}.ask-button{padding:8px 24px;border-radius:6px;border:none;outline:none;height:48px;font-size:1rem;transition:background-color .1s,box-shadow .1s;cursor:pointer;font-weight:500;background:white;color:var(--grey-500)}.ask-button:not(.-primary,.-secondary){box-shadow:0 1px 2px #2a304229}.ask-button:not(.-primary):hover:not(:disabled){box-shadow:0 0 6px #2a304229}.ask-button:hover:not(:disabled){box-shadow:0 0 6px #ff572466}.ask-button:active:not(:disabled){background-color:#f34915}.ask-button:disabled{cursor:not-allowed;background-color:#9aa5b1}.ask-button.-primary{background:#FF5724;color:#fff}.ask-modal-header{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.ask-modal-body{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;padding:20px 24px;max-height:65vh;display:block}.ask-modal-footer{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}.ql-editor{padding:14px 16px;font-size:.875rem;word-break:break-word}.bubble-toolbox{position:absolute;background-color:var(--grey-800);border-radius:8px;z-index:999}.top-toolbox{background-color:var(--grey-100)}.material-icons{font-family:Material Icons;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:\"liga\";-webkit-font-smoothing:antialiased}*{box-sizing:border-box}*,button,select,textarea{font-family:Inter,sans-serif;font-weight:400}input{font-size:1rem}.ask-badge{position:relative}.ask-badge>.badge{position:absolute;display:flex;justify-content:center;align-items:center;background-color:var(--bg-color);color:#fff;font-size:12px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border-radius:50%;box-shadow:0 2px 6px -1px #00000080}.ask-badge>.badge.-primary{--bg-color: var(--asksuite-orange)}.ask-badge>.badge.-secondary{--bg-color: var(--grey-800)}.ask-badge>.badge.-top{top:-10px}.ask-badge>.badge.-bottom{bottom:-10px}.ask-badge>.badge.-left{left:-10px}.ask-badge>.badge.-right{right:-10px}.ask-badge>.badge.-small{width:18px;height:18px;font-size:10px}.ask-badge>.badge.-regular{width:22px;height:22px;font-size:11px}.ask-badge>.badge.-large{width:28px;height:28px;font-size:12px}.ask-dropdown-top-right{margin-left:8px}.ask-dropdown-top-left{margin-right:8px}.ask-dropdown-bottom-right,.ask-dropdown-bottom-left{margin-top:8px}.select-container{position:relative;display:flex;align-items:center;border-radius:4px;border:1px solid #CBD2D9;padding:16px;outline:none;gap:8px;line-height:14px;color:#3e4c59;height:48px;font-size:.875rem;font-weight:400;transition:border .2s;cursor:pointer}.select-container:focus{border-color:#ff5724}.select-container .material-icons{display:flex;align-items:center;justify-content:center;height:14px}.select-container .label{font-size:.875rem;font-weight:400;color:#3e4c59;pointer-events:none;-webkit-user-select:none;user-select:none;flex:1}.select-container .arrow{pointer-events:none;-webkit-user-select:none;user-select:none}.select-container .options-list{position:absolute;display:flex;flex-direction:column;top:calc(100% - 2px);left:-1px;width:calc(100% + 2px);padding-top:1px;border:1px solid #CBD2D9;border-top:0;border-radius:0 0 6px 6px;gap:1px;overflow-y:auto;background:#F5F7FA}.select-container .options-list .option{display:flex;align-items:center;justify-content:start;padding:16px;background:#FFF;font-size:.875rem;cursor:pointer;transition:font-weight .2s,background-color .2s}.select-container .options-list .option:hover{background-color:#f5f7fa}.select-container .options-list .option:active{background-color:#e4e7eb}.select-container .options-list .option.selected{background-color:#f5f7fa;font-weight:500}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
         
     | 
| 
       69 
69 
     | 
    
         
             
            }
         
     | 
| 
       70 
70 
     | 
    
         
             
            i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: SelectComponent, decorators: [{
         
     | 
| 
       71 
71 
     | 
    
         
             
                        type: Component,
         
     | 
| 
       72 
     | 
    
         
            -
                        args: [{ selector: 'ask-select', providers: [valueAccessor], template: "<div\n  class=\"select-container\"\n  (click)=\"handleSelectClick()\"\n>\n  <select [hidden]=\"true\"></select>\n\n  <span class=\"label\">{{ selectedOption?.label || selectAnOptionLabel }}</span>\n  <span class=\"material-icons arrow\">arrow_drop_down</span>\n\n  <div\n    *ngIf=\"showList\"\n    class=\"options-list\"\n    [style.max-height]=\"listMaxHeight + 'px'\"\n  >\n    <!-- No options available -->\n    <div\n      *ngIf=\"!options?.length\"\n      class=\"option\"\n    >\n      {{ noOptionLabel }}\n    </div>\n\n    <div\n      *ngIf=\"showNoneOption && options?.length\"\n      class=\"option\"\n      (click)=\"handleOptionClick(undefined)\"\n    >\n      {{ noneLabel }}\n    </div>\n\n    <div\n      *ngFor=\"let option of options\"\n      class=\"option\"\n      (click)=\"handleOptionClick(option)\"\n    >\n      {{ option.label }}\n    </div>\n  </div>\n</div>\n", styles: [" 
     | 
| 
      
 72 
     | 
    
         
            +
                        args: [{ selector: 'ask-select', providers: [valueAccessor], template: "<div\n  class=\"select-container\"\n  (click)=\"handleSelectClick()\"\n>\n  <select [hidden]=\"true\"></select>\n\n  <span class=\"label\">{{ selectedOption?.label || selectAnOptionLabel }}</span>\n  <span class=\"material-icons arrow\">arrow_drop_down</span>\n\n  <div\n    *ngIf=\"showList\"\n    class=\"options-list\"\n    [style.max-height]=\"listMaxHeight + 'px'\"\n  >\n    <!-- No options available -->\n    <div\n      *ngIf=\"!options?.length\"\n      class=\"option\"\n    >\n      {{ noOptionLabel }}\n    </div>\n\n    <div\n      *ngIf=\"showNoneOption && options?.length\"\n      class=\"option\"\n      (click)=\"handleOptionClick(undefined)\"\n    >\n      {{ noneLabel }}\n    </div>\n\n    <div\n      *ngFor=\"let option of options\"\n      class=\"option\"\n      (click)=\"handleOptionClick(option)\"\n    >\n      {{ option.label }}\n    </div>\n  </div>\n</div>\n", styles: ["@import\"https://cdn.quilljs.com/1.0.0/quill.core.css\";:root{--asksuite-orange: #FF5724;--white: #FFF;--grey-50: #F5F7FA;--grey-100: #E4E7EB;--grey-200: #CBD2D9;--grey-300: #9AA5B1;--grey-400: #7B8794;--grey-500: #616E7C;--grey-600: #52606D;--grey-700: #3E4C59;--grey-800: #2A3042;--grey-900: #1F2933;--yellow-50: #FFF8E2;--yellow-200: #FFECB3;--success-green: #4BAF50;--warning-yellow: #FFC107;--error-red: #E8453E;--shadow: rgba(42, 48, 66, .1607843137);--lightblue-tag: #CDF9F3;--lavender-tag: #D4DAF3;--green-tag: #CEEEAA;--pink-tag: #FBC5FF;--orange-tag: #FED5C9;--purple-tag: #DDBFE5;--yellow-tag: #FFE0B2;--blue-tag: #B2E5FD;--brown-tag: #EFC89C;--whatsapp-green: #68B35D;--facebook-blue: #0084FF;--instagram-pink: #D53E91;--google-blue: #345DC8;--telegram-blue: #34AADF;--telephone-yellow: #FECB00;--primary-background: #FFF;--secondary-background: #EFF3F8;--hover-background: #F5F7FA;--divider-background: #E4E7EB;--font-color-100: #2A3042;--font-color-200: #616E7C;--font-color-300: #9AA5B1}:root{--font-default: $font-default;--font-code: $font-code}:root{--font-xs: $font-xs;--font-sm: $font-sm;--font-md: $font-md;--font-lg: $font-lg;--font-xl: $font-xl;--font-xxl: $font-xxl}:root{--font-weight-regular: $font-weight-regular;--font-weight-medium: $font-weight-medium}:root{--radii-px: $radii-px;--radii-xs: $radii-xs;--radii-sm: $radii-sm;--radii-md: $radii-md;--radii-lg: $radii-lg;--radii-full: $radii-full}.ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scale-in-center{animation:scale-in-center .3s ease-in-out both}@keyframes scale-in-center{0%{transform:scale(0);opacity:1}to{transform:scale(1);opacity:1}}.scale-out-center{animation:scale-out-center .3s ease-in-out both}@keyframes scale-out-center{0%{transform:scale(1);opacity:1}to{transform:scale(0);opacity:1}}.ask-tooltip{background-color:#7b8794;color:#fff;padding:4px;border-radius:8px;position:relative}.ask-tooltip>div{text-align:center!important}.ask-tooltip:after{position:absolute;content:\"\";width:10px;height:10px;background-color:inherit}.ask-tooltip.-above{margin-bottom:4px}.ask-tooltip.-above:after{bottom:-5px;left:50%;transform:translate(-50%) rotate(45deg)}.ask-tooltip.-below{margin-top:4px}.ask-tooltip.-below:after{top:-5px;left:50%;transform:translate(-50%) rotate(45deg)}.ask-tooltip.-after,.ask-tooltip.-right{margin-left:4px}.ask-tooltip.-after:after,.ask-tooltip.-right:after{left:-5px;top:50%;transform:translateY(-50%) rotate(45deg)}.ask-tooltip.-before,.ask-tooltip.-left{margin-right:4px}.ask-tooltip.-before:after,.ask-tooltip.-left:after{right:-5px;top:50%;transform:translateY(-50%) rotate(45deg)}.ask-button{padding:8px 24px;border-radius:6px;border:none;outline:none;height:48px;font-size:1rem;transition:background-color .1s,box-shadow .1s;cursor:pointer;font-weight:500;background:white;color:var(--grey-500)}.ask-button:not(.-primary,.-secondary){box-shadow:0 1px 2px #2a304229}.ask-button:not(.-primary):hover:not(:disabled){box-shadow:0 0 6px #2a304229}.ask-button:hover:not(:disabled){box-shadow:0 0 6px #ff572466}.ask-button:active:not(:disabled){background-color:#f34915}.ask-button:disabled{cursor:not-allowed;background-color:#9aa5b1}.ask-button.-primary{background:#FF5724;color:#fff}.ask-modal-header{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.ask-modal-body{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;padding:20px 24px;max-height:65vh;display:block}.ask-modal-footer{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}.ql-editor{padding:14px 16px;font-size:.875rem;word-break:break-word}.bubble-toolbox{position:absolute;background-color:var(--grey-800);border-radius:8px;z-index:999}.top-toolbox{background-color:var(--grey-100)}.material-icons{font-family:Material Icons;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:\"liga\";-webkit-font-smoothing:antialiased}*{box-sizing:border-box}*,button,select,textarea{font-family:Inter,sans-serif;font-weight:400}input{font-size:1rem}.ask-badge{position:relative}.ask-badge>.badge{position:absolute;display:flex;justify-content:center;align-items:center;background-color:var(--bg-color);color:#fff;font-size:12px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border-radius:50%;box-shadow:0 2px 6px -1px #00000080}.ask-badge>.badge.-primary{--bg-color: var(--asksuite-orange)}.ask-badge>.badge.-secondary{--bg-color: var(--grey-800)}.ask-badge>.badge.-top{top:-10px}.ask-badge>.badge.-bottom{bottom:-10px}.ask-badge>.badge.-left{left:-10px}.ask-badge>.badge.-right{right:-10px}.ask-badge>.badge.-small{width:18px;height:18px;font-size:10px}.ask-badge>.badge.-regular{width:22px;height:22px;font-size:11px}.ask-badge>.badge.-large{width:28px;height:28px;font-size:12px}.ask-dropdown-top-right{margin-left:8px}.ask-dropdown-top-left{margin-right:8px}.ask-dropdown-bottom-right,.ask-dropdown-bottom-left{margin-top:8px}.select-container{position:relative;display:flex;align-items:center;border-radius:4px;border:1px solid #CBD2D9;padding:16px;outline:none;gap:8px;line-height:14px;color:#3e4c59;height:48px;font-size:.875rem;font-weight:400;transition:border .2s;cursor:pointer}.select-container:focus{border-color:#ff5724}.select-container .material-icons{display:flex;align-items:center;justify-content:center;height:14px}.select-container .label{font-size:.875rem;font-weight:400;color:#3e4c59;pointer-events:none;-webkit-user-select:none;user-select:none;flex:1}.select-container .arrow{pointer-events:none;-webkit-user-select:none;user-select:none}.select-container .options-list{position:absolute;display:flex;flex-direction:column;top:calc(100% - 2px);left:-1px;width:calc(100% + 2px);padding-top:1px;border:1px solid #CBD2D9;border-top:0;border-radius:0 0 6px 6px;gap:1px;overflow-y:auto;background:#F5F7FA}.select-container .options-list .option{display:flex;align-items:center;justify-content:start;padding:16px;background:#FFF;font-size:.875rem;cursor:pointer;transition:font-weight .2s,background-color .2s}.select-container .options-list .option:hover{background-color:#f5f7fa}.select-container .options-list .option:active{background-color:#e4e7eb}.select-container .options-list .option.selected{background-color:#f5f7fa;font-weight:500}\n"] }]
         
     | 
| 
       73 
73 
     | 
    
         
             
                    }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { value: [{
         
     | 
| 
       74 
74 
     | 
    
         
             
                            type: Input
         
     | 
| 
       75 
75 
     | 
    
         
             
                        }], valueChange: [{
         
     |