@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 @@
|
|
|
1
|
+
{"version":3,"file":"3ddv-software-division-components.d.ts","sourceRoot":"","sources":["../projects/software-division-components/src/3ddv-software-division-components.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,cAAc,CAAC"}
|
package/README.md
CHANGED
|
@@ -1,25 +1,296 @@
|
|
|
1
1
|
# Software Division Components
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## Overview
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+

|
|
6
|
+

|
|
7
|
+

|
|
6
8
|
|
|
7
|
-
|
|
9
|
+
The Software Division Components library is a wrapper around the [PrimeNG](https://v18.primeng.org/installation) component library that provides extra functionality based on common needs within the Software Division department applications. It also uses [Angular](https://v18.angular.dev/) and [Storybook](https://storybook.js.org/).
|
|
8
10
|
|
|
9
|
-
|
|
11
|
+
## Installation
|
|
10
12
|
|
|
11
|
-
|
|
13
|
+
To install the library, use npm:
|
|
12
14
|
|
|
13
|
-
|
|
15
|
+
```bash
|
|
16
|
+
npm install @3ddv/software-division-components
|
|
17
|
+
```
|
|
14
18
|
|
|
15
|
-
##
|
|
19
|
+
## Usage
|
|
16
20
|
|
|
17
|
-
|
|
21
|
+
### Theming and styling
|
|
18
22
|
|
|
19
|
-
|
|
23
|
+
This library is a wrapper to an already existing component library, so there are some styles which are already present in all the components. These styles are kept intact whenever the `backoffice` theme parameter is passed. You also have the option of passing the `generic` parameter, which in turn makes the component align to the design that several ticketing applications share. You can check that design [here](https://xd.adobe.com/view/0ea7033e-8fdf-4fcd-8215-546d1df20d37-5bf4/) and [here](https://xd.adobe.com/view/c640d5a1-b5d3-4379-8684-fb860f95f052-9313/grid).
|
|
20
24
|
|
|
21
|
-
|
|
25
|
+
Styling components works as if you were styling a usual HTML element. Every component has a `styleClasses` input which accepts a single or several whitespace-separated CSS class/classes declared within the using application.
|
|
22
26
|
|
|
23
|
-
|
|
27
|
+
```css
|
|
28
|
+
.my-class {
|
|
29
|
+
background-color: red;
|
|
30
|
+
}
|
|
31
|
+
```
|
|
24
32
|
|
|
25
|
-
|
|
33
|
+
```typescript
|
|
34
|
+
<sdc-button
|
|
35
|
+
styleClasses='my-class'
|
|
36
|
+
></sdc-button>
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Styles will pierce through the PrimeNG layer and directly style the underlying HTML element. If you are facing any problem styling any component, please check the [official PrimeNG documentation on theming](https://v18.primeng.org/theming) or the individual webpage for styling each component [as in this example for the button component](https://v18.primeng.org/button).
|
|
41
|
+
|
|
42
|
+
### Importing the library
|
|
43
|
+
|
|
44
|
+
#### Setting a theme
|
|
45
|
+
|
|
46
|
+
```ts
|
|
47
|
+
import { ApplicationConfig } from '@angular/core';
|
|
48
|
+
import { provideSdComponentsTheme } from '@3ddv/software-division-components';
|
|
49
|
+
|
|
50
|
+
export const appConfig: ApplicationConfig = {
|
|
51
|
+
// this can be generic or backoffice
|
|
52
|
+
providers: [provideSdComponentsTheme({ theme: 'generic' })],
|
|
53
|
+
};
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
#### Import from main entry
|
|
57
|
+
|
|
58
|
+
```typescript
|
|
59
|
+
import { TableComponent, ButtonComponent } from '@3ddv/software-division-components';
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
#### Import from secondary entry
|
|
63
|
+
|
|
64
|
+
```typescript
|
|
65
|
+
import { ButtonComponent } from '@3ddv/software-division-components/generic/button';
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## **Reporting issues**
|
|
69
|
+
|
|
70
|
+
> **This is a temporary workflow to report issues until the usage of the library grows and we find ourselves in the need to scale this issue reporting system.**
|
|
71
|
+
|
|
72
|
+
To report an issue, please visit [the following ticket](https://mmcbcn.atlassian.net/browse/TICKETING-598) and open a Bug ticket with a clear description of the issue you are facing.
|
|
73
|
+
|
|
74
|
+
## **Project summary**
|
|
75
|
+
|
|
76
|
+
This project source folder contains multiple folders, the most important are the following:
|
|
77
|
+
|
|
78
|
+
- **Backoffice**
|
|
79
|
+
This folder contains components that are exclusive to the backoffice setting, such as tables or sidebars. These components do not receive any styling from the theme class passed on initialization (be it `generic` or `backoffice`). There are some components in the Generic folder which can also be used in the backoffice, but please do so by passing the `backoffice` theme to the library provider. The `backoffice` parameter tells the system to not apply any styles to the components, keeping the design to the one PrimeNG already has by default.
|
|
80
|
+
|
|
81
|
+
- **DVM**
|
|
82
|
+
This folder contains components that are exclusive to an application that uses DVM. There are a lot of components that are common both in style and functionality, and this module aims to reuse those as much as posible. Some examples of these components are the section navigator buttons or the minimap.
|
|
83
|
+
|
|
84
|
+
- **Generic**
|
|
85
|
+
This folder contains components which can be used in any setting. The appearance of these components relies heavily on the parameter that is passed to the library provider (generic or backoffice).
|
|
86
|
+
|
|
87
|
+
- **Shared**
|
|
88
|
+
This folder contains initialization methods, directives and other methods to aid with the usage and debugging of the library.
|
|
89
|
+
|
|
90
|
+
- **Utils**
|
|
91
|
+
This folder contains internal tools which can also be shared across the library, but this is more directed to functions used by the developer to streamline processes and reuse common logic.
|
|
92
|
+
|
|
93
|
+
### Common @3ddv/software-division-components errors
|
|
94
|
+
|
|
95
|
+
#### Error console `Invalid CSS class string found on ...`
|
|
96
|
+
|
|
97
|
+
This indicates that the `stylesClasses` input that you provided to the component does not have a valid format. Please make sure
|
|
98
|
+
to adhere to a valid format documented in the component.
|
|
99
|
+
|
|
100
|
+
## **How to collaborate**
|
|
101
|
+
|
|
102
|
+
### Semantic versioning
|
|
103
|
+
|
|
104
|
+
This project follows semantic versioning. We release patch versions for critical bugfixes, minor versions for new features or non-essential changes, and major versions for any breaking changes. When we make breaking changes, we also introduce deprecation warnings in a minor version so that our developer colleagues learn about the upcoming changes and get to know to not work on top of that deprecated code.
|
|
105
|
+
|
|
106
|
+
Refer to the [official manifesto](https://semver.org/) for any further information.
|
|
107
|
+
|
|
108
|
+
### Conventional commits
|
|
109
|
+
|
|
110
|
+
For managing our commit history and versioning, we follow the Conventional Commits specification. This structured format for commit messages enables us to handle our release process, making it clear when a commit introduces new features, fixes bugs, or includes breaking changes.
|
|
111
|
+
|
|
112
|
+
Refer to the [official documentation](https://www.conventionalcommits.org/en/v1.0.0/) for any further information.
|
|
113
|
+
|
|
114
|
+
#### Commit hooks
|
|
115
|
+
|
|
116
|
+
To ensure commit messages follow this format, Husky and Commitlint are used:
|
|
117
|
+
|
|
118
|
+
- Husky sets up a Git hook that runs on every commit.
|
|
119
|
+
- Commitlint checks the commit message during the commit-msg hook.
|
|
120
|
+
|
|
121
|
+
If the commit message does not adhere to the Conventional Commits format, Commitlint rejects the commit and displays an error with details on what needs to be fixed.
|
|
122
|
+
|
|
123
|
+
### Development workflow steps
|
|
124
|
+
|
|
125
|
+
- Make sure you have latest master remote changes on your local master branch
|
|
126
|
+
|
|
127
|
+
- If no release branch is created, create one checking which version is the next one to be developed on, if there is an ongoing release branch , create a branch following the [official Conventional Commits guidelines](https://www.conventionalcommits.org/en/v1.0.0/).
|
|
128
|
+
|
|
129
|
+
- Make sure to develop on small commits which also follow the Conventional Commits guidelines.
|
|
130
|
+
|
|
131
|
+
- When you are done developing in your branch, create a pull request to the desired branch and await for any approval you might need.
|
|
132
|
+
|
|
133
|
+
> **Code that lands in the `master` branch must be compatible with the latest stable release, able to compile and functional. It may contain additional features, but no breaking changes unless a new major version bump is released. We should be able to release a new minor version from the tip of `master` branch at any time.**
|
|
134
|
+
|
|
135
|
+
- Merge the branch, navigate to the destination branch and pull the changes from the remote branch.
|
|
136
|
+
|
|
137
|
+
- Rinse and repeat.
|
|
138
|
+
|
|
139
|
+
## **How to document your changes**
|
|
140
|
+
|
|
141
|
+
### Documenting component files
|
|
142
|
+
|
|
143
|
+
When documenting your code changes, we use JSDoc to ensure that all JavaScript functions and components are described comprehensively. This helps maintain clarity and understandability throughout the codebase.
|
|
144
|
+
|
|
145
|
+
We also declare the accessibility scope, parameter types and return types of any function declared.
|
|
146
|
+
|
|
147
|
+
```typescript
|
|
148
|
+
/**
|
|
149
|
+
* A customizable button component built on PrimeNG's Button component.
|
|
150
|
+
*
|
|
151
|
+
* This component supports various configurations, such as tooltips, badge values,
|
|
152
|
+
* and theme styles. It uses the `ThemeProviderDirective` to apply theming dynamically.
|
|
153
|
+
*
|
|
154
|
+
* @class ButtonComponent
|
|
155
|
+
* @extends {Button}
|
|
156
|
+
*/
|
|
157
|
+
@Component({
|
|
158
|
+
standalone: true,
|
|
159
|
+
selector: 'sdc-button',
|
|
160
|
+
styleUrls: ['./button.component.css'],
|
|
161
|
+
templateUrl: './button.component.html',
|
|
162
|
+
})
|
|
163
|
+
export class ButtonComponent extends Button {
|
|
164
|
+
/**
|
|
165
|
+
* Tooltip text for the button.
|
|
166
|
+
*/
|
|
167
|
+
public tooltip = input<string>('');
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Handles the click event for the button with debounce logic.
|
|
171
|
+
*
|
|
172
|
+
* This method prevents multiple rapid clicks by disabling the button
|
|
173
|
+
* for the specified debounce time. If `debounceTime` is set to 0,
|
|
174
|
+
* the button remains interactive without debounce behavior.
|
|
175
|
+
*
|
|
176
|
+
* @param event - The click event triggered by the user.
|
|
177
|
+
*/
|
|
178
|
+
public handleClick(event: MouseEvent): void {
|
|
179
|
+
// Implementation should document any steps that cannot be easily explained
|
|
180
|
+
// with variable names. Another scenario might be on documenting why things
|
|
181
|
+
// are done the way they are done (there might be some framework or language limitation).
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
### Properly exporting a newly added component
|
|
187
|
+
|
|
188
|
+
Whenever a newly added component is added, do not forget to add a secondary entrypoint to be able to uniquely import that component in the consuming app:
|
|
189
|
+
|
|
190
|
+
```json
|
|
191
|
+
"exports": {
|
|
192
|
+
".": {
|
|
193
|
+
"types": "./index.d.ts",
|
|
194
|
+
"default": "./esm2022/3ddv-software-division-components.mjs"
|
|
195
|
+
},
|
|
196
|
+
"./generic/button": {
|
|
197
|
+
"types": "./generic/button/index.d.ts",
|
|
198
|
+
"default": "./esm2022/generic/button/index.mjs"
|
|
199
|
+
},
|
|
200
|
+
"./backoffice/table": {
|
|
201
|
+
"types": "./backoffice/table/index.d.ts",
|
|
202
|
+
"default": "./esm2022/backoffice/table/index.mjs"
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
### Documenting and testing visual appeareance
|
|
208
|
+
|
|
209
|
+
The project uses [Storybook](https://storybook.js.org/) as a means to document and test the visual appearance of the components throughout various states and parameters combinations.
|
|
210
|
+
Storybook also aids in receiving visual feedback of the component while developing, without relying on an external application to be able to visualize the component changes. For any further information related to Storybook that is not exclusive to this project, please refer to the official documentation.
|
|
211
|
+
|
|
212
|
+
### How to use Storybook
|
|
213
|
+
|
|
214
|
+
Storybook requires a separate file to be declared along the component. When you create a new component or modify the API of any exiting component, it is very likely you will either have to create or modify this file. This contains these relevant variables.
|
|
215
|
+
|
|
216
|
+
- **Meta**:
|
|
217
|
+
This contains metadata about the component. Title declares the folder where Storybook will place the component, following a structure of FolderName/ComponentName. `Component` requires the real component constructor. `argTypes` declares the controls and its parameters used within Storybook page to modify the component in real time.
|
|
218
|
+
|
|
219
|
+
```typescript
|
|
220
|
+
const meta: Meta<ButtonComponent> = {
|
|
221
|
+
title: 'Generic/Button',
|
|
222
|
+
component: ButtonComponent,
|
|
223
|
+
id: 'Button',
|
|
224
|
+
argTypes: {
|
|
225
|
+
label: {
|
|
226
|
+
control: 'text',
|
|
227
|
+
description: 'Label of the button',
|
|
228
|
+
table: {
|
|
229
|
+
type: { summary: 'string' },
|
|
230
|
+
},
|
|
231
|
+
},
|
|
232
|
+
// other properties ...
|
|
233
|
+
},
|
|
234
|
+
};
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
- **Story** :
|
|
238
|
+
Each story represents a combination of parameters that output a different version of the component. Each story represents a combination of parameters that might be useful in common usage. All stories can be navigated and debugged separately.
|
|
239
|
+
|
|
240
|
+
```typescript
|
|
241
|
+
export const Primary: Story = {
|
|
242
|
+
args: {
|
|
243
|
+
label: 'Primary Button',
|
|
244
|
+
type: 'button',
|
|
245
|
+
disabled: false,
|
|
246
|
+
loading: false,
|
|
247
|
+
severity: 'primary',
|
|
248
|
+
rounded: true,
|
|
249
|
+
raised: true,
|
|
250
|
+
outlined: false,
|
|
251
|
+
link: false,
|
|
252
|
+
ariaLabel: 'Primary button',
|
|
253
|
+
size: 'large',
|
|
254
|
+
},
|
|
255
|
+
};
|
|
256
|
+
```
|
|
257
|
+
|
|
258
|
+
When this is done (or while you are doing developing the component) you can visualize it by booting up Storybook locally. Use this command:
|
|
259
|
+
|
|
260
|
+
```bash
|
|
261
|
+
pnpm run storybook
|
|
262
|
+
```
|
|
263
|
+
|
|
264
|
+
and Storybook will serve a static page to interact with your components.
|
|
265
|
+
|
|
266
|
+
### How Storybook component binding works
|
|
267
|
+
|
|
268
|
+
Define Inputs:
|
|
269
|
+
|
|
270
|
+
Inputs are exposed as arguments (args) in a story.
|
|
271
|
+
These arguments can be controlled through Storybook's UI (via the "Controls" panel).
|
|
272
|
+
Binding Inputs:
|
|
273
|
+
|
|
274
|
+
The args object is passed to the component via the props property.
|
|
275
|
+
The args keys must match the @Input property names of the component.
|
|
276
|
+
|
|
277
|
+
```typescript
|
|
278
|
+
export const WithGridlines: Story = {
|
|
279
|
+
args: {
|
|
280
|
+
value: [
|
|
281
|
+
{ id: 1, name: 'Item A' },
|
|
282
|
+
{ id: 2, name: 'Item B' },
|
|
283
|
+
], // Binds to @Input() value
|
|
284
|
+
columnData: [
|
|
285
|
+
{ field: 'id', header: 'ID' },
|
|
286
|
+
{ field: 'name', header: 'Name' },
|
|
287
|
+
], // Binds to @Input() columnData
|
|
288
|
+
showGridlines: true, // Binds to @Input() showGridlines
|
|
289
|
+
},
|
|
290
|
+
};
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
This will render the TableComponent with value, columnData, and showGridlines set.In the context of Storybook:
|
|
294
|
+
|
|
295
|
+
Inputs (@Input) are controlled via args and Controls.
|
|
296
|
+
Outputs (@Output) are linked to Storybook Actions, allowing you to observe and debug emitted events.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../projects/software-division-components/src/backoffice/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../projects/software-division-components/src/backoffice/public-api.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ObjectColumnData } from '../../types';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BodyRowComponent {
|
|
4
|
+
rows: import("@angular/core").InputSignal<Record<string, any>>;
|
|
5
|
+
columns: import("@angular/core").InputSignal<ObjectColumnData[]>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BodyRowComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BodyRowComponent, "[app-body-row]", never, { "rows": { "alias": "rows"; "required": true; "isSignal": true; }; "columns": { "alias": "columns"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=body-row.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"body-row.component.d.ts","sourceRoot":"","sources":["../../../../../projects/software-division-components/src/backoffice/table/components/body-row/body-row.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;;AAE/C,qBAOa,gBAAgB;IACpB,IAAI,2DAAyC;IAC7C,OAAO,0DAAwC;yCAF3C,gBAAgB;2CAAhB,gBAAgB;CAG5B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ObjectColumnData } from '../../types';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class HeaderRowComponent {
|
|
4
|
+
columns: import("@angular/core").InputSignal<ObjectColumnData[]>;
|
|
5
|
+
reorderableColumns: import("@angular/core").InputSignal<boolean>;
|
|
6
|
+
resizableColumns: import("@angular/core").InputSignal<boolean>;
|
|
7
|
+
resizableAndReorderable: import("@angular/core").Signal<boolean>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderRowComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderRowComponent, "[app-header-row]", never, { "columns": { "alias": "columns"; "required": true; "isSignal": true; }; "reorderableColumns": { "alias": "reorderableColumns"; "required": true; "isSignal": true; }; "resizableColumns": { "alias": "resizableColumns"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=header-row.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"header-row.component.d.ts","sourceRoot":"","sources":["../../../../../projects/software-division-components/src/backoffice/table/components/header-row/header-row.component.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;;AAE/C,qBAaa,kBAAkB;IACtB,OAAO,0DAAwC;IAC/C,kBAAkB,+CAA6B;IAC/C,gBAAgB,+CAA6B;IAC7C,uBAAuB,0CAAwE;yCAJ3F,kBAAkB;2CAAlB,kBAAkB;CAK9B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../projects/software-division-components/src/backoffice/table/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../../projects/software-division-components/src/backoffice/table/public-api.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { MenuItem } from 'primeng/api';
|
|
3
|
+
import { Table } from 'primeng/table';
|
|
4
|
+
import { ObjectColumnData } from './types';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class TableComponent extends Table implements OnInit {
|
|
7
|
+
/**
|
|
8
|
+
* Single string or whitespace-separated string of additional style classes for the button.
|
|
9
|
+
* Only accepts valid whitespace-separated class names.
|
|
10
|
+
*/
|
|
11
|
+
styleClasses: import("@angular/core").InputSignalWithTransform<string, string>;
|
|
12
|
+
columnData: import("@angular/core").InputSignal<ObjectColumnData[]>;
|
|
13
|
+
sortable: import("@angular/core").InputSignal<boolean | undefined>;
|
|
14
|
+
export: import("@angular/core").InputSignal<boolean | undefined>;
|
|
15
|
+
exportButtonLabel: import("@angular/core").InputSignal<string>;
|
|
16
|
+
contextMenuOptions: import("@angular/core").InputSignal<MenuItem[] | undefined>;
|
|
17
|
+
projectedElementIdArray: import("@angular/core").InputSignal<string[] | undefined>;
|
|
18
|
+
protected selectedRow: (typeof this.value)[number];
|
|
19
|
+
protected cb(event: any): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "sdc-table", never, { "styleClasses": { "alias": "styleClasses"; "required": false; "isSignal": true; }; "columnData": { "alias": "columnData"; "required": true; "isSignal": true; }; "sortable": { "alias": "sortable"; "required": false; "isSignal": true; }; "export": { "alias": "export"; "required": false; "isSignal": true; }; "exportButtonLabel": { "alias": "exportButtonLabel"; "required": false; "isSignal": true; }; "contextMenuOptions": { "alias": "contextMenuOptions"; "required": false; "isSignal": true; }; "projectedElementIdArray": { "alias": "projectedElementIdArray"; "required": false; "isSignal": true; }; }, {}, never, ["*", "*"], true, never>;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=table.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.component.d.ts","sourceRoot":"","sources":["../../../projects/software-division-components/src/backoffice/table/table.component.ts"],"names":[],"mappings":"AACA,OAAO,EAA6C,MAAM,EAAE,MAAM,eAAe,CAAC;AAGlF,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAIvC,OAAO,EAAE,KAAK,EAA6B,MAAM,eAAe,CAAC;AAGjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;;AAE3C,qBAkBa,cAAe,SAAQ,KAAM,YAAW,MAAM;IACzD;;;OAGG;IACI,YAAY,mEAA+E;IAC3F,UAAU,0DAAwC;IAClD,QAAQ,2DAAoB;IAC5B,MAAM,2DAAoB;IAC1B,iBAAiB,8CAA2B;IAC5C,kBAAkB,8DAAuB;IACzC,uBAAuB,4DAAqB;IAEnD,SAAS,CAAC,WAAW,EAAE,CAAC,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC;IAEnD,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG;yCAfZ,cAAc;2CAAd,cAAc;CAgB1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.service.d.ts","sourceRoot":"","sources":["../../../projects/software-division-components/src/backoffice/table/table.service.ts"],"names":[],"mappings":";AAEA,qBAGa,YAAY;;yCAAZ,YAAY;6CAAZ,YAAY;CAIxB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { NgPipes } from '../../shared/types';
|
|
2
|
+
export type ScrollDirection = 'vertical' | 'horizontal' | 'both';
|
|
3
|
+
export type TableSize = 'small' | 'large' | 'normal';
|
|
4
|
+
export type InputTypes = 'text' | 'select' | 'checkbox';
|
|
5
|
+
export interface ColumnInput {
|
|
6
|
+
type: InputTypes;
|
|
7
|
+
data: any[];
|
|
8
|
+
}
|
|
9
|
+
export interface ObjectColumnOptions {
|
|
10
|
+
pipe?: NgPipes;
|
|
11
|
+
input?: ColumnInput;
|
|
12
|
+
}
|
|
13
|
+
export interface ObjectColumnData {
|
|
14
|
+
field: string;
|
|
15
|
+
header: string;
|
|
16
|
+
options?: ObjectColumnOptions;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../projects/software-division-components/src/backoffice/table/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC,MAAM,MAAM,eAAe,GAAG,UAAU,GAAG,YAAY,GAAG,MAAM,CAAC;AAEjE,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,CAAC;AAErD,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,QAAQ,GAAG,UAAU,CAAC;AACxD,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,UAAU,CAAC;IAEjB,IAAI,EAAE,GAAG,EAAE,CAAC;CACb;AACD,MAAM,WAAW,mBAAmB;IAClC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,mBAAmB,CAAC;CAC/B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Button } from 'primeng/button';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CartComponent extends Button {
|
|
4
|
+
constructor();
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CartComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CartComponent, "sdc-cart", never, {}, {}, never, never, true, never>;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=cart.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cart.component.d.ts","sourceRoot":"","sources":["../../../projects/software-division-components/src/dvm/cart/cart.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAgB,MAAM,gBAAgB,CAAC;;AAEtD,qBAMa,aAAc,SAAQ,MAAM;;yCAA5B,aAAa;2CAAb,aAAa;CAIzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cart.service.d.ts","sourceRoot":"","sources":["../../../projects/software-division-components/src/dvm/cart/cart.service.ts"],"names":[],"mappings":";AAEA,qBAGa,WAAW;;yCAAX,WAAW;6CAAX,WAAW;CAEvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../projects/software-division-components/src/dvm/cart/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../../projects/software-division-components/src/dvm/cart/public-api.ts"],"names":[],"mappings":"AAIA,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Button } from 'primeng/button';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CartItemComponent extends Button {
|
|
4
|
+
constructor();
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CartItemComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CartItemComponent, "sdc-cart-item", never, {}, {}, never, never, true, never>;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=cart-item.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cart-item.component.d.ts","sourceRoot":"","sources":["../../../projects/software-division-components/src/dvm/cart-item/cart-item.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAgB,MAAM,gBAAgB,CAAC;;AAEtD,qBAMa,iBAAkB,SAAQ,MAAM;;yCAAhC,iBAAiB;2CAAjB,iBAAiB;CAI7B"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class CartItemService {
|
|
3
|
+
constructor();
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CartItemService, never>;
|
|
5
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CartItemService>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=cart-item.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cart-item.service.d.ts","sourceRoot":"","sources":["../../../projects/software-division-components/src/dvm/cart-item/cart-item.service.ts"],"names":[],"mappings":";AAEA,qBAGa,eAAe;;yCAAf,eAAe;6CAAf,eAAe;CAE3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../projects/software-division-components/src/dvm/cart-item/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../../projects/software-division-components/src/dvm/cart-item/public-api.ts"],"names":[],"mappings":"AAIA,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC"}
|
package/dvm/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../projects/software-division-components/src/dvm/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../projects/software-division-components/src/dvm/legend/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Button } from 'primeng/button';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class LegendComponent extends Button {
|
|
4
|
+
constructor();
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LegendComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LegendComponent, "sdc-legend", never, {}, {}, never, never, true, never>;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=legend.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"legend.component.d.ts","sourceRoot":"","sources":["../../../projects/software-division-components/src/dvm/legend/legend.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAgB,MAAM,gBAAgB,CAAC;;AAEtD,qBAMa,eAAgB,SAAQ,MAAM;;yCAA9B,eAAe;2CAAf,eAAe;CAI3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"legend.service.d.ts","sourceRoot":"","sources":["../../../projects/software-division-components/src/dvm/legend/legend.service.ts"],"names":[],"mappings":";AAEA,qBAGa,aAAa;;yCAAb,aAAa;6CAAb,aAAa;CAEzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../../projects/software-division-components/src/dvm/legend/public-api.ts"],"names":[],"mappings":"AAIA,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../projects/software-division-components/src/dvm/loader/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Button } from 'primeng/button';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class LoaderComponent extends Button {
|
|
4
|
+
constructor();
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoaderComponent, "sdc-loader", never, {}, {}, never, never, true, never>;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=loader.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loader.component.d.ts","sourceRoot":"","sources":["../../../projects/software-division-components/src/dvm/loader/loader.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAgB,MAAM,gBAAgB,CAAC;;AAEtD,qBAMa,eAAgB,SAAQ,MAAM;;yCAA9B,eAAe;2CAAf,eAAe;CAI3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loader.service.d.ts","sourceRoot":"","sources":["../../../projects/software-division-components/src/dvm/loader/loader.service.ts"],"names":[],"mappings":";AAEA,qBAGa,aAAa;;yCAAb,aAAa;6CAAb,aAAa;CAEzB"}
|