@tacdaed/fragments 1.0.0-beta.4 → 1.0.0-beta.5
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 +16 -11
- package/assets/styles/scss/_all.scss +0 -1
- package/fesm2022/tacdaed-fragments.mjs +8928 -0
- package/index.d.ts +3929 -0
- package/package.json +34 -22
- package/assets/resources/fonts/OpenSans/OpenSans-Italic-VariableFont_wdth_wght.ttf +0 -0
- package/assets/resources/fonts/OpenSans/OpenSans-VariableFont_wdth_wght.ttf +0 -0
- package/assets/resources/fonts/Roboto/Roboto-Black.ttf +0 -0
- package/assets/resources/fonts/Roboto/Roboto-BlackItalic.ttf +0 -0
- package/assets/resources/fonts/Roboto/Roboto-Bold.ttf +0 -0
- package/assets/resources/fonts/Roboto/Roboto-BoldItalic.ttf +0 -0
- package/assets/resources/fonts/Roboto/Roboto-Italic.ttf +0 -0
- package/assets/resources/fonts/Roboto/Roboto-Light.ttf +0 -0
- package/assets/resources/fonts/Roboto/Roboto-LightItalic.ttf +0 -0
- package/assets/resources/fonts/Roboto/Roboto-Medium.ttf +0 -0
- package/assets/resources/fonts/Roboto/Roboto-MediumItalic.ttf +0 -0
- package/assets/resources/fonts/Roboto/Roboto-Regular.ttf +0 -0
- package/assets/resources/fonts/Roboto/Roboto-Thin.ttf +0 -0
- package/assets/resources/fonts/Roboto/Roboto-ThinItalic.ttf +0 -0
- package/assets/styles/scss/_fonts.scss +0 -122
- package/ng-package.json +0 -20
- package/src/lib/components/accordion/accordion.component.html +0 -103
- package/src/lib/components/accordion/accordion.component.scss +0 -382
- package/src/lib/components/accordion/accordion.component.spec.ts +0 -147
- package/src/lib/components/accordion/accordion.component.ts +0 -211
- package/src/lib/components/accordion/accordion.type.ts +0 -82
- package/src/lib/components/breadcrumb/breadcrumb.component.html +0 -43
- package/src/lib/components/breadcrumb/breadcrumb.component.scss +0 -112
- package/src/lib/components/breadcrumb/breadcrumb.component.spec.ts +0 -33
- package/src/lib/components/breadcrumb/breadcrumb.component.ts +0 -103
- package/src/lib/components/breadcrumb/breadcrumb.interface.ts +0 -7
- package/src/lib/components/button/button.component.html +0 -57
- package/src/lib/components/button/button.component.scss +0 -445
- package/src/lib/components/button/button.component.spec.ts +0 -99
- package/src/lib/components/button/button.component.ts +0 -143
- package/src/lib/components/button/button.type.ts +0 -7
- package/src/lib/components/card/card.component.html +0 -44
- package/src/lib/components/card/card.component.scss +0 -114
- package/src/lib/components/card/card.component.spec.ts +0 -65
- package/src/lib/components/card/card.component.ts +0 -21
- package/src/lib/components/card/card.type.ts +0 -3
- package/src/lib/components/code-block/code-block.component.html +0 -55
- package/src/lib/components/code-block/code-block.component.scss +0 -122
- package/src/lib/components/code-block/code-block.component.spec.ts +0 -81
- package/src/lib/components/code-block/code-block.component.ts +0 -302
- package/src/lib/components/code-block/code-block.interface.ts +0 -28
- package/src/lib/components/code-block/code-block.type.ts +0 -73
- package/src/lib/components/decorative/sparkle-field/sparkle-field.component.html +0 -14
- package/src/lib/components/decorative/sparkle-field/sparkle-field.component.scss +0 -20
- package/src/lib/components/decorative/sparkle-field/sparkle-field.component.spec.ts +0 -38
- package/src/lib/components/decorative/sparkle-field/sparkle-field.component.ts +0 -181
- package/src/lib/components/input/input-base.ts +0 -187
- package/src/lib/components/input/input-calendar/input-calendar.component.html +0 -76
- package/src/lib/components/input/input-calendar/input-calendar.component.scss +0 -179
- package/src/lib/components/input/input-calendar/input-calendar.component.spec.ts +0 -44
- package/src/lib/components/input/input-calendar/input-calendar.component.ts +0 -299
- package/src/lib/components/input/input-checkbox/input-checkbox.component.html +0 -37
- package/src/lib/components/input/input-checkbox/input-checkbox.component.scss +0 -128
- package/src/lib/components/input/input-checkbox/input-checkbox.component.spec.ts +0 -43
- package/src/lib/components/input/input-checkbox/input-checkbox.component.ts +0 -112
- package/src/lib/components/input/input-checkbox-group/input-checkbox-group.component.html +0 -43
- package/src/lib/components/input/input-checkbox-group/input-checkbox-group.component.scss +0 -140
- package/src/lib/components/input/input-checkbox-group/input-checkbox-group.component.spec.ts +0 -62
- package/src/lib/components/input/input-checkbox-group/input-checkbox-group.component.ts +0 -136
- package/src/lib/components/input/input-clock-picker/input-clock-picker.component.html +0 -81
- package/src/lib/components/input/input-clock-picker/input-clock-picker.component.scss +0 -228
- package/src/lib/components/input/input-clock-picker/input-clock-picker.component.spec.ts +0 -62
- package/src/lib/components/input/input-clock-picker/input-clock-picker.component.ts +0 -178
- package/src/lib/components/input/input-consts.ts +0 -132
- package/src/lib/components/input/input-date/input-date-validators.ts +0 -41
- package/src/lib/components/input/input-date/input-date.component.html +0 -41
- package/src/lib/components/input/input-date/input-date.component.scss +0 -95
- package/src/lib/components/input/input-date/input-date.component.spec.ts +0 -43
- package/src/lib/components/input/input-date/input-date.component.ts +0 -359
- package/src/lib/components/input/input-date-time/input-date-time.component.html +0 -70
- package/src/lib/components/input/input-date-time/input-date-time.component.scss +0 -133
- package/src/lib/components/input/input-date-time/input-date-time.component.spec.ts +0 -36
- package/src/lib/components/input/input-date-time/input-date-time.component.ts +0 -387
- package/src/lib/components/input/input-file-upload/input-file-upload.component.html +0 -89
- package/src/lib/components/input/input-file-upload/input-file-upload.component.scss +0 -171
- package/src/lib/components/input/input-file-upload/input-file-upload.component.spec.ts +0 -43
- package/src/lib/components/input/input-file-upload/input-file-upload.component.ts +0 -351
- package/src/lib/components/input/input-interface.ts +0 -8
- package/src/lib/components/input/input-number/input-number-validators.ts +0 -0
- package/src/lib/components/input/input-number/input-number.component.html +0 -51
- package/src/lib/components/input/input-number/input-number.component.scss +0 -140
- package/src/lib/components/input/input-number/input-number.component.spec.ts +0 -44
- package/src/lib/components/input/input-number/input-number.component.ts +0 -343
- package/src/lib/components/input/input-radio-group/input-radio-group.component.html +0 -44
- package/src/lib/components/input/input-radio-group/input-radio-group.component.scss +0 -139
- package/src/lib/components/input/input-radio-group/input-radio-group.component.spec.ts +0 -58
- package/src/lib/components/input/input-radio-group/input-radio-group.component.ts +0 -132
- package/src/lib/components/input/input-slider/input-slider.component.html +0 -111
- package/src/lib/components/input/input-slider/input-slider.component.scss +0 -203
- package/src/lib/components/input/input-slider/input-slider.component.spec.ts +0 -46
- package/src/lib/components/input/input-slider/input-slider.component.ts +0 -410
- package/src/lib/components/input/input-text/input-text-validators.ts +0 -67
- package/src/lib/components/input/input-text/input-text.component.html +0 -71
- package/src/lib/components/input/input-text/input-text.component.scss +0 -118
- package/src/lib/components/input/input-text/input-text.component.spec.ts +0 -55
- package/src/lib/components/input/input-text/input-text.component.ts +0 -215
- package/src/lib/components/input/input-time/input-time-validators.ts +0 -42
- package/src/lib/components/input/input-time/input-time.component.html +0 -92
- package/src/lib/components/input/input-time/input-time.component.scss +0 -191
- package/src/lib/components/input/input-time/input-time.component.spec.ts +0 -39
- package/src/lib/components/input/input-time/input-time.component.ts +0 -691
- package/src/lib/components/input/input-toggle-switch/input-toggle-switch.component.html +0 -36
- package/src/lib/components/input/input-toggle-switch/input-toggle-switch.component.scss +0 -121
- package/src/lib/components/input/input-toggle-switch/input-toggle-switch.component.spec.ts +0 -54
- package/src/lib/components/input/input-toggle-switch/input-toggle-switch.component.ts +0 -117
- package/src/lib/components/input/input-type.ts +0 -18
- package/src/lib/components/input/input-validation/input-validation.component.html +0 -19
- package/src/lib/components/input/input-validation/input-validation.component.scss +0 -39
- package/src/lib/components/input/input-validation/input-validation.component.spec.ts +0 -45
- package/src/lib/components/input/input-validation/input-validation.component.ts +0 -13
- package/src/lib/components/input/input.pipe.ts +0 -14
- package/src/lib/components/layout/container/container.component.html +0 -1
- package/src/lib/components/layout/container/container.component.scss +0 -33
- package/src/lib/components/layout/container/container.component.ts +0 -32
- package/src/lib/components/layout/container/container.type.ts +0 -1
- package/src/lib/components/layout/divider/divider.component.html +0 -1
- package/src/lib/components/layout/divider/divider.component.scss +0 -60
- package/src/lib/components/layout/divider/divider.component.ts +0 -38
- package/src/lib/components/layout/divider/divider.type.ts +0 -2
- package/src/lib/components/layout/section/section.component.html +0 -21
- package/src/lib/components/layout/section/section.component.scss +0 -43
- package/src/lib/components/layout/section/section.component.ts +0 -33
- package/src/lib/components/layout/section/section.type.ts +0 -2
- package/src/lib/components/layout/separator/separator.component.html +0 -9
- package/src/lib/components/layout/separator/separator.component.scss +0 -52
- package/src/lib/components/layout/separator/separator.component.ts +0 -25
- package/src/lib/components/layout/separator/separator.type.ts +0 -1
- package/src/lib/components/loader/content-blur/content-blur.component.html +0 -13
- package/src/lib/components/loader/content-blur/content-blur.component.scss +0 -43
- package/src/lib/components/loader/content-blur/content-blur.component.spec.ts +0 -42
- package/src/lib/components/loader/content-blur/content-blur.component.ts +0 -34
- package/src/lib/components/loader/loader.type.ts +0 -2
- package/src/lib/components/loader/progress-bar/progress-bar.component.html +0 -26
- package/src/lib/components/loader/progress-bar/progress-bar.component.scss +0 -151
- package/src/lib/components/loader/progress-bar/progress-bar.component.spec.ts +0 -47
- package/src/lib/components/loader/progress-bar/progress-bar.component.ts +0 -28
- package/src/lib/components/loader/progress-bar/progress-bar.type.ts +0 -8
- package/src/lib/components/loader/pulse-loader/pulse-loader.component.html +0 -12
- package/src/lib/components/loader/pulse-loader/pulse-loader.component.scss +0 -202
- package/src/lib/components/loader/pulse-loader/pulse-loader.component.spec.ts +0 -55
- package/src/lib/components/loader/pulse-loader/pulse-loader.component.ts +0 -73
- package/src/lib/components/loader/pulse-loader/pulse-loader.type.ts +0 -6
- package/src/lib/components/loader/skeleton-loader/skeleton-loader.component.html +0 -13
- package/src/lib/components/loader/skeleton-loader/skeleton-loader.component.scss +0 -113
- package/src/lib/components/loader/skeleton-loader/skeleton-loader.component.spec.ts +0 -37
- package/src/lib/components/loader/skeleton-loader/skeleton-loader.component.ts +0 -51
- package/src/lib/components/loader/skeleton-loader/skeleton-loader.type.ts +0 -6
- package/src/lib/components/loader/spinner/spinner.component.html +0 -20
- package/src/lib/components/loader/spinner/spinner.component.scss +0 -137
- package/src/lib/components/loader/spinner/spinner.component.spec.ts +0 -43
- package/src/lib/components/loader/spinner/spinner.component.ts +0 -32
- package/src/lib/components/loader/spinner/spinner.type.ts +0 -6
- package/src/lib/components/modal/modal.component.html +0 -47
- package/src/lib/components/modal/modal.component.scss +0 -139
- package/src/lib/components/modal/modal.component.spec.ts +0 -60
- package/src/lib/components/modal/modal.component.ts +0 -83
- package/src/lib/components/modal/modal.type.ts +0 -9
- package/src/lib/components/morph/blob-moph/blob-moprh.component.spec.ts +0 -79
- package/src/lib/components/morph/blob-moph/blob-moprh.component.ts +0 -96
- package/src/lib/components/morph/blob-moph/blob-morph.component.html +0 -34
- package/src/lib/components/morph/blob-moph/blob-morph.component.scss +0 -7
- package/src/lib/components/morph/morph.abstract.ts +0 -13
- package/src/lib/components/pagination/pagination.interface.ts +0 -4
- package/src/lib/components/pagination/small-pagination/small-pagination.component.html +0 -61
- package/src/lib/components/pagination/small-pagination/small-pagination.component.scss +0 -187
- package/src/lib/components/pagination/small-pagination/small-pagination.component.spec.ts +0 -88
- package/src/lib/components/pagination/small-pagination/small-pagination.component.ts +0 -177
- package/src/lib/components/selection-lists/multi-select/multi-select.component.html +0 -170
- package/src/lib/components/selection-lists/multi-select/multi-select.component.scss +0 -312
- package/src/lib/components/selection-lists/multi-select/multi-select.component.spec.ts +0 -61
- package/src/lib/components/selection-lists/multi-select/multi-select.component.ts +0 -372
- package/src/lib/components/selection-lists/selection-list/selection-list.component.html +0 -125
- package/src/lib/components/selection-lists/selection-list/selection-list.component.scss +0 -267
- package/src/lib/components/selection-lists/selection-list/selection-list.component.spec.ts +0 -66
- package/src/lib/components/selection-lists/selection-list/selection-list.component.ts +0 -315
- package/src/lib/components/selection-lists/selection-lists-base.ts +0 -35
- package/src/lib/components/selection-lists/selection-lists-const.ts +0 -17
- package/src/lib/components/selection-lists/selection-lists-interface.ts +0 -7
- package/src/lib/components/selection-lists/selection-lists.type.ts +0 -1
- package/src/lib/components/side-nav/side-nav.component.html +0 -101
- package/src/lib/components/side-nav/side-nav.component.scss +0 -295
- package/src/lib/components/side-nav/side-nav.component.spec.ts +0 -0
- package/src/lib/components/side-nav/side-nav.component.ts +0 -18
- package/src/lib/components/side-nav/side-nav.type.ts +0 -28
- package/src/lib/components/snackbar/snackbar.component.html +0 -33
- package/src/lib/components/snackbar/snackbar.component.scss +0 -195
- package/src/lib/components/snackbar/snackbar.component.ts +0 -112
- package/src/lib/components/snackbar/snackbar.type.ts +0 -27
- package/src/lib/components/status/chip/chip.component.html +0 -51
- package/src/lib/components/status/chip/chip.component.scss +0 -149
- package/src/lib/components/status/chip/chip.component.spec.ts +0 -62
- package/src/lib/components/status/chip/chip.component.ts +0 -83
- package/src/lib/components/status/chip/chip.type.ts +0 -42
- package/src/lib/components/status/directives/badge/badge.directive.spec.ts +0 -60
- package/src/lib/components/status/directives/badge/badge.directive.ts +0 -190
- package/src/lib/components/status/directives/badge/badge.interface.ts +0 -19
- package/src/lib/components/status/pill/pill.component.html +0 -40
- package/src/lib/components/status/pill/pill.component.scss +0 -113
- package/src/lib/components/status/pill/pill.component.spec.ts +0 -47
- package/src/lib/components/status/pill/pill.component.ts +0 -83
- package/src/lib/components/status/pill/pill.type.ts +0 -42
- package/src/lib/components/status/status.interface.ts +0 -57
- package/src/lib/components/status/status.type.ts +0 -62
- package/src/lib/components/status/tag/tag.component.html +0 -39
- package/src/lib/components/status/tag/tag.component.scss +0 -140
- package/src/lib/components/status/tag/tag.component.spec.ts +0 -47
- package/src/lib/components/status/tag/tag.component.ts +0 -83
- package/src/lib/components/status/tag/tag.type.ts +0 -42
- package/src/lib/components/stepper/stepper.component.html +0 -83
- package/src/lib/components/stepper/stepper.component.scss +0 -196
- package/src/lib/components/stepper/stepper.component.ts +0 -482
- package/src/lib/components/stepper/stepper.type.ts +0 -60
- package/src/lib/components/table/table.component.html +0 -438
- package/src/lib/components/table/table.component.scss +0 -259
- package/src/lib/components/table/table.component.spec.ts +0 -117
- package/src/lib/components/table/table.component.ts +0 -215
- package/src/lib/components/table/table.enum.ts +0 -4
- package/src/lib/components/table/table.function.ts +0 -47
- package/src/lib/components/table/table.interface.ts +0 -143
- package/src/lib/components/table/table.pipe.ts +0 -62
- package/src/lib/components/table/table.type.ts +0 -15
- package/src/lib/components/tabs/tabs.component.html +0 -88
- package/src/lib/components/tabs/tabs.component.scss +0 -305
- package/src/lib/components/tabs/tabs.component.spec.ts +0 -94
- package/src/lib/components/tabs/tabs.component.ts +0 -282
- package/src/lib/components/tabs/tabs.type.ts +0 -81
- package/src/lib/components/title-bar/title-bar.component.html +0 -21
- package/src/lib/components/title-bar/title-bar.component.scss +0 -139
- package/src/lib/components/title-bar/title-bar.component.spec.ts +0 -44
- package/src/lib/components/title-bar/title-bar.component.ts +0 -13
- package/src/lib/components/toast/toast.component.html +0 -36
- package/src/lib/components/toast/toast.component.scss +0 -241
- package/src/lib/components/toast/toast.component.ts +0 -165
- package/src/lib/components/toast/toast.type.ts +0 -37
- package/src/lib/components/toast-stack/toast-stack.component.html +0 -30
- package/src/lib/components/toast-stack/toast-stack.component.scss +0 -35
- package/src/lib/components/toast-stack/toast-stack.component.ts +0 -51
- package/src/lib/consts/country-prefix.ts +0 -244
- package/src/lib/directives/tooltip/popover.directive.ts +0 -274
- package/src/lib/directives/tooltip/tooltip.directive.spec.ts +0 -86
- package/src/lib/directives/tooltip/tooltip.directive.ts +0 -234
- package/src/lib/directives/tooltip/tooltip.interface.ts +0 -29
- package/src/lib/directives/tooltip/tooltip.type.ts +0 -9
- package/src/lib/interfaces/common.interfaces.ts +0 -4
- package/src/lib/pipes/chunk.pipe.ts +0 -16
- package/src/lib/pipes/safe-html.pipe.ts +0 -14
- package/src/lib/pipes/sanitize-html.pipe.ts +0 -23
- package/src/lib/types/base.types.ts +0 -23
- package/src/lib/types/common.types.ts +0 -98
- package/src/lib/types/form.types.ts +0 -5
- package/src/lib/utils/common.utils.ts +0 -53
- package/src/lib/utils/date.utils.ts +0 -474
- package/src/lib/utils/number.utils.ts +0 -16
- package/src/lib/utils/uuid.utils.ts +0 -39
- package/src/public-api.ts +0 -114
- package/tsconfig.lib.json +0 -17
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -9
package/package.json
CHANGED
|
@@ -1,22 +1,34 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@tacdaed/fragments",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
4
|
-
"peerDependencies": {
|
|
5
|
-
"@angular/common": "^20.2.0",
|
|
6
|
-
"@angular/core": "^20.2.0",
|
|
7
|
-
"rxjs": "^7.8.0",
|
|
8
|
-
"@fortawesome/fontawesome-free": "^6.5.0",
|
|
9
|
-
"animejs": "^4.1.0",
|
|
10
|
-
"bootstrap": "^5.3.0",
|
|
11
|
-
"highlight.js": "^11.11.0"
|
|
12
|
-
},
|
|
13
|
-
"dependencies": {
|
|
14
|
-
"tslib": "2.3.0",
|
|
15
|
-
"uuid": "11.1.0"
|
|
16
|
-
},
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@tacdaed/fragments",
|
|
3
|
+
"version": "1.0.0-beta.5",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": "^20.2.0",
|
|
6
|
+
"@angular/core": "^20.2.0",
|
|
7
|
+
"rxjs": "^7.8.0",
|
|
8
|
+
"@fortawesome/fontawesome-free": "^6.5.0",
|
|
9
|
+
"animejs": "^4.1.0",
|
|
10
|
+
"bootstrap": "^5.3.0",
|
|
11
|
+
"highlight.js": "^11.11.0"
|
|
12
|
+
},
|
|
13
|
+
"dependencies": {
|
|
14
|
+
"tslib": "2.3.0",
|
|
15
|
+
"uuid": "11.1.0"
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"fesm2022",
|
|
19
|
+
"index.d.ts",
|
|
20
|
+
"assets"
|
|
21
|
+
],
|
|
22
|
+
"sideEffects": false,
|
|
23
|
+
"module": "fesm2022/tacdaed-fragments.mjs",
|
|
24
|
+
"typings": "index.d.ts",
|
|
25
|
+
"exports": {
|
|
26
|
+
"./package.json": {
|
|
27
|
+
"default": "./package.json"
|
|
28
|
+
},
|
|
29
|
+
".": {
|
|
30
|
+
"types": "./index.d.ts",
|
|
31
|
+
"default": "./fesm2022/tacdaed-fragments.mjs"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
/* ==========================================================================
|
|
2
|
-
FONT DEFINITIONS
|
|
3
|
-
Path: assets/resources/fonts/
|
|
4
|
-
========================================================================== */
|
|
5
|
-
|
|
6
|
-
/* =======================
|
|
7
|
-
OPEN SANS
|
|
8
|
-
======================= */
|
|
9
|
-
@font-face {
|
|
10
|
-
font-family: 'Open Sans';
|
|
11
|
-
font-style: normal;
|
|
12
|
-
font-weight: 100 900;
|
|
13
|
-
font-display: swap;
|
|
14
|
-
src: url('/assets/resources/fonts/OpenSans/OpenSans-VariableFont_wdth_wght.ttf') format('truetype');
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
@font-face {
|
|
18
|
-
font-family: 'Open Sans';
|
|
19
|
-
font-style: italic;
|
|
20
|
-
font-weight: 100 900;
|
|
21
|
-
font-display: swap;
|
|
22
|
-
src: url('/assets/resources/fonts/OpenSans/OpenSans-Italic-VariableFont_wdth_wght.ttf') format('truetype');
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
/* =======================
|
|
26
|
-
ROBOTO
|
|
27
|
-
======================= */
|
|
28
|
-
@font-face {
|
|
29
|
-
font-family: 'Roboto';
|
|
30
|
-
src: url('/assets/resources/fonts/Roboto/Roboto-Thin.ttf') format('truetype');
|
|
31
|
-
font-weight: 100;
|
|
32
|
-
font-style: normal;
|
|
33
|
-
font-display: swap;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
@font-face {
|
|
37
|
-
font-family: 'Roboto';
|
|
38
|
-
src: url('/assets/resources/fonts/Roboto/Roboto-ThinItalic.ttf') format('truetype');
|
|
39
|
-
font-weight: 100;
|
|
40
|
-
font-style: italic;
|
|
41
|
-
font-display: swap;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
@font-face {
|
|
45
|
-
font-family: 'Roboto';
|
|
46
|
-
src: url('/assets/resources/fonts/Roboto/Roboto-Light.ttf') format('truetype');
|
|
47
|
-
font-weight: 300;
|
|
48
|
-
font-style: normal;
|
|
49
|
-
font-display: swap;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
@font-face {
|
|
53
|
-
font-family: 'Roboto';
|
|
54
|
-
src: url('/assets/resources/fonts/Roboto/Roboto-LightItalic.ttf') format('truetype');
|
|
55
|
-
font-weight: 300;
|
|
56
|
-
font-style: italic;
|
|
57
|
-
font-display: swap;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
@font-face {
|
|
61
|
-
font-family: 'Roboto';
|
|
62
|
-
src: url('/assets/resources/fonts/Roboto/Roboto-Regular.ttf') format('truetype');
|
|
63
|
-
font-weight: 400;
|
|
64
|
-
font-style: normal;
|
|
65
|
-
font-display: swap;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
@font-face {
|
|
69
|
-
font-family: 'Roboto';
|
|
70
|
-
src: url('/assets/resources/fonts/Roboto/Roboto-Italic.ttf') format('truetype');
|
|
71
|
-
font-weight: 400;
|
|
72
|
-
font-style: italic;
|
|
73
|
-
font-display: swap;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
@font-face {
|
|
77
|
-
font-family: 'Roboto';
|
|
78
|
-
src: url('/assets/resources/fonts/Roboto/Roboto-Medium.ttf') format('truetype');
|
|
79
|
-
font-weight: 500;
|
|
80
|
-
font-style: normal;
|
|
81
|
-
font-display: swap;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
@font-face {
|
|
85
|
-
font-family: 'Roboto';
|
|
86
|
-
src: url('/assets/resources/fonts/Roboto/Roboto-MediumItalic.ttf') format('truetype');
|
|
87
|
-
font-weight: 500;
|
|
88
|
-
font-style: italic;
|
|
89
|
-
font-display: swap;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
@font-face {
|
|
93
|
-
font-family: 'Roboto';
|
|
94
|
-
src: url('/assets/resources/fonts/Roboto/Roboto-Bold.ttf') format('truetype');
|
|
95
|
-
font-weight: 700;
|
|
96
|
-
font-style: normal;
|
|
97
|
-
font-display: swap;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
@font-face {
|
|
101
|
-
font-family: 'Roboto';
|
|
102
|
-
src: url('/assets/resources/fonts/Roboto/Roboto-BoldItalic.ttf') format('truetype');
|
|
103
|
-
font-weight: 700;
|
|
104
|
-
font-style: italic;
|
|
105
|
-
font-display: swap;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
@font-face {
|
|
109
|
-
font-family: 'Roboto';
|
|
110
|
-
src: url('/assets/resources/fonts/Roboto/Roboto-Black.ttf') format('truetype');
|
|
111
|
-
font-weight: 900;
|
|
112
|
-
font-style: normal;
|
|
113
|
-
font-display: swap;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
@font-face {
|
|
117
|
-
font-family: 'Roboto';
|
|
118
|
-
src: url('/assets/resources/fonts/Roboto/Roboto-BlackItalic.ttf') format('truetype');
|
|
119
|
-
font-weight: 900;
|
|
120
|
-
font-style: italic;
|
|
121
|
-
font-display: swap;
|
|
122
|
-
}
|
package/ng-package.json
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
|
|
3
|
-
"dest": "../../dist/fragments",
|
|
4
|
-
"allowedNonPeerDependencies": [
|
|
5
|
-
"uuid"
|
|
6
|
-
],
|
|
7
|
-
"lib": {
|
|
8
|
-
"entryFile": "src/public-api.ts",
|
|
9
|
-
"styleIncludePaths": [
|
|
10
|
-
"projects/fragments/assets/styles/scss"
|
|
11
|
-
]
|
|
12
|
-
},
|
|
13
|
-
"assets": [
|
|
14
|
-
{
|
|
15
|
-
"glob": "**/*.scss",
|
|
16
|
-
"input": "./assets/styles/scss",
|
|
17
|
-
"output": "/assets/styles/scss"
|
|
18
|
-
}
|
|
19
|
-
]
|
|
20
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
<div
|
|
2
|
-
class="frg-accordion"
|
|
3
|
-
[class.frg-accordion--multi]="multi"
|
|
4
|
-
[class.is-animated]="animated"
|
|
5
|
-
[attr.data-style]="styleType"
|
|
6
|
-
[attr.data-size]="size">
|
|
7
|
-
@for (item of viewItems; track item?.id; let i = $index) {
|
|
8
|
-
<div
|
|
9
|
-
class="frg-accordion__item"
|
|
10
|
-
[attr.data-style]="item?.style || styleType"
|
|
11
|
-
[attr.data-size]="item?.size || size"
|
|
12
|
-
[class.is-expanded]="isExpanded(item?.id)"
|
|
13
|
-
[class.is-disabled]="item?.disabled">
|
|
14
|
-
<button
|
|
15
|
-
type="button"
|
|
16
|
-
#headerBtn
|
|
17
|
-
class="frg-accordion__header"
|
|
18
|
-
[attr.data-size]="item?.size || size"
|
|
19
|
-
[attr.id]="headerId(item!.id!)"
|
|
20
|
-
[attr.aria-controls]="panelId(item!.id!)"
|
|
21
|
-
[attr.aria-expanded]="isExpanded(item?.id)"
|
|
22
|
-
[attr.aria-disabled]="item?.disabled || null"
|
|
23
|
-
[disabled]="item?.disabled"
|
|
24
|
-
(click)="onHeaderClick(i, $event)"
|
|
25
|
-
(keydown)="onHeaderKeydown($event, i)">
|
|
26
|
-
<span class="frg-accordion__header-content">
|
|
27
|
-
@if (item?.iconTemplate || iconTemplate || item?.icon) {
|
|
28
|
-
<span class="frg-accordion__icon" aria-hidden="true">
|
|
29
|
-
@if (item?.iconTemplate) {
|
|
30
|
-
<ng-container
|
|
31
|
-
[ngTemplateOutlet]="item?.iconTemplate"
|
|
32
|
-
[ngTemplateOutletContext]="buildContext(item!, i)">
|
|
33
|
-
</ng-container>
|
|
34
|
-
} @else if (iconTemplate) {
|
|
35
|
-
<ng-container
|
|
36
|
-
[ngTemplateOutlet]="iconTemplate"
|
|
37
|
-
[ngTemplateOutletContext]="buildContext(item!, i)">
|
|
38
|
-
</ng-container>
|
|
39
|
-
} @else if (item?.icon) {
|
|
40
|
-
<span class="frg-accordion__icon-shape">{{ item?.icon }}</span>
|
|
41
|
-
}
|
|
42
|
-
</span>
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
<span class="frg-accordion__heading">
|
|
46
|
-
@if (item?.headerTemplate || headerTemplate) {
|
|
47
|
-
<ng-container
|
|
48
|
-
[ngTemplateOutlet]="item?.headerTemplate || headerTemplate"
|
|
49
|
-
[ngTemplateOutletContext]="buildContext(item!, i)">
|
|
50
|
-
</ng-container>
|
|
51
|
-
} @else {
|
|
52
|
-
<span class="frg-accordion__title">{{ item?.title }}</span>
|
|
53
|
-
@if (item?.subtitle) {
|
|
54
|
-
<span class="frg-accordion__subtitle">{{ item?.subtitle }}</span>
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
</span>
|
|
58
|
-
</span>
|
|
59
|
-
|
|
60
|
-
<span
|
|
61
|
-
class="frg-accordion__chevron"
|
|
62
|
-
aria-hidden="true"
|
|
63
|
-
[class.is-custom]="item?.toggleIconTemplate || toggleIconTemplate"
|
|
64
|
-
[class.is-open]="isExpanded(item?.id)">
|
|
65
|
-
@if (item?.toggleIconTemplate || toggleIconTemplate) {
|
|
66
|
-
<ng-container
|
|
67
|
-
[ngTemplateOutlet]="item?.toggleIconTemplate || toggleIconTemplate"
|
|
68
|
-
[ngTemplateOutletContext]="buildContext(item!, i)">
|
|
69
|
-
</ng-container>
|
|
70
|
-
} @else {
|
|
71
|
-
<span class="frg-accordion__chevron-icon"></span>
|
|
72
|
-
}
|
|
73
|
-
</span>
|
|
74
|
-
</button>
|
|
75
|
-
|
|
76
|
-
<section
|
|
77
|
-
class="frg-accordion__panel-wrapper"
|
|
78
|
-
[class.is-open]="isExpanded(item?.id)"
|
|
79
|
-
[attr.id]="panelId(item!.id!)"
|
|
80
|
-
[attr.aria-labelledby]="headerId(item!.id!)"
|
|
81
|
-
[attr.aria-hidden]="!isExpanded(item?.id)">
|
|
82
|
-
<div
|
|
83
|
-
class="frg-accordion__panel"
|
|
84
|
-
#panelBody
|
|
85
|
-
tabindex="-1"
|
|
86
|
-
[class.is-open]="isExpanded(item?.id)">
|
|
87
|
-
@if (item?.contentTemplate || contentTemplate) {
|
|
88
|
-
<ng-container
|
|
89
|
-
[ngTemplateOutlet]="item?.contentTemplate || contentTemplate"
|
|
90
|
-
[ngTemplateOutletContext]="buildContext(item!, i)">
|
|
91
|
-
</ng-container>
|
|
92
|
-
} @else {
|
|
93
|
-
@if (item?.content) {
|
|
94
|
-
{{ item?.content }}
|
|
95
|
-
} @else if (item?.data; as payload) {
|
|
96
|
-
{{ payload }}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
</div>
|
|
100
|
-
</section>
|
|
101
|
-
</div>
|
|
102
|
-
}
|
|
103
|
-
</div>
|