@colijnit/configurator 1.0.20 → 1.0.21
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/.idea/Configurator.iml +12 -0
- package/.idea/codeStyles/Project.xml +21 -0
- package/.idea/codeStyles/codeStyleConfig.xml +5 -0
- package/.idea/inspectionProfiles/Project_Default.xml +6 -0
- package/.idea/misc.xml +9 -0
- package/.idea/modules.xml +8 -0
- package/.idea/vcs.xml +6 -0
- package/angular.json +193 -0
- package/configurator.iml +11 -0
- package/dist/configurator/index.html +14 -0
- package/dist/configurator/main-es2015.js +3129 -0
- package/dist/configurator/main-es2015.js.map +1 -0
- package/dist/configurator/main-es5.js +5482 -0
- package/dist/configurator/main-es5.js.map +1 -0
- package/dist/configurator/polyfills-es2015.js +4520 -0
- package/dist/configurator/polyfills-es2015.js.map +1 -0
- package/dist/configurator/polyfills-es5.js +18375 -0
- package/dist/configurator/polyfills-es5.js.map +1 -0
- package/dist/configurator/runtime-es2015.js +155 -0
- package/dist/configurator/runtime-es2015.js.map +1 -0
- package/dist/configurator/runtime-es5.js +155 -0
- package/dist/configurator/runtime-es5.js.map +1 -0
- package/dist/configurator/styles-es2015.js +450 -0
- package/dist/configurator/styles-es2015.js.map +1 -0
- package/dist/configurator/styles-es5.js +432 -0
- package/dist/configurator/styles-es5.js.map +1 -0
- package/dist/configurator/vendor-es2015.js +155551 -0
- package/dist/configurator/vendor-es2015.js.map +1 -0
- package/dist/configurator/vendor-es5.js +183588 -0
- package/dist/configurator/vendor-es5.js.map +1 -0
- package/ng-package.json +9 -0
- package/package.json +47 -14
- package/src/app/app.component.ts +222 -0
- package/src/app/app.module.ts +34 -0
- package/src/app/builder.ts +480 -0
- package/src/app/components/answers/answer/answer.component.ts +61 -0
- package/src/app/components/answers/answers.component.ts +41 -0
- package/src/app/components/answers/answers.module.ts +26 -0
- package/src/app/components/selections/selections.component.ts +131 -0
- package/src/app/components/selections/selections.module.ts +20 -0
- package/src/app/components/shared/loader/loader.component.scss +33 -0
- package/src/app/components/shared/loader/loader.component.ts +20 -0
- package/src/app/components/shared/shared.module.ts +16 -0
- package/src/app/directives/visibility-observer-master.directive.ts +71 -0
- package/src/app/directives/visibility-observer.directive.ts +74 -0
- package/src/app/services/configurator.service.ts +86 -0
- package/src/app/services/image-cache.service.ts +56 -0
- package/src/app/services/locator.service.ts +6 -0
- package/src/environments/environment.prod.ts +3 -0
- package/src/environments/environment.ts +8 -0
- package/src/helper/variation-helper.ts +220 -0
- package/src/index.html +14 -0
- package/src/main.ts +11 -0
- package/src/model/material.ts +22 -0
- package/src/model/variation-settings.ts +14 -0
- package/src/model/variation.ts +11 -0
- package/src/polyfills.ts +73 -0
- package/{public_api.d.ts → src/public_api.ts} +6 -6
- package/src/style/shared.scss +173 -0
- package/src/style/styles.scss +45 -0
- package/src/tsconfig.app.json +16 -0
- package/src/tsconfig.spec.json +19 -0
- package/src/utils/asset.utils.ts +88 -0
- package/src/utils/file.utils.ts +156 -0
- package/src/utils/file.utils.unit.test.ts +8 -0
- package/src/utils/image.utils.ts +54 -0
- package/src/utils/object.utils.ts +52 -0
- package/src/utils/scene-utils.ts +119 -0
- package/src/utils/threed.utils.ts +219 -0
- package/src/utils/variation-utils.ts +216 -0
- package/tsconfig.json +23 -0
- package/tslint.json +132 -0
- package/app/builder.d.ts +0 -53
- package/app/components/answers/answer/answer.component.d.ts +0 -11
- package/app/components/answers/answers.component.d.ts +0 -8
- package/app/components/answers/answers.module.d.ts +0 -2
- package/app/components/selections/selections.component.d.ts +0 -22
- package/app/components/selections/selections.module.d.ts +0 -2
- package/app/components/shared/loader/loader.component.d.ts +0 -2
- package/app/components/shared/shared.module.d.ts +0 -2
- package/app/directives/visibility-observer-master.directive.d.ts +0 -9
- package/app/directives/visibility-observer.directive.d.ts +0 -13
- package/app/services/configurator.service.d.ts +0 -22
- package/app/services/image-cache.service.d.ts +0 -10
- package/app/services/locator.service.d.ts +0 -4
- package/bundles/colijnit-configurator.umd.js +0 -2745
- package/bundles/colijnit-configurator.umd.js.map +0 -1
- package/bundles/colijnit-configurator.umd.min.js +0 -17
- package/bundles/colijnit-configurator.umd.min.js.map +0 -1
- package/colijnit-configurator.d.ts +0 -10
- package/colijnit-configurator.metadata.json +0 -1
- package/esm2015/app/builder.js +0 -477
- package/esm2015/app/components/answers/answer/answer.component.js +0 -69
- package/esm2015/app/components/answers/answers.component.js +0 -43
- package/esm2015/app/components/answers/answers.module.js +0 -29
- package/esm2015/app/components/selections/selections.component.js +0 -134
- package/esm2015/app/components/selections/selections.module.js +0 -23
- package/esm2015/app/components/shared/loader/loader.component.js +0 -24
- package/esm2015/app/components/shared/shared.module.js +0 -21
- package/esm2015/app/directives/visibility-observer-master.directive.js +0 -51
- package/esm2015/app/directives/visibility-observer.directive.js +0 -57
- package/esm2015/app/services/configurator.service.js +0 -94
- package/esm2015/app/services/image-cache.service.js +0 -66
- package/esm2015/app/services/locator.service.js +0 -10
- package/esm2015/colijnit-configurator.js +0 -11
- package/esm2015/helper/variation-helper.js +0 -216
- package/esm2015/model/material.js +0 -11
- package/esm2015/model/variation-settings.js +0 -6
- package/esm2015/model/variation.js +0 -3
- package/esm2015/public_api.js +0 -7
- package/esm2015/utils/asset.utils.js +0 -74
- package/esm2015/utils/file.utils.js +0 -139
- package/esm2015/utils/image.utils.js +0 -52
- package/esm2015/utils/object.utils.js +0 -49
- package/esm2015/utils/scene-utils.js +0 -94
- package/esm2015/utils/threed.utils.js +0 -222
- package/esm2015/utils/variation-utils.js +0 -224
- package/esm5/app/builder.js +0 -591
- package/esm5/app/components/answers/answer/answer.component.js +0 -64
- package/esm5/app/components/answers/answers.component.js +0 -27
- package/esm5/app/components/answers/answers.module.js +0 -32
- package/esm5/app/components/selections/selections.component.js +0 -104
- package/esm5/app/components/selections/selections.module.js +0 -26
- package/esm5/app/components/shared/loader/loader.component.js +0 -16
- package/esm5/app/components/shared/shared.module.js +0 -24
- package/esm5/app/directives/visibility-observer-master.directive.js +0 -64
- package/esm5/app/directives/visibility-observer.directive.js +0 -59
- package/esm5/app/services/configurator.service.js +0 -160
- package/esm5/app/services/image-cache.service.js +0 -69
- package/esm5/app/services/locator.service.js +0 -13
- package/esm5/colijnit-configurator.js +0 -11
- package/esm5/helper/variation-helper.js +0 -268
- package/esm5/model/material.js +0 -13
- package/esm5/model/variation-settings.js +0 -8
- package/esm5/model/variation.js +0 -7
- package/esm5/public_api.js +0 -7
- package/esm5/utils/asset.utils.js +0 -106
- package/esm5/utils/file.utils.js +0 -151
- package/esm5/utils/image.utils.js +0 -56
- package/esm5/utils/object.utils.js +0 -56
- package/esm5/utils/scene-utils.js +0 -98
- package/esm5/utils/threed.utils.js +0 -279
- package/esm5/utils/variation-utils.js +0 -327
- package/fesm2015/colijnit-configurator.js +0 -2109
- package/fesm2015/colijnit-configurator.js.map +0 -1
- package/fesm5/colijnit-configurator.js +0 -2527
- package/fesm5/colijnit-configurator.js.map +0 -1
- package/helper/variation-helper.d.ts +0 -14
- package/model/material.d.ts +0 -17
- package/model/variation-settings.d.ts +0 -14
- package/model/variation.d.ts +0 -10
- package/utils/asset.utils.d.ts +0 -13
- package/utils/file.utils.d.ts +0 -27
- package/utils/image.utils.d.ts +0 -8
- package/utils/object.utils.d.ts +0 -7
- package/utils/scene-utils.d.ts +0 -7
- package/utils/threed.utils.d.ts +0 -16
- package/utils/variation-utils.d.ts +0 -12
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="JAVA_MODULE" version="4">
|
|
3
|
+
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
4
|
+
<exclude-output />
|
|
5
|
+
<content url="file://$MODULE_DIR$">
|
|
6
|
+
<excludeFolder url="file://$MODULE_DIR$/dist" />
|
|
7
|
+
<excludeFolder url="file://$MODULE_DIR$/tmp" />
|
|
8
|
+
</content>
|
|
9
|
+
<orderEntry type="inheritedJdk" />
|
|
10
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
11
|
+
</component>
|
|
12
|
+
</module>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<component name="ProjectCodeStyleConfiguration">
|
|
2
|
+
<code_scheme name="Project" version="173">
|
|
3
|
+
<JetCodeStyleSettings>
|
|
4
|
+
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
|
|
5
|
+
</JetCodeStyleSettings>
|
|
6
|
+
<TypeScriptCodeStyleSettings version="0">
|
|
7
|
+
<option name="USE_DOUBLE_QUOTES" value="false" />
|
|
8
|
+
<option name="FORCE_QUOTE_STYlE" value="true" />
|
|
9
|
+
</TypeScriptCodeStyleSettings>
|
|
10
|
+
<codeStyleSettings language="TypeScript">
|
|
11
|
+
<option name="RIGHT_MARGIN" value="140" />
|
|
12
|
+
<option name="IF_BRACE_FORCE" value="3" />
|
|
13
|
+
<option name="DOWHILE_BRACE_FORCE" value="3" />
|
|
14
|
+
<option name="WHILE_BRACE_FORCE" value="3" />
|
|
15
|
+
<option name="FOR_BRACE_FORCE" value="3" />
|
|
16
|
+
</codeStyleSettings>
|
|
17
|
+
<codeStyleSettings language="kotlin">
|
|
18
|
+
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
|
|
19
|
+
</codeStyleSettings>
|
|
20
|
+
</code_scheme>
|
|
21
|
+
</component>
|
package/.idea/misc.xml
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="MarkdownSettingsMigration">
|
|
4
|
+
<option name="stateVersion" value="1" />
|
|
5
|
+
</component>
|
|
6
|
+
<component name="ProjectRootManager" version="2" languageLevel="JDK_21" default="true" project-jdk-name="temurin-21" project-jdk-type="JavaSDK">
|
|
7
|
+
<output url="file://$PROJECT_DIR$/out" />
|
|
8
|
+
</component>
|
|
9
|
+
</project>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ProjectModuleManager">
|
|
4
|
+
<modules>
|
|
5
|
+
<module fileurl="file://$PROJECT_DIR$/.idea/Configurator.iml" filepath="$PROJECT_DIR$/.idea/Configurator.iml" />
|
|
6
|
+
</modules>
|
|
7
|
+
</component>
|
|
8
|
+
</project>
|
package/.idea/vcs.xml
ADDED
package/angular.json
ADDED
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
3
|
+
"version": 1,
|
|
4
|
+
"newProjectRoot": "projects",
|
|
5
|
+
"projects": {
|
|
6
|
+
"colijnit-configurator": {
|
|
7
|
+
"root": "",
|
|
8
|
+
"sourceRoot": "src",
|
|
9
|
+
"projectType": "application",
|
|
10
|
+
"architect": {
|
|
11
|
+
"build": {
|
|
12
|
+
"builder": "@angular-devkit/build-angular:browser",
|
|
13
|
+
"options": {
|
|
14
|
+
"aot": true,
|
|
15
|
+
"outputPath": "dist/configurator",
|
|
16
|
+
"index": "src/index.html",
|
|
17
|
+
"main": "src/main.ts",
|
|
18
|
+
"tsConfig": "src/tsconfig.app.json",
|
|
19
|
+
"polyfills": "src/polyfills.ts",
|
|
20
|
+
"assets": [
|
|
21
|
+
"src/layout/",
|
|
22
|
+
"src/assets",
|
|
23
|
+
"src/favicon.ico"
|
|
24
|
+
],
|
|
25
|
+
"styles": [
|
|
26
|
+
"src/style/styles.scss"
|
|
27
|
+
],
|
|
28
|
+
"scripts": []
|
|
29
|
+
},
|
|
30
|
+
"configurations": {
|
|
31
|
+
"production": {
|
|
32
|
+
"budgets": [
|
|
33
|
+
{
|
|
34
|
+
"type": "anyComponentStyle",
|
|
35
|
+
"maximumWarning": "6kb"
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"optimization": true,
|
|
39
|
+
"outputHashing": "none",
|
|
40
|
+
"sourceMap": false,
|
|
41
|
+
"extractCss": false,
|
|
42
|
+
"namedChunks": false,
|
|
43
|
+
"aot": false,
|
|
44
|
+
"extractLicenses": false,
|
|
45
|
+
"vendorChunk": true,
|
|
46
|
+
"buildOptimizer": true,
|
|
47
|
+
"fileReplacements": [
|
|
48
|
+
{
|
|
49
|
+
"replace": "src/environments/environment.ts",
|
|
50
|
+
"with": "src/environments/environment.prod.ts"
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"serve": {
|
|
57
|
+
"builder": "@angular-devkit/build-angular:dev-server",
|
|
58
|
+
"options": {
|
|
59
|
+
"browserTarget": "colijnit-configurator:build"
|
|
60
|
+
},
|
|
61
|
+
"configurations": {
|
|
62
|
+
"production": {
|
|
63
|
+
"browserTarget": "colijnit-configurator:build:production"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"extract-i18n": {
|
|
68
|
+
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
69
|
+
"options": {
|
|
70
|
+
"browserTarget": "colijnit-configurator:build"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"test": {
|
|
74
|
+
"builder": "@angular-devkit/build-angular:karma",
|
|
75
|
+
"options": {
|
|
76
|
+
"main": "src/test.ts",
|
|
77
|
+
"karmaConfig": "./karma.conf.js",
|
|
78
|
+
"polyfills": "src/polyfills.ts",
|
|
79
|
+
"tsConfig": "src/tsconfig.spec.json",
|
|
80
|
+
"scripts": [],
|
|
81
|
+
"styles": [
|
|
82
|
+
"src/style/styles.scss"
|
|
83
|
+
],
|
|
84
|
+
"assets": [
|
|
85
|
+
"src/assets",
|
|
86
|
+
"src/favicon.ico"
|
|
87
|
+
]
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"lint": {
|
|
91
|
+
"builder": "@angular-devkit/build-angular:tslint",
|
|
92
|
+
"options": {
|
|
93
|
+
"tsConfig": [
|
|
94
|
+
"src/tsconfig.app.json",
|
|
95
|
+
"src/tsconfig.spec.json"
|
|
96
|
+
],
|
|
97
|
+
"exclude": []
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"colijnit-configurator-e2e": {
|
|
103
|
+
"root": "e2e",
|
|
104
|
+
"sourceRoot": "e2e",
|
|
105
|
+
"projectType": "application",
|
|
106
|
+
"architect": {
|
|
107
|
+
"e2e": {
|
|
108
|
+
"builder": "@angular-devkit/build-angular:protractor",
|
|
109
|
+
"options": {
|
|
110
|
+
"protractorConfig": "./protractor.conf.js",
|
|
111
|
+
"devServerTarget": "colijnit-configurator:serve"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"lint": {
|
|
115
|
+
"builder": "@angular-devkit/build-angular:tslint",
|
|
116
|
+
"options": {
|
|
117
|
+
"tsConfig": [
|
|
118
|
+
"e2e/tsconfig.e2e.json"
|
|
119
|
+
],
|
|
120
|
+
"exclude": []
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"colijnit-configurator-bundle": {
|
|
126
|
+
"root": "",
|
|
127
|
+
"sourceRoot": "src",
|
|
128
|
+
"projectType": "application",
|
|
129
|
+
"architect": {
|
|
130
|
+
"build": {
|
|
131
|
+
"builder": "@angular-devkit/build-angular:browser",
|
|
132
|
+
"options": {
|
|
133
|
+
"aot": true,
|
|
134
|
+
"outputPath": "dist/colijnit-configurator",
|
|
135
|
+
"index": "src/index.html",
|
|
136
|
+
"main": "src/main.bundle.ts",
|
|
137
|
+
"tsConfig": "src/tsconfig.app.json",
|
|
138
|
+
"polyfills": "src/polyfills.ts",
|
|
139
|
+
"assets": [
|
|
140
|
+
"src/layout/",
|
|
141
|
+
"src/assets",
|
|
142
|
+
"src/favicon.ico"
|
|
143
|
+
],
|
|
144
|
+
"styles": [
|
|
145
|
+
"src/style/styles.scss"
|
|
146
|
+
],
|
|
147
|
+
"scripts": []
|
|
148
|
+
},
|
|
149
|
+
"configurations": {
|
|
150
|
+
"production": {
|
|
151
|
+
"budgets": [
|
|
152
|
+
{
|
|
153
|
+
"type": "anyComponentStyle",
|
|
154
|
+
"maximumWarning": "6kb"
|
|
155
|
+
}
|
|
156
|
+
],
|
|
157
|
+
"optimization": true,
|
|
158
|
+
"outputHashing": "none",
|
|
159
|
+
"sourceMap": false,
|
|
160
|
+
"extractCss": false,
|
|
161
|
+
"namedChunks": false,
|
|
162
|
+
"aot": false,
|
|
163
|
+
"extractLicenses": false,
|
|
164
|
+
"vendorChunk": false,
|
|
165
|
+
"buildOptimizer": true,
|
|
166
|
+
"fileReplacements": [
|
|
167
|
+
{
|
|
168
|
+
"replace": "src/environments/environment.ts",
|
|
169
|
+
"with": "src/environments/environment.prod.ts"
|
|
170
|
+
}
|
|
171
|
+
]
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"serve": {
|
|
176
|
+
"builder": "@angular-devkit/build-angular:dev-server",
|
|
177
|
+
"options": {
|
|
178
|
+
"browserTarget": "colijnit-configurator-bundle:build"
|
|
179
|
+
},
|
|
180
|
+
"configurations": {
|
|
181
|
+
"production": {
|
|
182
|
+
"browserTarget": "colijnit-configurator-bundle:build:production"
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"defaultProject": "colijnit-configurator",
|
|
190
|
+
"cli": {
|
|
191
|
+
"analytics": false
|
|
192
|
+
}
|
|
193
|
+
}
|
package/configurator.iml
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="WEB_MODULE" version="4">
|
|
3
|
+
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
4
|
+
<exclude-output />
|
|
5
|
+
<content url="file://$MODULE_DIR$">
|
|
6
|
+
<excludeFolder url="file://$MODULE_DIR$/dist" />
|
|
7
|
+
<excludeFolder url="file://$MODULE_DIR$/tmp" />
|
|
8
|
+
</content>
|
|
9
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
10
|
+
</component>
|
|
11
|
+
</module>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>Configurator</title>
|
|
6
|
+
<base href="/">
|
|
7
|
+
|
|
8
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
|
+
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
|
10
|
+
</head>
|
|
11
|
+
<body>
|
|
12
|
+
<app-root></app-root>
|
|
13
|
+
<script src="runtime-es2015.js" type="module"></script><script src="runtime-es5.js" nomodule defer></script><script src="polyfills-es5.js" nomodule defer></script><script src="polyfills-es2015.js" type="module"></script><script src="styles-es2015.js" type="module"></script><script src="styles-es5.js" nomodule defer></script><script src="vendor-es2015.js" type="module"></script><script src="vendor-es5.js" nomodule defer></script><script src="main-es2015.js" type="module"></script><script src="main-es5.js" nomodule defer></script></body>
|
|
14
|
+
</html>
|