@mediusinc/mng-commons 0.1.0 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/api/models/builders/query-param.builder.mjs +48 -48
- package/esm2020/lib/api/models/filter-match-type.model.mjs +26 -26
- package/esm2020/lib/api/models/filter-param.model.mjs +46 -46
- package/esm2020/lib/api/models/index.mjs +9 -9
- package/esm2020/lib/api/models/mappers.mjs +17 -17
- package/esm2020/lib/api/models/query-mode.model.mjs +19 -19
- package/esm2020/lib/api/models/query-param.model.mjs +69 -69
- package/esm2020/lib/api/models/query-result.model.mjs +45 -45
- package/esm2020/lib/api/models/serialization.model.mjs +2 -2
- package/esm2020/lib/api/services/crud-api.abstract.service.mjs +72 -0
- package/esm2020/lib/api/services/index.mjs +2 -2
- package/esm2020/lib/api/utils/index.mjs +3 -3
- package/esm2020/lib/api/utils/medius-rest.util.mjs +122 -122
- package/esm2020/lib/api/utils/object-serializer.util.mjs +226 -226
- package/esm2020/lib/components/action/action.component.mjs +65 -63
- package/esm2020/lib/components/action/dialog/action-dialog.component.mjs +148 -159
- package/esm2020/lib/components/action/index.mjs +4 -4
- package/esm2020/lib/components/action/models/action-confirmation-service.model.mjs +2 -0
- package/esm2020/lib/components/action/models/action-execution.model.mjs +58 -0
- package/esm2020/lib/components/action/models/index.mjs +3 -0
- package/esm2020/lib/components/action/route/action-route.component.mjs +144 -144
- package/esm2020/lib/components/form/autocomplete/autocomplete.component.mjs +114 -0
- package/esm2020/lib/components/form/dropdown/dropdown.component.mjs +113 -0
- package/esm2020/lib/components/form/editor/form-editor.component.mjs +141 -142
- package/esm2020/lib/components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.mjs +19 -19
- package/esm2020/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.mjs +19 -19
- package/esm2020/lib/components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component.mjs +16 -16
- package/esm2020/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.mjs +26 -26
- package/esm2020/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.mjs +109 -109
- package/esm2020/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.mjs +122 -122
- package/esm2020/lib/components/form/formly/fields/formly-field-tabs/formly-field-tabs.component.mjs +17 -17
- package/esm2020/lib/components/form/formly/fields/index.mjs +8 -8
- package/esm2020/lib/components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.mjs +17 -17
- package/esm2020/lib/components/form/formly/wrappers/formly-table-wrapper/formly-table-wrapper.component.mjs +16 -16
- package/esm2020/lib/components/form/formly/wrappers/index.mjs +3 -3
- package/esm2020/lib/components/form/index.mjs +4 -4
- package/esm2020/lib/components/form/models/form-editor.event.mjs +7 -0
- package/esm2020/lib/components/form/models/index.mjs +2 -0
- package/esm2020/lib/components/layout/breadcrumb.component.mjs +17 -17
- package/esm2020/lib/components/layout/footer.component.mjs +17 -17
- package/esm2020/lib/components/layout/index.mjs +7 -7
- package/esm2020/lib/components/layout/main-layout.component.mjs +54 -33
- package/esm2020/lib/components/layout/menu-item.component.mjs +173 -173
- package/esm2020/lib/components/layout/menu.component.mjs +20 -20
- package/esm2020/lib/components/layout/services/index.mjs +2 -0
- package/esm2020/lib/components/layout/services/main-layout.component.service.mjs +190 -190
- package/esm2020/lib/components/layout/topbar.component.mjs +59 -40
- package/esm2020/lib/components/tableview/index.mjs +6 -6
- package/esm2020/lib/components/tableview/models/index.mjs +2 -0
- package/esm2020/lib/components/tableview/models/table.event.mjs +16 -0
- package/esm2020/lib/components/tableview/route/tableview-route.abstract.component.mjs +24 -24
- package/esm2020/lib/components/tableview/services/index.mjs +2 -0
- package/esm2020/lib/components/tableview/services/tableview.component.service.mjs +17 -0
- package/esm2020/lib/components/tableview/table/column-filter/column-filter.component.mjs +85 -74
- package/esm2020/lib/components/tableview/table/column-value/column-value.component.mjs +25 -25
- package/esm2020/lib/components/tableview/table/table.component.mjs +307 -307
- package/esm2020/lib/components/tableview/tableview.component.mjs +82 -83
- package/esm2020/lib/config/formly.config.mjs +136 -136
- package/esm2020/lib/config/index.mjs +2 -2
- package/esm2020/lib/config/models/index.mjs +2 -0
- package/esm2020/lib/config/models/mng-config.model.mjs +2 -0
- package/esm2020/lib/data-providers/base.data-provider.mjs +24 -0
- package/esm2020/lib/data-providers/editor.data-provider.mjs +37 -0
- package/esm2020/lib/data-providers/index.mjs +6 -0
- package/esm2020/lib/data-providers/lookup.data-provider.mjs +16 -0
- package/esm2020/lib/data-providers/table.data-provider.mjs +2 -0
- package/esm2020/lib/data-providers/tableview.data-provider.mjs +17 -0
- package/esm2020/lib/descriptors/action.descriptor.mjs +332 -0
- package/esm2020/lib/descriptors/editor.descriptor.mjs +670 -0
- package/esm2020/lib/descriptors/field.validator.mjs +21 -0
- package/esm2020/lib/descriptors/index.mjs +8 -0
- package/esm2020/lib/descriptors/lookup.descriptor.mjs +2 -0
- package/esm2020/lib/descriptors/model.descriptor.mjs +34 -0
- package/esm2020/lib/descriptors/table.descriptor.mjs +427 -0
- package/esm2020/lib/descriptors/tableview.descriptor.mjs +131 -0
- package/esm2020/lib/directives/component.directive.mjs +23 -0
- package/esm2020/lib/directives/index.mjs +3 -2
- package/esm2020/lib/directives/template.directive.mjs +29 -25
- package/esm2020/lib/mng-commons.module.mjs +410 -343
- package/esm2020/lib/models/index.mjs +3 -0
- package/esm2020/lib/models/router.model.mjs +2 -0
- package/esm2020/lib/models/user.model.mjs +2 -0
- package/esm2020/lib/pipes/boolean.pipe.mjs +22 -22
- package/esm2020/lib/pipes/index.mjs +3 -3
- package/esm2020/lib/pipes/property-path.pipe.mjs +36 -36
- package/esm2020/lib/services/action.service.mjs +269 -270
- package/esm2020/lib/services/commons.service.mjs +354 -357
- package/esm2020/lib/services/configuration.service.mjs +78 -77
- package/esm2020/lib/services/index.mjs +5 -5
- package/esm2020/lib/services/navigation.service.mjs +48 -48
- package/esm2020/lib/services/providers/commons-init.provider.mjs +4 -4
- package/esm2020/lib/services/providers/config-service.provider.mjs +20 -12
- package/esm2020/lib/services/providers/formly-config.provider.mjs +31 -31
- package/esm2020/lib/services/providers/index.mjs +4 -3
- package/esm2020/lib/services/tokens/browser-storage.token.mjs +6 -0
- package/esm2020/lib/services/tokens/index.mjs +3 -0
- package/esm2020/lib/services/tokens/module-config.token.mjs +3 -0
- package/esm2020/lib/types/index.mjs +3 -0
- package/esm2020/lib/types/type.decorator.mjs +7 -0
- package/esm2020/lib/types/type.model.mjs +2 -0
- package/esm2020/lib/utils/editor-formly.util.mjs +176 -176
- package/esm2020/lib/utils/i18n.util.mjs +125 -125
- package/esm2020/lib/utils/index.mjs +6 -5
- package/esm2020/lib/utils/model.util.mjs +57 -57
- package/esm2020/lib/utils/toast.util.mjs +39 -39
- package/esm2020/lib/utils/type.util.mjs +39 -39
- package/esm2020/mediusinc-mng-commons.mjs +5 -5
- package/esm2020/public-api.mjs +36 -35
- package/fesm2015/mediusinc-mng-commons.mjs +6086 -5914
- package/fesm2015/mediusinc-mng-commons.mjs.map +1 -1
- package/fesm2020/mediusinc-mng-commons.mjs +6010 -5841
- package/fesm2020/mediusinc-mng-commons.mjs.map +1 -1
- package/lib/api/models/builders/query-param.builder.d.ts +11 -11
- package/lib/api/models/filter-match-type.model.d.ts +23 -23
- package/lib/api/models/filter-param.model.d.ts +23 -23
- package/lib/api/models/index.d.ts +8 -8
- package/lib/api/models/mappers.d.ts +6 -6
- package/lib/api/models/query-mode.model.d.ts +16 -16
- package/lib/api/models/query-param.model.d.ts +31 -31
- package/lib/api/models/query-result.model.d.ts +36 -36
- package/lib/api/models/serialization.model.d.ts +8 -8
- package/lib/api/services/{abstract-crud-api.service.d.ts → crud-api.abstract.service.d.ts} +23 -23
- package/lib/api/services/index.d.ts +1 -1
- package/lib/api/utils/index.d.ts +2 -2
- package/lib/api/utils/medius-rest.util.d.ts +12 -12
- package/lib/api/utils/object-serializer.util.d.ts +30 -30
- package/lib/components/action/action.component.d.ts +36 -36
- package/lib/components/action/dialog/action-dialog.component.d.ts +46 -49
- package/lib/components/action/index.d.ts +3 -3
- package/lib/{models/interfaces/confirmation-service.model.d.ts → components/action/models/action-confirmation-service.model.d.ts} +6 -6
- package/lib/{models/action/action.model.d.ts → components/action/models/action-execution.model.d.ts} +53 -53
- package/lib/components/action/models/index.d.ts +2 -0
- package/lib/components/action/route/action-route.component.d.ts +32 -32
- package/lib/components/form/autocomplete/{mng-autocomplete.component.d.ts → autocomplete.component.d.ts} +36 -36
- package/lib/components/form/dropdown/{mng-dropdown.component.d.ts → dropdown.component.d.ts} +34 -34
- package/lib/components/form/editor/form-editor.component.d.ts +39 -39
- package/lib/components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.d.ts +11 -11
- package/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.d.ts +11 -11
- package/lib/components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component.d.ts +6 -6
- package/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.d.ts +12 -12
- package/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.d.ts +17 -17
- package/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.d.ts +36 -36
- package/lib/components/form/formly/fields/formly-field-tabs/formly-field-tabs.component.d.ts +6 -6
- package/lib/components/form/formly/fields/index.d.ts +7 -7
- package/lib/components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.d.ts +8 -8
- package/lib/components/form/formly/wrappers/formly-table-wrapper/formly-table-wrapper.component.d.ts +8 -8
- package/lib/components/form/formly/wrappers/index.d.ts +2 -2
- package/lib/components/form/index.d.ts +3 -3
- package/lib/components/form/models/form-editor.event.d.ts +5 -0
- package/lib/components/form/models/index.d.ts +1 -0
- package/lib/components/layout/breadcrumb.component.d.ts +8 -8
- package/lib/components/layout/footer.component.d.ts +9 -9
- package/lib/components/layout/index.d.ts +6 -6
- package/lib/components/layout/main-layout.component.d.ts +21 -13
- package/lib/components/layout/menu-item.component.d.ts +29 -29
- package/lib/components/layout/menu.component.d.ts +10 -10
- package/lib/components/layout/services/index.d.ts +1 -0
- package/lib/components/layout/services/main-layout.component.service.d.ts +65 -65
- package/lib/components/layout/topbar.component.d.ts +25 -18
- package/lib/components/tableview/index.d.ts +5 -5
- package/lib/components/tableview/models/index.d.ts +1 -0
- package/lib/{models/events/table-event.model.d.ts → components/tableview/models/table.event.d.ts} +17 -17
- package/lib/components/tableview/route/tableview-route.abstract.component.d.ts +14 -14
- package/lib/components/tableview/services/index.d.ts +1 -0
- package/lib/components/tableview/{tableview.component.service.d.ts → services/tableview.component.service.d.ts} +13 -13
- package/lib/components/tableview/table/column-filter/column-filter.component.d.ts +27 -22
- package/lib/components/tableview/table/column-value/column-value.component.d.ts +12 -12
- package/lib/components/tableview/table/table.component.d.ts +79 -79
- package/lib/components/tableview/tableview.component.d.ts +35 -36
- package/lib/config/formly.config.d.ts +14 -14
- package/lib/config/index.d.ts +1 -1
- package/lib/{models/config → config/models}/index.d.ts +1 -1
- package/lib/{models/config → config/models}/mng-config.model.d.ts +34 -37
- package/lib/data-providers/base.data-provider.d.ts +17 -0
- package/lib/data-providers/editor.data-provider.d.ts +25 -0
- package/lib/data-providers/index.d.ts +5 -0
- package/lib/data-providers/lookup.data-provider.d.ts +14 -0
- package/lib/data-providers/table.data-provider.d.ts +6 -0
- package/lib/data-providers/tableview.data-provider.d.ts +15 -0
- package/lib/{models/descriptors/action-descriptor.model.d.ts → descriptors/action.descriptor.d.ts} +148 -145
- package/lib/{models/descriptors/editor-descriptor.model.d.ts → descriptors/editor.descriptor.d.ts} +255 -257
- package/lib/{models/validators → descriptors}/field.validator.d.ts +18 -18
- package/lib/descriptors/index.d.ts +7 -0
- package/lib/{models/interfaces/lookup.model.d.ts → descriptors/lookup.descriptor.d.ts} +17 -17
- package/lib/{models/descriptors/model-descriptor.model.d.ts → descriptors/model.descriptor.d.ts} +15 -15
- package/lib/{models/descriptors/table-descriptor.model.d.ts → descriptors/table.descriptor.d.ts} +184 -164
- package/lib/{models/descriptors/tableview-descriptor.model.d.ts → descriptors/tableview.descriptor.d.ts} +39 -41
- package/lib/directives/component.directive.d.ts +11 -0
- package/lib/directives/index.d.ts +2 -1
- package/lib/directives/template.directive.d.ts +13 -11
- package/lib/mng-commons.module.d.ts +79 -78
- package/lib/models/{router/index.d.ts → index.d.ts} +2 -1
- package/lib/models/router.model.d.ts +14 -0
- package/lib/models/{user/user.model.d.ts → user.model.d.ts} +8 -8
- package/lib/pipes/boolean.pipe.d.ts +7 -7
- package/lib/pipes/index.d.ts +2 -2
- package/lib/pipes/property-path.pipe.d.ts +7 -7
- package/lib/services/action.service.d.ts +92 -92
- package/lib/services/commons.service.d.ts +72 -74
- package/lib/services/configuration.service.d.ts +35 -35
- package/lib/services/index.d.ts +4 -4
- package/lib/services/navigation.service.d.ts +14 -14
- package/lib/services/providers/commons-init.provider.d.ts +2 -2
- package/lib/services/providers/config-service.provider.d.ts +5 -5
- package/lib/services/providers/formly-config.provider.d.ts +4 -4
- package/lib/services/providers/index.d.ts +3 -2
- package/lib/services/tokens/browser-storage.token.d.ts +2 -0
- package/lib/services/tokens/index.d.ts +2 -0
- package/lib/services/tokens/module-config.token.d.ts +3 -0
- package/lib/{models/types → types}/index.d.ts +2 -2
- package/lib/{models/types → types}/type.decorator.d.ts +2 -2
- package/lib/{models/types → types}/type.model.d.ts +10 -10
- package/lib/utils/editor-formly.util.d.ts +9 -9
- package/lib/utils/i18n.util.d.ts +18 -18
- package/lib/utils/index.d.ts +5 -4
- package/lib/utils/model.util.d.ts +7 -7
- package/lib/utils/toast.util.d.ts +13 -13
- package/lib/utils/type.util.d.ts +15 -15
- package/mediusinc-mng-commons.d.ts +5 -5
- package/package.json +4 -4
- package/public-api.d.ts +25 -24
- package/scss/common/layout/_exception.scss +1 -1
- package/scss/common/layout/_help.scss +3 -3
- package/scss/common/layout/_landing.scss +1 -1
- package/scss/common/variables/layout/_common.scss +2 -0
- package/scss/common/variables/layout/_layout_dark.scss +4 -3
- package/scss/common/variables/layout/_layout_light.scss +4 -3
- package/scss/layout/default/_mng-variables-layout-light.scss +2 -2
- package/scss/mng-commons-dark.scss +0 -5
- package/scss/mng-commons-light.scss +0 -8
- package/scss/theme/default/_mng-variables-theme-light.scss +4 -4
- package/.pnpm-debug.log +0 -15
- package/esm2020/lib/api/services/abstract-crud-api.service.mjs +0 -72
- package/esm2020/lib/components/form/autocomplete/mng-autocomplete.component.mjs +0 -114
- package/esm2020/lib/components/form/dropdown/mng-dropdown.component.mjs +0 -113
- package/esm2020/lib/components/tableview/tableview.component.service.mjs +0 -18
- package/esm2020/lib/models/action/action.model.mjs +0 -58
- package/esm2020/lib/models/action/index.mjs +0 -2
- package/esm2020/lib/models/config/index.mjs +0 -2
- package/esm2020/lib/models/config/mng-config.model.mjs +0 -3
- package/esm2020/lib/models/descriptors/action-descriptor.model.mjs +0 -325
- package/esm2020/lib/models/descriptors/editor-descriptor.model.mjs +0 -671
- package/esm2020/lib/models/descriptors/index.mjs +0 -6
- package/esm2020/lib/models/descriptors/model-descriptor.model.mjs +0 -34
- package/esm2020/lib/models/descriptors/table-descriptor.model.mjs +0 -401
- package/esm2020/lib/models/descriptors/tableview-descriptor.model.mjs +0 -133
- package/esm2020/lib/models/events/editor-event.model.mjs +0 -14
- package/esm2020/lib/models/events/index.mjs +0 -3
- package/esm2020/lib/models/events/table-event.model.mjs +0 -16
- package/esm2020/lib/models/interfaces/confirmation-service.model.mjs +0 -2
- package/esm2020/lib/models/interfaces/index.mjs +0 -3
- package/esm2020/lib/models/interfaces/lookup.model.mjs +0 -2
- package/esm2020/lib/models/providers/data-provider.model.mjs +0 -86
- package/esm2020/lib/models/providers/index.mjs +0 -2
- package/esm2020/lib/models/router/index.mjs +0 -2
- package/esm2020/lib/models/router/router.model.mjs +0 -2
- package/esm2020/lib/models/types/index.mjs +0 -3
- package/esm2020/lib/models/types/type.decorator.mjs +0 -7
- package/esm2020/lib/models/types/type.model.mjs +0 -2
- package/esm2020/lib/models/user/index.mjs +0 -2
- package/esm2020/lib/models/user/user.model.mjs +0 -2
- package/esm2020/lib/models/validators/field.validator.mjs +0 -21
- package/esm2020/lib/models/validators/index.mjs +0 -2
- package/lib/models/action/index.d.ts +0 -1
- package/lib/models/descriptors/index.d.ts +0 -5
- package/lib/models/events/editor-event.model.d.ts +0 -11
- package/lib/models/events/index.d.ts +0 -2
- package/lib/models/interfaces/index.d.ts +0 -2
- package/lib/models/providers/data-provider.model.d.ts +0 -62
- package/lib/models/providers/index.d.ts +0 -1
- package/lib/models/router/router.model.d.ts +0 -9
- package/lib/models/user/index.d.ts +0 -1
- package/lib/models/validators/index.d.ts +0 -1
- package/mediusinc-mng-commons-0.1.0.tgz +0 -0
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
export declare class MngConfigurationService {
|
|
4
|
-
private http;
|
|
5
|
-
private static _instance;
|
|
6
|
-
static init(httpClient: HttpClient): MngConfigurationService;
|
|
7
|
-
static get(): MngConfigurationService;
|
|
8
|
-
private projectEnvironment?;
|
|
9
|
-
private jsonEnvironments;
|
|
10
|
-
private configuration;
|
|
11
|
-
private constructor();
|
|
12
|
-
/**
|
|
13
|
-
* Add project environment source.
|
|
14
|
-
* @param environemnt Environment.
|
|
15
|
-
*/
|
|
16
|
-
addEnvironmentSource(environment: any): void;
|
|
17
|
-
/**
|
|
18
|
-
* Adds new config source from JSON file.
|
|
19
|
-
* @param url Url to JSON file.
|
|
20
|
-
*/
|
|
21
|
-
addJsonSource(url?: string): Observable<boolean>;
|
|
22
|
-
/**
|
|
23
|
-
* Get configuration.
|
|
24
|
-
*/
|
|
25
|
-
getConfig(): any;
|
|
26
|
-
/**
|
|
27
|
-
* Get configuration value for key.
|
|
28
|
-
* @param key Configuration key.
|
|
29
|
-
*/
|
|
30
|
-
getConfigValue(key: string): any;
|
|
31
|
-
/**
|
|
32
|
-
* Merges configuration from multiple sources with
|
|
33
|
-
*/
|
|
34
|
-
private mergeConfigs;
|
|
35
|
-
}
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
export declare class MngConfigurationService {
|
|
4
|
+
private http;
|
|
5
|
+
private static _instance;
|
|
6
|
+
static init(httpClient: HttpClient): MngConfigurationService;
|
|
7
|
+
static get(): MngConfigurationService;
|
|
8
|
+
private projectEnvironment?;
|
|
9
|
+
private jsonEnvironments;
|
|
10
|
+
private configuration;
|
|
11
|
+
private constructor();
|
|
12
|
+
/**
|
|
13
|
+
* Add project environment source.
|
|
14
|
+
* @param environemnt Environment.
|
|
15
|
+
*/
|
|
16
|
+
addEnvironmentSource(environment: any): void;
|
|
17
|
+
/**
|
|
18
|
+
* Adds new config source from JSON file.
|
|
19
|
+
* @param url Url to JSON file.
|
|
20
|
+
*/
|
|
21
|
+
addJsonSource(url?: string): Observable<boolean>;
|
|
22
|
+
/**
|
|
23
|
+
* Get configuration.
|
|
24
|
+
*/
|
|
25
|
+
getConfig(): any;
|
|
26
|
+
/**
|
|
27
|
+
* Get configuration value for key.
|
|
28
|
+
* @param key Configuration key.
|
|
29
|
+
*/
|
|
30
|
+
getConfigValue(key: string): any;
|
|
31
|
+
/**
|
|
32
|
+
* Merges configuration from multiple sources with
|
|
33
|
+
*/
|
|
34
|
+
private mergeConfigs;
|
|
35
|
+
}
|
package/lib/services/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './action.service';
|
|
2
|
-
export * from './configuration.service';
|
|
3
|
-
export * from './commons.service';
|
|
4
|
-
export * from './navigation.service';
|
|
1
|
+
export * from './action.service';
|
|
2
|
+
export * from './configuration.service';
|
|
3
|
+
export * from './commons.service';
|
|
4
|
+
export * from './navigation.service';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Router } from '@angular/router';
|
|
2
|
-
import { Location } from '@angular/common';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MngNavigationService {
|
|
5
|
-
private router;
|
|
6
|
-
private location;
|
|
7
|
-
private history;
|
|
8
|
-
constructor(router: Router, location: Location);
|
|
9
|
-
getCurrentLocation(): string | null;
|
|
10
|
-
getPreviousLocation(): string | null;
|
|
11
|
-
back(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MngNavigationService, never>;
|
|
13
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MngNavigationService>;
|
|
14
|
-
}
|
|
1
|
+
import { Router } from '@angular/router';
|
|
2
|
+
import { Location } from '@angular/common';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MngNavigationService {
|
|
5
|
+
private router;
|
|
6
|
+
private location;
|
|
7
|
+
private history;
|
|
8
|
+
constructor(router: Router, location: Location);
|
|
9
|
+
getCurrentLocation(): string | null;
|
|
10
|
+
getPreviousLocation(): string | null;
|
|
11
|
+
back(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MngNavigationService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MngNavigationService>;
|
|
14
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { MngCommonsService } from '../commons.service';
|
|
2
|
-
export declare function mngCommonsInitializerProvider(mngCommons: MngCommonsService): () => void;
|
|
1
|
+
import { MngCommonsService } from '../commons.service';
|
|
2
|
+
export declare function mngCommonsInitializerProvider(mngCommons: MngCommonsService): () => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { MngModuleConfig } from '../../models
|
|
3
|
-
import { MngConfigurationService } from '../configuration.service';
|
|
4
|
-
export declare const mngConfigurationServiceProvider: (httpClient: HttpClient, moduleConfig: MngModuleConfig) => MngConfigurationService;
|
|
5
|
-
export declare function mngConfigJsonAppInitializerProvider(configService: MngConfigurationService, moduleConfig: MngModuleConfig): () => import("rxjs").Observable<boolean>;
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { MngModuleConfig } from '../../config/models';
|
|
3
|
+
import { MngConfigurationService } from '../configuration.service';
|
|
4
|
+
export declare const mngConfigurationServiceProvider: (httpClient: HttpClient, moduleConfig: MngModuleConfig) => MngConfigurationService;
|
|
5
|
+
export declare function mngConfigJsonAppInitializerProvider(configService: MngConfigurationService, moduleConfig: MngModuleConfig): () => import("rxjs").Observable<boolean>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
2
|
-
import { ConfigOption } from '@ngx-formly/core';
|
|
3
|
-
import { MngModuleConfig } from '../../models
|
|
4
|
-
export declare function mngFormlyConfigProvider(translate: TranslateService, moduleConfig?: MngModuleConfig): ConfigOption;
|
|
1
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
2
|
+
import { ConfigOption } from '@ngx-formly/core';
|
|
3
|
+
import { MngModuleConfig } from '../../config/models';
|
|
4
|
+
export declare function mngFormlyConfigProvider(translate: TranslateService, moduleConfig?: MngModuleConfig): ConfigOption;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
1
|
+
export * from './commons-init.provider';
|
|
2
|
+
export * from './config-service.provider';
|
|
3
|
+
export * from './formly-config.provider';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './type.decorator';
|
|
2
|
-
export * from './type.model';
|
|
1
|
+
export * from './type.decorator';
|
|
2
|
+
export * from './type.model';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const typeNameDecoratorPropertyName = "typeName";
|
|
2
|
-
export declare function TypeName(typeName: string): ClassDecorator;
|
|
1
|
+
export declare const typeNameDecoratorPropertyName = "typeName";
|
|
2
|
+
export declare function TypeName(typeName: string): ClassDecorator;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export interface ClassType<T> extends Function {
|
|
2
|
-
new (...args: any[]): T;
|
|
3
|
-
}
|
|
4
|
-
export interface EnumType {
|
|
5
|
-
[key: number]: EnumMemberType;
|
|
6
|
-
}
|
|
7
|
-
export declare type EnumMemberType = string | number;
|
|
8
|
-
export declare type IdType = number | string;
|
|
9
|
-
export declare type PrimitiveType = string | boolean | number;
|
|
10
|
-
export declare type PropertyType = PrimitiveType | Date | EnumType;
|
|
1
|
+
export interface ClassType<T> extends Function {
|
|
2
|
+
new (...args: any[]): T;
|
|
3
|
+
}
|
|
4
|
+
export interface EnumType {
|
|
5
|
+
[key: number]: EnumMemberType;
|
|
6
|
+
}
|
|
7
|
+
export declare type EnumMemberType = string | number;
|
|
8
|
+
export declare type IdType = number | string;
|
|
9
|
+
export declare type PrimitiveType = string | boolean | number;
|
|
10
|
+
export declare type PropertyType = PrimitiveType | Date | EnumType;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
2
|
-
import { EditorDescriptor, AFieldDescriptor, FieldTabGroupDescriptor, FieldGroupDescriptor } from '../
|
|
3
|
-
export declare class EditorFormlyUtil {
|
|
4
|
-
static createFormlyConfigFromDescriptor(descriptor: EditorDescriptor<any>): FormlyFieldConfig[];
|
|
5
|
-
static createFormlyTabType(tabGroups: FieldTabGroupDescriptor<any>[]): FormlyFieldConfig[];
|
|
6
|
-
static createFormlyGroupType(groups: FieldGroupDescriptor<any>[]): FormlyFieldConfig[];
|
|
7
|
-
static createFormlyFields(descriptor: FieldGroupDescriptor<any>): FormlyFieldConfig[];
|
|
8
|
-
static createFormlyField(descriptor: AFieldDescriptor<any, any>): FormlyFieldConfig;
|
|
9
|
-
}
|
|
1
|
+
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
2
|
+
import { EditorDescriptor, AFieldDescriptor, FieldTabGroupDescriptor, FieldGroupDescriptor } from '../descriptors';
|
|
3
|
+
export declare class EditorFormlyUtil {
|
|
4
|
+
static createFormlyConfigFromDescriptor(descriptor: EditorDescriptor<any>): FormlyFieldConfig[];
|
|
5
|
+
static createFormlyTabType(tabGroups: FieldTabGroupDescriptor<any>[]): FormlyFieldConfig[];
|
|
6
|
+
static createFormlyGroupType(groups: FieldGroupDescriptor<any>[]): FormlyFieldConfig[];
|
|
7
|
+
static createFormlyFields(descriptor: FieldGroupDescriptor<any>): FormlyFieldConfig[];
|
|
8
|
+
static createFormlyField(descriptor: AFieldDescriptor<any, any>): FormlyFieldConfig;
|
|
9
|
+
}
|
package/lib/utils/i18n.util.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { ActionDescriptor, ModelDescriptor } from '../
|
|
4
|
-
export declare class I18nUtil {
|
|
5
|
-
static instantModelTranslation(translate: TranslateService, model: ModelDescriptor<any>, keyPath: string, customKey?: string, item?: any, fallbackKey?: string, i18nParams?: any): string | null;
|
|
6
|
-
static instantActionTranslation(translate: TranslateService, action: ActionDescriptor<any>, keyPath: string, customKey?: string, item?: any, fallbackKey?: string, functionNameKey?: string, i18nParams?: any): string | null;
|
|
7
|
-
static streamActionTranslation(translate: TranslateService, action: ActionDescriptor<any>, keyPath: string, customKey?: string, item?: any, fallbackKey?: string): Observable<string | null>;
|
|
8
|
-
static getActionTranslation(translate: TranslateService, action: ActionDescriptor<any>, keyPath: string, customKey?: string, item?: any, fallbackKey?: string, oneTime?: boolean): Observable<string | null>;
|
|
9
|
-
private static getModelKeysByPriority;
|
|
10
|
-
private static getActionKeysByPriority;
|
|
11
|
-
static getModelI18nParams(model: ModelDescriptor<any>, item: any, i18nModelName?: string, i18nParameters?: any): any;
|
|
12
|
-
static getActionI18nParams(action: ActionDescriptor<any>, item: any, i18nModelName?: string, i18nParameters?: any, functionTitle?: string): any;
|
|
13
|
-
static instantModelName(translate: TranslateService, model: ModelDescriptor<any>, singular?: boolean): string | null;
|
|
14
|
-
static getModelName(translate: TranslateService, model: ModelDescriptor<any>, oneTime?: boolean, singular?: boolean): Observable<string | null>;
|
|
15
|
-
static getModelNameKeys(model: ModelDescriptor<any>, singular?: boolean): string[];
|
|
16
|
-
private static selectKeyByPriority;
|
|
17
|
-
private static getFunctionTitle;
|
|
18
|
-
}
|
|
1
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ActionDescriptor, ModelDescriptor } from '../descriptors';
|
|
4
|
+
export declare class I18nUtil {
|
|
5
|
+
static instantModelTranslation(translate: TranslateService, model: ModelDescriptor<any>, keyPath: string, customKey?: string, item?: any, fallbackKey?: string, i18nParams?: any): string | null;
|
|
6
|
+
static instantActionTranslation(translate: TranslateService, action: ActionDescriptor<any>, keyPath: string, customKey?: string, item?: any, fallbackKey?: string, functionNameKey?: string, i18nParams?: any): string | null;
|
|
7
|
+
static streamActionTranslation(translate: TranslateService, action: ActionDescriptor<any>, keyPath: string, customKey?: string, item?: any, fallbackKey?: string): Observable<string | null>;
|
|
8
|
+
static getActionTranslation(translate: TranslateService, action: ActionDescriptor<any>, keyPath: string, customKey?: string, item?: any, fallbackKey?: string, oneTime?: boolean): Observable<string | null>;
|
|
9
|
+
private static getModelKeysByPriority;
|
|
10
|
+
private static getActionKeysByPriority;
|
|
11
|
+
static getModelI18nParams(model: ModelDescriptor<any>, item: any, i18nModelName?: string, i18nParameters?: any): any;
|
|
12
|
+
static getActionI18nParams(action: ActionDescriptor<any>, item: any, i18nModelName?: string, i18nParameters?: any, functionTitle?: string): any;
|
|
13
|
+
static instantModelName(translate: TranslateService, model: ModelDescriptor<any>, singular?: boolean): string | null;
|
|
14
|
+
static getModelName(translate: TranslateService, model: ModelDescriptor<any>, oneTime?: boolean, singular?: boolean): Observable<string | null>;
|
|
15
|
+
static getModelNameKeys(model: ModelDescriptor<any>, singular?: boolean): string[];
|
|
16
|
+
private static selectKeyByPriority;
|
|
17
|
+
private static getFunctionTitle;
|
|
18
|
+
}
|
package/lib/utils/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export * from './editor-formly.util';
|
|
2
|
-
export * from './i18n.util';
|
|
3
|
-
export * from './model.util';
|
|
4
|
-
export * from './
|
|
1
|
+
export * from './editor-formly.util';
|
|
2
|
+
export * from './i18n.util';
|
|
3
|
+
export * from './model.util';
|
|
4
|
+
export * from './toast.util';
|
|
5
|
+
export * from './type.util';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ClassType } from '../
|
|
2
|
-
import {
|
|
3
|
-
export declare class ModelUtil {
|
|
4
|
-
static findIdAttribute<T>(classType: ClassType<T>): string | null;
|
|
5
|
-
static findTitleAttribute<T>(classType: ClassType<T>): string | null;
|
|
6
|
-
static trySetLookupItemsProperties<T>(lookup:
|
|
7
|
-
}
|
|
1
|
+
import { ClassType } from '../types';
|
|
2
|
+
import { ILookupDescriptor } from '../descriptors';
|
|
3
|
+
export declare class ModelUtil {
|
|
4
|
+
static findIdAttribute<T>(classType: ClassType<T>): string | null;
|
|
5
|
+
static findTitleAttribute<T>(classType: ClassType<T>): string | null;
|
|
6
|
+
static trySetLookupItemsProperties<T>(lookup: ILookupDescriptor<T>): void;
|
|
7
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { TranslateService } from
|
|
2
|
-
import { ActionDescriptor, TableDescriptor } from
|
|
3
|
-
import { TableviewComponentService } from
|
|
4
|
-
export declare class ToastUtil {
|
|
5
|
-
static tableNotificationError(translationService: TranslateService, table: TableDescriptor<any>, error: any, tableview?: TableviewComponentService<any, any>): void;
|
|
6
|
-
static actionNotificationSuccess(translationService: TranslateService, action: ActionDescriptor<any>, functionName: string, customTitleKey?: string, customMessageKey?: string, tableview?: TableviewComponentService<any, any>, item?: any): void;
|
|
7
|
-
static actionNotificationError(translationService: TranslateService, action: ActionDescriptor<any>, error: any, functionName: string, tableview?: TableviewComponentService<any, any>, item?: any): void;
|
|
8
|
-
static getFormEditorWarningMessage(translationService: TranslateService, title: string, message: string): {
|
|
9
|
-
severity: string;
|
|
10
|
-
summary: any;
|
|
11
|
-
detail: any;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
1
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
2
|
+
import { ActionDescriptor, TableDescriptor } from '../descriptors';
|
|
3
|
+
import { TableviewComponentService } from '../components/tableview/services';
|
|
4
|
+
export declare class ToastUtil {
|
|
5
|
+
static tableNotificationError(translationService: TranslateService, table: TableDescriptor<any>, error: any, tableview?: TableviewComponentService<any, any>): void;
|
|
6
|
+
static actionNotificationSuccess(translationService: TranslateService, action: ActionDescriptor<any>, functionName: string, customTitleKey?: string, customMessageKey?: string, tableview?: TableviewComponentService<any, any>, item?: any): void;
|
|
7
|
+
static actionNotificationError(translationService: TranslateService, action: ActionDescriptor<any>, error: any, functionName: string, tableview?: TableviewComponentService<any, any>, item?: any): void;
|
|
8
|
+
static getFormEditorWarningMessage(translationService: TranslateService, title: string, message: string): {
|
|
9
|
+
severity: string;
|
|
10
|
+
summary: any;
|
|
11
|
+
detail: any;
|
|
12
|
+
};
|
|
13
|
+
}
|
package/lib/utils/type.util.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import 'reflect-metadata';
|
|
2
|
-
import { ClassType } from '../
|
|
3
|
-
export declare class TypeUtil {
|
|
4
|
-
static defineReflectTypeName(targetType: ClassType<any>, typeName?: string): void;
|
|
5
|
-
/**
|
|
6
|
-
* Gets type name from either decorator or reflect metadata.
|
|
7
|
-
* @param type Class.
|
|
8
|
-
*/
|
|
9
|
-
static findTypeName(type: ClassType<any>): string;
|
|
10
|
-
/**
|
|
11
|
-
* Get value from decorator defined property name
|
|
12
|
-
* @param type Class.
|
|
13
|
-
*/
|
|
14
|
-
static getDecoratorTypeName(type: Function): string | undefined;
|
|
15
|
-
}
|
|
1
|
+
import 'reflect-metadata';
|
|
2
|
+
import { ClassType } from '../types';
|
|
3
|
+
export declare class TypeUtil {
|
|
4
|
+
static defineReflectTypeName(targetType: ClassType<any>, typeName?: string): void;
|
|
5
|
+
/**
|
|
6
|
+
* Gets type name from either decorator or reflect metadata.
|
|
7
|
+
* @param type Class.
|
|
8
|
+
*/
|
|
9
|
+
static findTypeName(type: ClassType<any>): string;
|
|
10
|
+
/**
|
|
11
|
+
* Get value from decorator defined property name
|
|
12
|
+
* @param type Class.
|
|
13
|
+
*/
|
|
14
|
+
static getDecoratorTypeName(type: Function): string | undefined;
|
|
15
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
/// <amd-module name="@mediusinc/mng-commons" />
|
|
5
|
-
export * from './public-api';
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="@mediusinc/mng-commons" />
|
|
5
|
+
export * from './public-api';
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mediusinc/mng-commons",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/core": "^13.1.0",
|
|
6
5
|
"@angular/common": "^13.1.0",
|
|
6
|
+
"@angular/core": "^13.1.0",
|
|
7
7
|
"@angular/forms": "^13.1.0",
|
|
8
8
|
"@angular/router": "^13.1.0",
|
|
9
9
|
"@ngx-formly/core": "^6.0.0-next.6",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"primeng": "^13.0.0"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"
|
|
15
|
-
"
|
|
14
|
+
"reflect-metadata": "^0.1.13",
|
|
15
|
+
"tslib": "^2.3.0"
|
|
16
16
|
},
|
|
17
17
|
"module": "fesm2015/mediusinc-mng-commons.mjs",
|
|
18
18
|
"es2020": "fesm2020/mediusinc-mng-commons.mjs",
|
package/public-api.d.ts
CHANGED
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
export * from './lib/mng-commons.module';
|
|
2
|
-
export * from './lib/api/services';
|
|
3
|
-
export * from './lib/services';
|
|
4
|
-
export * from './lib/services
|
|
5
|
-
export * from './lib/
|
|
6
|
-
export * from './lib/
|
|
7
|
-
export * from './lib/
|
|
8
|
-
export * from './lib/
|
|
9
|
-
export * from './lib/components/
|
|
10
|
-
export * from './lib/components/form
|
|
11
|
-
export * from './lib/components/
|
|
12
|
-
export * from './lib/components/
|
|
13
|
-
export * from './lib/
|
|
14
|
-
export * from './lib/
|
|
15
|
-
export * from './lib/
|
|
16
|
-
export * from './lib/
|
|
17
|
-
export * from './lib/models
|
|
18
|
-
export * from './lib/models
|
|
19
|
-
export * from './lib/models
|
|
20
|
-
export * from './lib/models
|
|
21
|
-
export * from './lib/
|
|
22
|
-
export * from './lib/
|
|
23
|
-
export * from './lib/
|
|
24
|
-
export * from './lib/models
|
|
1
|
+
export * from './lib/mng-commons.module';
|
|
2
|
+
export * from './lib/api/services';
|
|
3
|
+
export * from './lib/components/layout/services';
|
|
4
|
+
export * from './lib/components/tableview/services';
|
|
5
|
+
export * from './lib/services';
|
|
6
|
+
export * from './lib/services/providers';
|
|
7
|
+
export * from './lib/api/utils';
|
|
8
|
+
export * from './lib/utils';
|
|
9
|
+
export * from './lib/components/action';
|
|
10
|
+
export * from './lib/components/form';
|
|
11
|
+
export * from './lib/components/form/formly/fields';
|
|
12
|
+
export * from './lib/components/form/formly/wrappers';
|
|
13
|
+
export * from './lib/components/layout';
|
|
14
|
+
export * from './lib/components/tableview';
|
|
15
|
+
export * from './lib/directives';
|
|
16
|
+
export * from './lib/pipes';
|
|
17
|
+
export * from './lib/api/models';
|
|
18
|
+
export * from './lib/components/action/models';
|
|
19
|
+
export * from './lib/components/form/models';
|
|
20
|
+
export * from './lib/config/models';
|
|
21
|
+
export * from './lib/config';
|
|
22
|
+
export * from './lib/data-providers';
|
|
23
|
+
export * from './lib/descriptors';
|
|
24
|
+
export * from './lib/models';
|
|
25
|
+
export * from './lib/types';
|
|
@@ -142,15 +142,15 @@
|
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
&: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("
|
|
145
|
+
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
146
|
}
|
|
147
147
|
|
|
148
148
|
&: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("
|
|
149
|
+
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
150
|
}
|
|
151
151
|
|
|
152
152
|
&: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("
|
|
153
|
+
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
154
|
}
|
|
155
155
|
}
|
|
156
156
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
#header {
|
|
11
11
|
width: 100%;
|
|
12
12
|
min-height: 1000px;
|
|
13
|
-
background: url("
|
|
13
|
+
background: url("#{$baseHref}assets/images/mng/landing/landing-header-2x.jpg") top left no-repeat;
|
|
14
14
|
background-size: cover;
|
|
15
15
|
padding: 2.5rem 3rem;
|
|
16
16
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@import './_common';
|
|
2
2
|
|
|
3
3
|
$bodyBg: linear-gradient(180deg, #2E323F 0%, #0A061A 100%) !default;
|
|
4
|
-
$bodyImage: url("
|
|
4
|
+
$bodyImage: url("#{$baseHref}assets/images/mng/effect-ondark.png") !default;
|
|
5
5
|
$textColor: #ffffff !default;
|
|
6
6
|
$textSecondaryColor: #C8CCD8 !default;
|
|
7
7
|
$textThirdColor: #868C9B !default;
|
|
@@ -42,6 +42,7 @@ $submenuItemTextColor: $textColor !default;
|
|
|
42
42
|
$submenuItemHoverTextColor: $textColor !default;
|
|
43
43
|
$submenuItemHoverBg: rgba(255, 255, 255, 0.05) !default;
|
|
44
44
|
$activeSubmenuItemTextColor: $primaryColor !default;
|
|
45
|
+
$submenuHeaderFontWeight: 500 !default;
|
|
45
46
|
|
|
46
47
|
$overlayMenuActiveBg: rgba(255, 255, 255, 0.05) !default;
|
|
47
48
|
$overlayMenuItemActiveBg: $primaryColor !default;
|
|
@@ -66,5 +67,5 @@ $progressBarBg: rgba(255, 255, 255, 0.1) !default;
|
|
|
66
67
|
|
|
67
68
|
//pages
|
|
68
69
|
$helpHeaderBg: linear-gradient(179.2deg, rgba(15, 139, 253, 0.2) 0.69%, rgba(15, 139, 253, 0) 108.44%), rgba(255, 255, 255, 0.05) !default;
|
|
69
|
-
$helpHeaderImage: url("
|
|
70
|
-
$exceptionPagesImage: url("
|
|
70
|
+
$helpHeaderImage: url("#{$baseHref}assets/images/mng/effect-ondark.svg") !default;
|
|
71
|
+
$exceptionPagesImage: url("#{$baseHref}assets/images/mng/pages/exception-ondark.png") !default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@import './_common';
|
|
2
2
|
|
|
3
3
|
$bodyBg: linear-gradient(180deg, #F6F9FC 0%, #ECECF9 100%) !default;
|
|
4
|
-
$bodyImage: url("
|
|
4
|
+
$bodyImage: url("#{$baseHref}assets/images/mng/effect-onlight.png") !default;
|
|
5
5
|
$textColor:#44486D !default;
|
|
6
6
|
$textSecondaryColor:#676B89 !default;
|
|
7
7
|
$textThirdColor: #8A8EA6 !default;
|
|
@@ -42,6 +42,7 @@ $submenuItemTextColor: $textColor !default;
|
|
|
42
42
|
$submenuItemHoverTextColor: $textColor !default;
|
|
43
43
|
$submenuItemHoverBg: rgba(68, 72, 109, 0.07) !default;
|
|
44
44
|
$activeSubmenuItemTextColor: $primaryColor !default;
|
|
45
|
+
$submenuHeaderFontWeight: 500 !default;
|
|
45
46
|
|
|
46
47
|
$overlayMenuActiveBg: rgba(68, 72, 109, 0.07) !default;
|
|
47
48
|
$overlayMenuItemActiveBg: $primaryColor !default;
|
|
@@ -66,5 +67,5 @@ $progressBarBg: rgba(68, 72, 109, 0.12) !default;
|
|
|
66
67
|
|
|
67
68
|
//pages
|
|
68
69
|
$helpHeaderBg: linear-gradient(179.2deg, rgba(15, 139, 253, 0.15) 0.69%, rgba(15, 139, 253, 0) 108.44%), rgba(255, 255, 255, 0.9) !default;
|
|
69
|
-
$helpHeaderImage: url("
|
|
70
|
-
$exceptionPagesImage: url("
|
|
70
|
+
$helpHeaderImage: url("#{$baseHref}assets/images/mng/effect-onlight.svg") !default;
|
|
71
|
+
$exceptionPagesImage: url("#{$baseHref}assets/images/mng/pages/exception-onlight.png") !default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
$primaryColor: #397289;
|
|
2
|
-
$primaryTextColor: #ffffff;
|
|
1
|
+
$primaryColor: #397289 !default;
|
|
2
|
+
$primaryTextColor: #ffffff !default;
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
/* You can add global styles to this file, and also import other style files */
|
|
2
2
|
|
|
3
|
-
// libs
|
|
4
|
-
//@import "~node_modules/primeng/resources/primeng.min.css";
|
|
5
|
-
//@import "~node_modules/primeflex/primeflex.scss";
|
|
6
|
-
//@import "~node_modules/primeicons/primeicons.css";
|
|
7
|
-
|
|
8
3
|
// theme and layout
|
|
9
4
|
@import "layout/default/layout-dark.scss";
|
|
10
5
|
@import "theme/default/theme-dark.scss";
|
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
/* You can add global styles to this file, and also import other style files */
|
|
2
2
|
|
|
3
|
-
// libs
|
|
4
|
-
//@import "~node_modules/primeng/resources/primeng.min.css";
|
|
5
|
-
//@import "~node_modules/primeflex/primeflex.scss";
|
|
6
|
-
//@import "~node_modules/primeicons/primeicons.css";
|
|
7
|
-
|
|
8
3
|
// theme and layout
|
|
9
4
|
@import "layout/default/layout-light.scss";
|
|
10
5
|
@import "theme/default/theme-light.scss";
|
|
11
|
-
// dark
|
|
12
|
-
//@import "layout/default/layout-dark.scss";
|
|
13
|
-
//@import "theme/default/theme-dark.scss";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
$primaryColor: #397289;
|
|
1
|
+
$primaryColor: #397289 !default;
|
|
2
2
|
$primaryLightColor: scale-color($primaryColor, $lightness: 60%) !default;
|
|
3
3
|
$primaryDarkColor: scale-color($primaryColor, $lightness: -10%) !default;
|
|
4
4
|
$primaryDarkerColor: scale-color($primaryColor, $lightness: -20%) !default;
|
|
5
|
-
$primaryTextColor: #ffffff
|
|
5
|
+
$primaryTextColor: #ffffff !default;;
|
|
6
6
|
|
|
7
|
-
$highlightBg: $primaryColor;
|
|
8
|
-
$highlightTextColor: $primaryTextColor;
|
|
7
|
+
$highlightBg: $primaryColor !default;
|
|
8
|
+
$highlightTextColor: $primaryTextColor !default;
|
package/.pnpm-debug.log
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"0 debug pnpm:scope": {
|
|
3
|
-
"selected": 1
|
|
4
|
-
},
|
|
5
|
-
"1 error pnpm": {
|
|
6
|
-
"code": "ERR_PNPM_GIT_NOT_UNCLEAN",
|
|
7
|
-
"hint": "If you want to disable Git checks on publish, set the \"git-checks\" setting to \"false\", or run again with \"--no-git-checks\".",
|
|
8
|
-
"err": {
|
|
9
|
-
"name": "pnpm",
|
|
10
|
-
"message": "Unclean working tree. Commit or stash changes first.",
|
|
11
|
-
"code": "ERR_PNPM_GIT_NOT_UNCLEAN",
|
|
12
|
-
"stack": "pnpm: Unclean working tree. Commit or stash changes first.\n at Object.handler [as publish] (C:\\Users\\Luka\\AppData\\Roaming\\npm\\pnpm-global\\3\\node_modules\\.pnpm\\registry.npmjs.org\\pnpm\\6.26.1\\node_modules\\pnpm\\dist\\pnpm.cjs:175203:17)\n at processTicksAndRejections (internal/process/task_queues.js:93:5)\n at async C:\\Users\\Luka\\AppData\\Roaming\\npm\\pnpm-global\\3\\node_modules\\.pnpm\\registry.npmjs.org\\pnpm\\6.26.1\\node_modules\\pnpm\\dist\\pnpm.cjs:180175:21\n at async run (C:\\Users\\Luka\\AppData\\Roaming\\npm\\pnpm-global\\3\\node_modules\\.pnpm\\registry.npmjs.org\\pnpm\\6.26.1\\node_modules\\pnpm\\dist\\pnpm.cjs:180149:34)\n at async runPnpm (C:\\Users\\Luka\\AppData\\Roaming\\npm\\pnpm-global\\3\\node_modules\\.pnpm\\registry.npmjs.org\\pnpm\\6.26.1\\node_modules\\pnpm\\dist\\pnpm.cjs:180360:5)\n at async C:\\Users\\Luka\\AppData\\Roaming\\npm\\pnpm-global\\3\\node_modules\\.pnpm\\registry.npmjs.org\\pnpm\\6.26.1\\node_modules\\pnpm\\dist\\pnpm.cjs:180352:7"
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|