@dflat-core/web 1.0.13 → 1.0.15
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/LICENSE +21 -21
- package/README.md +157 -157
- package/assets/images/dflat-icone-positif.svg +1 -1
- package/assets/images/dflat-icone.svg +1 -1
- package/assets/images/dflat-ligature.svg +1 -1
- package/core-model/lib/model/interface.generated.d.ts +40 -17
- package/fesm2022/dflat-core-web-core-data.mjs.map +1 -1
- package/fesm2022/dflat-core-web-core-model.mjs.map +1 -1
- package/fesm2022/dflat-core-web-core-services.mjs.map +1 -1
- package/fesm2022/dflat-core-web-core-ux.mjs +5 -5
- package/fesm2022/dflat-core-web-core-ux.mjs.map +1 -1
- package/fesm2022/dflat-core-web-core.mjs.map +1 -1
- package/fesm2022/dflat-core-web-system-data.mjs.map +1 -1
- package/fesm2022/dflat-core-web-system-model.mjs +4 -2
- package/fesm2022/dflat-core-web-system-model.mjs.map +1 -1
- package/fesm2022/dflat-core-web-system-root.mjs.map +1 -1
- package/fesm2022/dflat-core-web-system-ux.mjs +41 -41
- package/fesm2022/dflat-core-web-system-ux.mjs.map +1 -1
- package/fesm2022/dflat-core-web.mjs.map +1 -1
- package/package.json +12 -12
- package/scss/dflat-app.scss +83 -83
- package/system-data/lib/data-services/error-category-service.generated.d.ts +2 -1
- package/system-data/lib/data-services/permission-service.generated.d.ts +2 -1
- package/system-model/lib/model/interface.generated.d.ts +26 -47
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dflat-core-web.mjs","sources":["../../src/index.ts","../../src/dflat-core-web.ts"],"sourcesContent":["/*\n * Point d'entrée principal de @dflat-core/web.\n * Les librairies sont exposées par des points d'entrée secondaires :\n * @dflat-core/web/core, @dflat-core/web/core-model, @dflat-core/web/core-services, @dflat-core/web/core-data,\n * @dflat-core/web/core-ux, @dflat-core/web/system-model, @dflat-core/web/system-data,\n * @dflat-core/web/system-root, @dflat-core/web/system-ux\n */\nexport const DFLAT_WEB_ENTRY_POINTS = [\n 'core', 'core-model', 'core-services', 'core-data', 'core-ux',\n 'system-model', 'system-data', 'system-root', 'system-ux'\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;;;;;;AAMG;AACI,MAAM,sBAAsB,GAAG;AAClC,IAAA,MAAM,EAAE,YAAY,EAAE,eAAe,EAAE,WAAW,EAAE,SAAS;AAC7D,IAAA,cAAc,EAAE,aAAa,EAAE,aAAa,EAAE;;;ACTlD;;AAEG;;"}
|
|
1
|
+
{"version":3,"file":"dflat-core-web.mjs","sources":["../../src/index.ts","../../src/dflat-core-web.ts"],"sourcesContent":["/*\r\n * Point d'entrée principal de @dflat-core/web.\r\n * Les librairies sont exposées par des points d'entrée secondaires :\r\n * @dflat-core/web/core, @dflat-core/web/core-model, @dflat-core/web/core-services, @dflat-core/web/core-data,\r\n * @dflat-core/web/core-ux, @dflat-core/web/system-model, @dflat-core/web/system-data,\r\n * @dflat-core/web/system-root, @dflat-core/web/system-ux\r\n */\r\nexport const DFLAT_WEB_ENTRY_POINTS = [\r\n 'core', 'core-model', 'core-services', 'core-data', 'core-ux',\r\n 'system-model', 'system-data', 'system-root', 'system-ux'\r\n] as const;\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;;;;;;AAMG;AACI,MAAM,sBAAsB,GAAG;AAClC,IAAA,MAAM,EAAE,YAAY,EAAE,eAAe,EAAE,WAAW,EAAE,SAAS;AAC7D,IAAA,cAAc,EAAE,aAAa,EAAE,aAAa,EAAE;;;ACTlD;;AAEG;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dflat-core/web",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.15",
|
|
4
4
|
"description": "Librairies Angular Dflat (core, core-*, system-*) et assets partagés, empaquetées en un module npm unique.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"peerDependencies": {
|
|
@@ -49,25 +49,21 @@
|
|
|
49
49
|
"types": "./core/index.d.ts",
|
|
50
50
|
"default": "./fesm2022/dflat-core-web-core.mjs"
|
|
51
51
|
},
|
|
52
|
+
"./core-services": {
|
|
53
|
+
"types": "./core-services/index.d.ts",
|
|
54
|
+
"default": "./fesm2022/dflat-core-web-core-services.mjs"
|
|
55
|
+
},
|
|
52
56
|
"./core-data": {
|
|
53
57
|
"types": "./core-data/index.d.ts",
|
|
54
58
|
"default": "./fesm2022/dflat-core-web-core-data.mjs"
|
|
55
59
|
},
|
|
56
|
-
"./core-ux": {
|
|
57
|
-
"types": "./core-ux/index.d.ts",
|
|
58
|
-
"default": "./fesm2022/dflat-core-web-core-ux.mjs"
|
|
59
|
-
},
|
|
60
60
|
"./core-model": {
|
|
61
61
|
"types": "./core-model/index.d.ts",
|
|
62
62
|
"default": "./fesm2022/dflat-core-web-core-model.mjs"
|
|
63
63
|
},
|
|
64
|
-
"./core-
|
|
65
|
-
"types": "./core-
|
|
66
|
-
"default": "./fesm2022/dflat-core-web-core-
|
|
67
|
-
},
|
|
68
|
-
"./system-ux": {
|
|
69
|
-
"types": "./system-ux/index.d.ts",
|
|
70
|
-
"default": "./fesm2022/dflat-core-web-system-ux.mjs"
|
|
64
|
+
"./core-ux": {
|
|
65
|
+
"types": "./core-ux/index.d.ts",
|
|
66
|
+
"default": "./fesm2022/dflat-core-web-core-ux.mjs"
|
|
71
67
|
},
|
|
72
68
|
"./system-data": {
|
|
73
69
|
"types": "./system-data/index.d.ts",
|
|
@@ -80,6 +76,10 @@
|
|
|
80
76
|
"./system-root": {
|
|
81
77
|
"types": "./system-root/index.d.ts",
|
|
82
78
|
"default": "./fesm2022/dflat-core-web-system-root.mjs"
|
|
79
|
+
},
|
|
80
|
+
"./system-ux": {
|
|
81
|
+
"types": "./system-ux/index.d.ts",
|
|
82
|
+
"default": "./fesm2022/dflat-core-web-system-ux.mjs"
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
"sideEffects": false
|
package/scss/dflat-app.scss
CHANGED
|
@@ -1,83 +1,83 @@
|
|
|
1
|
-
// =============================================================================
|
|
2
|
-
// Feuille de style globale d'une application Dflat (@dflat-core/web/scss/dflat-app.scss)
|
|
3
|
-
// =============================================================================
|
|
4
|
-
// Reprend toute la chaîne de styles attendue par les composants du package : Bootstrap et
|
|
5
|
-
// son thème, les styles de core-ux, puis les règles de mise en page de la coquille
|
|
6
|
-
// applicative (hauteur plein écran, ascenseurs, spinner).
|
|
7
|
-
//
|
|
8
|
-
// Dans le styles.scss de l'application :
|
|
9
|
-
//
|
|
10
|
-
// @import "../../../node_modules/@dflat-core/web/scss/dflat-app.scss";
|
|
11
|
-
//
|
|
12
|
-
// avec, dans les options de build (project.json / angular.json) :
|
|
13
|
-
//
|
|
14
|
-
// "stylePreprocessorOptions": {
|
|
15
|
-
// "includePaths": ["node_modules", "node_modules/@dflat-core/web/assets"]
|
|
16
|
-
// }
|
|
17
|
-
//
|
|
18
|
-
// "node_modules" résout bootstrap et bootswatch ci-dessous, le second les variables et les
|
|
19
|
-
// styles partagés des assets du package. Pour un autre thème Bootstrap, n'importez pas ce
|
|
20
|
-
// fichier : reprenez son contenu dans l'application en changeant la ligne bootswatch.
|
|
21
|
-
// =============================================================================
|
|
22
|
-
|
|
23
|
-
@import "variables.scss";
|
|
24
|
-
@import "bootstrap/scss/bootstrap.scss";
|
|
25
|
-
@import "bootswatch/dist/pulse/_bootswatch.scss";
|
|
26
|
-
@import "core-ux.scss";
|
|
27
|
-
@import "site.scss";
|
|
28
|
-
|
|
29
|
-
html,
|
|
30
|
-
body, msw-root, alg-default-layout, msw-layout, alg-login-layout {
|
|
31
|
-
display: flex;
|
|
32
|
-
width: 100vw;
|
|
33
|
-
height: 100vh;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
body {
|
|
37
|
-
background: #fdfdfd;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.login-page {
|
|
41
|
-
background: #efefef;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
#spinner {
|
|
45
|
-
position: fixed;
|
|
46
|
-
left: 0 !important;
|
|
47
|
-
top: 0 !important;
|
|
48
|
-
transform: none !important;
|
|
49
|
-
|
|
50
|
-
height: 80;
|
|
51
|
-
width: 100%;
|
|
52
|
-
z-index: 9999999;
|
|
53
|
-
cursor: progress;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/* Ascenseurs */
|
|
57
|
-
::-webkit-scrollbar {
|
|
58
|
-
width: 12px;
|
|
59
|
-
height: 12px;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
::-webkit-scrollbar-track {
|
|
63
|
-
background: transparent;
|
|
64
|
-
border: solid 15px transparent;
|
|
65
|
-
box-shadow: inset 0 0 5px 5px transparent;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
::-webkit-scrollbar-thumb {
|
|
69
|
-
cursor: pointer;
|
|
70
|
-
background: #3753C226;
|
|
71
|
-
border-radius: 2px;
|
|
72
|
-
border: solid 15px transparent;
|
|
73
|
-
box-shadow: inset 1 1 5px 5px var(--main-bg-color);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
::-webkit-scrollbar-thumb:hover {
|
|
77
|
-
cursor: pointer;
|
|
78
|
-
background: #3753C227;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.height100 {
|
|
82
|
-
height: calc(100% - 1px);
|
|
83
|
-
}
|
|
1
|
+
// =============================================================================
|
|
2
|
+
// Feuille de style globale d'une application Dflat (@dflat-core/web/scss/dflat-app.scss)
|
|
3
|
+
// =============================================================================
|
|
4
|
+
// Reprend toute la chaîne de styles attendue par les composants du package : Bootstrap et
|
|
5
|
+
// son thème, les styles de core-ux, puis les règles de mise en page de la coquille
|
|
6
|
+
// applicative (hauteur plein écran, ascenseurs, spinner).
|
|
7
|
+
//
|
|
8
|
+
// Dans le styles.scss de l'application :
|
|
9
|
+
//
|
|
10
|
+
// @import "../../../node_modules/@dflat-core/web/scss/dflat-app.scss";
|
|
11
|
+
//
|
|
12
|
+
// avec, dans les options de build (project.json / angular.json) :
|
|
13
|
+
//
|
|
14
|
+
// "stylePreprocessorOptions": {
|
|
15
|
+
// "includePaths": ["node_modules", "node_modules/@dflat-core/web/assets"]
|
|
16
|
+
// }
|
|
17
|
+
//
|
|
18
|
+
// "node_modules" résout bootstrap et bootswatch ci-dessous, le second les variables et les
|
|
19
|
+
// styles partagés des assets du package. Pour un autre thème Bootstrap, n'importez pas ce
|
|
20
|
+
// fichier : reprenez son contenu dans l'application en changeant la ligne bootswatch.
|
|
21
|
+
// =============================================================================
|
|
22
|
+
|
|
23
|
+
@import "variables.scss";
|
|
24
|
+
@import "bootstrap/scss/bootstrap.scss";
|
|
25
|
+
@import "bootswatch/dist/pulse/_bootswatch.scss";
|
|
26
|
+
@import "core-ux.scss";
|
|
27
|
+
@import "site.scss";
|
|
28
|
+
|
|
29
|
+
html,
|
|
30
|
+
body, msw-root, alg-default-layout, msw-layout, alg-login-layout {
|
|
31
|
+
display: flex;
|
|
32
|
+
width: 100vw;
|
|
33
|
+
height: 100vh;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
body {
|
|
37
|
+
background: #fdfdfd;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.login-page {
|
|
41
|
+
background: #efefef;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
#spinner {
|
|
45
|
+
position: fixed;
|
|
46
|
+
left: 0 !important;
|
|
47
|
+
top: 0 !important;
|
|
48
|
+
transform: none !important;
|
|
49
|
+
|
|
50
|
+
height: 80;
|
|
51
|
+
width: 100%;
|
|
52
|
+
z-index: 9999999;
|
|
53
|
+
cursor: progress;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/* Ascenseurs */
|
|
57
|
+
::-webkit-scrollbar {
|
|
58
|
+
width: 12px;
|
|
59
|
+
height: 12px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
::-webkit-scrollbar-track {
|
|
63
|
+
background: transparent;
|
|
64
|
+
border: solid 15px transparent;
|
|
65
|
+
box-shadow: inset 0 0 5px 5px transparent;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
::-webkit-scrollbar-thumb {
|
|
69
|
+
cursor: pointer;
|
|
70
|
+
background: #3753C226;
|
|
71
|
+
border-radius: 2px;
|
|
72
|
+
border: solid 15px transparent;
|
|
73
|
+
box-shadow: inset 1 1 5px 5px var(--main-bg-color);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
::-webkit-scrollbar-thumb:hover {
|
|
77
|
+
cursor: pointer;
|
|
78
|
+
background: #3753C227;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.height100 {
|
|
82
|
+
height: calc(100% - 1px);
|
|
83
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ErrorCategory, ErrorCategoryFilterViewModel
|
|
1
|
+
import { ErrorCategory, ErrorCategoryFilterViewModel } from '@dflat-core/web/system-model';
|
|
2
|
+
import { TreeItem } from '@dflat-core/web/core-model';
|
|
2
3
|
import { DataService, EntityDataService } from '@dflat-core/web/core-data';
|
|
3
4
|
import { Observable } from 'rxjs';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { Permission, PermissionFilterViewModel
|
|
1
|
+
import { Permission, PermissionFilterViewModel } from '@dflat-core/web/system-model';
|
|
2
|
+
import { TreeItem } from '@dflat-core/web/core-model';
|
|
2
3
|
import { DataService, EntityDataService } from '@dflat-core/web/core-data';
|
|
3
4
|
import { Observable } from 'rxjs';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
-
import { EntityFilterViewModel, EntityViewModel } from '@dflat-core/web/core-model';
|
|
2
|
-
export interface INode {
|
|
3
|
-
Childrens?: INode[];
|
|
4
|
-
Code?: string;
|
|
5
|
-
Description?: string;
|
|
6
|
-
Id?: number;
|
|
7
|
-
ParentId?: number;
|
|
8
|
-
UniqueName?: string;
|
|
9
|
-
}
|
|
10
|
-
export interface ErrorCategory extends EntityViewModel {
|
|
11
|
-
Childrens?: INode[];
|
|
12
|
-
Code?: string;
|
|
13
|
-
DeletionStatus?: boolean;
|
|
14
|
-
Description?: string;
|
|
15
|
-
Id?: number;
|
|
16
|
-
Label?: string;
|
|
17
|
-
ParentId?: number;
|
|
18
|
-
ParentName?: string;
|
|
19
|
-
RowVersion?: Date;
|
|
20
|
-
UniqueName?: string;
|
|
21
|
-
}
|
|
1
|
+
import { BasicNode, EntityFilterViewModel, EntityViewModel, INode, TreeItem } from '@dflat-core/web/core-model';
|
|
22
2
|
export interface AddressView extends EntityViewModel {
|
|
23
3
|
Adress1?: string;
|
|
24
4
|
Adress2?: string;
|
|
@@ -44,12 +24,17 @@ export interface AddressView extends EntityViewModel {
|
|
|
44
24
|
Web?: string;
|
|
45
25
|
ZipCode?: string;
|
|
46
26
|
}
|
|
47
|
-
export interface
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
27
|
+
export interface ErrorCategory extends EntityViewModel {
|
|
28
|
+
Childrens?: INode[];
|
|
29
|
+
Code?: string;
|
|
30
|
+
DeletionStatus?: boolean;
|
|
31
|
+
Description?: string;
|
|
32
|
+
Id?: number;
|
|
33
|
+
Label?: string;
|
|
34
|
+
ParentId?: number;
|
|
35
|
+
ParentName?: string;
|
|
36
|
+
RowVersion?: Date;
|
|
37
|
+
UniqueName?: string;
|
|
53
38
|
}
|
|
54
39
|
export interface PresentationProfileItem extends EntityViewModel {
|
|
55
40
|
ColumnKey?: string;
|
|
@@ -84,7 +69,7 @@ export declare enum FileTypes {
|
|
|
84
69
|
Log = 1,
|
|
85
70
|
Image = 2,
|
|
86
71
|
DefaultImage = 3,
|
|
87
|
-
|
|
72
|
+
ImageUrl = 4
|
|
88
73
|
}
|
|
89
74
|
export interface CustomFieldGroupItemView extends EntityViewModel {
|
|
90
75
|
CustomFieldGroupType?: number;
|
|
@@ -101,13 +86,9 @@ export interface CustomFieldGroupItemView extends EntityViewModel {
|
|
|
101
86
|
RowVersion?: Date;
|
|
102
87
|
SourceLabel?: string;
|
|
103
88
|
}
|
|
104
|
-
export interface
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
Description?: string;
|
|
108
|
-
Id?: number;
|
|
109
|
-
ParentId?: number;
|
|
110
|
-
UniqueName?: string;
|
|
89
|
+
export interface AddressViewFilterViewModel extends EntityFilterViewModel<AddressView> {
|
|
90
|
+
EntityId?: number;
|
|
91
|
+
EntityType?: string;
|
|
111
92
|
}
|
|
112
93
|
export interface UserGroupDefinitionView extends EntityViewModel {
|
|
113
94
|
GroupDescription?: string;
|
|
@@ -355,10 +336,10 @@ export interface PresentationProfile extends EntityViewModel {
|
|
|
355
336
|
Items?: PresentationProfileItem[];
|
|
356
337
|
Label?: string;
|
|
357
338
|
MetaEntityKey?: string;
|
|
358
|
-
|
|
339
|
+
PresentationProfilePurpose?: number;
|
|
340
|
+
PresentationProfileScope?: number;
|
|
359
341
|
RowVersion?: Date;
|
|
360
342
|
ScopeId?: number;
|
|
361
|
-
ScopeType?: number;
|
|
362
343
|
}
|
|
363
344
|
export interface PermissionView extends EntityViewModel {
|
|
364
345
|
Code?: string;
|
|
@@ -626,10 +607,6 @@ export interface CompanyView extends EntityViewModel {
|
|
|
626
607
|
Web?: string;
|
|
627
608
|
Zipcode?: string;
|
|
628
609
|
}
|
|
629
|
-
export interface AddressViewFilterViewModel extends EntityFilterViewModel<AddressView> {
|
|
630
|
-
EntityId?: number;
|
|
631
|
-
EntityType?: string;
|
|
632
|
-
}
|
|
633
610
|
export interface ActivationViewModel {
|
|
634
611
|
ActivationCode?: string;
|
|
635
612
|
CaptchaToken?: string;
|
|
@@ -775,16 +752,16 @@ export interface PresentationProfileItemFilterViewModel extends EntityFilterView
|
|
|
775
752
|
Label?: string;
|
|
776
753
|
MetaEntityKey?: string;
|
|
777
754
|
PresentationProfileId?: number;
|
|
778
|
-
|
|
755
|
+
PresentationProfilePurpose?: number;
|
|
756
|
+
PresentationProfileScope?: number;
|
|
779
757
|
ScopeId?: number;
|
|
780
|
-
ScopeType?: number;
|
|
781
758
|
}
|
|
782
759
|
export interface PresentationProfileFilterViewModel extends EntityFilterViewModel<PresentationProfile> {
|
|
783
760
|
Label?: string;
|
|
784
761
|
MetaEntityKey?: string;
|
|
785
|
-
|
|
762
|
+
PresentationProfilePurpose?: number;
|
|
763
|
+
PresentationProfileScope?: number;
|
|
786
764
|
ScopeId?: number;
|
|
787
|
-
ScopeType?: number;
|
|
788
765
|
}
|
|
789
766
|
export interface PresentationContext {
|
|
790
767
|
Catalog?: PresentationProfileItem[];
|
|
@@ -1037,7 +1014,7 @@ export declare enum ResultTypes {
|
|
|
1037
1014
|
}
|
|
1038
1015
|
export declare enum RequestTypes {
|
|
1039
1016
|
Undefined = 0,
|
|
1040
|
-
|
|
1017
|
+
StorelandTransfert = 1,
|
|
1041
1018
|
DataImport = 2,
|
|
1042
1019
|
DataImportAnalyse = 3,
|
|
1043
1020
|
DataImportExtraction = 4,
|
|
@@ -1048,7 +1025,9 @@ export declare enum RequestTypes {
|
|
|
1048
1025
|
DataImportExtractAndValidate = 9,
|
|
1049
1026
|
DataImportExtractAndAnalyse = 10,
|
|
1050
1027
|
ExportNespresso = 11,
|
|
1051
|
-
CatalogProductImages = 12
|
|
1028
|
+
CatalogProductImages = 12,
|
|
1029
|
+
ExtractPhotos = 13,
|
|
1030
|
+
ImportPhotos = 14
|
|
1052
1031
|
}
|
|
1053
1032
|
export declare enum RequestStates {
|
|
1054
1033
|
Pending = 0,
|