otimus-library 0.2.48 → 0.2.50
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/esm2022/lib/components/oc-accordion/oc-accordion.component.mjs +48 -0
- package/esm2022/lib/components/oc-accordion-item/oc-accordion-item.component.mjs +35 -0
- package/esm2022/lib/components/oc-autocomplete/oc-autocomplete.component.mjs +275 -0
- package/esm2022/lib/components/oc-badge/oc-badge.component.mjs +30 -0
- package/esm2022/lib/components/oc-checkbox/oc-checkbox.component.mjs +133 -0
- package/esm2022/lib/components/oc-chip/oc-chip.component.mjs +45 -0
- package/esm2022/lib/components/oc-filter/oc-filter.component.mjs +39 -0
- package/esm2022/lib/components/oc-input/oc-input.component.mjs +97 -0
- package/esm2022/lib/components/oc-key-value/oc-key-value.component.mjs +29 -0
- package/esm2022/lib/components/oc-log/oc-log.component.mjs +22 -0
- package/esm2022/lib/components/oc-menu/oc-menu.component.mjs +81 -0
- package/esm2022/lib/components/oc-modal/oc-modal.component.mjs +85 -0
- package/esm2022/lib/components/oc-modal-footer/oc-modal-footer.component.mjs +23 -0
- package/esm2022/lib/components/oc-not-found/oc-not-found.component.mjs +11 -0
- package/esm2022/lib/components/oc-pagination/oc-pagination.component.mjs +49 -0
- package/esm2022/lib/components/oc-profile/oc-profile.component.mjs +38 -0
- package/esm2022/lib/components/oc-step/oc-step.component.mjs +49 -0
- package/esm2022/lib/components/oc-stepper/oc-stepper.component.mjs +90 -0
- package/esm2022/lib/components/oc-tab/oc-tab.component.mjs +20 -0
- package/esm2022/lib/components/oc-tabs/oc-tabs.component.mjs +42 -0
- package/esm2022/lib/components/oc-toast/oc-toast.component.mjs +17 -0
- package/esm2022/lib/components/oc-toggle/oc-toggle.component.mjs +34 -0
- package/esm2022/lib/directives/oc-tooltip/oc-tooltip.directive.mjs +117 -0
- package/esm2022/lib/interfaces/oc-autocomplete.mjs +2 -0
- package/esm2022/lib/interfaces/oc-menu.mjs +2 -0
- package/esm2022/lib/interfaces/oc-style-theme.mjs +2 -0
- package/esm2022/lib/interfaces/oc-toast.mjs +2 -0
- package/esm2022/lib/otimus-library.component.mjs +19 -0
- package/esm2022/lib/otimus-library.service.mjs +14 -0
- package/esm2022/lib/services/internationalization.service.mjs +68 -0
- package/esm2022/lib/services/oc-toast.service.mjs +81 -0
- package/esm2022/lib/services/style-theme.service.mjs +21 -0
- package/esm2022/otimus-library.mjs +5 -0
- package/esm2022/public-api.mjs +30 -0
- package/fesm2022/otimus-library.mjs +1513 -0
- package/fesm2022/otimus-library.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/oc-accordion/oc-accordion.component.d.ts +18 -0
- package/lib/components/oc-accordion-item/oc-accordion-item.component.d.ts +12 -0
- package/lib/components/oc-autocomplete/oc-autocomplete.component.d.ts +68 -0
- package/lib/components/oc-badge/oc-badge.component.d.ts +11 -0
- package/lib/components/oc-checkbox/oc-checkbox.component.d.ts +35 -0
- package/lib/components/oc-chip/oc-chip.component.d.ts +14 -0
- package/lib/components/oc-filter/oc-filter.component.d.ts +17 -0
- package/lib/components/oc-input/oc-input.component.d.ts +31 -0
- package/lib/components/oc-key-value/oc-key-value.component.d.ts +14 -0
- package/lib/components/oc-log/oc-log.component.d.ts +7 -0
- package/lib/components/oc-menu/oc-menu.component.d.ts +20 -0
- package/lib/components/oc-modal/oc-modal.component.d.ts +30 -0
- package/lib/components/oc-modal-footer/oc-modal-footer.component.d.ts +8 -0
- package/lib/components/oc-not-found/oc-not-found.component.d.ts +5 -0
- package/lib/components/oc-pagination/oc-pagination.component.d.ts +14 -0
- package/lib/components/oc-profile/oc-profile.component.d.ts +12 -0
- package/lib/components/oc-step/oc-step.component.d.ts +22 -0
- package/lib/components/oc-stepper/oc-stepper.component.d.ts +24 -0
- package/lib/components/oc-tab/oc-tab.component.d.ts +8 -0
- package/lib/components/oc-tabs/oc-tabs.component.d.ts +18 -0
- package/lib/components/oc-toast/oc-toast.component.d.ts +8 -0
- package/lib/components/oc-toggle/oc-toggle.component.d.ts +12 -0
- package/lib/directives/oc-tooltip/oc-tooltip.directive.d.ts +20 -0
- package/lib/interfaces/oc-autocomplete.d.ts +5 -0
- package/lib/interfaces/oc-menu.d.ts +9 -0
- package/lib/interfaces/oc-style-theme.d.ts +2 -0
- package/lib/interfaces/oc-toast.d.ts +8 -0
- package/lib/otimus-library.component.d.ts +5 -0
- package/lib/otimus-library.service.d.ts +6 -0
- package/lib/services/internationalization.service.d.ts +17 -0
- package/lib/services/oc-toast.service.d.ts +14 -0
- package/lib/services/style-theme.service.d.ts +8 -0
- package/package.json +13 -4
- package/public-api.d.ts +26 -0
- package/ng-package.json +0 -12
- package/src/assets/images/loading.svg +0 -0
- package/src/assets/images/not-found-bg.jpg +0 -0
- package/src/lib/components/oc-accordion/oc-accordion.component.html +0 -3
- package/src/lib/components/oc-accordion/oc-accordion.component.scss +0 -4
- package/src/lib/components/oc-accordion/oc-accordion.component.ts +0 -44
- package/src/lib/components/oc-accordion-item/oc-accordion-item.component.html +0 -19
- package/src/lib/components/oc-accordion-item/oc-accordion-item.component.scss +0 -86
- package/src/lib/components/oc-accordion-item/oc-accordion-item.component.ts +0 -27
- package/src/lib/components/oc-accordion-item/styles/oc-accordion-item.shui-component.scss +0 -41
- package/src/lib/components/oc-autocomplete/oc-autocomplete.component.html +0 -66
- package/src/lib/components/oc-autocomplete/oc-autocomplete.component.scss +0 -157
- package/src/lib/components/oc-autocomplete/oc-autocomplete.component.ts +0 -277
- package/src/lib/components/oc-badge/oc-badge.component.html +0 -7
- package/src/lib/components/oc-badge/oc-badge.component.scss +0 -125
- package/src/lib/components/oc-badge/oc-badge.component.ts +0 -22
- package/src/lib/components/oc-checkbox/oc-checkbox.component.html +0 -30
- package/src/lib/components/oc-checkbox/oc-checkbox.component.scss +0 -103
- package/src/lib/components/oc-checkbox/oc-checkbox.component.ts +0 -132
- package/src/lib/components/oc-checkbox/styles/oc-checkbox.shui-component.scss +0 -21
- package/src/lib/components/oc-chip/oc-chip.component.html +0 -20
- package/src/lib/components/oc-chip/oc-chip.component.scss +0 -102
- package/src/lib/components/oc-chip/oc-chip.component.ts +0 -32
- package/src/lib/components/oc-filter/oc-filter.component.html +0 -22
- package/src/lib/components/oc-filter/oc-filter.component.scss +0 -78
- package/src/lib/components/oc-filter/oc-filter.component.spec.ts +0 -23
- package/src/lib/components/oc-filter/oc-filter.component.ts +0 -30
- package/src/lib/components/oc-input/oc-input.component.html +0 -21
- package/src/lib/components/oc-input/oc-input.component.scss +0 -3
- package/src/lib/components/oc-input/oc-input.component.ts +0 -100
- package/src/lib/components/oc-key-value/oc-key-value.component.html +0 -12
- package/src/lib/components/oc-key-value/oc-key-value.component.scss +0 -26
- package/src/lib/components/oc-key-value/oc-key-value.component.ts +0 -23
- package/src/lib/components/oc-key-value/styles/oc-key-value.shui-component.scss +0 -26
- package/src/lib/components/oc-log/oc-log.component.html +0 -18
- package/src/lib/components/oc-log/oc-log.component.scss +0 -61
- package/src/lib/components/oc-log/oc-log.component.ts +0 -15
- package/src/lib/components/oc-menu/oc-menu.component.html +0 -31
- package/src/lib/components/oc-menu/oc-menu.component.scss +0 -101
- package/src/lib/components/oc-menu/oc-menu.component.ts +0 -84
- package/src/lib/components/oc-modal/oc-modal.component.html +0 -54
- package/src/lib/components/oc-modal/oc-modal.component.scss +0 -204
- package/src/lib/components/oc-modal/oc-modal.component.ts +0 -82
- package/src/lib/components/oc-modal/styles/oc-modal.shui-component.scss +0 -3
- package/src/lib/components/oc-modal-footer/oc-modal-footer.component.html +0 -11
- package/src/lib/components/oc-modal-footer/oc-modal-footer.component.scss +0 -27
- package/src/lib/components/oc-modal-footer/oc-modal-footer.component.ts +0 -15
- package/src/lib/components/oc-not-found/oc-not-found.component.html +0 -14
- package/src/lib/components/oc-not-found/oc-not-found.component.scss +0 -153
- package/src/lib/components/oc-not-found/oc-not-found.component.spec.ts +0 -23
- package/src/lib/components/oc-not-found/oc-not-found.component.ts +0 -12
- package/src/lib/components/oc-pagination/oc-pagination.component.html +0 -32
- package/src/lib/components/oc-pagination/oc-pagination.component.scss +0 -80
- package/src/lib/components/oc-pagination/oc-pagination.component.ts +0 -46
- package/src/lib/components/oc-profile/oc-profile.component.html +0 -17
- package/src/lib/components/oc-profile/oc-profile.component.scss +0 -80
- package/src/lib/components/oc-profile/oc-profile.component.ts +0 -38
- package/src/lib/components/oc-step/oc-step.component.html +0 -32
- package/src/lib/components/oc-step/oc-step.component.scss +0 -106
- package/src/lib/components/oc-step/oc-step.component.ts +0 -39
- package/src/lib/components/oc-step/styles/oc-step.shui-component.scss +0 -52
- package/src/lib/components/oc-stepper/oc-stepper.component.html +0 -3
- package/src/lib/components/oc-stepper/oc-stepper.component.scss +0 -9
- package/src/lib/components/oc-stepper/oc-stepper.component.ts +0 -86
- package/src/lib/components/oc-tab/oc-tab.component.html +0 -3
- package/src/lib/components/oc-tab/oc-tab.component.scss +0 -0
- package/src/lib/components/oc-tab/oc-tab.component.ts +0 -15
- package/src/lib/components/oc-table/oc-table.component.html +0 -62
- package/src/lib/components/oc-table/oc-table.component.scss +0 -2
- package/src/lib/components/oc-table/oc-table.component.ts +0 -51
- package/src/lib/components/oc-tabs/oc-tabs.component.html +0 -13
- package/src/lib/components/oc-tabs/oc-tabs.component.scss +0 -47
- package/src/lib/components/oc-tabs/oc-tabs.component.ts +0 -46
- package/src/lib/components/oc-tabs/styles/oc-tabs.shui-component.scss +0 -25
- package/src/lib/components/oc-toast/oc-toast.component.html +0 -46
- package/src/lib/components/oc-toast/oc-toast.component.scss +0 -133
- package/src/lib/components/oc-toast/oc-toast.component.ts +0 -15
- package/src/lib/components/oc-toggle/oc-toggle.component.html +0 -4
- package/src/lib/components/oc-toggle/oc-toggle.component.scss +0 -73
- package/src/lib/components/oc-toggle/oc-toggle.component.spec.ts +0 -23
- package/src/lib/components/oc-toggle/oc-toggle.component.ts +0 -32
- package/src/lib/directives/oc-tooltip/oc-tooltip.directive.ts +0 -108
- package/src/lib/interfaces/internal/languages.ts +0 -16
- package/src/lib/interfaces/oc-autocomplete.ts +0 -6
- package/src/lib/interfaces/oc-menu.ts +0 -10
- package/src/lib/interfaces/oc-style-theme.ts +0 -3
- package/src/lib/interfaces/oc-table.ts +0 -12
- package/src/lib/interfaces/oc-toast.ts +0 -8
- package/src/lib/otimus-library.component.ts +0 -16
- package/src/lib/otimus-library.service.ts +0 -9
- package/src/lib/services/internationalization.service.ts +0 -73
- package/src/lib/services/oc-toast.service.ts +0 -107
- package/src/lib/services/style-theme.service.ts +0 -19
- package/src/public-api.ts +0 -30
- package/tsconfig.lib.json +0 -14
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -14
- /package/{src/assets → assets}/fonts/siemens/SH-Bree-Headline-Oblique.woff +0 -0
- /package/{src/assets → assets}/fonts/siemens/SH-Bree-Headline-Oblique.woff2 +0 -0
- /package/{src/assets → assets}/fonts/siemens/SH-Bree-Headline-Regular.woff +0 -0
- /package/{src/assets → assets}/fonts/siemens/SH-Bree-Headline-Regular.woff2 +0 -0
- /package/{src/assets → assets}/fonts/siemens/SiemensSans-Black.woff +0 -0
- /package/{src/assets → assets}/fonts/siemens/SiemensSans-Black.woff2 +0 -0
- /package/{src/assets → assets}/fonts/siemens/SiemensSans-BlackItalic.woff +0 -0
- /package/{src/assets → assets}/fonts/siemens/SiemensSans-BlackItalic.woff2 +0 -0
- /package/{src/assets → assets}/fonts/siemens/SiemensSans-Bold.woff +0 -0
- /package/{src/assets → assets}/fonts/siemens/SiemensSans-Bold.woff2 +0 -0
- /package/{src/assets → assets}/fonts/siemens/SiemensSans-BoldItalic.woff +0 -0
- /package/{src/assets → assets}/fonts/siemens/SiemensSans-BoldItalic.woff2 +0 -0
- /package/{src/assets → assets}/fonts/siemens/SiemensSans-Italic.woff +0 -0
- /package/{src/assets → assets}/fonts/siemens/SiemensSans-Italic.woff2 +0 -0
- /package/{src/assets → assets}/fonts/siemens/SiemensSans-Roman.woff +0 -0
- /package/{src/assets → assets}/fonts/siemens/SiemensSans-Roman.woff2 +0 -0
- /package/{src/styles → styles}/colors.scss +0 -0
- /package/{src/styles → styles}/components/buttons/buttons.scss +0 -0
- /package/{src/styles → styles}/components/buttons/buttons.shui.scss +0 -0
- /package/{src/styles → styles}/components/index.scss +0 -0
- /package/{src/styles → styles}/components/inputs/inputs.scss +0 -0
- /package/{src/styles → styles}/components/inputs/inputs.shui.scss +0 -0
- /package/{src/styles → styles}/components/table/table.scss +0 -0
- /package/{src/styles → styles}/components/table/table.shui.scss +0 -0
- /package/{src/styles → styles}/components/tooltip.scss +0 -0
- /package/{src/styles → styles}/grid.scss +0 -0
- /package/{src/styles → styles}/patterns/shui/colors.shui.scss +0 -0
- /package/{src/styles → styles}/patterns/shui/fonts.shui.scss +0 -0
- /package/{src/styles → styles}/patterns/shui/index.shui.scss +0 -0
- /package/{src/styles → styles}/patterns/shui/variables.shui.scss +0 -0
- /package/{src/styles → styles}/states.scss +0 -0
- /package/{src/styles → styles}/styles.scss +0 -0
- /package/{src/styles → styles}/variables.scss +0 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { OcStyleThemeType } from '../../interfaces/oc-style-theme';
|
|
3
|
+
import { StyleThemeService } from '../../services/style-theme.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class OcModalComponent implements AfterViewInit {
|
|
6
|
+
private elRef;
|
|
7
|
+
private styleThemeService;
|
|
8
|
+
private cdr;
|
|
9
|
+
constructor(elRef: ElementRef, styleThemeService: StyleThemeService, cdr: ChangeDetectorRef);
|
|
10
|
+
ocClose: boolean;
|
|
11
|
+
ocTitle: string;
|
|
12
|
+
ocSize: 'small' | 'medium' | 'large' | 'screen';
|
|
13
|
+
ocBgColor?: string;
|
|
14
|
+
ocWidth: string;
|
|
15
|
+
ocMaxWidth: string;
|
|
16
|
+
ocStyle: OcStyleThemeType;
|
|
17
|
+
ocLoading: boolean;
|
|
18
|
+
ocOnClose: EventEmitter<any>;
|
|
19
|
+
ocOnOpen: EventEmitter<any>;
|
|
20
|
+
isOpen: boolean;
|
|
21
|
+
closing: boolean;
|
|
22
|
+
ngAfterViewInit(): void;
|
|
23
|
+
open(): void;
|
|
24
|
+
close(): void;
|
|
25
|
+
protected getModalStyles(): {
|
|
26
|
+
[key: string]: string;
|
|
27
|
+
};
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OcModalComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OcModalComponent, "oc-modal", never, { "ocClose": { "alias": "ocClose"; "required": false; }; "ocTitle": { "alias": "ocTitle"; "required": false; }; "ocSize": { "alias": "ocSize"; "required": false; }; "ocBgColor": { "alias": "ocBgColor"; "required": false; }; "ocWidth": { "alias": "ocWidth"; "required": false; }; "ocMaxWidth": { "alias": "ocMaxWidth"; "required": false; }; "ocStyle": { "alias": "ocStyle"; "required": false; }; "ocLoading": { "alias": "ocLoading"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; }, { "ocOnClose": "ocOnClose"; "ocOnOpen": "ocOnOpen"; }, never, ["*"], true, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class OcModalFooterComponent {
|
|
3
|
+
ocSide: 'left' | 'right';
|
|
4
|
+
ocBgColor?: string;
|
|
5
|
+
ocFixed: boolean;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OcModalFooterComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OcModalFooterComponent, "oc-modal-footer", never, { "ocSide": { "alias": "ocSide"; "required": false; }; "ocBgColor": { "alias": "ocBgColor"; "required": false; }; "ocFixed": { "alias": "ocFixed"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class OcNotFoundComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OcNotFoundComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OcNotFoundComponent, "oc-not-found", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class OcPaginationComponent implements OnInit {
|
|
4
|
+
ocPage: number;
|
|
5
|
+
ocMaxPage?: number;
|
|
6
|
+
ocGetPage: EventEmitter<number>;
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
firstPage(): void;
|
|
9
|
+
decrementPage(): void;
|
|
10
|
+
incrementPage(): void;
|
|
11
|
+
lastPage(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OcPaginationComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OcPaginationComponent, "oc-pagination", never, { "ocPage": { "alias": "ocPage"; "required": false; }; "ocMaxPage": { "alias": "ocMaxPage"; "required": false; }; }, { "ocGetPage": "ocGetPage"; }, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class OcProfileComponent implements OnInit {
|
|
4
|
+
ocUserName?: string;
|
|
5
|
+
ocProfilePic?: string;
|
|
6
|
+
ocSize: 'large' | 'medium' | 'small' | 'tiny';
|
|
7
|
+
nameInitials: string;
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
getInitials(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OcProfileComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OcProfileComponent, "oc-profile", never, { "ocUserName": { "alias": "ocUserName"; "required": false; }; "ocProfilePic": { "alias": "ocProfilePic"; "required": false; }; "ocSize": { "alias": "ocSize"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { AfterViewInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { StyleThemeService } from '../../services/style-theme.service';
|
|
3
|
+
import { OcStyleThemeType } from '../../interfaces/oc-style-theme';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class OcStepComponent implements AfterViewInit {
|
|
6
|
+
private styleThemeService;
|
|
7
|
+
constructor(styleThemeService: StyleThemeService);
|
|
8
|
+
ocIsActive: boolean;
|
|
9
|
+
ocTitle: string;
|
|
10
|
+
ocColor: 'purple' | 'green';
|
|
11
|
+
ocCompleted: boolean;
|
|
12
|
+
ocStyle: OcStyleThemeType;
|
|
13
|
+
ocClick: EventEmitter<any>;
|
|
14
|
+
stepIndex: number;
|
|
15
|
+
selectedIndex: number;
|
|
16
|
+
lastIndex: number;
|
|
17
|
+
ngAfterViewInit(): void;
|
|
18
|
+
protected handleStepClick(stepIndex: number): void;
|
|
19
|
+
selectStep: (index: number) => void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OcStepComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OcStepComponent, "oc-step", never, { "ocIsActive": { "alias": "ocIsActive"; "required": false; }; "ocTitle": { "alias": "ocTitle"; "required": false; }; "ocColor": { "alias": "ocColor"; "required": false; }; "ocCompleted": { "alias": "ocCompleted"; "required": false; }; "ocStyle": { "alias": "ocStyle"; "required": false; }; "selectStep": { "alias": "selectStep"; "required": false; }; }, { "ocClick": "ocClick"; }, never, ["*"], true, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { AfterViewInit, QueryList } from '@angular/core';
|
|
2
|
+
import { OcStepComponent } from '../oc-step/oc-step.component';
|
|
3
|
+
import { OcStyleThemeType } from '../../interfaces/oc-style-theme';
|
|
4
|
+
import { StyleThemeService } from '../../services/style-theme.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class OcStepperComponent implements AfterViewInit {
|
|
7
|
+
private styleThemeService;
|
|
8
|
+
constructor(styleThemeService: StyleThemeService);
|
|
9
|
+
ocSteps: QueryList<OcStepComponent>;
|
|
10
|
+
ocAllowNavigation: boolean;
|
|
11
|
+
ocColor: 'purple' | 'green';
|
|
12
|
+
ocCurrentIndex: number;
|
|
13
|
+
ocSaveCompletedSteps: boolean;
|
|
14
|
+
ocStyle: OcStyleThemeType;
|
|
15
|
+
private completedSteps;
|
|
16
|
+
ngAfterViewInit(): void;
|
|
17
|
+
private setCompletedSteps;
|
|
18
|
+
setStepsValues(): void;
|
|
19
|
+
selectStep(index: number): void;
|
|
20
|
+
nextStep(event: Event): void;
|
|
21
|
+
previousStep(event: Event): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OcStepperComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OcStepperComponent, "oc-stepper", never, { "ocAllowNavigation": { "alias": "ocAllowNavigation"; "required": false; }; "ocColor": { "alias": "ocColor"; "required": false; }; "ocCurrentIndex": { "alias": "ocCurrentIndex"; "required": false; }; "ocSaveCompletedSteps": { "alias": "ocSaveCompletedSteps"; "required": false; }; "ocStyle": { "alias": "ocStyle"; "required": false; }; }, {}, ["ocSteps"], ["*"], true, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class OcTabComponent {
|
|
3
|
+
ocTitle: string;
|
|
4
|
+
ocIsActive: boolean;
|
|
5
|
+
tabIndex: number;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OcTabComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OcTabComponent, "oc-tab", never, { "ocTitle": { "alias": "ocTitle"; "required": false; }; "ocIsActive": { "alias": "ocIsActive"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { QueryList, AfterContentInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { OcTabComponent } from '../oc-tab/oc-tab.component';
|
|
3
|
+
import { StyleThemeService } from '../../services/style-theme.service';
|
|
4
|
+
import { OcStyleThemeType } from '../../interfaces/oc-style-theme';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class OcTabsComponent implements AfterContentInit {
|
|
7
|
+
private styleThemeService;
|
|
8
|
+
constructor(styleThemeService: StyleThemeService);
|
|
9
|
+
ocTabs: QueryList<OcTabComponent>;
|
|
10
|
+
ocStyle: OcStyleThemeType;
|
|
11
|
+
ocClick: EventEmitter<void>;
|
|
12
|
+
activeTabIndex: number;
|
|
13
|
+
ngAfterContentInit(): void;
|
|
14
|
+
selectTab(index: number): void;
|
|
15
|
+
handleTabClick(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OcTabsComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OcTabsComponent, "oc-tabs", never, { "ocStyle": { "alias": "ocStyle"; "required": false; }; }, { "ocClick": "ocClick"; }, ["ocTabs"], ["*"], true, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OcToastService } from '../../services/oc-toast.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class OcToastComponent {
|
|
4
|
+
toast: OcToastService;
|
|
5
|
+
constructor(toast: OcToastService);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OcToastComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OcToastComponent, "oc-toast", never, {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class OcToggleComponent {
|
|
4
|
+
_ocChecked: boolean;
|
|
5
|
+
set ocChecked(value: boolean);
|
|
6
|
+
get ocChecked(): boolean;
|
|
7
|
+
ocColor: 'purple' | 'green';
|
|
8
|
+
ocCheckedChange: EventEmitter<boolean>;
|
|
9
|
+
toggleChecked(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OcToggleComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OcToggleComponent, "oc-toggle", never, { "ocChecked": { "alias": "ocChecked"; "required": false; }; "ocColor": { "alias": "ocColor"; "required": false; }; }, { "ocCheckedChange": "ocCheckedChange"; }, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class OcTooltipDirective {
|
|
4
|
+
private elRef;
|
|
5
|
+
private renderer;
|
|
6
|
+
constructor(elRef: ElementRef, renderer: Renderer2);
|
|
7
|
+
content: string;
|
|
8
|
+
side: 'bottom' | 'upon' | 'left' | 'right' | 'top' | 'mouse';
|
|
9
|
+
private created;
|
|
10
|
+
private tooltip;
|
|
11
|
+
createToolTip(): HTMLElement | null;
|
|
12
|
+
onMouseOver(event: MouseEvent): void;
|
|
13
|
+
mouseingInterval: any | null;
|
|
14
|
+
onMouseMove(event: MouseEvent): void;
|
|
15
|
+
private updateTooltipPosition;
|
|
16
|
+
private positionTooltipFixed;
|
|
17
|
+
onMouseOut(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OcTooltipDirective, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<OcTooltipDirective, "[ocTooltip]", never, { "content": { "alias": "content"; "required": false; }; "side": { "alias": "side"; "required": false; }; }, {}, never, never, true, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class OtimusLibraryComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OtimusLibraryComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OtimusLibraryComponent, "lib-otimus-library", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class InternationalizationService {
|
|
4
|
+
private http;
|
|
5
|
+
constructor(http: HttpClient);
|
|
6
|
+
private queryLang;
|
|
7
|
+
getTranslation(code: string | number, params?: {
|
|
8
|
+
[key: string]: string | number;
|
|
9
|
+
} | null): string;
|
|
10
|
+
getTranslationsByLanguage(): import("rxjs").Subscription | undefined;
|
|
11
|
+
canUpdateStoredLanguages(): boolean;
|
|
12
|
+
setLanguage(language: string): void;
|
|
13
|
+
setUpdatedLastTime(): void;
|
|
14
|
+
setLanguages(translations: Object): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InternationalizationService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InternationalizationService>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ToastType } from '../interfaces/oc-toast';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
type ToastStatusType = 'erro' | 'error' | 'success' | 'éxito' | 'sucesso' | 'carregando' | 'cargando' | 'loading' | 'informação' | 'información' | 'information';
|
|
4
|
+
export declare class OcToastService {
|
|
5
|
+
toastList: ToastType[];
|
|
6
|
+
isRunning: boolean;
|
|
7
|
+
currentToast: ToastType;
|
|
8
|
+
closeToast(id: number): void;
|
|
9
|
+
openToast: (toastStatus: ToastStatusType, toastMessage: string, toastCounter?: number, promiseKey?: string) => void;
|
|
10
|
+
renderToasts(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OcToastService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<OcToastService>;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OcStyleThemeType } from '../interfaces/oc-style-theme';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class StyleThemeService {
|
|
4
|
+
constructor();
|
|
5
|
+
getStyleTheme(): OcStyleThemeType | undefined;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StyleThemeService, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<StyleThemeService>;
|
|
8
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "otimus-library",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.50",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/cdk": "^18.2.14",
|
|
@@ -17,7 +17,16 @@
|
|
|
17
17
|
"sideEffects": false,
|
|
18
18
|
"exports": {
|
|
19
19
|
".": {
|
|
20
|
-
"sass": "./src/styles/styles.scss"
|
|
20
|
+
"sass": "./src/styles/styles.scss",
|
|
21
|
+
"types": "./index.d.ts",
|
|
22
|
+
"esm2022": "./esm2022/otimus-library.mjs",
|
|
23
|
+
"esm": "./esm2022/otimus-library.mjs",
|
|
24
|
+
"default": "./fesm2022/otimus-library.mjs"
|
|
25
|
+
},
|
|
26
|
+
"./package.json": {
|
|
27
|
+
"default": "./package.json"
|
|
21
28
|
}
|
|
22
|
-
}
|
|
23
|
-
|
|
29
|
+
},
|
|
30
|
+
"module": "fesm2022/otimus-library.mjs",
|
|
31
|
+
"typings": "index.d.ts"
|
|
32
|
+
}
|
package/public-api.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export * from './lib/otimus-library.service';
|
|
2
|
+
export * from './lib/otimus-library.component';
|
|
3
|
+
export * from './lib/services/oc-toast.service';
|
|
4
|
+
export * from './lib/components/oc-badge/oc-badge.component';
|
|
5
|
+
export * from './lib/components/oc-filter/oc-filter.component';
|
|
6
|
+
export * from './lib/directives/oc-tooltip/oc-tooltip.directive';
|
|
7
|
+
export * from './lib/components/oc-input/oc-input.component';
|
|
8
|
+
export * from './lib/components/oc-modal/oc-modal.component';
|
|
9
|
+
export * from './lib/components/oc-key-value/oc-key-value.component';
|
|
10
|
+
export * from './lib/components/oc-chip/oc-chip.component';
|
|
11
|
+
export * from './lib/components/oc-modal-footer/oc-modal-footer.component';
|
|
12
|
+
export * from './lib/components/oc-autocomplete/oc-autocomplete.component';
|
|
13
|
+
export * from './lib/components/oc-profile/oc-profile.component';
|
|
14
|
+
export * from './lib/components/oc-log/oc-log.component';
|
|
15
|
+
export * from './lib/components/oc-pagination/oc-pagination.component';
|
|
16
|
+
export * from './lib/components/oc-not-found/oc-not-found.component';
|
|
17
|
+
export * from './lib/components/oc-menu/oc-menu.component';
|
|
18
|
+
export * from './lib/components/oc-toast/oc-toast.component';
|
|
19
|
+
export * from './lib/components/oc-checkbox/oc-checkbox.component';
|
|
20
|
+
export * from './lib/components/oc-toggle/oc-toggle.component';
|
|
21
|
+
export * from './lib/components/oc-stepper/oc-stepper.component';
|
|
22
|
+
export * from './lib/components/oc-step/oc-step.component';
|
|
23
|
+
export * from './lib/components/oc-tabs/oc-tabs.component';
|
|
24
|
+
export * from './lib/components/oc-tab/oc-tab.component';
|
|
25
|
+
export * from './lib/components/oc-accordion/oc-accordion.component';
|
|
26
|
+
export * from './lib/components/oc-accordion-item/oc-accordion-item.component';
|
package/ng-package.json
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
|
|
3
|
-
"dest": "../../dist/otimus-library",
|
|
4
|
-
"lib": {
|
|
5
|
-
"entryFile": "src/public-api.ts"
|
|
6
|
-
},
|
|
7
|
-
"assets": [
|
|
8
|
-
{ "input": "src/assets/iconfont", "glob": "**/*.*", "output": "assets/iconfont" },
|
|
9
|
-
{ "input": "src/assets/fonts", "glob": "**/*.*", "output": "assets/fonts" },
|
|
10
|
-
{ "input": "src/styles", "glob": "**/*.*", "output": "styles" }
|
|
11
|
-
]
|
|
12
|
-
}
|
|
File without changes
|
|
Binary file
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, Component, ContentChildren, Input, QueryList } from '@angular/core'
|
|
2
|
-
import { OcAccordionItemComponent } from '../oc-accordion-item/oc-accordion-item.component'
|
|
3
|
-
import { CommonModule } from '@angular/common'
|
|
4
|
-
import { OcStyleThemeType } from '../../interfaces/oc-style-theme'
|
|
5
|
-
import { StyleThemeService } from '../../services/style-theme.service'
|
|
6
|
-
|
|
7
|
-
@Component({
|
|
8
|
-
selector: 'oc-accordion',
|
|
9
|
-
standalone: true,
|
|
10
|
-
imports: [CommonModule, OcAccordionItemComponent],
|
|
11
|
-
templateUrl: './oc-accordion.component.html',
|
|
12
|
-
styleUrl: './oc-accordion.component.scss',
|
|
13
|
-
})
|
|
14
|
-
export class OcAccordionComponent implements AfterViewInit {
|
|
15
|
-
@ContentChildren(OcAccordionItemComponent) items!: QueryList<OcAccordionItemComponent>
|
|
16
|
-
@Input() ocAlternate: boolean = true
|
|
17
|
-
@Input() ocCurrentIndex?: number
|
|
18
|
-
@Input() ocStyle: OcStyleThemeType = 'otimus'
|
|
19
|
-
|
|
20
|
-
constructor(private styleThemeService: StyleThemeService) {}
|
|
21
|
-
|
|
22
|
-
ngAfterViewInit(): void {
|
|
23
|
-
this.items.forEach((item, i) => {
|
|
24
|
-
item.ocStyle = this.styleThemeService.getStyleTheme() || this.ocStyle
|
|
25
|
-
item.closeAllItems.subscribe(() => this.closeAllItems())
|
|
26
|
-
})
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
closeAllItems(): void {
|
|
30
|
-
if (this.ocAlternate) {
|
|
31
|
-
this.items.forEach((item) => (item.ocIsOpen = false))
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
alternateToIndex(index: number): void {
|
|
36
|
-
this.items.forEach((item, i) => {
|
|
37
|
-
if (i === index) {
|
|
38
|
-
item.ocIsOpen = true
|
|
39
|
-
return
|
|
40
|
-
}
|
|
41
|
-
item.ocIsOpen = false
|
|
42
|
-
})
|
|
43
|
-
}
|
|
44
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<div class="oc-accordion-item" [ngClass]="{
|
|
2
|
-
'shui': ocStyle === 'shui'
|
|
3
|
-
}">
|
|
4
|
-
<div class="item-header" [ngClass]="{
|
|
5
|
-
open: ocIsOpen
|
|
6
|
-
}" (click)="toggle()">
|
|
7
|
-
<h3>{{ocTitle}}</h3>
|
|
8
|
-
<span class="material-symbols-outlined">
|
|
9
|
-
keyboard_control_key
|
|
10
|
-
</span>
|
|
11
|
-
</div>
|
|
12
|
-
@if (ocIsOpen) {
|
|
13
|
-
<div class="oc-content" [ngClass]="{
|
|
14
|
-
open: ocIsOpen
|
|
15
|
-
}">
|
|
16
|
-
<ng-content></ng-content>
|
|
17
|
-
</div>
|
|
18
|
-
}
|
|
19
|
-
</div>
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
@use '../../../styles/variables.scss';
|
|
2
|
-
|
|
3
|
-
.oc-accordion-item {
|
|
4
|
-
width: 100%;
|
|
5
|
-
|
|
6
|
-
.item-header {
|
|
7
|
-
cursor: pointer;
|
|
8
|
-
|
|
9
|
-
transition: 0.1s ease;
|
|
10
|
-
|
|
11
|
-
display: flex;
|
|
12
|
-
justify-content: space-between;
|
|
13
|
-
align-items: center;
|
|
14
|
-
|
|
15
|
-
padding: 1.5rem;
|
|
16
|
-
border-radius: 1rem;
|
|
17
|
-
|
|
18
|
-
h3 {
|
|
19
|
-
color: variables.$color-gray-1;
|
|
20
|
-
padding: 0;
|
|
21
|
-
margin: 0;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
span {
|
|
25
|
-
transition: 0.3s ease;
|
|
26
|
-
color: variables.$color-gray-2;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&:hover {
|
|
30
|
-
background-color: variables.$color-gray-6;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&:active {
|
|
34
|
-
transform: scale(0.99);
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&.open {
|
|
39
|
-
background-color: variables.$color-gray-6;
|
|
40
|
-
|
|
41
|
-
border-bottom-left-radius: 0;
|
|
42
|
-
border-bottom-right-radius: 0;
|
|
43
|
-
h3 {
|
|
44
|
-
color: variables.$color-brand-p-1;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
span {
|
|
48
|
-
color: variables.$color-brand-g-1;
|
|
49
|
-
transform: rotate(180deg);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.closed, closed *{
|
|
55
|
-
display: none;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.oc-content {
|
|
59
|
-
animation: show-up 0.15s ease;
|
|
60
|
-
padding-left: 1.5rem;
|
|
61
|
-
padding-right: 1.5rem;
|
|
62
|
-
padding-top: 2rem;
|
|
63
|
-
padding-bottom: 2.5rem;
|
|
64
|
-
|
|
65
|
-
border-radius: 16px;
|
|
66
|
-
|
|
67
|
-
border-top-left-radius: 0;
|
|
68
|
-
border-top-right-radius: 0;
|
|
69
|
-
|
|
70
|
-
&.open {
|
|
71
|
-
background-color: variables.$color-gray-6;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
@keyframes show-up {
|
|
77
|
-
from {
|
|
78
|
-
opacity: 0;
|
|
79
|
-
transform: scale(0.5);
|
|
80
|
-
} to {
|
|
81
|
-
opacity: 1;
|
|
82
|
-
transform: scale(1);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
@import './styles/oc-accordion-item.shui-component.scss';
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common'
|
|
2
|
-
import { AfterViewInit, Component, EventEmitter, Input, Output } from '@angular/core'
|
|
3
|
-
import { OcStyleThemeType } from '../../interfaces/oc-style-theme'
|
|
4
|
-
import { StyleThemeService } from '../../services/style-theme.service'
|
|
5
|
-
|
|
6
|
-
@Component({
|
|
7
|
-
selector: 'oc-accordion-item',
|
|
8
|
-
standalone: true,
|
|
9
|
-
imports: [CommonModule],
|
|
10
|
-
templateUrl: './oc-accordion-item.component.html',
|
|
11
|
-
styleUrl: './oc-accordion-item.component.scss',
|
|
12
|
-
})
|
|
13
|
-
export class OcAccordionItemComponent {
|
|
14
|
-
@Input() ocIsOpen: boolean = false
|
|
15
|
-
@Input() ocTitle: string = ''
|
|
16
|
-
@Input() ocStyle: OcStyleThemeType = 'otimus'
|
|
17
|
-
@Output() closeAllItems = new EventEmitter()
|
|
18
|
-
|
|
19
|
-
protected toggle(): void {
|
|
20
|
-
if (this.ocIsOpen) {
|
|
21
|
-
this.ocIsOpen = !this.ocIsOpen
|
|
22
|
-
return
|
|
23
|
-
}
|
|
24
|
-
this.closeAllItems.emit()
|
|
25
|
-
this.ocIsOpen = !this.ocIsOpen
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
@use '../../../../styles/variables.scss';
|
|
2
|
-
|
|
3
|
-
.oc-accordion-item.shui {
|
|
4
|
-
width: 100%;
|
|
5
|
-
|
|
6
|
-
.item-header {
|
|
7
|
-
|
|
8
|
-
border-radius: 0;
|
|
9
|
-
h3 {
|
|
10
|
-
color: rgba(variables.$color-shui-ui-1, 0.75);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
span {
|
|
14
|
-
color: variables.$color-shui-ui-5;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
&:hover {
|
|
18
|
-
background-color: variables.$color-shui-base-2;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
&.open {
|
|
23
|
-
background-color: variables.$color-shui-base-2;
|
|
24
|
-
h3 {
|
|
25
|
-
color: variables.$color-shui-ui-8;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
span {
|
|
29
|
-
color: variables.$color-shui-ui-0;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.oc-content {
|
|
35
|
-
border-radius: 0;
|
|
36
|
-
|
|
37
|
-
&.open {
|
|
38
|
-
background-color: rgba(variables.$color-shui-base-2, 0.4);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|