@gipisistemas/ngx-core 1.0.1
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 +169 -0
- package/animations/fly-in-out.animation.d.ts +24 -0
- package/animations/index.d.ts +2 -0
- package/animations/rotate.animation.d.ts +35 -0
- package/base/components/base-form-dialog.component.d.ts +47 -0
- package/base/components/base-form.component.d.ts +54 -0
- package/base/components/base-list-dialog.component.d.ts +69 -0
- package/base/components/base-list.component.d.ts +77 -0
- package/base/components/base.component.d.ts +62 -0
- package/base/index.d.ts +20 -0
- package/base/models/base-applied-filter.model.d.ts +8 -0
- package/base/models/base-authority.model.d.ts +6 -0
- package/base/models/base-filter.model.d.ts +16 -0
- package/base/models/base-form-dialog-data.model.d.ts +11 -0
- package/base/models/base-list-dialog-data.model.d.ts +10 -0
- package/base/models/base-menu.model.d.ts +25 -0
- package/base/models/base-page.model.d.ts +11 -0
- package/base/models/base-query-params.model.d.ts +12 -0
- package/base/models/base-sort.model.d.ts +8 -0
- package/base/models/base-token.model.d.ts +11 -0
- package/base/models/base-user.model.d.ts +18 -0
- package/base/models/base.model.d.ts +20 -0
- package/base/services/base-auth.service.d.ts +31 -0
- package/base/services/base-crud.service.d.ts +178 -0
- package/base/services/base.service.d.ts +97 -0
- package/components/action-row/action-row.component.d.ts +8 -0
- package/components/action-row/action-row.component.scss +26 -0
- package/components/action-row/index.d.ts +1 -0
- package/components/auto-focus/auto-focus.directive.d.ts +17 -0
- package/components/auto-focus/index.d.ts +1 -0
- package/components/avatar/avatar.component.d.ts +23 -0
- package/components/avatar/avatar.component.scss +155 -0
- package/components/avatar/index.d.ts +1 -0
- package/components/button/button.component.d.ts +74 -0
- package/components/button/button.component.scss +196 -0
- package/components/button/index.d.ts +1 -0
- package/components/button-group/button-group.component.d.ts +39 -0
- package/components/button-group/button-group.component.scss +89 -0
- package/components/button-group/index.d.ts +2 -0
- package/components/button-group/shared/button-group-option.model.d.ts +6 -0
- package/components/checkbox/checkbox.component.d.ts +74 -0
- package/components/checkbox/checkbox.component.scss +147 -0
- package/components/checkbox/index.d.ts +1 -0
- package/components/chips/chips.component.d.ts +46 -0
- package/components/chips/chips.component.scss +127 -0
- package/components/chips/index.d.ts +1 -0
- package/components/confirm-dialog/confirm-dialog.component.d.ts +17 -0
- package/components/confirm-dialog/confirm-dialog.component.scss +121 -0
- package/components/confirm-dialog/index.d.ts +4 -0
- package/components/confirm-dialog/shared/confirm-dialog-types.enum.d.ts +7 -0
- package/components/confirm-dialog/shared/confirm-dialog.model.d.ts +25 -0
- package/components/confirm-dialog/shared/confirm-dialog.service.d.ts +17 -0
- package/components/date-picker/date-picker.component.d.ts +55 -0
- package/components/date-picker/date-picker.component.scss +27 -0
- package/components/date-picker/index.d.ts +1 -0
- package/components/date-range-picker/date-range-picker.component.d.ts +66 -0
- package/components/date-range-picker/date-range-picker.component.scss +89 -0
- package/components/date-range-picker/index.d.ts +6 -0
- package/components/date-range-picker/shared/calendar/calendar.component.d.ts +27 -0
- package/components/date-range-picker/shared/calendar/calendar.component.scss +13 -0
- package/components/date-range-picker/shared/default-preset-date-options.d.ts +2 -0
- package/components/date-range-picker/shared/preset-key.enum.d.ts +11 -0
- package/components/date-range-picker/shared/range-selection-strategy.service.d.ts +11 -0
- package/components/date-range-picker/shared/select-date-option.interface.d.ts +32 -0
- package/components/date-range-picker/shared/selected-date-event.interface.d.ts +6 -0
- package/components/datetime-picker/datetime-picker.component.d.ts +68 -0
- package/components/datetime-picker/datetime-picker.component.scss +28 -0
- package/components/datetime-picker/index.d.ts +3 -0
- package/components/datetime-picker/shared/datetime-picker-intl.d.ts +29 -0
- package/components/datetime-picker/shared/moment-datetime-formats.d.ts +2 -0
- package/components/disable-auto-fill/disable-auto-fill.directive.d.ts +11 -0
- package/components/disable-auto-fill/index.d.ts +1 -0
- package/components/echarts/echarts.directive.d.ts +100 -0
- package/components/echarts/index.d.ts +4 -0
- package/components/echarts/shared/echarts-change-filter.d.ts +11 -0
- package/components/echarts/shared/echarts-config.interface.d.ts +5 -0
- package/components/echarts/shared/echarts-theme.type.d.ts +1 -0
- package/components/empty/empty.component.d.ts +13 -0
- package/components/empty/empty.component.scss +36 -0
- package/components/empty/index.d.ts +1 -0
- package/components/expansion-panel/expansion-panel.component.d.ts +36 -0
- package/components/expansion-panel/expansion-panel.component.scss +99 -0
- package/components/expansion-panel/index.d.ts +1 -0
- package/components/field-error/field-error.component.d.ts +95 -0
- package/components/field-error/field-error.component.scss +7 -0
- package/components/field-error/index.d.ts +2 -0
- package/components/field-error/shared/field-error-custom-validators.type.d.ts +2 -0
- package/components/flex-layout/flex-layout.directive.d.ts +44 -0
- package/components/flex-layout/index.d.ts +1 -0
- package/components/form-wrapper/form-wrapper.component.d.ts +15 -0
- package/components/form-wrapper/form-wrapper.component.scss +121 -0
- package/components/form-wrapper/index.d.ts +1 -0
- package/components/helpful-tip/helpful-tip.component.d.ts +11 -0
- package/components/helpful-tip/helpful-tip.component.scss +14 -0
- package/components/helpful-tip/index.d.ts +1 -0
- package/components/icon/icon.component.d.ts +61 -0
- package/components/icon/icon.component.scss +29 -0
- package/components/icon/index.d.ts +1 -0
- package/components/index.d.ts +46 -0
- package/components/input/index.d.ts +4 -0
- package/components/input/input.component.d.ts +81 -0
- package/components/input/input.component.scss +27 -0
- package/components/input/shared/input-prefix.directive.d.ts +5 -0
- package/components/input/shared/input-suffix.directive.d.ts +5 -0
- package/components/input/shared/input.directive.d.ts +26 -0
- package/components/input-currency/index.d.ts +1 -0
- package/components/input-currency/input-currency.component.d.ts +64 -0
- package/components/input-currency/input-currency.component.scss +27 -0
- package/components/input-group/index.d.ts +2 -0
- package/components/input-group/input-group-addon.component.d.ts +8 -0
- package/components/input-group/input-group.component.d.ts +14 -0
- package/components/input-group/input-group.component.scss +118 -0
- package/components/input-phone/index.d.ts +1 -0
- package/components/input-phone/input-phone.component.d.ts +62 -0
- package/components/input-phone/input-phone.component.scss +27 -0
- package/components/loading/index.d.ts +1 -0
- package/components/loading/loading.component.d.ts +13 -0
- package/components/loading/loading.component.scss +145 -0
- package/components/lozenge/index.d.ts +3 -0
- package/components/lozenge/lozenge.component.d.ts +20 -0
- package/components/lozenge/lozenge.component.scss +99 -0
- package/components/lozenge/shared/lozenge-fill.type.d.ts +4 -0
- package/components/lozenge/shared/lozenge-variant.type.d.ts +1 -0
- package/components/password-requeriments/index.d.ts +3 -0
- package/components/password-requeriments/password-requeriments.component.d.ts +27 -0
- package/components/password-requeriments/password-requeriments.component.scss +53 -0
- package/components/password-requeriments/shared/password-requeriments.interface.d.ts +5 -0
- package/components/password-requeriments/shared/password-validation.util.d.ts +71 -0
- package/components/popover/index.d.ts +4 -0
- package/components/popover/popover-target.directive.d.ts +8 -0
- package/components/popover/popover-trigger.directive.d.ts +135 -0
- package/components/popover/popover.component.d.ts +121 -0
- package/components/popover/popover.component.scss +26 -0
- package/components/popover/popover.module.d.ts +9 -0
- package/components/popover/shared/popover-animations.d.ts +14 -0
- package/components/popover/shared/popover-errors.d.ts +14 -0
- package/components/popover/shared/popover-types.type.d.ts +4 -0
- package/components/popover/shared/popover.interface.d.ts +24 -0
- package/components/radio-button/radio-button.component.scss +0 -0
- package/components/radio-group/index.d.ts +2 -0
- package/components/radio-group/radio-group.component.d.ts +57 -0
- package/components/radio-group/radio-group.component.scss +69 -0
- package/components/radio-group/shared/option-radio-group.type.d.ts +1 -0
- package/components/scroll-fade/index.d.ts +1 -0
- package/components/scroll-fade/scroll-fade.directive.d.ts +24 -0
- package/components/select/index.d.ts +4 -0
- package/components/select/select.component.d.ts +85 -0
- package/components/select/select.component.scss +52 -0
- package/components/select/shared/mat-select-media-tracker.d.ts +15 -0
- package/components/select/shared/mat-select-options-helper.d.ts +6 -0
- package/components/select/shared/mat-select-styles.scss +429 -0
- package/components/select/shared/mat-select.directive.d.ts +127 -0
- package/components/select-enum/index.d.ts +3 -0
- package/components/select-enum/select-enum.component.d.ts +65 -0
- package/components/select-enum/select-enum.component.scss +41 -0
- package/components/select-enum/shared/option-select-enum.type.d.ts +6 -0
- package/components/select-enum/shared/select-check-all.component.d.ts +15 -0
- package/components/sidenav/index.d.ts +1 -0
- package/components/sidenav/shared/sidenav-arrow-animations.d.ts +1 -0
- package/components/sidenav/sidenav.component.d.ts +47 -0
- package/components/sidenav/sidenav.component.scss +187 -0
- package/components/skeleton/index.d.ts +1 -0
- package/components/skeleton/skeleton.component.d.ts +37 -0
- package/components/skeleton/skeleton.component.scss +76 -0
- package/components/stepper/index.d.ts +2 -0
- package/components/stepper/step.component.d.ts +24 -0
- package/components/stepper/stepper.component.d.ts +20 -0
- package/components/stepper/stepper.component.scss +120 -0
- package/components/table/index.d.ts +9 -0
- package/components/table/shared/table-column-action-type.enum.d.ts +1 -0
- package/components/table/shared/table-column-align-type.enum.d.ts +6 -0
- package/components/table/shared/table-column-builder.model.d.ts +109 -0
- package/components/table/shared/table-column-condition.enum.d.ts +2 -0
- package/components/table/shared/table-column-partial.model.d.ts +6 -0
- package/components/table/shared/table-column.model.d.ts +80 -0
- package/components/table/shared/table-menu-item-context-builder.model.d.ts +61 -0
- package/components/table/shared/table-menu-item-context.model.d.ts +45 -0
- package/components/table/table.component.d.ts +184 -0
- package/components/table/table.component.scss +255 -0
- package/components/tabs/index.d.ts +2 -0
- package/components/tabs/tab-group.component.d.ts +24 -0
- package/components/tabs/tab.component.d.ts +30 -0
- package/components/tabs/tabs.component.scss +170 -0
- package/components/tag/index.d.ts +1 -0
- package/components/tag/tag.component.d.ts +26 -0
- package/components/tag/tag.component.scss +78 -0
- package/components/text-ellipsis/index.d.ts +1 -0
- package/components/text-ellipsis/text-ellipsis.directive.d.ts +15 -0
- package/components/textarea/index.d.ts +1 -0
- package/components/textarea/textarea.component.d.ts +72 -0
- package/components/textarea/textarea.component.scss +31 -0
- package/components/toast/index.d.ts +4 -0
- package/components/toast/shared/toast-types.enum.d.ts +7 -0
- package/components/toast/shared/toast.model.d.ts +7 -0
- package/components/toast/shared/toast.service.d.ts +12 -0
- package/components/toast/toast.component.d.ts +18 -0
- package/components/toast/toast.component.scss +135 -0
- package/components/toggle-switch/index.d.ts +1 -0
- package/components/toggle-switch/toggle-switch.component.d.ts +49 -0
- package/components/toggle-switch/toggle-switch.component.scss +105 -0
- package/components/toolbar/index.d.ts +1 -0
- package/components/toolbar/toolbar.component.d.ts +9 -0
- package/components/toolbar/toolbar.component.scss +22 -0
- package/components/top-nav/index.d.ts +1 -0
- package/components/top-nav/top-nav.component.d.ts +9 -0
- package/components/top-nav/top-nav.component.scss +18 -0
- package/components/tree-table/index.d.ts +8 -0
- package/components/tree-table/shared/tree-table-arrow-animations.d.ts +1 -0
- package/components/tree-table/shared/tree-table-column-builder.model.d.ts +55 -0
- package/components/tree-table/shared/tree-table-column-condition.enum.d.ts +2 -0
- package/components/tree-table/shared/tree-table-column-partial.model.d.ts +6 -0
- package/components/tree-table/shared/tree-table-column.model.d.ts +40 -0
- package/components/tree-table/shared/tree-table-menu-item-context-builder.model.d.ts +61 -0
- package/components/tree-table/shared/tree-table-menu-item-context.model.d.ts +45 -0
- package/components/tree-table/tree-table.component.d.ts +91 -0
- package/components/tree-table/tree-table.component.scss +216 -0
- package/components/user-profile/index.d.ts +1 -0
- package/components/user-profile/shared/user-profile-arrow-animations.d.ts +1 -0
- package/components/user-profile/user-profile.component.d.ts +28 -0
- package/components/user-profile/user-profile.component.scss +76 -0
- package/decorators/debounce.decorator.d.ts +33 -0
- package/decorators/index.d.ts +1 -0
- package/enums/index.d.ts +3 -0
- package/enums/menu-type.enum.d.ts +6 -0
- package/enums/sort-direction.enum.d.ts +5 -0
- package/enums/type-operation-dialog.enum.d.ts +12 -0
- package/fesm2022/gipisistemas-ngx-core.mjs +19132 -0
- package/fesm2022/gipisistemas-ngx-core.mjs.map +1 -0
- package/guards/auth.guard.d.ts +3 -0
- package/guards/index.d.ts +2 -0
- package/guards/public.guard.d.ts +3 -0
- package/index.d.ts +5 -0
- package/interceptors/auth.interceptor.d.ts +2 -0
- package/interceptors/error.interceptor.d.ts +13 -0
- package/interceptors/index.d.ts +2 -0
- package/interfaces/index.d.ts +1 -0
- package/interfaces/permissions.interface.d.ts +10 -0
- package/package.json +59 -0
- package/pipes/index.d.ts +1 -0
- package/pipes/money.pipe.d.ts +20 -0
- package/public-api.d.ts +13 -0
- package/services/cacheable.service.d.ts +41 -0
- package/services/dialog.service.d.ts +65 -0
- package/services/file-saver.service.d.ts +11 -0
- package/services/filter-indexed-db.service.d.ts +100 -0
- package/services/filter-url.service.d.ts +81 -0
- package/services/index.d.ts +8 -0
- package/services/moment-date-adapter.service.d.ts +8 -0
- package/services/native-date-adapter.service.d.ts +8 -0
- package/services/svg-register.service.d.ts +33 -0
- package/theming/_breakpoints.scss +20 -0
- package/theming/_index.scss +19 -0
- package/theming/_palettes.scss +112 -0
- package/theming/_theme.scss +189 -0
- package/theming/_utils.scss +1424 -0
- package/tokens/allowed-public-routes.token.d.ts +26 -0
- package/tokens/app-messages.token.d.ts +13 -0
- package/tokens/base-auth-service.token.d.ts +5 -0
- package/tokens/echarts-core.token.d.ts +4 -0
- package/tokens/index.d.ts +6 -0
- package/tokens/ngx-currency-options.token.d.ts +5 -0
- package/tokens/paginator-intl.token.d.ts +5 -0
- package/types/booleanish.type.d.ts +1 -0
- package/types/implicit-template.type.d.ts +4 -0
- package/types/index.d.ts +8 -0
- package/types/mixable-object.type.d.ts +1 -0
- package/types/nullable.type.d.ts +1 -0
- package/types/numberish.type.d.ts +1 -0
- package/types/page-event.type.d.ts +6 -0
- package/types/uuid.type.d.ts +1 -0
- package/types/void-listener.type.d.ts +1 -0
- package/utils/array.util.d.ts +13 -0
- package/utils/css.util.d.ts +12 -0
- package/utils/currency.util.d.ts +83 -0
- package/utils/date.util.d.ts +166 -0
- package/utils/document.util.d.ts +126 -0
- package/utils/email.util.d.ts +19 -0
- package/utils/index.d.ts +14 -0
- package/utils/number-to-words.util.d.ts +17 -0
- package/utils/number.util.d.ts +40 -0
- package/utils/object.util.d.ts +83 -0
- package/utils/phone.util.d.ts +103 -0
- package/utils/states.util.d.ts +182 -0
- package/utils/storage.util.d.ts +78 -0
- package/utils/string.util.d.ts +89 -0
- package/utils/uuid.util.d.ts +33 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@use '../../../../theming/utils' as utils;
|
|
2
|
+
|
|
3
|
+
@mixin calendar-theme($theme: ()) {
|
|
4
|
+
$font-family: utils.get-font-family($theme);
|
|
5
|
+
$font-size: utils.get-font-size($theme);
|
|
6
|
+
$font-color: utils.get-font-color($theme);
|
|
7
|
+
|
|
8
|
+
.g-calendar {
|
|
9
|
+
display: block;
|
|
10
|
+
min-width: 28rem;
|
|
11
|
+
width: 100%;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare enum ePresetKey {
|
|
2
|
+
/** Diferença de data */ DATE_DIFF = 1,
|
|
3
|
+
/** Hoje */ TODAY = 2,
|
|
4
|
+
/** Essa semana */ THIS_WEEK = 3,
|
|
5
|
+
/** Esse mês */ THIS_MONTH = 4,
|
|
6
|
+
/** Esse ano */ THIS_YEAR = 5,
|
|
7
|
+
/** Últimos 7 dias */ LAST_7_DAYS = 6,
|
|
8
|
+
/** Últimos 30 dias */ LAST_30_DAYS = 7,
|
|
9
|
+
/** Últimos 365 dias */ LAST_365_DAYS = 8,
|
|
10
|
+
/** Personalizado */ CUSTOM = 9
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DateRange, MatDateRangeSelectionStrategy } from '@angular/material/datepicker';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class RangeSelectionStrategyService implements MatDateRangeSelectionStrategy<Date> {
|
|
4
|
+
private _dateAdapter;
|
|
5
|
+
constructor();
|
|
6
|
+
selectionFinished(date: Date | null, currentRange: DateRange<Date>, _event: Event): DateRange<Date>;
|
|
7
|
+
createPreview(activeDate: Date | null, currentRange: DateRange<Date>, _event: Event): DateRange<Date>;
|
|
8
|
+
createDrag?(dragOrigin: Date, originalRange: DateRange<Date>, newDate: Date, _event: Event): DateRange<Date> | null;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RangeSelectionStrategyService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RangeSelectionStrategyService>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { DateRange } from '@angular/material/datepicker';
|
|
2
|
+
import { ePresetKey } from './preset-key.enum';
|
|
3
|
+
export interface iSelectDateOption {
|
|
4
|
+
/** Texto exibido na lista para seleção. */
|
|
5
|
+
label: string;
|
|
6
|
+
/** Usado para verificar data normal ou data especial. */
|
|
7
|
+
key: ePresetKey;
|
|
8
|
+
/**
|
|
9
|
+
* Diferença de data em dias.
|
|
10
|
+
*
|
|
11
|
+
* - Número positivo indica data posterior a partir de hoje.
|
|
12
|
+
* - Número negativo indica data inferior a partir de hoje.
|
|
13
|
+
*/
|
|
14
|
+
dateDiff: number;
|
|
15
|
+
/** Indica se a opção está selecionada. */
|
|
16
|
+
selected: boolean;
|
|
17
|
+
/** Indica se a opção está visível na lista. */
|
|
18
|
+
visible: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Função para retornar intervalo de datas com base em `dateDiff`.
|
|
21
|
+
* @returns DateRange<Date>
|
|
22
|
+
*/
|
|
23
|
+
callBackFunction: () => DateRange<Date>;
|
|
24
|
+
}
|
|
25
|
+
export declare class SelectDateOption implements iSelectDateOption {
|
|
26
|
+
label: string;
|
|
27
|
+
key: ePresetKey;
|
|
28
|
+
dateDiff: number;
|
|
29
|
+
selected: boolean;
|
|
30
|
+
visible: boolean;
|
|
31
|
+
callBackFunction: () => DateRange<Date>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
|
+
import { DestroyRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
3
|
+
import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
|
|
4
|
+
import { MtxCalendarView, MtxDatetimepickerFilterType, MtxDatetimepickerInputEvent, MtxDatetimepickerType } from '@ng-matero/extensions/datetimepicker';
|
|
5
|
+
import { tFieldErrorCustomValidators } from '../field-error/shared/field-error-custom-validators.type';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class DatetimePickerComponent implements ControlValueAccessor, Validator, OnChanges {
|
|
8
|
+
protected readonly _matFormFieldUniqueId: string;
|
|
9
|
+
protected destroyRef: DestroyRef;
|
|
10
|
+
label: string;
|
|
11
|
+
placeholder: string;
|
|
12
|
+
hintLabel: string;
|
|
13
|
+
type: string;
|
|
14
|
+
disabled: BooleanInput;
|
|
15
|
+
readonly: BooleanInput;
|
|
16
|
+
required: BooleanInput;
|
|
17
|
+
min: Date | null;
|
|
18
|
+
max: Date | null;
|
|
19
|
+
help: string;
|
|
20
|
+
customErrors: tFieldErrorCustomValidators;
|
|
21
|
+
private _value;
|
|
22
|
+
get value(): Date | null;
|
|
23
|
+
set value(value: Date | null);
|
|
24
|
+
/**
|
|
25
|
+
* O estado que o calendário deveria começar.
|
|
26
|
+
* - `month`: Inicializa visualizando os dias do mês.
|
|
27
|
+
* - `year`: Inicializa visualizando os 12 meses.
|
|
28
|
+
* - `multi-year`: Inicializa visualizando os anos.
|
|
29
|
+
* - `clock`: Inicializa visualizando o relógio.
|
|
30
|
+
*/
|
|
31
|
+
startView: MtxCalendarView;
|
|
32
|
+
/** Impedir que o usuário selecione a mesma data e hora */
|
|
33
|
+
preventSameDateTimeSelection: boolean;
|
|
34
|
+
/** Ao abrir o calendário essa será a data selecionada inicialmente. */
|
|
35
|
+
startAt: Date | null;
|
|
36
|
+
/** Tipo do calendario */
|
|
37
|
+
calendarType: MtxDatetimepickerType;
|
|
38
|
+
/** Interválo de tempo entre os minutos do relógio */
|
|
39
|
+
timeInterval: number;
|
|
40
|
+
mtxDatetimepickerFilter: (date: Date | null, type: MtxDatetimepickerFilterType) => boolean;
|
|
41
|
+
readonly onFocusEvent: EventEmitter<FocusEvent>;
|
|
42
|
+
readonly onKeyupEvent: EventEmitter<FocusEvent>;
|
|
43
|
+
readonly onBlurEvent: EventEmitter<FocusEvent>;
|
|
44
|
+
readonly onChangeEvent: EventEmitter<FocusEvent>;
|
|
45
|
+
readonly onOpenedEvent: EventEmitter<void>;
|
|
46
|
+
readonly onClosedEvent: EventEmitter<void>;
|
|
47
|
+
readonly onViewChangedEvent: EventEmitter<MtxCalendarView>;
|
|
48
|
+
readonly onSelectedChangedEvent: EventEmitter<Date>;
|
|
49
|
+
readonly onDateChangeEvent: EventEmitter<MtxDatetimepickerInputEvent<Date>>;
|
|
50
|
+
readonly onDateInputEvent: EventEmitter<MtxDatetimepickerInputEvent<Date>>;
|
|
51
|
+
constructor();
|
|
52
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
53
|
+
_onChange: (value: Date | null) => void;
|
|
54
|
+
_onTouched: () => void;
|
|
55
|
+
_validatorChangeFn: () => void;
|
|
56
|
+
writeValue(value: Date | null): void;
|
|
57
|
+
registerOnChange(fn: (value: Date | null) => void): void;
|
|
58
|
+
registerOnTouched(fn: () => void): void;
|
|
59
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
60
|
+
validate(control: AbstractControl<Date | null>): ValidationErrors | null;
|
|
61
|
+
registerOnValidatorChange(fn: () => void): void;
|
|
62
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatetimePickerComponent, never>;
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatetimePickerComponent, "gipi-datetime-picker", never, { "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "hintLabel": { "alias": "hintLabel"; "required": false; }; "type": { "alias": "type"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "help": { "alias": "help"; "required": false; }; "customErrors": { "alias": "customErrors"; "required": false; }; "value": { "alias": "value"; "required": false; }; "startView": { "alias": "startView"; "required": false; }; "preventSameDateTimeSelection": { "alias": "preventSameDateTimeSelection"; "required": false; }; "startAt": { "alias": "startAt"; "required": false; }; "calendarType": { "alias": "calendarType"; "required": false; }; "timeInterval": { "alias": "timeInterval"; "required": false; }; "mtxDatetimepickerFilter": { "alias": "mtxDatetimepickerFilter"; "required": false; }; }, { "onFocusEvent": "focus"; "onKeyupEvent": "keyup"; "onBlurEvent": "blur"; "onChangeEvent": "change"; "onOpenedEvent": "opened"; "onClosedEvent": "closed"; "onViewChangedEvent": "viewChanged"; "onSelectedChangedEvent": "selectedChanged"; "onDateChangeEvent": "dateChange"; "onDateInputEvent": "dateInput"; }, never, never, true, never>;
|
|
64
|
+
static ngAcceptInputType_disabled: unknown;
|
|
65
|
+
static ngAcceptInputType_readonly: unknown;
|
|
66
|
+
static ngAcceptInputType_required: unknown;
|
|
67
|
+
static ngAcceptInputType_timeInterval: unknown;
|
|
68
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
@use '../../theming/utils' as utils;
|
|
2
|
+
// @import '@ng-matero/extensions/prebuilt-themes/azure-blue.css';
|
|
3
|
+
|
|
4
|
+
@mixin datetime-picker-theme($theme: ()) {
|
|
5
|
+
$font-family: utils.get-font-family($theme);
|
|
6
|
+
$font-size: utils.get-font-size($theme);
|
|
7
|
+
$font-color: utils.get-font-color($theme);
|
|
8
|
+
|
|
9
|
+
.g-datetime-picker-label {
|
|
10
|
+
@include utils.field-label($theme);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.g-datetime-picker {
|
|
14
|
+
@include utils.mat-form-field-reset($theme);
|
|
15
|
+
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
gap: 4px;
|
|
19
|
+
font-family: $font-family;
|
|
20
|
+
color: $font-color;
|
|
21
|
+
position: relative;
|
|
22
|
+
overflow: visible;
|
|
23
|
+
min-width: 0;
|
|
24
|
+
width: 100%;
|
|
25
|
+
min-height: fit-content;
|
|
26
|
+
height: fit-content;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { MtxDatetimepickerIntl } from '@ng-matero/extensions/datetimepicker';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DatetimePickerIntl extends MtxDatetimepickerIntl {
|
|
5
|
+
readonly changes: Subject<void>;
|
|
6
|
+
calendarLabel: string;
|
|
7
|
+
openCalendarLabel: string;
|
|
8
|
+
closeCalendarLabel: string;
|
|
9
|
+
prevMonthLabel: string;
|
|
10
|
+
nextMonthLabel: string;
|
|
11
|
+
prevYearLabel: string;
|
|
12
|
+
nextYearLabel: string;
|
|
13
|
+
prevMultiYearLabel: string;
|
|
14
|
+
nextMultiYearLabel: string;
|
|
15
|
+
switchToMonthViewLabel: string;
|
|
16
|
+
switchToYearViewLabel: string;
|
|
17
|
+
switchToMultiYearViewLabel: string;
|
|
18
|
+
startDateLabel: string;
|
|
19
|
+
endDateLabel: string;
|
|
20
|
+
weekNumberLabel: (number: number) => string;
|
|
21
|
+
formatYearRange: (start: string, end: string) => string;
|
|
22
|
+
formatYearRangeLabel: (start: string, end: string) => string;
|
|
23
|
+
switchToClockHourViewLabel: string;
|
|
24
|
+
switchToClockMinuteViewLabel: string;
|
|
25
|
+
okLabel: string;
|
|
26
|
+
cancelLabel: string;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatetimePickerIntl, never>;
|
|
28
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DatetimePickerIntl>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DisableAutoFillDirective implements OnInit {
|
|
4
|
+
private readonly _elementRef;
|
|
5
|
+
private readonly _renderer;
|
|
6
|
+
disableAutoFill: string;
|
|
7
|
+
constructor();
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DisableAutoFillDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DisableAutoFillDirective, "[gDisableAutoFill]", ["gDisableAutoFill"], { "disableAutoFill": { "alias": "gDisableAutoFill"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './disable-auto-fill.directive';
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { AfterViewInit, EventEmitter, OnChanges, OnDestroy, OnInit, type SimpleChanges } from '@angular/core';
|
|
2
|
+
import { ECElementEvent, ECharts, EChartsCoreOption } from 'echarts/core';
|
|
3
|
+
import { tEchartsThemeOption } from './shared/echarts-theme.type';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class EchartsDirective implements OnChanges, OnDestroy, OnInit, AfterViewInit {
|
|
6
|
+
protected readonly _uniqueId: string;
|
|
7
|
+
private _elementRef;
|
|
8
|
+
private _ngZone;
|
|
9
|
+
private _config;
|
|
10
|
+
private _chart;
|
|
11
|
+
private _chart$;
|
|
12
|
+
private _echarts;
|
|
13
|
+
private _resizeOb;
|
|
14
|
+
private _resize$;
|
|
15
|
+
private _resizeSub;
|
|
16
|
+
private _initChartTimer?;
|
|
17
|
+
private _changeFilter;
|
|
18
|
+
private _loadingSub;
|
|
19
|
+
private _resizeObFired;
|
|
20
|
+
animationFrameID: number | null;
|
|
21
|
+
id: string;
|
|
22
|
+
name: string;
|
|
23
|
+
options: EChartsCoreOption | null;
|
|
24
|
+
theme: string | tEchartsThemeOption | null;
|
|
25
|
+
initOpts: {
|
|
26
|
+
devicePixelRatio?: number;
|
|
27
|
+
renderer?: string;
|
|
28
|
+
width?: number | string;
|
|
29
|
+
height?: number | string;
|
|
30
|
+
locale?: string;
|
|
31
|
+
} | null;
|
|
32
|
+
merge: EChartsCoreOption | null;
|
|
33
|
+
autoResize: boolean;
|
|
34
|
+
loading: boolean;
|
|
35
|
+
loadingType: string;
|
|
36
|
+
loadingOpts: object | null;
|
|
37
|
+
chartInit: EventEmitter<ECharts>;
|
|
38
|
+
optionsError: EventEmitter<Error>;
|
|
39
|
+
windowResize: EventEmitter<ECharts>;
|
|
40
|
+
chartClick: EventEmitter<ECElementEvent>;
|
|
41
|
+
chartDblClick: EventEmitter<ECElementEvent>;
|
|
42
|
+
chartMouseDown: EventEmitter<ECElementEvent>;
|
|
43
|
+
chartMouseMove: EventEmitter<ECElementEvent>;
|
|
44
|
+
chartMouseUp: EventEmitter<ECElementEvent>;
|
|
45
|
+
chartMouseOver: EventEmitter<ECElementEvent>;
|
|
46
|
+
chartMouseOut: EventEmitter<ECElementEvent>;
|
|
47
|
+
chartGlobalOut: EventEmitter<ECElementEvent>;
|
|
48
|
+
chartContextMenu: EventEmitter<ECElementEvent>;
|
|
49
|
+
chartHighlight: EventEmitter<any>;
|
|
50
|
+
chartDownplay: EventEmitter<any>;
|
|
51
|
+
chartSelectChanged: EventEmitter<any>;
|
|
52
|
+
chartLegendSelectChanged: EventEmitter<any>;
|
|
53
|
+
chartLegendSelected: EventEmitter<any>;
|
|
54
|
+
chartLegendUnselected: EventEmitter<any>;
|
|
55
|
+
chartLegendLegendSelectAll: EventEmitter<any>;
|
|
56
|
+
chartLegendLegendInverseSelect: EventEmitter<any>;
|
|
57
|
+
chartLegendScroll: EventEmitter<any>;
|
|
58
|
+
chartDataZoom: EventEmitter<any>;
|
|
59
|
+
chartDataRangeSelected: EventEmitter<any>;
|
|
60
|
+
chartGraphRoam: EventEmitter<any>;
|
|
61
|
+
chartGeoRoam: EventEmitter<any>;
|
|
62
|
+
chartTreeRoam: EventEmitter<any>;
|
|
63
|
+
chartTimelineChanged: EventEmitter<any>;
|
|
64
|
+
chartTimelinePlayChanged: EventEmitter<any>;
|
|
65
|
+
chartRestore: EventEmitter<any>;
|
|
66
|
+
chartDataViewChanged: EventEmitter<any>;
|
|
67
|
+
chartMagicTypeChanged: EventEmitter<any>;
|
|
68
|
+
chartGeoSelectChanged: EventEmitter<any>;
|
|
69
|
+
chartGeoSelected: EventEmitter<any>;
|
|
70
|
+
chartGeoUnselected: EventEmitter<any>;
|
|
71
|
+
chartAxisAreaSelected: EventEmitter<any>;
|
|
72
|
+
chartBrush: EventEmitter<any>;
|
|
73
|
+
chartBrushEnd: EventEmitter<any>;
|
|
74
|
+
chartBrushSelected: EventEmitter<any>;
|
|
75
|
+
chartGlobalCursorTaken: EventEmitter<any>;
|
|
76
|
+
chartRendered: EventEmitter<any>;
|
|
77
|
+
chartFinished: EventEmitter<any>;
|
|
78
|
+
constructor();
|
|
79
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
80
|
+
ngOnInit(): void;
|
|
81
|
+
ngOnDestroy(): void;
|
|
82
|
+
ngAfterViewInit(): void;
|
|
83
|
+
private _dispose;
|
|
84
|
+
/**
|
|
85
|
+
* resize chart
|
|
86
|
+
*/
|
|
87
|
+
resize(): void;
|
|
88
|
+
private _toggleLoading;
|
|
89
|
+
private _setOption;
|
|
90
|
+
/**
|
|
91
|
+
* dispose old chart and create a new one.
|
|
92
|
+
*/
|
|
93
|
+
refreshChart(): Promise<void>;
|
|
94
|
+
private _createChart;
|
|
95
|
+
private _initChart;
|
|
96
|
+
private _onOptionsChange;
|
|
97
|
+
private _createLazyEvent;
|
|
98
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EchartsDirective, never>;
|
|
99
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EchartsDirective, "gEcharts, [gEcharts],", ["gEcharts"], { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "options": { "alias": "options"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "initOpts": { "alias": "initOpts"; "required": false; }; "merge": { "alias": "merge"; "required": false; }; "autoResize": { "alias": "autoResize"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingType": { "alias": "loadingType"; "required": false; }; "loadingOpts": { "alias": "loadingOpts"; "required": false; }; }, { "chartInit": "chartInit"; "optionsError": "optionsError"; "windowResize": "windowResize"; "chartClick": "chartClick"; "chartDblClick": "chartDblClick"; "chartMouseDown": "chartMouseDown"; "chartMouseMove": "chartMouseMove"; "chartMouseUp": "chartMouseUp"; "chartMouseOver": "chartMouseOver"; "chartMouseOut": "chartMouseOut"; "chartGlobalOut": "chartGlobalOut"; "chartContextMenu": "chartContextMenu"; "chartHighlight": "chartHighlight"; "chartDownplay": "chartDownplay"; "chartSelectChanged": "chartSelectChanged"; "chartLegendSelectChanged": "chartLegendSelectChanged"; "chartLegendSelected": "chartLegendSelected"; "chartLegendUnselected": "chartLegendUnselected"; "chartLegendLegendSelectAll": "chartLegendLegendSelectAll"; "chartLegendLegendInverseSelect": "chartLegendLegendInverseSelect"; "chartLegendScroll": "chartLegendScroll"; "chartDataZoom": "chartDataZoom"; "chartDataRangeSelected": "chartDataRangeSelected"; "chartGraphRoam": "chartGraphRoam"; "chartGeoRoam": "chartGeoRoam"; "chartTreeRoam": "chartTreeRoam"; "chartTimelineChanged": "chartTimelineChanged"; "chartTimelinePlayChanged": "chartTimelinePlayChanged"; "chartRestore": "chartRestore"; "chartDataViewChanged": "chartDataViewChanged"; "chartMagicTypeChanged": "chartMagicTypeChanged"; "chartGeoSelectChanged": "chartGeoSelectChanged"; "chartGeoSelected": "chartGeoSelected"; "chartGeoUnselected": "chartGeoUnselected"; "chartAxisAreaSelected": "chartAxisAreaSelected"; "chartBrush": "chartBrush"; "chartBrushEnd": "chartBrushEnd"; "chartBrushSelected": "chartBrushSelected"; "chartGlobalCursorTaken": "chartGlobalCursorTaken"; "chartRendered": "chartRendered"; "chartFinished": "chartFinished"; }, never, never, true, never>;
|
|
100
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SimpleChanges } from '@angular/core';
|
|
2
|
+
export declare class EchatsChangeFilter {
|
|
3
|
+
private _subject;
|
|
4
|
+
private _subscriptions;
|
|
5
|
+
doFilter(changes: SimpleChanges): void;
|
|
6
|
+
dispose(): void;
|
|
7
|
+
notEmpty<T>(key: string, handler: (t: T) => void): void;
|
|
8
|
+
has<T>(key: string, handler: (t: T) => void): void;
|
|
9
|
+
notFirst<T>(key: string, handler: (t: T) => void): void;
|
|
10
|
+
notFirstAndEmpty<T>(key: string, handler: (t: T) => void): void;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type tEchartsThemeOption = Record<string, unknown>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DestroyRef, type ElementRef, type QueryList } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class EmptyComponent {
|
|
4
|
+
set contentChildren(value: QueryList<ElementRef> | null);
|
|
5
|
+
protected readonly _uniqueId: string;
|
|
6
|
+
protected readonly destroyRef: DestroyRef;
|
|
7
|
+
protected hasContent: import("@angular/core").WritableSignal<boolean>;
|
|
8
|
+
id: string;
|
|
9
|
+
name: string;
|
|
10
|
+
label: string;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EmptyComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EmptyComponent, "gipi-empty", ["gEmpty"], { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, {}, ["contentChildren"], ["*"], true, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
@use '../../theming/utils' as utils;
|
|
2
|
+
|
|
3
|
+
@mixin empty-theme($theme: ()) {
|
|
4
|
+
$font-family: utils.get-font-family($theme);
|
|
5
|
+
$font-size: utils.get-font-size($theme);
|
|
6
|
+
$font-color: utils.get-font-color($theme);
|
|
7
|
+
$secondary-100: utils.get-color($theme, secondary, 100);
|
|
8
|
+
$black-300: utils.get-color($theme, black, 300);
|
|
9
|
+
|
|
10
|
+
.g-empty {
|
|
11
|
+
@include utils.user-select(none);
|
|
12
|
+
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
align-items: center;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
gap: 1rem;
|
|
18
|
+
padding: 2.8rem;
|
|
19
|
+
border-bottom-left-radius: 0.8rem;
|
|
20
|
+
border-bottom-right-radius: 0.8rem;
|
|
21
|
+
background-color: $secondary-100;
|
|
22
|
+
color: $black-300;
|
|
23
|
+
font-family: $font-family;
|
|
24
|
+
|
|
25
|
+
.g-empty-icon {
|
|
26
|
+
width: 2.8rem;
|
|
27
|
+
height: 2.8rem;
|
|
28
|
+
color: $black-300;
|
|
29
|
+
fill: $black-300;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.g-empty-label {
|
|
33
|
+
color: $black-300;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './empty.component';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
|
+
import { AfterViewInit, EventEmitter } from '@angular/core';
|
|
3
|
+
import { MatExpansionPanel, MatExpansionPanelState } from '@angular/material/expansion';
|
|
4
|
+
import { tIconFontSet, tIconGrade, tIconOptical, tIconVariation, tIconWeight } from '../icon/icon.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ExpansionPanelComponent implements AfterViewInit {
|
|
7
|
+
protected expansionPanel: MatExpansionPanel | null;
|
|
8
|
+
protected readonly _uniqueId: string;
|
|
9
|
+
id: string;
|
|
10
|
+
name: string;
|
|
11
|
+
label: string;
|
|
12
|
+
disabled: BooleanInput;
|
|
13
|
+
initState: MatExpansionPanelState;
|
|
14
|
+
icon: string;
|
|
15
|
+
svgIcon: string;
|
|
16
|
+
iconFontSet: tIconFontSet;
|
|
17
|
+
iconSize: number;
|
|
18
|
+
iconVariation: tIconVariation;
|
|
19
|
+
iconWeight: tIconWeight;
|
|
20
|
+
iconGrade: tIconGrade;
|
|
21
|
+
iconOptical: tIconOptical;
|
|
22
|
+
onClickEvent: EventEmitter<MouseEvent>;
|
|
23
|
+
onFocusEvent: EventEmitter<FocusEvent>;
|
|
24
|
+
onBlurEvent: EventEmitter<FocusEvent>;
|
|
25
|
+
onOpenedEvent: EventEmitter<void>;
|
|
26
|
+
onClosedEvent: EventEmitter<void>;
|
|
27
|
+
constructor();
|
|
28
|
+
ngAfterViewInit(): void;
|
|
29
|
+
toggle(): void;
|
|
30
|
+
open(): void;
|
|
31
|
+
close(): void;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExpansionPanelComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ExpansionPanelComponent, "gipi-expansion-panel", ["gExpansionPanel"], { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "initState": { "alias": "initState"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "svgIcon": { "alias": "svgIcon"; "required": false; }; "iconFontSet": { "alias": "iconFontSet"; "required": false; }; "iconSize": { "alias": "iconSize"; "required": false; }; "iconVariation": { "alias": "iconVariation"; "required": false; }; "iconWeight": { "alias": "weight"; "required": false; }; "iconGrade": { "alias": "grade"; "required": false; }; "iconOptical": { "alias": "optical"; "required": false; }; }, { "onClickEvent": "click"; "onFocusEvent": "focus"; "onBlurEvent": "blur"; "onOpenedEvent": "opened"; "onClosedEvent": "closed"; }, never, ["*"], true, never>;
|
|
34
|
+
static ngAcceptInputType_disabled: unknown;
|
|
35
|
+
static ngAcceptInputType_iconSize: unknown;
|
|
36
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
@use '../../theming/utils' as utils;
|
|
2
|
+
|
|
3
|
+
@mixin expansion-panel-theme($theme: ()) {
|
|
4
|
+
$font-family: utils.get-font-family($theme);
|
|
5
|
+
$font-size: utils.get-font-size($theme);
|
|
6
|
+
$font-color: utils.get-font-color($theme);
|
|
7
|
+
|
|
8
|
+
$white-100: utils.get-color($theme, white, 100);
|
|
9
|
+
$secondary-50: utils.get-color($theme, secondary, 50);
|
|
10
|
+
$secondary-100: utils.get-color($theme, secondary, 100);
|
|
11
|
+
$black-300: utils.get-color($theme, black, 300);
|
|
12
|
+
|
|
13
|
+
.g-expansion-panel {
|
|
14
|
+
display: block;
|
|
15
|
+
width: 100%;
|
|
16
|
+
min-width: 0;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.g-expansion-panel-icon {
|
|
20
|
+
@include utils.user-select(none);
|
|
21
|
+
|
|
22
|
+
width: 2rem;
|
|
23
|
+
height: 2rem;
|
|
24
|
+
font-size: 2rem;
|
|
25
|
+
line-height: 100%;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.mat-accordion .mat-expansion-panel {
|
|
29
|
+
border-radius: 0.4rem !important;
|
|
30
|
+
box-shadow: none !important;
|
|
31
|
+
|
|
32
|
+
background: $white-100 !important;
|
|
33
|
+
color: $font-color !important;
|
|
34
|
+
|
|
35
|
+
.mat-expansion-panel-header {
|
|
36
|
+
padding: 0 1.6rem !important;
|
|
37
|
+
height: 4.4rem !important;
|
|
38
|
+
max-height: 4.4rem !important;
|
|
39
|
+
|
|
40
|
+
background: $secondary-50 !important;
|
|
41
|
+
border: 1px solid $secondary-100 !important;
|
|
42
|
+
|
|
43
|
+
font-family: $font-family !important;
|
|
44
|
+
font-size: $font-size !important;
|
|
45
|
+
color: $black-300 !important;
|
|
46
|
+
font-weight: 700 !important;
|
|
47
|
+
line-height: 2rem !important;
|
|
48
|
+
letter-spacing: normal !important;
|
|
49
|
+
|
|
50
|
+
&.mat-expanded {
|
|
51
|
+
border-bottom-left-radius: 0 !important;
|
|
52
|
+
border-bottom-right-radius: 0 !important;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.mat-expansion-indicator {
|
|
56
|
+
margin: 0 1rem 0 0 !important;
|
|
57
|
+
width: 2rem !important;
|
|
58
|
+
height: 2rem !important;
|
|
59
|
+
|
|
60
|
+
svg {
|
|
61
|
+
margin: 0 !important;
|
|
62
|
+
width: 2rem !important;
|
|
63
|
+
height: 2rem !important;
|
|
64
|
+
color: $black-300 !important;
|
|
65
|
+
fill: $black-300 !important;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.mat-content {
|
|
70
|
+
.mat-expansion-panel-header-title {
|
|
71
|
+
font-family: $font-family !important;
|
|
72
|
+
font-size: $font-size !important;
|
|
73
|
+
color: $black-300 !important;
|
|
74
|
+
font-weight: 700 !important;
|
|
75
|
+
line-height: 2rem !important;
|
|
76
|
+
letter-spacing: normal !important;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.g-expansion-panel-icon {
|
|
80
|
+
color: $black-300 !important;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&.mat-expanded .mat-expansion-panel-content-wrapper {
|
|
86
|
+
border: 1px solid $secondary-100 !important;
|
|
87
|
+
border-top: none !important;
|
|
88
|
+
border-bottom-right-radius: 0.4rem !important;
|
|
89
|
+
border-bottom-left-radius: 0.4rem !important;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.mat-expansion-panel-body {
|
|
93
|
+
padding: 1.6rem !important;
|
|
94
|
+
font-family: $font-family !important;
|
|
95
|
+
font-size: $font-size !important;
|
|
96
|
+
color: $font-color !important;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './expansion-panel.component';
|