@3ddv/software-division-components 1.0.0-alpha.1 → 1.0.0-alpha.3.10
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/3ddv-software-division-components.d.ts.map +1 -0
- package/README.md +283 -12
- package/backoffice/index.d.ts +2 -0
- package/backoffice/index.d.ts.map +1 -0
- package/backoffice/public-api.d.ts +2 -0
- package/backoffice/public-api.d.ts.map +1 -0
- package/backoffice/table/components/body-row/body-row.component.d.ts +9 -0
- package/backoffice/table/components/body-row/body-row.component.d.ts.map +1 -0
- package/backoffice/table/components/header-row/header-row.component.d.ts +11 -0
- package/backoffice/table/components/header-row/header-row.component.d.ts.map +1 -0
- package/backoffice/table/index.d.ts +2 -0
- package/backoffice/table/index.d.ts.map +1 -0
- package/{src/lib/backoffice/table/public-api.ts → backoffice/table/public-api.d.ts} +1 -0
- package/backoffice/table/public-api.d.ts.map +1 -0
- package/backoffice/table/table.component.d.ts +23 -0
- package/backoffice/table/table.component.d.ts.map +1 -0
- package/backoffice/table/table.service.d.ts +7 -0
- package/backoffice/table/table.service.d.ts.map +1 -0
- package/backoffice/table/types.d.ts +18 -0
- package/backoffice/table/types.d.ts.map +1 -0
- package/dvm/cart/cart.component.d.ts +8 -0
- package/dvm/cart/cart.component.d.ts.map +1 -0
- package/dvm/cart/cart.service.d.ts +7 -0
- package/dvm/cart/cart.service.d.ts.map +1 -0
- package/dvm/cart/index.d.ts +2 -0
- package/dvm/cart/index.d.ts.map +1 -0
- package/{src/lib/dvm/cart/public-api.ts → dvm/cart/public-api.d.ts} +1 -4
- package/dvm/cart/public-api.d.ts.map +1 -0
- package/dvm/cart-item/cart-item.component.d.ts +8 -0
- package/dvm/cart-item/cart-item.component.d.ts.map +1 -0
- package/dvm/cart-item/cart-item.service.d.ts +7 -0
- package/dvm/cart-item/cart-item.service.d.ts.map +1 -0
- package/dvm/cart-item/index.d.ts +2 -0
- package/dvm/cart-item/index.d.ts.map +1 -0
- package/{src/lib/dvm/cart-item/public-api.ts → dvm/cart-item/public-api.d.ts} +1 -4
- package/dvm/cart-item/public-api.d.ts.map +1 -0
- package/dvm/index.d.ts +2 -0
- package/dvm/index.d.ts.map +1 -0
- package/dvm/legend/index.d.ts +2 -0
- package/dvm/legend/index.d.ts.map +1 -0
- package/dvm/legend/legend.component.d.ts +8 -0
- package/dvm/legend/legend.component.d.ts.map +1 -0
- package/dvm/legend/legend.service.d.ts +7 -0
- package/dvm/legend/legend.service.d.ts.map +1 -0
- package/{src/lib/dvm/legend/public-api.ts → dvm/legend/public-api.d.ts} +1 -4
- package/dvm/legend/public-api.d.ts.map +1 -0
- package/dvm/loader/index.d.ts +2 -0
- package/dvm/loader/index.d.ts.map +1 -0
- package/dvm/loader/loader.component.d.ts +8 -0
- package/dvm/loader/loader.component.d.ts.map +1 -0
- package/dvm/loader/loader.service.d.ts +7 -0
- package/dvm/loader/loader.service.d.ts.map +1 -0
- package/dvm/loader/public-api.d.ts +3 -0
- package/dvm/loader/public-api.d.ts.map +1 -0
- package/dvm/popover/index.d.ts +2 -0
- package/dvm/popover/index.d.ts.map +1 -0
- package/dvm/popover/popover.component.d.ts +8 -0
- package/dvm/popover/popover.component.d.ts.map +1 -0
- package/dvm/popover/popover.service.d.ts +7 -0
- package/dvm/popover/popover.service.d.ts.map +1 -0
- package/{src/lib/dvm/loader/public-api.ts → dvm/popover/public-api.d.ts} +1 -4
- package/dvm/popover/public-api.d.ts.map +1 -0
- package/dvm/public-api.d.ts +8 -0
- package/dvm/public-api.d.ts.map +1 -0
- package/dvm/stepper/index.d.ts +2 -0
- package/dvm/stepper/index.d.ts.map +1 -0
- package/{src/lib/dvm/stepper/public-api.ts → dvm/stepper/public-api.d.ts} +1 -4
- package/dvm/stepper/public-api.d.ts.map +1 -0
- package/dvm/stepper/stepper.component.d.ts +8 -0
- package/dvm/stepper/stepper.component.d.ts.map +1 -0
- package/dvm/stepper/stepper.service.d.ts +7 -0
- package/dvm/stepper/stepper.service.d.ts.map +1 -0
- package/dvm/ticket-info-item/index.d.ts +2 -0
- package/dvm/ticket-info-item/index.d.ts.map +1 -0
- package/dvm/ticket-info-item/public-api.d.ts +3 -0
- package/dvm/ticket-info-item/public-api.d.ts.map +1 -0
- package/dvm/ticket-info-item/ticket-info-item.component.d.ts +8 -0
- package/dvm/ticket-info-item/ticket-info-item.component.d.ts.map +1 -0
- package/dvm/ticket-info-item/ticket-info-item.service.d.ts +7 -0
- package/dvm/ticket-info-item/ticket-info-item.service.d.ts.map +1 -0
- package/esm2022/3ddv-software-division-components.mjs +5 -0
- package/esm2022/backoffice/index.mjs +2 -0
- package/esm2022/backoffice/public-api.mjs +2 -0
- package/esm2022/backoffice/table/components/body-row/body-row.component.mjs +32 -0
- package/esm2022/backoffice/table/components/header-row/header-row.component.mjs +67 -0
- package/esm2022/backoffice/table/index.mjs +2 -0
- package/esm2022/backoffice/table/public-api.mjs +3 -0
- package/esm2022/backoffice/table/table.component.mjs +100 -0
- package/esm2022/backoffice/table/table.service.mjs +14 -0
- package/esm2022/backoffice/table/types.mjs +2 -0
- package/esm2022/dvm/cart/cart.component.mjs +24 -0
- package/esm2022/dvm/cart/cart.service.mjs +14 -0
- package/esm2022/dvm/cart/index.mjs +2 -0
- package/esm2022/dvm/cart/public-api.mjs +6 -0
- package/esm2022/dvm/cart-item/cart-item.component.mjs +24 -0
- package/esm2022/dvm/cart-item/cart-item.service.mjs +14 -0
- package/esm2022/dvm/cart-item/index.mjs +2 -0
- package/esm2022/dvm/cart-item/public-api.mjs +6 -0
- package/esm2022/dvm/index.mjs +2 -0
- package/esm2022/dvm/legend/index.mjs +2 -0
- package/esm2022/dvm/legend/legend.component.mjs +24 -0
- package/esm2022/dvm/legend/legend.service.mjs +14 -0
- package/esm2022/dvm/legend/public-api.mjs +6 -0
- package/esm2022/dvm/loader/index.mjs +2 -0
- package/esm2022/dvm/loader/loader.component.mjs +24 -0
- package/esm2022/dvm/loader/loader.service.mjs +14 -0
- package/esm2022/dvm/loader/public-api.mjs +6 -0
- package/esm2022/dvm/popover/index.mjs +2 -0
- package/esm2022/dvm/popover/popover.component.mjs +24 -0
- package/esm2022/dvm/popover/popover.service.mjs +14 -0
- package/esm2022/dvm/popover/public-api.mjs +6 -0
- package/esm2022/dvm/public-api.mjs +8 -0
- package/esm2022/dvm/stepper/index.mjs +2 -0
- package/esm2022/dvm/stepper/public-api.mjs +6 -0
- package/esm2022/dvm/stepper/stepper.component.mjs +24 -0
- package/esm2022/dvm/stepper/stepper.service.mjs +14 -0
- package/esm2022/dvm/ticket-info-item/index.mjs +2 -0
- package/esm2022/dvm/ticket-info-item/public-api.mjs +6 -0
- package/esm2022/dvm/ticket-info-item/ticket-info-item.component.mjs +24 -0
- package/esm2022/dvm/ticket-info-item/ticket-info-item.service.mjs +14 -0
- package/esm2022/generic/button/button.component.mjs +93 -0
- package/esm2022/generic/button/index.mjs +2 -0
- package/esm2022/generic/button/public-api.mjs +5 -0
- package/esm2022/generic/button/types.mjs +2 -0
- package/esm2022/generic/drawer/drawer.component.mjs +24 -0
- package/esm2022/generic/drawer/drawer.service.mjs +14 -0
- package/esm2022/generic/drawer/index.mjs +2 -0
- package/esm2022/generic/drawer/public-api.mjs +6 -0
- package/esm2022/generic/index.mjs +2 -0
- package/esm2022/generic/modal/index.mjs +2 -0
- package/esm2022/generic/modal/modal.component.mjs +24 -0
- package/esm2022/generic/modal/modal.service.mjs +14 -0
- package/esm2022/generic/modal/public-api.mjs +6 -0
- package/esm2022/generic/public-api.mjs +4 -0
- package/esm2022/public-api.mjs +6 -0
- package/esm2022/shared/format-value.pipe.mjs +28 -0
- package/esm2022/shared/theme-provider.directive.mjs +31 -0
- package/esm2022/shared/theme.service.mjs +6 -0
- package/esm2022/shared/types.mjs +2 -0
- package/esm2022/utils/validate-styles-for-component.mjs +15 -0
- package/fesm2022/3ddv-software-division-components.mjs +672 -0
- package/fesm2022/3ddv-software-division-components.mjs.map +1 -0
- package/generic/button/button.component.d.ts +61 -0
- package/generic/button/button.component.d.ts.map +1 -0
- package/generic/button/index.d.ts +2 -0
- package/generic/button/index.d.ts.map +1 -0
- package/generic/button/public-api.d.ts +2 -0
- package/generic/button/public-api.d.ts.map +1 -0
- package/generic/button/types.d.ts +2 -0
- package/generic/button/types.d.ts.map +1 -0
- package/generic/drawer/drawer.component.d.ts +8 -0
- package/generic/drawer/drawer.component.d.ts.map +1 -0
- package/generic/drawer/drawer.service.d.ts +7 -0
- package/generic/drawer/drawer.service.d.ts.map +1 -0
- package/generic/drawer/index.d.ts +2 -0
- package/generic/drawer/index.d.ts.map +1 -0
- package/{src/lib/generic/drawer/public-api.ts → generic/drawer/public-api.d.ts} +1 -4
- package/generic/drawer/public-api.d.ts.map +1 -0
- package/generic/index.d.ts +2 -0
- package/generic/index.d.ts.map +1 -0
- package/generic/modal/index.d.ts +2 -0
- package/generic/modal/index.d.ts.map +1 -0
- package/generic/modal/modal.component.d.ts +8 -0
- package/generic/modal/modal.component.d.ts.map +1 -0
- package/generic/modal/modal.service.d.ts +7 -0
- package/generic/modal/modal.service.d.ts.map +1 -0
- package/{src/lib/generic/modal/public-api.ts → generic/modal/public-api.d.ts} +1 -4
- package/generic/modal/public-api.d.ts.map +1 -0
- package/generic/public-api.d.ts +4 -0
- package/generic/public-api.d.ts.map +1 -0
- package/index.d.ts +6 -0
- package/package.json +56 -13
- package/public-api.d.ts +6 -0
- package/public-api.d.ts.map +1 -0
- package/shared/format-value.pipe.d.ts +10 -0
- package/shared/format-value.pipe.d.ts.map +1 -0
- package/shared/theme-provider.directive.d.ts +11 -0
- package/shared/theme-provider.directive.d.ts.map +1 -0
- package/shared/theme.service.d.ts +9 -0
- package/shared/theme.service.d.ts.map +1 -0
- package/shared/types.d.ts +2 -0
- package/shared/types.d.ts.map +1 -0
- package/utils/validate-styles-for-component.d.ts +2 -0
- package/utils/validate-styles-for-component.d.ts.map +1 -0
- package/.storybook/main.ts +0 -26
- package/.storybook/preview.ts +0 -20
- package/.storybook/tsconfig.json +0 -10
- package/.storybook/typings.d.ts +0 -4
- package/documentation.json +0 -1300
- package/ng-package.json +0 -7
- package/src/index.ts +0 -1
- package/src/lib/backoffice/table/index.ts +0 -1
- package/src/lib/backoffice/table/package.json +0 -5
- package/src/lib/backoffice/table/table.component.html +0 -37
- package/src/lib/backoffice/table/table.component.ts +0 -30
- package/src/lib/backoffice/table/table.service.ts +0 -10
- package/src/lib/backoffice/table/table.stories.ts +0 -30
- package/src/lib/backoffice/table/types.ts +0 -2
- package/src/lib/backoffice/table/utils.ts +0 -7
- package/src/lib/dvm/cart/cart.component.html +0 -24
- package/src/lib/dvm/cart/cart.component.ts +0 -14
- package/src/lib/dvm/cart/cart.service.ts +0 -8
- package/src/lib/dvm/cart/cart.stories.ts +0 -31
- package/src/lib/dvm/cart/index.ts +0 -1
- package/src/lib/dvm/cart/package.json +0 -5
- package/src/lib/dvm/cart-item/cart-item.component.html +0 -24
- package/src/lib/dvm/cart-item/cart-item.component.ts +0 -14
- package/src/lib/dvm/cart-item/cart-item.service.ts +0 -8
- package/src/lib/dvm/cart-item/cart.stories.ts +0 -31
- package/src/lib/dvm/cart-item/index.ts +0 -1
- package/src/lib/dvm/cart-item/package.json +0 -5
- package/src/lib/dvm/legend/index.ts +0 -1
- package/src/lib/dvm/legend/legend.component.html +0 -24
- package/src/lib/dvm/legend/legend.component.ts +0 -14
- package/src/lib/dvm/legend/legend.service.ts +0 -8
- package/src/lib/dvm/legend/legend.stories.ts +0 -31
- package/src/lib/dvm/legend/package.json +0 -5
- package/src/lib/dvm/loader/index.ts +0 -1
- package/src/lib/dvm/loader/loader.component.html +0 -24
- package/src/lib/dvm/loader/loader.component.ts +0 -14
- package/src/lib/dvm/loader/loader.service.ts +0 -8
- package/src/lib/dvm/loader/loader.stories.ts +0 -31
- package/src/lib/dvm/loader/package.json +0 -5
- package/src/lib/dvm/popover/index.ts +0 -1
- package/src/lib/dvm/popover/package.json +0 -5
- package/src/lib/dvm/popover/popover.component.html +0 -24
- package/src/lib/dvm/popover/popover.component.ts +0 -14
- package/src/lib/dvm/popover/popover.service.ts +0 -8
- package/src/lib/dvm/popover/popover.stories.ts +0 -31
- package/src/lib/dvm/popover/public-api.ts +0 -6
- package/src/lib/dvm/stepper/index.ts +0 -1
- package/src/lib/dvm/stepper/package.json +0 -5
- package/src/lib/dvm/stepper/stepper.component.html +0 -24
- package/src/lib/dvm/stepper/stepper.component.ts +0 -14
- package/src/lib/dvm/stepper/stepper.service.ts +0 -8
- package/src/lib/dvm/stepper/stepper.stories.ts +0 -31
- package/src/lib/dvm/ticket-info-item/index.ts +0 -1
- package/src/lib/dvm/ticket-info-item/package.json +0 -5
- package/src/lib/dvm/ticket-info-item/public-api.ts +0 -6
- package/src/lib/dvm/ticket-info-item/ticket-info-item.component.html +0 -24
- package/src/lib/dvm/ticket-info-item/ticket-info-item.component.ts +0 -14
- package/src/lib/dvm/ticket-info-item/ticket-info-item.service.ts +0 -8
- package/src/lib/dvm/ticket-info-item/ticket-info-item.stories.ts +0 -31
- package/src/lib/generic/button/button.component.html +0 -25
- package/src/lib/generic/button/button.component.scss +0 -5
- package/src/lib/generic/button/button.component.ts +0 -25
- package/src/lib/generic/button/button.service.ts +0 -8
- package/src/lib/generic/button/button.stories.ts +0 -117
- package/src/lib/generic/button/index.ts +0 -1
- package/src/lib/generic/button/package.json +0 -5
- package/src/lib/generic/button/public-api.ts +0 -6
- package/src/lib/generic/drawer/drawer.component.html +0 -24
- package/src/lib/generic/drawer/drawer.component.ts +0 -14
- package/src/lib/generic/drawer/drawer.service.ts +0 -8
- package/src/lib/generic/drawer/drawer.stories.ts +0 -31
- package/src/lib/generic/drawer/index.ts +0 -1
- package/src/lib/generic/drawer/package.json +0 -5
- package/src/lib/generic/modal/index.ts +0 -1
- package/src/lib/generic/modal/modal.component.html +0 -24
- package/src/lib/generic/modal/modal.component.ts +0 -14
- package/src/lib/generic/modal/modal.service.ts +0 -8
- package/src/lib/generic/modal/modal.stories.ts +0 -31
- package/src/lib/generic/modal/package.json +0 -5
- package/src/public-api.ts +0 -3
- package/src/stories/.eslintrc.json +0 -5
- package/src/stories/Configure.mdx +0 -364
- package/src/stories/assets/accessibility.png +0 -0
- package/src/stories/assets/accessibility.svg +0 -1
- package/src/stories/assets/addon-library.png +0 -0
- package/src/stories/assets/assets.png +0 -0
- package/src/stories/assets/avif-test-image.avif +0 -0
- package/src/stories/assets/context.png +0 -0
- package/src/stories/assets/discord.svg +0 -1
- package/src/stories/assets/docs.png +0 -0
- package/src/stories/assets/figma-plugin.png +0 -0
- package/src/stories/assets/github.svg +0 -1
- package/src/stories/assets/share.png +0 -0
- package/src/stories/assets/styling.png +0 -0
- package/src/stories/assets/testing.png +0 -0
- package/src/stories/assets/theming.png +0 -0
- package/src/stories/assets/tutorials.svg +0 -1
- package/src/stories/assets/youtube.svg +0 -1
- package/src/stories/user.ts +0 -3
- package/styles.scss +0 -3
- package/tsconfig.lib.json +0 -14
- package/tsconfig.lib.prod.json +0 -11
- package/tsconfig.spec.json +0 -15
|
@@ -0,0 +1,672 @@
|
|
|
1
|
+
import * as i1$2 from '@angular/common';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { input, Component, computed, ChangeDetectionStrategy, Injectable, InjectionToken, Directive, Inject, HostBinding } from '@angular/core';
|
|
5
|
+
import { ButtonComponent as ButtonComponent$1 } from '../generic/button/index.js';
|
|
6
|
+
import { validateStylesForComponent as validateStylesForComponent$1 } from '../utils/validate-styles-for-component.js';
|
|
7
|
+
import * as i1$1 from 'primeng/button';
|
|
8
|
+
import { ButtonModule, Button, ButtonStyle } from 'primeng/button';
|
|
9
|
+
import * as i3 from 'primeng/contextmenu';
|
|
10
|
+
import { ContextMenuModule } from 'primeng/contextmenu';
|
|
11
|
+
import { PaginatorModule } from 'primeng/paginator';
|
|
12
|
+
import * as i1 from 'primeng/table';
|
|
13
|
+
import { TableModule, Table, TableService as TableService$1 } from 'primeng/table';
|
|
14
|
+
import { FormatValuePipe } from '../shared/format-value.pipe.js';
|
|
15
|
+
import * as i2 from 'primeng/api';
|
|
16
|
+
import { RippleModule } from 'primeng/ripple';
|
|
17
|
+
import * as i3$1 from 'primeng/tooltip';
|
|
18
|
+
import { TooltipModule } from 'primeng/tooltip';
|
|
19
|
+
|
|
20
|
+
const _c0$3 = ["app-body-row", ""];
|
|
21
|
+
const _forTrack0$1 = ($index, $item) => $item.field;
|
|
22
|
+
function BodyRowComponent_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
23
|
+
i0.ɵɵelementStart(0, "td");
|
|
24
|
+
i0.ɵɵtext(1);
|
|
25
|
+
i0.ɵɵpipe(2, "formatValue");
|
|
26
|
+
i0.ɵɵelementEnd();
|
|
27
|
+
} if (rf & 2) {
|
|
28
|
+
const col_r1 = ctx.$implicit;
|
|
29
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
30
|
+
i0.ɵɵadvance();
|
|
31
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r1.rows()[col_r1.field], col_r1 == null ? null : col_r1.options == null ? null : col_r1.options.pipe), " ");
|
|
32
|
+
} }
|
|
33
|
+
class BodyRowComponent {
|
|
34
|
+
rows = input.required();
|
|
35
|
+
columns = input.required();
|
|
36
|
+
static ɵfac = function BodyRowComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BodyRowComponent)(); };
|
|
37
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BodyRowComponent, selectors: [["", "app-body-row", ""]], inputs: { rows: [1, "rows"], columns: [1, "columns"] }, standalone: true, features: [i0.ɵɵStandaloneFeature], attrs: _c0$3, decls: 2, vars: 0, template: function BodyRowComponent_Template(rf, ctx) { if (rf & 1) {
|
|
38
|
+
i0.ɵɵrepeaterCreate(0, BodyRowComponent_For_1_Template, 3, 4, "td", null, _forTrack0$1);
|
|
39
|
+
} if (rf & 2) {
|
|
40
|
+
i0.ɵɵrepeater(ctx.columns());
|
|
41
|
+
} }, dependencies: [FormatValuePipe] });
|
|
42
|
+
}
|
|
43
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BodyRowComponent, [{
|
|
44
|
+
type: Component,
|
|
45
|
+
args: [{ standalone: true, selector: '[app-body-row]', imports: [FormatValuePipe], template: "@for (col of columns(); track col.field) {\n <td>\n {{ rows()[col.field] | formatValue: col?.options?.pipe }}\n </td>\n}\n" }]
|
|
46
|
+
}], null, null); })();
|
|
47
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BodyRowComponent, { className: "BodyRowComponent", filePath: "backoffice/table/components/body-row/body-row.component.ts", lineNumber: 12 }); })();
|
|
48
|
+
|
|
49
|
+
const _c0$2 = ["app-header-row", ""];
|
|
50
|
+
const _forTrack0 = ($index, $item) => $item.field;
|
|
51
|
+
function HeaderRowComponent_For_1_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
52
|
+
i0.ɵɵelementStart(0, "th", 0);
|
|
53
|
+
i0.ɵɵtext(1);
|
|
54
|
+
i0.ɵɵelementEnd();
|
|
55
|
+
} if (rf & 2) {
|
|
56
|
+
const col_r1 = i0.ɵɵnextContext().$implicit;
|
|
57
|
+
i0.ɵɵadvance();
|
|
58
|
+
i0.ɵɵtextInterpolate1(" ", col_r1.header, " ");
|
|
59
|
+
} }
|
|
60
|
+
function HeaderRowComponent_For_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
61
|
+
i0.ɵɵelementStart(0, "th", 1);
|
|
62
|
+
i0.ɵɵtext(1);
|
|
63
|
+
i0.ɵɵelementEnd();
|
|
64
|
+
} if (rf & 2) {
|
|
65
|
+
const col_r1 = i0.ɵɵnextContext().$implicit;
|
|
66
|
+
i0.ɵɵadvance();
|
|
67
|
+
i0.ɵɵtextInterpolate1(" ", col_r1.header, " ");
|
|
68
|
+
} }
|
|
69
|
+
function HeaderRowComponent_For_1_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
70
|
+
i0.ɵɵelementStart(0, "th", 2);
|
|
71
|
+
i0.ɵɵtext(1);
|
|
72
|
+
i0.ɵɵelementEnd();
|
|
73
|
+
} if (rf & 2) {
|
|
74
|
+
const col_r1 = i0.ɵɵnextContext().$implicit;
|
|
75
|
+
i0.ɵɵadvance();
|
|
76
|
+
i0.ɵɵtextInterpolate1(" ", col_r1.header, " ");
|
|
77
|
+
} }
|
|
78
|
+
function HeaderRowComponent_For_1_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
79
|
+
i0.ɵɵelementStart(0, "th");
|
|
80
|
+
i0.ɵɵtext(1);
|
|
81
|
+
i0.ɵɵelementEnd();
|
|
82
|
+
} if (rf & 2) {
|
|
83
|
+
const col_r1 = i0.ɵɵnextContext().$implicit;
|
|
84
|
+
i0.ɵɵadvance();
|
|
85
|
+
i0.ɵɵtextInterpolate1(" ", col_r1.header, " ");
|
|
86
|
+
} }
|
|
87
|
+
function HeaderRowComponent_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
88
|
+
i0.ɵɵtemplate(0, HeaderRowComponent_For_1_Conditional_0_Template, 2, 1, "th", 0)(1, HeaderRowComponent_For_1_Conditional_1_Template, 2, 1, "th", 1)(2, HeaderRowComponent_For_1_Conditional_2_Template, 2, 1, "th", 2)(3, HeaderRowComponent_For_1_Conditional_3_Template, 2, 1, "th");
|
|
89
|
+
} if (rf & 2) {
|
|
90
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
91
|
+
i0.ɵɵconditional(ctx_r1.resizableAndReorderable() ? 0 : ctx_r1.reorderableColumns() ? 1 : ctx_r1.resizableColumns() ? 2 : 3);
|
|
92
|
+
} }
|
|
93
|
+
class HeaderRowComponent {
|
|
94
|
+
columns = input.required();
|
|
95
|
+
reorderableColumns = input.required();
|
|
96
|
+
resizableColumns = input.required();
|
|
97
|
+
resizableAndReorderable = computed(() => this.resizableColumns() && this.reorderableColumns());
|
|
98
|
+
static ɵfac = function HeaderRowComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || HeaderRowComponent)(); };
|
|
99
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderRowComponent, selectors: [["", "app-header-row", ""]], inputs: { columns: [1, "columns"], reorderableColumns: [1, "reorderableColumns"], resizableColumns: [1, "resizableColumns"] }, standalone: true, features: [i0.ɵɵStandaloneFeature], attrs: _c0$2, decls: 2, vars: 0, consts: [["pReorderableColumn", "", "pResizableColumn", ""], ["pReorderableColumn", ""], ["pResizableColumn", ""]], template: function HeaderRowComponent_Template(rf, ctx) { if (rf & 1) {
|
|
100
|
+
i0.ɵɵrepeaterCreate(0, HeaderRowComponent_For_1_Template, 4, 1, null, null, _forTrack0);
|
|
101
|
+
} if (rf & 2) {
|
|
102
|
+
i0.ɵɵrepeater(ctx.columns());
|
|
103
|
+
} }, dependencies: [TableModule, i1.ResizableColumn, i1.ReorderableColumn, CommonModule], styles: ["host[_ngcontent-%COMP%]:{display:contents}"], changeDetection: 0 });
|
|
104
|
+
}
|
|
105
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HeaderRowComponent, [{
|
|
106
|
+
type: Component,
|
|
107
|
+
args: [{ standalone: true, selector: '[app-header-row]', changeDetection: ChangeDetectionStrategy.OnPush, imports: [TableModule, CommonModule], template: "@for (col of columns(); track col.field) {\n @if (resizableAndReorderable()) {\n <th pReorderableColumn pResizableColumn>\n {{ col.header }}\n </th>\n } @else if (reorderableColumns()) {\n <th pReorderableColumn>\n {{ col.header }}\n </th>\n } @else if (resizableColumns()) {\n <th pResizableColumn>\n {{ col.header }}\n </th>\n } @else {\n <th>\n {{ col.header }}\n </th>\n }\n}\n", styles: ["host:{display:contents}\n"] }]
|
|
108
|
+
}], null, null); })();
|
|
109
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(HeaderRowComponent, { className: "HeaderRowComponent", filePath: "backoffice/table/components/header-row/header-row.component.ts", lineNumber: 19 }); })();
|
|
110
|
+
|
|
111
|
+
const _c0$1 = ["*", "*"];
|
|
112
|
+
function TableComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
113
|
+
i0.ɵɵelement(0, "tr", 7);
|
|
114
|
+
} if (rf & 2) {
|
|
115
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
116
|
+
i0.ɵɵproperty("columns", ctx_r1.columnData())("reorderableColumns", !!ctx_r1.reorderableColumns)("resizableColumns", !!ctx_r1.resizableColumns);
|
|
117
|
+
} }
|
|
118
|
+
function TableComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
119
|
+
i0.ɵɵelement(0, "tr", 8);
|
|
120
|
+
} if (rf & 2) {
|
|
121
|
+
const rows_r3 = ctx.$implicit;
|
|
122
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
123
|
+
i0.ɵɵproperty("pContextMenuRow", rows_r3)("columns", ctx_r1.columnData())("rows", rows_r3);
|
|
124
|
+
} }
|
|
125
|
+
function TableComponent_Conditional_9_ng_template_0_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
126
|
+
i0.ɵɵelement(0, "div", 9);
|
|
127
|
+
} }
|
|
128
|
+
function TableComponent_Conditional_9_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
129
|
+
i0.ɵɵtemplate(0, TableComponent_Conditional_9_ng_template_0_Conditional_0_Template, 1, 0, "div", 9);
|
|
130
|
+
i0.ɵɵprojection(1, 0, ["[select]", "'button1'"]);
|
|
131
|
+
i0.ɵɵprojection(2, 1, ["[select]", "'button2'"]);
|
|
132
|
+
} if (rf & 2) {
|
|
133
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
134
|
+
i0.ɵɵconditional(ctx_r1.export() ? 0 : -1);
|
|
135
|
+
} }
|
|
136
|
+
function TableComponent_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
137
|
+
i0.ɵɵtemplate(0, TableComponent_Conditional_9_ng_template_0_Template, 3, 1, "ng-template", 6);
|
|
138
|
+
} }
|
|
139
|
+
class TableComponent extends Table {
|
|
140
|
+
/**
|
|
141
|
+
* Single string or whitespace-separated string of additional style classes for the button.
|
|
142
|
+
* Only accepts valid whitespace-separated class names.
|
|
143
|
+
*/
|
|
144
|
+
styleClasses = input('', { transform: validateStylesForComponent$1(this.constructor.name) });
|
|
145
|
+
columnData = input.required();
|
|
146
|
+
sortable = input();
|
|
147
|
+
export = input();
|
|
148
|
+
exportButtonLabel = input('Export');
|
|
149
|
+
contextMenuOptions = input();
|
|
150
|
+
projectedElementIdArray = input();
|
|
151
|
+
selectedRow;
|
|
152
|
+
cb(event) { }
|
|
153
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵTableComponent_BaseFactory; return function TableComponent_Factory(__ngFactoryType__) { return (ɵTableComponent_BaseFactory || (ɵTableComponent_BaseFactory = i0.ɵɵgetInheritedFactory(TableComponent)))(__ngFactoryType__ || TableComponent); }; })();
|
|
154
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TableComponent, selectors: [["sdc-table"]], inputs: { styleClasses: [1, "styleClasses"], columnData: [1, "columnData"], sortable: [1, "sortable"], export: [1, "export"], exportButtonLabel: [1, "exportButtonLabel"], contextMenuOptions: [1, "contextMenuOptions"], projectedElementIdArray: [1, "projectedElementIdArray"] }, standalone: true, features: [i0.ɵɵProvidersFeature([TableService$1]), i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$1, decls: 10, vars: 85, consts: [["contextMenu", ""], ["dt", ""], ["header", ""], ["body", ""], [3, "model"], [3, "onColReorder", "tableStyleClass", "value", "dataKey", "rows", "sortMode", "sortField", "sortOrder", "size", "rowHover", "scrollable", "scrollHeight", "scrollDirection", "paginator", "stripedRows", "showGridlines", "columns", "resizableColumns", "reorderableColumns", "columnResizeMode", "paginatorPosition", "rowsPerPageOptions", "contextMenu", "selection", "editMode", "frozenValue", "frozenColumns", "selectionMode", "contextMenuSelection", "contextMenuSelectionMode", "paginatorDropdownScrollHeight", "paginatorDropdownAppendTo", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "resetPageOnSort", "selectionPageOnly", "lazy", "lazyLoadOnInit", "compareSelectionBy", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "frozenWidth", "rowGroupMode", "rowTrackBy", "rowSelectable", "customSort", "showInitialSortBadge", "autoLayout", "exportFunction", "exportHeader", "stateKey", "stateStorage", "groupRowsBy", "groupRowsByOrder", "responsiveLayout", "breakpoint", "paginatorLocale", "first", "totalRecords", "multiSortMeta", "selectAll", "loading", "loadingIcon", "showLoader"], ["pTemplate", "caption"], ["app-header-row", "", 3, "columns", "reorderableColumns", "resizableColumns"], ["app-body-row", "", 3, "pContextMenuRow", "columns", "rows"], [1, "button__export--end"]], template: function TableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
155
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
156
|
+
i0.ɵɵprojectionDef(_c0$1);
|
|
157
|
+
i0.ɵɵelementStart(0, "div");
|
|
158
|
+
i0.ɵɵelement(1, "p-contextMenu", 4, 0);
|
|
159
|
+
i0.ɵɵelementStart(3, "p-table", 5, 1);
|
|
160
|
+
i0.ɵɵlistener("onColReorder", function TableComponent_Template_p_table_onColReorder_3_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.cb($event)); });
|
|
161
|
+
i0.ɵɵtemplate(5, TableComponent_ng_template_5_Template, 1, 3, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor)(7, TableComponent_ng_template_7_Template, 1, 3, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor)(9, TableComponent_Conditional_9_Template, 1, 0, null, 6);
|
|
162
|
+
i0.ɵɵelementEnd()();
|
|
163
|
+
} if (rf & 2) {
|
|
164
|
+
let tmp_4_0;
|
|
165
|
+
let tmp_13_0;
|
|
166
|
+
let tmp_14_0;
|
|
167
|
+
let tmp_87_0;
|
|
168
|
+
const contextMenu_r4 = i0.ɵɵreference(2);
|
|
169
|
+
i0.ɵɵadvance();
|
|
170
|
+
i0.ɵɵproperty("model", (tmp_4_0 = ctx.contextMenuOptions()) !== null && tmp_4_0 !== undefined ? tmp_4_0 : undefined);
|
|
171
|
+
i0.ɵɵadvance(2);
|
|
172
|
+
i0.ɵɵstyleMap(ctx.style);
|
|
173
|
+
i0.ɵɵproperty("tableStyleClass", ctx.styleClasses())("value", ctx.value)("dataKey", ctx.dataKey)("rows", ctx.rows)("sortMode", ctx.sortMode)("sortField", ctx.sortField)("sortOrder", ctx.sortOrder)("size", (tmp_13_0 = ctx.size) !== null && tmp_13_0 !== undefined ? tmp_13_0 : undefined)("rowHover", (tmp_14_0 = ctx.rowHover) !== null && tmp_14_0 !== undefined ? tmp_14_0 : true)("scrollable", ctx.scrollable)("scrollHeight", ctx.scrollHeight)("scrollDirection", ctx.scrollDirection)("value", ctx.value)("dataKey", ctx.dataKey)("rows", ctx.rows)("sortMode", ctx.sortMode)("sortField", ctx.sortField)("sortOrder", ctx.sortOrder)("size", ctx.size)("paginator", ctx.paginator)("stripedRows", ctx.stripedRows)("showGridlines", ctx.showGridlines)("columns", ctx.columnData())("resizableColumns", ctx.resizableColumns)("reorderableColumns", ctx.reorderableColumns)("columnResizeMode", ctx.columnResizeMode)("paginatorPosition", ctx.paginatorPosition)("rowsPerPageOptions", ctx.rowsPerPageOptions)("contextMenu", ctx.contextMenuOptions() ? contextMenu_r4 : undefined)("selection", ctx.selection)("editMode", ctx.editMode)("frozenValue", ctx.frozenValue)("frozenColumns", ctx.frozenColumns)("selectionMode", ctx.selectionMode)("contextMenuSelection", ctx.contextMenuSelection)("contextMenuSelectionMode", ctx.contextMenuSelectionMode)("paginatorDropdownScrollHeight", ctx.paginatorDropdownScrollHeight)("paginatorDropdownAppendTo", ctx.paginatorDropdownAppendTo)("currentPageReportTemplate", ctx.currentPageReportTemplate)("showCurrentPageReport", ctx.showCurrentPageReport)("showJumpToPageDropdown", ctx.showJumpToPageDropdown)("showJumpToPageInput", ctx.showJumpToPageInput)("showFirstLastIcon", ctx.showFirstLastIcon)("showPageLinks", ctx.showPageLinks)("defaultSortOrder", ctx.defaultSortOrder)("resetPageOnSort", ctx.resetPageOnSort)("selectionPageOnly", ctx.selectionPageOnly)("lazy", ctx.lazy)("lazyLoadOnInit", ctx.lazyLoadOnInit)("compareSelectionBy", ctx.compareSelectionBy)("filters", ctx.filters)("globalFilterFields", ctx.globalFilterFields)("filterDelay", ctx.filterDelay)("filterLocale", ctx.filterLocale)("expandedRowKeys", ctx.expandedRowKeys)("editingRowKeys", ctx.editingRowKeys)("rowExpandMode", ctx.rowExpandMode)("frozenWidth", ctx.frozenWidth)("rowGroupMode", ctx.rowGroupMode)("rowTrackBy", ctx.rowTrackBy)("rowSelectable", ctx.rowSelectable)("customSort", ctx.customSort)("showInitialSortBadge", ctx.showInitialSortBadge)("autoLayout", ctx.autoLayout)("exportFunction", ctx.exportFunction)("exportHeader", ctx.exportHeader)("stateKey", ctx.stateKey)("stateStorage", ctx.stateStorage)("groupRowsBy", ctx.groupRowsBy)("groupRowsByOrder", ctx.groupRowsByOrder)("size", ctx.size)("responsiveLayout", ctx.responsiveLayout)("breakpoint", ctx.breakpoint)("paginatorLocale", ctx.paginatorLocale)("first", ctx.first)("totalRecords", ctx.totalRecords)("multiSortMeta", ctx.multiSortMeta)("selectAll", ctx.selectAll)("loading", ctx.loading)("loadingIcon", ctx.loadingIcon)("showLoader", ctx.showLoader);
|
|
174
|
+
i0.ɵɵadvance(6);
|
|
175
|
+
i0.ɵɵconditional(ctx.export() || ((tmp_87_0 = ctx.projectedElementIdArray()) == null ? null : tmp_87_0.length) ? 9 : -1);
|
|
176
|
+
} }, dependencies: [CommonModule,
|
|
177
|
+
TableModule, i1.Table, i2.PrimeTemplate, i1.ContextMenuRow, ContextMenuModule, i3.ContextMenu, ButtonModule,
|
|
178
|
+
PaginatorModule,
|
|
179
|
+
HeaderRowComponent,
|
|
180
|
+
BodyRowComponent], styles: ["[_ngcontent-%COMP%]:root{--p-paginator-border-radius: 0px !important}.button__export--end[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;align-items:center;padding:.5rem}sdc-table[_ngcontent-%COMP%] .table-test-class[_ngcontent-%COMP%]{--p-datatable-header-cell-color: red}"], changeDetection: 0 });
|
|
181
|
+
}
|
|
182
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TableComponent, [{
|
|
183
|
+
type: Component,
|
|
184
|
+
args: [{ standalone: true, selector: 'sdc-table', imports: [
|
|
185
|
+
CommonModule,
|
|
186
|
+
TableModule,
|
|
187
|
+
ContextMenuModule,
|
|
188
|
+
ButtonModule,
|
|
189
|
+
PaginatorModule,
|
|
190
|
+
HeaderRowComponent,
|
|
191
|
+
BodyRowComponent,
|
|
192
|
+
ButtonComponent$1,
|
|
193
|
+
], providers: [TableService$1], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div>\n <p-contextMenu #contextMenu [model]=\"contextMenuOptions() ?? undefined\"></p-contextMenu>\n\n <p-table\n #dt\n [tableStyleClass]=\"styleClasses()\"\n [style]=\"style\"\n [value]=\"value\"\n [dataKey]=\"dataKey\"\n [rows]=\"rows\"\n [sortMode]=\"sortMode\"\n [sortField]=\"sortField\"\n [sortOrder]=\"sortOrder\"\n [size]=\"size ?? undefined\"\n [rowHover]=\"rowHover ?? true\"\n [scrollable]=\"scrollable\"\n [scrollHeight]=\"scrollHeight\"\n [scrollDirection]=\"scrollDirection\"\n [value]=\"value\"\n [dataKey]=\"dataKey\"\n [rows]=\"rows\"\n [sortMode]=\"sortMode\"\n [sortField]=\"sortField\"\n [sortOrder]=\"sortOrder\"\n [size]=\"size\"\n [paginator]=\"paginator\"\n [stripedRows]=\"stripedRows\"\n [showGridlines]=\"showGridlines\"\n [columns]=\"columnData()\"\n [resizableColumns]=\"resizableColumns\"\n [reorderableColumns]=\"reorderableColumns\"\n [columnResizeMode]=\"columnResizeMode\"\n [paginatorPosition]=\"paginatorPosition\"\n [rowsPerPageOptions]=\"rowsPerPageOptions\"\n [contextMenu]=\"contextMenuOptions() ? contextMenu : undefined\"\n [selection]=\"selection\"\n [editMode]=\"editMode\"\n [frozenValue]=\"frozenValue\"\n [frozenColumns]=\"frozenColumns\"\n [selectionMode]=\"selectionMode\"\n [contextMenuSelection]=\"contextMenuSelection\"\n [contextMenuSelectionMode]=\"contextMenuSelectionMode\"\n [paginatorDropdownScrollHeight]=\"paginatorDropdownScrollHeight\"\n [paginatorDropdownAppendTo]=\"paginatorDropdownAppendTo\"\n [currentPageReportTemplate]=\"currentPageReportTemplate\"\n [showCurrentPageReport]=\"showCurrentPageReport\"\n [showJumpToPageDropdown]=\"showJumpToPageDropdown\"\n [showJumpToPageInput]=\"showJumpToPageInput\"\n [showFirstLastIcon]=\"showFirstLastIcon\"\n [showPageLinks]=\"showPageLinks\"\n [defaultSortOrder]=\"defaultSortOrder\"\n [resetPageOnSort]=\"resetPageOnSort\"\n [selectionPageOnly]=\"selectionPageOnly\"\n [lazy]=\"lazy\"\n [lazyLoadOnInit]=\"lazyLoadOnInit\"\n [compareSelectionBy]=\"compareSelectionBy\"\n [filters]=\"filters\"\n [globalFilterFields]=\"globalFilterFields\"\n [filterDelay]=\"filterDelay\"\n [filterLocale]=\"filterLocale\"\n [expandedRowKeys]=\"expandedRowKeys\"\n [editingRowKeys]=\"editingRowKeys\"\n [rowExpandMode]=\"rowExpandMode\"\n [frozenWidth]=\"frozenWidth\"\n [rowGroupMode]=\"rowGroupMode\"\n [rowTrackBy]=\"rowTrackBy\"\n [rowSelectable]=\"rowSelectable\"\n [customSort]=\"customSort\"\n [showInitialSortBadge]=\"showInitialSortBadge\"\n [autoLayout]=\"autoLayout\"\n [exportFunction]=\"exportFunction\"\n [exportHeader]=\"exportHeader\"\n [stateKey]=\"stateKey\"\n [stateStorage]=\"stateStorage\"\n [groupRowsBy]=\"groupRowsBy\"\n [groupRowsByOrder]=\"groupRowsByOrder\"\n [size]=\"size\"\n [responsiveLayout]=\"responsiveLayout\"\n [breakpoint]=\"breakpoint\"\n [paginatorLocale]=\"paginatorLocale\"\n [first]=\"first\"\n [totalRecords]=\"totalRecords\"\n [multiSortMeta]=\"multiSortMeta\"\n [selectAll]=\"selectAll\"\n [loading]=\"loading\"\n [loadingIcon]=\"loadingIcon\"\n (onColReorder)=\"cb($event)\"\n [showLoader]=\"showLoader\">\n <ng-template #header>\n <tr\n app-header-row\n [columns]=\"columnData()\"\n [reorderableColumns]=\"!!reorderableColumns\"\n [resizableColumns]=\"!!resizableColumns\"></tr>\n </ng-template>\n\n <ng-template #body let-rows let-index=\"rowIndex\">\n <tr app-body-row [pContextMenuRow]=\"rows\" [columns]=\"columnData()\" [rows]=\"rows\"></tr>\n </ng-template>\n\n @if (export() || projectedElementIdArray()?.length) {\n <ng-template pTemplate=\"caption\">\n @if (export()) {\n <div class=\"button__export--end\">\n <!-- <sdc-button icon=\"pi pi-external-link\" [label]=\"exportButtonLabel()\" (click)=\"dt.exportCSV()\" /> -->\n </div>\n }\n <ng-content [select]=\"'button1'\" />\n\n <ng-content [select]=\"'button2'\" />\n\n <!-- @for (projectedElementId of projectedElementId(); track projectedElementId) {\n <ng-content [select]=\"projectedElementId\" />\n } -->\n </ng-template>\n }\n </p-table>\n</div>\n", styles: [":root{--p-paginator-border-radius: 0px !important}.button__export--end{display:flex;justify-content:flex-end;align-items:center;padding:.5rem}sdc-table .table-test-class{--p-datatable-header-cell-color: red}\n"] }]
|
|
194
|
+
}], null, null); })();
|
|
195
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TableComponent, { className: "TableComponent", filePath: "backoffice/table/table.component.ts", lineNumber: 32 }); })();
|
|
196
|
+
|
|
197
|
+
class TableService {
|
|
198
|
+
constructor() { }
|
|
199
|
+
static ɵfac = function TableService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TableService)(); };
|
|
200
|
+
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: TableService, factory: TableService.ɵfac, providedIn: 'root' });
|
|
201
|
+
}
|
|
202
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TableService, [{
|
|
203
|
+
type: Injectable,
|
|
204
|
+
args: [{
|
|
205
|
+
providedIn: 'root'
|
|
206
|
+
}]
|
|
207
|
+
}], () => [], null); })();
|
|
208
|
+
|
|
209
|
+
class CartComponent extends Button {
|
|
210
|
+
constructor() {
|
|
211
|
+
super();
|
|
212
|
+
}
|
|
213
|
+
static ɵfac = function CartComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CartComponent)(); };
|
|
214
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CartComponent, selectors: [["sdc-cart"]], standalone: true, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], decls: 1, vars: 21, consts: [[3, "onClick", "onFocus", "onBlur", "label", "icon", "type", "loading", "iconPos", "disabled", "severity", "rounded", "raised", "link", "size", "badge", "plain", "text", "outlined", "ariaLabel", "styleClass", "badgeClass", "loadingIcon"]], template: function CartComponent_Template(rf, ctx) { if (rf & 1) {
|
|
215
|
+
i0.ɵɵelementStart(0, "p-button", 0);
|
|
216
|
+
i0.ɵɵlistener("onClick", function CartComponent_Template_p_button_onClick_0_listener($event) { return ctx.onClick.emit($event); })("onFocus", function CartComponent_Template_p_button_onFocus_0_listener($event) { return ctx.onFocus.emit($event); })("onBlur", function CartComponent_Template_p_button_onBlur_0_listener($event) { return ctx.onBlur.emit($event); });
|
|
217
|
+
i0.ɵɵelementEnd();
|
|
218
|
+
} if (rf & 2) {
|
|
219
|
+
i0.ɵɵstyleMap(ctx.style);
|
|
220
|
+
i0.ɵɵproperty("label", ctx.label)("icon", ctx.icon)("type", ctx.type)("loading", ctx.loading)("iconPos", ctx.iconPos)("disabled", ctx.disabled)("severity", ctx.severity)("rounded", ctx.rounded)("raised", ctx.raised)("link", ctx.link)("size", ctx.size)("badge", ctx.badge)("plain", ctx.plain)("text", ctx.text)("outlined", ctx.outlined)("ariaLabel", ctx.ariaLabel)("styleClass", ctx.styleClass)("badgeClass", ctx.badgeClass)("loadingIcon", ctx.loadingIcon);
|
|
221
|
+
} }, dependencies: [ButtonModule, i1$1.Button], encapsulation: 2 });
|
|
222
|
+
}
|
|
223
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CartComponent, [{
|
|
224
|
+
type: Component,
|
|
225
|
+
args: [{ selector: 'sdc-cart', standalone: true, imports: [ButtonModule], template: "<p-button\n [label]=\"label\"\n [icon]=\"icon\"\n [type]=\"type\"\n [loading]=\"loading\"\n [iconPos]=\"iconPos\"\n [disabled]=\"disabled\"\n [severity]=\"severity\"\n [rounded]=\"rounded\"\n [raised]=\"raised\"\n [link]=\"link\"\n [size]=\"size\"\n [badge]=\"badge\"\n [plain]=\"plain\"\n [text]=\"text\"\n [style]=\"style\"\n [outlined]=\"outlined\"\n [ariaLabel]=\"ariaLabel\"\n [styleClass]=\"styleClass\"\n [badgeClass]=\"badgeClass\"\n [loadingIcon]=\"loadingIcon\"\n (onClick)=\"onClick.emit($event)\"\n (onFocus)=\"onFocus.emit($event)\"\n (onBlur)=\"onBlur.emit($event)\" />\n" }]
|
|
226
|
+
}], () => [], null); })();
|
|
227
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CartComponent, { className: "CartComponent", filePath: "dvm/cart/cart.component.ts", lineNumber: 10 }); })();
|
|
228
|
+
|
|
229
|
+
class CartService {
|
|
230
|
+
constructor() { }
|
|
231
|
+
static ɵfac = function CartService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CartService)(); };
|
|
232
|
+
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: CartService, factory: CartService.ɵfac, providedIn: 'root' });
|
|
233
|
+
}
|
|
234
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CartService, [{
|
|
235
|
+
type: Injectable,
|
|
236
|
+
args: [{
|
|
237
|
+
providedIn: 'root',
|
|
238
|
+
}]
|
|
239
|
+
}], () => [], null); })();
|
|
240
|
+
|
|
241
|
+
/*
|
|
242
|
+
* Public API Surface of software-division-components
|
|
243
|
+
*/
|
|
244
|
+
|
|
245
|
+
class CartItemComponent extends Button {
|
|
246
|
+
constructor() {
|
|
247
|
+
super();
|
|
248
|
+
}
|
|
249
|
+
static ɵfac = function CartItemComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CartItemComponent)(); };
|
|
250
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CartItemComponent, selectors: [["sdc-cart-item"]], standalone: true, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], decls: 1, vars: 21, consts: [[3, "onClick", "onFocus", "onBlur", "label", "icon", "type", "loading", "iconPos", "disabled", "severity", "rounded", "raised", "link", "size", "badge", "plain", "text", "outlined", "ariaLabel", "styleClass", "badgeClass", "loadingIcon"]], template: function CartItemComponent_Template(rf, ctx) { if (rf & 1) {
|
|
251
|
+
i0.ɵɵelementStart(0, "p-button", 0);
|
|
252
|
+
i0.ɵɵlistener("onClick", function CartItemComponent_Template_p_button_onClick_0_listener($event) { return ctx.onClick.emit($event); })("onFocus", function CartItemComponent_Template_p_button_onFocus_0_listener($event) { return ctx.onFocus.emit($event); })("onBlur", function CartItemComponent_Template_p_button_onBlur_0_listener($event) { return ctx.onBlur.emit($event); });
|
|
253
|
+
i0.ɵɵelementEnd();
|
|
254
|
+
} if (rf & 2) {
|
|
255
|
+
i0.ɵɵstyleMap(ctx.style);
|
|
256
|
+
i0.ɵɵproperty("label", ctx.label)("icon", ctx.icon)("type", ctx.type)("loading", ctx.loading)("iconPos", ctx.iconPos)("disabled", ctx.disabled)("severity", ctx.severity)("rounded", ctx.rounded)("raised", ctx.raised)("link", ctx.link)("size", ctx.size)("badge", ctx.badge)("plain", ctx.plain)("text", ctx.text)("outlined", ctx.outlined)("ariaLabel", ctx.ariaLabel)("styleClass", ctx.styleClass)("badgeClass", ctx.badgeClass)("loadingIcon", ctx.loadingIcon);
|
|
257
|
+
} }, dependencies: [ButtonModule, i1$1.Button], encapsulation: 2 });
|
|
258
|
+
}
|
|
259
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CartItemComponent, [{
|
|
260
|
+
type: Component,
|
|
261
|
+
args: [{ selector: 'sdc-cart-item', standalone: true, imports: [ButtonModule], template: "<p-button\n [label]=\"label\"\n [icon]=\"icon\"\n [type]=\"type\"\n [loading]=\"loading\"\n [iconPos]=\"iconPos\"\n [disabled]=\"disabled\"\n [severity]=\"severity\"\n [rounded]=\"rounded\"\n [raised]=\"raised\"\n [link]=\"link\"\n [size]=\"size\"\n [badge]=\"badge\"\n [plain]=\"plain\"\n [text]=\"text\"\n [style]=\"style\"\n [outlined]=\"outlined\"\n [ariaLabel]=\"ariaLabel\"\n [styleClass]=\"styleClass\"\n [badgeClass]=\"badgeClass\"\n [loadingIcon]=\"loadingIcon\"\n (onClick)=\"onClick.emit($event)\"\n (onFocus)=\"onFocus.emit($event)\"\n (onBlur)=\"onBlur.emit($event)\" />\n" }]
|
|
262
|
+
}], () => [], null); })();
|
|
263
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CartItemComponent, { className: "CartItemComponent", filePath: "dvm/cart-item/cart-item.component.ts", lineNumber: 10 }); })();
|
|
264
|
+
|
|
265
|
+
class CartItemService {
|
|
266
|
+
constructor() { }
|
|
267
|
+
static ɵfac = function CartItemService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CartItemService)(); };
|
|
268
|
+
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: CartItemService, factory: CartItemService.ɵfac, providedIn: 'root' });
|
|
269
|
+
}
|
|
270
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CartItemService, [{
|
|
271
|
+
type: Injectable,
|
|
272
|
+
args: [{
|
|
273
|
+
providedIn: 'root',
|
|
274
|
+
}]
|
|
275
|
+
}], () => [], null); })();
|
|
276
|
+
|
|
277
|
+
/*
|
|
278
|
+
* Public API Surface of software-division-components
|
|
279
|
+
*/
|
|
280
|
+
|
|
281
|
+
class LegendComponent extends Button {
|
|
282
|
+
constructor() {
|
|
283
|
+
super();
|
|
284
|
+
}
|
|
285
|
+
static ɵfac = function LegendComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LegendComponent)(); };
|
|
286
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LegendComponent, selectors: [["sdc-legend"]], standalone: true, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], decls: 1, vars: 21, consts: [[3, "onClick", "onFocus", "onBlur", "label", "icon", "type", "loading", "iconPos", "disabled", "severity", "rounded", "raised", "link", "size", "badge", "plain", "text", "outlined", "ariaLabel", "styleClass", "badgeClass", "loadingIcon"]], template: function LegendComponent_Template(rf, ctx) { if (rf & 1) {
|
|
287
|
+
i0.ɵɵelementStart(0, "p-button", 0);
|
|
288
|
+
i0.ɵɵlistener("onClick", function LegendComponent_Template_p_button_onClick_0_listener($event) { return ctx.onClick.emit($event); })("onFocus", function LegendComponent_Template_p_button_onFocus_0_listener($event) { return ctx.onFocus.emit($event); })("onBlur", function LegendComponent_Template_p_button_onBlur_0_listener($event) { return ctx.onBlur.emit($event); });
|
|
289
|
+
i0.ɵɵelementEnd();
|
|
290
|
+
} if (rf & 2) {
|
|
291
|
+
i0.ɵɵstyleMap(ctx.style);
|
|
292
|
+
i0.ɵɵproperty("label", ctx.label)("icon", ctx.icon)("type", ctx.type)("loading", ctx.loading)("iconPos", ctx.iconPos)("disabled", ctx.disabled)("severity", ctx.severity)("rounded", ctx.rounded)("raised", ctx.raised)("link", ctx.link)("size", ctx.size)("badge", ctx.badge)("plain", ctx.plain)("text", ctx.text)("outlined", ctx.outlined)("ariaLabel", ctx.ariaLabel)("styleClass", ctx.styleClass)("badgeClass", ctx.badgeClass)("loadingIcon", ctx.loadingIcon);
|
|
293
|
+
} }, dependencies: [ButtonModule, i1$1.Button], encapsulation: 2 });
|
|
294
|
+
}
|
|
295
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LegendComponent, [{
|
|
296
|
+
type: Component,
|
|
297
|
+
args: [{ selector: 'sdc-legend', standalone: true, imports: [ButtonModule], template: "<p-button\n [label]=\"label\"\n [icon]=\"icon\"\n [type]=\"type\"\n [loading]=\"loading\"\n [iconPos]=\"iconPos\"\n [disabled]=\"disabled\"\n [severity]=\"severity\"\n [rounded]=\"rounded\"\n [raised]=\"raised\"\n [link]=\"link\"\n [size]=\"size\"\n [badge]=\"badge\"\n [plain]=\"plain\"\n [text]=\"text\"\n [style]=\"style\"\n [outlined]=\"outlined\"\n [ariaLabel]=\"ariaLabel\"\n [styleClass]=\"styleClass\"\n [badgeClass]=\"badgeClass\"\n [loadingIcon]=\"loadingIcon\"\n (onClick)=\"onClick.emit($event)\"\n (onFocus)=\"onFocus.emit($event)\"\n (onBlur)=\"onBlur.emit($event)\" />\n" }]
|
|
298
|
+
}], () => [], null); })();
|
|
299
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LegendComponent, { className: "LegendComponent", filePath: "dvm/legend/legend.component.ts", lineNumber: 10 }); })();
|
|
300
|
+
|
|
301
|
+
class LegendService {
|
|
302
|
+
constructor() { }
|
|
303
|
+
static ɵfac = function LegendService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LegendService)(); };
|
|
304
|
+
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: LegendService, factory: LegendService.ɵfac, providedIn: 'root' });
|
|
305
|
+
}
|
|
306
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LegendService, [{
|
|
307
|
+
type: Injectable,
|
|
308
|
+
args: [{
|
|
309
|
+
providedIn: 'root',
|
|
310
|
+
}]
|
|
311
|
+
}], () => [], null); })();
|
|
312
|
+
|
|
313
|
+
/*
|
|
314
|
+
* Public API Surface of software-division-components
|
|
315
|
+
*/
|
|
316
|
+
|
|
317
|
+
class LoaderComponent extends Button {
|
|
318
|
+
constructor() {
|
|
319
|
+
super();
|
|
320
|
+
}
|
|
321
|
+
static ɵfac = function LoaderComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LoaderComponent)(); };
|
|
322
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LoaderComponent, selectors: [["sdc-loader"]], standalone: true, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], decls: 1, vars: 21, consts: [[3, "onClick", "onFocus", "onBlur", "label", "icon", "type", "loading", "iconPos", "disabled", "severity", "rounded", "raised", "link", "size", "badge", "plain", "text", "outlined", "ariaLabel", "styleClass", "badgeClass", "loadingIcon"]], template: function LoaderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
323
|
+
i0.ɵɵelementStart(0, "p-button", 0);
|
|
324
|
+
i0.ɵɵlistener("onClick", function LoaderComponent_Template_p_button_onClick_0_listener($event) { return ctx.onClick.emit($event); })("onFocus", function LoaderComponent_Template_p_button_onFocus_0_listener($event) { return ctx.onFocus.emit($event); })("onBlur", function LoaderComponent_Template_p_button_onBlur_0_listener($event) { return ctx.onBlur.emit($event); });
|
|
325
|
+
i0.ɵɵelementEnd();
|
|
326
|
+
} if (rf & 2) {
|
|
327
|
+
i0.ɵɵstyleMap(ctx.style);
|
|
328
|
+
i0.ɵɵproperty("label", ctx.label)("icon", ctx.icon)("type", ctx.type)("loading", ctx.loading)("iconPos", ctx.iconPos)("disabled", ctx.disabled)("severity", ctx.severity)("rounded", ctx.rounded)("raised", ctx.raised)("link", ctx.link)("size", ctx.size)("badge", ctx.badge)("plain", ctx.plain)("text", ctx.text)("outlined", ctx.outlined)("ariaLabel", ctx.ariaLabel)("styleClass", ctx.styleClass)("badgeClass", ctx.badgeClass)("loadingIcon", ctx.loadingIcon);
|
|
329
|
+
} }, dependencies: [ButtonModule, i1$1.Button], encapsulation: 2 });
|
|
330
|
+
}
|
|
331
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoaderComponent, [{
|
|
332
|
+
type: Component,
|
|
333
|
+
args: [{ selector: 'sdc-loader', standalone: true, imports: [ButtonModule], template: "<p-button\n [label]=\"label\"\n [icon]=\"icon\"\n [type]=\"type\"\n [loading]=\"loading\"\n [iconPos]=\"iconPos\"\n [disabled]=\"disabled\"\n [severity]=\"severity\"\n [rounded]=\"rounded\"\n [raised]=\"raised\"\n [link]=\"link\"\n [size]=\"size\"\n [badge]=\"badge\"\n [plain]=\"plain\"\n [text]=\"text\"\n [style]=\"style\"\n [outlined]=\"outlined\"\n [ariaLabel]=\"ariaLabel\"\n [styleClass]=\"styleClass\"\n [badgeClass]=\"badgeClass\"\n [loadingIcon]=\"loadingIcon\"\n (onClick)=\"onClick.emit($event)\"\n (onFocus)=\"onFocus.emit($event)\"\n (onBlur)=\"onBlur.emit($event)\" />\n" }]
|
|
334
|
+
}], () => [], null); })();
|
|
335
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LoaderComponent, { className: "LoaderComponent", filePath: "dvm/loader/loader.component.ts", lineNumber: 10 }); })();
|
|
336
|
+
|
|
337
|
+
class LoaderService {
|
|
338
|
+
constructor() { }
|
|
339
|
+
static ɵfac = function LoaderService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LoaderService)(); };
|
|
340
|
+
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: LoaderService, factory: LoaderService.ɵfac, providedIn: 'root' });
|
|
341
|
+
}
|
|
342
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoaderService, [{
|
|
343
|
+
type: Injectable,
|
|
344
|
+
args: [{
|
|
345
|
+
providedIn: 'root',
|
|
346
|
+
}]
|
|
347
|
+
}], () => [], null); })();
|
|
348
|
+
|
|
349
|
+
/*
|
|
350
|
+
* Public API Surface of software-division-components
|
|
351
|
+
*/
|
|
352
|
+
|
|
353
|
+
class PopoverComponent extends Button {
|
|
354
|
+
constructor() {
|
|
355
|
+
super();
|
|
356
|
+
}
|
|
357
|
+
static ɵfac = function PopoverComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PopoverComponent)(); };
|
|
358
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PopoverComponent, selectors: [["sdc-popover"]], standalone: true, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], decls: 1, vars: 21, consts: [[3, "onClick", "onFocus", "onBlur", "label", "icon", "type", "loading", "iconPos", "disabled", "severity", "rounded", "raised", "link", "size", "badge", "plain", "text", "outlined", "ariaLabel", "styleClass", "badgeClass", "loadingIcon"]], template: function PopoverComponent_Template(rf, ctx) { if (rf & 1) {
|
|
359
|
+
i0.ɵɵelementStart(0, "p-button", 0);
|
|
360
|
+
i0.ɵɵlistener("onClick", function PopoverComponent_Template_p_button_onClick_0_listener($event) { return ctx.onClick.emit($event); })("onFocus", function PopoverComponent_Template_p_button_onFocus_0_listener($event) { return ctx.onFocus.emit($event); })("onBlur", function PopoverComponent_Template_p_button_onBlur_0_listener($event) { return ctx.onBlur.emit($event); });
|
|
361
|
+
i0.ɵɵelementEnd();
|
|
362
|
+
} if (rf & 2) {
|
|
363
|
+
i0.ɵɵstyleMap(ctx.style);
|
|
364
|
+
i0.ɵɵproperty("label", ctx.label)("icon", ctx.icon)("type", ctx.type)("loading", ctx.loading)("iconPos", ctx.iconPos)("disabled", ctx.disabled)("severity", ctx.severity)("rounded", ctx.rounded)("raised", ctx.raised)("link", ctx.link)("size", ctx.size)("badge", ctx.badge)("plain", ctx.plain)("text", ctx.text)("outlined", ctx.outlined)("ariaLabel", ctx.ariaLabel)("styleClass", ctx.styleClass)("badgeClass", ctx.badgeClass)("loadingIcon", ctx.loadingIcon);
|
|
365
|
+
} }, dependencies: [ButtonModule, i1$1.Button], encapsulation: 2 });
|
|
366
|
+
}
|
|
367
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PopoverComponent, [{
|
|
368
|
+
type: Component,
|
|
369
|
+
args: [{ selector: 'sdc-popover', standalone: true, imports: [ButtonModule], template: "<p-button\n [label]=\"label\"\n [icon]=\"icon\"\n [type]=\"type\"\n [loading]=\"loading\"\n [iconPos]=\"iconPos\"\n [disabled]=\"disabled\"\n [severity]=\"severity\"\n [rounded]=\"rounded\"\n [raised]=\"raised\"\n [link]=\"link\"\n [size]=\"size\"\n [badge]=\"badge\"\n [plain]=\"plain\"\n [text]=\"text\"\n [style]=\"style\"\n [outlined]=\"outlined\"\n [ariaLabel]=\"ariaLabel\"\n [styleClass]=\"styleClass\"\n [badgeClass]=\"badgeClass\"\n [loadingIcon]=\"loadingIcon\"\n (onClick)=\"onClick.emit($event)\"\n (onFocus)=\"onFocus.emit($event)\"\n (onBlur)=\"onBlur.emit($event)\" />\n" }]
|
|
370
|
+
}], () => [], null); })();
|
|
371
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PopoverComponent, { className: "PopoverComponent", filePath: "dvm/popover/popover.component.ts", lineNumber: 10 }); })();
|
|
372
|
+
|
|
373
|
+
class PopoverService {
|
|
374
|
+
constructor() { }
|
|
375
|
+
static ɵfac = function PopoverService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PopoverService)(); };
|
|
376
|
+
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: PopoverService, factory: PopoverService.ɵfac, providedIn: 'root' });
|
|
377
|
+
}
|
|
378
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PopoverService, [{
|
|
379
|
+
type: Injectable,
|
|
380
|
+
args: [{
|
|
381
|
+
providedIn: 'root',
|
|
382
|
+
}]
|
|
383
|
+
}], () => [], null); })();
|
|
384
|
+
|
|
385
|
+
/*
|
|
386
|
+
* Public API Surface of software-division-components
|
|
387
|
+
*/
|
|
388
|
+
|
|
389
|
+
class StepperComponent extends Button {
|
|
390
|
+
constructor() {
|
|
391
|
+
super();
|
|
392
|
+
}
|
|
393
|
+
static ɵfac = function StepperComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || StepperComponent)(); };
|
|
394
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: StepperComponent, selectors: [["sdc-stepper"]], standalone: true, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], decls: 1, vars: 21, consts: [[3, "onClick", "onFocus", "onBlur", "label", "icon", "type", "loading", "iconPos", "disabled", "severity", "rounded", "raised", "link", "size", "badge", "plain", "text", "outlined", "ariaLabel", "styleClass", "badgeClass", "loadingIcon"]], template: function StepperComponent_Template(rf, ctx) { if (rf & 1) {
|
|
395
|
+
i0.ɵɵelementStart(0, "p-button", 0);
|
|
396
|
+
i0.ɵɵlistener("onClick", function StepperComponent_Template_p_button_onClick_0_listener($event) { return ctx.onClick.emit($event); })("onFocus", function StepperComponent_Template_p_button_onFocus_0_listener($event) { return ctx.onFocus.emit($event); })("onBlur", function StepperComponent_Template_p_button_onBlur_0_listener($event) { return ctx.onBlur.emit($event); });
|
|
397
|
+
i0.ɵɵelementEnd();
|
|
398
|
+
} if (rf & 2) {
|
|
399
|
+
i0.ɵɵstyleMap(ctx.style);
|
|
400
|
+
i0.ɵɵproperty("label", ctx.label)("icon", ctx.icon)("type", ctx.type)("loading", ctx.loading)("iconPos", ctx.iconPos)("disabled", ctx.disabled)("severity", ctx.severity)("rounded", ctx.rounded)("raised", ctx.raised)("link", ctx.link)("size", ctx.size)("badge", ctx.badge)("plain", ctx.plain)("text", ctx.text)("outlined", ctx.outlined)("ariaLabel", ctx.ariaLabel)("styleClass", ctx.styleClass)("badgeClass", ctx.badgeClass)("loadingIcon", ctx.loadingIcon);
|
|
401
|
+
} }, dependencies: [ButtonModule, i1$1.Button], encapsulation: 2 });
|
|
402
|
+
}
|
|
403
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StepperComponent, [{
|
|
404
|
+
type: Component,
|
|
405
|
+
args: [{ selector: 'sdc-stepper', standalone: true, imports: [ButtonModule], template: "<p-button\n [label]=\"label\"\n [icon]=\"icon\"\n [type]=\"type\"\n [loading]=\"loading\"\n [iconPos]=\"iconPos\"\n [disabled]=\"disabled\"\n [severity]=\"severity\"\n [rounded]=\"rounded\"\n [raised]=\"raised\"\n [link]=\"link\"\n [size]=\"size\"\n [badge]=\"badge\"\n [plain]=\"plain\"\n [text]=\"text\"\n [style]=\"style\"\n [outlined]=\"outlined\"\n [ariaLabel]=\"ariaLabel\"\n [styleClass]=\"styleClass\"\n [badgeClass]=\"badgeClass\"\n [loadingIcon]=\"loadingIcon\"\n (onClick)=\"onClick.emit($event)\"\n (onFocus)=\"onFocus.emit($event)\"\n (onBlur)=\"onBlur.emit($event)\" />\n" }]
|
|
406
|
+
}], () => [], null); })();
|
|
407
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(StepperComponent, { className: "StepperComponent", filePath: "dvm/stepper/stepper.component.ts", lineNumber: 10 }); })();
|
|
408
|
+
|
|
409
|
+
class StepperService {
|
|
410
|
+
constructor() { }
|
|
411
|
+
static ɵfac = function StepperService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || StepperService)(); };
|
|
412
|
+
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: StepperService, factory: StepperService.ɵfac, providedIn: 'root' });
|
|
413
|
+
}
|
|
414
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StepperService, [{
|
|
415
|
+
type: Injectable,
|
|
416
|
+
args: [{
|
|
417
|
+
providedIn: 'root',
|
|
418
|
+
}]
|
|
419
|
+
}], () => [], null); })();
|
|
420
|
+
|
|
421
|
+
/*
|
|
422
|
+
* Public API Surface of software-division-components
|
|
423
|
+
*/
|
|
424
|
+
|
|
425
|
+
class TicketInfoItemComponent extends Button {
|
|
426
|
+
constructor() {
|
|
427
|
+
super();
|
|
428
|
+
}
|
|
429
|
+
static ɵfac = function TicketInfoItemComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TicketInfoItemComponent)(); };
|
|
430
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TicketInfoItemComponent, selectors: [["sdc-ticket-info-item"]], standalone: true, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], decls: 1, vars: 21, consts: [[3, "onClick", "onFocus", "onBlur", "label", "icon", "type", "loading", "iconPos", "disabled", "severity", "rounded", "raised", "link", "size", "badge", "plain", "text", "outlined", "ariaLabel", "styleClass", "badgeClass", "loadingIcon"]], template: function TicketInfoItemComponent_Template(rf, ctx) { if (rf & 1) {
|
|
431
|
+
i0.ɵɵelementStart(0, "p-button", 0);
|
|
432
|
+
i0.ɵɵlistener("onClick", function TicketInfoItemComponent_Template_p_button_onClick_0_listener($event) { return ctx.onClick.emit($event); })("onFocus", function TicketInfoItemComponent_Template_p_button_onFocus_0_listener($event) { return ctx.onFocus.emit($event); })("onBlur", function TicketInfoItemComponent_Template_p_button_onBlur_0_listener($event) { return ctx.onBlur.emit($event); });
|
|
433
|
+
i0.ɵɵelementEnd();
|
|
434
|
+
} if (rf & 2) {
|
|
435
|
+
i0.ɵɵstyleMap(ctx.style);
|
|
436
|
+
i0.ɵɵproperty("label", ctx.label)("icon", ctx.icon)("type", ctx.type)("loading", ctx.loading)("iconPos", ctx.iconPos)("disabled", ctx.disabled)("severity", ctx.severity)("rounded", ctx.rounded)("raised", ctx.raised)("link", ctx.link)("size", ctx.size)("badge", ctx.badge)("plain", ctx.plain)("text", ctx.text)("outlined", ctx.outlined)("ariaLabel", ctx.ariaLabel)("styleClass", ctx.styleClass)("badgeClass", ctx.badgeClass)("loadingIcon", ctx.loadingIcon);
|
|
437
|
+
} }, dependencies: [ButtonModule, i1$1.Button], encapsulation: 2 });
|
|
438
|
+
}
|
|
439
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TicketInfoItemComponent, [{
|
|
440
|
+
type: Component,
|
|
441
|
+
args: [{ selector: 'sdc-ticket-info-item', standalone: true, imports: [ButtonModule], template: "<p-button\n [label]=\"label\"\n [icon]=\"icon\"\n [type]=\"type\"\n [loading]=\"loading\"\n [iconPos]=\"iconPos\"\n [disabled]=\"disabled\"\n [severity]=\"severity\"\n [rounded]=\"rounded\"\n [raised]=\"raised\"\n [link]=\"link\"\n [size]=\"size\"\n [badge]=\"badge\"\n [plain]=\"plain\"\n [text]=\"text\"\n [style]=\"style\"\n [outlined]=\"outlined\"\n [ariaLabel]=\"ariaLabel\"\n [styleClass]=\"styleClass\"\n [badgeClass]=\"badgeClass\"\n [loadingIcon]=\"loadingIcon\"\n (onClick)=\"onClick.emit($event)\"\n (onFocus)=\"onFocus.emit($event)\"\n (onBlur)=\"onBlur.emit($event)\" />\n" }]
|
|
442
|
+
}], () => [], null); })();
|
|
443
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TicketInfoItemComponent, { className: "TicketInfoItemComponent", filePath: "dvm/ticket-info-item/ticket-info-item.component.ts", lineNumber: 10 }); })();
|
|
444
|
+
|
|
445
|
+
class TicketInfoItemService {
|
|
446
|
+
constructor() { }
|
|
447
|
+
static ɵfac = function TicketInfoItemService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TicketInfoItemService)(); };
|
|
448
|
+
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: TicketInfoItemService, factory: TicketInfoItemService.ɵfac, providedIn: 'root' });
|
|
449
|
+
}
|
|
450
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TicketInfoItemService, [{
|
|
451
|
+
type: Injectable,
|
|
452
|
+
args: [{
|
|
453
|
+
providedIn: 'root',
|
|
454
|
+
}]
|
|
455
|
+
}], () => [], null); })();
|
|
456
|
+
|
|
457
|
+
/*
|
|
458
|
+
* Public API Surface of software-division-components
|
|
459
|
+
*/
|
|
460
|
+
|
|
461
|
+
const NG_SD_COMPONENTS_CONFIG = new InjectionToken('NgSdComponentsConfig');
|
|
462
|
+
function provideSdComponentsTheme(config) {
|
|
463
|
+
return { provide: NG_SD_COMPONENTS_CONFIG, useValue: config };
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
class ThemeProviderDirective {
|
|
467
|
+
configuration;
|
|
468
|
+
class = '';
|
|
469
|
+
theme = '';
|
|
470
|
+
constructor(configuration) {
|
|
471
|
+
this.configuration = configuration;
|
|
472
|
+
this.theme = this.configuration.theme;
|
|
473
|
+
this.class = `theme-${this.theme}`;
|
|
474
|
+
}
|
|
475
|
+
static ɵfac = function ThemeProviderDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ThemeProviderDirective)(i0.ɵɵdirectiveInject(NG_SD_COMPONENTS_CONFIG)); };
|
|
476
|
+
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ThemeProviderDirective, selectors: [["", "themeProvider", ""]], hostVars: 2, hostBindings: function ThemeProviderDirective_HostBindings(rf, ctx) { if (rf & 2) {
|
|
477
|
+
i0.ɵɵclassMap(ctx.class);
|
|
478
|
+
} }, standalone: true });
|
|
479
|
+
}
|
|
480
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ThemeProviderDirective, [{
|
|
481
|
+
type: Directive,
|
|
482
|
+
args: [{
|
|
483
|
+
standalone: true,
|
|
484
|
+
selector: '[themeProvider]',
|
|
485
|
+
}]
|
|
486
|
+
}], () => [{ type: undefined, decorators: [{
|
|
487
|
+
type: Inject,
|
|
488
|
+
args: [NG_SD_COMPONENTS_CONFIG]
|
|
489
|
+
}] }], { class: [{
|
|
490
|
+
type: HostBinding,
|
|
491
|
+
args: ['class']
|
|
492
|
+
}] }); })();
|
|
493
|
+
|
|
494
|
+
function validateCssClass(value, componentName) {
|
|
495
|
+
const regex = /^([a-zA-Z][a-zA-Z0-9-_]*)(\s[a-zA-Z][a-zA-Z0-9-_]*)*$/;
|
|
496
|
+
if (!regex.test(value)) {
|
|
497
|
+
throw new Error(`Invalid CSS class string passed as input to "styleClasses" input, found on ${componentName}.
|
|
498
|
+
Please make sure your input is a valid CSS class or a list of whitespace-separated classes.
|
|
499
|
+
The value provided was: ${value}`);
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
function validateStylesForComponent(componentName) {
|
|
503
|
+
return (value) => {
|
|
504
|
+
validateCssClass(value, componentName);
|
|
505
|
+
return value;
|
|
506
|
+
};
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
const _c0 = (a0, a1) => [a0, a1];
|
|
510
|
+
/**
|
|
511
|
+
* A customizable button component built on PrimeNG's Button component.
|
|
512
|
+
*
|
|
513
|
+
* This component supports various configurations, such as tooltips, badge values,
|
|
514
|
+
* and theme styles. It uses the `ThemeProviderDirective` to apply theming dynamically.
|
|
515
|
+
*
|
|
516
|
+
* @class ButtonComponent
|
|
517
|
+
*/
|
|
518
|
+
class ButtonComponent extends Button {
|
|
519
|
+
/**
|
|
520
|
+
* Tooltip text for the button.
|
|
521
|
+
*/
|
|
522
|
+
tooltip = input('');
|
|
523
|
+
/**
|
|
524
|
+
* Tooltip position relative to the button.
|
|
525
|
+
*/
|
|
526
|
+
tooltipPos = input('bottom');
|
|
527
|
+
/**
|
|
528
|
+
* Value displayed as a badge on the button.
|
|
529
|
+
*/
|
|
530
|
+
badgeValue = input('');
|
|
531
|
+
/**
|
|
532
|
+
* Value displayed as a badge on the button.
|
|
533
|
+
*/
|
|
534
|
+
debounceTimeInMs = input(0);
|
|
535
|
+
/**
|
|
536
|
+
* Single string or whitespace-separated string of additional style classes for the button.
|
|
537
|
+
* Only accepts valid whitespace-separated class names.
|
|
538
|
+
*/
|
|
539
|
+
styleClasses = input('', { transform: validateStylesForComponent(this.constructor.name) });
|
|
540
|
+
/**
|
|
541
|
+
* Tracks whether the button is in a debounced state.
|
|
542
|
+
*/
|
|
543
|
+
isDebounced = false;
|
|
544
|
+
/**
|
|
545
|
+
* The current theme applied to the button. This is set by the `ThemeProviderDirective`.
|
|
546
|
+
*/
|
|
547
|
+
theme = '';
|
|
548
|
+
/**
|
|
549
|
+
* CSS class based on the theme. This is dynamically generated.
|
|
550
|
+
*/
|
|
551
|
+
themeClass = '';
|
|
552
|
+
constructor() {
|
|
553
|
+
super();
|
|
554
|
+
}
|
|
555
|
+
/**
|
|
556
|
+
* Handles the click event for the button with debounce logic.
|
|
557
|
+
*
|
|
558
|
+
* This method prevents multiple rapid clicks by disabling the button
|
|
559
|
+
* for the specified debounce time. If `debounceTime` is set to 0,
|
|
560
|
+
* the button remains interactive without debounce behavior.
|
|
561
|
+
*
|
|
562
|
+
* @param event - The click event triggered by the user.
|
|
563
|
+
*/
|
|
564
|
+
handleClick(event) {
|
|
565
|
+
if (this.isDebounced || this.debounceTimeInMs() <= 0)
|
|
566
|
+
return;
|
|
567
|
+
this.onClick.emit(event);
|
|
568
|
+
this.disabled = true;
|
|
569
|
+
this.isDebounced = true;
|
|
570
|
+
setTimeout(() => {
|
|
571
|
+
this.disabled = false;
|
|
572
|
+
this.isDebounced = false;
|
|
573
|
+
}, this.debounceTimeInMs());
|
|
574
|
+
}
|
|
575
|
+
static ɵfac = function ButtonComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ButtonComponent)(); };
|
|
576
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ButtonComponent, selectors: [["sdc-button"]], inputs: { tooltip: [1, "tooltip"], tooltipPos: [1, "tooltipPos"], badgeValue: [1, "badgeValue"], debounceTimeInMs: [1, "debounceTimeInMs"], styleClasses: [1, "styleClasses"] }, standalone: true, features: [i0.ɵɵProvidersFeature([ButtonStyle]), i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], decls: 1, vars: 20, consts: [["pButton", "", "themeProvider", "", 3, "click", "blur", "text", "size", "type", "icon", "label", "plain", "fluid", "loading", "rounded", "pTooltip", "severity", "outlined", "ariaLabel", "autofocus", "loadingIcon", "tooltipPosition", "ngClass"]], template: function ButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
577
|
+
i0.ɵɵelementStart(0, "button", 0);
|
|
578
|
+
i0.ɵɵlistener("click", function ButtonComponent_Template_button_click_0_listener($event) { return ctx.handleClick($event); })("blur", function ButtonComponent_Template_button_blur_0_listener($event) { return ctx.onBlur.emit($event); });
|
|
579
|
+
i0.ɵɵelementEnd();
|
|
580
|
+
} if (rf & 2) {
|
|
581
|
+
let tmp_1_0;
|
|
582
|
+
i0.ɵɵproperty("text", ctx.text)("size", (tmp_1_0 = ctx.size) !== null && tmp_1_0 !== undefined ? tmp_1_0 : null)("type", ctx.type)("icon", ctx.icon)("label", ctx.label)("plain", ctx.plain)("fluid", ctx.fluid)("loading", ctx.loading)("rounded", ctx.rounded)("pTooltip", ctx.tooltip())("severity", ctx.severity)("outlined", ctx.outlined)("ariaLabel", ctx.ariaLabel)("autofocus", ctx.autofocus)("loadingIcon", ctx.loadingIcon)("tooltipPosition", ctx.tooltipPos())("ngClass", i0.ɵɵpureFunction2(17, _c0, ctx.themeClass, ctx.styleClasses()));
|
|
583
|
+
} }, dependencies: [CommonModule, i1$2.NgClass, ButtonModule, i1$1.ButtonDirective, TooltipModule, i3$1.Tooltip, RippleModule, ThemeProviderDirective], styles: ["[_ngcontent-%COMP%]:root{--p-button-primary-color: white !important;--p-button-primary-contrast-color: white !important;--p-button-primary-hover-color: white !important}[_ngcontent-%COMP%]:root .theme-generic[_ngcontent-%COMP%]{--p-button-border-radius: 9999px}"] });
|
|
584
|
+
}
|
|
585
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ButtonComponent, [{
|
|
586
|
+
type: Component,
|
|
587
|
+
args: [{ standalone: true, selector: 'sdc-button', providers: [ButtonStyle], imports: [CommonModule, ButtonModule, TooltipModule, RippleModule, ThemeProviderDirective], template: "<button\n pButton\n themeProvider\n [text]=\"text\"\n [size]=\"size ?? null\"\n [type]=\"type\"\n [icon]=\"icon!\"\n [label]=\"label!\"\n [plain]=\"plain\"\n [fluid]=\"fluid\"\n [loading]=\"loading\"\n [rounded]=\"rounded\"\n [pTooltip]=\"tooltip()\"\n [severity]=\"severity\"\n [outlined]=\"outlined\"\n [ariaLabel]=\"ariaLabel\"\n [autofocus]=\"autofocus\"\n [loadingIcon]=\"loadingIcon\"\n [tooltipPosition]=\"tooltipPos()\"\n [ngClass]=\"[themeClass, styleClasses()]\"\n (click)=\"handleClick($event)\"\n (blur)=\"this.onBlur.emit($event)\"></button>\n", styles: [":root{--p-button-primary-color: white !important;--p-button-primary-contrast-color: white !important;--p-button-primary-hover-color: white !important}:root .theme-generic{--p-button-border-radius: 9999px}\n"] }]
|
|
588
|
+
}], () => [], null); })();
|
|
589
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ButtonComponent, { className: "ButtonComponent", filePath: "generic/button/button.component.ts", lineNumber: 25 }); })();
|
|
590
|
+
|
|
591
|
+
/*
|
|
592
|
+
* Public API Surface of software-division-components
|
|
593
|
+
*/
|
|
594
|
+
|
|
595
|
+
class DrawerComponent extends Button {
|
|
596
|
+
constructor() {
|
|
597
|
+
super();
|
|
598
|
+
}
|
|
599
|
+
static ɵfac = function DrawerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DrawerComponent)(); };
|
|
600
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DrawerComponent, selectors: [["sdc-drawer"]], standalone: true, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], decls: 1, vars: 21, consts: [[3, "onClick", "onFocus", "onBlur", "label", "icon", "type", "loading", "iconPos", "disabled", "severity", "rounded", "raised", "link", "size", "badge", "plain", "text", "outlined", "ariaLabel", "styleClass", "badgeClass", "loadingIcon"]], template: function DrawerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
601
|
+
i0.ɵɵelementStart(0, "p-button", 0);
|
|
602
|
+
i0.ɵɵlistener("onClick", function DrawerComponent_Template_p_button_onClick_0_listener($event) { return ctx.onClick.emit($event); })("onFocus", function DrawerComponent_Template_p_button_onFocus_0_listener($event) { return ctx.onFocus.emit($event); })("onBlur", function DrawerComponent_Template_p_button_onBlur_0_listener($event) { return ctx.onBlur.emit($event); });
|
|
603
|
+
i0.ɵɵelementEnd();
|
|
604
|
+
} if (rf & 2) {
|
|
605
|
+
i0.ɵɵstyleMap(ctx.style);
|
|
606
|
+
i0.ɵɵproperty("label", ctx.label)("icon", ctx.icon)("type", ctx.type)("loading", ctx.loading)("iconPos", ctx.iconPos)("disabled", ctx.disabled)("severity", ctx.severity)("rounded", ctx.rounded)("raised", ctx.raised)("link", ctx.link)("size", ctx.size)("badge", ctx.badge)("plain", ctx.plain)("text", ctx.text)("outlined", ctx.outlined)("ariaLabel", ctx.ariaLabel)("styleClass", ctx.styleClass)("badgeClass", ctx.badgeClass)("loadingIcon", ctx.loadingIcon);
|
|
607
|
+
} }, dependencies: [ButtonModule, i1$1.Button], encapsulation: 2 });
|
|
608
|
+
}
|
|
609
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrawerComponent, [{
|
|
610
|
+
type: Component,
|
|
611
|
+
args: [{ selector: 'sdc-drawer', standalone: true, imports: [ButtonModule], template: "<p-button\n [label]=\"label\"\n [icon]=\"icon\"\n [type]=\"type\"\n [loading]=\"loading\"\n [iconPos]=\"iconPos\"\n [disabled]=\"disabled\"\n [severity]=\"severity\"\n [rounded]=\"rounded\"\n [raised]=\"raised\"\n [link]=\"link\"\n [size]=\"size\"\n [badge]=\"badge\"\n [plain]=\"plain\"\n [text]=\"text\"\n [style]=\"style\"\n [outlined]=\"outlined\"\n [ariaLabel]=\"ariaLabel\"\n [styleClass]=\"styleClass\"\n [badgeClass]=\"badgeClass\"\n [loadingIcon]=\"loadingIcon\"\n (onClick)=\"onClick.emit($event)\"\n (onFocus)=\"onFocus.emit($event)\"\n (onBlur)=\"onBlur.emit($event)\" />\n" }]
|
|
612
|
+
}], () => [], null); })();
|
|
613
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DrawerComponent, { className: "DrawerComponent", filePath: "generic/drawer/drawer.component.ts", lineNumber: 10 }); })();
|
|
614
|
+
|
|
615
|
+
class DrawerService {
|
|
616
|
+
constructor() { }
|
|
617
|
+
static ɵfac = function DrawerService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DrawerService)(); };
|
|
618
|
+
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: DrawerService, factory: DrawerService.ɵfac, providedIn: 'root' });
|
|
619
|
+
}
|
|
620
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrawerService, [{
|
|
621
|
+
type: Injectable,
|
|
622
|
+
args: [{
|
|
623
|
+
providedIn: 'root',
|
|
624
|
+
}]
|
|
625
|
+
}], () => [], null); })();
|
|
626
|
+
|
|
627
|
+
/*
|
|
628
|
+
* Public API Surface of software-division-components
|
|
629
|
+
*/
|
|
630
|
+
|
|
631
|
+
class ModalComponent extends Button {
|
|
632
|
+
constructor() {
|
|
633
|
+
super();
|
|
634
|
+
}
|
|
635
|
+
static ɵfac = function ModalComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ModalComponent)(); };
|
|
636
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ModalComponent, selectors: [["sdc-drawer"]], standalone: true, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], decls: 1, vars: 21, consts: [[3, "onClick", "onFocus", "onBlur", "label", "icon", "type", "loading", "iconPos", "disabled", "severity", "rounded", "raised", "link", "size", "badge", "plain", "text", "outlined", "ariaLabel", "styleClass", "badgeClass", "loadingIcon"]], template: function ModalComponent_Template(rf, ctx) { if (rf & 1) {
|
|
637
|
+
i0.ɵɵelementStart(0, "p-button", 0);
|
|
638
|
+
i0.ɵɵlistener("onClick", function ModalComponent_Template_p_button_onClick_0_listener($event) { return ctx.onClick.emit($event); })("onFocus", function ModalComponent_Template_p_button_onFocus_0_listener($event) { return ctx.onFocus.emit($event); })("onBlur", function ModalComponent_Template_p_button_onBlur_0_listener($event) { return ctx.onBlur.emit($event); });
|
|
639
|
+
i0.ɵɵelementEnd();
|
|
640
|
+
} if (rf & 2) {
|
|
641
|
+
i0.ɵɵstyleMap(ctx.style);
|
|
642
|
+
i0.ɵɵproperty("label", ctx.label)("icon", ctx.icon)("type", ctx.type)("loading", ctx.loading)("iconPos", ctx.iconPos)("disabled", ctx.disabled)("severity", ctx.severity)("rounded", ctx.rounded)("raised", ctx.raised)("link", ctx.link)("size", ctx.size)("badge", ctx.badge)("plain", ctx.plain)("text", ctx.text)("outlined", ctx.outlined)("ariaLabel", ctx.ariaLabel)("styleClass", ctx.styleClass)("badgeClass", ctx.badgeClass)("loadingIcon", ctx.loadingIcon);
|
|
643
|
+
} }, dependencies: [ButtonModule, i1$1.Button], encapsulation: 2 });
|
|
644
|
+
}
|
|
645
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ModalComponent, [{
|
|
646
|
+
type: Component,
|
|
647
|
+
args: [{ selector: 'sdc-drawer', standalone: true, imports: [ButtonModule], template: "<p-button\n [label]=\"label\"\n [icon]=\"icon\"\n [type]=\"type\"\n [loading]=\"loading\"\n [iconPos]=\"iconPos\"\n [disabled]=\"disabled\"\n [severity]=\"severity\"\n [rounded]=\"rounded\"\n [raised]=\"raised\"\n [link]=\"link\"\n [size]=\"size\"\n [badge]=\"badge\"\n [plain]=\"plain\"\n [text]=\"text\"\n [style]=\"style\"\n [outlined]=\"outlined\"\n [ariaLabel]=\"ariaLabel\"\n [styleClass]=\"styleClass\"\n [badgeClass]=\"badgeClass\"\n [loadingIcon]=\"loadingIcon\"\n (onClick)=\"onClick.emit($event)\"\n (onFocus)=\"onFocus.emit($event)\"\n (onBlur)=\"onBlur.emit($event)\" />\n" }]
|
|
648
|
+
}], () => [], null); })();
|
|
649
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ModalComponent, { className: "ModalComponent", filePath: "generic/modal/modal.component.ts", lineNumber: 10 }); })();
|
|
650
|
+
|
|
651
|
+
class ModalService {
|
|
652
|
+
constructor() { }
|
|
653
|
+
static ɵfac = function ModalService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ModalService)(); };
|
|
654
|
+
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ModalService, factory: ModalService.ɵfac, providedIn: 'root' });
|
|
655
|
+
}
|
|
656
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ModalService, [{
|
|
657
|
+
type: Injectable,
|
|
658
|
+
args: [{
|
|
659
|
+
providedIn: 'root',
|
|
660
|
+
}]
|
|
661
|
+
}], () => [], null); })();
|
|
662
|
+
|
|
663
|
+
/*
|
|
664
|
+
* Public API Surface of software-division-components
|
|
665
|
+
*/
|
|
666
|
+
|
|
667
|
+
/**
|
|
668
|
+
* Generated bundle index. Do not edit.
|
|
669
|
+
*/
|
|
670
|
+
|
|
671
|
+
export { ButtonComponent, CartComponent, CartItemComponent, CartItemService, CartService, DrawerComponent, DrawerService, LegendComponent, LegendService, LoaderComponent, LoaderService, ModalComponent, ModalService, PopoverComponent, PopoverService, StepperComponent, StepperService, TableComponent, TableService, TicketInfoItemComponent, TicketInfoItemService, provideSdComponentsTheme, validateStylesForComponent };
|
|
672
|
+
//# sourceMappingURL=3ddv-software-division-components.mjs.map
|