@letscooee/web-sdk 9.0.0 → 9.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -9
- package/dist/shopify-sdk.min.js +1 -1
- package/dist/widget-sdk.min.css +1 -1
- package/dist/widget-sdk.min.js +25 -7
- package/package.json +32 -28
- package/CHANGELOG.md +0 -1738
- package/angular.json +0 -272
- package/projects/analytics-sdk/.eslintrc.json +0 -37
- package/projects/analytics-sdk/public/favicon.ico +0 -0
- package/projects/analytics-sdk/tsconfig.app.json +0 -15
- package/projects/analytics-sdk/tsconfig.spec.json +0 -15
- package/projects/core-lib/.eslintrc.json +0 -37
- package/projects/core-lib/README.md +0 -5
- package/projects/core-lib/ng-package.json +0 -7
- package/projects/core-lib/package.json +0 -12
- package/projects/core-lib/tsconfig.lib.json +0 -15
- package/projects/core-lib/tsconfig.lib.prod.json +0 -11
- package/projects/core-lib/tsconfig.spec.json +0 -15
- package/projects/widget-sdk/.eslintrc.json +0 -37
- package/projects/widget-sdk/public/favicon.ico +0 -0
- package/projects/widget-sdk/tsconfig.app.json +0 -15
- package/projects/widget-sdk/tsconfig.spec.json +0 -15
package/angular.json
DELETED
|
@@ -1,272 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
3
|
-
"version": 1,
|
|
4
|
-
"newProjectRoot": "projects",
|
|
5
|
-
"projects": {
|
|
6
|
-
"widget-sdk": {
|
|
7
|
-
"projectType": "application",
|
|
8
|
-
"schematics": {
|
|
9
|
-
"@schematics/angular:component": {
|
|
10
|
-
"style": "scss"
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
"root": "projects/widget-sdk",
|
|
14
|
-
"sourceRoot": "projects/widget-sdk/src",
|
|
15
|
-
"prefix": "cooee",
|
|
16
|
-
"architect": {
|
|
17
|
-
"build": {
|
|
18
|
-
"builder": "@angular-devkit/build-angular:application",
|
|
19
|
-
"options": {
|
|
20
|
-
"outputPath": "dist/widget-sdk",
|
|
21
|
-
"index": "projects/widget-sdk/src/index.html",
|
|
22
|
-
"browser": "projects/widget-sdk/src/main.ts",
|
|
23
|
-
"polyfills": [],
|
|
24
|
-
"tsConfig": "projects/widget-sdk/tsconfig.app.json",
|
|
25
|
-
"inlineStyleLanguage": "scss",
|
|
26
|
-
"assets": [
|
|
27
|
-
{
|
|
28
|
-
"glob": "**/*",
|
|
29
|
-
"input": "projects/widget-sdk/public"
|
|
30
|
-
}
|
|
31
|
-
],
|
|
32
|
-
"styles": [
|
|
33
|
-
"projects/widget-sdk/src/styles.scss"
|
|
34
|
-
],
|
|
35
|
-
"scripts": []
|
|
36
|
-
},
|
|
37
|
-
"configurations": {
|
|
38
|
-
"production": {
|
|
39
|
-
"budgets": [
|
|
40
|
-
{
|
|
41
|
-
"type": "initial",
|
|
42
|
-
"maximumWarning": "500kB",
|
|
43
|
-
"maximumError": "1MB"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"type": "anyComponentStyle",
|
|
47
|
-
"maximumWarning": "4kB",
|
|
48
|
-
"maximumError": "8kB"
|
|
49
|
-
}
|
|
50
|
-
],
|
|
51
|
-
"outputHashing": "none"
|
|
52
|
-
},
|
|
53
|
-
"development": {
|
|
54
|
-
"optimization": false,
|
|
55
|
-
"extractLicenses": false,
|
|
56
|
-
"sourceMap": true
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
"defaultConfiguration": "production"
|
|
60
|
-
},
|
|
61
|
-
"serve": {
|
|
62
|
-
"builder": "@angular-devkit/build-angular:dev-server",
|
|
63
|
-
"configurations": {
|
|
64
|
-
"production": {
|
|
65
|
-
"buildTarget": "widget-sdk:build:production"
|
|
66
|
-
},
|
|
67
|
-
"development": {
|
|
68
|
-
"buildTarget": "widget-sdk:build:development"
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
"options": {
|
|
72
|
-
"port": 8001
|
|
73
|
-
},
|
|
74
|
-
"defaultConfiguration": "development"
|
|
75
|
-
},
|
|
76
|
-
"extract-i18n": {
|
|
77
|
-
"builder": "@angular-devkit/build-angular:extract-i18n"
|
|
78
|
-
},
|
|
79
|
-
"test": {
|
|
80
|
-
"builder": "@angular-devkit/build-angular:karma",
|
|
81
|
-
"options": {
|
|
82
|
-
"polyfills": [],
|
|
83
|
-
"tsConfig": "projects/widget-sdk/tsconfig.spec.json",
|
|
84
|
-
"inlineStyleLanguage": "scss",
|
|
85
|
-
"assets": [
|
|
86
|
-
{
|
|
87
|
-
"glob": "**/*",
|
|
88
|
-
"input": "projects/widget-sdk/public"
|
|
89
|
-
}
|
|
90
|
-
],
|
|
91
|
-
"styles": [
|
|
92
|
-
"projects/widget-sdk/src/styles.scss"
|
|
93
|
-
],
|
|
94
|
-
"scripts": []
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
"lint": {
|
|
98
|
-
"builder": "@angular-eslint/builder:lint",
|
|
99
|
-
"options": {
|
|
100
|
-
"lintFilePatterns": [
|
|
101
|
-
"projects/widget-sdk/**/*.ts",
|
|
102
|
-
"projects/widget-sdk/**/*.html"
|
|
103
|
-
]
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
"analytics-sdk": {
|
|
109
|
-
"projectType": "application",
|
|
110
|
-
"schematics": {
|
|
111
|
-
"@schematics/angular:component": {
|
|
112
|
-
"style": "scss"
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
"root": "projects/analytics-sdk",
|
|
116
|
-
"sourceRoot": "projects/analytics-sdk/src",
|
|
117
|
-
"prefix": "cooee",
|
|
118
|
-
"architect": {
|
|
119
|
-
"build": {
|
|
120
|
-
"builder": "@angular-devkit/build-angular:application",
|
|
121
|
-
"options": {
|
|
122
|
-
"outputPath": "dist/analytics-sdk",
|
|
123
|
-
"index": "projects/analytics-sdk/src/index.html",
|
|
124
|
-
"browser": "projects/analytics-sdk/src/main.ts",
|
|
125
|
-
"polyfills": [],
|
|
126
|
-
"tsConfig": "projects/analytics-sdk/tsconfig.app.json",
|
|
127
|
-
"inlineStyleLanguage": "scss",
|
|
128
|
-
"assets": [
|
|
129
|
-
{
|
|
130
|
-
"glob": "**/*",
|
|
131
|
-
"input": "projects/analytics-sdk/public"
|
|
132
|
-
}
|
|
133
|
-
],
|
|
134
|
-
"styles": [
|
|
135
|
-
"projects/analytics-sdk/src/styles.scss"
|
|
136
|
-
],
|
|
137
|
-
"allowedCommonJsDependencies": [
|
|
138
|
-
"js-logger",
|
|
139
|
-
"@letscooee/ts-common",
|
|
140
|
-
"@letscooee/url-builder",
|
|
141
|
-
"ua-parser-js",
|
|
142
|
-
"fetch-retry",
|
|
143
|
-
"localforage"
|
|
144
|
-
],
|
|
145
|
-
"scripts": []
|
|
146
|
-
},
|
|
147
|
-
"configurations": {
|
|
148
|
-
"production": {
|
|
149
|
-
"budgets": [
|
|
150
|
-
{
|
|
151
|
-
"type": "initial",
|
|
152
|
-
"maximumWarning": "500kB",
|
|
153
|
-
"maximumError": "1MB"
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
"type": "anyComponentStyle",
|
|
157
|
-
"maximumWarning": "4kB",
|
|
158
|
-
"maximumError": "8kB"
|
|
159
|
-
}
|
|
160
|
-
],
|
|
161
|
-
"outputHashing": "none",
|
|
162
|
-
"fileReplacements": [
|
|
163
|
-
{
|
|
164
|
-
"replace": "projects/core-lib/src/lib/environments/environment.local.ts",
|
|
165
|
-
"with": "projects/core-lib/src/lib/environments/environment.production.ts"
|
|
166
|
-
}
|
|
167
|
-
]
|
|
168
|
-
},
|
|
169
|
-
"development": {
|
|
170
|
-
"optimization": false,
|
|
171
|
-
"extractLicenses": false,
|
|
172
|
-
"sourceMap": true
|
|
173
|
-
}
|
|
174
|
-
},
|
|
175
|
-
"defaultConfiguration": "development"
|
|
176
|
-
},
|
|
177
|
-
"serve": {
|
|
178
|
-
"builder": "@angular-devkit/build-angular:dev-server",
|
|
179
|
-
"configurations": {
|
|
180
|
-
"production": {
|
|
181
|
-
"buildTarget": "analytics-sdk:build:production"
|
|
182
|
-
},
|
|
183
|
-
"development": {
|
|
184
|
-
"buildTarget": "analytics-sdk:build:development"
|
|
185
|
-
}
|
|
186
|
-
},
|
|
187
|
-
"options": {
|
|
188
|
-
"port": 8002
|
|
189
|
-
},
|
|
190
|
-
"defaultConfiguration": "development"
|
|
191
|
-
},
|
|
192
|
-
"extract-i18n": {
|
|
193
|
-
"builder": "@angular-devkit/build-angular:extract-i18n"
|
|
194
|
-
},
|
|
195
|
-
"test": {
|
|
196
|
-
"builder": "@angular-devkit/build-angular:karma",
|
|
197
|
-
"options": {
|
|
198
|
-
"polyfills": [],
|
|
199
|
-
"tsConfig": "projects/analytics-sdk/tsconfig.spec.json",
|
|
200
|
-
"inlineStyleLanguage": "scss",
|
|
201
|
-
"assets": [
|
|
202
|
-
{
|
|
203
|
-
"glob": "**/*",
|
|
204
|
-
"input": "projects/analytics-sdk/public"
|
|
205
|
-
}
|
|
206
|
-
],
|
|
207
|
-
"styles": [
|
|
208
|
-
"projects/analytics-sdk/src/styles.scss"
|
|
209
|
-
],
|
|
210
|
-
"scripts": []
|
|
211
|
-
}
|
|
212
|
-
},
|
|
213
|
-
"lint": {
|
|
214
|
-
"builder": "@angular-eslint/builder:lint",
|
|
215
|
-
"options": {
|
|
216
|
-
"lintFilePatterns": [
|
|
217
|
-
"projects/analytics-sdk/**/*.ts",
|
|
218
|
-
"projects/analytics-sdk/**/*.html"
|
|
219
|
-
]
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
},
|
|
224
|
-
"core-lib": {
|
|
225
|
-
"projectType": "library",
|
|
226
|
-
"root": "projects/core-lib",
|
|
227
|
-
"sourceRoot": "projects/core-lib/src",
|
|
228
|
-
"prefix": "lib",
|
|
229
|
-
"architect": {
|
|
230
|
-
"build": {
|
|
231
|
-
"builder": "@angular-devkit/build-angular:ng-packagr",
|
|
232
|
-
"options": {
|
|
233
|
-
"project": "projects/core-lib/ng-package.json"
|
|
234
|
-
},
|
|
235
|
-
"configurations": {
|
|
236
|
-
"production": {
|
|
237
|
-
"tsConfig": "projects/core-lib/tsconfig.lib.prod.json"
|
|
238
|
-
},
|
|
239
|
-
"development": {
|
|
240
|
-
"tsConfig": "projects/core-lib/tsconfig.lib.json"
|
|
241
|
-
}
|
|
242
|
-
},
|
|
243
|
-
"defaultConfiguration": "production"
|
|
244
|
-
},
|
|
245
|
-
"test": {
|
|
246
|
-
"builder": "@angular-devkit/build-angular:karma",
|
|
247
|
-
"options": {
|
|
248
|
-
"tsConfig": "projects/core-lib/tsconfig.spec.json",
|
|
249
|
-
"polyfills": [
|
|
250
|
-
"zone.js",
|
|
251
|
-
"zone.js/testing"
|
|
252
|
-
]
|
|
253
|
-
}
|
|
254
|
-
},
|
|
255
|
-
"lint": {
|
|
256
|
-
"builder": "@angular-eslint/builder:lint",
|
|
257
|
-
"options": {
|
|
258
|
-
"lintFilePatterns": [
|
|
259
|
-
"projects/core-lib/**/*.ts",
|
|
260
|
-
"projects/core-lib/**/*.html"
|
|
261
|
-
]
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
},
|
|
267
|
-
"cli": {
|
|
268
|
-
"schematicCollections": [
|
|
269
|
-
"@angular-eslint/schematics"
|
|
270
|
-
]
|
|
271
|
-
}
|
|
272
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../../.eslintrc.json",
|
|
3
|
-
"ignorePatterns": [
|
|
4
|
-
"!**/*"
|
|
5
|
-
],
|
|
6
|
-
"overrides": [
|
|
7
|
-
{
|
|
8
|
-
"files": [
|
|
9
|
-
"*.ts"
|
|
10
|
-
],
|
|
11
|
-
"rules": {
|
|
12
|
-
"@angular-eslint/directive-selector": [
|
|
13
|
-
"error",
|
|
14
|
-
{
|
|
15
|
-
"type": "attribute",
|
|
16
|
-
"prefix": "cooee",
|
|
17
|
-
"style": "camelCase"
|
|
18
|
-
}
|
|
19
|
-
],
|
|
20
|
-
"@angular-eslint/component-selector": [
|
|
21
|
-
"error",
|
|
22
|
-
{
|
|
23
|
-
"type": "element",
|
|
24
|
-
"prefix": "cooee",
|
|
25
|
-
"style": "kebab-case"
|
|
26
|
-
}
|
|
27
|
-
]
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"files": [
|
|
32
|
-
"*.html"
|
|
33
|
-
],
|
|
34
|
-
"rules": {}
|
|
35
|
-
}
|
|
36
|
-
]
|
|
37
|
-
}
|
|
Binary file
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
|
|
2
|
-
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
|
|
3
|
-
{
|
|
4
|
-
"extends": "../../tsconfig.json",
|
|
5
|
-
"compilerOptions": {
|
|
6
|
-
"outDir": "../../out-tsc/app",
|
|
7
|
-
"types": []
|
|
8
|
-
},
|
|
9
|
-
"files": [
|
|
10
|
-
"src/main.ts"
|
|
11
|
-
],
|
|
12
|
-
"include": [
|
|
13
|
-
"src/**/*.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
|
|
2
|
-
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
|
|
3
|
-
{
|
|
4
|
-
"extends": "../../tsconfig.json",
|
|
5
|
-
"compilerOptions": {
|
|
6
|
-
"outDir": "../../out-tsc/spec",
|
|
7
|
-
"types": [
|
|
8
|
-
"jasmine"
|
|
9
|
-
]
|
|
10
|
-
},
|
|
11
|
-
"include": [
|
|
12
|
-
"src/**/*.spec.ts",
|
|
13
|
-
"src/**/*.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../../.eslintrc.json",
|
|
3
|
-
"ignorePatterns": [
|
|
4
|
-
"!**/*"
|
|
5
|
-
],
|
|
6
|
-
"overrides": [
|
|
7
|
-
{
|
|
8
|
-
"files": [
|
|
9
|
-
"*.ts"
|
|
10
|
-
],
|
|
11
|
-
"rules": {
|
|
12
|
-
"@angular-eslint/directive-selector": [
|
|
13
|
-
"error",
|
|
14
|
-
{
|
|
15
|
-
"type": "attribute",
|
|
16
|
-
"prefix": "lib",
|
|
17
|
-
"style": "camelCase"
|
|
18
|
-
}
|
|
19
|
-
],
|
|
20
|
-
"@angular-eslint/component-selector": [
|
|
21
|
-
"error",
|
|
22
|
-
{
|
|
23
|
-
"type": "element",
|
|
24
|
-
"prefix": "lib",
|
|
25
|
-
"style": "kebab-case"
|
|
26
|
-
}
|
|
27
|
-
]
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"files": [
|
|
32
|
-
"*.html"
|
|
33
|
-
],
|
|
34
|
-
"rules": {}
|
|
35
|
-
}
|
|
36
|
-
]
|
|
37
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
|
|
2
|
-
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
|
|
3
|
-
{
|
|
4
|
-
"extends": "../../tsconfig.json",
|
|
5
|
-
"compilerOptions": {
|
|
6
|
-
"outDir": "../../out-tsc/lib",
|
|
7
|
-
"declaration": true,
|
|
8
|
-
"declarationMap": true,
|
|
9
|
-
"inlineSources": true,
|
|
10
|
-
"types": []
|
|
11
|
-
},
|
|
12
|
-
"exclude": [
|
|
13
|
-
"**/*.spec.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
|
|
2
|
-
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
|
|
3
|
-
{
|
|
4
|
-
"extends": "./tsconfig.lib.json",
|
|
5
|
-
"compilerOptions": {
|
|
6
|
-
"declarationMap": false
|
|
7
|
-
},
|
|
8
|
-
"angularCompilerOptions": {
|
|
9
|
-
"compilationMode": "partial"
|
|
10
|
-
}
|
|
11
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
|
|
2
|
-
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
|
|
3
|
-
{
|
|
4
|
-
"extends": "../../tsconfig.json",
|
|
5
|
-
"compilerOptions": {
|
|
6
|
-
"outDir": "../../out-tsc/spec",
|
|
7
|
-
"types": [
|
|
8
|
-
"jasmine"
|
|
9
|
-
]
|
|
10
|
-
},
|
|
11
|
-
"include": [
|
|
12
|
-
"**/*.spec.ts",
|
|
13
|
-
"**/*.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../../.eslintrc.json",
|
|
3
|
-
"ignorePatterns": [
|
|
4
|
-
"!**/*"
|
|
5
|
-
],
|
|
6
|
-
"overrides": [
|
|
7
|
-
{
|
|
8
|
-
"files": [
|
|
9
|
-
"*.ts"
|
|
10
|
-
],
|
|
11
|
-
"rules": {
|
|
12
|
-
"@angular-eslint/directive-selector": [
|
|
13
|
-
"error",
|
|
14
|
-
{
|
|
15
|
-
"type": "attribute",
|
|
16
|
-
"prefix": "cooee",
|
|
17
|
-
"style": "camelCase"
|
|
18
|
-
}
|
|
19
|
-
],
|
|
20
|
-
"@angular-eslint/component-selector": [
|
|
21
|
-
"error",
|
|
22
|
-
{
|
|
23
|
-
"type": "element",
|
|
24
|
-
"prefix": "cooee",
|
|
25
|
-
"style": "kebab-case"
|
|
26
|
-
}
|
|
27
|
-
]
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"files": [
|
|
32
|
-
"*.html"
|
|
33
|
-
],
|
|
34
|
-
"rules": {}
|
|
35
|
-
}
|
|
36
|
-
]
|
|
37
|
-
}
|
|
Binary file
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
|
|
2
|
-
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
|
|
3
|
-
{
|
|
4
|
-
"extends": "../../tsconfig.json",
|
|
5
|
-
"compilerOptions": {
|
|
6
|
-
"outDir": "../../out-tsc/app",
|
|
7
|
-
"types": []
|
|
8
|
-
},
|
|
9
|
-
"files": [
|
|
10
|
-
"src/main.ts"
|
|
11
|
-
],
|
|
12
|
-
"include": [
|
|
13
|
-
"src/**/*.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
|
|
2
|
-
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
|
|
3
|
-
{
|
|
4
|
-
"extends": "../../tsconfig.json",
|
|
5
|
-
"compilerOptions": {
|
|
6
|
-
"outDir": "../../out-tsc/spec",
|
|
7
|
-
"types": [
|
|
8
|
-
"jasmine"
|
|
9
|
-
]
|
|
10
|
-
},
|
|
11
|
-
"include": [
|
|
12
|
-
"src/**/*.spec.ts",
|
|
13
|
-
"src/**/*.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|