@sixbell-telco/sdk 0.7.0 → 0.7.2
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/CHANGELOG.md +64 -25
- package/README.md +345 -65
- package/components/audio-player/src/audio-player.component.d.ts +1 -2
- package/components/countdown/src/countdown.component.d.ts +1 -5
- package/components/dual-list/src/dual-list.component.d.ts +2 -3
- package/components/forms/combobox/src/combobox.component.d.ts +1 -1
- package/components/forms/form-error/src/form-error.component.d.ts +1 -8
- package/components/forms/select/src/select.component.d.ts +3 -1
- package/components/icon/src/icon.component.d.ts +2 -2
- package/components/modal/src/modal.component.d.ts +72 -4
- package/components/product-card/src/product-card.component.d.ts +1 -2
- package/components/table/src/table.component.d.ts +136 -5
- package/components/table/table-header-checkbox/table-header-checkbox.component.d.ts +42 -0
- package/components/table/table-row-checkbox/table-row-checkbox.component.d.ts +46 -0
- package/components/wizard/wizard-marker/wizard-marker.component.d.ts +10 -2
- package/directives/typography/src/typography.directive.d.ts +47 -1
- package/esm2022/components/audio-player/audio-timeline/audio-timeline.component.mjs +3 -3
- package/esm2022/components/audio-player/button-play/button-play.component.mjs +5 -5
- package/esm2022/components/audio-player/src/audio-player.component.mjs +5 -4
- package/esm2022/components/audio-player/track-info/track-info.component.mjs +4 -3
- package/esm2022/components/avatar/src/avatar.component.mjs +3 -3
- package/esm2022/components/badge/src/badge.component.mjs +6 -5
- package/esm2022/components/button/src/button.component.mjs +6 -6
- package/esm2022/components/countdown/src/countdown.component.mjs +4 -7
- package/esm2022/components/dropdown/src/dropdown.component.mjs +6 -6
- package/esm2022/components/dual-list/src/dual-list.component.mjs +15 -5
- package/esm2022/components/file-upload/file-dropzone/src/file-dropzone.component.mjs +10 -8
- package/esm2022/components/file-upload/file-uploader/src/file-uploader.component.mjs +4 -3
- package/esm2022/components/forms/combobox/src/combobox.component.mjs +6 -5
- package/esm2022/components/forms/form-error/src/form-error.component.mjs +4 -11
- package/esm2022/components/forms/input/src/input.component.mjs +12 -11
- package/esm2022/components/forms/select/src/select.component.mjs +9 -7
- package/esm2022/components/forms/textarea/src/textarea.component.mjs +9 -8
- package/esm2022/components/forms/toggle/src/toggle.component.mjs +31 -31
- package/esm2022/components/icon/src/icon.component.mjs +5 -4
- package/esm2022/components/link/src/link.component.mjs +2 -2
- package/esm2022/components/modal/src/modal.component.mjs +79 -6
- package/esm2022/components/product-card/src/product-card.component.mjs +4 -7
- package/esm2022/components/tab/src/tab.component.mjs +5 -5
- package/esm2022/components/table/src/table.component.mjs +157 -17
- package/esm2022/components/table/table-header-checkbox/table-header-checkbox.component.mjs +43 -1
- package/esm2022/components/table/table-row-checkbox/table-row-checkbox.component.mjs +47 -1
- package/esm2022/components/tooltip/src/tooltip.component.mjs +2 -2
- package/esm2022/components/wizard/wizard-marker/wizard-marker.component.mjs +22 -3
- package/esm2022/components/wizard/wizard-wrapper/wizard-wrapper.component.mjs +4 -3
- package/esm2022/directives/typography/src/typography.directive.mjs +63 -13
- package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs +12 -11
- package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-avatar.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-avatar.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-badge.mjs +5 -4
- package/fesm2022/sixbell-telco-sdk-components-badge.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-button.mjs +5 -5
- package/fesm2022/sixbell-telco-sdk-components-button.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-countdown.mjs +3 -6
- package/fesm2022/sixbell-telco-sdk-components-countdown.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs +5 -5
- package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs +14 -4
- package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-file-upload-file-dropzone.mjs +9 -7
- package/fesm2022/sixbell-telco-sdk-components-file-upload-file-dropzone.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-file-upload-file-uploader.mjs +3 -2
- package/fesm2022/sixbell-telco-sdk-components-file-upload-file-uploader.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs +5 -4
- package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs +3 -10
- package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs +11 -10
- package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs +8 -6
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs +8 -7
- package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs +30 -30
- package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-icon.mjs +4 -3
- package/fesm2022/sixbell-telco-sdk-components-icon.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-link.mjs +1 -1
- package/fesm2022/sixbell-telco-sdk-components-link.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-modal.mjs +78 -5
- package/fesm2022/sixbell-telco-sdk-components-modal.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-product-card.mjs +3 -6
- package/fesm2022/sixbell-telco-sdk-components-product-card.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-tab.mjs +4 -4
- package/fesm2022/sixbell-telco-sdk-components-tab.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-table.mjs +244 -16
- package/fesm2022/sixbell-telco-sdk-components-table.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs +1 -1
- package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-wizard.mjs +23 -4
- package/fesm2022/sixbell-telco-sdk-components-wizard.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-directives-typography.mjs +62 -12
- package/fesm2022/sixbell-telco-sdk-directives-typography.mjs.map +1 -1
- package/package.json +68 -68
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
9
9
|
|
|
10
10
|
### Added
|
|
11
11
|
|
|
12
|
+
- **Table Component**: Enhance with comprehensive documentation and internal type definitions (4384daad)
|
|
13
|
+
- **Table Row Checkbox**: Add detailed documentation and input definitions (823cf4af)
|
|
14
|
+
- **Table Header Checkbox**: Add comprehensive documentation (58ae95b)
|
|
15
|
+
- **Typography Directive**: Enhance with detailed documentation and additional text overflow handling (14f1df13)
|
|
16
|
+
- **Modal Component**: Add detailed documentation and type definitions for component properties (68a3ac9)
|
|
12
17
|
- **Tooltip Component**: Add inline-flex and items-center classes for improved alignment
|
|
13
18
|
- **Icon Component**: Added icon component (`528b633`)
|
|
14
19
|
- **Showcase Page**: Set up showcase page for app component (`528b633`)
|
|
@@ -100,17 +105,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
100
105
|
- **Showcase**: Add multiple input variants with disabled state example (`a960358`)
|
|
101
106
|
- **Audio Player**: Implemented audio player service with track management and playback controls (`9b2c680`)
|
|
102
107
|
- **File Uploader Component**:
|
|
103
|
-
- Add setup instructions and example JSON files for multiple languages
|
|
104
|
-
- Enhance file dropzone with audio player controls and tooltips
|
|
105
|
-
- Add multi-language support for English, Spanish, and Portuguese translations
|
|
108
|
+
- Add setup instructions and example JSON files for multiple languages
|
|
109
|
+
- Enhance file dropzone with audio player controls and tooltips
|
|
110
|
+
- Add multi-language support for English, Spanish, and Portuguese translations
|
|
106
111
|
- **Audio Player Component**:
|
|
107
|
-
- Add method to check if track is currently playing
|
|
108
|
-
- Add method to retrieve authenticated audio URLs
|
|
109
|
-
- Implement track management functionality
|
|
110
|
-
- Add play button styling with gradient background and hover effects
|
|
112
|
+
- Add method to check if track is currently playing
|
|
113
|
+
- Add method to retrieve authenticated audio URLs
|
|
114
|
+
- Implement track management functionality
|
|
115
|
+
- Add play button styling with gradient background and hover effects
|
|
116
|
+
- **Typography**: Added 'body-xxs' size for improved text scaling
|
|
117
|
+
- **Alignment**: Added 'align-top' class to improve vertical alignment in:
|
|
118
|
+
- Tooltip component
|
|
119
|
+
- Avatar component
|
|
120
|
+
- Link component
|
|
121
|
+
- Button component
|
|
111
122
|
|
|
112
123
|
### Fixed
|
|
113
124
|
|
|
125
|
+
- **Table Layout**: Add padding to the empty state container for improved layout (3d5c6b75)
|
|
114
126
|
- **Link Component**: Fixed styling issues for button variants (`d56cdf4`)
|
|
115
127
|
- **Form Errors**: Handle case where errors are null (`fdfbe1c`)
|
|
116
128
|
- **Changelog**: Fix types, update sections, and remove unnecessary sections (`4715ded`)
|
|
@@ -153,9 +165,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
153
165
|
- **Wizard Sub-Step Component**: Remove @ngx-translate/core dependency from tests (`4006327`)
|
|
154
166
|
- **File Uploader**: Removed shape property and related logic for simplification (`894638d`)
|
|
155
167
|
- **Tab**: Removed unused classes property for simplification (`6aee6e9`)
|
|
168
|
+
- **Code Cleanup**:
|
|
169
|
+
- Removed console log from wizard-marker component
|
|
170
|
+
- Eliminated commented-out code from input component
|
|
171
|
+
- Removed redundant font class from button component
|
|
156
172
|
|
|
157
173
|
### Changed
|
|
158
174
|
|
|
175
|
+
- **Showcase**: Upgrade table showcase section (4c02afa4)
|
|
176
|
+
- **Typography Directive**: Update directive scale to minor second for improved readability and consistency
|
|
177
|
+
- **Modal Component**:
|
|
178
|
+
- Update default width from 'fit' to 'lg' (cc95896)
|
|
179
|
+
- Enhance component with additional width variants (b5db589)
|
|
159
180
|
- **Changelog**: Updated documentation in changelog.md (`528b633`)
|
|
160
181
|
- **Readme**: Updated documentation in README (`528b633`)
|
|
161
182
|
- **VScode Settings**: Updated VSCode settings (`528b633`)
|
|
@@ -381,27 +402,45 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
381
402
|
- Enhance click handling and emit onClose event (`5a4c688`)
|
|
382
403
|
- **Showcase**: Update typography in button section (`829a6f1`)
|
|
383
404
|
- **Audio Player**:
|
|
384
|
-
- Update audio player implementation with dynamic track handling and new table layout (`30fc483`)
|
|
385
|
-
- Enhance track info layout with improved styling and overflow handling (`c16ea02`)
|
|
386
|
-
- Simplify track list rendering and add dynamic title (`08f3261`)
|
|
387
|
-
- Remove unused progress and duration variables for cleaner template (`72a4d0e`)
|
|
388
|
-
- Export audio service for improved component integration (`039059c`)
|
|
389
|
-
- Integrate audio service for track management and simplify component logic (`8f2d608`)
|
|
390
|
-
- Replace direct volume manipulation with audio service integration (`addd3ed`)
|
|
391
|
-
- Integrate audio service for play state management and update icon rendering (`214f58c`)
|
|
392
|
-
- Simplify progress and duration calculations using audio service (`f519558`)
|
|
405
|
+
- Update audio player implementation with dynamic track handling and new table layout (`30fc483`)
|
|
406
|
+
- Enhance track info layout with improved styling and overflow handling (`c16ea02`)
|
|
407
|
+
- Simplify track list rendering and add dynamic title (`08f3261`)
|
|
408
|
+
- Remove unused progress and duration variables for cleaner template (`72a4d0e`)
|
|
409
|
+
- Export audio service for improved component integration (`039059c`)
|
|
410
|
+
- Integrate audio service for track management and simplify component logic (`8f2d608`)
|
|
411
|
+
- Replace direct volume manipulation with audio service integration (`addd3ed`)
|
|
412
|
+
- Integrate audio service for play state management and update icon rendering (`214f58c`)
|
|
413
|
+
- Simplify progress and duration calculations using audio service (`f519558`)
|
|
393
414
|
- **App Config**: Add HttpClient provider for enhanced HTTP capabilities (`0e0c63f`)
|
|
394
415
|
- **Audio Player**: Replace audioService with audioPlayerService for improved service integration and cleanup (`75660a9`)
|
|
395
416
|
- **Audio Service**: Enhance audio track handling with authenticated URL retrieval and cleanup method (`1c9870d`)
|
|
396
417
|
- **Tailwind**: Update primary color scheme and add primary gradient variable
|
|
397
418
|
- **Audio Player**:
|
|
398
|
-
- Update audio player implementation with dynamic track handling
|
|
399
|
-
- Enhance track info layout with improved styling
|
|
400
|
-
- Simplify track list rendering with dynamic titles
|
|
401
|
-
- Integrate audio service for improved track management
|
|
402
|
-
- Update track icon styling with new gradient class
|
|
419
|
+
- Update audio player implementation with dynamic track handling
|
|
420
|
+
- Enhance track info layout with improved styling
|
|
421
|
+
- Simplify track list rendering with dynamic titles
|
|
422
|
+
- Integrate audio service for improved track management
|
|
423
|
+
- Update track icon styling with new gradient class
|
|
403
424
|
- **File Uploader**:
|
|
404
|
-
- Update typography for uploader headings
|
|
405
|
-
- Restructure dropzone forms for improved user experience
|
|
406
|
-
- Integrate form control support
|
|
407
|
-
- Enhance file input handling
|
|
425
|
+
- Update typography for uploader headings
|
|
426
|
+
- Restructure dropzone forms for improved user experience
|
|
427
|
+
- Integrate form control support
|
|
428
|
+
- Enhance file input handling
|
|
429
|
+
- **Component Styling**:
|
|
430
|
+
- **Text and Typography**:
|
|
431
|
+
- Updated badge text sizes for improved readability and scaling
|
|
432
|
+
- Enhanced textarea text sizes for better readability
|
|
433
|
+
- Adjusted select text sizes for improved scaling
|
|
434
|
+
- Modified input text sizes for better scaling
|
|
435
|
+
- Updated audio-timeline text size to 'body-xxs'
|
|
436
|
+
- Refined table paginator text size
|
|
437
|
+
- **Layout and Structure**:
|
|
438
|
+
- Enhanced card layout and spacing
|
|
439
|
+
- Updated icon color variants
|
|
440
|
+
- Modified tab sizes and text styles
|
|
441
|
+
- Improved dropdown button sizes and text styles
|
|
442
|
+
- Streamlined file-dropzone button structure
|
|
443
|
+
- **Width and Alignment**:
|
|
444
|
+
- Enhanced input component's full width handling
|
|
445
|
+
- Improved vertical alignment across multiple components
|
|
446
|
+
- **Tailwind**: Added custom sizes for buttons, inputs, and selects
|
package/README.md
CHANGED
|
@@ -92,16 +92,11 @@ npm i -D @sixbell-telco/sdk @tailwindcss/typography daisyui @midudev/tailwind-an
|
|
|
92
92
|
// const plugin = require('tailwindcss/plugin');
|
|
93
93
|
|
|
94
94
|
module.exports = {
|
|
95
|
-
content: [
|
|
96
|
-
'./src/**/*.{html,ts}',
|
|
97
|
-
'./projects/showcase/**/*.{html,ts}',
|
|
98
|
-
'./projects/sdk/**/*.{html,ts}',
|
|
99
|
-
'./dist/sdk/**/*.{html,ts}',
|
|
100
|
-
'./node_modules/sdk/**/*.{html,ts}',
|
|
101
|
-
],
|
|
95
|
+
content: ['./src/**/*.{html,ts}', './node_modules/@sixbell-telco/sdk/**/*.{html,ts,js,mjs}'],
|
|
102
96
|
theme: {
|
|
103
97
|
extend: {
|
|
104
98
|
colors: {
|
|
99
|
+
'primary-gradient': 'rgba(var(--primary-gradient), <alpha-value>)',
|
|
105
100
|
tertiary: 'rgba(var(--tertiary), <alpha-value>)',
|
|
106
101
|
'tertiary-content': 'rgba(var(--tertiary-content), <alpha-value>)',
|
|
107
102
|
'neutral-secondary': 'rgba(var(--neutral-secondary), <alpha-value>)',
|
|
@@ -151,8 +146,8 @@ module.exports = {
|
|
|
151
146
|
{
|
|
152
147
|
vivid_elegance_light: {
|
|
153
148
|
// Daisy UI theme variables
|
|
154
|
-
primary: '#
|
|
155
|
-
'primary-content': '#
|
|
149
|
+
primary: '#15A1C1',
|
|
150
|
+
'primary-content': '#ffffff',
|
|
156
151
|
secondary: '#D0D3D7',
|
|
157
152
|
'secondary-content': '#080809',
|
|
158
153
|
accent: '#FF6B35',
|
|
@@ -172,6 +167,7 @@ module.exports = {
|
|
|
172
167
|
error: '#ef5145',
|
|
173
168
|
'error-content': '#460A06',
|
|
174
169
|
// Custom colors
|
|
170
|
+
'--primary-gradient': '7, 90, 105',
|
|
175
171
|
'--tertiary': '166, 166, 166',
|
|
176
172
|
'--tertiary-content': '8, 8, 9',
|
|
177
173
|
'--neutral-secondary': '169, 170, 178',
|
|
@@ -196,12 +192,62 @@ module.exports = {
|
|
|
196
192
|
'--btn-focus-scale': '0.95', // scale transform of button when you focus on it
|
|
197
193
|
'--border-btn': '1px', // border width of buttons
|
|
198
194
|
'--tab-border': '1px', // border width of tabs
|
|
199
|
-
'--tab-radius': '0.5rem', // border radius of tabs
|
|
195
|
+
'--tab-radius': '0.5rem', // border radius of tabs,
|
|
196
|
+
// custom button sizes
|
|
197
|
+
'.btn-md': {
|
|
198
|
+
height: '2.5rem',
|
|
199
|
+
'min-height': '2.5rem',
|
|
200
|
+
},
|
|
201
|
+
'.btn-square:where(.btn-md)': {
|
|
202
|
+
height: '2.5rem',
|
|
203
|
+
width: '2.5rem',
|
|
204
|
+
padding: '0',
|
|
205
|
+
},
|
|
206
|
+
'.btn-circle:where(.btn-md)': {
|
|
207
|
+
height: '2.5rem',
|
|
208
|
+
width: '2.5rem',
|
|
209
|
+
padding: '0',
|
|
210
|
+
},
|
|
211
|
+
'.btn-lg': {
|
|
212
|
+
height: '3rem',
|
|
213
|
+
'min-height': '3rem',
|
|
214
|
+
'padding-left': '1rem',
|
|
215
|
+
'padding-right': '1rem',
|
|
216
|
+
'font-size': '1.125rem',
|
|
217
|
+
},
|
|
218
|
+
'.btn-square:where(.btn-lg)': {
|
|
219
|
+
height: '3rem',
|
|
220
|
+
width: '3rem',
|
|
221
|
+
padding: '0',
|
|
222
|
+
},
|
|
223
|
+
'.btn-circle:where(.btn-lg)': {
|
|
224
|
+
height: '3rem',
|
|
225
|
+
width: '3rem',
|
|
226
|
+
padding: '0',
|
|
227
|
+
},
|
|
228
|
+
// custom input sizes
|
|
229
|
+
'.input-md': {
|
|
230
|
+
height: '2.5rem',
|
|
231
|
+
'min-height': '2.5rem',
|
|
232
|
+
},
|
|
233
|
+
'.input-lg': {
|
|
234
|
+
height: '3rem',
|
|
235
|
+
'min-height': '3rem',
|
|
236
|
+
},
|
|
237
|
+
// custom select sizes
|
|
238
|
+
'.select-md': {
|
|
239
|
+
height: '2.5rem',
|
|
240
|
+
'min-height': '2.5rem',
|
|
241
|
+
},
|
|
242
|
+
'.select-lg': {
|
|
243
|
+
height: '3rem',
|
|
244
|
+
'min-height': '3rem',
|
|
245
|
+
},
|
|
200
246
|
},
|
|
201
247
|
vivid_elegance_dark: {
|
|
202
248
|
// Daisy UI theme variables
|
|
203
|
-
primary: '#
|
|
204
|
-
'primary-content': '#
|
|
249
|
+
primary: '#15A1C1',
|
|
250
|
+
'primary-content': '#ffffff',
|
|
205
251
|
secondary: '#5D5F69',
|
|
206
252
|
'secondary-content': '#FFFFFF',
|
|
207
253
|
accent: '#FF8B5A',
|
|
@@ -221,6 +267,7 @@ module.exports = {
|
|
|
221
267
|
error: '#FF4133',
|
|
222
268
|
'error-content': '#4D0500',
|
|
223
269
|
// Custom colors
|
|
270
|
+
'--primary-gradient': '7, 90, 105',
|
|
224
271
|
'--tertiary': '161, 161, 161',
|
|
225
272
|
'--tertiary-content': '55, 56, 62',
|
|
226
273
|
'--neutral-secondary': '169, 170, 178',
|
|
@@ -245,7 +292,57 @@ module.exports = {
|
|
|
245
292
|
'--btn-focus-scale': '0.95', // scale transform of button when you focus on it
|
|
246
293
|
'--border-btn': '1px', // border width of buttons
|
|
247
294
|
'--tab-border': '1px', // border width of tabs
|
|
248
|
-
'--tab-radius': '0.5rem', // border radius of tabs
|
|
295
|
+
'--tab-radius': '0.5rem', // border radius of tabs,
|
|
296
|
+
// custom button sizes
|
|
297
|
+
'.btn-md': {
|
|
298
|
+
height: '2.5rem',
|
|
299
|
+
'min-height': '2.5rem',
|
|
300
|
+
},
|
|
301
|
+
'.btn-square:where(.btn-md)': {
|
|
302
|
+
height: '2.5rem',
|
|
303
|
+
width: '2.5rem',
|
|
304
|
+
padding: '0',
|
|
305
|
+
},
|
|
306
|
+
'.btn-circle:where(.btn-md)': {
|
|
307
|
+
height: '2.5rem',
|
|
308
|
+
width: '2.5rem',
|
|
309
|
+
padding: '0',
|
|
310
|
+
},
|
|
311
|
+
'.btn-lg': {
|
|
312
|
+
height: '3rem',
|
|
313
|
+
'min-height': '3rem',
|
|
314
|
+
'padding-left': '1rem',
|
|
315
|
+
'padding-right': '1rem',
|
|
316
|
+
'font-size': '1rem',
|
|
317
|
+
},
|
|
318
|
+
'.btn-square:where(.btn-lg)': {
|
|
319
|
+
height: '3rem',
|
|
320
|
+
width: '3rem',
|
|
321
|
+
padding: '0',
|
|
322
|
+
},
|
|
323
|
+
'.btn-circle:where(.btn-lg)': {
|
|
324
|
+
height: '3rem',
|
|
325
|
+
width: '3rem',
|
|
326
|
+
padding: '0',
|
|
327
|
+
},
|
|
328
|
+
// custom input sizes
|
|
329
|
+
'.input-md': {
|
|
330
|
+
height: '2.5rem',
|
|
331
|
+
'min-height': '2.5rem',
|
|
332
|
+
},
|
|
333
|
+
'.input-lg': {
|
|
334
|
+
height: '3rem',
|
|
335
|
+
'min-height': '3rem',
|
|
336
|
+
},
|
|
337
|
+
// custom select sizes
|
|
338
|
+
'.select-md': {
|
|
339
|
+
height: '2.5rem',
|
|
340
|
+
'min-height': '2.5rem',
|
|
341
|
+
},
|
|
342
|
+
'.select-lg': {
|
|
343
|
+
height: '3rem',
|
|
344
|
+
'min-height': '3rem',
|
|
345
|
+
},
|
|
249
346
|
},
|
|
250
347
|
},
|
|
251
348
|
],
|
|
@@ -316,75 +413,258 @@ npm install @ngx-translate/core @ngx-translate/http-loader ngx-translate-multi-h
|
|
|
316
413
|
|
|
317
414
|
3. In each file, include the corresponding translations for file uploader, for example:
|
|
318
415
|
|
|
416
|
+
##### English
|
|
417
|
+
|
|
319
418
|
```json
|
|
320
419
|
{
|
|
321
|
-
"
|
|
322
|
-
"
|
|
323
|
-
"
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
"
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
420
|
+
"sdk": {
|
|
421
|
+
"fileUpload": {
|
|
422
|
+
"dropzone": {
|
|
423
|
+
"selectPrompt": "Click to select files or drag and drop here",
|
|
424
|
+
"maxSizeLabel": "Max size:",
|
|
425
|
+
"allowedTypesLabel": "Allowed types:",
|
|
426
|
+
"invalidFileType": "Invalid file type",
|
|
427
|
+
"fileTooLarge": "File too large",
|
|
428
|
+
"fileCounter": "{{current}} of {{max}} files",
|
|
429
|
+
"maxFilesExceeded": "Maximum {{max}} file(s) allowed",
|
|
430
|
+
"noValidFiles": "No valid files selected",
|
|
431
|
+
"fileActions": {
|
|
432
|
+
"play": "Play audio",
|
|
433
|
+
"pause": "Pause audio",
|
|
434
|
+
"showPlayer": "Show player",
|
|
435
|
+
"hidePlayer": "Hide player",
|
|
436
|
+
"download": "Download file",
|
|
437
|
+
"remove": "Remove file"
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
"fileUploader": {
|
|
441
|
+
"allowedTypesLabel": "Allowed types:"
|
|
442
|
+
}
|
|
443
|
+
},
|
|
444
|
+
"audioPlayer": {
|
|
445
|
+
"trackListTitle": "Tracks",
|
|
446
|
+
"trackInfo": {
|
|
447
|
+
"title": "No title",
|
|
448
|
+
"description": "No description"
|
|
449
|
+
}
|
|
450
|
+
},
|
|
451
|
+
"countdown": {
|
|
452
|
+
"days": "Days",
|
|
453
|
+
"hours": "Hours",
|
|
454
|
+
"minutes": "Minutes",
|
|
455
|
+
"seconds": "Seconds"
|
|
456
|
+
},
|
|
457
|
+
"dualList": {
|
|
458
|
+
"searchPlaceHolder": "Search"
|
|
459
|
+
},
|
|
460
|
+
"combobox": {
|
|
461
|
+
"noResultsFound": "No results found",
|
|
462
|
+
"loading": "Loading..."
|
|
463
|
+
},
|
|
464
|
+
"formErrors": {
|
|
465
|
+
"validation": {
|
|
466
|
+
"required": "*This field is required",
|
|
467
|
+
"email": "*Please enter a valid email address",
|
|
468
|
+
"minLength": "*Must be at least {{min}} characters",
|
|
469
|
+
"maxLength": "*Must be no more than {{max}} characters",
|
|
470
|
+
"min": "*Value must be at least {{min}}",
|
|
471
|
+
"max": "*Value must be no more than {{max}}",
|
|
472
|
+
"pattern": "*Invalid format",
|
|
473
|
+
"unhandledError": "*Unhandled error"
|
|
474
|
+
}
|
|
475
|
+
},
|
|
476
|
+
"textarea": {
|
|
477
|
+
"maxCharacters": "{{current}} of {{max}} characters"
|
|
478
|
+
},
|
|
479
|
+
"table": {
|
|
480
|
+
"entriesByPage": "Entries per page",
|
|
481
|
+
"totalEntries": "{{total}} entries",
|
|
482
|
+
"entriesRange": "{{range}} of {{total}} entries",
|
|
483
|
+
"emptyListMessage": "No items to show"
|
|
484
|
+
},
|
|
485
|
+
"wizard": {
|
|
486
|
+
"wizardMarker": {
|
|
487
|
+
"completed": "Completed",
|
|
488
|
+
"inProgress": "In progress",
|
|
489
|
+
"pending": "Pending"
|
|
490
|
+
},
|
|
491
|
+
"wizardWrapper": {
|
|
492
|
+
"back": "Back",
|
|
493
|
+
"previous": "Previous",
|
|
494
|
+
"end": "End",
|
|
495
|
+
"next": "Next"
|
|
338
496
|
}
|
|
339
497
|
}
|
|
340
498
|
}
|
|
341
499
|
}
|
|
342
500
|
```
|
|
343
501
|
|
|
502
|
+
##### Spanish
|
|
503
|
+
|
|
344
504
|
```json
|
|
345
505
|
{
|
|
346
|
-
"
|
|
347
|
-
"
|
|
348
|
-
"
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
"
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
506
|
+
"sdk": {
|
|
507
|
+
"fileUpload": {
|
|
508
|
+
"dropzone": {
|
|
509
|
+
"selectPrompt": "Haz clic para seleccionar archivos o arrastra y suelta aquí",
|
|
510
|
+
"maxSizeLabel": "Tamaño máximo:",
|
|
511
|
+
"allowedTypesLabel": "Tipos permitidos:",
|
|
512
|
+
"invalidFileType": "Tipo de archivo no válido",
|
|
513
|
+
"fileTooLarge": "Archivo demasiado grande",
|
|
514
|
+
"fileCounter": "{{current}} de {{max}} archivos",
|
|
515
|
+
"maxFilesExceeded": "Máximo de {{max}} archivo(s) permitido",
|
|
516
|
+
"noValidFiles": "No se han seleccionado archivos válidos",
|
|
517
|
+
"fileActions": {
|
|
518
|
+
"play": "Reproducir audio",
|
|
519
|
+
"pause": "Pausar audio",
|
|
520
|
+
"showPlayer": "Mostrar reproductor",
|
|
521
|
+
"hidePlayer": "Ocultar reproductor",
|
|
522
|
+
"download": "Descargar archivo",
|
|
523
|
+
"remove": "Quitar archivo"
|
|
524
|
+
}
|
|
525
|
+
},
|
|
526
|
+
"fileUploader": {
|
|
527
|
+
"allowTypesLabel": "Tipos permitidos:"
|
|
528
|
+
}
|
|
529
|
+
},
|
|
530
|
+
"audioPlayer": {
|
|
531
|
+
"trackListTitle": "Pistas",
|
|
532
|
+
"trackInfo": {
|
|
533
|
+
"title": "Sin título",
|
|
534
|
+
"description": "Sin descripción"
|
|
535
|
+
}
|
|
536
|
+
},
|
|
537
|
+
"countdown": {
|
|
538
|
+
"days": "Días",
|
|
539
|
+
"hours": "Horas",
|
|
540
|
+
"minutes": "Minutos",
|
|
541
|
+
"seconds": "Segundos"
|
|
542
|
+
},
|
|
543
|
+
"dualList": {
|
|
544
|
+
"searchPlaceHolder": "Buscar"
|
|
545
|
+
},
|
|
546
|
+
"combobox": {
|
|
547
|
+
"noResultsFound": "No se encontraron resultados",
|
|
548
|
+
"loading": "Cargando..."
|
|
549
|
+
},
|
|
550
|
+
"formErrors": {
|
|
551
|
+
"validation": {
|
|
552
|
+
"required": "*Este campo es obligatorio",
|
|
553
|
+
"email": "*Por favor ingresa una dirección de correo válida",
|
|
554
|
+
"minLength": "*Debe tener al menos {{min}} caracteres",
|
|
555
|
+
"maxLength": "*No debe tener más de {{max}} caracteres",
|
|
556
|
+
"min": "*El valor debe ser al menos {{min}}",
|
|
557
|
+
"max": "*El valor no debe superar {{max}}",
|
|
558
|
+
"pattern": "*Formato inválido",
|
|
559
|
+
"unhandledError": "*Error inesperado"
|
|
560
|
+
}
|
|
561
|
+
},
|
|
562
|
+
"textarea": {
|
|
563
|
+
"maxCharacters": "{{current}} de {{max}} caracteres"
|
|
564
|
+
},
|
|
565
|
+
"table": {
|
|
566
|
+
"entriesByPage": "Entradas por página",
|
|
567
|
+
"totalEntries": "{{total}} entradas",
|
|
568
|
+
"entriesRange": "{{range}} de {{total}} entradas",
|
|
569
|
+
"emptyListMessage": "No hay elementos para mostrar"
|
|
570
|
+
},
|
|
571
|
+
"wizard": {
|
|
572
|
+
"wizardMarker": {
|
|
573
|
+
"completed": "Completado",
|
|
574
|
+
"inProgress": "En progreso",
|
|
575
|
+
"pending": "Pendiente"
|
|
576
|
+
},
|
|
577
|
+
"wizardWrapper": {
|
|
578
|
+
"back": "Atrás",
|
|
579
|
+
"previous": "Anterior",
|
|
580
|
+
"end": "Finalizar",
|
|
581
|
+
"next": "Siguiente"
|
|
363
582
|
}
|
|
364
583
|
}
|
|
365
584
|
}
|
|
366
585
|
}
|
|
367
586
|
```
|
|
368
587
|
|
|
588
|
+
##### Portuguese
|
|
589
|
+
|
|
369
590
|
```json
|
|
370
591
|
{
|
|
371
|
-
"
|
|
372
|
-
"
|
|
373
|
-
"
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
"
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
592
|
+
"sdk": {
|
|
593
|
+
"fileUpload": {
|
|
594
|
+
"dropzone": {
|
|
595
|
+
"selectPrompt": "Haz clic para seleccionar archivos o arrastra y suelta aquí",
|
|
596
|
+
"maxSizeLabel": "Tamaño máximo:",
|
|
597
|
+
"allowedTypesLabel": "Tipos permitidos:",
|
|
598
|
+
"invalidFileType": "Tipo de archivo no válido",
|
|
599
|
+
"fileTooLarge": "Archivo demasiado grande",
|
|
600
|
+
"fileCounter": "{{current}} de {{max}} archivos",
|
|
601
|
+
"maxFilesExceeded": "Máximo de {{max}} archivo(s) permitido",
|
|
602
|
+
"noValidFiles": "No se han seleccionado archivos válidos",
|
|
603
|
+
"fileActions": {
|
|
604
|
+
"play": "Reproducir audio",
|
|
605
|
+
"pause": "Pausar audio",
|
|
606
|
+
"showPlayer": "Mostrar reproductor",
|
|
607
|
+
"hidePlayer": "Ocultar reproductor",
|
|
608
|
+
"download": "Descargar archivo",
|
|
609
|
+
"remove": "Quitar archivo"
|
|
610
|
+
}
|
|
611
|
+
},
|
|
612
|
+
"fileUploader": {
|
|
613
|
+
"allowedTypesLabel": "Tipos permitidos:"
|
|
614
|
+
}
|
|
615
|
+
},
|
|
616
|
+
"audioPlayer": {
|
|
617
|
+
"trackListTitle": "Trilhas",
|
|
618
|
+
"trackInfo": {
|
|
619
|
+
"title": "Sem título",
|
|
620
|
+
"description": "Sem descrição"
|
|
621
|
+
}
|
|
622
|
+
},
|
|
623
|
+
"countdown": {
|
|
624
|
+
"days": "Dias",
|
|
625
|
+
"hours": "Horas",
|
|
626
|
+
"minutes": "Minutos",
|
|
627
|
+
"seconds": "Segundos"
|
|
628
|
+
},
|
|
629
|
+
"dualList": {
|
|
630
|
+
"searchPlaceHolder": "Pesquisar"
|
|
631
|
+
},
|
|
632
|
+
"combobox": {
|
|
633
|
+
"noResultsFound": "Nenhum resultado encontrado",
|
|
634
|
+
"loading": "Carregando..."
|
|
635
|
+
},
|
|
636
|
+
"formErrors": {
|
|
637
|
+
"validation": {
|
|
638
|
+
"required": "*Este campo é obrigatório",
|
|
639
|
+
"email": "*Por favor, insira um endereço de e-mail válido",
|
|
640
|
+
"minLength": "*Deve ter pelo menos {{min}} caracteres",
|
|
641
|
+
"maxLength": "*Deve ter no máximo {{max}} caracteres",
|
|
642
|
+
"min": "*O valor deve ser de pelo menos {{min}}",
|
|
643
|
+
"max": "*O valor deve ser de no máximo {{max}}",
|
|
644
|
+
"pattern": "*Formato inválido",
|
|
645
|
+
"unhandledError": "*Erro não tratado"
|
|
646
|
+
}
|
|
647
|
+
},
|
|
648
|
+
"textarea": {
|
|
649
|
+
"maxCharacters": "{{current}} de {{max}} caracteres"
|
|
650
|
+
},
|
|
651
|
+
"table": {
|
|
652
|
+
"entriesByPage": "Entradas por página",
|
|
653
|
+
"totalEntries": "{{total}} entradas",
|
|
654
|
+
"entriesRange": "{{range}} de {{total}} entradas",
|
|
655
|
+
"emptyListMessage": "Nenhum item para mostrar"
|
|
656
|
+
},
|
|
657
|
+
"wizard": {
|
|
658
|
+
"wizardMarker": {
|
|
659
|
+
"completed": "Concluído",
|
|
660
|
+
"inProgress": "Em andamento",
|
|
661
|
+
"pending": "Pendente"
|
|
662
|
+
},
|
|
663
|
+
"wizardWrapper": {
|
|
664
|
+
"back": "Voltar",
|
|
665
|
+
"previous": "Anterior",
|
|
666
|
+
"end": "Fim",
|
|
667
|
+
"next": "Próximo"
|
|
388
668
|
}
|
|
389
669
|
}
|
|
390
670
|
}
|
|
@@ -473,4 +753,4 @@ For detailed component documentation, visit our [Storybook](https://storybook.js
|
|
|
473
753
|
|
|
474
754
|
## Last update
|
|
475
755
|
|
|
476
|
-
This file was last updated on February
|
|
756
|
+
This file was last updated on February 17th, 2025.
|
|
@@ -10,7 +10,6 @@ export type AudioPlayerVariantProps = 'default' | 'fixed';
|
|
|
10
10
|
export declare class AudioPlayerComponent implements OnDestroy {
|
|
11
11
|
variant: import("@angular/core").InputSignal<AudioPlayerVariantProps>;
|
|
12
12
|
opened: import("@angular/core").InputSignal<boolean>;
|
|
13
|
-
trackListTitle: import("@angular/core").InputSignal<string>;
|
|
14
13
|
currentTrackIndex: import("@angular/core").ModelSignal<number>;
|
|
15
14
|
tracks: import("@angular/core").InputSignal<Track[]>;
|
|
16
15
|
showTrackList: import("@angular/core").InputSignal<boolean>;
|
|
@@ -30,5 +29,5 @@ export declare class AudioPlayerComponent implements OnDestroy {
|
|
|
30
29
|
next(): Promise<void>;
|
|
31
30
|
ngOnDestroy(): void;
|
|
32
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<AudioPlayerComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AudioPlayerComponent, "st-audio-player", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "opened": { "alias": "opened"; "required": false; "isSignal": true; }; "
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AudioPlayerComponent, "st-audio-player", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "opened": { "alias": "opened"; "required": false; "isSignal": true; }; "currentTrackIndex": { "alias": "currentTrackIndex"; "required": false; "isSignal": true; }; "tracks": { "alias": "tracks"; "required": false; "isSignal": true; }; "showTrackList": { "alias": "showTrackList"; "required": false; "isSignal": true; }; "shadow": { "alias": "shadow"; "required": false; "isSignal": true; }; }, { "currentTrackIndex": "currentTrackIndexChange"; }, never, never, true, never>;
|
|
34
33
|
}
|
|
@@ -7,10 +7,6 @@ export declare class CountdownComponent {
|
|
|
7
7
|
showHours: import("@angular/core").InputSignal<boolean>;
|
|
8
8
|
showMinutes: import("@angular/core").InputSignal<boolean>;
|
|
9
9
|
showSeconds: import("@angular/core").InputSignal<boolean>;
|
|
10
|
-
labelDays: import("@angular/core").InputSignal<string>;
|
|
11
|
-
labelHours: import("@angular/core").InputSignal<string>;
|
|
12
|
-
labelMinutes: import("@angular/core").InputSignal<string>;
|
|
13
|
-
labelSeconds: import("@angular/core").InputSignal<string>;
|
|
14
10
|
onFinish: import("@angular/core").OutputEmitterRef<void>;
|
|
15
11
|
private countdownDateOnMilliseconds;
|
|
16
12
|
countdowntimer$: import("rxjs").Observable<{
|
|
@@ -31,5 +27,5 @@ export declare class CountdownComponent {
|
|
|
31
27
|
seconds: import("@angular/core").Signal<number | undefined>;
|
|
32
28
|
getfirstLetterOfLabel(label: string): string;
|
|
33
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<CountdownComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CountdownComponent, "st-countdown", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "dueDate": { "alias": "dueDate"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "showDays": { "alias": "showDays"; "required": false; "isSignal": true; }; "showHours": { "alias": "showHours"; "required": false; "isSignal": true; }; "showMinutes": { "alias": "showMinutes"; "required": false; "isSignal": true; }; "showSeconds": { "alias": "showSeconds"; "required": false; "isSignal": true; };
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CountdownComponent, "st-countdown", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "dueDate": { "alias": "dueDate"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "showDays": { "alias": "showDays"; "required": false; "isSignal": true; }; "showHours": { "alias": "showHours"; "required": false; "isSignal": true; }; "showMinutes": { "alias": "showMinutes"; "required": false; "isSignal": true; }; "showSeconds": { "alias": "showSeconds"; "required": false; "isSignal": true; }; }, { "onFinish": "onFinish"; }, never, never, true, never>;
|
|
35
31
|
}
|