survey-angular-ui 3.2.5 → 3.2.7
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/angular-ui.d.ts +7 -0
- package/angular-ui.module.d.ts +96 -87
- package/bundles/survey-angular-ui.umd.js +623 -165
- package/bundles/survey-angular-ui.umd.js.map +1 -1
- package/components/filter/filter-chip.component.d.ts +12 -0
- package/components/filter/filter-chips.component.d.ts +13 -0
- package/components/filter/filter-editor-page.component.d.ts +19 -0
- package/components/filter/filter-field-popup.component.d.ts +10 -0
- package/components/filter/filter-holder.component.d.ts +18 -0
- package/components/filter/filter-list-item.component.d.ts +12 -0
- package/components/filter/filter-modal.component.d.ts +10 -0
- package/components/filter/filter-preset-dialog.component.d.ts +10 -0
- package/components/filter/filter-question.component.d.ts +9 -0
- package/components/filter/filter-save-as-popup.component.d.ts +9 -0
- package/components-container.component.d.ts +3 -2
- package/esm2015/angular-ui.js +8 -1
- package/esm2015/angular-ui.module.js +18 -1
- package/esm2015/components/action-bar/action-bar-item-dropdown.component.js +2 -2
- package/esm2015/components/action-bar/action-bar-item.component.js +2 -2
- package/esm2015/components/filter/filter-chip.component.js +46 -0
- package/esm2015/components/filter/filter-chips.component.js +45 -0
- package/esm2015/components/filter/filter-editor-page.component.js +61 -0
- package/esm2015/components/filter/filter-field-popup.component.js +38 -0
- package/esm2015/components/filter/filter-holder.component.js +60 -0
- package/esm2015/components/filter/filter-list-item.component.js +38 -0
- package/esm2015/components/filter/filter-modal.component.js +39 -0
- package/esm2015/components/filter/filter-preset-dialog.component.js +36 -0
- package/esm2015/components/filter/filter-question.component.js +34 -0
- package/esm2015/components/filter/filter-save-as-popup.component.js +32 -0
- package/esm2015/components/matrixdynamicplaceholder/matrixdynamicplaceholder.component.js +2 -2
- package/esm2015/components/paneldynamicplaceholder/paneldynamicplaceholder.component.js +2 -2
- package/esm2015/components/timer-panel/timer-panel.component.js +2 -2
- package/esm2015/components-container.component.js +8 -4
- package/fesm2015/survey-angular-ui.js +501 -131
- package/fesm2015/survey-angular-ui.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { TemplateRef, Component, ViewChild, NgModuleRef, Directive, Input, VERSION, Injectable, HostBinding, Pipe, ElementRef, HostListener, ViewContainerRef, NgModule } from '@angular/core';
|
|
3
3
|
import * as Survey from 'survey-core';
|
|
4
|
-
import { PopupModalManager, settings, ScrollViewModel, SvgRegistry, addIconsToThemeSet, PopupSurveyModel, LocalizableString, ResizeManager, createPopupViewModel, Helpers, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, RendererFactory, ButtonGroupItemModel, ActionDropdownViewModel, SurveyProgressModel, SurveyModel } from 'survey-core';
|
|
4
|
+
import { PopupModalManager, settings, ScrollViewModel, SvgRegistry, addIconsToThemeSet, PopupSurveyModel, LocalizableString, ResizeManager, createPopupViewModel, Helpers, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, RendererFactory, ButtonGroupItemModel, ActionDropdownViewModel, filterChipComponentName, filterListItemComponentName, filterFieldPopupComponentName, filterSaveAsPopupComponentName, filterModalComponentName, filterPresetDialogComponentName, SurveyProgressModel, SurveyModel } from 'survey-core';
|
|
5
5
|
import { icons } from 'survey-core/icons/iconsV2';
|
|
6
6
|
import { DomPortalOutlet, ComponentPortal } from '@angular/cdk/portal';
|
|
7
7
|
import * as i1 from '@angular/common';
|
|
@@ -2434,15 +2434,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
2434
2434
|
AngularComponentFactory.Instance.registerComponent("buttongroup-question", ButtonGroupQuestionComponent);
|
|
2435
2435
|
|
|
2436
2436
|
class ComponentsContainerComponent extends EmbeddedViewContentComponent {
|
|
2437
|
-
get
|
|
2438
|
-
return this.survey.
|
|
2437
|
+
get groups() {
|
|
2438
|
+
return this.survey.getContainerContentGroups(this.container);
|
|
2439
2439
|
}
|
|
2440
2440
|
get isNeedRenderWrapper() {
|
|
2441
2441
|
return this.needRenderWrapper === false ? false : true;
|
|
2442
2442
|
}
|
|
2443
|
+
// groups builds new objects on every check; tracking by key keeps the rendered components.
|
|
2444
|
+
trackGroupByKey(_, group) {
|
|
2445
|
+
return group.key;
|
|
2446
|
+
}
|
|
2443
2447
|
}
|
|
2444
2448
|
ComponentsContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ComponentsContainerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2445
|
-
ComponentsContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: ComponentsContainerComponent, selector: "sv-components-container, [sv-components-container], sv-ng-components-container", inputs: { survey: "survey", container: "container", needRenderWrapper: "needRenderWrapper" }, usesInheritance: true, ngImport: i0, template: "<ng-template #template>\n <ng-container *ngIf=\"
|
|
2449
|
+
ComponentsContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: ComponentsContainerComponent, selector: "sv-components-container, [sv-components-container], sv-ng-components-container", inputs: { survey: "survey", container: "container", needRenderWrapper: "needRenderWrapper" }, usesInheritance: true, ngImport: i0, template: "<ng-template #template>\n <ng-container *ngIf=\"groups.length > 0\">\n <div *ngIf=\"isNeedRenderWrapper\" [class]=\"'sv-components-column' + ' sv-components-container-' + container\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </div>\n <ng-container *ngIf=\"!isNeedRenderWrapper\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </ng-container>\n </ng-container>\n</ng-template>\n<ng-template #content>\n <ng-container *ngFor=\"let group of groups; trackBy: trackGroupByKey\">\n <div *ngIf=\"group.css\" [class]=\"group.css\">\n <ng-container *ngFor=\"let component of group.elements\">\n <ng-template [component]=\"{ name: component.component, data: { survey: survey, container: container, model: component.data } }\"></ng-template>\n </ng-container>\n </div>\n <ng-template *ngIf=\"!group.css\" [component]=\"{ name: group.elements[0].component, data: { survey: survey, container: container, model: group.elements[0].data } }\"></ng-template>\n </ng-container>\n</ng-template>\n", styles: [":host{display:none}\n"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: DynamicComponentDirective, selector: "[component]", inputs: ["component"] }] });
|
|
2446
2450
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ComponentsContainerComponent, decorators: [{
|
|
2447
2451
|
type: Component,
|
|
2448
2452
|
args: [{
|
|
@@ -2494,7 +2498,7 @@ class ActionBarItemComponent extends BaseAngular {
|
|
|
2494
2498
|
}
|
|
2495
2499
|
}
|
|
2496
2500
|
ActionBarItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ActionBarItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2497
|
-
ActionBarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: ActionBarItemComponent, selector: "sv-action-bar-item", inputs: { model: "model" }, viewQueries: [{ propertyName: "containerRef", first: true, predicate: ["container"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-template #template>\n <button *ngIf=\"model\" type=\"button\" (click)=\"model.doAction($event)\" (mousedown)=\"model.doMouseDown($event)\" (focus)=\"model.doFocus($event)\" [key2click]=\"{ processEsc: false, disableTabStop: model.disableTabStop }\" [class]=\"model.getActionBarItemCss()\" [attr.title]=\"model.getTooltip()\" [attr.data-sv-tooltip]=\"model.getTooltip()\" [attr.aria-checked]=\"model.ariaChecked\" [attr.aria-expanded]=\"model.ariaExpanded\" [attr.aria-labelledby]=\"model.ariaLabelledBy\" [attr.aria-label]=\"model.ariaLabel\" [attr.aria-controls]=\"model.ariaControls\" [attr.role]=\"model.ariaRole\" [disabled]=\"model.disabled\" #container>\n <svg *ngIf=\"model.iconName\" [iconName]=\"model.iconName\" [size]=\"model.iconSize\" [title]=\"model.tooltip || model.title\" [class]=\"model.cssClasses.itemIcon\" sv-ng-svg-icon></svg>\n <sv-ng-string-viewer style=\"display:contents\" *ngIf=\"model.hasTitle\" [model]=\"model.locTitle\" [textClass]=\"model.getActionBarItemTitleCss()\"></sv-ng-string-viewer>\n </button>\n<ng-template>", styles: [":host{display:none}\n"], components: [{ type: SvgIconComponent, selector: "'[sv-ng-svg-icon]'", inputs: ["size", "width", "height", "iconName", "partCss", "css", "title"] }, { type: StringViewerComponent, selector: "sv-ng-string-viewer, string-viewer, '[sv-ng-string-viewer]'", inputs: ["model", "textClass"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: Key2ClickDirective, selector: "[key2click]", inputs: ["key2click"] }] });
|
|
2501
|
+
ActionBarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: ActionBarItemComponent, selector: "sv-action-bar-item", inputs: { model: "model" }, viewQueries: [{ propertyName: "containerRef", first: true, predicate: ["container"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-template #template>\n <button *ngIf=\"model\" type=\"button\" (click)=\"model.doAction($event)\" (mousedown)=\"model.doMouseDown($event)\" (focus)=\"model.doFocus($event)\" [key2click]=\"{ processEsc: false, disableTabStop: model.disableTabStop }\" [class]=\"model.getActionBarItemCss()\" [attr.title]=\"model.getTooltip()\" [attr.data-sv-tooltip]=\"model.getTooltip()\" [attr.aria-checked]=\"model.ariaChecked\" [attr.aria-expanded]=\"model.ariaExpanded\" [attr.aria-labelledby]=\"model.ariaLabelledBy\" [attr.aria-describedby]=\"model.ariaDescribedBy\" [attr.aria-label]=\"model.ariaLabel\" [attr.aria-controls]=\"model.ariaControls\" [attr.role]=\"model.ariaRole\" [disabled]=\"model.disabled\" #container>\n <svg *ngIf=\"model.iconName\" [iconName]=\"model.iconName\" [size]=\"model.iconSize\" [title]=\"model.tooltip || model.title\" [class]=\"model.cssClasses.itemIcon\" sv-ng-svg-icon></svg>\n <sv-ng-string-viewer style=\"display:contents\" *ngIf=\"model.hasTitle\" [model]=\"model.locTitle\" [textClass]=\"model.getActionBarItemTitleCss()\"></sv-ng-string-viewer>\n <svg *ngIf=\"model.markerIconName\" [iconName]=\"model.markerIconName\" [size]=\"'auto'\" [partCss]=\"model.cssClasses.itemMarkerIcon\" sv-ng-svg-icon></svg>\n </button>\n<ng-template>", styles: [":host{display:none}\n"], components: [{ type: SvgIconComponent, selector: "'[sv-ng-svg-icon]'", inputs: ["size", "width", "height", "iconName", "partCss", "css", "title"] }, { type: StringViewerComponent, selector: "sv-ng-string-viewer, string-viewer, '[sv-ng-string-viewer]'", inputs: ["model", "textClass"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: Key2ClickDirective, selector: "[key2click]", inputs: ["key2click"] }] });
|
|
2498
2502
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ActionBarItemComponent, decorators: [{
|
|
2499
2503
|
type: Component,
|
|
2500
2504
|
args: [{
|
|
@@ -2510,6 +2514,485 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
2510
2514
|
}] } });
|
|
2511
2515
|
AngularComponentFactory.Instance.registerComponent("sv-action-bar-item", ActionBarItemComponent);
|
|
2512
2516
|
|
|
2517
|
+
// The chips row of the Filter Control. Its model is the layout that cuts the row to one row, so a
|
|
2518
|
+
// change of it (Show More, the measured fit) redraws the row. The layout measures the row again
|
|
2519
|
+
// itself whenever it changes: the component only attaches it and detaches it.
|
|
2520
|
+
class FilterChipsComponent extends BaseAngular {
|
|
2521
|
+
// A disposed question has released its layout, and asking for it would build a new one.
|
|
2522
|
+
getModel() {
|
|
2523
|
+
return !!this.question && !this.question.isDisposed ? this.question.chipsLayout : undefined;
|
|
2524
|
+
}
|
|
2525
|
+
// #chips is in an embedded view created late, so this is tried on every check until the ref exists;
|
|
2526
|
+
// attach() returns at once for the element it already has.
|
|
2527
|
+
ngAfterViewChecked() {
|
|
2528
|
+
super.ngAfterViewChecked();
|
|
2529
|
+
const layout = this.getModel();
|
|
2530
|
+
if (!!layout && !!this.chipsRef) {
|
|
2531
|
+
layout.attach(this.chipsRef.nativeElement);
|
|
2532
|
+
}
|
|
2533
|
+
}
|
|
2534
|
+
ngOnDestroy() {
|
|
2535
|
+
const layout = this.getModel();
|
|
2536
|
+
if (!!layout) {
|
|
2537
|
+
layout.detach();
|
|
2538
|
+
}
|
|
2539
|
+
super.ngOnDestroy();
|
|
2540
|
+
}
|
|
2541
|
+
}
|
|
2542
|
+
FilterChipsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FilterChipsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2543
|
+
FilterChipsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: FilterChipsComponent, selector: "sv-ng-filter-chips", inputs: { question: "question" }, viewQueries: [{ propertyName: "chipsRef", first: true, predicate: ["chips"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-template #template>\n <div [class]=\"question.chipsCss\" #chips>\n <sv-ng-action-bar [model]=\"question.chipsToolbar\"></sv-ng-action-bar>\n </div>\n</ng-template>\n", styles: [":host{display:none}\n"], components: [{ type: ActionBarComponent, selector: "sv-action-bar, sv-ng-action-bar", inputs: ["model", "handleClick"] }] });
|
|
2544
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FilterChipsComponent, decorators: [{
|
|
2545
|
+
type: Component,
|
|
2546
|
+
args: [{
|
|
2547
|
+
selector: "sv-ng-filter-chips",
|
|
2548
|
+
templateUrl: "./filter-chips.component.html",
|
|
2549
|
+
styleUrls: ["../../hide-host.scss"]
|
|
2550
|
+
}]
|
|
2551
|
+
}], propDecorators: { question: [{
|
|
2552
|
+
type: Input
|
|
2553
|
+
}], chipsRef: [{
|
|
2554
|
+
type: ViewChild,
|
|
2555
|
+
args: ["chips"]
|
|
2556
|
+
}] } });
|
|
2557
|
+
|
|
2558
|
+
// The Filter Control (#11890), as packages/survey-react-ui/src/components/filter/filter.tsx draws it.
|
|
2559
|
+
// The chips row is its own component: it watches the layout that cuts the row to one row. The chips'
|
|
2560
|
+
// popups are drawn outside the chips row: on a phone the row scrolls sideways, and iOS Safari keeps a
|
|
2561
|
+
// fixed popup inside such a row.
|
|
2562
|
+
class FilterQuestionComponent extends QuestionAngular {
|
|
2563
|
+
constructor() {
|
|
2564
|
+
super(...arguments);
|
|
2565
|
+
this.trackChipBy = (_, chip) => chip.id;
|
|
2566
|
+
}
|
|
2567
|
+
onSearchInput(event) {
|
|
2568
|
+
this.model.searchString = event.target.value;
|
|
2569
|
+
}
|
|
2570
|
+
}
|
|
2571
|
+
FilterQuestionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FilterQuestionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2572
|
+
FilterQuestionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: FilterQuestionComponent, selector: "sv-ng-filter-question", usesInheritance: true, ngImport: i0, template: "<div [class]=\"model.getQuestionRootCss()\" #contentElement>\n <div *ngIf=\"model.showSearch\" [class]=\"model.cssClasses.searchRow\">\n <div [class]=\"model.searchRootCss\">\n <svg [iconName]=\"'icon-search-24x24'\" [size]=\"'auto'\" [partCss]=\"model.cssClasses.searchIcon\" sv-ng-svg-icon></svg>\n <input type=\"text\" [class]=\"model.searchCss.control\" [value]=\"model.searchString\" [attr.placeholder]=\"model.searchPlaceholder\"\n [attr.aria-label]=\"model.searchLabel\" [disabled]=\"model.isSearchDisabled\" (input)=\"onSearchInput($event)\" />\n <sv-action-bar-item *ngIf=\"model.showSearchClear\" [model]=\"model.searchClearAction\"></sv-action-bar-item>\n </div>\n <sv-ng-action-bar [model]=\"model.searchToolbar\"></sv-ng-action-bar>\n </div>\n <div [class]=\"model.cssClasses.chipsRow\">\n <sv-ng-filter-chips [question]=\"model\"></sv-ng-filter-chips>\n <sv-ng-action-bar [model]=\"model.clearToolbar\"></sv-ng-action-bar>\n </div>\n <div [class]=\"model.cssClasses.popups\">\n <sv-ng-popup *ngFor=\"let chip of model.popupChips; trackBy: trackChipBy\" [popupModel]=\"chip.popupModel\"></sv-ng-popup>\n </div>\n</div>\n", components: [{ type: SvgIconComponent, selector: "'[sv-ng-svg-icon]'", inputs: ["size", "width", "height", "iconName", "partCss", "css", "title"] }, { type: ActionBarItemComponent, selector: "sv-action-bar-item", inputs: ["model"] }, { type: ActionBarComponent, selector: "sv-action-bar, sv-ng-action-bar", inputs: ["model", "handleClick"] }, { type: FilterChipsComponent, selector: "sv-ng-filter-chips", inputs: ["question"] }, { type: PopupComponent, selector: "sv-ng-popup, '[sv-ng-popup]'", inputs: ["popupModel"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
2573
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FilterQuestionComponent, decorators: [{
|
|
2574
|
+
type: Component,
|
|
2575
|
+
args: [{
|
|
2576
|
+
selector: "sv-ng-filter-question",
|
|
2577
|
+
templateUrl: "./filter-question.component.html"
|
|
2578
|
+
}]
|
|
2579
|
+
}] });
|
|
2580
|
+
AngularComponentFactory.Instance.registerComponent("filter-question", FilterQuestionComponent);
|
|
2581
|
+
|
|
2582
|
+
// A chip of the Filter Control (FilterChip): the standard action button (sv-action-bar-item; its
|
|
2583
|
+
// trailing chevron is the item's markerIconName) and, while the chip can be cleared, its cross - a
|
|
2584
|
+
// button of its own, which the theme draws over the chip's end. Its popup is drawn by the control,
|
|
2585
|
+
// outside the chips row (see QuestionFilterModel.popupChips); the chip only shows that the popup is
|
|
2586
|
+
// open. Not an ActionBarItemComponent: the inner item sets the item's input element - the
|
|
2587
|
+
// button the popup stands against - and that class's ngAfterViewInit here, with no button of its own,
|
|
2588
|
+
// would set it to undefined after.
|
|
2589
|
+
class FilterChipComponent extends BaseAngular {
|
|
2590
|
+
getModel() {
|
|
2591
|
+
return this.model;
|
|
2592
|
+
}
|
|
2593
|
+
ngOnInit() {
|
|
2594
|
+
super.ngOnInit();
|
|
2595
|
+
if (!!this.model && !!this.model.popupModel) {
|
|
2596
|
+
this.viewModel = new ActionDropdownViewModel(this.model);
|
|
2597
|
+
}
|
|
2598
|
+
}
|
|
2599
|
+
ngOnDestroy() {
|
|
2600
|
+
if (!!this.viewModel) {
|
|
2601
|
+
this.viewModel.dispose();
|
|
2602
|
+
this.viewModel = undefined;
|
|
2603
|
+
}
|
|
2604
|
+
super.ngOnDestroy();
|
|
2605
|
+
}
|
|
2606
|
+
}
|
|
2607
|
+
FilterChipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FilterChipComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2608
|
+
FilterChipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: FilterChipComponent, selector: "sv-ng-filter-chip", inputs: { model: "model" }, usesInheritance: true, ngImport: i0, template: "<ng-template #template>\n <div *ngIf=\"model\" [class]=\"model.boxCss\">\n <sv-action-bar-item [model]=\"model\"></sv-action-bar-item>\n <sv-action-bar-item *ngIf=\"model.isClearable\" [model]=\"model.clearAction\"></sv-action-bar-item>\n </div>\n</ng-template>\n", styles: [":host{display:none}\n"], components: [{ type: ActionBarItemComponent, selector: "sv-action-bar-item", inputs: ["model"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
2609
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FilterChipComponent, decorators: [{
|
|
2610
|
+
type: Component,
|
|
2611
|
+
args: [{
|
|
2612
|
+
selector: "sv-ng-filter-chip",
|
|
2613
|
+
templateUrl: "./filter-chip.component.html",
|
|
2614
|
+
styleUrls: ["../../hide-host.scss"]
|
|
2615
|
+
}]
|
|
2616
|
+
}], propDecorators: { model: [{
|
|
2617
|
+
type: Input
|
|
2618
|
+
}] } });
|
|
2619
|
+
AngularComponentFactory.Instance.registerComponent(filterChipComponentName, FilterChipComponent);
|
|
2620
|
+
|
|
2621
|
+
// An entry of a checkbox list of the Filter Control: drawn checked by the entry's active flag
|
|
2622
|
+
// (FilterFieldPopup keeps it). A value the respondent typed has no remove button: a button inside
|
|
2623
|
+
// a list option is nested interactive content, and unchecking the value is how it goes. The "Add"
|
|
2624
|
+
// entry is its text alone.
|
|
2625
|
+
class FilterListItemComponent extends BaseAngular {
|
|
2626
|
+
getModel() {
|
|
2627
|
+
return this.model;
|
|
2628
|
+
}
|
|
2629
|
+
get popup() {
|
|
2630
|
+
return !!this.model && !!this.model.data ? this.model.data.popup : undefined;
|
|
2631
|
+
}
|
|
2632
|
+
get css() {
|
|
2633
|
+
return this.popup.cssClasses;
|
|
2634
|
+
}
|
|
2635
|
+
}
|
|
2636
|
+
FilterListItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FilterListItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2637
|
+
FilterListItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: FilterListItemComponent, selector: "sv-ng-filter-list-item", inputs: { model: "model", listModel: "listModel" }, usesInheritance: true, ngImport: i0, template: "<ng-template #template>\n <div *ngIf=\"!!popup && model.data.isAdd\" [class]=\"css.listItem\">\n <span [class]=\"css.listItemText\">{{ model.title }}</span>\n </div>\n <div *ngIf=\"!!popup && !model.data.isAdd\" [class]=\"css.listItem\">\n <span [class]=\"popup.getItemCheckCss(model)\" aria-hidden=\"true\">\n <span [class]=\"css.listItemCheckDecorator\">\n <svg [iconName]=\"'icon-check-16x16'\" [size]=\"'auto'\" [css]=\"css.listItemCheckIcon\" sv-ng-svg-icon></svg>\n </span>\n </span>\n <span [class]=\"css.listItemText\">{{ model.title }}</span>\n </div>\n</ng-template>\n", styles: [":host{display:none}\n"], components: [{ type: SvgIconComponent, selector: "'[sv-ng-svg-icon]'", inputs: ["size", "width", "height", "iconName", "partCss", "css", "title"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
2638
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FilterListItemComponent, decorators: [{
|
|
2639
|
+
type: Component,
|
|
2640
|
+
args: [{
|
|
2641
|
+
selector: "sv-ng-filter-list-item",
|
|
2642
|
+
templateUrl: "./filter-list-item.component.html",
|
|
2643
|
+
styleUrls: ["../../hide-host.scss"]
|
|
2644
|
+
}]
|
|
2645
|
+
}], propDecorators: { model: [{
|
|
2646
|
+
type: Input
|
|
2647
|
+
}], listModel: [{
|
|
2648
|
+
type: Input
|
|
2649
|
+
}] } });
|
|
2650
|
+
AngularComponentFactory.Instance.registerComponent(filterListItemComponentName, FilterListItemComponent);
|
|
2651
|
+
|
|
2652
|
+
// The content of a popup or a dialog of the Filter Control. Its model is the holder: an emptied
|
|
2653
|
+
// holder unmounts the content before survey-core disposes what it held. What the content shows
|
|
2654
|
+
// besides - the dialog itself and its toolbars - is watched too: BaseAngular watches one model.
|
|
2655
|
+
class FilterHolderComponent extends BaseAngular {
|
|
2656
|
+
constructor() {
|
|
2657
|
+
super(...arguments);
|
|
2658
|
+
this.watchedModels = [];
|
|
2659
|
+
this.onWatchedModelChanged = () => {
|
|
2660
|
+
this.update();
|
|
2661
|
+
};
|
|
2662
|
+
}
|
|
2663
|
+
getModel() {
|
|
2664
|
+
return this.holder;
|
|
2665
|
+
}
|
|
2666
|
+
// A slot is drawn anew at once, not in the next microtask: survey-core disposes what an emptied
|
|
2667
|
+
// slot held right after emptying it, and content drawn after that would read a disposed survey.
|
|
2668
|
+
getPropertiesToUpdateSync() {
|
|
2669
|
+
return ["modal", "fieldPopup", "saveAsPopup", "presetDialog"];
|
|
2670
|
+
}
|
|
2671
|
+
updateWatchedModels() {
|
|
2672
|
+
const models = this.getWatchedModels().filter((model) => !!model && !model.isDisposed);
|
|
2673
|
+
this.watchedModels.filter((model) => models.indexOf(model) < 0).forEach((model) => this.unwatch(model));
|
|
2674
|
+
models.filter((model) => this.watchedModels.indexOf(model) < 0).forEach((model) => {
|
|
2675
|
+
model.addOnPropertyValueChangedCallback(this.onWatchedModelChanged);
|
|
2676
|
+
model.addOnArrayChangedCallback(this.onWatchedModelChanged);
|
|
2677
|
+
});
|
|
2678
|
+
this.watchedModels = models;
|
|
2679
|
+
}
|
|
2680
|
+
unwatch(model) {
|
|
2681
|
+
model.removeOnPropertyValueChangedCallback(this.onWatchedModelChanged);
|
|
2682
|
+
model.removeOnArrayChangedCallback(this.onWatchedModelChanged);
|
|
2683
|
+
}
|
|
2684
|
+
ngDoCheck() {
|
|
2685
|
+
super.ngDoCheck();
|
|
2686
|
+
this.updateWatchedModels();
|
|
2687
|
+
}
|
|
2688
|
+
afterUpdate(isSync = false) {
|
|
2689
|
+
super.afterUpdate(isSync);
|
|
2690
|
+
this.updateWatchedModels();
|
|
2691
|
+
}
|
|
2692
|
+
ngOnDestroy() {
|
|
2693
|
+
this.watchedModels.forEach((model) => this.unwatch(model));
|
|
2694
|
+
this.watchedModels = [];
|
|
2695
|
+
super.ngOnDestroy();
|
|
2696
|
+
}
|
|
2697
|
+
}
|
|
2698
|
+
FilterHolderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FilterHolderComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2699
|
+
FilterHolderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: FilterHolderComponent, selector: "ng-component", inputs: { holder: "holder" }, usesInheritance: true, ngImport: i0, template: "", isInline: true });
|
|
2700
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FilterHolderComponent, decorators: [{
|
|
2701
|
+
type: Component,
|
|
2702
|
+
args: [{
|
|
2703
|
+
template: ""
|
|
2704
|
+
}]
|
|
2705
|
+
}], propDecorators: { holder: [{
|
|
2706
|
+
type: Input
|
|
2707
|
+
}] } });
|
|
2708
|
+
|
|
2709
|
+
class ListItemComponent extends BaseAngular {
|
|
2710
|
+
get elementId() {
|
|
2711
|
+
var _a;
|
|
2712
|
+
return (_a = this.model) === null || _a === void 0 ? void 0 : _a.elementId;
|
|
2713
|
+
}
|
|
2714
|
+
get ariaSelected() {
|
|
2715
|
+
return this.listModel.getA11yItemAriaSelected(this.model);
|
|
2716
|
+
}
|
|
2717
|
+
get ariaChecked() {
|
|
2718
|
+
return this.listModel.getA11yItemAriaChecked(this.model);
|
|
2719
|
+
}
|
|
2720
|
+
get class() {
|
|
2721
|
+
return this.listModel.getItemClass(this.model);
|
|
2722
|
+
}
|
|
2723
|
+
get itemStyle() {
|
|
2724
|
+
return this.listModel.getItemStyle(this.model);
|
|
2725
|
+
}
|
|
2726
|
+
click(event) {
|
|
2727
|
+
this.listModel.onItemClick(this.model);
|
|
2728
|
+
event.stopPropagation();
|
|
2729
|
+
}
|
|
2730
|
+
pointerdown(event) {
|
|
2731
|
+
this.listModel.onPointerDown(event, this.model);
|
|
2732
|
+
}
|
|
2733
|
+
get itemComponent() {
|
|
2734
|
+
return this.model.component || this.listModel.itemComponent;
|
|
2735
|
+
}
|
|
2736
|
+
get itemComponentData() {
|
|
2737
|
+
const itemData = this.model.data;
|
|
2738
|
+
return {
|
|
2739
|
+
model: this.model,
|
|
2740
|
+
listModel: this.listModel,
|
|
2741
|
+
itemData,
|
|
2742
|
+
survey: itemData === null || itemData === void 0 ? void 0 : itemData.survey,
|
|
2743
|
+
page: itemData === null || itemData === void 0 ? void 0 : itemData.page
|
|
2744
|
+
};
|
|
2745
|
+
}
|
|
2746
|
+
getModel() {
|
|
2747
|
+
return this.model;
|
|
2748
|
+
}
|
|
2749
|
+
ngAfterViewInit() {
|
|
2750
|
+
var _a;
|
|
2751
|
+
if (!!((_a = this.elementRef) === null || _a === void 0 ? void 0 : _a.nativeElement)) {
|
|
2752
|
+
this.listModel.onItemRended(this.model, this.elementRef.nativeElement);
|
|
2753
|
+
}
|
|
2754
|
+
}
|
|
2755
|
+
}
|
|
2756
|
+
ListItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ListItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2757
|
+
ListItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: ListItemComponent, selector: "sv-ng-list-item, '[sv-ng-list-item]'", inputs: { element: "element", model: "model", listModel: "listModel" }, viewQueries: [{ propertyName: "elementRef", first: true, predicate: ["elementRef"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-template #template>\n <li #elementRef [attr.role]=\"listModel.listItemRole\" [key2click]=\"{ processEsc: false, disableTabStop: model.disableTabStop }\" [visible]=\"listModel.isItemVisible(model)\" [class]=\"class\" \n [attr.id]=\"elementId\" [attr.aria-selected]=\"ariaSelected\" [attr.aria-checked]=\"ariaChecked\" (click)=\"click($event)\" (pointerdown)=\"pointerdown($event)\">\n <ng-container *ngIf=\"model.needSeparator\">\n <div [class]=\"listModel.cssClasses.itemSeparator\"></div>\n </ng-container>\n <div [class]=\"listModel.cssClasses.itemBody\" [style]=\"itemStyle\" [attr.title]=\"model.getTooltip()\"\n (mouseover)=\"listModel.onItemHover(model)\"\n (mouseleave)=\"listModel.onItemLeave(model)\">\n <ng-template [component]=\"{ name: itemComponent, data: itemComponentData }\"></ng-template>\n </div>\n </li>\n</ng-template>", styles: [":host{display:none}\n"], directives: [{ type: Key2ClickDirective, selector: "[key2click]", inputs: ["key2click"] }, { type: VisibleDirective, selector: "[visible]", inputs: ["visible"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: DynamicComponentDirective, selector: "[component]", inputs: ["component"] }] });
|
|
2758
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ListItemComponent, decorators: [{
|
|
2759
|
+
type: Component,
|
|
2760
|
+
args: [{
|
|
2761
|
+
selector: "sv-ng-list-item, '[sv-ng-list-item]'",
|
|
2762
|
+
templateUrl: "./list-item.component.html",
|
|
2763
|
+
styleUrls: ["../../hide-host.scss"],
|
|
2764
|
+
}]
|
|
2765
|
+
}], propDecorators: { element: [{
|
|
2766
|
+
type: Input
|
|
2767
|
+
}], model: [{
|
|
2768
|
+
type: Input
|
|
2769
|
+
}], listModel: [{
|
|
2770
|
+
type: Input
|
|
2771
|
+
}], elementRef: [{
|
|
2772
|
+
type: ViewChild,
|
|
2773
|
+
args: ["elementRef"]
|
|
2774
|
+
}] } });
|
|
2775
|
+
AngularComponentFactory.Instance.registerComponent("sv-list-item", ListItemComponent);
|
|
2776
|
+
|
|
2777
|
+
class ListComponent extends BaseAngular {
|
|
2778
|
+
constructor() {
|
|
2779
|
+
super(...arguments);
|
|
2780
|
+
this.trackItemBy = (_, item) => {
|
|
2781
|
+
return item.id;
|
|
2782
|
+
};
|
|
2783
|
+
}
|
|
2784
|
+
getModel() {
|
|
2785
|
+
return this.model;
|
|
2786
|
+
}
|
|
2787
|
+
onGoToItems(event) {
|
|
2788
|
+
this.model.goToItems(event);
|
|
2789
|
+
}
|
|
2790
|
+
onMouseDown(event) {
|
|
2791
|
+
event.preventDefault();
|
|
2792
|
+
}
|
|
2793
|
+
onKeyDown(event) {
|
|
2794
|
+
this.model.onKeyDown(event);
|
|
2795
|
+
}
|
|
2796
|
+
onMouseMove(event) {
|
|
2797
|
+
this.model.onMouseMove(event);
|
|
2798
|
+
}
|
|
2799
|
+
getPropertiesToUpdateSync() {
|
|
2800
|
+
return ["renderElements"];
|
|
2801
|
+
}
|
|
2802
|
+
ngAfterViewInit() {
|
|
2803
|
+
var _a;
|
|
2804
|
+
if (!!((_a = this.listContainerElement) === null || _a === void 0 ? void 0 : _a.nativeElement)) {
|
|
2805
|
+
this.model.initListContainerHtmlElement(this.listContainerElement.nativeElement);
|
|
2806
|
+
}
|
|
2807
|
+
}
|
|
2808
|
+
ngOnDestroy() {
|
|
2809
|
+
this.model.initListContainerHtmlElement(undefined);
|
|
2810
|
+
super.ngOnDestroy();
|
|
2811
|
+
}
|
|
2812
|
+
}
|
|
2813
|
+
ListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ListComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2814
|
+
ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: ListComponent, selector: "sv-ng-list, '[sv-ng-list]'", inputs: { model: "model" }, viewQueries: [{ propertyName: "listContainerElement", first: true, predicate: ["listContainerElement"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-template #template>\n <div [class]=\"model.cssClasses.root\" #listContainerElement>\n <div *ngIf=\"model.showFilter\" [class]=\"model.cssClasses.filter\">\n <div [class]=\"model.cssClasses.filterBox\">\n <div [class]=\"model.cssClasses.filterIcon\">\n <svg [iconName]=\"'icon-search'\" [size]=\"'auto'\" sv-ng-svg-icon></svg>\n </div>\n <input type=\"text\" [class]=\"model.cssClasses.filterInput\" [(ngModel)]=\"model.filterString\"\n [attr.aria-label]=\"model.filterStringPlaceholder || ''\"\n [attr.placeholder]=\"model.filterStringPlaceholder || ''\" \n (keyup)=\"onGoToItems($event)\" />\n <button *ngIf=\"model.showSearchClearButton && !!model.filterString\" (click)=\"model.onClickSearchClearButton($event)\" [class]=\"model.cssClasses.searchClearButtonIcon\">\n <svg [iconName]=\"'icon-searchclear'\" [size]=\"'auto'\" sv-ng-svg-icon></svg>\n </button>\n </div>\n </div>\n <ng-container *ngIf=\"model.loadingState === 'loading'\">\n <ng-template [component]=\"{ name: model.loadingComponent, data: { model: model } }\"></ng-template>\n </ng-container>\n <div *ngIf=\"model.loadingState !== 'loading'\" [class]=\"model.cssClasses.emptyContainer\" [visible]=\"model.isEmpty\">\n <div [class]=\"model.cssClasses.emptyText\" [attr.aria-label]=\"model.emptyMessage || ''\">{{ model.emptyMessage }}</div>\n </div>\n <ul *ngIf=\"model.renderElements\" [class]=\"model.getListClass()\" [attr.role]=\"model.listRole\" [attr.aria-label]=\"model.a11ya11y_input_ariaLabel\" [attr.id]=\"model.elementId\" [visible]=\"!model.isEmpty\" (mousedown)=\"onMouseDown($event)\" (keydown)=\"onKeyDown($event)\" (mousemove)=\"onMouseMove($event)\">\n <sv-ng-list-item *ngFor=\"let item of model.renderedActions; trackBy: trackItemBy\" [listModel]=\"model\" [model]=\"item\"></sv-ng-list-item>\n <!--ko foreach: model.renderedActions -->\n <!-- ko component: { name: 'sv-list-item', params: { item: $data, model: $parent.model } } -->\n <!-- /ko -->\n <!-- /ko -->\n </ul>\n </div>\n</ng-template>", styles: [":host{display:none}\n"], components: [{ type: SvgIconComponent, selector: "'[sv-ng-svg-icon]'", inputs: ["size", "width", "height", "iconName", "partCss", "css", "title"] }, { type: ListItemComponent, selector: "sv-ng-list-item, '[sv-ng-list-item]'", inputs: ["element", "model", "listModel"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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]" }, { type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: DynamicComponentDirective, selector: "[component]", inputs: ["component"] }, { type: VisibleDirective, selector: "[visible]", inputs: ["visible"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
2815
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ListComponent, decorators: [{
|
|
2816
|
+
type: Component,
|
|
2817
|
+
args: [{
|
|
2818
|
+
selector: "sv-ng-list, '[sv-ng-list]'",
|
|
2819
|
+
templateUrl: "./list.component.html",
|
|
2820
|
+
styleUrls: ["../../hide-host.scss"]
|
|
2821
|
+
}]
|
|
2822
|
+
}], propDecorators: { model: [{
|
|
2823
|
+
type: Input
|
|
2824
|
+
}], listContainerElement: [{
|
|
2825
|
+
type: ViewChild,
|
|
2826
|
+
args: ["listContainerElement"]
|
|
2827
|
+
}] } });
|
|
2828
|
+
AngularComponentFactory.Instance.registerComponent("sv-list", ListComponent);
|
|
2829
|
+
|
|
2830
|
+
// The page of an editor survey of the Filter Control: the Filters dialog's fields, a "condition"
|
|
2831
|
+
// popup's, and a preset dialog's form and survey. It is drawn as a page, not as a whole Survey (a
|
|
2832
|
+
// Survey inside another survey's question would put a <form> inside a <form>). A survey made anew
|
|
2833
|
+
// (another tab's form) is drawn anew: element ids restart in every survey.
|
|
2834
|
+
class FilterEditorPageComponent extends EmbeddedViewContentComponent {
|
|
2835
|
+
get surveys() {
|
|
2836
|
+
return !this.disposed && !!this.survey ? [this.survey] : [];
|
|
2837
|
+
}
|
|
2838
|
+
trackBySurvey(_, survey) {
|
|
2839
|
+
return survey.uniqueId;
|
|
2840
|
+
}
|
|
2841
|
+
// The Survey component would set this; a page rendered on its own leaves it to its host. It is
|
|
2842
|
+
// cleared on destroy, unless something else set it in the meantime.
|
|
2843
|
+
ngAfterViewChecked() {
|
|
2844
|
+
super.ngAfterViewChecked();
|
|
2845
|
+
if (!this.disposed && !!this.survey && !!this.rootRef) {
|
|
2846
|
+
if (this.rootSurvey !== this.survey) {
|
|
2847
|
+
this.clearRootElement();
|
|
2848
|
+
}
|
|
2849
|
+
this.survey.rootElement = this.rootRef.nativeElement;
|
|
2850
|
+
this.rootSurvey = this.survey;
|
|
2851
|
+
this.rootElement = this.rootRef.nativeElement;
|
|
2852
|
+
}
|
|
2853
|
+
}
|
|
2854
|
+
ngOnDestroy() {
|
|
2855
|
+
this.clearRootElement();
|
|
2856
|
+
}
|
|
2857
|
+
clearRootElement() {
|
|
2858
|
+
const survey = this.rootSurvey;
|
|
2859
|
+
if (!!survey && !survey.isDisposed && survey.rootElement === this.rootElement) {
|
|
2860
|
+
survey.rootElement = undefined;
|
|
2861
|
+
}
|
|
2862
|
+
this.rootSurvey = undefined;
|
|
2863
|
+
this.rootElement = undefined;
|
|
2864
|
+
}
|
|
2865
|
+
}
|
|
2866
|
+
FilterEditorPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FilterEditorPageComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2867
|
+
FilterEditorPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: FilterEditorPageComponent, selector: "sv-ng-filter-editor-page", inputs: { survey: "survey", disposed: "disposed", className: "className" }, viewQueries: [{ propertyName: "rootRef", first: true, predicate: ["root"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-template #template>\n <div *ngFor=\"let s of surveys; trackBy: trackBySurvey\" [class]=\"className\" #root>\n <sv-ng-page *ngIf=\"!!s.currentPage\" [model]=\"s.currentPage\" [survey]=\"s\"></sv-ng-page>\n </div>\n</ng-template>\n", styles: [":host{display:none}\n"], components: [{ type: PageComponent, selector: "sv-page, page, sv-ng-page", inputs: ["model", "survey"] }], directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
2868
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FilterEditorPageComponent, decorators: [{
|
|
2869
|
+
type: Component,
|
|
2870
|
+
args: [{
|
|
2871
|
+
selector: "sv-ng-filter-editor-page",
|
|
2872
|
+
templateUrl: "./filter-editor-page.component.html",
|
|
2873
|
+
styleUrls: ["../../hide-host.scss"]
|
|
2874
|
+
}]
|
|
2875
|
+
}], propDecorators: { survey: [{
|
|
2876
|
+
type: Input
|
|
2877
|
+
}], disposed: [{
|
|
2878
|
+
type: Input
|
|
2879
|
+
}], className: [{
|
|
2880
|
+
type: Input
|
|
2881
|
+
}], rootRef: [{
|
|
2882
|
+
type: ViewChild,
|
|
2883
|
+
args: ["root"]
|
|
2884
|
+
}] } });
|
|
2885
|
+
|
|
2886
|
+
// A badge's popup of the Filter Control: the search box (a long list, or one a value can be typed
|
|
2887
|
+
// into), a checkbox list's title row with its link, the list or the operator and value, and Apply.
|
|
2888
|
+
class FilterFieldPopupComponent extends FilterHolderComponent {
|
|
2889
|
+
// The holder empties a slot before it disposes what it held: this is never a disposed popup.
|
|
2890
|
+
get popup() {
|
|
2891
|
+
const holder = this.holder;
|
|
2892
|
+
return !!holder ? holder.fieldPopup : undefined;
|
|
2893
|
+
}
|
|
2894
|
+
getWatchedModels() {
|
|
2895
|
+
const popup = this.popup;
|
|
2896
|
+
return !!popup ? [popup.headerToolbar, popup.footerToolbar, popup.list] : [];
|
|
2897
|
+
}
|
|
2898
|
+
onSearchInput(event) {
|
|
2899
|
+
this.popup.list.filterString = event.target.value;
|
|
2900
|
+
}
|
|
2901
|
+
}
|
|
2902
|
+
FilterFieldPopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FilterFieldPopupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2903
|
+
FilterFieldPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: FilterFieldPopupComponent, selector: "sv-ng-filter-field-popup", usesInheritance: true, ngImport: i0, template: "<ng-template #template>\n <div *ngIf=\"!!popup\" [class]=\"popup.cssClasses.popup\">\n <div *ngIf=\"!!popup.list && popup.showSearch\" [class]=\"popup.cssClasses.popupSearch\">\n <svg [iconName]=\"'icon-search-24x24'\" [size]=\"'auto'\" [partCss]=\"popup.cssClasses.popupSearchIcon\" sv-ng-svg-icon></svg>\n <input type=\"text\" [class]=\"popup.cssClasses.popupSearchInput\" [value]=\"popup.list.filterString || ''\"\n [attr.placeholder]=\"popup.list.filterStringPlaceholder\" [attr.aria-label]=\"popup.list.filterStringPlaceholder\"\n (input)=\"onSearchInput($event)\" (keydown)=\"popup.onSearchKeyDown($event)\" />\n </div>\n <div *ngIf=\"popup.showHeader\" [class]=\"popup.cssClasses.popupHeader\">\n <div [class]=\"popup.cssClasses.popupTitle\">{{ popup.title }}</div>\n <sv-ng-action-bar [model]=\"popup.headerToolbar\"></sv-ng-action-bar>\n </div>\n <div [class]=\"popup.cssClasses.popupBody\">\n <sv-ng-list *ngIf=\"!!popup.list\" [model]=\"popup.list\"></sv-ng-list>\n <sv-ng-filter-editor-page *ngIf=\"!popup.list && !!popup.editor\" [survey]=\"popup.editor.survey\" [disposed]=\"popup.editor.isDisposed\"\n [className]=\"popup.cssClasses.editor\"></sv-ng-filter-editor-page>\n </div>\n <div *ngIf=\"popup.footerToolbar.hasActions\" [class]=\"popup.cssClasses.popupFooter\">\n <sv-ng-action-bar [model]=\"popup.footerToolbar\"></sv-ng-action-bar>\n </div>\n </div>\n</ng-template>\n", styles: [":host{display:none}\n"], components: [{ type: SvgIconComponent, selector: "'[sv-ng-svg-icon]'", inputs: ["size", "width", "height", "iconName", "partCss", "css", "title"] }, { type: ActionBarComponent, selector: "sv-action-bar, sv-ng-action-bar", inputs: ["model", "handleClick"] }, { type: ListComponent, selector: "sv-ng-list, '[sv-ng-list]'", inputs: ["model"] }, { type: FilterEditorPageComponent, selector: "sv-ng-filter-editor-page", inputs: ["survey", "disposed", "className"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
2904
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FilterFieldPopupComponent, decorators: [{
|
|
2905
|
+
type: Component,
|
|
2906
|
+
args: [{
|
|
2907
|
+
selector: "sv-ng-filter-field-popup",
|
|
2908
|
+
templateUrl: "./filter-field-popup.component.html",
|
|
2909
|
+
styleUrls: ["../../hide-host.scss"]
|
|
2910
|
+
}]
|
|
2911
|
+
}] });
|
|
2912
|
+
AngularComponentFactory.Instance.registerComponent(filterFieldPopupComponentName, FilterFieldPopupComponent);
|
|
2913
|
+
|
|
2914
|
+
// "Save as..."'s popup of the Filter Control: the new preset's name and Save.
|
|
2915
|
+
class FilterSaveAsPopupComponent extends FilterHolderComponent {
|
|
2916
|
+
// The holder empties a slot before it disposes what it held: this is never a disposed popup.
|
|
2917
|
+
get popup() {
|
|
2918
|
+
const holder = this.holder;
|
|
2919
|
+
return !!holder ? holder.saveAsPopup : undefined;
|
|
2920
|
+
}
|
|
2921
|
+
getWatchedModels() {
|
|
2922
|
+
const popup = this.popup;
|
|
2923
|
+
return !!popup ? [popup.footerToolbar] : [];
|
|
2924
|
+
}
|
|
2925
|
+
}
|
|
2926
|
+
FilterSaveAsPopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FilterSaveAsPopupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2927
|
+
FilterSaveAsPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: FilterSaveAsPopupComponent, selector: "sv-ng-filter-save-as-popup", usesInheritance: true, ngImport: i0, template: "<ng-template #template>\n <div *ngIf=\"!!popup\" [class]=\"popup.cssClasses.popup\">\n <div [class]=\"popup.cssClasses.popupBody\">\n <sv-ng-filter-editor-page [survey]=\"popup.survey\" [disposed]=\"popup.isDisposed\" [className]=\"popup.cssClasses.editor\"></sv-ng-filter-editor-page>\n </div>\n <div [class]=\"popup.cssClasses.popupFooter\">\n <sv-ng-action-bar [model]=\"popup.footerToolbar\"></sv-ng-action-bar>\n </div>\n </div>\n</ng-template>\n", styles: [":host{display:none}\n"], components: [{ type: FilterEditorPageComponent, selector: "sv-ng-filter-editor-page", inputs: ["survey", "disposed", "className"] }, { type: ActionBarComponent, selector: "sv-action-bar, sv-ng-action-bar", inputs: ["model", "handleClick"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
2928
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FilterSaveAsPopupComponent, decorators: [{
|
|
2929
|
+
type: Component,
|
|
2930
|
+
args: [{
|
|
2931
|
+
selector: "sv-ng-filter-save-as-popup",
|
|
2932
|
+
templateUrl: "./filter-save-as-popup.component.html",
|
|
2933
|
+
styleUrls: ["../../hide-host.scss"]
|
|
2934
|
+
}]
|
|
2935
|
+
}] });
|
|
2936
|
+
AngularComponentFactory.Instance.registerComponent(filterSaveAsPopupComponentName, FilterSaveAsPopupComponent);
|
|
2937
|
+
|
|
2938
|
+
// The Filters dialog's content: Search in Filters, the presets with Add New and Edit Selected, the text
|
|
2939
|
+
// of a preset that does not decompose with Edit..., "nothing found" and the fields; its footer is the
|
|
2940
|
+
// dialog's own.
|
|
2941
|
+
class FilterModalComponent extends FilterHolderComponent {
|
|
2942
|
+
// The holder empties a slot before it disposes what it held: this is never a disposed dialog.
|
|
2943
|
+
get modal() {
|
|
2944
|
+
const holder = this.holder;
|
|
2945
|
+
return !!holder ? holder.modal : undefined;
|
|
2946
|
+
}
|
|
2947
|
+
getWatchedModels() {
|
|
2948
|
+
const modal = this.modal;
|
|
2949
|
+
return !!modal ? [modal, modal.presetsToolbar, modal.expressionToolbar] : [];
|
|
2950
|
+
}
|
|
2951
|
+
onSearchInput(event) {
|
|
2952
|
+
this.modal.filterText = event.target.value;
|
|
2953
|
+
}
|
|
2954
|
+
}
|
|
2955
|
+
FilterModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FilterModalComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2956
|
+
FilterModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: FilterModalComponent, selector: "sv-ng-filter-modal", usesInheritance: true, ngImport: i0, template: "<ng-template #template>\n <div *ngIf=\"!!modal\" [class]=\"modal.cssClasses.modalContent\">\n <div [class]=\"modal.cssClasses.modalSection\">\n <div [class]=\"modal.searchCss.root\">\n <svg [iconName]=\"'icon-search-24x24'\" [size]=\"'auto'\" [partCss]=\"modal.cssClasses.searchIcon\" sv-ng-svg-icon></svg>\n <input type=\"text\" [class]=\"modal.searchCss.control\" [value]=\"modal.filterText\" [attr.placeholder]=\"modal.searchPlaceholder\"\n [attr.aria-label]=\"modal.searchPlaceholder\" (input)=\"onSearchInput($event)\" />\n <sv-action-bar-item *ngIf=\"modal.showSearchClear\" [model]=\"modal.searchClearAction\"></sv-action-bar-item>\n </div>\n </div>\n <div *ngIf=\"modal.presetsToolbar.hasVisibleActions\" [class]=\"modal.cssClasses.modalSection\" role=\"group\" [attr.aria-labelledby]=\"modal.presetsTitleId\">\n <div [class]=\"modal.cssClasses.modalSectionHeader\">\n <div [class]=\"modal.cssClasses.modalSectionTitle\" [attr.id]=\"modal.presetsTitleId\">{{ modal.presetsTitle }}</div>\n </div>\n <sv-ng-action-bar [model]=\"modal.presetsToolbar\"></sv-ng-action-bar>\n </div>\n <div *ngIf=\"modal.showExpression\" [class]=\"modal.cssClasses.modalSection + ' ' + modal.cssClasses.modalExpression\">\n <div [class]=\"modal.cssClasses.modalSectionTitle\">{{ modal.expressionTitle }}</div>\n <div [class]=\"modal.cssClasses.modalExpressionText\">{{ modal.presetExpression }}</div>\n <sv-ng-action-bar [model]=\"modal.expressionToolbar\"></sv-ng-action-bar>\n </div>\n <div *ngIf=\"modal.isNothingFound\" [class]=\"modal.cssClasses.modalNothingFound\">\n <svg [iconName]=\"'icon-search-24x24'\" [size]=\"'auto'\" [partCss]=\"modal.cssClasses.modalNothingFoundIcon\" sv-ng-svg-icon></svg>\n <div>{{ modal.nothingFoundText }}</div>\n </div>\n <sv-ng-filter-editor-page *ngIf=\"!!modal.editor\" [survey]=\"modal.editor.survey\" [disposed]=\"modal.editor.isDisposed\"\n [className]=\"modal.editorCss\"></sv-ng-filter-editor-page>\n </div>\n</ng-template>\n", styles: [":host{display:none}\n"], components: [{ type: SvgIconComponent, selector: "'[sv-ng-svg-icon]'", inputs: ["size", "width", "height", "iconName", "partCss", "css", "title"] }, { type: ActionBarItemComponent, selector: "sv-action-bar-item", inputs: ["model"] }, { type: ActionBarComponent, selector: "sv-action-bar, sv-ng-action-bar", inputs: ["model", "handleClick"] }, { type: FilterEditorPageComponent, selector: "sv-ng-filter-editor-page", inputs: ["survey", "disposed", "className"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
2957
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FilterModalComponent, decorators: [{
|
|
2958
|
+
type: Component,
|
|
2959
|
+
args: [{
|
|
2960
|
+
selector: "sv-ng-filter-modal",
|
|
2961
|
+
templateUrl: "./filter-modal.component.html",
|
|
2962
|
+
styleUrls: ["../../hide-host.scss"]
|
|
2963
|
+
}]
|
|
2964
|
+
}] });
|
|
2965
|
+
AngularComponentFactory.Instance.registerComponent(filterModalComponentName, FilterModalComponent);
|
|
2966
|
+
|
|
2967
|
+
// New Preset and Edit Preset: the form - the name and the tagbox of Contains, or the text - and the
|
|
2968
|
+
// dialog's survey - the fields' editors in a frame and the AI description with its Create or Edit; the
|
|
2969
|
+
// footer is the dialog's own.
|
|
2970
|
+
class FilterPresetDialogComponent extends FilterHolderComponent {
|
|
2971
|
+
// The holder empties a slot before it disposes what it held: this is never a disposed dialog.
|
|
2972
|
+
get dialog() {
|
|
2973
|
+
const holder = this.holder;
|
|
2974
|
+
return !!holder ? holder.presetDialog : undefined;
|
|
2975
|
+
}
|
|
2976
|
+
getWatchedModels() {
|
|
2977
|
+
return [this.dialog];
|
|
2978
|
+
}
|
|
2979
|
+
// The page is empty with no field picked and no description (see hasSurveyContent).
|
|
2980
|
+
get hasFields() {
|
|
2981
|
+
return this.dialog.hasSurveyContent;
|
|
2982
|
+
}
|
|
2983
|
+
}
|
|
2984
|
+
FilterPresetDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FilterPresetDialogComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2985
|
+
FilterPresetDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: FilterPresetDialogComponent, selector: "sv-ng-filter-preset-dialog", usesInheritance: true, ngImport: i0, template: "<ng-template #template>\n <div *ngIf=\"!!dialog\" [class]=\"dialog.contentCss\">\n <sv-ng-filter-editor-page *ngIf=\"!!dialog.form\" [survey]=\"dialog.form\" [disposed]=\"dialog.isDisposed\" [className]=\"dialog.formCss\"></sv-ng-filter-editor-page>\n <sv-ng-filter-editor-page *ngIf=\"hasFields\" [survey]=\"dialog.survey\" [disposed]=\"dialog.isDisposed\" [className]=\"dialog.editorCss\"></sv-ng-filter-editor-page>\n </div>\n</ng-template>\n", styles: [":host{display:none}\n"], components: [{ type: FilterEditorPageComponent, selector: "sv-ng-filter-editor-page", inputs: ["survey", "disposed", "className"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
2986
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FilterPresetDialogComponent, decorators: [{
|
|
2987
|
+
type: Component,
|
|
2988
|
+
args: [{
|
|
2989
|
+
selector: "sv-ng-filter-preset-dialog",
|
|
2990
|
+
templateUrl: "./filter-preset-dialog.component.html",
|
|
2991
|
+
styleUrls: ["../../hide-host.scss"]
|
|
2992
|
+
}]
|
|
2993
|
+
}] });
|
|
2994
|
+
AngularComponentFactory.Instance.registerComponent(filterPresetDialogComponentName, FilterPresetDialogComponent);
|
|
2995
|
+
|
|
2513
2996
|
class ActionBarItemDropdownComponent extends BaseAngular {
|
|
2514
2997
|
getModel() {
|
|
2515
2998
|
return this.model;
|
|
@@ -2524,7 +3007,7 @@ class ActionBarItemDropdownComponent extends BaseAngular {
|
|
|
2524
3007
|
}
|
|
2525
3008
|
}
|
|
2526
3009
|
ActionBarItemDropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ActionBarItemDropdownComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2527
|
-
ActionBarItemDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: ActionBarItemDropdownComponent, selector: "sv-action-bar-item-dropdown", inputs: { model: "model" }, usesInheritance: true, ngImport: i0, template: "<ng-template #template>\n <button type=\"button\" (click)=\"model.doAction($event)\" [key2click]=\"{ processEsc: false, disableTabStop: model.disableTabStop }\" [class]=\"model.getActionBarItemCss()\" [attr.title]=\"model.getTooltip()\" [attr.data-sv-tooltip]=\"model.getTooltip()\" [attr.aria-label]=\"model.ariaLabel\" [disabled]=\"model.disabled\" [attr.role]=\"model.ariaRole\">\n <svg *ngIf=\"model.iconName\" [iconName]=\"model.iconName\" [size]=\"model.iconSize\" [title]=\"model.tooltip || model.title\" [class]=\"model.cssClasses.itemIcon\" sv-ng-svg-icon></svg>\n <sv-ng-string-viewer style=\"display:contents\" *ngIf=\"model.hasTitle\" [model]=\"model.locTitle\" [textClass]=\"model.getActionBarItemTitleCss()\"></sv-ng-string-viewer>\n </button>\n <sv-ng-popup [popupModel]=\"model.popupModel\"></sv-ng-popup>\n</ng-template>", styles: [":host{display:none}\n"], components: [{ type: SvgIconComponent, selector: "'[sv-ng-svg-icon]'", inputs: ["size", "width", "height", "iconName", "partCss", "css", "title"] }, { type: StringViewerComponent, selector: "sv-ng-string-viewer, string-viewer, '[sv-ng-string-viewer]'", inputs: ["model", "textClass"] }, { type: PopupComponent, selector: "sv-ng-popup, '[sv-ng-popup]'", inputs: ["popupModel"] }], directives: [{ type: Key2ClickDirective, selector: "[key2click]", inputs: ["key2click"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
3010
|
+
ActionBarItemDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: ActionBarItemDropdownComponent, selector: "sv-action-bar-item-dropdown", inputs: { model: "model" }, usesInheritance: true, ngImport: i0, template: "<ng-template #template>\n <button type=\"button\" (click)=\"model.doAction($event)\" [key2click]=\"{ processEsc: false, disableTabStop: model.disableTabStop }\" [class]=\"model.getActionBarItemCss()\" [attr.title]=\"model.getTooltip()\" [attr.data-sv-tooltip]=\"model.getTooltip()\" [attr.aria-label]=\"model.ariaLabel\" [attr.aria-expanded]=\"model.ariaExpanded\" [disabled]=\"model.disabled\" [attr.role]=\"model.ariaRole\">\n <svg *ngIf=\"model.iconName\" [iconName]=\"model.iconName\" [size]=\"model.iconSize\" [title]=\"model.tooltip || model.title\" [class]=\"model.cssClasses.itemIcon\" sv-ng-svg-icon></svg>\n <sv-ng-string-viewer style=\"display:contents\" *ngIf=\"model.hasTitle\" [model]=\"model.locTitle\" [textClass]=\"model.getActionBarItemTitleCss()\"></sv-ng-string-viewer>\n </button>\n <sv-ng-popup [popupModel]=\"model.popupModel\"></sv-ng-popup>\n</ng-template>", styles: [":host{display:none}\n"], components: [{ type: SvgIconComponent, selector: "'[sv-ng-svg-icon]'", inputs: ["size", "width", "height", "iconName", "partCss", "css", "title"] }, { type: StringViewerComponent, selector: "sv-ng-string-viewer, string-viewer, '[sv-ng-string-viewer]'", inputs: ["model", "textClass"] }, { type: PopupComponent, selector: "sv-ng-popup, '[sv-ng-popup]'", inputs: ["popupModel"] }], directives: [{ type: Key2ClickDirective, selector: "[key2click]", inputs: ["key2click"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
2528
3011
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ActionBarItemDropdownComponent, decorators: [{
|
|
2529
3012
|
type: Component,
|
|
2530
3013
|
args: [{
|
|
@@ -2709,7 +3192,7 @@ class TimerPanelComponent extends BaseAngular {
|
|
|
2709
3192
|
}
|
|
2710
3193
|
}
|
|
2711
3194
|
TimerPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TimerPanelComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2712
|
-
TimerPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TimerPanelComponent, selector: "sv-timerpanel", inputs: { model: "model" }, usesInheritance: true, ngImport: i0, template: "<div *ngIf=\"model.isRunning && model.showTimerAsClock\" [class]=\"model.rootCss\">\n
|
|
3195
|
+
TimerPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TimerPanelComponent, selector: "sv-timerpanel", inputs: { model: "model" }, usesInheritance: true, ngImport: i0, template: "<ng-template #template>\n <div *ngIf=\"model.isRunning && model.showTimerAsClock\" [class]=\"model.rootCss\">\n <svg *ngIf=\"model.showProgress\" [class]=\"model.getProgressCss()\" [style.stroke-dasharray]=\"circleLength\" [style.stroke-dashoffset]=\"progress\" [size]=\"'auto'\" [iconName]=\"'icon-timercircle'\" sv-ng-svg-icon></svg>\n <div [class]=\"model.textContainerCss\">\n <span [class]=\"model.majorTextCss\">{{ model.clockMajorText }}</span>\n <span *ngIf=\"model.clockMinorText\" [class]=\"model.minorTextCss\">{{ model.clockMinorText }}</span>\n </div>\n </div>\n <div *ngIf=\"model.isRunning && !model.showTimerAsClock\" [class]='model.survey.getCss().timerRoot'>{{model.text}}</div>\n</ng-template>", components: [{ type: SvgIconComponent, selector: "'[sv-ng-svg-icon]'", inputs: ["size", "width", "height", "iconName", "partCss", "css", "title"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
2713
3196
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TimerPanelComponent, decorators: [{
|
|
2714
3197
|
type: Component,
|
|
2715
3198
|
args: [{
|
|
@@ -2721,127 +3204,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
2721
3204
|
}] } });
|
|
2722
3205
|
AngularComponentFactory.Instance.registerComponent("sv-timerpanel", TimerPanelComponent);
|
|
2723
3206
|
|
|
2724
|
-
class ListItemComponent extends BaseAngular {
|
|
2725
|
-
get elementId() {
|
|
2726
|
-
var _a;
|
|
2727
|
-
return (_a = this.model) === null || _a === void 0 ? void 0 : _a.elementId;
|
|
2728
|
-
}
|
|
2729
|
-
get ariaSelected() {
|
|
2730
|
-
return this.listModel.getA11yItemAriaSelected(this.model);
|
|
2731
|
-
}
|
|
2732
|
-
get ariaChecked() {
|
|
2733
|
-
return this.listModel.getA11yItemAriaChecked(this.model);
|
|
2734
|
-
}
|
|
2735
|
-
get class() {
|
|
2736
|
-
return this.listModel.getItemClass(this.model);
|
|
2737
|
-
}
|
|
2738
|
-
get itemStyle() {
|
|
2739
|
-
return this.listModel.getItemStyle(this.model);
|
|
2740
|
-
}
|
|
2741
|
-
click(event) {
|
|
2742
|
-
this.listModel.onItemClick(this.model);
|
|
2743
|
-
event.stopPropagation();
|
|
2744
|
-
}
|
|
2745
|
-
pointerdown(event) {
|
|
2746
|
-
this.listModel.onPointerDown(event, this.model);
|
|
2747
|
-
}
|
|
2748
|
-
get itemComponent() {
|
|
2749
|
-
return this.model.component || this.listModel.itemComponent;
|
|
2750
|
-
}
|
|
2751
|
-
get itemComponentData() {
|
|
2752
|
-
const itemData = this.model.data;
|
|
2753
|
-
return {
|
|
2754
|
-
model: this.model,
|
|
2755
|
-
listModel: this.listModel,
|
|
2756
|
-
itemData,
|
|
2757
|
-
survey: itemData === null || itemData === void 0 ? void 0 : itemData.survey,
|
|
2758
|
-
page: itemData === null || itemData === void 0 ? void 0 : itemData.page
|
|
2759
|
-
};
|
|
2760
|
-
}
|
|
2761
|
-
getModel() {
|
|
2762
|
-
return this.model;
|
|
2763
|
-
}
|
|
2764
|
-
ngAfterViewInit() {
|
|
2765
|
-
var _a;
|
|
2766
|
-
if (!!((_a = this.elementRef) === null || _a === void 0 ? void 0 : _a.nativeElement)) {
|
|
2767
|
-
this.listModel.onItemRended(this.model, this.elementRef.nativeElement);
|
|
2768
|
-
}
|
|
2769
|
-
}
|
|
2770
|
-
}
|
|
2771
|
-
ListItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ListItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2772
|
-
ListItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: ListItemComponent, selector: "sv-ng-list-item, '[sv-ng-list-item]'", inputs: { element: "element", model: "model", listModel: "listModel" }, viewQueries: [{ propertyName: "elementRef", first: true, predicate: ["elementRef"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-template #template>\n <li #elementRef [attr.role]=\"listModel.listItemRole\" [key2click]=\"{ processEsc: false, disableTabStop: model.disableTabStop }\" [visible]=\"listModel.isItemVisible(model)\" [class]=\"class\" \n [attr.id]=\"elementId\" [attr.aria-selected]=\"ariaSelected\" [attr.aria-checked]=\"ariaChecked\" (click)=\"click($event)\" (pointerdown)=\"pointerdown($event)\">\n <ng-container *ngIf=\"model.needSeparator\">\n <div [class]=\"listModel.cssClasses.itemSeparator\"></div>\n </ng-container>\n <div [class]=\"listModel.cssClasses.itemBody\" [style]=\"itemStyle\" [attr.title]=\"model.getTooltip()\"\n (mouseover)=\"listModel.onItemHover(model)\"\n (mouseleave)=\"listModel.onItemLeave(model)\">\n <ng-template [component]=\"{ name: itemComponent, data: itemComponentData }\"></ng-template>\n </div>\n </li>\n</ng-template>", styles: [":host{display:none}\n"], directives: [{ type: Key2ClickDirective, selector: "[key2click]", inputs: ["key2click"] }, { type: VisibleDirective, selector: "[visible]", inputs: ["visible"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: DynamicComponentDirective, selector: "[component]", inputs: ["component"] }] });
|
|
2773
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ListItemComponent, decorators: [{
|
|
2774
|
-
type: Component,
|
|
2775
|
-
args: [{
|
|
2776
|
-
selector: "sv-ng-list-item, '[sv-ng-list-item]'",
|
|
2777
|
-
templateUrl: "./list-item.component.html",
|
|
2778
|
-
styleUrls: ["../../hide-host.scss"],
|
|
2779
|
-
}]
|
|
2780
|
-
}], propDecorators: { element: [{
|
|
2781
|
-
type: Input
|
|
2782
|
-
}], model: [{
|
|
2783
|
-
type: Input
|
|
2784
|
-
}], listModel: [{
|
|
2785
|
-
type: Input
|
|
2786
|
-
}], elementRef: [{
|
|
2787
|
-
type: ViewChild,
|
|
2788
|
-
args: ["elementRef"]
|
|
2789
|
-
}] } });
|
|
2790
|
-
AngularComponentFactory.Instance.registerComponent("sv-list-item", ListItemComponent);
|
|
2791
|
-
|
|
2792
|
-
class ListComponent extends BaseAngular {
|
|
2793
|
-
constructor() {
|
|
2794
|
-
super(...arguments);
|
|
2795
|
-
this.trackItemBy = (_, item) => {
|
|
2796
|
-
return item.id;
|
|
2797
|
-
};
|
|
2798
|
-
}
|
|
2799
|
-
getModel() {
|
|
2800
|
-
return this.model;
|
|
2801
|
-
}
|
|
2802
|
-
onGoToItems(event) {
|
|
2803
|
-
this.model.goToItems(event);
|
|
2804
|
-
}
|
|
2805
|
-
onMouseDown(event) {
|
|
2806
|
-
event.preventDefault();
|
|
2807
|
-
}
|
|
2808
|
-
onKeyDown(event) {
|
|
2809
|
-
this.model.onKeyDown(event);
|
|
2810
|
-
}
|
|
2811
|
-
onMouseMove(event) {
|
|
2812
|
-
this.model.onMouseMove(event);
|
|
2813
|
-
}
|
|
2814
|
-
getPropertiesToUpdateSync() {
|
|
2815
|
-
return ["renderElements"];
|
|
2816
|
-
}
|
|
2817
|
-
ngAfterViewInit() {
|
|
2818
|
-
var _a;
|
|
2819
|
-
if (!!((_a = this.listContainerElement) === null || _a === void 0 ? void 0 : _a.nativeElement)) {
|
|
2820
|
-
this.model.initListContainerHtmlElement(this.listContainerElement.nativeElement);
|
|
2821
|
-
}
|
|
2822
|
-
}
|
|
2823
|
-
ngOnDestroy() {
|
|
2824
|
-
this.model.initListContainerHtmlElement(undefined);
|
|
2825
|
-
super.ngOnDestroy();
|
|
2826
|
-
}
|
|
2827
|
-
}
|
|
2828
|
-
ListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ListComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2829
|
-
ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: ListComponent, selector: "sv-ng-list, '[sv-ng-list]'", inputs: { model: "model" }, viewQueries: [{ propertyName: "listContainerElement", first: true, predicate: ["listContainerElement"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-template #template>\n <div [class]=\"model.cssClasses.root\" #listContainerElement>\n <div *ngIf=\"model.showFilter\" [class]=\"model.cssClasses.filter\">\n <div [class]=\"model.cssClasses.filterBox\">\n <div [class]=\"model.cssClasses.filterIcon\">\n <svg [iconName]=\"'icon-search'\" [size]=\"'auto'\" sv-ng-svg-icon></svg>\n </div>\n <input type=\"text\" [class]=\"model.cssClasses.filterInput\" [(ngModel)]=\"model.filterString\"\n [attr.aria-label]=\"model.filterStringPlaceholder || ''\"\n [attr.placeholder]=\"model.filterStringPlaceholder || ''\" \n (keyup)=\"onGoToItems($event)\" />\n <button *ngIf=\"model.showSearchClearButton && !!model.filterString\" (click)=\"model.onClickSearchClearButton($event)\" [class]=\"model.cssClasses.searchClearButtonIcon\">\n <svg [iconName]=\"'icon-searchclear'\" [size]=\"'auto'\" sv-ng-svg-icon></svg>\n </button>\n </div>\n </div>\n <ng-container *ngIf=\"model.loadingState === 'loading'\">\n <ng-template [component]=\"{ name: model.loadingComponent, data: { model: model } }\"></ng-template>\n </ng-container>\n <div *ngIf=\"model.loadingState !== 'loading'\" [class]=\"model.cssClasses.emptyContainer\" [visible]=\"model.isEmpty\">\n <div [class]=\"model.cssClasses.emptyText\" [attr.aria-label]=\"model.emptyMessage || ''\">{{ model.emptyMessage }}</div>\n </div>\n <ul *ngIf=\"model.renderElements\" [class]=\"model.getListClass()\" [attr.role]=\"model.listRole\" [attr.aria-label]=\"model.a11ya11y_input_ariaLabel\" [attr.id]=\"model.elementId\" [visible]=\"!model.isEmpty\" (mousedown)=\"onMouseDown($event)\" (keydown)=\"onKeyDown($event)\" (mousemove)=\"onMouseMove($event)\">\n <sv-ng-list-item *ngFor=\"let item of model.renderedActions; trackBy: trackItemBy\" [listModel]=\"model\" [model]=\"item\"></sv-ng-list-item>\n <!--ko foreach: model.renderedActions -->\n <!-- ko component: { name: 'sv-list-item', params: { item: $data, model: $parent.model } } -->\n <!-- /ko -->\n <!-- /ko -->\n </ul>\n </div>\n</ng-template>", styles: [":host{display:none}\n"], components: [{ type: SvgIconComponent, selector: "'[sv-ng-svg-icon]'", inputs: ["size", "width", "height", "iconName", "partCss", "css", "title"] }, { type: ListItemComponent, selector: "sv-ng-list-item, '[sv-ng-list-item]'", inputs: ["element", "model", "listModel"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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]" }, { type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: DynamicComponentDirective, selector: "[component]", inputs: ["component"] }, { type: VisibleDirective, selector: "[visible]", inputs: ["visible"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
2830
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ListComponent, decorators: [{
|
|
2831
|
-
type: Component,
|
|
2832
|
-
args: [{
|
|
2833
|
-
selector: "sv-ng-list, '[sv-ng-list]'",
|
|
2834
|
-
templateUrl: "./list.component.html",
|
|
2835
|
-
styleUrls: ["../../hide-host.scss"]
|
|
2836
|
-
}]
|
|
2837
|
-
}], propDecorators: { model: [{
|
|
2838
|
-
type: Input
|
|
2839
|
-
}], listContainerElement: [{
|
|
2840
|
-
type: ViewChild,
|
|
2841
|
-
args: ["listContainerElement"]
|
|
2842
|
-
}] } });
|
|
2843
|
-
AngularComponentFactory.Instance.registerComponent("sv-list", ListComponent);
|
|
2844
|
-
|
|
2845
3207
|
class ListItemContentComponent extends BaseAngular {
|
|
2846
3208
|
getModel() {
|
|
2847
3209
|
return this.model;
|
|
@@ -3604,7 +3966,7 @@ AngularComponentFactory.Instance.registerComponent("sv-paneldynamic-progress-tex
|
|
|
3604
3966
|
class PanelDynamicPlaceholderComponent {
|
|
3605
3967
|
}
|
|
3606
3968
|
PanelDynamicPlaceholderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PanelDynamicPlaceholderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3607
|
-
PanelDynamicPlaceholderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: PanelDynamicPlaceholderComponent, selector: "sv-ng-placeholder-paneldynamic", inputs: { question: "question" }, ngImport: i0, template: "<div *ngIf=\"question.getShowNoEntriesPlaceholder()\" [class]=\"question.cssClasses.noEntriesPlaceholder\">\n <span>\n <sv-ng-string [model]=\"question.locNoEntriesText\"></sv-ng-string>\n </span>\n <ng-template [component]=\"{ name: 'sv-action-bar', data: { model: question.footerToolbar } }\" *ngIf=\"question.getShowPlaceholderToolbar()\"></ng-template>\n</div> ", components: [{ type: SurveyStringComponent, selector: "sv-ng-string, '[sv-ng-string]'", inputs: ["model"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: DynamicComponentDirective, selector: "[component]", inputs: ["component"] }] });
|
|
3969
|
+
PanelDynamicPlaceholderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: PanelDynamicPlaceholderComponent, selector: "sv-ng-placeholder-paneldynamic", inputs: { question: "question" }, ngImport: i0, template: "<div *ngIf=\"question.getShowNoEntriesPlaceholder()\" [class]=\"question.cssClasses.noEntriesPlaceholder\">\n <span [attr.id]=\"question.noEntriesTextId\">\n <sv-ng-string [model]=\"question.locNoEntriesText\"></sv-ng-string>\n </span>\n <ng-template [component]=\"{ name: 'sv-action-bar', data: { model: question.footerToolbar } }\" *ngIf=\"question.getShowPlaceholderToolbar()\"></ng-template>\n</div> ", components: [{ type: SurveyStringComponent, selector: "sv-ng-string, '[sv-ng-string]'", inputs: ["model"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: DynamicComponentDirective, selector: "[component]", inputs: ["component"] }] });
|
|
3608
3970
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PanelDynamicPlaceholderComponent, decorators: [{
|
|
3609
3971
|
type: Component,
|
|
3610
3972
|
args: [{
|
|
@@ -4028,7 +4390,7 @@ class MatrixDynamicPlaceholderComponent {
|
|
|
4028
4390
|
}
|
|
4029
4391
|
}
|
|
4030
4392
|
MatrixDynamicPlaceholderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MatrixDynamicPlaceholderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4031
|
-
MatrixDynamicPlaceholderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MatrixDynamicPlaceholderComponent, selector: "sv-ng-placeholder-matrixdynamic", inputs: { question: "question" }, ngImport: i0, template: "<div [class]=\"question.cssClasses.noRowsSection\">\n <div [class]=\"question.cssClasses.noRowsText\">\n <sv-ng-string [model]=\"question.locNoRowsText\"></sv-ng-string>\n </div>\n <sv-ng-action-bar *ngIf=\"question.getShowPlaceholderToolbar()\" [model]=\"question.toolbar\"></sv-ng-action-bar>\n</div> ", components: [{ type: SurveyStringComponent, selector: "sv-ng-string, '[sv-ng-string]'", inputs: ["model"] }, { type: ActionBarComponent, selector: "sv-action-bar, sv-ng-action-bar", inputs: ["model", "handleClick"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
4393
|
+
MatrixDynamicPlaceholderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MatrixDynamicPlaceholderComponent, selector: "sv-ng-placeholder-matrixdynamic", inputs: { question: "question" }, ngImport: i0, template: "<div [class]=\"question.cssClasses.noRowsSection\">\n <div [attr.id]=\"question.noRowsTextId\" [class]=\"question.cssClasses.noRowsText\">\n <sv-ng-string [model]=\"question.locNoRowsText\"></sv-ng-string>\n </div>\n <sv-ng-action-bar *ngIf=\"question.getShowPlaceholderToolbar()\" [model]=\"question.toolbar\"></sv-ng-action-bar>\n</div> ", components: [{ type: SurveyStringComponent, selector: "sv-ng-string, '[sv-ng-string]'", inputs: ["model"] }, { type: ActionBarComponent, selector: "sv-action-bar, sv-ng-action-bar", inputs: ["model", "handleClick"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
4032
4394
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MatrixDynamicPlaceholderComponent, decorators: [{
|
|
4033
4395
|
type: Component,
|
|
4034
4396
|
args: [{
|
|
@@ -4289,6 +4651,8 @@ SurveyModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
|
4289
4651
|
CharacterCounterComponent, ListComponent, ListItemComponent, ListItemContentComponent, ListLoadingComponent, ListItemGroupComponent, RatingItemComponent, RatingItemStarComponent, RatingItemSmileyComponent,
|
|
4290
4652
|
TagboxFilterComponent, TagboxComponent, TagboxQuestionComponent, TagboxItemComponent,
|
|
4291
4653
|
ActionBarComponent, SortBarLevelComponent, ActionComponent, ActionBarItemComponent, ActionBarItemDropdownComponent, HtmlQuestionComponent,
|
|
4654
|
+
FilterQuestionComponent, FilterChipsComponent, FilterChipComponent, FilterListItemComponent,
|
|
4655
|
+
FilterEditorPageComponent, FilterFieldPopupComponent, FilterSaveAsPopupComponent, FilterModalComponent, FilterPresetDialogComponent,
|
|
4292
4656
|
SelectBaseItemComponent, SelectBaseComponent, SurveyCommentComponent, SurveyCommentChoiceComponent, ElementHeaderComponent, ElementTitleActionsComponent, ElementTitleComponent, DynamicHeadComponent, RowComponent,
|
|
4293
4657
|
RatingQuestionComponent, SliderQuestionComponent, SliderLabelItemComponent, RatingDropdownItemComponent, RatingDropdownComponent, ButtonGroupDropdownComponent, BooleanQuestionComponent, BooleanCheckboxComponent, BooleanRadioComponent, BooleanRadioItemComponent, BooleanSwitchComponent, ImagePickerItemComponent, ImagePickerQuestionComponent, ImageQuestionComponent,
|
|
4294
4658
|
SurveyHeaderComponent, ProgressDefaultComponent, ProgressButtonsComponent, ProgressTocComponent, MatrixQuestionComponent, SvgIconComponent, FileQuestionComponent, SafeUrlPipe, SafeHtmlPipe, CommentQuestionComponent, SignaturePadQuestionComponent, ErrorsComponent,
|
|
@@ -4308,6 +4672,8 @@ SurveyModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
|
4308
4672
|
CharacterCounterComponent, ListComponent, ListItemComponent, ListItemContentComponent, ListLoadingComponent, ListItemGroupComponent, RatingItemComponent, RatingItemStarComponent, RatingItemSmileyComponent,
|
|
4309
4673
|
TagboxFilterComponent, TagboxComponent, TagboxQuestionComponent, TagboxItemComponent,
|
|
4310
4674
|
ActionBarComponent, SortBarLevelComponent, ActionComponent, ActionBarItemComponent, ActionBarItemDropdownComponent, HtmlQuestionComponent,
|
|
4675
|
+
FilterQuestionComponent, FilterChipComponent, FilterListItemComponent,
|
|
4676
|
+
FilterFieldPopupComponent, FilterSaveAsPopupComponent, FilterModalComponent, FilterPresetDialogComponent,
|
|
4311
4677
|
SelectBaseItemComponent, SelectBaseComponent, SurveyCommentComponent, SurveyCommentChoiceComponent, ElementHeaderComponent, ElementTitleComponent, DynamicHeadComponent, RowComponent,
|
|
4312
4678
|
RatingQuestionComponent, SliderQuestionComponent, SliderLabelItemComponent, RatingDropdownItemComponent, RatingDropdownComponent, ButtonGroupDropdownComponent, BooleanQuestionComponent, BooleanCheckboxComponent, BooleanRadioComponent, BooleanRadioItemComponent, BooleanSwitchComponent, ImagePickerItemComponent, ImagePickerQuestionComponent, ImageQuestionComponent,
|
|
4313
4679
|
SurveyHeaderComponent, ProgressDefaultComponent, ProgressButtonsComponent, MatrixQuestionComponent, SvgIconComponent, FileQuestionComponent, SafeUrlPipe, SafeHtmlPipe, CommentQuestionComponent, SignaturePadQuestionComponent, ErrorsComponent,
|
|
@@ -4333,6 +4699,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
4333
4699
|
CharacterCounterComponent, ListComponent, ListItemComponent, ListItemContentComponent, ListLoadingComponent, ListItemGroupComponent, RatingItemComponent, RatingItemStarComponent, RatingItemSmileyComponent,
|
|
4334
4700
|
TagboxFilterComponent, TagboxComponent, TagboxQuestionComponent, TagboxItemComponent,
|
|
4335
4701
|
ActionBarComponent, SortBarLevelComponent, ActionComponent, ActionBarItemComponent, ActionBarItemDropdownComponent, HtmlQuestionComponent,
|
|
4702
|
+
FilterQuestionComponent, FilterChipsComponent, FilterChipComponent, FilterListItemComponent,
|
|
4703
|
+
FilterEditorPageComponent, FilterFieldPopupComponent, FilterSaveAsPopupComponent, FilterModalComponent, FilterPresetDialogComponent,
|
|
4336
4704
|
SelectBaseItemComponent, SelectBaseComponent, SurveyCommentComponent, SurveyCommentChoiceComponent, ElementHeaderComponent, ElementTitleActionsComponent, ElementTitleComponent, DynamicHeadComponent, RowComponent,
|
|
4337
4705
|
RatingQuestionComponent, SliderQuestionComponent, SliderLabelItemComponent, RatingDropdownItemComponent, RatingDropdownComponent, ButtonGroupDropdownComponent, BooleanQuestionComponent, BooleanCheckboxComponent, BooleanRadioComponent, BooleanRadioItemComponent, BooleanSwitchComponent, ImagePickerItemComponent, ImagePickerQuestionComponent, ImageQuestionComponent,
|
|
4338
4706
|
SurveyHeaderComponent, ProgressDefaultComponent, ProgressButtonsComponent, ProgressTocComponent, MatrixQuestionComponent, SvgIconComponent, FileQuestionComponent, SafeUrlPipe, SafeHtmlPipe, CommentQuestionComponent, SignaturePadQuestionComponent, ErrorsComponent,
|
|
@@ -4358,6 +4726,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
4358
4726
|
CharacterCounterComponent, ListComponent, ListItemComponent, ListItemContentComponent, ListLoadingComponent, ListItemGroupComponent, RatingItemComponent, RatingItemStarComponent, RatingItemSmileyComponent,
|
|
4359
4727
|
TagboxFilterComponent, TagboxComponent, TagboxQuestionComponent, TagboxItemComponent,
|
|
4360
4728
|
ActionBarComponent, SortBarLevelComponent, ActionComponent, ActionBarItemComponent, ActionBarItemDropdownComponent, HtmlQuestionComponent,
|
|
4729
|
+
FilterQuestionComponent, FilterChipComponent, FilterListItemComponent,
|
|
4730
|
+
FilterFieldPopupComponent, FilterSaveAsPopupComponent, FilterModalComponent, FilterPresetDialogComponent,
|
|
4361
4731
|
SelectBaseItemComponent, SelectBaseComponent, SurveyCommentComponent, SurveyCommentChoiceComponent, ElementHeaderComponent, ElementTitleComponent, DynamicHeadComponent, RowComponent,
|
|
4362
4732
|
RatingQuestionComponent, SliderQuestionComponent, SliderLabelItemComponent, RatingDropdownItemComponent, RatingDropdownComponent, ButtonGroupDropdownComponent, BooleanQuestionComponent, BooleanCheckboxComponent, BooleanRadioComponent, BooleanRadioItemComponent, BooleanSwitchComponent, ImagePickerItemComponent, ImagePickerQuestionComponent, ImageQuestionComponent,
|
|
4363
4733
|
SurveyHeaderComponent, ProgressDefaultComponent, ProgressButtonsComponent, MatrixQuestionComponent, SvgIconComponent, FileQuestionComponent, SafeUrlPipe, SafeHtmlPipe, CommentQuestionComponent, SignaturePadQuestionComponent, ErrorsComponent,
|
|
@@ -4376,5 +4746,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
4376
4746
|
* Generated bundle index. Do not edit.
|
|
4377
4747
|
*/
|
|
4378
4748
|
|
|
4379
|
-
export { ActionBarComponent, ActionBarItemComponent, ActionBarItemDropdownComponent, ActionComponent, AngularComponentFactory, BaseAngular, BooleanCheckboxComponent, BooleanQuestionComponent, BooleanRadioComponent, BooleanRadioItemComponent, BooleanSwitchComponent, BrandInfoComponent, BreadcrumbsComponent, ButtonGroupDropdownComponent, ButtonGroupQuestionComponent, CharacterCounterComponent, CheckboxComponent, CheckboxItemComponent, CommentQuestionComponent, ComponentsContainerComponent, CompositeQuestionComponent, CustomQuestionComponent, CustomWidgetComponent, DropdownComponent, DropdownOptionItemComponent, DropdownQuestionComponent, DropdownSelectComponent, DynamicComponentDirective, DynamicHeadComponent, ElementComponent, ElementHeaderComponent, ElementTitleComponent, EmbeddedViewContentComponent, ErrorsComponent, ExpressionComponent, FileItemComponent, FilePageComponent, FilePreviewComponent, FileQuestionComponent, HeaderCellComponent, HeaderComponent, HeaderMobileComponent, HtmlQuestionComponent, ImageMapQuestionComponent, ImagePickerItemComponent, ImagePickerQuestionComponent, ImageQuestionComponent, Key2ClickDirective, ListComponent, ListItemComponent, ListItemContentComponent, ListItemGroupComponent, ListLoadingComponent, LoadingIndicatorComponent, LogoImageComponent, MatrixCellComponent, MatrixDropdownCellComponent, MatrixDropdownComponent, MatrixDynamicComponent, MatrixDynamicDragDropIconComponent, MatrixDynamicPlaceholderComponent, MatrixHeaderSortButtonComponent, MatrixQuestionComponent, MatrixRequiredHeader, MatrixTableComponent, ModalComponent, MultipleTextComponent, MultipleTextItemComponent, MultipleTextRowComponent, NotifierComponent, PageComponent, PanelComponent, PanelDynamicPlaceholderComponent, PanelDynamicProgressText, PanelDynamicQuestionComponent, PopupBaseContainerComponent, PopupCloseButtonComponent, PopupComponent, PopupPointerComponent, PopupService, PopupSurveyComponent, ProgressButtonsComponent, ProgressDefaultComponent, ProgressTocComponent, QuestionAngular, QuestionComponent, QuestionErrorComponent, QuestionHintComponent, QuestionSkeletonComponent, QuestionViewComponent, RadiogroupComponent, RadiogroupItemComponent, RankingItemComponent, RankingItemContentComponent, RankingQuestionComponent, RatingDropdownComponent, RatingDropdownItemComponent, RatingItemComponent, RatingItemSmileyComponent, RatingItemStarComponent, RatingQuestionComponent, RowComponent, SafeHtmlPipe, SafeResourceUrlPipe, SafeUrlPipe, ScrollComponent, SelectBaseComponent, SelectBaseItemComponent, SignaturePadQuestionComponent, SingleInputSummaryComponent, SkeletonComponent, SliderLabelItemComponent, SliderQuestionComponent, SortBarLevelComponent, StringEditorComponent, StringViewerComponent, SurveyCommentChoiceComponent, SurveyCommentComponent, SurveyComponent, SurveyContentComponent, SurveyHeaderComponent, SurveyModule, SurveyStringComponent, SvgBundleComponent, SvgIconComponent, SvgIconRegisteredComponent, TagboxComponent, TagboxFilterComponent, TagboxItemComponent, TagboxQuestionComponent, TemplateRendererComponent, TextAreaComponent, TextQuestionComponent, TimerPanelComponent, VisibleDirective, getComponentName };
|
|
4749
|
+
export { ActionBarComponent, ActionBarItemComponent, ActionBarItemDropdownComponent, ActionComponent, AngularComponentFactory, BaseAngular, BooleanCheckboxComponent, BooleanQuestionComponent, BooleanRadioComponent, BooleanRadioItemComponent, BooleanSwitchComponent, BrandInfoComponent, BreadcrumbsComponent, ButtonGroupDropdownComponent, ButtonGroupQuestionComponent, CharacterCounterComponent, CheckboxComponent, CheckboxItemComponent, CommentQuestionComponent, ComponentsContainerComponent, CompositeQuestionComponent, CustomQuestionComponent, CustomWidgetComponent, DropdownComponent, DropdownOptionItemComponent, DropdownQuestionComponent, DropdownSelectComponent, DynamicComponentDirective, DynamicHeadComponent, ElementComponent, ElementHeaderComponent, ElementTitleComponent, EmbeddedViewContentComponent, ErrorsComponent, ExpressionComponent, FileItemComponent, FilePageComponent, FilePreviewComponent, FileQuestionComponent, FilterChipComponent, FilterFieldPopupComponent, FilterListItemComponent, FilterModalComponent, FilterPresetDialogComponent, FilterQuestionComponent, FilterSaveAsPopupComponent, HeaderCellComponent, HeaderComponent, HeaderMobileComponent, HtmlQuestionComponent, ImageMapQuestionComponent, ImagePickerItemComponent, ImagePickerQuestionComponent, ImageQuestionComponent, Key2ClickDirective, ListComponent, ListItemComponent, ListItemContentComponent, ListItemGroupComponent, ListLoadingComponent, LoadingIndicatorComponent, LogoImageComponent, MatrixCellComponent, MatrixDropdownCellComponent, MatrixDropdownComponent, MatrixDynamicComponent, MatrixDynamicDragDropIconComponent, MatrixDynamicPlaceholderComponent, MatrixHeaderSortButtonComponent, MatrixQuestionComponent, MatrixRequiredHeader, MatrixTableComponent, ModalComponent, MultipleTextComponent, MultipleTextItemComponent, MultipleTextRowComponent, NotifierComponent, PageComponent, PanelComponent, PanelDynamicPlaceholderComponent, PanelDynamicProgressText, PanelDynamicQuestionComponent, PopupBaseContainerComponent, PopupCloseButtonComponent, PopupComponent, PopupPointerComponent, PopupService, PopupSurveyComponent, ProgressButtonsComponent, ProgressDefaultComponent, ProgressTocComponent, QuestionAngular, QuestionComponent, QuestionErrorComponent, QuestionHintComponent, QuestionSkeletonComponent, QuestionViewComponent, RadiogroupComponent, RadiogroupItemComponent, RankingItemComponent, RankingItemContentComponent, RankingQuestionComponent, RatingDropdownComponent, RatingDropdownItemComponent, RatingItemComponent, RatingItemSmileyComponent, RatingItemStarComponent, RatingQuestionComponent, RowComponent, SafeHtmlPipe, SafeResourceUrlPipe, SafeUrlPipe, ScrollComponent, SelectBaseComponent, SelectBaseItemComponent, SignaturePadQuestionComponent, SingleInputSummaryComponent, SkeletonComponent, SliderLabelItemComponent, SliderQuestionComponent, SortBarLevelComponent, StringEditorComponent, StringViewerComponent, SurveyCommentChoiceComponent, SurveyCommentComponent, SurveyComponent, SurveyContentComponent, SurveyHeaderComponent, SurveyModule, SurveyStringComponent, SvgBundleComponent, SvgIconComponent, SvgIconRegisteredComponent, TagboxComponent, TagboxFilterComponent, TagboxItemComponent, TagboxQuestionComponent, TemplateRendererComponent, TextAreaComponent, TextQuestionComponent, TimerPanelComponent, VisibleDirective, getComponentName };
|
|
4380
4750
|
//# sourceMappingURL=survey-angular-ui.js.map
|