ng-wsl-library 0.24.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +223 -183
- package/esm2022/lib/components/public-api.mjs +39 -0
- package/esm2022/lib/components/wsl-button/wsl-button.component.mjs +36 -0
- package/{esm2020 → esm2022}/lib/components/wsl-carousel/index.mjs +1 -1
- package/esm2022/lib/components/wsl-carousel/wsl-carousel.component.mjs +1303 -0
- package/esm2022/lib/components/wsl-carousel/wsl-carousel.module.mjs +19 -0
- package/esm2022/lib/components/wsl-cms/cms-editor/cms-editor-main-menu/cms-editor-main-menu.component.mjs +55 -0
- package/esm2022/lib/components/wsl-cms/cms-editor/cms-editor-slider/cms-editor-slider.component.mjs +128 -0
- package/esm2022/lib/components/wsl-cms/cms-editor/cms-editor.component.mjs +29 -0
- package/esm2022/lib/components/wsl-cms/cms-editor/cms-editor.module.mjs +102 -0
- package/esm2022/lib/components/wsl-cms/cms-editor/wsl-cms-add-components/wsl-cms-add-components.component.mjs +31 -0
- package/esm2022/lib/components/wsl-cms/cms-item/cms-item-options/cms-item-options.component.mjs +46 -0
- package/esm2022/lib/components/wsl-cms/cms-item/cms-item.component.mjs +83 -0
- package/esm2022/lib/components/wsl-cms/wsl-cms.component.mjs +38 -0
- package/esm2022/lib/components/wsl-cms/wsl-cms.mapper.mjs +18 -0
- package/esm2022/lib/components/wsl-cms/wsl-cms.module.mjs +33 -0
- package/esm2022/lib/components/wsl-components.module.mjs +39 -0
- package/{esm2020 → esm2022}/lib/components/wsl-custom/wsl-custom.component.mjs +6 -6
- package/esm2022/lib/components/wsl-datetime-picker/wsl-datetime-picker.component.mjs +965 -0
- package/esm2022/lib/components/wsl-datetime-picker/wsl-datetime-picker.module.mjs +36 -0
- package/{esm2020 → esm2022}/lib/components/wsl-footer/wsl-footer.component.mjs +6 -6
- package/{esm2020 → esm2022}/lib/components/wsl-header/wsl-header.component.mjs +6 -6
- package/esm2022/lib/components/wsl-main-menu/wsl-main-menu.component.mjs +14 -0
- package/esm2022/lib/components/wsl-otp/wsl-otp.component.mjs +267 -0
- package/esm2022/lib/components/wsl-otp/wsl-otp.module.mjs +19 -0
- package/{esm2020 → esm2022}/lib/constants/datetime-picker.constants.mjs +1 -1
- package/{esm2020 → esm2022}/lib/constants/public-api.mjs +1 -1
- package/{esm2020 → esm2022}/lib/directives/public-api.mjs +1 -1
- package/{esm2020 → esm2022}/lib/directives/wsl-carousel-item.directive.mjs +5 -5
- package/esm2022/lib/directives/wsl-directives.module.mjs +37 -0
- package/esm2022/lib/directives/wsl-dynamic-component.directive.mjs +33 -0
- package/esm2022/lib/directives/wsl-image.directive.mjs +70 -0
- package/esm2022/lib/directives/wsl-tooltip.directive.mjs +336 -0
- package/{esm2020 → esm2022}/lib/enum/public-api.mjs +1 -1
- package/{esm2020 → esm2022}/lib/enum/relative-position.enum.mjs +1 -1
- package/esm2022/lib/interfaces/date-format.interface.mjs +7 -0
- package/{esm2020 → esm2022}/lib/interfaces/public-api.mjs +1 -1
- package/esm2022/lib/interfaces/wsl-config.interface.mjs +2 -0
- package/{esm2020 → esm2022}/lib/interfaces/wsl-currency-options.interface.mjs +1 -1
- package/{esm2020 → esm2022}/lib/interfaces/wsl-lang-path-options.interface.mjs +1 -1
- package/{esm2020 → esm2022}/lib/metadata/wsl-cms.metadata.mjs +7 -7
- package/{esm2020 → esm2022}/lib/models/public-api.mjs +1 -1
- package/esm2022/lib/models/wsl-carousel-config.model.mjs +2 -0
- package/esm2022/lib/models/wsl-cms.model.mjs +10 -0
- package/esm2022/lib/models/wsl-date-formats.mjs +80 -0
- package/esm2022/lib/models/wsl-date-time.model.mjs +63 -0
- package/{esm2020 → esm2022}/lib/pipes/public-api.mjs +1 -1
- package/esm2022/lib/pipes/wsl-currency/wsl-currency.pipe.mjs +193 -0
- package/esm2022/lib/pipes/wsl-lang-path/wsl-lang-path.pipe.mjs +93 -0
- package/esm2022/lib/pipes/wsl-pipes.module.mjs +19 -0
- package/esm2022/lib/services/config/wsl-config.service.mjs +96 -0
- package/{esm2020 → esm2022}/lib/services/i18n/wsl-i18n.service.mjs +5 -5
- package/{esm2020 → esm2022}/lib/services/public-api.mjs +1 -1
- package/{esm2020 → esm2022}/lib/services/wsl-cms.service.mjs +5 -5
- package/esm2022/lib/services/wsl-microfrontend.service.mjs +108 -0
- package/esm2022/lib/services/wsl-services.module.mjs +16 -0
- package/{esm2020 → esm2022}/lib/utils/date-time/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/utils/date-time/wsl-date-time.utils.mjs +1 -1
- package/{esm2020 → esm2022}/lib/utils/public-api.mjs +1 -1
- package/{esm2020 → esm2022}/lib/wsl-ipls/enums/configuration-types.enum.mjs +1 -1
- package/{esm2020 → esm2022}/lib/wsl-ipls/enums/index.mjs +1 -1
- package/esm2022/lib/wsl-ipls/interfaces/ipls-config.interface.mjs +2 -0
- package/esm2022/lib/wsl-ipls/models/ipls-config-mapper.model.mjs +125 -0
- package/esm2022/lib/wsl-library.module.mjs +53 -0
- package/{esm2020 → esm2022}/public-api.mjs +1 -1
- package/fesm2022/ng-wsl-library.mjs +5305 -0
- package/fesm2022/ng-wsl-library.mjs.map +1 -0
- package/lib/components/public-api.d.ts +2 -0
- package/lib/components/wsl-button/wsl-button.component.d.ts +1 -1
- package/lib/components/wsl-carousel/wsl-carousel.component.d.ts +1 -1
- package/lib/components/wsl-cms/cms-editor/cms-editor-main-menu/cms-editor-main-menu.component.d.ts +1 -1
- package/lib/components/wsl-cms/cms-editor/cms-editor-slider/cms-editor-slider.component.d.ts +1 -1
- package/lib/components/wsl-cms/cms-editor/cms-editor.component.d.ts +1 -1
- package/lib/components/wsl-cms/cms-editor/wsl-cms-add-components/wsl-cms-add-components.component.d.ts +1 -1
- package/lib/components/wsl-cms/cms-item/cms-item-options/cms-item-options.component.d.ts +1 -1
- package/lib/components/wsl-cms/cms-item/cms-item.component.d.ts +1 -1
- package/lib/components/wsl-cms/wsl-cms.component.d.ts +1 -1
- package/lib/components/wsl-components.module.d.ts +3 -2
- package/lib/components/wsl-custom/wsl-custom.component.d.ts +1 -1
- package/lib/components/wsl-datetime-picker/wsl-datetime-picker.component.d.ts +7 -5
- package/lib/components/wsl-footer/wsl-footer.component.d.ts +1 -1
- package/lib/components/wsl-header/wsl-header.component.d.ts +1 -1
- package/lib/components/wsl-main-menu/wsl-main-menu.component.d.ts +1 -1
- package/lib/components/wsl-otp/wsl-otp.component.d.ts +54 -0
- package/lib/components/wsl-otp/wsl-otp.module.d.ts +9 -0
- package/lib/directives/wsl-carousel-item.directive.d.ts +1 -1
- package/lib/directives/wsl-dynamic-component.directive.d.ts +1 -1
- package/lib/directives/wsl-image.directive.d.ts +1 -1
- package/lib/directives/wsl-tooltip.directive.d.ts +1 -1
- package/lib/interfaces/wsl-lang-path-options.interface.d.ts +1 -1
- package/package.json +31 -28
- package/src/assets/css/ng-material.css +1 -1
- package/src/assets/fonts/icomoon/icomoon.svg +24 -24
- package/src/assets/fonts/internal.svg +137 -137
- package/src/assets/styles/styles.scss +99 -99
- package/src/assets/styles/variables.scss +13 -13
- package/src/lib/components/wsl-button/wsl-button.component.scss +88 -88
- package/src/lib/components/wsl-carousel/wsl-carousel.component.scss +256 -256
- package/src/lib/components/wsl-cms/cms-editor/cms-editor-slider/cms-editor-slider.component.scss +37 -37
- package/src/lib/components/wsl-cms/cms-editor/cms-editor.component.scss +24 -24
- package/src/lib/components/wsl-cms/cms-editor/wsl-cms-add-components/wsl-cms-add-components.component.scss +27 -27
- package/src/lib/components/wsl-cms/cms-item/cms-item-options/cms-item-options.component.scss +69 -69
- package/src/lib/components/wsl-cms/cms-item/cms-item.component.scss +165 -165
- package/src/lib/components/wsl-cms/wsl-cms.component.scss +23 -23
- package/src/lib/components/wsl-datetime-picker/wsl-datetime-picker.component.scss +836 -836
- package/src/lib/components/wsl-main-menu/wsl-main-menu.component.scss +212 -212
- package/src/lib/components/wsl-otp/wsl-otp.component.scss +119 -0
- package/src/lib/styles/mixins/_breakpoints.scss +77 -0
- package/src/lib/styles/mixins/_variables.scss +89 -0
- package/esm2020/lib/components/public-api.mjs +0 -37
- package/esm2020/lib/components/wsl-button/wsl-button.component.mjs +0 -36
- package/esm2020/lib/components/wsl-carousel/wsl-carousel.component.mjs +0 -1303
- package/esm2020/lib/components/wsl-carousel/wsl-carousel.module.mjs +0 -19
- package/esm2020/lib/components/wsl-cms/cms-editor/cms-editor-main-menu/cms-editor-main-menu.component.mjs +0 -55
- package/esm2020/lib/components/wsl-cms/cms-editor/cms-editor-slider/cms-editor-slider.component.mjs +0 -128
- package/esm2020/lib/components/wsl-cms/cms-editor/cms-editor.component.mjs +0 -29
- package/esm2020/lib/components/wsl-cms/cms-editor/cms-editor.module.mjs +0 -102
- package/esm2020/lib/components/wsl-cms/cms-editor/wsl-cms-add-components/wsl-cms-add-components.component.mjs +0 -31
- package/esm2020/lib/components/wsl-cms/cms-item/cms-item-options/cms-item-options.component.mjs +0 -46
- package/esm2020/lib/components/wsl-cms/cms-item/cms-item.component.mjs +0 -83
- package/esm2020/lib/components/wsl-cms/wsl-cms.component.mjs +0 -38
- package/esm2020/lib/components/wsl-cms/wsl-cms.mapper.mjs +0 -18
- package/esm2020/lib/components/wsl-cms/wsl-cms.module.mjs +0 -33
- package/esm2020/lib/components/wsl-components.module.mjs +0 -35
- package/esm2020/lib/components/wsl-datetime-picker/wsl-datetime-picker.component.mjs +0 -905
- package/esm2020/lib/components/wsl-datetime-picker/wsl-datetime-picker.module.mjs +0 -36
- package/esm2020/lib/components/wsl-main-menu/wsl-main-menu.component.mjs +0 -14
- package/esm2020/lib/directives/wsl-directives.module.mjs +0 -37
- package/esm2020/lib/directives/wsl-dynamic-component.directive.mjs +0 -33
- package/esm2020/lib/directives/wsl-image.directive.mjs +0 -70
- package/esm2020/lib/directives/wsl-tooltip.directive.mjs +0 -336
- package/esm2020/lib/interfaces/date-format.interface.mjs +0 -7
- package/esm2020/lib/interfaces/wsl-config.interface.mjs +0 -2
- package/esm2020/lib/models/wsl-carousel-config.model.mjs +0 -2
- package/esm2020/lib/models/wsl-cms.model.mjs +0 -10
- package/esm2020/lib/models/wsl-date-formats.mjs +0 -80
- package/esm2020/lib/models/wsl-date-time.model.mjs +0 -63
- package/esm2020/lib/pipes/wsl-currency/wsl-currency.pipe.mjs +0 -193
- package/esm2020/lib/pipes/wsl-lang-path/wsl-lang-path.pipe.mjs +0 -93
- package/esm2020/lib/pipes/wsl-pipes.module.mjs +0 -19
- package/esm2020/lib/services/config/wsl-config.service.mjs +0 -96
- package/esm2020/lib/services/wsl-microfrontend.service.mjs +0 -108
- package/esm2020/lib/services/wsl-services.module.mjs +0 -16
- package/esm2020/lib/wsl-ipls/interfaces/ipls-config.interface.mjs +0 -2
- package/esm2020/lib/wsl-ipls/models/ipls-config-mapper.model.mjs +0 -125
- package/esm2020/lib/wsl-library.module.mjs +0 -53
- package/fesm2015/ng-wsl-library.mjs +0 -4964
- package/fesm2015/ng-wsl-library.mjs.map +0 -1
- package/fesm2020/ng-wsl-library.mjs +0 -4963
- package/fesm2020/ng-wsl-library.mjs.map +0 -1
- package/src/README.md +0 -225
- package/src/lib/components/wsl-carousel/README.md +0 -528
- package/src/lib/components/wsl-datetime-picker/README.md +0 -552
- package/src/lib/directives/README.md +0 -84
- package/src/lib/pipes/wsl-lang-path/README.md +0 -218
- package/src/lib/utils/date-time/README.md +0 -148
- /package/{esm2020 → esm2022}/ng-wsl-library.mjs +0 -0
package/README.md
CHANGED
|
@@ -1,183 +1,223 @@
|
|
|
1
|
-
# WS Library NG
|
|
2
|
-
|
|
3
|
-
Angular component library for Winsys Lottery.
|
|
4
|
-
|
|
5
|
-
## Installation
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
npm install ng-wsl-library
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Available Components
|
|
12
|
-
|
|
13
|
-
### WslButtonComponent
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
- `
|
|
34
|
-
- `
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
###
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
-
|
|
143
|
-
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
1
|
+
# WS Library NG
|
|
2
|
+
|
|
3
|
+
Angular component library for Winsys Lottery.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install ng-wsl-library
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Available Components
|
|
12
|
+
|
|
13
|
+
### WslButtonComponent
|
|
14
|
+
|
|
15
|
+
Custom button with multiple variants and sizes, featuring self-contained styling.
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
// Basic usage
|
|
19
|
+
<wsl-button>Click me</wsl-button>
|
|
20
|
+
|
|
21
|
+
// With variant and size
|
|
22
|
+
<wsl-button variant="success" size="large">Save</wsl-button>
|
|
23
|
+
|
|
24
|
+
// Disabled
|
|
25
|
+
<wsl-button [disabled]="true">Not available</wsl-button>
|
|
26
|
+
|
|
27
|
+
// With click event
|
|
28
|
+
<wsl-button (click)="onButtonClick($event)">Click me</wsl-button>
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Properties:
|
|
32
|
+
|
|
33
|
+
- `type`: 'button' | 'submit' | 'reset' (default: 'button')
|
|
34
|
+
- `disabled`: boolean (default: false)
|
|
35
|
+
- `variant`: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' (default: 'primary')
|
|
36
|
+
- `size`: 'small' | 'medium' | 'large' (default: 'medium')
|
|
37
|
+
|
|
38
|
+
### WslDatetimePickerComponent
|
|
39
|
+
|
|
40
|
+
Powerful and flexible datetime picker component with extensive customization options and self-contained styling.
|
|
41
|
+
|
|
42
|
+
Features calendar state events, proper ngModelChange handling, flexible time steps, and organized constants for date formats and time steps.
|
|
43
|
+
|
|
44
|
+
📖 [View detailed documentation](src/lib/components/wsl-datetime-picker/README.md)
|
|
45
|
+
|
|
46
|
+
### WslCarouselComponent
|
|
47
|
+
|
|
48
|
+
High-performance carousel component for displaying scrollable content with self-contained styling.
|
|
49
|
+
|
|
50
|
+
📖 [View detailed documentation](src/lib/components/wsl-carousel/README.md)
|
|
51
|
+
|
|
52
|
+
### WslBannerSliderComponent
|
|
53
|
+
|
|
54
|
+
Specialized component for displaying banners in carousel format.
|
|
55
|
+
|
|
56
|
+
### WslCustomComponent
|
|
57
|
+
|
|
58
|
+
Customizable component for specific use cases.
|
|
59
|
+
|
|
60
|
+
### WslFooterComponent
|
|
61
|
+
|
|
62
|
+
Footer component.
|
|
63
|
+
|
|
64
|
+
### WslOtpComponent
|
|
65
|
+
|
|
66
|
+
One-Time Password (OTP) input component with multiple features such as autofill, timer, and responsive design.
|
|
67
|
+
|
|
68
|
+
```html
|
|
69
|
+
<wsl-otp [size]="4" [autocomplete]="true" (valueChange)="onOtpChange($event)"></wsl-otp>
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Properties:
|
|
73
|
+
|
|
74
|
+
- `size`: number (default: 4) - Number of input fields.
|
|
75
|
+
- `disabled`: boolean (default: false) - Disables all inputs.
|
|
76
|
+
- `timerDuration`: number (default: 0) - Duration in seconds for the countdown timer.
|
|
77
|
+
- `showTimer`: boolean (default: false) - Whether to show the timer.
|
|
78
|
+
- `timerLabel`: string (default: '') - Label shown before the timer.
|
|
79
|
+
- `hasError`: boolean (default: false) - Applies error styling.
|
|
80
|
+
- `maxResends`: number | null (default: null) - Maximum number of allowed resends.
|
|
81
|
+
- `limitReachedMessage`: string (default: '') - Message shown when resend limit is reached.
|
|
82
|
+
- `expiredMessage`: string (default: '') - Message shown when timer expires.
|
|
83
|
+
- `resendButtonText`: string (default: 'Resend Code') - Text for the resend button.
|
|
84
|
+
|
|
85
|
+
Events:
|
|
86
|
+
|
|
87
|
+
- `valueChange`: Emits the full OTP string whenever it changes.
|
|
88
|
+
- `resendCode`: Emitted when the resend button is clicked.
|
|
89
|
+
- `timerFinished`: Emitted when the countdown timer reaches zero.
|
|
90
|
+
- `resendLimitReached`: Emitted when the maximum number of resends is reached.
|
|
91
|
+
|
|
92
|
+
### WslHeaderComponent
|
|
93
|
+
|
|
94
|
+
Header component.
|
|
95
|
+
|
|
96
|
+
### WslMainMenuComponent
|
|
97
|
+
|
|
98
|
+
Main menu component.
|
|
99
|
+
|
|
100
|
+
## Available Services
|
|
101
|
+
|
|
102
|
+
### WslCmsService
|
|
103
|
+
|
|
104
|
+
Service for managing CMS content.
|
|
105
|
+
|
|
106
|
+
```typescript
|
|
107
|
+
import { WslCmsService } from 'ng-wsl-library';
|
|
108
|
+
|
|
109
|
+
constructor(private wslCmsService: WslCmsService) {}
|
|
110
|
+
|
|
111
|
+
// Get available components
|
|
112
|
+
const availableComponents = this.wslCmsService.getAvalaiableComponents();
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
## Available Directives
|
|
116
|
+
|
|
117
|
+
### WslCmsItemDirective
|
|
118
|
+
|
|
119
|
+
Directive for handling CMS items.
|
|
120
|
+
|
|
121
|
+
## Integration in an Angular Project
|
|
122
|
+
|
|
123
|
+
1. Import the module in your `app.module.ts`:
|
|
124
|
+
|
|
125
|
+
```typescript
|
|
126
|
+
import { WslComponentsModule } from "ng-wsl-library";
|
|
127
|
+
|
|
128
|
+
@NgModule({
|
|
129
|
+
imports: [
|
|
130
|
+
WslComponentsModule,
|
|
131
|
+
// ... other modules
|
|
132
|
+
],
|
|
133
|
+
// ...
|
|
134
|
+
})
|
|
135
|
+
export class AppModule {}
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
2. Use the components in your templates:
|
|
139
|
+
|
|
140
|
+
```html
|
|
141
|
+
<wsl-button variant="primary">My Button</wsl-button>
|
|
142
|
+
<wsl-datetime-picker [(ngModel)]="selectedDate"></wsl-datetime-picker>
|
|
143
|
+
<wsl-carousel>
|
|
144
|
+
<!-- Carousel content -->
|
|
145
|
+
</wsl-carousel>
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
## Styling
|
|
149
|
+
|
|
150
|
+
The library includes its own **self-contained styles** and does not require any external CSS frameworks. All components come with modern, responsive styling out of the box.
|
|
151
|
+
|
|
152
|
+
If you need to include the component styles in your build, add them to your `angular.json`:
|
|
153
|
+
|
|
154
|
+
```json
|
|
155
|
+
{
|
|
156
|
+
"styles": [
|
|
157
|
+
"node_modules/ng-wsl-library/dist/ng-wsl-library.css"
|
|
158
|
+
// ... other styles
|
|
159
|
+
]
|
|
160
|
+
}
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
### Custom Styling
|
|
164
|
+
|
|
165
|
+
You can override component styles using CSS custom properties or by targeting component CSS classes:
|
|
166
|
+
|
|
167
|
+
```css
|
|
168
|
+
wsl-datetime-picker {
|
|
169
|
+
--input-border-color: #007bff;
|
|
170
|
+
--input-focus-border-color: #86b7fe;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
wsl-button {
|
|
174
|
+
--button-primary-bg: #28a745;
|
|
175
|
+
--button-primary-border: #28a745;
|
|
176
|
+
}
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
## Requirements
|
|
180
|
+
|
|
181
|
+
- Angular 14.0.0 or higher
|
|
182
|
+
- Node.js 14.0.0 or higher
|
|
183
|
+
- npm 6.0.0 or higher
|
|
184
|
+
|
|
185
|
+
## Current Dependencies
|
|
186
|
+
|
|
187
|
+
This library uses the following dependencies:
|
|
188
|
+
|
|
189
|
+
- @angular/material
|
|
190
|
+
- @angular/cdk
|
|
191
|
+
- ngx-file-drop
|
|
192
|
+
- single-spa (for microfrontend support)
|
|
193
|
+
- lodash
|
|
194
|
+
|
|
195
|
+
## Support
|
|
196
|
+
|
|
197
|
+
To report issues or request new features, please create an issue in the repository.
|
|
198
|
+
|
|
199
|
+
## License
|
|
200
|
+
|
|
201
|
+
MIT
|
|
202
|
+
|
|
203
|
+
## Available Utilities
|
|
204
|
+
|
|
205
|
+
### WslDateTimeUtils
|
|
206
|
+
|
|
207
|
+
Convenient helper functions for working with dates and times in WSL format structures.
|
|
208
|
+
|
|
209
|
+
```typescript
|
|
210
|
+
import { WslDateTimeUtils } from "ng-wsl-library";
|
|
211
|
+
|
|
212
|
+
// Get current date/time values
|
|
213
|
+
const currentDate = WslDateTimeUtils.getCurrentDate();
|
|
214
|
+
const currentTime = WslDateTimeUtils.getCurrentTime();
|
|
215
|
+
const currentDateTime = WslDateTimeUtils.getCurrentDateTime();
|
|
216
|
+
|
|
217
|
+
// Convert JavaScript Date objects
|
|
218
|
+
const jsDate = new Date();
|
|
219
|
+
const wslDate = WslDateTimeUtils.getWslDate(jsDate);
|
|
220
|
+
const wslTime = WslDateTimeUtils.getWslTime(jsDate);
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
📖 [View detailed documentation](src/lib/utils/date-time/README.md)
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Public API Surface of ng-wsl-library
|
|
3
|
+
*/
|
|
4
|
+
// Módulos principales
|
|
5
|
+
export * from './wsl-components.module';
|
|
6
|
+
export * from './wsl-cms/wsl-cms.module';
|
|
7
|
+
export * from './wsl-cms/cms-editor/cms-editor.module';
|
|
8
|
+
export * from './wsl-carousel/wsl-carousel.module';
|
|
9
|
+
export * from './wsl-datetime-picker/wsl-datetime-picker.module';
|
|
10
|
+
export * from './wsl-otp/wsl-otp.module';
|
|
11
|
+
// Componentes principales
|
|
12
|
+
export * from './wsl-button/wsl-button.component';
|
|
13
|
+
export * from './wsl-header/wsl-header.component';
|
|
14
|
+
export * from './wsl-carousel/wsl-carousel.component';
|
|
15
|
+
export * from './wsl-datetime-picker/wsl-datetime-picker.component';
|
|
16
|
+
export * from './wsl-otp/wsl-otp.component';
|
|
17
|
+
// Componentes CMS
|
|
18
|
+
export * from './wsl-cms/wsl-cms.component';
|
|
19
|
+
export * from './wsl-cms/cms-item/cms-item.component';
|
|
20
|
+
export * from './wsl-cms/cms-item/cms-item-options/cms-item-options.component';
|
|
21
|
+
export * from './wsl-cms/cms-editor/cms-editor.component';
|
|
22
|
+
export * from './wsl-cms/cms-editor/cms-editor-main-menu/cms-editor-main-menu.component';
|
|
23
|
+
export * from './wsl-cms/cms-editor/wsl-cms-add-components/wsl-cms-add-components.component';
|
|
24
|
+
export * from './wsl-cms/cms-editor/cms-editor-slider/cms-editor-slider.component';
|
|
25
|
+
/* xport * from './wsl-footer/wsl-footer.component';
|
|
26
|
+
export * from './wsl-custom/wsl-custom.component';
|
|
27
|
+
export * from './wsl-main-menu/wsl-main-menu.component';
|
|
28
|
+
export * from './wsl-banner-slider/wsl-banner-slider.component'
|
|
29
|
+
export * from './wsl-cms/cms-editor/cms-editor.component';
|
|
30
|
+
export * from './wsl-cms/cms-item/cms-item.component'
|
|
31
|
+
export * from './wsl-cms/cms-editor/wsl-cms-add-components/wsl-cms-add-components.component';
|
|
32
|
+
export * from './wsl-cms/cms-editor/cms-editor.component'
|
|
33
|
+
export * from './wsl-cms/cms-item/cms-item-options/cms-item-options.component'
|
|
34
|
+
export * from './wsl-cms/cms-editor/cms-editor-slider/cms-editor-slider.component'
|
|
35
|
+
|
|
36
|
+
export * from './wsl-cms/wsl-cms.module';
|
|
37
|
+
export * from './wsl-cms/cms-editor/cms-editor.module';
|
|
38
|
+
export * from './wsl-cms/cms-editor/cms-editor-main-menu/cms-editor-main-menu.component'; */
|
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25nLXdzbC1saWJyYXJ5L3NyYy9saWIvY29tcG9uZW50cy9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsc0JBQXNCO0FBQ3RCLGNBQWMseUJBQXlCLENBQUM7QUFDeEMsY0FBYywwQkFBMEIsQ0FBQztBQUN6QyxjQUFjLHdDQUF3QyxDQUFDO0FBQ3ZELGNBQWMsb0NBQW9DLENBQUM7QUFDbkQsY0FBYyxrREFBa0QsQ0FBQztBQUNqRSxjQUFjLDBCQUEwQixDQUFDO0FBRXpDLDBCQUEwQjtBQUMxQixjQUFjLG1DQUFtQyxDQUFDO0FBQ2xELGNBQWMsbUNBQW1DLENBQUM7QUFDbEQsY0FBYyx1Q0FBdUMsQ0FBQztBQUN0RCxjQUFjLHFEQUFxRCxDQUFDO0FBQ3BFLGNBQWMsNkJBQTZCLENBQUM7QUFFNUMsa0JBQWtCO0FBQ2xCLGNBQWMsNkJBQTZCLENBQUM7QUFDNUMsY0FBYyx1Q0FBdUMsQ0FBQztBQUN0RCxjQUFjLGdFQUFnRSxDQUFDO0FBQy9FLGNBQWMsMkNBQTJDLENBQUM7QUFDMUQsY0FBYywwRUFBMEUsQ0FBQztBQUN6RixjQUFjLDhFQUE4RSxDQUFDO0FBQzdGLGNBQWM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ZnJvbSAnLi93c2wtY21zL2Ntcy1pdGVtL2Ntcy1pdGVtLmNvbXBvbmVudCdcclxuZXhwb3J0ICogZnJvbSAnLi93c2wtY21zL2Ntcy1lZGl0b3Ivd3NsLWNtcy1hZGQtY29tcG9uZW50cy93c2wtY21zLWFkZC1jb21wb25lbnRzLmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vd3NsLWNtcy9jbXMtZWRpdG9yL2Ntcy1lZGl0b3IuY29tcG9uZW50J1xyXG5leHBvcnQgKiBmcm9tICcuL3dzbC1jbXMvY21zLWl0ZW0vY21zLWl0ZW0tb3B0aW9ucy9jbXMtaXRlbS1vcHRpb25zLmNvbXBvbmVudCdcclxuZXhwb3J0ICogZnJvbSAnLi93c2wtY21zL2Ntcy1lZGl0b3IvY21zLWVkaXRvci1zbGlkZXIvY21zLWVkaXRvci1zbGlkZXIuY29tcG9uZW50J1xyXG5cclxuZXhwb3J0ICogZnJvbSAnLi93c2wtY21zL3dzbC1jbXMubW9kdWxlJztcclxuZXhwb3J0ICogZnJvbSAnLi93c2wtY21zL2Ntcy1lZGl0b3IvY21zLWVkaXRvci5tb2R1bGUnO1xyXG5leHBvcnQgKiBmcm9tICcuL3dzbC1jbXMvY21zLWVkaXRvci9jbXMtZWRpdG9yLW1haW4tbWVudS9jbXMtZWRpdG9yLW1haW4tbWVudS5jb21wb25lbnQnOyAgKi9cclxuIl19
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Component, Input, Output, EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class WslButtonComponent {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.type = 'button';
|
|
6
|
+
this.disabled = false;
|
|
7
|
+
this.variant = 'primary';
|
|
8
|
+
this.size = 'medium';
|
|
9
|
+
this.click = new EventEmitter();
|
|
10
|
+
}
|
|
11
|
+
get buttonClasses() {
|
|
12
|
+
return `wsl-button wsl-button--${this.variant} wsl-button--${this.size}`;
|
|
13
|
+
}
|
|
14
|
+
onClick(event) {
|
|
15
|
+
if (!this.disabled) {
|
|
16
|
+
this.click.emit(event);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WslButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
20
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: WslButtonComponent, selector: "wsl-button", inputs: { type: "type", disabled: "disabled", variant: "variant", size: "size" }, outputs: { click: "click" }, ngImport: i0, template: "<button \r\n class=\"{{buttonClasses}}\" \r\n [type]=\"type\" \r\n [disabled]=\"disabled\"\r\n (click)=\"onClick($event)\">\r\n <ng-content></ng-content>\r\n</button>", styles: [".wsl-button{padding:8px 16px;border:none;border-radius:4px;cursor:pointer;font-size:14px;transition:all .2s ease-in-out;display:inline-flex;align-items:center;justify-content:center;gap:8px}.wsl-button:disabled{opacity:.6;cursor:not-allowed}.wsl-button--primary{background-color:#007bff;color:#fff}.wsl-button--primary:hover:not(:disabled){background-color:#0056b3}.wsl-button--secondary{background-color:#6c757d;color:#fff}.wsl-button--secondary:hover:not(:disabled){background-color:#545b62}.wsl-button--success{background-color:#28a745;color:#fff}.wsl-button--success:hover:not(:disabled){background-color:#218838}.wsl-button--danger{background-color:#dc3545;color:#fff}.wsl-button--danger:hover:not(:disabled){background-color:#c82333}.wsl-button--warning{background-color:#ffc107;color:#212529}.wsl-button--warning:hover:not(:disabled){background-color:#e0a800}.wsl-button--info{background-color:#17a2b8;color:#fff}.wsl-button--info:hover:not(:disabled){background-color:#138496}.wsl-button--small{padding:4px 8px;font-size:12px}.wsl-button--medium{padding:8px 16px;font-size:14px}.wsl-button--large{padding:12px 24px;font-size:16px}\n"] }); }
|
|
21
|
+
}
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WslButtonComponent, decorators: [{
|
|
23
|
+
type: Component,
|
|
24
|
+
args: [{ selector: 'wsl-button', template: "<button \r\n class=\"{{buttonClasses}}\" \r\n [type]=\"type\" \r\n [disabled]=\"disabled\"\r\n (click)=\"onClick($event)\">\r\n <ng-content></ng-content>\r\n</button>", styles: [".wsl-button{padding:8px 16px;border:none;border-radius:4px;cursor:pointer;font-size:14px;transition:all .2s ease-in-out;display:inline-flex;align-items:center;justify-content:center;gap:8px}.wsl-button:disabled{opacity:.6;cursor:not-allowed}.wsl-button--primary{background-color:#007bff;color:#fff}.wsl-button--primary:hover:not(:disabled){background-color:#0056b3}.wsl-button--secondary{background-color:#6c757d;color:#fff}.wsl-button--secondary:hover:not(:disabled){background-color:#545b62}.wsl-button--success{background-color:#28a745;color:#fff}.wsl-button--success:hover:not(:disabled){background-color:#218838}.wsl-button--danger{background-color:#dc3545;color:#fff}.wsl-button--danger:hover:not(:disabled){background-color:#c82333}.wsl-button--warning{background-color:#ffc107;color:#212529}.wsl-button--warning:hover:not(:disabled){background-color:#e0a800}.wsl-button--info{background-color:#17a2b8;color:#fff}.wsl-button--info:hover:not(:disabled){background-color:#138496}.wsl-button--small{padding:4px 8px;font-size:12px}.wsl-button--medium{padding:8px 16px;font-size:14px}.wsl-button--large{padding:12px 24px;font-size:16px}\n"] }]
|
|
25
|
+
}], propDecorators: { type: [{
|
|
26
|
+
type: Input
|
|
27
|
+
}], disabled: [{
|
|
28
|
+
type: Input
|
|
29
|
+
}], variant: [{
|
|
30
|
+
type: Input
|
|
31
|
+
}], size: [{
|
|
32
|
+
type: Input
|
|
33
|
+
}], click: [{
|
|
34
|
+
type: Output
|
|
35
|
+
}] } });
|
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3NsLWJ1dHRvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9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c2VFdmVudCk6IHZvaWQge1xyXG4gICAgaWYgKCF0aGlzLmRpc2FibGVkKSB7XHJcbiAgICAgIHRoaXMuY2xpY2suZW1pdChldmVudCk7XHJcbiAgICB9XHJcbiAgfVxyXG59XHJcbiIsIjxidXR0b24gXHJcbiAgY2xhc3M9XCJ7e2J1dHRvbkNsYXNzZXN9fVwiIFxyXG4gIFt0eXBlXT1cInR5cGVcIiBcclxuICBbZGlzYWJsZWRdPVwiZGlzYWJsZWRcIlxyXG4gIChjbGljayk9XCJvbkNsaWNrKCRldmVudClcIj5cclxuICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XHJcbjwvYnV0dG9uPiJdfQ==
|
|
@@ -2,4 +2,4 @@ export * from './wsl-carousel.component';
|
|
|
2
2
|
export * from '../../directives/wsl-carousel-item.directive';
|
|
3
3
|
export * from './wsl-carousel.module';
|
|
4
4
|
export * from '../../models/wsl-carousel-config.model';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZy13c2wtbGlicmFyeS9zcmMvbGliL2NvbXBvbmVudHMvd3NsLWNhcm91c2VsL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsMEJBQTBCLENBQUM7QUFDekMsY0FBYyw4Q0FBOEMsQ0FBQztBQUM3RCxjQUFjLHVCQUF1QixDQUFDO0FBQ3RDLGNBQWMsd0NBQXdDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3dzbC1jYXJvdXNlbC5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuLi8uLi9kaXJlY3RpdmVzL3dzbC1jYXJvdXNlbC1pdGVtLmRpcmVjdGl2ZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vd3NsLWNhcm91c2VsLm1vZHVsZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4uLy4uL21vZGVscy93c2wtY2Fyb3VzZWwtY29uZmlnLm1vZGVsJztcclxuIl19
|