@progress-chef/platform-shared-components 0.0.154 → 0.0.156-rc.1
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/icons/IconFont.css +6 -3
- package/assets/icons/IconFont.scss +6 -3
- package/assets/icons/IconFont.ttf +0 -0
- package/assets/icons/IconFont.woff +0 -0
- package/assets/icons/IconFont.woff2 +0 -0
- package/esm2022/lib/atoms/alert/alert.component.mjs +3 -3
- package/esm2022/lib/atoms/alert/alert.module.mjs +4 -4
- package/esm2022/lib/atoms/angular-popup/angular-popup.component.mjs +3 -3
- package/esm2022/lib/atoms/angular-popup/angular-popup.module.mjs +4 -4
- package/esm2022/lib/atoms/atoms.module.mjs +19 -5
- package/esm2022/lib/atoms/avatar/avatar.component.mjs +3 -3
- package/esm2022/lib/atoms/avatar/avatar.module.mjs +4 -4
- package/esm2022/lib/atoms/breadcrumb/breadcrumb.component.mjs +3 -3
- package/esm2022/lib/atoms/breadcrumb/breadcrumb.module.mjs +4 -4
- package/esm2022/lib/atoms/button/button.component.mjs +3 -3
- package/esm2022/lib/atoms/button/button.module.mjs +4 -4
- package/esm2022/lib/atoms/button-group/button-group.component.mjs +3 -3
- package/esm2022/lib/atoms/button-group/button-group.module.mjs +4 -4
- package/esm2022/lib/atoms/checkbox/checkbox.component.mjs +3 -3
- package/esm2022/lib/atoms/checkbox/checkbox.module.mjs +4 -4
- package/esm2022/lib/atoms/chip/chip.component.mjs +3 -3
- package/esm2022/lib/atoms/chip/chip.module.mjs +4 -4
- package/esm2022/lib/atoms/chip-list/chip-list.component.mjs +3 -3
- package/esm2022/lib/atoms/chip-list/chip-list.module.mjs +4 -4
- package/esm2022/lib/atoms/clipboard/clipboard.component.mjs +3 -3
- package/esm2022/lib/atoms/clipboard/clipboard.module.mjs +4 -4
- package/esm2022/lib/atoms/container/container.component.mjs +3 -3
- package/esm2022/lib/atoms/container/container.module.mjs +4 -4
- package/esm2022/lib/atoms/date-range/date-range.component.mjs +3 -3
- package/esm2022/lib/atoms/date-range/date-range.module.mjs +4 -4
- package/esm2022/lib/atoms/datepicker/datepicker.component.mjs +3 -3
- package/esm2022/lib/atoms/datepicker/datepicker.module.mjs +4 -4
- package/esm2022/lib/atoms/drag-and-drop/drag-and-drop.component.mjs +33 -5
- package/esm2022/lib/atoms/drag-and-drop/drag-and-drop.module.mjs +4 -4
- package/esm2022/lib/atoms/dropdown/dropdown.component.mjs +3 -3
- package/esm2022/lib/atoms/dropdown/dropdown.module.mjs +4 -4
- package/esm2022/lib/atoms/dropdown-button/dropdown-button.component.mjs +3 -3
- package/esm2022/lib/atoms/dropdown-button/dropdown-button.module.mjs +4 -4
- package/esm2022/lib/atoms/dropdown-tree/dropdowntree.component.mjs +3 -3
- package/esm2022/lib/atoms/dropdown-tree/dropdowntree.module.mjs +4 -4
- package/esm2022/lib/atoms/expansion-panel/expansion-panel.component.mjs +3 -3
- package/esm2022/lib/atoms/expansion-panel/expansion-panel.module.mjs +4 -4
- package/esm2022/lib/atoms/icon/icon.component.mjs +4 -4
- package/esm2022/lib/atoms/icon/icon.module.mjs +4 -4
- package/esm2022/lib/atoms/labels/label.component.mjs +3 -3
- package/esm2022/lib/atoms/labels/label.module.mjs +4 -4
- package/esm2022/lib/atoms/list-views/list-view.component.mjs +3 -3
- package/esm2022/lib/atoms/list-views/list-view.module.mjs +4 -4
- package/esm2022/lib/atoms/loader/loader.component.mjs +3 -3
- package/esm2022/lib/atoms/loader/loader.module.mjs +4 -4
- package/esm2022/lib/atoms/loading-spinner/loading-spinner.component.mjs +3 -3
- package/esm2022/lib/atoms/loading-spinner/loading-spinner.module.mjs +4 -4
- package/esm2022/lib/atoms/markdown-display/markdown-display.component.mjs +39 -0
- package/esm2022/lib/atoms/markdown-display/markdown-display.module.mjs +26 -0
- package/esm2022/lib/atoms/markdown-display/markdown-display.service.mjs +53 -0
- package/esm2022/lib/atoms/multi-select-dropdown/multi-select-dropdown.component.mjs +3 -3
- package/esm2022/lib/atoms/multi-select-dropdown/multi-select-dropdown.module.mjs +4 -4
- package/esm2022/lib/atoms/notification/notification.component.mjs +3 -3
- package/esm2022/lib/atoms/notification/notification.module.mjs +4 -4
- package/esm2022/lib/atoms/numeric-textbox/numeric-textbox.component.mjs +3 -3
- package/esm2022/lib/atoms/numeric-textbox/numeric-textbox.module.mjs +4 -4
- package/esm2022/lib/atoms/progress-bar/progress-bar.component.mjs +3 -3
- package/esm2022/lib/atoms/progress-bar/progress-bar.module.mjs +4 -4
- package/esm2022/lib/atoms/radio-button/radio-button.component.mjs +3 -3
- package/esm2022/lib/atoms/radio-button/radio-button.module.mjs +4 -4
- package/esm2022/lib/atoms/search-box/search-box.component.mjs +3 -3
- package/esm2022/lib/atoms/search-box/search-box.module.mjs +4 -4
- package/esm2022/lib/atoms/slider/slider.component.mjs +3 -3
- package/esm2022/lib/atoms/slider/slider.module.mjs +4 -4
- package/esm2022/lib/atoms/stepper/stepper.component.mjs +3 -3
- package/esm2022/lib/atoms/stepper/stepper.module.mjs +4 -4
- package/esm2022/lib/atoms/switch/switch.component.mjs +3 -3
- package/esm2022/lib/atoms/switch/switch.module.mjs +4 -4
- package/esm2022/lib/atoms/text-area/text-area.component.mjs +3 -3
- package/esm2022/lib/atoms/text-area/text-area.module.mjs +4 -4
- package/esm2022/lib/atoms/textbox/textbox.component.mjs +3 -3
- package/esm2022/lib/atoms/textbox/textbox.module.mjs +4 -4
- package/esm2022/lib/atoms/time-picker/time-picker.component.mjs +3 -3
- package/esm2022/lib/atoms/time-picker/time-picker.module.mjs +4 -4
- package/esm2022/lib/atoms/timescheduler/timescheduler.component.mjs +3 -3
- package/esm2022/lib/atoms/timescheduler/timescheduler.module.mjs +4 -4
- package/esm2022/lib/atoms/tooltip/tooltip.component.mjs +3 -3
- package/esm2022/lib/atoms/tooltip/tooltip.module.mjs +4 -4
- package/esm2022/lib/atoms/tree-list/tree-list.component.mjs +404 -0
- package/esm2022/lib/atoms/tree-list/tree-list.interfaces.mjs +2 -0
- package/esm2022/lib/atoms/tree-list/tree-list.module.mjs +44 -0
- package/esm2022/lib/atoms/tree-view/tree-view.component.mjs +521 -0
- package/esm2022/lib/atoms/tree-view/tree-view.interfaces.mjs +2 -0
- package/esm2022/lib/atoms/tree-view/tree-view.module.mjs +44 -0
- package/esm2022/lib/atoms/typography/typography.component.mjs +3 -3
- package/esm2022/lib/atoms/typography/typography.module.mjs +4 -4
- package/esm2022/lib/atoms/uploader/uploader.component.mjs +3 -3
- package/esm2022/lib/atoms/uploader/uploader.module.mjs +4 -4
- package/esm2022/lib/molecules/card/card-actions/card-actions.component.mjs +3 -3
- package/esm2022/lib/molecules/card/card-body/card-body.component.mjs +3 -3
- package/esm2022/lib/molecules/card/card-footer/card-footer.component.mjs +3 -3
- package/esm2022/lib/molecules/card/card-header/card-header.component.mjs +3 -3
- package/esm2022/lib/molecules/card/card.component.mjs +3 -3
- package/esm2022/lib/molecules/card/card.module.mjs +4 -4
- package/esm2022/lib/molecules/dialog/confirmation-dialog/confirmation-dialog.component.mjs +3 -3
- package/esm2022/lib/molecules/dialog/dialog-actions/dialog-actions.component.mjs +3 -3
- package/esm2022/lib/molecules/dialog/dialog-titlebar/dialog-titlebar.component.mjs +3 -3
- package/esm2022/lib/molecules/dialog/dialog.component.mjs +3 -3
- package/esm2022/lib/molecules/dialog/dialog.module.mjs +4 -4
- package/esm2022/lib/molecules/grid-form/grid-form.component.mjs +3 -3
- package/esm2022/lib/molecules/grid-form/grid-form.module.mjs +4 -4
- package/esm2022/lib/molecules/grid-layout/grid-layout-item/grid-layout-item.component.mjs +3 -3
- package/esm2022/lib/molecules/grid-layout/grid-layout.component.mjs +3 -3
- package/esm2022/lib/molecules/grid-layout/grid-layout.module.mjs +4 -4
- package/esm2022/lib/molecules/grid-pagination/grid-pagination-spacer/grid-pagination-spacer.component.mjs +3 -3
- package/esm2022/lib/molecules/grid-pagination/grid-pagination.component.mjs +6 -6
- package/esm2022/lib/molecules/grid-pagination/grid-pagination.module.mjs +4 -4
- package/esm2022/lib/molecules/grid-pagination/kebab-menu-filter.pipe.mjs +3 -3
- package/esm2022/lib/molecules/molecules.module.mjs +4 -4
- package/esm2022/lib/molecules/tabstrip/tabstrip-tab/tabstrip-tab.component.mjs +3 -3
- package/esm2022/lib/molecules/tabstrip/tabstrip.component.mjs +3 -3
- package/esm2022/lib/molecules/tabstrip/tabstrip.module.mjs +4 -4
- package/esm2022/lib/shared.component.mjs +3 -3
- package/esm2022/lib/shared.module.mjs +4 -4
- package/esm2022/public-api.mjs +7 -1
- package/fesm2022/progress-chef-platform-shared-components.mjs +1501 -375
- package/fesm2022/progress-chef-platform-shared-components.mjs.map +1 -1
- package/lib/atoms/atoms.module.d.ts +5 -3
- package/lib/atoms/drag-and-drop/drag-and-drop.component.d.ts +10 -1
- package/lib/atoms/markdown-display/markdown-display.component.d.ts +22 -0
- package/lib/atoms/markdown-display/markdown-display.module.d.ts +8 -0
- package/lib/atoms/markdown-display/markdown-display.service.d.ts +23 -0
- package/lib/atoms/tree-list/tree-list.component.d.ts +288 -0
- package/lib/atoms/tree-list/tree-list.interfaces.d.ts +31 -0
- package/lib/atoms/tree-list/tree-list.module.d.ts +13 -0
- package/lib/atoms/tree-view/tree-view.component.d.ts +279 -0
- package/lib/atoms/tree-view/tree-view.interfaces.d.ts +23 -0
- package/lib/atoms/tree-view/tree-view.module.d.ts +13 -0
- package/package.json +2 -1
- package/public-api.d.ts +6 -0
|
@@ -3,13 +3,13 @@ import { IconComponent } from './icon.component';
|
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export class IconModule {
|
|
6
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
7
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.
|
|
6
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: IconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.18", ngImport: i0, type: IconModule, imports: [CommonModule,
|
|
8
8
|
IconComponent], exports: [CommonModule,
|
|
9
9
|
IconComponent] }); }
|
|
10
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.
|
|
10
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: IconModule, imports: [CommonModule, CommonModule] }); }
|
|
11
11
|
}
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: IconModule, decorators: [{
|
|
13
13
|
type: NgModule,
|
|
14
14
|
args: [{
|
|
15
15
|
imports: [
|
|
@@ -9,14 +9,14 @@ export class LabelComponent {
|
|
|
9
9
|
this.hiddenLabel = '';
|
|
10
10
|
this.labelFont = 'BODY_MEDIUM';
|
|
11
11
|
}
|
|
12
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
13
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.
|
|
12
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: LabelComponent, deps: [{ token: i1.ThemesService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
13
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.18", type: LabelComponent, isStandalone: true, selector: "lib-label", inputs: { text: ["text", "text", (value) => {
|
|
14
14
|
if (value === undefined || value === null)
|
|
15
15
|
return '';
|
|
16
16
|
return typeof value === 'string' ? (isNaN(Number(value)) ? value : Number(value)) : value;
|
|
17
17
|
}], hiddenLabel: "hiddenLabel", labelFont: "labelFont" }, ngImport: i0, template: "<lib-typography [isLabel]=\"true\" [hiddenLabel]=\"hiddenLabel\" [defaultText]=\"text\" [type]=\"labelFont\">\n <ng-content></ng-content>\n</lib-typography>\n", styles: [".random-css-to-not-keep-this-file-empty{display:none}\n"], dependencies: [{ kind: "component", type: TypographyComponent, selector: "lib-typography", inputs: ["type", "defaultText", "isLabel", "hiddenLabel"] }] }); }
|
|
18
18
|
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: LabelComponent, decorators: [{
|
|
20
20
|
type: Component,
|
|
21
21
|
args: [{ standalone: true, selector: 'lib-label', imports: [TypographyComponent], template: "<lib-typography [isLabel]=\"true\" [hiddenLabel]=\"hiddenLabel\" [defaultText]=\"text\" [type]=\"labelFont\">\n <ng-content></ng-content>\n</lib-typography>\n", styles: [".random-css-to-not-keep-this-file-empty{display:none}\n"] }]
|
|
22
22
|
}], ctorParameters: () => [{ type: i1.ThemesService }], propDecorators: { text: [{
|
|
@@ -5,17 +5,17 @@ import { CommonModule } from '@angular/common';
|
|
|
5
5
|
import { TypographyModule } from '../typography/typography.module';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export class LabelsModule {
|
|
8
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
9
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: LabelsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.18", ngImport: i0, type: LabelsModule, imports: [LabelComponent,
|
|
10
10
|
LabelModule,
|
|
11
11
|
TypographyModule,
|
|
12
12
|
CommonModule], exports: [LabelComponent] }); }
|
|
13
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.
|
|
13
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: LabelsModule, imports: [LabelComponent,
|
|
14
14
|
LabelModule,
|
|
15
15
|
TypographyModule,
|
|
16
16
|
CommonModule] }); }
|
|
17
17
|
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: LabelsModule, decorators: [{
|
|
19
19
|
type: NgModule,
|
|
20
20
|
args: [{
|
|
21
21
|
imports: [
|
|
@@ -43,14 +43,14 @@ export class ListViewComponent {
|
|
|
43
43
|
this.view = this.data;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
47
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.
|
|
46
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ListViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
47
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.18", type: ListViewComponent, isStandalone: true, selector: "lib-list-view", inputs: { data: "data", customHeader: ["customHeader", "customHeader", (value) => value === true || value === 'true'], customFooter: ["customFooter", "customFooter", (value) => value === true || value === 'true'], height: "height", enableEndlessScroll: ["enableEndlessScroll", "enableEndlessScroll", (value) => value === true || value === 'true'], noOfListItems: ["noOfListItems", "noOfListItems", (value) => {
|
|
48
48
|
if (value === undefined || value === null)
|
|
49
49
|
return 5;
|
|
50
50
|
return typeof value === 'string' ? parseInt(value, 10) || 5 : value;
|
|
51
51
|
}], listItemStyle: "listItemStyle", loading: ["loading", "loading", (value) => value === true || value === 'true'], navigable: ["navigable", "navigable", (value) => value === true || value === 'true'], containerStyle: "containerStyle" }, outputs: { scrollBottom: "scrollBottom", pageChange: "pageChange", pageSizeChange: "pageSizeChange", listItemCount: "listItemCount" }, queries: [{ propertyName: "templateHeader", first: true, predicate: ["templateHeader"], descendants: true }, { propertyName: "templateFooter", first: true, predicate: ["templateFooter"], descendants: true }, { propertyName: "tempListItem", first: true, predicate: ["tempListItem"], descendants: true }, { propertyName: "templateLoader", first: true, predicate: ["templateLoader"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<kendo-listview [kendoListViewBinding]=\"view\" [style.height.px]=\"height\" (scrollBottom)=\"onScrollToBottom()\"\n containerClass=\"k-d-flex k-flex-col k-flex-nowrap\" [itemStyle]=\"listItemStyle\" [containerStyle]=\"containerStyle\"\n [loading]=\"loading\" [navigable]=\"navigable\" data-kendo-listview-index=\"0\">\n\n <ng-template kendoListViewHeaderTemplate *ngIf=\"customHeader\">\n <ng-container *ngTemplateOutlet=\"templateHeader; \"></ng-container>\n </ng-template>\n\n <ng-template kendoListViewItemTemplate let-dataItem=\"dataItem\" let-index=\"index\" *ngIf=\"!loading\">\n <ng-container *ngTemplateOutlet=\"tempListItem; context: {$implicit: dataItem, index: index}\">\n </ng-container>\n </ng-template>\n\n <ng-template *ngIf=\"customFooter\" kendoListViewFooterTemplate>\n <ng-container *ngTemplateOutlet=\"templateFooter; \"></ng-container>\n </ng-template>\n\n</kendo-listview>\n", styles: [".footer{display:flex;padding:8px 4px 8px 12px;align-items:center}.footer .meta{flex:1}.k-listview{background-color:none;border:none}.k-listview-header{border:none}\n"], dependencies: [{ kind: "ngmodule", type: ListViewModule }, { kind: "component", type: i1.ListViewComponent, selector: "kendo-listview", inputs: ["bordered", "data", "loading", "containerStyle", "itemStyle", "containerClass", "itemClass", "containerLabel", "containerRole", "listItemRole", "navigable", "pageSize", "skip", "pageable", "height"], outputs: ["scrollBottom", "pageChange", "pageSizeChange", "edit", "cancel", "save", "remove", "add"], exportAs: ["kendoListView"] }, { kind: "directive", type: i1.ItemTemplateDirective, selector: "[kendoListViewItemTemplate]" }, { kind: "directive", type: i1.HeaderTemplateDirective, selector: "[kendoListViewHeaderTemplate]" }, { kind: "directive", type: i1.FooterTemplateDirective, selector: "[kendoListViewFooterTemplate]" }, { kind: "directive", type: i1.DataBindingDirective, selector: "[kendoListViewBinding]", inputs: ["kendoListViewBinding"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
52
52
|
}
|
|
53
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ListViewComponent, decorators: [{
|
|
54
54
|
type: Component,
|
|
55
55
|
args: [{ standalone: true, selector: 'lib-list-view', encapsulation: ViewEncapsulation.None, imports: [
|
|
56
56
|
ListViewModule,
|
|
@@ -12,8 +12,8 @@ import { ContainerModule } from '../container/container.module';
|
|
|
12
12
|
import { TypographyModule } from '../typography/typography.module';
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
14
14
|
export class ListViewsModule {
|
|
15
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
16
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.
|
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ListViewsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
16
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.18", ngImport: i0, type: ListViewsModule, imports: [ListViewComponent,
|
|
17
17
|
CommonModule,
|
|
18
18
|
LayoutModule,
|
|
19
19
|
IconsModule,
|
|
@@ -25,7 +25,7 @@ export class ListViewsModule {
|
|
|
25
25
|
TypographyModule,
|
|
26
26
|
ListViewModule], exports: [CommonModule,
|
|
27
27
|
ListViewComponent] }); }
|
|
28
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.
|
|
28
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ListViewsModule, imports: [ListViewComponent,
|
|
29
29
|
CommonModule,
|
|
30
30
|
LayoutModule,
|
|
31
31
|
IconsModule,
|
|
@@ -37,7 +37,7 @@ export class ListViewsModule {
|
|
|
37
37
|
TypographyModule,
|
|
38
38
|
ListViewModule, CommonModule] }); }
|
|
39
39
|
}
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ListViewsModule, decorators: [{
|
|
41
41
|
type: NgModule,
|
|
42
42
|
args: [{
|
|
43
43
|
imports: [
|
|
@@ -33,10 +33,10 @@ export class LoaderComponent {
|
|
|
33
33
|
this.type = 'pulsing';
|
|
34
34
|
this.themeColor = 'primary';
|
|
35
35
|
}
|
|
36
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
37
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
36
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: LoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
37
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: LoaderComponent, isStandalone: true, selector: "lib-loader", inputs: { size: "size", type: "type", themeColor: "themeColor" }, ngImport: i0, template: "<kendo-loader [type]=\"type\" [themeColor]=\"themeColor\" [size]=\"size\">\n</kendo-loader>\n", styles: [".random-css-to-not-keep-this-file-empty{display:none}\n"], dependencies: [{ kind: "ngmodule", type: LoaderModule }, { kind: "component", type: i1.LoaderComponent, selector: "kendo-loader", inputs: ["type", "themeColor", "size"] }] }); }
|
|
38
38
|
}
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: LoaderComponent, decorators: [{
|
|
40
40
|
type: Component,
|
|
41
41
|
args: [{ standalone: true, selector: 'lib-loader', imports: [LoaderModule], template: "<kendo-loader [type]=\"type\" [themeColor]=\"themeColor\" [size]=\"size\">\n</kendo-loader>\n", styles: [".random-css-to-not-keep-this-file-empty{display:none}\n"] }]
|
|
42
42
|
}], propDecorators: { size: [{
|
|
@@ -4,15 +4,15 @@ import { CommonModule } from '@angular/common';
|
|
|
4
4
|
import { IndicatorsModule } from "@progress/kendo-angular-indicators";
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export class LoaderModule {
|
|
7
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
8
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.
|
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: LoaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
8
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.18", ngImport: i0, type: LoaderModule, imports: [LoaderComponent,
|
|
9
9
|
CommonModule,
|
|
10
10
|
IndicatorsModule], exports: [LoaderComponent] }); }
|
|
11
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.
|
|
11
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: LoaderModule, imports: [LoaderComponent,
|
|
12
12
|
CommonModule,
|
|
13
13
|
IndicatorsModule] }); }
|
|
14
14
|
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: LoaderModule, decorators: [{
|
|
16
16
|
type: NgModule,
|
|
17
17
|
args: [{
|
|
18
18
|
imports: [
|
|
@@ -10,8 +10,8 @@ export class LoadingSpinnerComponent {
|
|
|
10
10
|
this.height = 100;
|
|
11
11
|
this.visible = true;
|
|
12
12
|
}
|
|
13
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
14
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.
|
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: LoadingSpinnerComponent, deps: [{ token: i1.ThemesService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
14
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.18", type: LoadingSpinnerComponent, isStandalone: true, selector: "lib-loading-spinner", inputs: { width: ["width", "width", (value) => {
|
|
15
15
|
if (value === undefined || value === null)
|
|
16
16
|
return 100;
|
|
17
17
|
return typeof value === 'string' ? parseInt(value, 10) || 100 : value;
|
|
@@ -21,7 +21,7 @@ export class LoadingSpinnerComponent {
|
|
|
21
21
|
return typeof value === 'string' ? parseInt(value, 10) || 100 : value;
|
|
22
22
|
}], visible: ["visible", "visible", (value) => value === true || value === 'true'] }, ngImport: i0, template: "<div class=\"chef-loading-spinner\" *ngIf=\"visible\">\n <svg\n [attr.width]=\"width\"\n [attr.height]=\"height\"\n viewBox=\"0 0 100 100\"\n aria-live=\"polite\"\n aria-label=\"Page loading, do not refresh the page\"\n role=\"status\"\n >\n <path\n d=\"M31.6,3.5C5.9,13.6-6.6,42.7,3.5,68.4c10.1,25.7,39.2,38.3,64.9,28.1l-3.1-7.9c-21.3,8.4-45.4-2-53.8-23.3c-8.4-21.3,2-45.4,23.3-53.8L31.6,3.5z\"\n >\n <animateTransform\n attributeName=\"transform\"\n attributeType=\"XML\"\n type=\"rotate\"\n dur=\"2s\"\n from=\"0 50 50\"\n to=\"360 50 50\"\n repeatCount=\"indefinite\"\n ></animateTransform>\n </path>\n <path\n d=\"M42.3,39.6c5.7-4.3,13.9-3.1,18.1,2.7c4.3,5.7,3.1,13.9-2.7,18.1l4.1,5.5c8.8-6.5,10.6-19,4.1-27.7c-6.5-8.8-19-10.6-27.7-4.1L42.3,39.6z\"\n >\n <animateTransform\n attributeName=\"transform\"\n attributeType=\"XML\"\n type=\"rotate\"\n dur=\"2s\"\n from=\"0 50 50\"\n to=\"360 50 50\"\n repeatCount=\"indefinite\"\n ></animateTransform>\n </path>\n <path\n class=\"alt\"\n d=\"M82,35.7C74.1,18,53.4,10.1,35.7,18S10.1,46.6,18,64.3l7.6-3.4c-6-13.5,0-29.3,13.5-35.3s29.3,0,35.3,13.5L82,35.7z\"\n >\n <animateTransform\n attributeName=\"transform\"\n attributeType=\"XML\"\n type=\"rotate\"\n dur=\"2s\"\n from=\"0 50 50\"\n to=\"360 50 50\"\n repeatCount=\"indefinite\"\n ></animateTransform>\n </path>\n </svg>\n</div>\n", styles: [".chef-loading-spinner{--fill: #3864f2;--fill-alt: #597ef4;display:inline-block;overflow:hidden}.chef-loading-spinner svg{float:left}.chef-loading-spinner path{fill:var(--fill)}.chef-loading-spinner path.alt{fill:var(--fill-alt)}.chef-loading-spinner[fixed]{display:flex;align-items:center;justify-content:center;position:fixed;inset:0;background:#e0e4e6a6;z-index:190}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
23
23
|
}
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: LoadingSpinnerComponent, decorators: [{
|
|
25
25
|
type: Component,
|
|
26
26
|
args: [{ imports: [CommonModule], standalone: true, selector: 'lib-loading-spinner', template: "<div class=\"chef-loading-spinner\" *ngIf=\"visible\">\n <svg\n [attr.width]=\"width\"\n [attr.height]=\"height\"\n viewBox=\"0 0 100 100\"\n aria-live=\"polite\"\n aria-label=\"Page loading, do not refresh the page\"\n role=\"status\"\n >\n <path\n d=\"M31.6,3.5C5.9,13.6-6.6,42.7,3.5,68.4c10.1,25.7,39.2,38.3,64.9,28.1l-3.1-7.9c-21.3,8.4-45.4-2-53.8-23.3c-8.4-21.3,2-45.4,23.3-53.8L31.6,3.5z\"\n >\n <animateTransform\n attributeName=\"transform\"\n attributeType=\"XML\"\n type=\"rotate\"\n dur=\"2s\"\n from=\"0 50 50\"\n to=\"360 50 50\"\n repeatCount=\"indefinite\"\n ></animateTransform>\n </path>\n <path\n d=\"M42.3,39.6c5.7-4.3,13.9-3.1,18.1,2.7c4.3,5.7,3.1,13.9-2.7,18.1l4.1,5.5c8.8-6.5,10.6-19,4.1-27.7c-6.5-8.8-19-10.6-27.7-4.1L42.3,39.6z\"\n >\n <animateTransform\n attributeName=\"transform\"\n attributeType=\"XML\"\n type=\"rotate\"\n dur=\"2s\"\n from=\"0 50 50\"\n to=\"360 50 50\"\n repeatCount=\"indefinite\"\n ></animateTransform>\n </path>\n <path\n class=\"alt\"\n d=\"M82,35.7C74.1,18,53.4,10.1,35.7,18S10.1,46.6,18,64.3l7.6-3.4c-6-13.5,0-29.3,13.5-35.3s29.3,0,35.3,13.5L82,35.7z\"\n >\n <animateTransform\n attributeName=\"transform\"\n attributeType=\"XML\"\n type=\"rotate\"\n dur=\"2s\"\n from=\"0 50 50\"\n to=\"360 50 50\"\n repeatCount=\"indefinite\"\n ></animateTransform>\n </path>\n </svg>\n</div>\n", styles: [".chef-loading-spinner{--fill: #3864f2;--fill-alt: #597ef4;display:inline-block;overflow:hidden}.chef-loading-spinner svg{float:left}.chef-loading-spinner path{fill:var(--fill)}.chef-loading-spinner path.alt{fill:var(--fill-alt)}.chef-loading-spinner[fixed]{display:flex;align-items:center;justify-content:center;position:fixed;inset:0;background:#e0e4e6a6;z-index:190}\n"] }]
|
|
27
27
|
}], ctorParameters: () => [{ type: i1.ThemesService }], propDecorators: { width: [{
|
|
@@ -4,16 +4,16 @@ import { CommonModule } from '@angular/common';
|
|
|
4
4
|
import { IndicatorsModule } from '@progress/kendo-angular-indicators';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export class LoadingSpinnerModule {
|
|
7
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
8
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.
|
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: LoadingSpinnerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
8
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.18", ngImport: i0, type: LoadingSpinnerModule, imports: [LoadingSpinnerComponent,
|
|
9
9
|
CommonModule,
|
|
10
10
|
IndicatorsModule], exports: [CommonModule,
|
|
11
11
|
LoadingSpinnerComponent] }); }
|
|
12
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.
|
|
12
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: LoadingSpinnerModule, imports: [LoadingSpinnerComponent,
|
|
13
13
|
CommonModule,
|
|
14
14
|
IndicatorsModule, CommonModule] }); }
|
|
15
15
|
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: LoadingSpinnerModule, decorators: [{
|
|
17
17
|
type: NgModule,
|
|
18
18
|
args: [{
|
|
19
19
|
imports: [
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "./markdown-display.service";
|
|
5
|
+
/**
|
|
6
|
+
* Component for displaying markdown files with rendering
|
|
7
|
+
* Uses the MarkdownDisplayService to convert markdown to HTML
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* <!-- Display markdown content from string -->
|
|
11
|
+
* <lib-markdown-display [content]="markdownContent"></lib-markdown-display>
|
|
12
|
+
*/
|
|
13
|
+
export class MarkdownDisplayComponent {
|
|
14
|
+
constructor(markdownDisplayService) {
|
|
15
|
+
this.markdownDisplayService = markdownDisplayService;
|
|
16
|
+
this.content = '';
|
|
17
|
+
this.renderedContent = '';
|
|
18
|
+
}
|
|
19
|
+
ngOnInit() {
|
|
20
|
+
this.renderMarkdown();
|
|
21
|
+
}
|
|
22
|
+
ngOnChanges(changes) {
|
|
23
|
+
if (changes['content'] && this.content) {
|
|
24
|
+
this.renderMarkdown();
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
async renderMarkdown() {
|
|
28
|
+
this.renderedContent = await this.markdownDisplayService.renderMarkdown(this.content);
|
|
29
|
+
}
|
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: MarkdownDisplayComponent, deps: [{ token: i1.MarkdownDisplayService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
31
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: MarkdownDisplayComponent, isStandalone: true, selector: "lib-markdown-display", inputs: { content: "content" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"markdown-display\" [innerHTML]=\"renderedContent\"></div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
|
|
32
|
+
}
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: MarkdownDisplayComponent, decorators: [{
|
|
34
|
+
type: Component,
|
|
35
|
+
args: [{ standalone: true, selector: 'lib-markdown-display', imports: [CommonModule], template: "<div class=\"markdown-display\" [innerHTML]=\"renderedContent\"></div>\n" }]
|
|
36
|
+
}], ctorParameters: () => [{ type: i1.MarkdownDisplayService }], propDecorators: { content: [{
|
|
37
|
+
type: Input
|
|
38
|
+
}] } });
|
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFya2Rvd24tZGlzcGxheS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaGFyZWQvc3JjL2xpYi9hdG9tcy9tYXJrZG93bi1kaXNwbGF5L21hcmtkb3duLWRpc3BsYXkuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2hhcmVkL3NyYy9saWIvYXRvbXMvbWFya2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F0ZSBtYXJrZG93bkRpc3BsYXlTZXJ2aWNlOiBNYXJrZG93bkRpc3BsYXlTZXJ2aWNlKSB7IH1cblxuICBuZ09uSW5pdCgpOiB2b2lkIHtcbiAgICB0aGlzLnJlbmRlck1hcmtkb3duKCk7XG4gIH1cblxuICBuZ09uQ2hhbmdlcyhjaGFuZ2VzOiBTaW1wbGVDaGFuZ2VzKTogdm9pZCB7XG4gICAgaWYgKGNoYW5nZXNbJ2NvbnRlbnQnXSAmJiB0aGlzLmNvbnRlbnQpIHtcbiAgICAgIHRoaXMucmVuZGVyTWFya2Rvd24oKTtcbiAgICB9XG4gIH1cblxuICBwcml2YXRlIGFzeW5jIHJlbmRlck1hcmtkb3duKCk6IFByb21pc2U8dm9pZD4ge1xuICAgIHRoaXMucmVuZGVyZWRDb250ZW50ID0gYXdhaXQgdGhpcy5tYXJrZG93bkRpc3BsYXlTZXJ2aWNlLnJlbmRlck1hcmtkb3duKHRoaXMuY29udGVudCk7XG4gIH1cbn1cbiIsIjxkaXYgY2xhc3M9XCJtYXJrZG93bi1kaXNwbGF5XCIgW2lubmVySFRNTF09XCJyZW5kZXJlZENvbnRlbnRcIj48L2Rpdj5cbiJdfQ==
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { MarkdownDisplayComponent } from './markdown-display.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class MarkdownDisplayModule {
|
|
6
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: MarkdownDisplayModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.18", ngImport: i0, type: MarkdownDisplayModule, imports: [CommonModule,
|
|
8
|
+
MarkdownDisplayComponent], exports: [CommonModule,
|
|
9
|
+
MarkdownDisplayComponent] }); }
|
|
10
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: MarkdownDisplayModule, imports: [CommonModule,
|
|
11
|
+
MarkdownDisplayComponent, CommonModule] }); }
|
|
12
|
+
}
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: MarkdownDisplayModule, decorators: [{
|
|
14
|
+
type: NgModule,
|
|
15
|
+
args: [{
|
|
16
|
+
imports: [
|
|
17
|
+
CommonModule,
|
|
18
|
+
MarkdownDisplayComponent
|
|
19
|
+
],
|
|
20
|
+
exports: [
|
|
21
|
+
CommonModule,
|
|
22
|
+
MarkdownDisplayComponent
|
|
23
|
+
]
|
|
24
|
+
}]
|
|
25
|
+
}] });
|
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFya2Rvd24tZGlzcGxheS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaGFyZWQvc3JjL2xpYi9hdG9tcy9tYXJrZG93bi1kaXNwbGF5L21hcmtkb3duLWRpc3BsYXkubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLDhCQUE4QixDQUFDOztBQVl4RSxNQUFNLE9BQU8scUJBQXFCOytHQUFyQixxQkFBcUI7Z0hBQXJCLHFCQUFxQixZQVI5QixZQUFZO1lBQ1osd0JBQXdCLGFBR3hCLFlBQVk7WUFDWix3QkFBd0I7Z0hBR2YscUJBQXFCLFlBUjlCLFlBQVk7WUFDWix3QkFBd0IsRUFHeEIsWUFBWTs7NEZBSUgscUJBQXFCO2tCQVZqQyxRQUFRO21CQUFDO29CQUNSLE9BQU8sRUFBRTt3QkFDUCxZQUFZO3dCQUNaLHdCQUF3QjtxQkFDekI7b0JBQ0QsT0FBTyxFQUFFO3dCQUNQLFlBQVk7d0JBQ1osd0JBQXdCO3FCQUN6QjtpQkFDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xuaW1wb3J0IHsgTWFya2Rvd25EaXNwbGF5Q29tcG9uZW50IH0gZnJvbSAnLi9tYXJrZG93bi1kaXNwbGF5LmNvbXBvbmVudCc7XG5cbkBOZ01vZHVsZSh7XG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGUsXG4gICAgTWFya2Rvd25EaXNwbGF5Q29tcG9uZW50XG4gIF0sXG4gIGV4cG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGUsXG4gICAgTWFya2Rvd25EaXNwbGF5Q29tcG9uZW50XG4gIF1cbn0pXG5leHBvcnQgY2xhc3MgTWFya2Rvd25EaXNwbGF5TW9kdWxlIHsgfVxuIl19
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Injectable, SecurityContext } from '@angular/core';
|
|
2
|
+
import { marked } from 'marked';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/platform-browser";
|
|
5
|
+
/**
|
|
6
|
+
* Service for rendering markdown content to safe HTML
|
|
7
|
+
* Handles configuration of the marked library and sanitization
|
|
8
|
+
*/
|
|
9
|
+
export class MarkdownDisplayService {
|
|
10
|
+
constructor(sanitizer) {
|
|
11
|
+
this.sanitizer = sanitizer;
|
|
12
|
+
this.configureMarked();
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Configure marked options for GitHub-flavored markdown rendering
|
|
16
|
+
* @private
|
|
17
|
+
*/
|
|
18
|
+
configureMarked() {
|
|
19
|
+
// Configure marked options for basic rendering
|
|
20
|
+
marked.setOptions({
|
|
21
|
+
gfm: true, // GitHub Flavored Markdown
|
|
22
|
+
breaks: true // Convert line breaks to <br>
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Render markdown content to safe HTML
|
|
27
|
+
* @param content - The markdown content to render
|
|
28
|
+
* @returns Promise resolving to sanitized HTML string or empty string if no content
|
|
29
|
+
*/
|
|
30
|
+
async renderMarkdown(content) {
|
|
31
|
+
if (!content) {
|
|
32
|
+
return '';
|
|
33
|
+
}
|
|
34
|
+
try {
|
|
35
|
+
const html = await marked.parse(content);
|
|
36
|
+
return this.sanitizer.sanitize(SecurityContext.HTML, html) || '';
|
|
37
|
+
}
|
|
38
|
+
catch (error) {
|
|
39
|
+
console.error('Error rendering markdown:', error);
|
|
40
|
+
const errorHtml = `<div class="readme-error">Error rendering markdown content</div>`;
|
|
41
|
+
return this.sanitizer.sanitize(SecurityContext.HTML, errorHtml) || '';
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: MarkdownDisplayService, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
45
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: MarkdownDisplayService, providedIn: 'root' }); }
|
|
46
|
+
}
|
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: MarkdownDisplayService, decorators: [{
|
|
48
|
+
type: Injectable,
|
|
49
|
+
args: [{
|
|
50
|
+
providedIn: 'root'
|
|
51
|
+
}]
|
|
52
|
+
}], ctorParameters: () => [{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AgICB9IGNhdGNoIChlcnJvcikge1xuICAgICAgY29uc29sZS5lcnJvcignRXJyb3IgcmVuZGVyaW5nIG1hcmtkb3duOicsIGVycm9yKTtcbiAgICAgIGNvbnN0IGVycm9ySHRtbCA9IGA8ZGl2IGNsYXNzPVwicmVhZG1lLWVycm9yXCI+RXJyb3IgcmVuZGVyaW5nIG1hcmtkb3duIGNvbnRlbnQ8L2Rpdj5gO1xuICAgICAgcmV0dXJuIHRoaXMuc2FuaXRpemVyLnNhbml0aXplKFNlY3VyaXR5Q29udGV4dC5IVE1MLCBlcnJvckh0bWwpIHx8ICcnO1xuICAgIH1cbiAgfVxufVxuIl19
|
|
@@ -84,10 +84,10 @@ export class MultiSelectDropdownComponent {
|
|
|
84
84
|
this.scrollListener = null;
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
88
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.
|
|
87
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: MultiSelectDropdownComponent, deps: [{ token: i1.ThemesService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
88
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.18", type: MultiSelectDropdownComponent, isStandalone: true, selector: "lib-multi-select-dropdown", inputs: { label: "label", elementId: "elementId", data: "data", isDisabled: ["isDisabled", "isDisabled", (value) => value === true || value === 'true'], clearButton: ["clearButton", "clearButton", (value) => value === true || value === 'true'], fillMode: "fillMode", checkboxes: ["checkboxes", "checkboxes", (value) => value === true || value === 'true'], filterable: ["filterable", "filterable", (value) => value === true || value === 'true'], placeholder: "placeholder", readonly: ["readonly", "readonly", (value) => value === true || value === 'true'], rounded: "rounded", size: "size", textField: "textField", valueField: "valueField", model: "model", valuePrimitive: ["valuePrimitive", "valuePrimitive", (value) => value === true || value === 'true'], control: "control", fontType: "fontType", focus: ["focus", "focus", (value) => value === true || value === 'true'], autoClose: ["autoClose", "autoClose", (value) => value === true || value === 'true'], loading: ["loading", "loading", (value) => value === true || value === 'true'], loaderType: "loaderType", loaderSize: "loaderSize", loaderTheme: "loaderTheme", popupClass: "popupClass", infiniteScrollLoader: ["infiniteScrollLoader", "infiniteScrollLoader", (value) => value === true || value === 'true'] }, outputs: { modelChange: "modelChange", onScrollEnd: "onScrollEnd" }, viewQueries: [{ propertyName: "multiSelect", first: true, predicate: ["multiSelect"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<span class=\"multiselect\">\n <span *ngIf=\"label.length > 0\">\n <label class=\"multiselect-label\" [for]=\"elementId\">\n <lib-typography [defaultText]=\"label\" [type]=\"fontType\">\n </lib-typography>\n </label>\n \n </span>\n <kendo-multiselect #multiSelect [checkboxes]=\"checkboxes\" [autoClose]=\"autoClose\" [id]=\"elementId\" [data]=\"data\"\n [(ngModel)]=\"model\" [textField]=\"textField\" [valueField]=\"valueField\" [valuePrimitive]=\"valuePrimitive\"\n [fillMode]=\"fillMode\" [clearButton]=\"clearButton\" [filterable]=\"filterable\" [placeholder]=\"placeholder\"\n [readonly]=\"readonly\" [rounded]=\"rounded\" [size]=\"size\" [formControl]=\"control\"\n (ngModelChange)=\"emitModelChange($event)\" (opened)=\"onDropdownOpen()\" [popupSettings]=\"{popupClass: popupClass}\"\n (close)=\"onDropdownClose()\">\n <ng-template kendoComboBoxFooterTemplate>\n <div *ngIf=\"infiniteScrollLoader\" class=\"footer-loader\">\n <lib-loader [type]=\"loaderType\" [size]=\"loaderSize\" [themeColor]=\"loaderTheme\"></lib-loader>\n </div>\n </ng-template>\n <ng-template *ngIf=\"loading\" kendoComboBoxNoDataTemplate>\n <lib-loader [type]=\"loaderType\" [size]=\"loaderSize\" [themeColor]=\"loaderTheme\"></lib-loader>\n </ng-template>\n </kendo-multiselect>\n</span>\n", styles: [".multiselect-label{margin-bottom:8px}.footer-loader{display:flex;justify-content:center;align-items:center;padding:.5rem 0;box-sizing:border-box}::ng-deep .k-animation-container,::ng-deep .k-popup{z-index:10002!important}\n"], dependencies: [{ kind: "ngmodule", type: DropDownsModule }, { kind: "directive", type: i2.FooterTemplateDirective, selector: "[kendoDropDownListFooterTemplate],[kendoComboBoxFooterTemplate],[kendoDropDownTreeFooterTemplate],[kendoMultiColumnComboBoxFooterTemplate],[kendoAutoCompleteFooterTemplate],[kendoMultiSelectFooterTemplate],[kendoMultiSelectTreeFooterTemplate]" }, { kind: "directive", type: i2.NoDataTemplateDirective, selector: "[kendoDropDownListNoDataTemplate],[kendoDropDownTreeNoDataTemplate],[kendoComboBoxNoDataTemplate],[kendoMultiColumnComboBoxNoDataTemplate],[kendoAutoCompleteNoDataTemplate],[kendoMultiSelectNoDataTemplate],[kendoMultiSelectTreeNoDataTemplate]" }, { kind: "component", type: i2.MultiSelectComponent, selector: "kendo-multiselect", inputs: ["showStickyHeader", "focusableId", "autoClose", "loading", "data", "value", "valueField", "textField", "tabindex", "tabIndex", "size", "rounded", "fillMode", "placeholder", "adaptiveMode", "adaptiveTitle", "adaptiveSubtitle", "disabled", "itemDisabled", "checkboxes", "readonly", "filterable", "virtual", "popupSettings", "listHeight", "valuePrimitive", "clearButton", "tagMapper", "allowCustom", "valueNormalizer", "inputAttributes"], outputs: ["filterChange", "valueChange", "open", "opened", "close", "closed", "focus", "blur", "inputFocus", "inputBlur", "removeTag"], exportAs: ["kendoMultiSelect"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: TypographyComponent, selector: "lib-typography", inputs: ["type", "defaultText", "isLabel", "hiddenLabel"] }, { kind: "component", type: LoaderComponent, selector: "lib-loader", inputs: ["size", "type", "themeColor"] }] }); }
|
|
89
89
|
}
|
|
90
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
90
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: MultiSelectDropdownComponent, decorators: [{
|
|
91
91
|
type: Component,
|
|
92
92
|
args: [{ standalone: true, selector: 'lib-multi-select-dropdown', imports: [
|
|
93
93
|
DropDownsModule,
|
|
@@ -7,8 +7,8 @@ import { TypographyModule } from '../typography/typography.module';
|
|
|
7
7
|
import { LoaderModule } from '../loader/loader.module';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export class MultiSelectDropdownModule {
|
|
10
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
11
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: MultiSelectDropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
11
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.18", ngImport: i0, type: MultiSelectDropdownModule, imports: [MultiSelectDropdownComponent,
|
|
12
12
|
CommonModule,
|
|
13
13
|
DropDownsModule,
|
|
14
14
|
FormsModule,
|
|
@@ -16,7 +16,7 @@ export class MultiSelectDropdownModule {
|
|
|
16
16
|
TypographyModule,
|
|
17
17
|
LoaderModule], exports: [CommonModule,
|
|
18
18
|
MultiSelectDropdownComponent] }); }
|
|
19
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.
|
|
19
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: MultiSelectDropdownModule, imports: [MultiSelectDropdownComponent,
|
|
20
20
|
CommonModule,
|
|
21
21
|
DropDownsModule,
|
|
22
22
|
FormsModule,
|
|
@@ -24,7 +24,7 @@ export class MultiSelectDropdownModule {
|
|
|
24
24
|
TypographyModule,
|
|
25
25
|
LoaderModule, CommonModule] }); }
|
|
26
26
|
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: MultiSelectDropdownModule, decorators: [{
|
|
28
28
|
type: NgModule,
|
|
29
29
|
args: [{
|
|
30
30
|
imports: [
|
|
@@ -47,10 +47,10 @@ export class NotificationComponent {
|
|
|
47
47
|
}
|
|
48
48
|
this.timeOutRef = setTimeout(this.handleClose, this.timeout * 10000);
|
|
49
49
|
}
|
|
50
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
51
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
50
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: NotificationComponent, deps: [{ token: i1.ThemesService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
51
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: NotificationComponent, isStandalone: true, selector: "lib-notification", inputs: { type: "type", timeout: "timeout" }, outputs: { dismissed: "dismissed" }, host: { properties: { "@slideDownAnim": "this.slideDownAnim", "class": "this.theType" } }, ngImport: i0, template: "<p>\n <ng-content></ng-content>\n</p>\n<div class=\"shine\"></div>\n<i role=\"button\" (click)=\"handleClose()\" class=\"closebtn test\"> \u00D7 </i>\n", styles: [":host{display:flex;align-items:center;position:relative;width:100%;color:#fff;background-color:#697272;padding:.5em;overflow:hidden;z-index:9999}:host p{margin:0;color:#fff}:host a{color:#fff}:host .closebtn{position:absolute;right:28px;font-size:22px;text-decoration:none}:host.info{background-color:#0075dbe6}:host.info:before{font-family:Material Icons;content:\"\\e86c\";color:currentColor;padding-right:.5em}:host.error{background-color:#ba1e6ae6}:host.error:before{font-family:Material Icons;content:\"\\e002\";color:currentColor;padding-right:.5em}:host .shine{position:absolute;top:0;left:0;width:25%;height:100%;background:linear-gradient(110deg,#fff0 22%,#ffffff1c 50%,#fff0 83%);animation:shine 3s cubic-bezier(.17,.71,.05,.98) forwards;animation-delay:1s;cursor:none}@keyframes shine{0%{transform:translate(-50%)}to{transform:translate(500%)}}\n"], animations: [slideDownAnim] }); }
|
|
52
52
|
}
|
|
53
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: NotificationComponent, decorators: [{
|
|
54
54
|
type: Component,
|
|
55
55
|
args: [{ standalone: true, selector: 'lib-notification', animations: [slideDownAnim], template: "<p>\n <ng-content></ng-content>\n</p>\n<div class=\"shine\"></div>\n<i role=\"button\" (click)=\"handleClose()\" class=\"closebtn test\"> \u00D7 </i>\n", styles: [":host{display:flex;align-items:center;position:relative;width:100%;color:#fff;background-color:#697272;padding:.5em;overflow:hidden;z-index:9999}:host p{margin:0;color:#fff}:host a{color:#fff}:host .closebtn{position:absolute;right:28px;font-size:22px;text-decoration:none}:host.info{background-color:#0075dbe6}:host.info:before{font-family:Material Icons;content:\"\\e86c\";color:currentColor;padding-right:.5em}:host.error{background-color:#ba1e6ae6}:host.error:before{font-family:Material Icons;content:\"\\e002\";color:currentColor;padding-right:.5em}:host .shine{position:absolute;top:0;left:0;width:25%;height:100%;background:linear-gradient(110deg,#fff0 22%,#ffffff1c 50%,#fff0 83%);animation:shine 3s cubic-bezier(.17,.71,.05,.98) forwards;animation-delay:1s;cursor:none}@keyframes shine{0%{transform:translate(-50%)}to{transform:translate(500%)}}\n"] }]
|
|
56
56
|
}], ctorParameters: () => [{ type: i1.ThemesService }], propDecorators: { type: [{
|
|
@@ -3,12 +3,12 @@ import { NotificationComponent } from './notification.component';
|
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export class NotificationModule {
|
|
6
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
7
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.
|
|
6
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: NotificationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.18", ngImport: i0, type: NotificationModule, imports: [NotificationComponent,
|
|
8
8
|
CommonModule], exports: [NotificationComponent] }); }
|
|
9
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.
|
|
9
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: NotificationModule, imports: [CommonModule] }); }
|
|
10
10
|
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: NotificationModule, decorators: [{
|
|
12
12
|
type: NgModule,
|
|
13
13
|
args: [{
|
|
14
14
|
imports: [
|
|
@@ -35,8 +35,8 @@ export class NumericTextboxComponent {
|
|
|
35
35
|
emitModelChange(ev) {
|
|
36
36
|
this.modelChange.emit(ev);
|
|
37
37
|
}
|
|
38
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
39
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.
|
|
38
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: NumericTextboxComponent, deps: [{ token: i1.ThemesService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
39
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.18", type: NumericTextboxComponent, isStandalone: true, selector: "lib-numeric-textbox", inputs: { autoCorrect: ["autoCorrect", "autoCorrect", (value) => value === true || value === 'true'], width: ["width", "width", (value) => {
|
|
40
40
|
if (value === undefined || value === null)
|
|
41
41
|
return 0;
|
|
42
42
|
return typeof value === 'string' ? parseInt(value, 10) || 0 : value;
|
|
@@ -58,7 +58,7 @@ export class NumericTextboxComponent {
|
|
|
58
58
|
return typeof value === 'string' ? parseFloat(value) || 1 : value;
|
|
59
59
|
}], format: "format", fillMode: "fillMode", rounded: "rounded", size: "size", readonly: ["readonly", "readonly", (value) => value === true || value === 'true'], placeholder: "placeholder", clearButton: ["clearButton", "clearButton", (value) => value === true || value === 'true'], model: "model", control: "control" }, outputs: { modelChange: "modelChange" }, usesOnChanges: true, ngImport: i0, template: "<kendo-numerictextbox [autoCorrect]=\"autoCorrect\" [style.width.px]=\"width\" [value]=\"value\" [min]=\"min\"\n [max]=\"max\" [step]=\"step\" [fillMode]=\"fillMode\" [rounded]=\"rounded\" [size]=\"size\" [readonly]=\"readonly\"\n [placeholder]=\"placeholder\" [format]=\"format\" [ngModel]=\"model\" (ngModelChange)=\"emitModelChange($event)\"\n [formControl]=\"control\">\n</kendo-numerictextbox>\n", styles: [".random-css-to-not-keep-this-file-empty{display:none}\n"], dependencies: [{ kind: "ngmodule", type: InputsModule }, { kind: "component", type: i2.NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "focus", "blur", "inputFocus", "inputBlur"], exportAs: ["kendoNumericTextBox"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] }); }
|
|
60
60
|
}
|
|
61
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
61
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: NumericTextboxComponent, decorators: [{
|
|
62
62
|
type: Component,
|
|
63
63
|
args: [{ standalone: true, selector: 'lib-numeric-textbox', imports: [
|
|
64
64
|
InputsModule,
|
|
@@ -5,19 +5,19 @@ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
|
5
5
|
import { InputsModule } from '@progress/kendo-angular-inputs';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export class NumericTextboxModule {
|
|
8
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
9
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: NumericTextboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.18", ngImport: i0, type: NumericTextboxModule, imports: [NumericTextboxComponent,
|
|
10
10
|
CommonModule,
|
|
11
11
|
FormsModule,
|
|
12
12
|
ReactiveFormsModule,
|
|
13
13
|
InputsModule], exports: [NumericTextboxComponent] }); }
|
|
14
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.
|
|
14
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: NumericTextboxModule, imports: [NumericTextboxComponent,
|
|
15
15
|
CommonModule,
|
|
16
16
|
FormsModule,
|
|
17
17
|
ReactiveFormsModule,
|
|
18
18
|
InputsModule] }); }
|
|
19
19
|
}
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: NumericTextboxModule, decorators: [{
|
|
21
21
|
type: NgModule,
|
|
22
22
|
args: [{
|
|
23
23
|
imports: [
|
|
@@ -8,14 +8,14 @@ export class ProgressBarComponent {
|
|
|
8
8
|
this.themesService = themesService;
|
|
9
9
|
this.value = 0;
|
|
10
10
|
}
|
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
12
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.
|
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ProgressBarComponent, deps: [{ token: i1.ThemesService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.18", type: ProgressBarComponent, isStandalone: true, selector: "lib-progress-bar", inputs: { value: ["value", "value", (value) => {
|
|
13
13
|
if (value === undefined || value === null)
|
|
14
14
|
return 0;
|
|
15
15
|
return typeof value === 'string' ? parseInt(value, 10) || 0 : value;
|
|
16
16
|
}] }, ngImport: i0, template: "<kendo-progressbar [value]=\"value\"></kendo-progressbar>\n", styles: [".random-css-to-not-keep-this-file-empty{display:none}\n"], dependencies: [{ kind: "ngmodule", type: ProgressBarModule }, { kind: "component", type: i2.ProgressBarComponent, selector: "kendo-progressbar", inputs: ["label", "progressCssStyle", "progressCssClass", "emptyCssStyle", "emptyCssClass", "animation"], outputs: ["animationEnd"], exportAs: ["kendoProgressBar"] }] }); }
|
|
17
17
|
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ProgressBarComponent, decorators: [{
|
|
19
19
|
type: Component,
|
|
20
20
|
args: [{ standalone: true, selector: 'lib-progress-bar', imports: [
|
|
21
21
|
ProgressBarModule
|
|
@@ -4,16 +4,16 @@ import { ProgressBarModule } from '@progress/kendo-angular-progressbar';
|
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export class ProgressBarsModule {
|
|
7
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
8
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.
|
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ProgressBarsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
8
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.18", ngImport: i0, type: ProgressBarsModule, imports: [CommonModule,
|
|
9
9
|
ProgressBarComponent,
|
|
10
10
|
ProgressBarModule], exports: [CommonModule,
|
|
11
11
|
ProgressBarComponent] }); }
|
|
12
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.
|
|
12
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ProgressBarsModule, imports: [CommonModule,
|
|
13
13
|
ProgressBarComponent,
|
|
14
14
|
ProgressBarModule, CommonModule] }); }
|
|
15
15
|
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ProgressBarsModule, decorators: [{
|
|
17
17
|
type: NgModule,
|
|
18
18
|
args: [{
|
|
19
19
|
imports: [
|