@mediusinc/mng-commons 0.2.6 → 0.2.8
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/assets/i18n/en.json +5 -1
- package/assets/i18n/sl.json +6 -2
- package/esm2020/lib/api/models/builders/query-param.builder.mjs +1 -1
- package/esm2020/lib/api/models/filter-match-type.model.mjs +1 -1
- package/esm2020/lib/api/models/filter-param.model.mjs +16 -27
- package/esm2020/lib/api/models/mappers.mjs +7 -7
- package/esm2020/lib/api/models/query-mode.model.mjs +1 -1
- package/esm2020/lib/api/models/query-param.model.mjs +38 -37
- package/esm2020/lib/api/models/query-result.model.mjs +14 -13
- package/esm2020/lib/api/services/crud-api.abstract.service.mjs +28 -21
- package/esm2020/lib/api/utils/medius-rest.util.mjs +11 -7
- package/esm2020/lib/api/utils/object-serializer.util.mjs +23 -21
- package/esm2020/lib/components/action/action.component.mjs +10 -7
- package/esm2020/lib/components/action/dialog/action-dialog.component.mjs +16 -13
- package/esm2020/lib/components/action/models/action-confirmation-service.model.mjs +1 -1
- package/esm2020/lib/components/action/models/action-execution.model.mjs +1 -1
- package/esm2020/lib/components/action/route/action-route.component.mjs +8 -6
- package/esm2020/lib/components/form/autocomplete/autocomplete.component.mjs +16 -14
- package/esm2020/lib/components/form/dropdown/dropdown.component.mjs +16 -15
- package/esm2020/lib/components/form/editor/form-editor.component.mjs +21 -24
- package/esm2020/lib/components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.mjs +3 -3
- package/esm2020/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.mjs +3 -3
- package/esm2020/lib/components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component.mjs +4 -4
- package/esm2020/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.mjs +3 -3
- package/esm2020/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.mjs +13 -13
- package/esm2020/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.mjs +12 -11
- package/esm2020/lib/components/form/formly/fields/formly-field-tabs/formly-field-tabs.component.mjs +4 -4
- package/esm2020/lib/components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.mjs +1 -3
- package/esm2020/lib/components/form/formly/wrappers/formly-table-wrapper/formly-table-wrapper.component.mjs +1 -3
- package/esm2020/lib/components/form/models/form-editor.event.mjs +1 -1
- package/esm2020/lib/components/layout/breadcrumb.component.mjs +3 -3
- package/esm2020/lib/components/layout/footer.component.mjs +3 -3
- package/esm2020/lib/components/layout/main-layout.component.mjs +4 -4
- package/esm2020/lib/components/layout/menu-item.component.mjs +36 -34
- package/esm2020/lib/components/layout/menu.component.mjs +3 -3
- package/esm2020/lib/components/layout/services/main-layout.component.service.mjs +4 -1
- package/esm2020/lib/components/layout/topbar.component.mjs +5 -4
- package/esm2020/lib/components/tableview/index.mjs +1 -1
- package/esm2020/lib/components/tableview/models/table.event.mjs +1 -1
- package/esm2020/lib/components/tableview/route/tableview-route.abstract.component.mjs +2 -2
- package/esm2020/lib/components/tableview/route/tableview-route.component.mjs +1 -1
- package/esm2020/lib/components/tableview/services/tableview.component.service.mjs +9 -4
- package/esm2020/lib/components/tableview/table/column-filter/column-filter.component.mjs +4 -3
- package/esm2020/lib/components/tableview/table/column-value/column-value.component.mjs +1 -1
- package/esm2020/lib/components/tableview/table/table.component.mjs +27 -26
- package/esm2020/lib/components/tableview/tableview.component.mjs +11 -3
- package/esm2020/lib/config/formly.config.mjs +30 -22
- package/esm2020/lib/config/models/mng-config.model.mjs +1 -1
- package/esm2020/lib/data-providers/base.data-provider.mjs +1 -1
- package/esm2020/lib/data-providers/editor.data-provider.mjs +2 -2
- package/esm2020/lib/data-providers/lookup.data-provider.mjs +1 -1
- package/esm2020/lib/data-providers/tableview.data-provider.mjs +2 -2
- package/esm2020/lib/descriptors/action.descriptor.mjs +3 -5
- package/esm2020/lib/descriptors/editor.descriptor.mjs +21 -9
- package/esm2020/lib/descriptors/field.validator.mjs +1 -1
- package/esm2020/lib/descriptors/lookup.descriptor.mjs +1 -1
- package/esm2020/lib/descriptors/model.descriptor.mjs +3 -3
- package/esm2020/lib/descriptors/table.descriptor.mjs +2 -2
- package/esm2020/lib/descriptors/tableview.descriptor.mjs +2 -2
- package/esm2020/lib/directives/component.directive.mjs +2 -2
- package/esm2020/lib/directives/template.directive.mjs +2 -3
- package/esm2020/lib/mng-commons.module.mjs +27 -37
- package/esm2020/lib/models/user.model.mjs +1 -1
- package/esm2020/lib/pipes/boolean.pipe.mjs +1 -1
- package/esm2020/lib/pipes/property-path.pipe.mjs +1 -1
- package/esm2020/lib/router/models/router.model.mjs +1 -1
- package/esm2020/lib/router/route-builder.mjs +41 -36
- package/esm2020/lib/services/action.service.mjs +19 -15
- package/esm2020/lib/services/commons.service.mjs +15 -23
- package/esm2020/lib/services/configuration.service.mjs +3 -4
- package/esm2020/lib/services/navigation.service.mjs +2 -2
- package/esm2020/lib/services/providers/config-service.provider.mjs +2 -2
- package/esm2020/lib/services/providers/formly-config.provider.mjs +1 -1
- package/esm2020/lib/services/tokens/browser-storage.token.mjs +1 -1
- package/esm2020/lib/types/type.decorator.mjs +1 -1
- package/esm2020/lib/types/type.model.mjs +1 -1
- package/esm2020/lib/utils/editor-formly.util.mjs +7 -21
- package/esm2020/lib/utils/i18n.util.mjs +2 -2
- package/esm2020/lib/utils/model.util.mjs +1 -1
- package/esm2020/lib/utils/route.util.mjs +1 -1
- package/esm2020/lib/utils/toast.util.mjs +3 -2
- package/esm2020/lib/utils/type.util.mjs +2 -1
- package/fesm2015/mediusinc-mng-commons.mjs +3078 -3049
- package/fesm2015/mediusinc-mng-commons.mjs.map +1 -1
- package/fesm2020/mediusinc-mng-commons.mjs +2999 -2966
- package/fesm2020/mediusinc-mng-commons.mjs.map +1 -1
- package/lib/api/models/filter-param.model.d.ts +1 -1
- package/lib/api/services/crud-api.abstract.service.d.ts +6 -6
- package/lib/api/utils/medius-rest.util.d.ts +1 -1
- package/lib/api/utils/object-serializer.util.d.ts +5 -5
- package/lib/components/action/action.component.d.ts +3 -3
- package/lib/components/action/dialog/action-dialog.component.d.ts +9 -8
- package/lib/components/action/models/action-execution.model.d.ts +1 -1
- package/lib/components/action/route/action-route.component.d.ts +2 -2
- package/lib/components/form/autocomplete/autocomplete.component.d.ts +4 -3
- package/lib/components/form/dropdown/dropdown.component.d.ts +4 -3
- package/lib/components/form/editor/form-editor.component.d.ts +7 -6
- package/lib/components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.d.ts +2 -1
- package/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.d.ts +2 -1
- package/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.d.ts +1 -1
- package/lib/components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.d.ts +1 -3
- package/lib/components/form/formly/wrappers/formly-table-wrapper/formly-table-wrapper.component.d.ts +1 -3
- package/lib/components/layout/main-layout.component.d.ts +3 -3
- package/lib/components/layout/menu-item.component.d.ts +7 -7
- package/lib/components/layout/services/main-layout.component.service.d.ts +1 -1
- package/lib/components/layout/topbar.component.d.ts +4 -4
- package/lib/components/tableview/route/tableview-route.abstract.component.d.ts +1 -1
- package/lib/components/tableview/route/tableview-route.component.d.ts +1 -1
- package/lib/components/tableview/services/tableview.component.service.d.ts +3 -2
- package/lib/components/tableview/table/table.component.d.ts +21 -19
- package/lib/components/tableview/tableview.component.d.ts +6 -4
- package/lib/config/formly.config.d.ts +2 -1
- package/lib/descriptors/action.descriptor.d.ts +2 -2
- package/lib/descriptors/editor.descriptor.d.ts +9 -7
- package/lib/descriptors/lookup.descriptor.d.ts +1 -1
- package/lib/descriptors/table.descriptor.d.ts +4 -4
- package/lib/descriptors/tableview.descriptor.d.ts +1 -1
- package/lib/mng-commons.module.d.ts +23 -22
- package/lib/router/models/router.model.d.ts +1 -1
- package/lib/router/route-builder.d.ts +4 -4
- package/lib/services/action.service.d.ts +3 -3
- package/lib/services/commons.service.d.ts +6 -6
- package/lib/services/navigation.service.d.ts +1 -1
- package/lib/services/providers/formly-config.provider.d.ts +1 -1
- package/lib/utils/editor-formly.util.d.ts +1 -1
- package/lib/utils/model.util.d.ts +1 -1
- package/lib/utils/toast.util.d.ts +1 -1
- package/package.json +1 -1
- package/scss/common/layout/_breadcrumb.scss +6 -6
- package/scss/common/layout/_config.scss +7 -8
- package/scss/common/layout/_exception.scss +12 -11
- package/scss/common/layout/_footer.scss +3 -3
- package/scss/common/layout/_help.scss +8 -9
- package/scss/common/layout/_inlinemenu.scss +3 -3
- package/scss/common/layout/_invoice.scss +16 -16
- package/scss/common/layout/_landing.scss +57 -60
- package/scss/common/layout/_loader.scss +0 -1
- package/scss/common/layout/_login.scss +3 -4
- package/scss/common/layout/_main.scss +3 -3
- package/scss/common/layout/_mixins.scss +28 -20
- package/scss/common/layout/_rightmenu.scss +5 -5
- package/scss/common/layout/_topbar.scss +7 -5
- package/scss/common/layout/_typography.scss +11 -6
- package/scss/common/layout/_utils.scss +1 -1
- package/scss/common/layout/_widgets.scss +20 -19
- package/scss/common/layout/menu/_menu_common.scss +6 -6
- package/scss/common/layout/menu/_menu_overlay.scss +1 -1
- package/scss/common/layout/menu/_menu_sidebar.scss +6 -5
- package/scss/common/layout/menu/_menu_slim.scss +2 -3
- package/scss/common/layout/menu/_menu_static.scss +1 -1
- package/scss/common/layout/menu/_menu_theme.scss +2 -3
- package/scss/common/theme/designer/_colors.scss +11 -12
- package/scss/common/theme/designer/_common.scss +4 -3
- package/scss/common/theme/designer/_mixins.scss +56 -56
- package/scss/common/theme/designer/components/button/_button.scss +32 -20
- package/scss/common/theme/designer/components/button/_speeddial.scss +1 -1
- package/scss/common/theme/designer/components/button/_splitbutton.scss +2 -1
- package/scss/common/theme/designer/components/data/_carousel.scss +1 -1
- package/scss/common/theme/designer/components/data/_datatable.scss +5 -5
- package/scss/common/theme/designer/components/data/_filter.scss +2 -3
- package/scss/common/theme/designer/components/data/_fullcalendar.scss +10 -10
- package/scss/common/theme/designer/components/data/_orderlist.scss +2 -2
- package/scss/common/theme/designer/components/data/_paginator.scss +1 -1
- package/scss/common/theme/designer/components/data/_picklist.scss +1 -1
- package/scss/common/theme/designer/components/data/_timeline.scss +3 -6
- package/scss/common/theme/designer/components/data/_tree.scss +2 -2
- package/scss/common/theme/designer/components/data/_treetable.scss +2 -3
- package/scss/common/theme/designer/components/input/_autocomplete.scss +8 -8
- package/scss/common/theme/designer/components/input/_calendar.scss +6 -6
- package/scss/common/theme/designer/components/input/_cascadeselect.scss +1 -1
- package/scss/common/theme/designer/components/input/_checkbox.scss +4 -4
- package/scss/common/theme/designer/components/input/_chips.scss +4 -4
- package/scss/common/theme/designer/components/input/_colorpicker.scss +2 -2
- package/scss/common/theme/designer/components/input/_dropdown.scss +2 -2
- package/scss/common/theme/designer/components/input/_editor.scss +7 -7
- package/scss/common/theme/designer/components/input/_inputgroup.scss +1 -1
- package/scss/common/theme/designer/components/input/_inputmask.scss +1 -1
- package/scss/common/theme/designer/components/input/_inputnumber.scss +1 -1
- package/scss/common/theme/designer/components/input/_inputswitch.scss +2 -2
- package/scss/common/theme/designer/components/input/_inputtext.scss +3 -3
- package/scss/common/theme/designer/components/input/_listbox.scss +1 -1
- package/scss/common/theme/designer/components/input/_multiselect.scss +5 -6
- package/scss/common/theme/designer/components/input/_radiobutton.scss +2 -2
- package/scss/common/theme/designer/components/input/_rating.scss +1 -1
- package/scss/common/theme/designer/components/input/_selectbutton.scss +1 -1
- package/scss/common/theme/designer/components/input/_togglebutton.scss +1 -1
- package/scss/common/theme/designer/components/input/_treeselect.scss +2 -2
- package/scss/common/theme/designer/components/menu/_contextmenu.scss +3 -2
- package/scss/common/theme/designer/components/menu/_dock.scss +4 -4
- package/scss/common/theme/designer/components/menu/_megamenu.scss +10 -9
- package/scss/common/theme/designer/components/menu/_menu.scss +2 -2
- package/scss/common/theme/designer/components/menu/_menubar.scss +12 -11
- package/scss/common/theme/designer/components/menu/_panelmenu.scss +1 -2
- package/scss/common/theme/designer/components/menu/_slidemenu.scss +3 -2
- package/scss/common/theme/designer/components/menu/_steps.scss +1 -2
- package/scss/common/theme/designer/components/menu/_tieredmenu.scss +3 -2
- package/scss/common/theme/designer/components/messages/_message.scss +1 -1
- package/scss/common/theme/designer/components/messages/_toast.scss +1 -2
- package/scss/common/theme/designer/components/misc/_avatar.scss +1 -1
- package/scss/common/theme/designer/components/misc/_badge.scss +1 -1
- package/scss/common/theme/designer/components/misc/_blockui.scss +1 -1
- package/scss/common/theme/designer/components/misc/_chip.scss +2 -2
- package/scss/common/theme/designer/components/misc/_inplace.scss +0 -1
- package/scss/common/theme/designer/components/misc/_scrolltop.scss +1 -1
- package/scss/common/theme/designer/components/misc/_skeleton.scss +1 -1
- package/scss/common/theme/designer/components/misc/_tag.scss +1 -1
- package/scss/common/theme/designer/components/misc/_terminal.scss +8 -8
- package/scss/common/theme/designer/components/multimedia/_galleria.scss +1 -1
- package/scss/common/theme/designer/components/overlay/_confirmpopup.scss +2 -4
- package/scss/common/theme/designer/components/overlay/_dialog.scss +3 -3
- package/scss/common/theme/designer/components/overlay/_overlaypanel.scss +2 -4
- package/scss/common/theme/designer/components/panel/_accordion.scss +2 -2
- package/scss/common/theme/designer/components/panel/_divider.scss +1 -1
- package/scss/common/theme/designer/components/panel/_scrollpanel.scss +1 -1
- package/scss/common/theme/designer/components/panel/_splitter.scss +1 -1
- package/scss/common/theme/extensions/_button.scss +18 -6
- package/scss/common/theme/extensions/_orderlist.scss +0 -1
- package/scss/common/theme/extensions/_picklist.scss +0 -1
- package/scss/common/theme/extensions/_tree.scss +0 -1
- package/scss/common/variables/layout/_common.scss +9 -9
- package/scss/common/variables/layout/_layout_dark.scss +12 -12
- package/scss/common/variables/layout/_layout_light.scss +13 -13
- package/scss/common/variables/theme/_theme_dark.scss +76 -76
- package/scss/common/variables/theme/_theme_light.scss +80 -80
- package/scss/layout/default/_mng-variables-layout-dark.scss +1 -1
- package/scss/mng-commons-dark.scss +2 -2
- package/scss/mng-commons-light.scss +2 -2
- package/scss/mng-overrides/_layout_dialog.scss +4 -3
- package/scss/mng-overrides/_layout_forms.scss +1 -1
- package/scss/mng-overrides/_layout_radio.scss +1 -1
- package/scss/mng-overrides/_theme_datepicker.scss +7 -0
- package/scss/mng-overrides/_theme_dialog.scss +0 -1
- package/scss/mng-overrides/_theme_dropdown.scss +0 -1
- package/scss/mng-overrides/_theme_styles.scss +1 -0
- package/scss/mng-overrides/_theme_tableview.scss +6 -6
- package/scss/theme/default/_mng-variables-theme-dark.scss +2 -1
- package/scss/theme/default/_mng-variables-theme-light.scss +2 -1
|
@@ -2,10 +2,10 @@ import { Type } from '@angular/core';
|
|
|
2
2
|
import { AbstractControl } from '@angular/forms';
|
|
3
3
|
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
|
-
import { ClassType, EnumMemberType } from '../types';
|
|
6
|
-
import { ILookupDataProvider, ITableDataProvider } from '../data-providers';
|
|
7
|
-
import { ModelDescriptor, TableDescriptor, TableviewDescriptor, FieldValidator, ILookupDescriptor } from './';
|
|
8
5
|
import { MediusQueryParam, MediusQueryResult } from '../api/models';
|
|
6
|
+
import { ILookupDataProvider, ITableDataProvider } from '../data-providers';
|
|
7
|
+
import { ClassType, EnumMemberType } from '../types';
|
|
8
|
+
import { FieldValidator, ILookupDescriptor, ModelDescriptor, TableDescriptor, TableviewDescriptor } from './';
|
|
9
9
|
export declare class EditorDescriptor<T> {
|
|
10
10
|
static readonly defaultGroupName = "_default";
|
|
11
11
|
private readonly _model;
|
|
@@ -54,6 +54,7 @@ export declare abstract class AFieldDescriptor<T, ET> extends AGenericFieldDescr
|
|
|
54
54
|
protected _getter?: (item: ET) => T;
|
|
55
55
|
protected _setter?: (item: ET, value: T) => void;
|
|
56
56
|
protected _validators: Array<FieldValidator>;
|
|
57
|
+
protected _disabledFunction?: (model: any) => boolean;
|
|
57
58
|
protected constructor(editor: EditorDescriptor<ET>, property: string);
|
|
58
59
|
abstract copy(): AFieldDescriptor<T, ET>;
|
|
59
60
|
get property(): string;
|
|
@@ -66,14 +67,15 @@ export declare abstract class AFieldDescriptor<T, ET> extends AGenericFieldDescr
|
|
|
66
67
|
get getter(): ((item: ET) => T) | undefined;
|
|
67
68
|
get setter(): ((item: ET, value: T) => void) | undefined;
|
|
68
69
|
get validators(): FieldValidator[];
|
|
70
|
+
get disabledFunction(): ((model: any) => boolean) | undefined;
|
|
69
71
|
withLabel(label: string): this;
|
|
70
72
|
withPlaceholder(placeholder: string): this;
|
|
71
73
|
withRequired(required?: boolean): this;
|
|
72
|
-
withDisabled(disabled?: boolean): this;
|
|
74
|
+
withDisabled(disabled?: boolean, disabledFunction?: (model: any) => boolean): this;
|
|
73
75
|
withClassName(className: string): this;
|
|
74
76
|
withGetter(getter: (item: ET) => T): this;
|
|
75
77
|
withSetter(setter: (item: ET, value: T) => void): this;
|
|
76
|
-
withValidator(name: string, expression: (control: AbstractControl) => boolean, message
|
|
78
|
+
withValidator(name: string, expression: (control: AbstractControl) => boolean, message?: (err: any, field: FormlyFieldConfig) => string): this;
|
|
77
79
|
protected copyFieldsTo(obj: AFieldDescriptor<T, ET>): void;
|
|
78
80
|
}
|
|
79
81
|
export declare class FieldInputDescriptor<ET> extends AFieldDescriptor<string | number | boolean | Date, ET> {
|
|
@@ -108,8 +110,8 @@ export declare class FieldInputDescriptor<ET> extends AFieldDescriptor<string |
|
|
|
108
110
|
get maxLength(): number | undefined;
|
|
109
111
|
get minLength(): number | undefined;
|
|
110
112
|
get pattern(): string | RegExp | undefined;
|
|
111
|
-
asText(minLength?: number, maxLength?: number, pattern?: string | RegExp): this;
|
|
112
|
-
asTextarea(rows?: number): this;
|
|
113
|
+
asText(minLength?: number, maxLength?: number, pattern?: string | RegExp, isEmail?: boolean): this;
|
|
114
|
+
asTextarea(rows?: number, minLength?: number, maxLength?: number, pattern?: string | RegExp): this;
|
|
113
115
|
asNumber(step?: number, min?: number, max?: number, minFractionDigits?: number, maxFractionDigits?: number): this;
|
|
114
116
|
asSwitch(): this;
|
|
115
117
|
asRadio(options: Array<string>): this;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Type } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
+
import { MediusQueryParam } from '../api/models';
|
|
3
4
|
import { ILookupDataProvider } from '../data-providers';
|
|
4
5
|
import { ClassType } from '../types';
|
|
5
|
-
import { MediusQueryParam } from '../api/models';
|
|
6
6
|
export interface ILookupDescriptor<T> {
|
|
7
7
|
modelType: ClassType<T> | null;
|
|
8
8
|
itemsLabelProperty?: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Type } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { ModelDescriptor } from './model.descriptor';
|
|
4
|
-
import { ILookupDescriptor } from './lookup.descriptor';
|
|
5
|
-
import { ClassType } from '../types';
|
|
6
|
-
import { ILookupDataProvider } from '../data-providers';
|
|
7
3
|
import { MediusQueryParam } from '../api/models';
|
|
4
|
+
import { ILookupDataProvider } from '../data-providers';
|
|
5
|
+
import { ClassType } from '../types';
|
|
6
|
+
import { ILookupDescriptor } from './lookup.descriptor';
|
|
7
|
+
import { ModelDescriptor } from './model.descriptor';
|
|
8
8
|
export declare class TableDescriptor<T> {
|
|
9
9
|
private readonly _model;
|
|
10
10
|
private _filterDisplay;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractControl } from '@angular/forms';
|
|
2
|
-
import { ModelDescriptor, AFieldDescriptor, EditorDescriptor, FieldInputDescriptor, FieldLookupDescriptor, FieldLookupEnumDescriptor, FieldManyEditorDescriptor, FieldManyToManyEditorDescriptor, ColumnDescriptor, TableDescriptor } from './';
|
|
3
2
|
import { ClassType, EnumMemberType } from '../types';
|
|
3
|
+
import { AFieldDescriptor, ColumnDescriptor, EditorDescriptor, FieldInputDescriptor, FieldLookupDescriptor, FieldLookupEnumDescriptor, FieldManyEditorDescriptor, FieldManyToManyEditorDescriptor, ModelDescriptor, TableDescriptor } from './';
|
|
4
4
|
export declare class TableviewDescriptor<T> {
|
|
5
5
|
private readonly _model;
|
|
6
6
|
private _table;
|
|
@@ -50,31 +50,32 @@ import * as i45 from "primeng/confirmpopup";
|
|
|
50
50
|
import * as i46 from "primeng/dialog";
|
|
51
51
|
import * as i47 from "primeng/dynamicdialog";
|
|
52
52
|
import * as i48 from "primeng/dropdown";
|
|
53
|
-
import * as i49 from "primeng/
|
|
54
|
-
import * as i50 from "primeng/
|
|
55
|
-
import * as i51 from "primeng/
|
|
56
|
-
import * as i52 from "primeng/
|
|
57
|
-
import * as i53 from "primeng/
|
|
58
|
-
import * as i54 from "primeng/
|
|
59
|
-
import * as i55 from "primeng/
|
|
60
|
-
import * as i56 from "primeng/
|
|
61
|
-
import * as i57 from "primeng/
|
|
62
|
-
import * as i58 from "primeng/
|
|
63
|
-
import * as i59 from "primeng/
|
|
64
|
-
import * as i60 from "primeng/
|
|
65
|
-
import * as i61 from "primeng/
|
|
66
|
-
import * as i62 from "primeng/
|
|
67
|
-
import * as i63 from "primeng/
|
|
68
|
-
import * as i64 from "primeng/
|
|
69
|
-
import * as i65 from "primeng/
|
|
70
|
-
import * as i66 from "primeng/
|
|
71
|
-
import * as i67 from "primeng/
|
|
72
|
-
import * as i68 from "primeng/
|
|
73
|
-
import * as i69 from "primeng/
|
|
53
|
+
import * as i49 from "primeng/fileupload";
|
|
54
|
+
import * as i50 from "primeng/inputnumber";
|
|
55
|
+
import * as i51 from "primeng/inputmask";
|
|
56
|
+
import * as i52 from "primeng/inputswitch";
|
|
57
|
+
import * as i53 from "primeng/inputtext";
|
|
58
|
+
import * as i54 from "primeng/inputtextarea";
|
|
59
|
+
import * as i55 from "primeng/paginator";
|
|
60
|
+
import * as i56 from "primeng/radiobutton";
|
|
61
|
+
import * as i57 from "primeng/ripple";
|
|
62
|
+
import * as i58 from "primeng/selectbutton";
|
|
63
|
+
import * as i59 from "primeng/table";
|
|
64
|
+
import * as i60 from "primeng/tag";
|
|
65
|
+
import * as i61 from "primeng/toast";
|
|
66
|
+
import * as i62 from "primeng/togglebutton";
|
|
67
|
+
import * as i63 from "primeng/toolbar";
|
|
68
|
+
import * as i64 from "primeng/tooltip";
|
|
69
|
+
import * as i65 from "primeng/messages";
|
|
70
|
+
import * as i66 from "primeng/progressspinner";
|
|
71
|
+
import * as i67 from "primeng/tabview";
|
|
72
|
+
import * as i68 from "primeng/fieldset";
|
|
73
|
+
import * as i69 from "primeng/multiselect";
|
|
74
|
+
import * as i70 from "primeng/skeleton";
|
|
74
75
|
export declare const primeNgModules: (typeof InputTextModule)[];
|
|
75
76
|
export declare class MngCommonsModule {
|
|
76
77
|
static forRoot(config: MngModuleConfig): ModuleWithProviders<MngCommonsModule>;
|
|
77
78
|
static ɵfac: i0.ɵɵFactoryDeclaration<MngCommonsModule, never>;
|
|
78
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MngCommonsModule, [typeof i1.MngComponentDirective, typeof i2.MngTemplateDirective, typeof i3.MngPropertyPathPipe, typeof i4.MngBooleanPipe, typeof i5.MngBreadcrumbComponent, typeof i6.MngFooterComponent, typeof i7.MngMainLayoutComponent, typeof i8.MngMenuComponent, typeof i9.MngMenuItemComponent, typeof i10.MngTopbarComponent, typeof i11.MngAutocompleteComponent, typeof i12.MngDropdownComponent, typeof i13.MngFormlyFieldWrapperComponent, typeof i14.MngFormlyTableWrapperComponent, typeof i15.MngFormlyFieldInputComponent, typeof i16.MngFormlyFieldDropdownComponent, typeof i17.MngFormlyFieldAutocompleteComponent, typeof i18.MngFormlyFieldTableDialogMultiselectComponent, typeof i19.MngFormlyFieldTableDialogFormComponent, typeof i20.MngFormlyFieldTabsComponent, typeof i21.MngFormlyFieldFieldsetComponent, typeof i22.MngTableComponent, typeof i23.MngTableviewComponent, typeof i24.MngTableColumnValueComponent, typeof i25.MngTableColumnFilterComponent, typeof i26.MngTableviewRouteComponent, typeof i27.MngFormEditorComponent, typeof i28.MngActionComponent, typeof i29.MngActionDialogComponent, typeof i30.MngActionRouteComponent], [typeof i31.CommonModule, typeof i32.RouterModule, typeof i33.HttpClientModule, typeof i34.ReactiveFormsModule, typeof i35.TranslateModule, typeof i36.FormlyModule, typeof i37.AutoCompleteModule, typeof i38.BreadcrumbModule, typeof i39.ButtonModule, typeof i40.CalendarModule, typeof i41.CardModule, typeof i42.CheckboxModule, typeof i43.ChipModule, typeof i44.ConfirmDialogModule, typeof i45.ConfirmPopupModule, typeof i46.DialogModule, typeof i47.DynamicDialogModule, typeof i48.DropdownModule, typeof i49.
|
|
79
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MngCommonsModule, [typeof i1.MngComponentDirective, typeof i2.MngTemplateDirective, typeof i3.MngPropertyPathPipe, typeof i4.MngBooleanPipe, typeof i5.MngBreadcrumbComponent, typeof i6.MngFooterComponent, typeof i7.MngMainLayoutComponent, typeof i8.MngMenuComponent, typeof i9.MngMenuItemComponent, typeof i10.MngTopbarComponent, typeof i11.MngAutocompleteComponent, typeof i12.MngDropdownComponent, typeof i13.MngFormlyFieldWrapperComponent, typeof i14.MngFormlyTableWrapperComponent, typeof i15.MngFormlyFieldInputComponent, typeof i16.MngFormlyFieldDropdownComponent, typeof i17.MngFormlyFieldAutocompleteComponent, typeof i18.MngFormlyFieldTableDialogMultiselectComponent, typeof i19.MngFormlyFieldTableDialogFormComponent, typeof i20.MngFormlyFieldTabsComponent, typeof i21.MngFormlyFieldFieldsetComponent, typeof i22.MngTableComponent, typeof i23.MngTableviewComponent, typeof i24.MngTableColumnValueComponent, typeof i25.MngTableColumnFilterComponent, typeof i26.MngTableviewRouteComponent, typeof i27.MngFormEditorComponent, typeof i28.MngActionComponent, typeof i29.MngActionDialogComponent, typeof i30.MngActionRouteComponent], [typeof i31.CommonModule, typeof i32.RouterModule, typeof i33.HttpClientModule, typeof i34.ReactiveFormsModule, typeof i35.TranslateModule, typeof i36.FormlyModule, typeof i37.AutoCompleteModule, typeof i38.BreadcrumbModule, typeof i39.ButtonModule, typeof i40.CalendarModule, typeof i41.CardModule, typeof i42.CheckboxModule, typeof i43.ChipModule, typeof i44.ConfirmDialogModule, typeof i45.ConfirmPopupModule, typeof i46.DialogModule, typeof i47.DynamicDialogModule, typeof i48.DropdownModule, typeof i49.FileUploadModule, typeof i50.InputNumberModule, typeof i51.InputMaskModule, typeof i52.InputSwitchModule, typeof i53.InputTextModule, typeof i54.InputTextareaModule, typeof i55.PaginatorModule, typeof i56.RadioButtonModule, typeof i57.RippleModule, typeof i58.SelectButtonModule, typeof i59.TableModule, typeof i60.TagModule, typeof i61.ToastModule, typeof i62.ToggleButtonModule, typeof i63.ToolbarModule, typeof i64.TooltipModule, typeof i65.MessagesModule, typeof i66.ProgressSpinnerModule, typeof i67.TabViewModule, typeof i68.FieldsetModule, typeof i69.MultiSelectModule, typeof i70.SkeletonModule], [typeof i37.AutoCompleteModule, typeof i38.BreadcrumbModule, typeof i39.ButtonModule, typeof i40.CalendarModule, typeof i41.CardModule, typeof i42.CheckboxModule, typeof i43.ChipModule, typeof i44.ConfirmDialogModule, typeof i45.ConfirmPopupModule, typeof i46.DialogModule, typeof i47.DynamicDialogModule, typeof i48.DropdownModule, typeof i49.FileUploadModule, typeof i50.InputNumberModule, typeof i51.InputMaskModule, typeof i52.InputSwitchModule, typeof i53.InputTextModule, typeof i54.InputTextareaModule, typeof i55.PaginatorModule, typeof i56.RadioButtonModule, typeof i57.RippleModule, typeof i58.SelectButtonModule, typeof i59.TableModule, typeof i60.TagModule, typeof i61.ToastModule, typeof i62.ToggleButtonModule, typeof i63.ToolbarModule, typeof i64.TooltipModule, typeof i65.MessagesModule, typeof i66.ProgressSpinnerModule, typeof i67.TabViewModule, typeof i68.FieldsetModule, typeof i69.MultiSelectModule, typeof i70.SkeletonModule, typeof i1.MngComponentDirective, typeof i2.MngTemplateDirective, typeof i3.MngPropertyPathPipe, typeof i4.MngBooleanPipe, typeof i5.MngBreadcrumbComponent, typeof i6.MngFooterComponent, typeof i7.MngMainLayoutComponent, typeof i8.MngMenuComponent, typeof i9.MngMenuItemComponent, typeof i10.MngTopbarComponent, typeof i11.MngAutocompleteComponent, typeof i12.MngDropdownComponent, typeof i13.MngFormlyFieldWrapperComponent, typeof i14.MngFormlyTableWrapperComponent, typeof i15.MngFormlyFieldInputComponent, typeof i16.MngFormlyFieldDropdownComponent, typeof i17.MngFormlyFieldAutocompleteComponent, typeof i18.MngFormlyFieldTableDialogMultiselectComponent, typeof i19.MngFormlyFieldTableDialogFormComponent, typeof i20.MngFormlyFieldTabsComponent, typeof i21.MngFormlyFieldFieldsetComponent, typeof i22.MngTableComponent, typeof i23.MngTableviewComponent, typeof i24.MngTableColumnValueComponent, typeof i25.MngTableColumnFilterComponent, typeof i26.MngTableviewRouteComponent, typeof i27.MngFormEditorComponent, typeof i28.MngActionComponent, typeof i29.MngActionDialogComponent, typeof i30.MngActionRouteComponent]>;
|
|
79
80
|
static ɵinj: i0.ɵɵInjectorDeclaration<MngCommonsModule>;
|
|
80
81
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Type } from '@angular/core';
|
|
2
2
|
import { ActivatedRouteSnapshot, Data } from '@angular/router';
|
|
3
3
|
import { MenuItem } from 'primeng/api';
|
|
4
|
-
import { ActionDescriptor, TableviewDescriptor } from '../../descriptors';
|
|
5
4
|
import { TableviewDataProvider } from '../../data-providers';
|
|
5
|
+
import { ActionDescriptor, TableviewDescriptor } from '../../descriptors';
|
|
6
6
|
export declare type BreadcrumbType = string | string[] | MngBreadcrumbMenuItem | MngBreadcrumbMenuItem[] | ((routeUrl: string, route: ActivatedRouteSnapshot) => MngBreadcrumbMenuItem[]);
|
|
7
7
|
export interface MngBreadcrumbMenuItem extends MenuItem {
|
|
8
8
|
isHome?: boolean;
|
|
@@ -2,9 +2,9 @@ import { Type } from '@angular/core';
|
|
|
2
2
|
import { LoadChildren, Route, Routes } from '@angular/router';
|
|
3
3
|
import { MenuItem } from 'primeng/api';
|
|
4
4
|
import { MngMainLayoutComponent } from '../components/layout';
|
|
5
|
-
import { BreadcrumbType } from './models';
|
|
6
|
-
import { ActionDescriptor, TableviewDescriptor } from '../descriptors';
|
|
7
5
|
import { ITableviewDataProvider } from '../data-providers';
|
|
6
|
+
import { ActionDescriptor, TableviewDescriptor } from '../descriptors';
|
|
7
|
+
import { BreadcrumbType } from './models';
|
|
8
8
|
export declare class RoutesBuilder {
|
|
9
9
|
private readonly layoutRoute?;
|
|
10
10
|
private routes;
|
|
@@ -51,9 +51,7 @@ export declare class RouteBuilder {
|
|
|
51
51
|
withPrimeMenuItem(menuItem: MenuItem): this;
|
|
52
52
|
withMenuItem(icon?: string, label?: string, routerLink?: Array<string>): this;
|
|
53
53
|
withMenuItemChild(label: string, icon?: string, routerLink?: Array<string>): this;
|
|
54
|
-
private createMenuItem;
|
|
55
54
|
withMenuItemChildren(routesBuilder: RoutesBuilder): this;
|
|
56
|
-
private adjustMenuRouterLinksFromBuilder;
|
|
57
55
|
addChild(path: string, component: Type<any>): RouteBuilder;
|
|
58
56
|
addChildBuilder(routeBuilder: RouteBuilder): this;
|
|
59
57
|
addTableviewRoutes<T, S>(path: string, descriptor: TableviewDescriptor<T>, tableviewDataProvider: ITableviewDataProvider<T, S>, actions?: Array<ActionDescriptor<T>>, hasDetails?: boolean, hasEdit?: boolean, hasAdd?: boolean): RouteBuilder;
|
|
@@ -63,4 +61,6 @@ export declare class RouteBuilder {
|
|
|
63
61
|
finish(): RoutesBuilder;
|
|
64
62
|
buildRoute(): Route;
|
|
65
63
|
buildMenu(): Array<MenuItem>;
|
|
64
|
+
private createMenuItem;
|
|
65
|
+
private adjustMenuRouterLinksFromBuilder;
|
|
66
66
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Injector } from '@angular/core';
|
|
2
2
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
-
import { DialogService } from 'primeng/dynamicdialog';
|
|
4
|
-
import { ConfirmationService } from 'primeng/api';
|
|
5
3
|
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
import { ConfirmationService } from 'primeng/api';
|
|
5
|
+
import { DialogService } from 'primeng/dynamicdialog';
|
|
6
6
|
import { Observable } from 'rxjs';
|
|
7
7
|
import { ActionActivationResult, ActionData, ActionExecContext, ActionRunResult, ActionTriggerResult } from '../components/action/models';
|
|
8
|
-
import { ActionDescriptor, ActionEditorDescriptor } from '../descriptors';
|
|
9
8
|
import { MngTableCellClickEvent } from '../components/tableview/models';
|
|
10
9
|
import { TableviewComponentService } from '../components/tableview/services';
|
|
11
10
|
import { IDataProvider, IEditorDataProvider } from '../data-providers';
|
|
11
|
+
import { ActionDescriptor, ActionEditorDescriptor } from '../descriptors';
|
|
12
12
|
import { IdType } from '../types';
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
14
14
|
export declare class MngActionService {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Router } from '@angular/router';
|
|
2
1
|
import { Title } from '@angular/platform-browser';
|
|
3
|
-
import {
|
|
2
|
+
import { Router } from '@angular/router';
|
|
4
3
|
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
import { MenuItem, PrimeNGConfig } from 'primeng/api';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
|
-
import { MngConfigurationService } from './configuration.service';
|
|
7
6
|
import { MngModuleConfig } from '../config/models';
|
|
8
7
|
import { IUser } from '../models';
|
|
8
|
+
import { MngConfigurationService } from './configuration.service';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class MngCommonsService {
|
|
11
11
|
private router;
|
|
@@ -55,9 +55,9 @@ export declare class MngCommonsService {
|
|
|
55
55
|
get breadcrumbs$(): Observable<MenuItem[]>;
|
|
56
56
|
get colorSchemeIsLight(): boolean;
|
|
57
57
|
get colorSchemeIsDark(): boolean;
|
|
58
|
-
get user(): IUser;
|
|
59
|
-
|
|
60
|
-
|
|
58
|
+
get user(): IUser | undefined;
|
|
59
|
+
set user(user: IUser | undefined);
|
|
60
|
+
get user$(): Observable<IUser | undefined>;
|
|
61
61
|
initialize(): void;
|
|
62
62
|
menuChangeActiveKey(key: string): void;
|
|
63
63
|
menuReset(): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
2
1
|
import { ConfigOption } from '@ngx-formly/core';
|
|
2
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
3
|
import { MngModuleConfig } from '../../config/models';
|
|
4
4
|
export declare function mngFormlyConfigProvider(translate: TranslateService, moduleConfig?: MngModuleConfig): ConfigOption;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
2
|
-
import { EditorDescriptor,
|
|
2
|
+
import { AFieldDescriptor, EditorDescriptor, FieldGroupDescriptor, FieldTabGroupDescriptor } from '../descriptors';
|
|
3
3
|
export declare class EditorFormlyUtil {
|
|
4
4
|
static createFormlyConfigFromDescriptor(descriptor: EditorDescriptor<any>): FormlyFieldConfig[];
|
|
5
5
|
static createFormlyTabType(tabGroups: FieldTabGroupDescriptor<any>[]): FormlyFieldConfig[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ClassType } from '../types';
|
|
2
1
|
import { ILookupDescriptor } from '../descriptors';
|
|
2
|
+
import { ClassType } from '../types';
|
|
3
3
|
export declare class ModelUtil {
|
|
4
4
|
static findIdAttribute<T>(classType: ClassType<T>): string | null;
|
|
5
5
|
static findTitleAttribute<T>(classType: ClassType<T>): string | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TranslateService } from '@ngx-translate/core';
|
|
2
|
-
import { ActionDescriptor, TableDescriptor } from '../descriptors';
|
|
3
2
|
import { TableviewComponentService } from '../components/tableview/services';
|
|
3
|
+
import { ActionDescriptor, TableDescriptor } from '../descriptors';
|
|
4
4
|
export declare class ToastUtil {
|
|
5
5
|
static tableNotificationError(translationService: TranslateService, table: TableDescriptor<any>, error: any, tableview?: TableviewComponentService<any, any>): void;
|
|
6
6
|
static actionNotificationSuccess(translationService: TranslateService, action: ActionDescriptor<any>, functionName: string, customTitleKey?: string, customMessageKey?: string, tableview?: TableviewComponentService<any, any>, item?: any): void;
|
package/package.json
CHANGED
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
ul {
|
|
11
11
|
li {
|
|
12
12
|
&.p-breadcrumb-chevron {
|
|
13
|
-
margin: 0 .75rem;
|
|
13
|
+
margin: 0 0.75rem;
|
|
14
14
|
|
|
15
15
|
&::before {
|
|
16
|
-
content:
|
|
16
|
+
content: '\2044';
|
|
17
17
|
font-weight: bold;
|
|
18
18
|
font-size: 1.25rem;
|
|
19
19
|
}
|
|
@@ -39,20 +39,20 @@
|
|
|
39
39
|
|
|
40
40
|
.layout-breadcrumb-right-items {
|
|
41
41
|
.search-icon {
|
|
42
|
-
display:none;
|
|
42
|
+
display: none;
|
|
43
43
|
align-items: center;
|
|
44
44
|
justify-content: center;
|
|
45
45
|
color: $textColor;
|
|
46
46
|
width: 32px;
|
|
47
47
|
height: 32px;
|
|
48
|
-
margin-right: .5rem;
|
|
48
|
+
margin-right: 0.5rem;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
.search-wrapper {
|
|
52
52
|
transition: transform $animationDuration $animationTimingFunction;
|
|
53
53
|
|
|
54
54
|
.p-input-icon-left {
|
|
55
|
-
margin-right: .5rem;
|
|
55
|
+
margin-right: 0.5rem;
|
|
56
56
|
width: 100%;
|
|
57
57
|
|
|
58
58
|
input {
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
.layout-breadcrumb-container {
|
|
69
69
|
.layout-breadcrumb-right-items {
|
|
70
70
|
.search-icon {
|
|
71
|
-
display:flex;
|
|
71
|
+
display: flex;
|
|
72
72
|
}
|
|
73
73
|
.search-wrapper {
|
|
74
74
|
width: 0;
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
z-index: 999;
|
|
12
12
|
border-left: 0 none;
|
|
13
13
|
transform: translateX(100%);
|
|
14
|
-
transition: transform .4s cubic-bezier(.05
|
|
14
|
+
transition: transform 0.4s cubic-bezier(0.05, 0.74, 0.2, 0.99);
|
|
15
15
|
|
|
16
16
|
&.layout-config-active {
|
|
17
17
|
transform: translateX(0);
|
|
18
|
-
box-shadow: 0 2px 4px -1px rgba(0,0,0
|
|
18
|
+
box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);
|
|
19
19
|
|
|
20
20
|
.layout-config-content {
|
|
21
21
|
.layout-config-button {
|
|
@@ -36,10 +36,9 @@
|
|
|
36
36
|
@include flex-wrap(wrap);
|
|
37
37
|
|
|
38
38
|
> div {
|
|
39
|
-
padding: .25rem;
|
|
39
|
+
padding: 0.25rem;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
|
|
43
42
|
a {
|
|
44
43
|
width: 2rem;
|
|
45
44
|
height: 2rem;
|
|
@@ -49,15 +48,15 @@
|
|
|
49
48
|
@include flex-align-center();
|
|
50
49
|
@include flex-justify-center();
|
|
51
50
|
transition: transform $transitionDuration;
|
|
52
|
-
box-shadow: 0 .125rem .25rem rgba(0,0,0
|
|
51
|
+
box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
|
|
53
52
|
|
|
54
53
|
i {
|
|
55
54
|
font-size: 1rem;
|
|
56
55
|
position: absolute;
|
|
57
56
|
top: 50%;
|
|
58
57
|
left: 50%;
|
|
59
|
-
margin-left:
|
|
60
|
-
margin-top:
|
|
58
|
+
margin-left: -0.5rem;
|
|
59
|
+
margin-top: -0.5rem;
|
|
61
60
|
color: #ffffff;
|
|
62
61
|
}
|
|
63
62
|
|
|
@@ -86,7 +85,7 @@
|
|
|
86
85
|
overflow: hidden;
|
|
87
86
|
cursor: pointer;
|
|
88
87
|
z-index: 999;
|
|
89
|
-
box-shadow:
|
|
88
|
+
box-shadow: -0.25rem 0 1rem rgba(0, 0, 0, 0.15);
|
|
90
89
|
|
|
91
90
|
i {
|
|
92
91
|
font-size: 2rem;
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
&.notfound {
|
|
13
13
|
.exception-panel {
|
|
14
14
|
h1 {
|
|
15
|
-
color: #
|
|
16
|
-
text-shadow: 0px 0px 50px rgba(#
|
|
15
|
+
color: #0f8bfd;
|
|
16
|
+
text-shadow: 0px 0px 50px rgba(#0f8bfd, 0.2);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
h3 {
|
|
20
|
-
color: darken(#
|
|
20
|
+
color: darken(#0f8bfd, 30%);
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
}
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
&.accessdenied {
|
|
26
26
|
.exception-panel {
|
|
27
27
|
h1 {
|
|
28
|
-
color: #
|
|
29
|
-
text-shadow: 0px 0px 50px rgba(#
|
|
28
|
+
color: #0f8bfd;
|
|
29
|
+
text-shadow: 0px 0px 50px rgba(#0f8bfd, 0.2);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
h3 {
|
|
33
|
-
color: darken(#
|
|
33
|
+
color: darken(#0f8bfd, 30%);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
}
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
&.error {
|
|
39
39
|
.exception-panel {
|
|
40
40
|
h1 {
|
|
41
|
-
color: #
|
|
42
|
-
text-shadow: 0px 0px 50px rgba(#
|
|
41
|
+
color: #fc6161;
|
|
42
|
+
text-shadow: 0px 0px 50px rgba(#fc6161, 0.2);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
h3 {
|
|
46
|
-
color: lighten(#
|
|
46
|
+
color: lighten(#fc6161, 10%);
|
|
47
47
|
max-width: 720px;
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -103,7 +103,8 @@
|
|
|
103
103
|
.exception-body {
|
|
104
104
|
background-size: auto;
|
|
105
105
|
|
|
106
|
-
&.accessdenied,
|
|
106
|
+
&.accessdenied,
|
|
107
|
+
&.error {
|
|
107
108
|
.exception-panel {
|
|
108
109
|
h1 {
|
|
109
110
|
font-size: 70px;
|
|
@@ -120,7 +121,7 @@
|
|
|
120
121
|
margin-top: 0;
|
|
121
122
|
|
|
122
123
|
h3 {
|
|
123
|
-
line-height: .75;
|
|
124
|
+
line-height: 0.75;
|
|
124
125
|
}
|
|
125
126
|
|
|
126
127
|
button {
|
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
.app-name {
|
|
18
18
|
font-size: 1rem;
|
|
19
19
|
font-weight: 600;
|
|
20
|
-
letter-spacing: .2px;
|
|
21
|
-
margin-left: .5rem;
|
|
20
|
+
letter-spacing: 0.2px;
|
|
21
|
+
margin-left: 0.5rem;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.copyright {
|
|
26
|
-
font-size: .875rem;
|
|
26
|
+
font-size: 0.875rem;
|
|
27
27
|
color: $textSecondaryColor;
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
.help-search-effect {
|
|
17
17
|
background: $bodyImage;
|
|
18
18
|
background-repeat: no-repeat;
|
|
19
|
-
transform:
|
|
19
|
+
transform: matrix(-1, 0, 0, 1, 0, 0);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.search-container {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
position: absolute;
|
|
40
40
|
margin-left: 1rem;
|
|
41
41
|
top: 50%;
|
|
42
|
-
margin-top:
|
|
42
|
+
margin-top: -0.5rem;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
}
|
|
@@ -62,10 +62,10 @@
|
|
|
62
62
|
.status-bar {
|
|
63
63
|
flex: 1 1 0;
|
|
64
64
|
-ms-flex: 1 1 0px;
|
|
65
|
-
background: #
|
|
65
|
+
background: #0bd18a;
|
|
66
66
|
box-shadow: 0px 0px 10px rgba(11, 209, 138, 0.3);
|
|
67
67
|
height: 50px;
|
|
68
|
-
margin-right: .25rem;
|
|
68
|
+
margin-right: 0.25rem;
|
|
69
69
|
transition: transform $transitionDuration;
|
|
70
70
|
|
|
71
71
|
&:last-child {
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
&.status-bar-failure {
|
|
76
|
-
background: #
|
|
76
|
+
background: #fc6161;
|
|
77
77
|
box-shadow: 0px 0px 10px rgba(252, 97, 97, 0.3);
|
|
78
78
|
}
|
|
79
79
|
|
|
@@ -137,20 +137,19 @@
|
|
|
137
137
|
width: 50px;
|
|
138
138
|
height: 50px;
|
|
139
139
|
border-radius: 50%;
|
|
140
|
-
|
|
141
140
|
}
|
|
142
141
|
}
|
|
143
142
|
|
|
144
143
|
&:nth-child(1) {
|
|
145
|
-
background-image: linear-gradient(180deg, rgba(28, 28, 44, 0) 33.85%, rgba(27, 27, 44, 0.8) 80.77%), url(
|
|
144
|
+
background-image: linear-gradient(180deg, rgba(28, 28, 44, 0) 33.85%, rgba(27, 27, 44, 0.8) 80.77%), url('#{$baseHref}assets/images/mng/pages/help/blog1.jpg');
|
|
146
145
|
}
|
|
147
146
|
|
|
148
147
|
&:nth-child(2) {
|
|
149
|
-
background-image: linear-gradient(186.73deg, rgba(28, 28, 44, 0) 46.89%, rgba(27, 27, 44, 0.8) 95.1%), url(
|
|
148
|
+
background-image: linear-gradient(186.73deg, rgba(28, 28, 44, 0) 46.89%, rgba(27, 27, 44, 0.8) 95.1%), url('#{$baseHref}assets/images/mng/pages/help/blog2.jpg');
|
|
150
149
|
}
|
|
151
150
|
|
|
152
151
|
&:nth-child(3) {
|
|
153
|
-
background-image: linear-gradient(180deg, rgba(28, 28, 44, 0) 33.85%, rgba(27, 27, 44, 0.8) 80.77%), url(
|
|
152
|
+
background-image: linear-gradient(180deg, rgba(28, 28, 44, 0) 33.85%, rgba(27, 27, 44, 0.8) 80.77%), url('#{$baseHref}assets/images/mng/pages/help/blog3.jpg');
|
|
154
153
|
}
|
|
155
154
|
}
|
|
156
155
|
}
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
transition: all $transitionDuration;
|
|
35
35
|
cursor: pointer;
|
|
36
36
|
user-select: none;
|
|
37
|
-
margin-top: .2rem;
|
|
37
|
+
margin-top: 0.2rem;
|
|
38
38
|
|
|
39
39
|
&:last-child {
|
|
40
|
-
margin-bottom: .5rem;
|
|
40
|
+
margin-bottom: 0.5rem;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
a {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
color: $textColor;
|
|
48
48
|
|
|
49
49
|
i {
|
|
50
|
-
margin-right: .75rem;
|
|
50
|
+
margin-right: 0.75rem;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
}
|