fabrikantencore 2.4.1 → 2.4.4
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/.editorconfig +16 -0
- package/.vscode/extensions.json +4 -0
- package/.vscode/launch.json +20 -0
- package/.vscode/tasks.json +42 -0
- package/angular.json +112 -0
- package/karma.conf.js +44 -0
- package/ng-package.json +6 -0
- package/package.json +46 -56
- package/public_api.ts +13 -0
- package/src/app/app-routing.module.ts +10 -0
- package/src/app/app.component.html +1 -0
- package/src/app/app.component.scss +8 -0
- package/src/app/app.component.spec.ts +35 -0
- package/src/app/app.component.ts +39 -0
- package/src/app/app.module.ts +22 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-categories/beheer-categories.component.html +52 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-categories/beheer-categories.component.scss +11 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-categories/beheer-categories.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-categories/beheer-categories.component.ts +58 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-connect-category-dialog/beheer-connect-category-dialog.component.html +46 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-connect-category-dialog/beheer-connect-category-dialog.component.scss +0 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-connect-category-dialog/beheer-connect-category-dialog.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-connect-category-dialog/beheer-connect-category-dialog.component.ts +79 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-deeplink/beheer-deeplink.component.html +33 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-deeplink/beheer-deeplink.component.scss +15 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-deeplink/beheer-deeplink.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-deeplink/beheer-deeplink.component.ts +42 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-display-ebo/beheer-display-ebo.component.html +11 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-display-ebo/beheer-display-ebo.component.scss +8 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-display-ebo/beheer-display-ebo.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-display-ebo/beheer-display-ebo.component.ts +33 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-ebo-koppel/beheer-ebo-koppel/beheer-ebo-koppel.component.html +73 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-ebo-koppel/beheer-ebo-koppel/beheer-ebo-koppel.component.scss +41 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-ebo-koppel/beheer-ebo-koppel/beheer-ebo-koppel.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-ebo-koppel/beheer-ebo-koppel/beheer-ebo-koppel.component.ts +147 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-filter/beheer-filter.component.html +72 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-filter/beheer-filter.component.scss +111 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-filter/beheer-filter.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-filter/beheer-filter.component.ts +249 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-filters/beheer-filters.component.html +54 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-filters/beheer-filters.component.scss +123 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-filters/beheer-filters.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-filters/beheer-filters.component.ts +139 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets-dialog/beheer-import-sets-dialog.component.html +12 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets-dialog/beheer-import-sets-dialog.component.scss +0 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets-dialog/beheer-import-sets-dialog.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets-dialog/beheer-import-sets-dialog.component.ts +55 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets-ebo/beheer-import-sets-ebo.component.html +33 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets-ebo/beheer-import-sets-ebo.component.scss +60 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets-ebo/beheer-import-sets-ebo.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets-ebo/beheer-import-sets-ebo.component.ts +99 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets-ebo/beheer-import-sets-opbouw.component.html +20 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets-ebo/beheer-import-sets-opbouw.component.scss +38 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets-ebo/beheer-import-sets-opbouw.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets-ebo/beheer-import-sets-opbouw.component.ts +0 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets-eigenschap/beheer-import-sets-eigenschap.component.html +8 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets-eigenschap/beheer-import-sets-eigenschap.component.scss +31 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets-eigenschap/beheer-import-sets-eigenschap.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets-eigenschap/beheer-import-sets-eigenschap.component.ts +33 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets.component.html +92 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets.component.scss +50 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets.component.ts +73 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-inlog/beheer-inlog.component.html +42 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-inlog/beheer-inlog.component.scss +44 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-inlog/beheer-inlog.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-inlog/beheer-inlog.component.ts +43 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-main/beheer-main.component.css +0 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-main/beheer-main.component.html +1 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-main/beheer-main.component.spec.ts +25 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-main/beheer-main.component.ts +17 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-nav/beheer-nav.component.html +44 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-nav/beheer-nav.component.scss +34 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-nav/beheer-nav.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-nav/beheer-nav.component.ts +51 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-bcbproduct/beheer-products-bcbproduct.component.html +42 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-bcbproduct/beheer-products-bcbproduct.component.scss +41 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-bcbproduct/beheer-products-bcbproduct.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-bcbproduct/beheer-products-bcbproduct.component.ts +51 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-connect-rangeinput/beheer-products-connect-rangeinput.component.html +44 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-connect-rangeinput/beheer-products-connect-rangeinput.component.scss +7 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-connect-rangeinput/beheer-products-connect-rangeinput.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-connect-rangeinput/beheer-products-connect-rangeinput.component.ts +114 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-ebo/beheer-products-ebo.component.html +54 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-ebo/beheer-products-ebo.component.scss +52 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-ebo/beheer-products-ebo.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-ebo/beheer-products-ebo.component.ts +193 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-ebo/beheer-products-opbouw.component.html +16 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-ebo/beheer-products-opbouw.component.scss +51 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-ebo/beheer-products-opbouw.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-ebo/beheer-products-opbouw.component.ts +0 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-eigenschap/beheer-products-eigenschap.component.html +84 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-eigenschap/beheer-products-eigenschap.component.scss +51 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-eigenschap/beheer-products-eigenschap.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-eigenschap/beheer-products-eigenschap.component.ts +224 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-eigenschap-bereik/beheer-products-eigenschap-bereik.component.html +5 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-eigenschap-bereik/beheer-products-eigenschap-bereik.component.scss +7 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-eigenschap-bereik/beheer-products-eigenschap-bereik.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-eigenschap-bereik/beheer-products-eigenschap-bereik.component.ts +18 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-koppel-filteroption-dailog/beheer-products-koppel-filteroption-dailog.component.html +97 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-koppel-filteroption-dailog/beheer-products-koppel-filteroption-dailog.component.scss +11 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-koppel-filteroption-dailog/beheer-products-koppel-filteroption-dailog.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-koppel-filteroption-dailog/beheer-products-koppel-filteroption-dailog.component.ts +185 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-product/beheer-products-product.component.html +26 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-product/beheer-products-product.component.scss +15 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-product/beheer-products-product.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-product/beheer-products-product.component.ts +23 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products.component.html +96 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products.component.scss +89 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products.component.ts +175 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-rangeinput/beheer-rangeinput.component.html +24 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-rangeinput/beheer-rangeinput.component.scss +67 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-rangeinput/beheer-rangeinput.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-rangeinput/beheer-rangeinput.component.ts +88 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-searchproducts/beheer-searchproducts-koppel-dialog/beheer-searchproducts-koppel-dialog.component.html +45 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-searchproducts/beheer-searchproducts-koppel-dialog/beheer-searchproducts-koppel-dialog.component.scss +14 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-searchproducts/beheer-searchproducts-koppel-dialog/beheer-searchproducts-koppel-dialog.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-searchproducts/beheer-searchproducts-koppel-dialog/beheer-searchproducts-koppel-dialog.component.ts +89 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-searchproducts/beheer-searchproducts.component.html +119 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-searchproducts/beheer-searchproducts.component.scss +69 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-searchproducts/beheer-searchproducts.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-searchproducts/beheer-searchproducts.component.ts +346 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-select-filter-dialog/beheer-select-filter-dialog.component.html +57 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-select-filter-dialog/beheer-select-filter-dialog.component.scss +11 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-select-filter-dialog/beheer-select-filter-dialog.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-select-filter-dialog/beheer-select-filter-dialog.component.ts +104 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-select-filteroption-dialog/beheer-select-filteroption-dialog.component.html +49 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-select-filteroption-dialog/beheer-select-filteroption-dialog.component.scss +3 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-select-filteroption-dialog/beheer-select-filteroption-dialog.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-select-filteroption-dialog/beheer-select-filteroption-dialog.component.ts +86 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-settings/beheer-settings-boolean/beheer-settings-boolean.component.html +26 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-settings/beheer-settings-boolean/beheer-settings-boolean.component.scss +8 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-settings/beheer-settings-boolean/beheer-settings-boolean.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-settings/beheer-settings-boolean/beheer-settings-boolean.component.ts +42 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-settings/beheer-settings-options/beheer-settings-options.component.html +38 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-settings/beheer-settings-options/beheer-settings-options.component.scss +30 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-settings/beheer-settings-options/beheer-settings-options.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-settings/beheer-settings-options/beheer-settings-options.component.ts +19 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-settings/beheer-settings-string/beheer-settings-string.component.html +40 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-settings/beheer-settings-string/beheer-settings-string.component.scss +30 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-settings/beheer-settings-string/beheer-settings-string.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-settings/beheer-settings-string/beheer-settings-string.component.ts +19 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-settings/beheer-settings.component.html +50 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-settings/beheer-settings.component.scss +34 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-settings/beheer-settings.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-settings/beheer-settings.component.ts +17 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-translate/beheer-translate.component.html +142 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-translate/beheer-translate.component.scss +15 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-translate/beheer-translate.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-translate/beheer-translate.component.ts +120 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-users/beheer-users.component.html +1 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-users/beheer-users.component.scss +0 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-users/beheer-users.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/beheer/components/beheer-users/beheer-users.component.ts +15 -0
- package/src/app/modules/fabrikantencore/components/fab-actionmenu/fab-actionmenu.component.html +343 -0
- package/src/app/modules/fabrikantencore/components/fab-actionmenu/fab-actionmenu.component.scss +29 -0
- package/src/app/modules/fabrikantencore/components/fab-actionmenu/fab-actionmenu.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-actionmenu/fab-actionmenu.component.ts +154 -0
- package/src/app/modules/fabrikantencore/components/fab-bcb-product/fab-bcb-product.component.html +1 -0
- package/src/app/modules/fabrikantencore/components/fab-bcb-product/fab-bcb-product.component.scss +0 -0
- package/src/app/modules/fabrikantencore/components/fab-bcb-product/fab-bcb-product.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-bcb-product/fab-bcb-product.component.ts +15 -0
- package/src/app/modules/fabrikantencore/components/fab-breadcrumb/fab-breadcrumb.component.html +64 -0
- package/src/app/modules/fabrikantencore/components/fab-breadcrumb/fab-breadcrumb.component.scss +99 -0
- package/src/app/modules/fabrikantencore/components/fab-breadcrumb/fab-breadcrumb.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-breadcrumb/fab-breadcrumb.component.ts +82 -0
- package/src/app/modules/fabrikantencore/components/fab-button/fab-button.component.html +5 -0
- package/src/app/modules/fabrikantencore/components/fab-button/fab-button.component.scss +89 -0
- package/src/app/modules/fabrikantencore/components/fab-button/fab-button.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-button/fab-button.component.ts +20 -0
- package/src/app/modules/fabrikantencore/components/fab-categories/fab-categories.component.html +10 -0
- package/src/app/modules/fabrikantencore/components/fab-categories/fab-categories.component.scss +16 -0
- package/src/app/modules/fabrikantencore/components/fab-categories/fab-categories.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-categories/fab-categories.component.ts +29 -0
- package/src/app/modules/fabrikantencore/components/fab-category-navigator/fab-category-navigator.component.html +6 -0
- package/src/app/modules/fabrikantencore/components/fab-category-navigator/fab-category-navigator.component.scss +3 -0
- package/src/app/modules/fabrikantencore/components/fab-category-navigator/fab-category-navigator.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-category-navigator/fab-category-navigator.component.ts +70 -0
- package/src/app/modules/fabrikantencore/components/fab-category-tile/fab-category-tile.component.html +16 -0
- package/src/app/modules/fabrikantencore/components/fab-category-tile/fab-category-tile.component.scss +38 -0
- package/src/app/modules/fabrikantencore/components/fab-category-tile/fab-category-tile.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-category-tile/fab-category-tile.component.ts +46 -0
- package/src/app/modules/fabrikantencore/components/fab-category-tile/no-photo.png +0 -0
- package/src/app/modules/fabrikantencore/components/fab-filter/fab-filter.component.html +41 -0
- package/src/app/modules/fabrikantencore/components/fab-filter/fab-filter.component.scss +88 -0
- package/src/app/modules/fabrikantencore/components/fab-filter/fab-filter.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-filter/fab-filter.component.ts +139 -0
- package/src/app/modules/fabrikantencore/components/fab-filter-colour/fab-filter-colour-dialog/fab-filter-colour-dialog.component.html +1973 -0
- package/src/app/modules/fabrikantencore/components/fab-filter-colour/fab-filter-colour-dialog/fab-filter-colour-dialog.component.scss +30 -0
- package/src/app/modules/fabrikantencore/components/fab-filter-colour/fab-filter-colour-dialog/fab-filter-colour-dialog.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-filter-colour/fab-filter-colour-dialog/fab-filter-colour-dialog.component.ts +316 -0
- package/src/app/modules/fabrikantencore/components/fab-filter-colour/fab-filter-colour.component.html +10 -0
- package/src/app/modules/fabrikantencore/components/fab-filter-colour/fab-filter-colour.component.scss +11 -0
- package/src/app/modules/fabrikantencore/components/fab-filter-colour/fab-filter-colour.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-filter-colour/fab-filter-colour.component.ts +56 -0
- package/src/app/modules/fabrikantencore/components/fab-filter-colour-label/fab-filter-colour-label.component.html +20 -0
- package/src/app/modules/fabrikantencore/components/fab-filter-colour-label/fab-filter-colour-label.component.scss +11 -0
- package/src/app/modules/fabrikantencore/components/fab-filter-colour-label/fab-filter-colour-label.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-filter-colour-label/fab-filter-colour-label.component.ts +56 -0
- package/src/app/modules/fabrikantencore/components/fab-filter-fold/fab-filter-fold.component.html +66 -0
- package/src/app/modules/fabrikantencore/components/fab-filter-fold/fab-filter-fold.component.scss +68 -0
- package/src/app/modules/fabrikantencore/components/fab-filter-fold/fab-filter-fold.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-filter-fold/fab-filter-fold.component.ts +89 -0
- package/src/app/modules/fabrikantencore/components/fab-filter-label/fab-filter-label.component.html +75 -0
- package/src/app/modules/fabrikantencore/components/fab-filter-label/fab-filter-label.component.scss +106 -0
- package/src/app/modules/fabrikantencore/components/fab-filter-label/fab-filter-label.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-filter-label/fab-filter-label.component.ts +140 -0
- package/src/app/modules/fabrikantencore/components/fab-filters/fab-filters.component.html +23 -0
- package/src/app/modules/fabrikantencore/components/fab-filters/fab-filters.component.scss +44 -0
- package/src/app/modules/fabrikantencore/components/fab-filters/fab-filters.component.spec.ts +25 -0
- package/src/app/modules/fabrikantencore/components/fab-filters/fab-filters.component.ts +40 -0
- package/src/app/modules/fabrikantencore/components/fab-filters-input/fab-filters-input.component.html +35 -0
- package/src/app/modules/fabrikantencore/components/fab-filters-input/fab-filters-input.component.scss +25 -0
- package/src/app/modules/fabrikantencore/components/fab-filters-input/fab-filters-input.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-filters-input/fab-filters-input.component.ts +50 -0
- package/src/app/modules/fabrikantencore/components/fab-filters-overview/fab-filters-overview.component.html +4 -0
- package/src/app/modules/fabrikantencore/components/fab-filters-overview/fab-filters-overview.component.scss +0 -0
- package/src/app/modules/fabrikantencore/components/fab-filters-overview/fab-filters-overview.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-filters-overview/fab-filters-overview.component.ts +32 -0
- package/src/app/modules/fabrikantencore/components/fab-flag/fab-flag.component.html +1 -0
- package/src/app/modules/fabrikantencore/components/fab-flag/fab-flag.component.scss +2143 -0
- package/src/app/modules/fabrikantencore/components/fab-flag/fab-flag.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-flag/fab-flag.component.ts +17 -0
- package/src/app/modules/fabrikantencore/components/fab-header/fab-header.component.html +11 -0
- package/src/app/modules/fabrikantencore/components/fab-header/fab-header.component.scss +24 -0
- package/src/app/modules/fabrikantencore/components/fab-header/fab-header.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-header/fab-header.component.ts +58 -0
- package/src/app/modules/fabrikantencore/components/fab-iframe/fab-iframe.component.html +15 -0
- package/src/app/modules/fabrikantencore/components/fab-iframe/fab-iframe.component.scss +16 -0
- package/src/app/modules/fabrikantencore/components/fab-iframe/fab-iframe.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-iframe/fab-iframe.component.ts +25 -0
- package/src/app/modules/fabrikantencore/components/fab-input/fab-input.component.html +32 -0
- package/src/app/modules/fabrikantencore/components/fab-input/fab-input.component.scss +0 -0
- package/src/app/modules/fabrikantencore/components/fab-input/fab-input.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-input/fab-input.component.ts +21 -0
- package/src/app/modules/fabrikantencore/components/fab-language-select/fab-language-select.component.html +5 -0
- package/src/app/modules/fabrikantencore/components/fab-language-select/fab-language-select.component.scss +8 -0
- package/src/app/modules/fabrikantencore/components/fab-language-select/fab-language-select.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-language-select/fab-language-select.component.ts +20 -0
- package/src/app/modules/fabrikantencore/components/fab-loader/fab-loader.component.html +3 -0
- package/src/app/modules/fabrikantencore/components/fab-loader/fab-loader.component.scss +7 -0
- package/src/app/modules/fabrikantencore/components/fab-loader/fab-loader.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-loader/fab-loader.component.ts +15 -0
- package/src/app/modules/fabrikantencore/components/fab-multiselect/fab-multiselect.component.html +9 -0
- package/src/app/modules/fabrikantencore/components/fab-multiselect/fab-multiselect.component.scss +5 -0
- package/src/app/modules/fabrikantencore/components/fab-multiselect/fab-multiselect.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-multiselect/fab-multiselect.component.ts +43 -0
- package/src/app/modules/fabrikantencore/components/fab-multiselect-fold/fab-multiselect-fold.component.html +21 -0
- package/src/app/modules/fabrikantencore/components/fab-multiselect-fold/fab-multiselect-fold.component.scss +61 -0
- package/src/app/modules/fabrikantencore/components/fab-multiselect-fold/fab-multiselect-fold.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-multiselect-fold/fab-multiselect-fold.component.ts +34 -0
- package/src/app/modules/fabrikantencore/components/fab-product/fab-product-bestek/fab-product-bestek.component.html +21 -0
- package/src/app/modules/fabrikantencore/components/fab-product/fab-product-bestek/fab-product-bestek.component.scss +65 -0
- package/src/app/modules/fabrikantencore/components/fab-product/fab-product-bestek/fab-product-bestek.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-product/fab-product-bestek/fab-product-bestek.component.ts +50 -0
- package/src/app/modules/fabrikantencore/components/fab-product/fab-product-info/fab-product-info-photo/fab-product-info-photo.component.html +15 -0
- package/src/app/modules/fabrikantencore/components/fab-product/fab-product-info/fab-product-info-photo/fab-product-info-photo.component.scss +28 -0
- package/src/app/modules/fabrikantencore/components/fab-product/fab-product-info/fab-product-info-photo/fab-product-info-photo.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-product/fab-product-info/fab-product-info-photo/fab-product-info-photo.component.ts +27 -0
- package/src/app/modules/fabrikantencore/components/fab-product/fab-product-info/fab-product-info-photo-dialog/fab-product-info-photo-dialog.component.html +15 -0
- package/src/app/modules/fabrikantencore/components/fab-product/fab-product-info/fab-product-info-photo-dialog/fab-product-info-photo-dialog.component.scss +20 -0
- package/src/app/modules/fabrikantencore/components/fab-product/fab-product-info/fab-product-info-photo-dialog/fab-product-info-photo-dialog.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-product/fab-product-info/fab-product-info-photo-dialog/fab-product-info-photo-dialog.component.ts +17 -0
- package/src/app/modules/fabrikantencore/components/fab-product/fab-product-info/fab-product-info.component.html +17 -0
- package/src/app/modules/fabrikantencore/components/fab-product/fab-product-info/fab-product-info.component.scss +13 -0
- package/src/app/modules/fabrikantencore/components/fab-product/fab-product-info/fab-product-info.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-product/fab-product-info/fab-product-info.component.ts +40 -0
- package/src/app/modules/fabrikantencore/components/fab-product/fab-product.component.html +77 -0
- package/src/app/modules/fabrikantencore/components/fab-product/fab-product.component.scss +70 -0
- package/src/app/modules/fabrikantencore/components/fab-product/fab-product.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-product/fab-product.component.ts +103 -0
- package/src/app/modules/fabrikantencore/components/fab-product/fab-toebehoren/fab-toebehoren.component.html +33 -0
- package/src/app/modules/fabrikantencore/components/fab-product/fab-toebehoren/fab-toebehoren.component.scss +64 -0
- package/src/app/modules/fabrikantencore/components/fab-product/fab-toebehoren/fab-toebehoren.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-product/fab-toebehoren/fab-toebehoren.component.ts +101 -0
- package/src/app/modules/fabrikantencore/components/fab-product-select/fab-product-select.component.html +43 -0
- package/src/app/modules/fabrikantencore/components/fab-product-select/fab-product-select.component.scss +63 -0
- package/src/app/modules/fabrikantencore/components/fab-product-select/fab-product-select.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-product-select/fab-product-select.component.ts +63 -0
- package/src/app/modules/fabrikantencore/components/fab-product-tile/fab-product-tile.component.html +10 -0
- package/src/app/modules/fabrikantencore/components/fab-product-tile/fab-product-tile.component.scss +34 -0
- package/src/app/modules/fabrikantencore/components/fab-product-tile/fab-product-tile.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-product-tile/fab-product-tile.component.ts +50 -0
- package/src/app/modules/fabrikantencore/components/fab-range-input/fab-range-input.component.html +13 -0
- package/src/app/modules/fabrikantencore/components/fab-range-input/fab-range-input.component.scss +3 -0
- package/src/app/modules/fabrikantencore/components/fab-range-input/fab-range-input.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-range-input/fab-range-input.component.ts +99 -0
- package/src/app/modules/fabrikantencore/components/fab-range-input-fold/fab-range-input-fold.component.html +24 -0
- package/src/app/modules/fabrikantencore/components/fab-range-input-fold/fab-range-input-fold.component.scss +59 -0
- package/src/app/modules/fabrikantencore/components/fab-range-input-fold/fab-range-input-fold.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-range-input-fold/fab-range-input-fold.component.ts +32 -0
- package/src/app/modules/fabrikantencore/components/fab-select-bcbproduct/fab-select-bcbproduct.component.html +10 -0
- package/src/app/modules/fabrikantencore/components/fab-select-bcbproduct/fab-select-bcbproduct.component.scss +13 -0
- package/src/app/modules/fabrikantencore/components/fab-select-bcbproduct/fab-select-bcbproduct.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-select-bcbproduct/fab-select-bcbproduct.component.ts +17 -0
- package/src/app/modules/fabrikantencore/components/fab-start/fab-start.component.html +7 -0
- package/src/app/modules/fabrikantencore/components/fab-start/fab-start.component.scss +24 -0
- package/src/app/modules/fabrikantencore/components/fab-start/fab-start.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-start/fab-start.component.ts +25 -0
- package/src/app/modules/fabrikantencore/components/fab-svg-viewer/fab-svg-viewer.component.html +23 -0
- package/src/app/modules/fabrikantencore/components/fab-svg-viewer/fab-svg-viewer.component.scss +92 -0
- package/src/app/modules/fabrikantencore/components/fab-svg-viewer/fab-svg-viewer.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-svg-viewer/fab-svg-viewer.component.ts +76 -0
- package/src/app/modules/fabrikantencore/components/fab-texture/fab-texture.component.html +35 -0
- package/src/app/modules/fabrikantencore/components/fab-texture/fab-texture.component.scss +74 -0
- package/src/app/modules/fabrikantencore/components/fab-texture/fab-texture.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-texture/fab-texture.component.ts +33 -0
- package/src/app/modules/fabrikantencore/components/fab-webgl-viewer/fab-webgl-viewer.component.html +24 -0
- package/src/app/modules/fabrikantencore/components/fab-webgl-viewer/fab-webgl-viewer.component.scss +74 -0
- package/src/app/modules/fabrikantencore/components/fab-webgl-viewer/fab-webgl-viewer.component.spec.ts +23 -0
- package/src/app/modules/fabrikantencore/components/fab-webgl-viewer/fab-webgl-viewer.component.ts +103 -0
- package/src/app/modules/fabrikantencore/fabrikantencore.module.spec.ts +13 -0
- package/src/app/modules/fabrikantencore/fabrikantencore.module.ts +317 -0
- package/src/app/modules/fabrikantencore/helpers/auth.guard.ts +28 -0
- package/src/app/modules/fabrikantencore/helpers/basic-auth.interceptor.ts +24 -0
- package/src/app/modules/fabrikantencore/helpers/error.interceptor.ts +24 -0
- package/src/app/modules/fabrikantencore/services/authentication.service.ts +55 -0
- package/src/app/modules/fabrikantencore/services/bestek.service.ts +109 -0
- package/src/app/modules/fabrikantencore/services/fabrikanten.service.ts +1306 -0
- package/src/app/modules/fabrikantencore/services/importsets.service.ts +164 -0
- package/src/app/modules/fabrikantencore/services/mobile.service.ts +57 -0
- package/src/app/modules/fabrikantencore/services/navigate.service.ts +40 -0
- package/src/app/modules/fabrikantencore/services/photo.service.ts +121 -0
- package/src/app/modules/fabrikantencore/services/products.service.ts +281 -0
- package/src/app/modules/fabrikantencore/services/projectsetting.service.ts +97 -0
- package/src/app/modules/fabrikantencore/services/statistics.service.ts +96 -0
- package/src/app/modules/fabrikantencore/services/svg.service.ts +88 -0
- package/src/app/modules/fabrikantencore/services/texture.service.ts +33 -0
- package/src/app/modules/fabrikantencore/services/toebehoren.service.ts +65 -0
- package/src/app/modules/fabrikantencore/services/translate.service.ts +399 -0
- package/src/app/modules/fabrikantencore/services/webgl.service.ts +80 -0
- package/src/app/modules/fabrikantencore/swagger/SwaggerClient.ts +12529 -0
- package/src/assets/.gitkeep +0 -0
- package/src/assets/bouwconnect-achtergrond.png +0 -0
- package/src/assets/flags/1x1/ac.svg +76 -0
- package/src/assets/flags/1x1/ad.svg +148 -0
- package/src/assets/flags/1x1/ae.svg +6 -0
- package/src/assets/flags/1x1/af.svg +81 -0
- package/src/assets/flags/1x1/ag.svg +14 -0
- package/src/assets/flags/1x1/ai.svg +758 -0
- package/src/assets/flags/1x1/al.svg +5 -0
- package/src/assets/flags/1x1/am.svg +5 -0
- package/src/assets/flags/1x1/ao.svg +13 -0
- package/src/assets/flags/1x1/aq.svg +5 -0
- package/src/assets/flags/1x1/ar.svg +32 -0
- package/src/assets/flags/1x1/as.svg +73 -0
- package/src/assets/flags/1x1/at.svg +6 -0
- package/src/assets/flags/1x1/au.svg +8 -0
- package/src/assets/flags/1x1/aw.svg +186 -0
- package/src/assets/flags/1x1/ax.svg +18 -0
- package/src/assets/flags/1x1/az.svg +8 -0
- package/src/assets/flags/1x1/ba.svg +12 -0
- package/src/assets/flags/1x1/bb.svg +6 -0
- package/src/assets/flags/1x1/bd.svg +4 -0
- package/src/assets/flags/1x1/be.svg +7 -0
- package/src/assets/flags/1x1/bf.svg +7 -0
- package/src/assets/flags/1x1/bg.svg +7 -0
- package/src/assets/flags/1x1/bh.svg +4 -0
- package/src/assets/flags/1x1/bi.svg +15 -0
- package/src/assets/flags/1x1/bj.svg +14 -0
- package/src/assets/flags/1x1/bl.svg +7 -0
- package/src/assets/flags/1x1/bm.svg +97 -0
- package/src/assets/flags/1x1/bn.svg +36 -0
- package/src/assets/flags/1x1/bo.svg +678 -0
- package/src/assets/flags/1x1/bq.svg +5 -0
- package/src/assets/flags/1x1/br.svg +45 -0
- package/src/assets/flags/1x1/bs.svg +13 -0
- package/src/assets/flags/1x1/bt.svg +89 -0
- package/src/assets/flags/1x1/bv.svg +13 -0
- package/src/assets/flags/1x1/bw.svg +7 -0
- package/src/assets/flags/1x1/by.svg +22 -0
- package/src/assets/flags/1x1/bz.svg +145 -0
- package/src/assets/flags/1x1/ca.svg +4 -0
- package/src/assets/flags/1x1/cc.svg +19 -0
- package/src/assets/flags/1x1/cd.svg +12 -0
- package/src/assets/flags/1x1/cefta.svg +13 -0
- package/src/assets/flags/1x1/cf.svg +15 -0
- package/src/assets/flags/1x1/cg.svg +12 -0
- package/src/assets/flags/1x1/ch.svg +9 -0
- package/src/assets/flags/1x1/ci.svg +7 -0
- package/src/assets/flags/1x1/ck.svg +9 -0
- package/src/assets/flags/1x1/cl.svg +13 -0
- package/src/assets/flags/1x1/cm.svg +15 -0
- package/src/assets/flags/1x1/cn.svg +11 -0
- package/src/assets/flags/1x1/co.svg +7 -0
- package/src/assets/flags/1x1/cp.svg +7 -0
- package/src/assets/flags/1x1/cr.svg +7 -0
- package/src/assets/flags/1x1/cu.svg +13 -0
- package/src/assets/flags/1x1/cv.svg +13 -0
- package/src/assets/flags/1x1/cw.svg +14 -0
- package/src/assets/flags/1x1/cx.svg +15 -0
- package/src/assets/flags/1x1/cy.svg +6 -0
- package/src/assets/flags/1x1/cz.svg +5 -0
- package/src/assets/flags/1x1/de.svg +5 -0
- package/src/assets/flags/1x1/dg.svg +129 -0
- package/src/assets/flags/1x1/dj.svg +13 -0
- package/src/assets/flags/1x1/dk.svg +5 -0
- package/src/assets/flags/1x1/dm.svg +152 -0
- package/src/assets/flags/1x1/do.svg +6745 -0
- package/src/assets/flags/1x1/dz.svg +5 -0
- package/src/assets/flags/1x1/ea.svg +547 -0
- package/src/assets/flags/1x1/ec.svg +138 -0
- package/src/assets/flags/1x1/ee.svg +7 -0
- package/src/assets/flags/1x1/eg.svg +38 -0
- package/src/assets/flags/1x1/eh.svg +11 -0
- package/src/assets/flags/1x1/er.svg +13 -0
- package/src/assets/flags/1x1/es-ct.svg +4 -0
- package/src/assets/flags/1x1/es-ga.svg +187 -0
- package/src/assets/flags/1x1/es.svg +547 -0
- package/src/assets/flags/1x1/et.svg +14 -0
- package/src/assets/flags/1x1/eu.svg +28 -0
- package/src/assets/flags/1x1/fi.svg +5 -0
- package/src/assets/flags/1x1/fj.svg +123 -0
- package/src/assets/flags/1x1/fk.svg +89 -0
- package/src/assets/flags/1x1/fm.svg +11 -0
- package/src/assets/flags/1x1/fo.svg +12 -0
- package/src/assets/flags/1x1/fr.svg +7 -0
- package/src/assets/flags/1x1/ga.svg +7 -0
- package/src/assets/flags/1x1/gb-eng.svg +5 -0
- package/src/assets/flags/1x1/gb-nir.svg +131 -0
- package/src/assets/flags/1x1/gb-sct.svg +4 -0
- package/src/assets/flags/1x1/gb-wls.svg +9 -0
- package/src/assets/flags/1x1/gb.svg +7 -0
- package/src/assets/flags/1x1/gd.svg +27 -0
- package/src/assets/flags/1x1/ge.svg +6 -0
- package/src/assets/flags/1x1/gf.svg +7 -0
- package/src/assets/flags/1x1/gg.svg +9 -0
- package/src/assets/flags/1x1/gh.svg +6 -0
- package/src/assets/flags/1x1/gi.svg +32 -0
- package/src/assets/flags/1x1/gl.svg +4 -0
- package/src/assets/flags/1x1/gm.svg +9 -0
- package/src/assets/flags/1x1/gn.svg +7 -0
- package/src/assets/flags/1x1/gp.svg +7 -0
- package/src/assets/flags/1x1/gq.svg +23 -0
- package/src/assets/flags/1x1/gr.svg +16 -0
- package/src/assets/flags/1x1/gs.svg +132 -0
- package/src/assets/flags/1x1/gt.svg +220 -0
- package/src/assets/flags/1x1/gu.svg +23 -0
- package/src/assets/flags/1x1/gw.svg +15 -0
- package/src/assets/flags/1x1/gy.svg +9 -0
- package/src/assets/flags/1x1/hk.svg +30 -0
- package/src/assets/flags/1x1/hm.svg +8 -0
- package/src/assets/flags/1x1/hn.svg +18 -0
- package/src/assets/flags/1x1/hr.svg +56 -0
- package/src/assets/flags/1x1/ht.svg +116 -0
- package/src/assets/flags/1x1/hu.svg +7 -0
- package/src/assets/flags/1x1/ic.svg +7 -0
- package/src/assets/flags/1x1/id.svg +4 -0
- package/src/assets/flags/1x1/ie.svg +7 -0
- package/src/assets/flags/1x1/il.svg +14 -0
- package/src/assets/flags/1x1/im.svg +36 -0
- package/src/assets/flags/1x1/in.svg +25 -0
- package/src/assets/flags/1x1/io.svg +129 -0
- package/src/assets/flags/1x1/iq.svg +10 -0
- package/src/assets/flags/1x1/ir.svg +219 -0
- package/src/assets/flags/1x1/is.svg +12 -0
- package/src/assets/flags/1x1/it.svg +7 -0
- package/src/assets/flags/1x1/je.svg +44 -0
- package/src/assets/flags/1x1/jm.svg +8 -0
- package/src/assets/flags/1x1/jo.svg +16 -0
- package/src/assets/flags/1x1/jp.svg +11 -0
- package/src/assets/flags/1x1/ke.svg +23 -0
- package/src/assets/flags/1x1/kg.svg +15 -0
- package/src/assets/flags/1x1/kh.svg +61 -0
- package/src/assets/flags/1x1/ki.svg +36 -0
- package/src/assets/flags/1x1/km.svg +16 -0
- package/src/assets/flags/1x1/kn.svg +14 -0
- package/src/assets/flags/1x1/kp.svg +15 -0
- package/src/assets/flags/1x1/kr.svg +17 -0
- package/src/assets/flags/1x1/kw.svg +13 -0
- package/src/assets/flags/1x1/ky.svg +109 -0
- package/src/assets/flags/1x1/kz.svg +23 -0
- package/src/assets/flags/1x1/la.svg +12 -0
- package/src/assets/flags/1x1/lb.svg +15 -0
- package/src/assets/flags/1x1/lc.svg +8 -0
- package/src/assets/flags/1x1/li.svg +43 -0
- package/src/assets/flags/1x1/lk.svg +22 -0
- package/src/assets/flags/1x1/lr.svg +14 -0
- package/src/assets/flags/1x1/ls.svg +8 -0
- package/src/assets/flags/1x1/lt.svg +7 -0
- package/src/assets/flags/1x1/lu.svg +5 -0
- package/src/assets/flags/1x1/lv.svg +6 -0
- package/src/assets/flags/1x1/ly.svg +13 -0
- package/src/assets/flags/1x1/ma.svg +4 -0
- package/src/assets/flags/1x1/mc.svg +6 -0
- package/src/assets/flags/1x1/md.svg +71 -0
- package/src/assets/flags/1x1/me.svg +118 -0
- package/src/assets/flags/1x1/mf.svg +7 -0
- package/src/assets/flags/1x1/mg.svg +7 -0
- package/src/assets/flags/1x1/mh.svg +8 -0
- package/src/assets/flags/1x1/mk.svg +5 -0
- package/src/assets/flags/1x1/ml.svg +7 -0
- package/src/assets/flags/1x1/mm.svg +10 -0
- package/src/assets/flags/1x1/mn.svg +14 -0
- package/src/assets/flags/1x1/mo.svg +9 -0
- package/src/assets/flags/1x1/mp.svg +86 -0
- package/src/assets/flags/1x1/mq.svg +7 -0
- package/src/assets/flags/1x1/mr.svg +6 -0
- package/src/assets/flags/1x1/ms.svg +25 -0
- package/src/assets/flags/1x1/mt.svg +50 -0
- package/src/assets/flags/1x1/mu.svg +8 -0
- package/src/assets/flags/1x1/mv.svg +6 -0
- package/src/assets/flags/1x1/mw.svg +15 -0
- package/src/assets/flags/1x1/mx.svg +378 -0
- package/src/assets/flags/1x1/my.svg +7 -0
- package/src/assets/flags/1x1/mz.svg +21 -0
- package/src/assets/flags/1x1/na.svg +16 -0
- package/src/assets/flags/1x1/nc.svg +12 -0
- package/src/assets/flags/1x1/ne.svg +6 -0
- package/src/assets/flags/1x1/nf.svg +11 -0
- package/src/assets/flags/1x1/ng.svg +6 -0
- package/src/assets/flags/1x1/ni.svg +129 -0
- package/src/assets/flags/1x1/nl.svg +5 -0
- package/src/assets/flags/1x1/no.svg +7 -0
- package/src/assets/flags/1x1/np.svg +19 -0
- package/src/assets/flags/1x1/nr.svg +12 -0
- package/src/assets/flags/1x1/nu.svg +10 -0
- package/src/assets/flags/1x1/nz.svg +36 -0
- package/src/assets/flags/1x1/om.svg +115 -0
- package/src/assets/flags/1x1/pa.svg +13 -0
- package/src/assets/flags/1x1/pe.svg +244 -0
- package/src/assets/flags/1x1/pf.svg +18 -0
- package/src/assets/flags/1x1/pg.svg +16 -0
- package/src/assets/flags/1x1/ph.svg +8 -0
- package/src/assets/flags/1x1/pk.svg +15 -0
- package/src/assets/flags/1x1/pl.svg +6 -0
- package/src/assets/flags/1x1/pm.svg +7 -0
- package/src/assets/flags/1x1/pn.svg +53 -0
- package/src/assets/flags/1x1/pr.svg +13 -0
- package/src/assets/flags/1x1/ps.svg +15 -0
- package/src/assets/flags/1x1/pt.svg +57 -0
- package/src/assets/flags/1x1/pw.svg +11 -0
- package/src/assets/flags/1x1/py.svg +156 -0
- package/src/assets/flags/1x1/qa.svg +4 -0
- package/src/assets/flags/1x1/re.svg +7 -0
- package/src/assets/flags/1x1/ro.svg +7 -0
- package/src/assets/flags/1x1/rs.svg +296 -0
- package/src/assets/flags/1x1/ru.svg +7 -0
- package/src/assets/flags/1x1/rw.svg +13 -0
- package/src/assets/flags/1x1/sa.svg +26 -0
- package/src/assets/flags/1x1/sb.svg +13 -0
- package/src/assets/flags/1x1/sc.svg +7 -0
- package/src/assets/flags/1x1/sd.svg +13 -0
- package/src/assets/flags/1x1/se.svg +4 -0
- package/src/assets/flags/1x1/sg.svg +13 -0
- package/src/assets/flags/1x1/sh.svg +76 -0
- package/src/assets/flags/1x1/si.svg +18 -0
- package/src/assets/flags/1x1/sj.svg +7 -0
- package/src/assets/flags/1x1/sk.svg +9 -0
- package/src/assets/flags/1x1/sl.svg +12 -0
- package/src/assets/flags/1x1/sm.svg +73 -0
- package/src/assets/flags/1x1/sn.svg +8 -0
- package/src/assets/flags/1x1/so.svg +11 -0
- package/src/assets/flags/1x1/sr.svg +6 -0
- package/src/assets/flags/1x1/ss.svg +8 -0
- package/src/assets/flags/1x1/st.svg +16 -0
- package/src/assets/flags/1x1/sv.svg +594 -0
- package/src/assets/flags/1x1/sx.svg +56 -0
- package/src/assets/flags/1x1/sy.svg +6 -0
- package/src/assets/flags/1x1/sz.svg +34 -0
- package/src/assets/flags/1x1/ta.svg +76 -0
- package/src/assets/flags/1x1/tc.svg +50 -0
- package/src/assets/flags/1x1/td.svg +7 -0
- package/src/assets/flags/1x1/tf.svg +15 -0
- package/src/assets/flags/1x1/tg.svg +14 -0
- package/src/assets/flags/1x1/th.svg +7 -0
- package/src/assets/flags/1x1/tj.svg +26 -0
- package/src/assets/flags/1x1/tk.svg +5 -0
- package/src/assets/flags/1x1/tl.svg +13 -0
- package/src/assets/flags/1x1/tm.svg +202 -0
- package/src/assets/flags/1x1/tn.svg +13 -0
- package/src/assets/flags/1x1/to.svg +10 -0
- package/src/assets/flags/1x1/tr.svg +8 -0
- package/src/assets/flags/1x1/tt.svg +7 -0
- package/src/assets/flags/1x1/tv.svg +9 -0
- package/src/assets/flags/1x1/tw.svg +32 -0
- package/src/assets/flags/1x1/tz.svg +15 -0
- package/src/assets/flags/1x1/ua.svg +6 -0
- package/src/assets/flags/1x1/ug.svg +30 -0
- package/src/assets/flags/1x1/um.svg +15 -0
- package/src/assets/flags/1x1/un.svg +16 -0
- package/src/assets/flags/1x1/us.svg +10 -0
- package/src/assets/flags/1x1/uy.svg +28 -0
- package/src/assets/flags/1x1/uz.svg +30 -0
- package/src/assets/flags/1x1/va.svg +479 -0
- package/src/assets/flags/1x1/vc.svg +8 -0
- package/src/assets/flags/1x1/ve.svg +26 -0
- package/src/assets/flags/1x1/vg.svg +63 -0
- package/src/assets/flags/1x1/vi.svg +28 -0
- package/src/assets/flags/1x1/vn.svg +11 -0
- package/src/assets/flags/1x1/vu.svg +21 -0
- package/src/assets/flags/1x1/wf.svg +7 -0
- package/src/assets/flags/1x1/ws.svg +7 -0
- package/src/assets/flags/1x1/xk.svg +8 -0
- package/src/assets/flags/1x1/xx.svg +4 -0
- package/src/assets/flags/1x1/ye.svg +7 -0
- package/src/assets/flags/1x1/yt.svg +7 -0
- package/src/assets/flags/1x1/za.svg +17 -0
- package/src/assets/flags/1x1/zm.svg +27 -0
- package/src/assets/flags/1x1/zw.svg +21 -0
- package/src/assets/flags/4x3/ac.svg +76 -0
- package/src/assets/flags/4x3/ad.svg +150 -0
- package/src/assets/flags/4x3/ae.svg +6 -0
- package/src/assets/flags/4x3/af.svg +81 -0
- package/src/assets/flags/4x3/ag.svg +14 -0
- package/src/assets/flags/4x3/ai.svg +758 -0
- package/src/assets/flags/4x3/al.svg +5 -0
- package/src/assets/flags/4x3/am.svg +5 -0
- package/src/assets/flags/4x3/ao.svg +13 -0
- package/src/assets/flags/4x3/aq.svg +5 -0
- package/src/assets/flags/4x3/ar.svg +32 -0
- package/src/assets/flags/4x3/as.svg +72 -0
- package/src/assets/flags/4x3/at.svg +6 -0
- package/src/assets/flags/4x3/au.svg +8 -0
- package/src/assets/flags/4x3/aw.svg +186 -0
- package/src/assets/flags/4x3/ax.svg +18 -0
- package/src/assets/flags/4x3/az.svg +8 -0
- package/src/assets/flags/4x3/ba.svg +12 -0
- package/src/assets/flags/4x3/bb.svg +6 -0
- package/src/assets/flags/4x3/bd.svg +4 -0
- package/src/assets/flags/4x3/be.svg +7 -0
- package/src/assets/flags/4x3/bf.svg +7 -0
- package/src/assets/flags/4x3/bg.svg +7 -0
- package/src/assets/flags/4x3/bh.svg +4 -0
- package/src/assets/flags/4x3/bi.svg +15 -0
- package/src/assets/flags/4x3/bj.svg +14 -0
- package/src/assets/flags/4x3/bl.svg +7 -0
- package/src/assets/flags/4x3/bm.svg +97 -0
- package/src/assets/flags/4x3/bn.svg +36 -0
- package/src/assets/flags/4x3/bo.svg +676 -0
- package/src/assets/flags/4x3/bq.svg +5 -0
- package/src/assets/flags/4x3/br.svg +45 -0
- package/src/assets/flags/4x3/bs.svg +13 -0
- package/src/assets/flags/4x3/bt.svg +89 -0
- package/src/assets/flags/4x3/bv.svg +13 -0
- package/src/assets/flags/4x3/bw.svg +7 -0
- package/src/assets/flags/4x3/by.svg +20 -0
- package/src/assets/flags/4x3/bz.svg +145 -0
- package/src/assets/flags/4x3/ca.svg +4 -0
- package/src/assets/flags/4x3/cc.svg +19 -0
- package/src/assets/flags/4x3/cd.svg +5 -0
- package/src/assets/flags/4x3/cefta.svg +13 -0
- package/src/assets/flags/4x3/cf.svg +15 -0
- package/src/assets/flags/4x3/cg.svg +12 -0
- package/src/assets/flags/4x3/ch.svg +9 -0
- package/src/assets/flags/4x3/ci.svg +7 -0
- package/src/assets/flags/4x3/ck.svg +9 -0
- package/src/assets/flags/4x3/cl.svg +13 -0
- package/src/assets/flags/4x3/cm.svg +15 -0
- package/src/assets/flags/4x3/cn.svg +11 -0
- package/src/assets/flags/4x3/co.svg +7 -0
- package/src/assets/flags/4x3/cp.svg +7 -0
- package/src/assets/flags/4x3/cr.svg +7 -0
- package/src/assets/flags/4x3/cu.svg +13 -0
- package/src/assets/flags/4x3/cv.svg +13 -0
- package/src/assets/flags/4x3/cw.svg +14 -0
- package/src/assets/flags/4x3/cx.svg +15 -0
- package/src/assets/flags/4x3/cy.svg +6 -0
- package/src/assets/flags/4x3/cz.svg +5 -0
- package/src/assets/flags/4x3/de.svg +5 -0
- package/src/assets/flags/4x3/dg.svg +129 -0
- package/src/assets/flags/4x3/dj.svg +13 -0
- package/src/assets/flags/4x3/dk.svg +5 -0
- package/src/assets/flags/4x3/dm.svg +152 -0
- package/src/assets/flags/4x3/do.svg +6745 -0
- package/src/assets/flags/4x3/dz.svg +5 -0
- package/src/assets/flags/4x3/ea.svg +544 -0
- package/src/assets/flags/4x3/ec.svg +138 -0
- package/src/assets/flags/4x3/ee.svg +7 -0
- package/src/assets/flags/4x3/eg.svg +38 -0
- package/src/assets/flags/4x3/eh.svg +16 -0
- package/src/assets/flags/4x3/er.svg +8 -0
- package/src/assets/flags/4x3/es-ct.svg +4 -0
- package/src/assets/flags/4x3/es-ga.svg +187 -0
- package/src/assets/flags/4x3/es.svg +544 -0
- package/src/assets/flags/4x3/et.svg +14 -0
- package/src/assets/flags/4x3/eu.svg +28 -0
- package/src/assets/flags/4x3/fi.svg +5 -0
- package/src/assets/flags/4x3/fj.svg +120 -0
- package/src/assets/flags/4x3/fk.svg +90 -0
- package/src/assets/flags/4x3/fm.svg +11 -0
- package/src/assets/flags/4x3/fo.svg +12 -0
- package/src/assets/flags/4x3/fr.svg +7 -0
- package/src/assets/flags/4x3/ga.svg +7 -0
- package/src/assets/flags/4x3/gb-eng.svg +5 -0
- package/src/assets/flags/4x3/gb-nir.svg +132 -0
- package/src/assets/flags/4x3/gb-sct.svg +4 -0
- package/src/assets/flags/4x3/gb-wls.svg +9 -0
- package/src/assets/flags/4x3/gb.svg +7 -0
- package/src/assets/flags/4x3/gd.svg +27 -0
- package/src/assets/flags/4x3/ge.svg +6 -0
- package/src/assets/flags/4x3/gf.svg +7 -0
- package/src/assets/flags/4x3/gg.svg +9 -0
- package/src/assets/flags/4x3/gh.svg +6 -0
- package/src/assets/flags/4x3/gi.svg +32 -0
- package/src/assets/flags/4x3/gl.svg +4 -0
- package/src/assets/flags/4x3/gm.svg +14 -0
- package/src/assets/flags/4x3/gn.svg +7 -0
- package/src/assets/flags/4x3/gp.svg +7 -0
- package/src/assets/flags/4x3/gq.svg +23 -0
- package/src/assets/flags/4x3/gr.svg +16 -0
- package/src/assets/flags/4x3/gs.svg +133 -0
- package/src/assets/flags/4x3/gt.svg +220 -0
- package/src/assets/flags/4x3/gu.svg +23 -0
- package/src/assets/flags/4x3/gw.svg +13 -0
- package/src/assets/flags/4x3/gy.svg +9 -0
- package/src/assets/flags/4x3/hk.svg +30 -0
- package/src/assets/flags/4x3/hm.svg +8 -0
- package/src/assets/flags/4x3/hn.svg +18 -0
- package/src/assets/flags/4x3/hr.svg +58 -0
- package/src/assets/flags/4x3/ht.svg +116 -0
- package/src/assets/flags/4x3/hu.svg +7 -0
- package/src/assets/flags/4x3/ic.svg +7 -0
- package/src/assets/flags/4x3/id.svg +4 -0
- package/src/assets/flags/4x3/ie.svg +7 -0
- package/src/assets/flags/4x3/il.svg +14 -0
- package/src/assets/flags/4x3/im.svg +36 -0
- package/src/assets/flags/4x3/in.svg +25 -0
- package/src/assets/flags/4x3/io.svg +129 -0
- package/src/assets/flags/4x3/iq.svg +10 -0
- package/src/assets/flags/4x3/ir.svg +219 -0
- package/src/assets/flags/4x3/is.svg +12 -0
- package/src/assets/flags/4x3/it.svg +7 -0
- package/src/assets/flags/4x3/je.svg +45 -0
- package/src/assets/flags/4x3/jm.svg +8 -0
- package/src/assets/flags/4x3/jo.svg +16 -0
- package/src/assets/flags/4x3/jp.svg +11 -0
- package/src/assets/flags/4x3/ke.svg +23 -0
- package/src/assets/flags/4x3/kg.svg +15 -0
- package/src/assets/flags/4x3/kh.svg +61 -0
- package/src/assets/flags/4x3/ki.svg +36 -0
- package/src/assets/flags/4x3/km.svg +16 -0
- package/src/assets/flags/4x3/kn.svg +14 -0
- package/src/assets/flags/4x3/kp.svg +15 -0
- package/src/assets/flags/4x3/kr.svg +24 -0
- package/src/assets/flags/4x3/kw.svg +13 -0
- package/src/assets/flags/4x3/ky.svg +109 -0
- package/src/assets/flags/4x3/kz.svg +23 -0
- package/src/assets/flags/4x3/la.svg +12 -0
- package/src/assets/flags/4x3/lb.svg +15 -0
- package/src/assets/flags/4x3/lc.svg +8 -0
- package/src/assets/flags/4x3/li.svg +43 -0
- package/src/assets/flags/4x3/lk.svg +22 -0
- package/src/assets/flags/4x3/lr.svg +14 -0
- package/src/assets/flags/4x3/ls.svg +8 -0
- package/src/assets/flags/4x3/lt.svg +7 -0
- package/src/assets/flags/4x3/lu.svg +5 -0
- package/src/assets/flags/4x3/lv.svg +6 -0
- package/src/assets/flags/4x3/ly.svg +13 -0
- package/src/assets/flags/4x3/ma.svg +4 -0
- package/src/assets/flags/4x3/mc.svg +6 -0
- package/src/assets/flags/4x3/md.svg +70 -0
- package/src/assets/flags/4x3/me.svg +116 -0
- package/src/assets/flags/4x3/mf.svg +7 -0
- package/src/assets/flags/4x3/mg.svg +7 -0
- package/src/assets/flags/4x3/mh.svg +7 -0
- package/src/assets/flags/4x3/mk.svg +5 -0
- package/src/assets/flags/4x3/ml.svg +7 -0
- package/src/assets/flags/4x3/mm.svg +12 -0
- package/src/assets/flags/4x3/mn.svg +14 -0
- package/src/assets/flags/4x3/mo.svg +9 -0
- package/src/assets/flags/4x3/mp.svg +86 -0
- package/src/assets/flags/4x3/mq.svg +7 -0
- package/src/assets/flags/4x3/mr.svg +6 -0
- package/src/assets/flags/4x3/ms.svg +33 -0
- package/src/assets/flags/4x3/mt.svg +49 -0
- package/src/assets/flags/4x3/mu.svg +8 -0
- package/src/assets/flags/4x3/mv.svg +6 -0
- package/src/assets/flags/4x3/mw.svg +10 -0
- package/src/assets/flags/4x3/mx.svg +382 -0
- package/src/assets/flags/4x3/my.svg +7 -0
- package/src/assets/flags/4x3/mz.svg +21 -0
- package/src/assets/flags/4x3/na.svg +16 -0
- package/src/assets/flags/4x3/nc.svg +13 -0
- package/src/assets/flags/4x3/ne.svg +6 -0
- package/src/assets/flags/4x3/nf.svg +9 -0
- package/src/assets/flags/4x3/ng.svg +6 -0
- package/src/assets/flags/4x3/ni.svg +129 -0
- package/src/assets/flags/4x3/nl.svg +5 -0
- package/src/assets/flags/4x3/no.svg +7 -0
- package/src/assets/flags/4x3/np.svg +14 -0
- package/src/assets/flags/4x3/nr.svg +12 -0
- package/src/assets/flags/4x3/nu.svg +10 -0
- package/src/assets/flags/4x3/nz.svg +36 -0
- package/src/assets/flags/4x3/om.svg +115 -0
- package/src/assets/flags/4x3/pa.svg +14 -0
- package/src/assets/flags/4x3/pe.svg +244 -0
- package/src/assets/flags/4x3/pf.svg +19 -0
- package/src/assets/flags/4x3/pg.svg +9 -0
- package/src/assets/flags/4x3/ph.svg +6 -0
- package/src/assets/flags/4x3/pk.svg +15 -0
- package/src/assets/flags/4x3/pl.svg +6 -0
- package/src/assets/flags/4x3/pm.svg +7 -0
- package/src/assets/flags/4x3/pn.svg +53 -0
- package/src/assets/flags/4x3/pr.svg +13 -0
- package/src/assets/flags/4x3/ps.svg +15 -0
- package/src/assets/flags/4x3/pt.svg +57 -0
- package/src/assets/flags/4x3/pw.svg +11 -0
- package/src/assets/flags/4x3/py.svg +157 -0
- package/src/assets/flags/4x3/qa.svg +4 -0
- package/src/assets/flags/4x3/re.svg +7 -0
- package/src/assets/flags/4x3/ro.svg +7 -0
- package/src/assets/flags/4x3/rs.svg +292 -0
- package/src/assets/flags/4x3/ru.svg +7 -0
- package/src/assets/flags/4x3/rw.svg +13 -0
- package/src/assets/flags/4x3/sa.svg +26 -0
- package/src/assets/flags/4x3/sb.svg +13 -0
- package/src/assets/flags/4x3/sc.svg +7 -0
- package/src/assets/flags/4x3/sd.svg +13 -0
- package/src/assets/flags/4x3/se.svg +4 -0
- package/src/assets/flags/4x3/sg.svg +13 -0
- package/src/assets/flags/4x3/sh.svg +76 -0
- package/src/assets/flags/4x3/si.svg +18 -0
- package/src/assets/flags/4x3/sj.svg +7 -0
- package/src/assets/flags/4x3/sk.svg +9 -0
- package/src/assets/flags/4x3/sl.svg +7 -0
- package/src/assets/flags/4x3/sm.svg +75 -0
- package/src/assets/flags/4x3/sn.svg +8 -0
- package/src/assets/flags/4x3/so.svg +11 -0
- package/src/assets/flags/4x3/sr.svg +6 -0
- package/src/assets/flags/4x3/ss.svg +8 -0
- package/src/assets/flags/4x3/st.svg +16 -0
- package/src/assets/flags/4x3/sv.svg +594 -0
- package/src/assets/flags/4x3/sx.svg +56 -0
- package/src/assets/flags/4x3/sy.svg +6 -0
- package/src/assets/flags/4x3/sz.svg +34 -0
- package/src/assets/flags/4x3/ta.svg +76 -0
- package/src/assets/flags/4x3/tc.svg +50 -0
- package/src/assets/flags/4x3/td.svg +7 -0
- package/src/assets/flags/4x3/tf.svg +15 -0
- package/src/assets/flags/4x3/tg.svg +14 -0
- package/src/assets/flags/4x3/th.svg +7 -0
- package/src/assets/flags/4x3/tj.svg +22 -0
- package/src/assets/flags/4x3/tk.svg +5 -0
- package/src/assets/flags/4x3/tl.svg +13 -0
- package/src/assets/flags/4x3/tm.svg +205 -0
- package/src/assets/flags/4x3/tn.svg +13 -0
- package/src/assets/flags/4x3/to.svg +10 -0
- package/src/assets/flags/4x3/tr.svg +8 -0
- package/src/assets/flags/4x3/tt.svg +5 -0
- package/src/assets/flags/4x3/tv.svg +9 -0
- package/src/assets/flags/4x3/tw.svg +34 -0
- package/src/assets/flags/4x3/tz.svg +13 -0
- package/src/assets/flags/4x3/ua.svg +6 -0
- package/src/assets/flags/4x3/ug.svg +30 -0
- package/src/assets/flags/4x3/um.svg +15 -0
- package/src/assets/flags/4x3/un.svg +16 -0
- package/src/assets/flags/4x3/us.svg +10 -0
- package/src/assets/flags/4x3/uy.svg +28 -0
- package/src/assets/flags/4x3/uz.svg +30 -0
- package/src/assets/flags/4x3/va.svg +479 -0
- package/src/assets/flags/4x3/vc.svg +8 -0
- package/src/assets/flags/4x3/ve.svg +26 -0
- package/src/assets/flags/4x3/vg.svg +63 -0
- package/src/assets/flags/4x3/vi.svg +28 -0
- package/src/assets/flags/4x3/vn.svg +11 -0
- package/src/assets/flags/4x3/vu.svg +21 -0
- package/src/assets/flags/4x3/wf.svg +7 -0
- package/src/assets/flags/4x3/ws.svg +7 -0
- package/src/assets/flags/4x3/xk.svg +8 -0
- package/src/assets/flags/4x3/xx.svg +4 -0
- package/src/assets/flags/4x3/ye.svg +7 -0
- package/src/assets/flags/4x3/yt.svg +7 -0
- package/src/assets/flags/4x3/za.svg +17 -0
- package/src/assets/flags/4x3/zm.svg +27 -0
- package/src/assets/flags/4x3/zw.svg +21 -0
- package/src/environments/environment.prod.ts +3 -0
- package/src/environments/environment.ts +16 -0
- package/src/favicon.ico +0 -0
- package/src/index.html +23 -0
- package/src/main.ts +12 -0
- package/src/polyfills.ts +53 -0
- package/src/styles.scss +39 -0
- package/src/test.ts +14 -0
- package/src/webgl/WebGLQuery.min.js +6 -0
- package/src/webgl/WebGLViewerLight.min.js +89 -0
- package/src/webgl/gl-matrix.min.js +47 -0
- package/tsconfig.app.json +15 -0
- package/tsconfig.json +34 -0
- package/tsconfig.spec.json +18 -0
- package/esm2020/fabrikantencore.mjs +0 -5
- package/esm2020/public_api.mjs +0 -13
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-categories/beheer-categories.component.mjs +0 -56
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-connect-category-dialog/beheer-connect-category-dialog.component.mjs +0 -77
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-deeplink/beheer-deeplink.component.mjs +0 -43
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-display-ebo/beheer-display-ebo.component.mjs +0 -28
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-ebo-koppel/beheer-ebo-koppel/beheer-ebo-koppel.component.mjs +0 -133
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-filter/beheer-filter.component.mjs +0 -218
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-filters/beheer-filters.component.mjs +0 -120
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets-dialog/beheer-import-sets-dialog.component.mjs +0 -56
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets-ebo/beheer-import-sets-ebo.component.mjs +0 -90
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets-eigenschap/beheer-import-sets-eigenschap.component.mjs +0 -30
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets.component.mjs +0 -74
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-inlog/beheer-inlog.component.mjs +0 -44
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-main/beheer-main.component.mjs +0 -16
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-nav/beheer-nav.component.mjs +0 -47
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-bcbproduct/beheer-products-bcbproduct.component.mjs +0 -56
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-connect-rangeinput/beheer-products-connect-rangeinput.component.mjs +0 -106
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-ebo/beheer-products-ebo.component.mjs +0 -169
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-eigenschap/beheer-products-eigenschap.component.mjs +0 -199
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-eigenschap-bereik/beheer-products-eigenschap-bereik.component.mjs +0 -16
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-koppel-filteroption-dailog/beheer-products-koppel-filteroption-dailog.component.mjs +0 -157
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-product/beheer-products-product.component.mjs +0 -28
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products.component.mjs +0 -153
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-rangeinput/beheer-rangeinput.component.mjs +0 -87
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-searchproducts/beheer-searchproducts-koppel-dialog/beheer-searchproducts-koppel-dialog.component.mjs +0 -89
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-searchproducts/beheer-searchproducts.component.mjs +0 -299
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-select-filter-dialog/beheer-select-filter-dialog.component.mjs +0 -102
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-select-filteroption-dialog/beheer-select-filteroption-dialog.component.mjs +0 -76
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-settings/beheer-settings-boolean/beheer-settings-boolean.component.mjs +0 -40
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-settings/beheer-settings-options/beheer-settings-options.component.mjs +0 -24
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-settings/beheer-settings-string/beheer-settings-string.component.mjs +0 -24
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-settings/beheer-settings.component.mjs +0 -27
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-translate/beheer-translate.component.mjs +0 -114
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-users/beheer-users.component.mjs +0 -15
- package/esm2020/src/app/modules/fabrikantencore/components/fab-actionmenu/fab-actionmenu.component.mjs +0 -137
- package/esm2020/src/app/modules/fabrikantencore/components/fab-bcb-product/fab-bcb-product.component.mjs +0 -14
- package/esm2020/src/app/modules/fabrikantencore/components/fab-breadcrumb/fab-breadcrumb.component.mjs +0 -73
- package/esm2020/src/app/modules/fabrikantencore/components/fab-categories/fab-categories.component.mjs +0 -31
- package/esm2020/src/app/modules/fabrikantencore/components/fab-category-navigator/fab-category-navigator.component.mjs +0 -61
- package/esm2020/src/app/modules/fabrikantencore/components/fab-category-tile/fab-category-tile.component.mjs +0 -42
- package/esm2020/src/app/modules/fabrikantencore/components/fab-filter/fab-filter.component.mjs +0 -121
- package/esm2020/src/app/modules/fabrikantencore/components/fab-filter-colour/fab-filter-colour-dialog/fab-filter-colour-dialog.component.mjs +0 -293
- package/esm2020/src/app/modules/fabrikantencore/components/fab-filter-colour/fab-filter-colour.component.mjs +0 -50
- package/esm2020/src/app/modules/fabrikantencore/components/fab-filter-colour-label/fab-filter-colour-label.component.mjs +0 -50
- package/esm2020/src/app/modules/fabrikantencore/components/fab-filter-fold/fab-filter-fold.component.mjs +0 -81
- package/esm2020/src/app/modules/fabrikantencore/components/fab-filter-label/fab-filter-label.component.mjs +0 -121
- package/esm2020/src/app/modules/fabrikantencore/components/fab-filters/fab-filters.component.mjs +0 -38
- package/esm2020/src/app/modules/fabrikantencore/components/fab-filters-input/fab-filters-input.component.mjs +0 -48
- package/esm2020/src/app/modules/fabrikantencore/components/fab-filters-overview/fab-filters-overview.component.mjs +0 -32
- package/esm2020/src/app/modules/fabrikantencore/components/fab-flag/fab-flag.component.mjs +0 -16
- package/esm2020/src/app/modules/fabrikantencore/components/fab-header/fab-header.component.mjs +0 -57
- package/esm2020/src/app/modules/fabrikantencore/components/fab-iframe/fab-iframe.component.mjs +0 -29
- package/esm2020/src/app/modules/fabrikantencore/components/fab-input/fab-input.component.mjs +0 -29
- package/esm2020/src/app/modules/fabrikantencore/components/fab-language-select/fab-language-select.component.mjs +0 -23
- package/esm2020/src/app/modules/fabrikantencore/components/fab-loader/fab-loader.component.mjs +0 -15
- package/esm2020/src/app/modules/fabrikantencore/components/fab-multiselect/fab-multiselect.component.mjs +0 -41
- package/esm2020/src/app/modules/fabrikantencore/components/fab-multiselect-fold/fab-multiselect-fold.component.mjs +0 -33
- package/esm2020/src/app/modules/fabrikantencore/components/fab-product/fab-product-bestek/fab-product-bestek.component.mjs +0 -46
- package/esm2020/src/app/modules/fabrikantencore/components/fab-product/fab-product-info/fab-product-info-photo/fab-product-info-photo.component.mjs +0 -32
- package/esm2020/src/app/modules/fabrikantencore/components/fab-product/fab-product-info/fab-product-info-photo-dialog/fab-product-info-photo-dialog.component.mjs +0 -21
- package/esm2020/src/app/modules/fabrikantencore/components/fab-product/fab-product-info/fab-product-info.component.mjs +0 -41
- package/esm2020/src/app/modules/fabrikantencore/components/fab-product/fab-product.component.mjs +0 -99
- package/esm2020/src/app/modules/fabrikantencore/components/fab-product/fab-toebehoren/fab-toebehoren.component.mjs +0 -86
- package/esm2020/src/app/modules/fabrikantencore/components/fab-product-select/fab-product-select.component.mjs +0 -63
- package/esm2020/src/app/modules/fabrikantencore/components/fab-product-tile/fab-product-tile.component.mjs +0 -46
- package/esm2020/src/app/modules/fabrikantencore/components/fab-range-input/fab-range-input.component.mjs +0 -85
- package/esm2020/src/app/modules/fabrikantencore/components/fab-range-input-fold/fab-range-input-fold.component.mjs +0 -33
- package/esm2020/src/app/modules/fabrikantencore/components/fab-select-bcbproduct/fab-select-bcbproduct.component.mjs +0 -19
- package/esm2020/src/app/modules/fabrikantencore/components/fab-start/fab-start.component.mjs +0 -27
- package/esm2020/src/app/modules/fabrikantencore/components/fab-svg-viewer/fab-svg-viewer.component.mjs +0 -69
- package/esm2020/src/app/modules/fabrikantencore/components/fab-texture/fab-texture.component.mjs +0 -35
- package/esm2020/src/app/modules/fabrikantencore/components/fab-webgl-viewer/fab-webgl-viewer.component.mjs +0 -89
- package/esm2020/src/app/modules/fabrikantencore/fabrikantencore.module.mjs +0 -464
- package/esm2020/src/app/modules/fabrikantencore/helpers/auth.guard.mjs +0 -29
- package/esm2020/src/app/modules/fabrikantencore/helpers/basic-auth.interceptor.mjs +0 -26
- package/esm2020/src/app/modules/fabrikantencore/helpers/error.interceptor.mjs +0 -27
- package/esm2020/src/app/modules/fabrikantencore/services/authentication.service.mjs +0 -47
- package/esm2020/src/app/modules/fabrikantencore/services/bestek.service.mjs +0 -91
- package/esm2020/src/app/modules/fabrikantencore/services/fabrikanten.service.mjs +0 -1018
- package/esm2020/src/app/modules/fabrikantencore/services/importsets.service.mjs +0 -135
- package/esm2020/src/app/modules/fabrikantencore/services/mobile.service.mjs +0 -47
- package/esm2020/src/app/modules/fabrikantencore/services/navigate.service.mjs +0 -39
- package/esm2020/src/app/modules/fabrikantencore/services/photo.service.mjs +0 -98
- package/esm2020/src/app/modules/fabrikantencore/services/products.service.mjs +0 -235
- package/esm2020/src/app/modules/fabrikantencore/services/projectsetting.service.mjs +0 -84
- package/esm2020/src/app/modules/fabrikantencore/services/statistics.service.mjs +0 -82
- package/esm2020/src/app/modules/fabrikantencore/services/svg.service.mjs +0 -73
- package/esm2020/src/app/modules/fabrikantencore/services/texture.service.mjs +0 -33
- package/esm2020/src/app/modules/fabrikantencore/services/toebehoren.service.mjs +0 -58
- package/esm2020/src/app/modules/fabrikantencore/services/translate.service.mjs +0 -322
- package/esm2020/src/app/modules/fabrikantencore/services/webgl.service.mjs +0 -66
- package/esm2020/src/app/modules/fabrikantencore/swagger/SwaggerClient.mjs +0 -10234
- package/fesm2015/fabrikantencore.mjs +0 -17511
- package/fesm2015/fabrikantencore.mjs.map +0 -1
- package/fesm2020/fabrikantencore.mjs +0 -17393
- package/fesm2020/fabrikantencore.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/public_api.d.ts +0 -12
- package/src/app/modules/fabrikantencore/beheer/components/beheer-categories/beheer-categories.component.d.ts +0 -14
- package/src/app/modules/fabrikantencore/beheer/components/beheer-connect-category-dialog/beheer-connect-category-dialog.component.d.ts +0 -22
- package/src/app/modules/fabrikantencore/beheer/components/beheer-deeplink/beheer-deeplink.component.d.ts +0 -16
- package/src/app/modules/fabrikantencore/beheer/components/beheer-display-ebo/beheer-display-ebo.component.d.ts +0 -11
- package/src/app/modules/fabrikantencore/beheer/components/beheer-ebo-koppel/beheer-ebo-koppel/beheer-ebo-koppel.component.d.ts +0 -23
- package/src/app/modules/fabrikantencore/beheer/components/beheer-filter/beheer-filter.component.d.ts +0 -28
- package/src/app/modules/fabrikantencore/beheer/components/beheer-filters/beheer-filters.component.d.ts +0 -24
- package/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets-dialog/beheer-import-sets-dialog.component.d.ts +0 -20
- package/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets-ebo/beheer-import-sets-ebo.component.d.ts +0 -29
- package/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets-eigenschap/beheer-import-sets-eigenschap.component.d.ts +0 -14
- package/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets.component.d.ts +0 -23
- package/src/app/modules/fabrikantencore/beheer/components/beheer-inlog/beheer-inlog.component.d.ts +0 -21
- package/src/app/modules/fabrikantencore/beheer/components/beheer-main/beheer-main.component.d.ts +0 -8
- package/src/app/modules/fabrikantencore/beheer/components/beheer-nav/beheer-nav.component.d.ts +0 -19
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-bcbproduct/beheer-products-bcbproduct.component.d.ts +0 -17
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-connect-rangeinput/beheer-products-connect-rangeinput.component.d.ts +0 -32
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-ebo/beheer-products-ebo.component.d.ts +0 -34
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-eigenschap/beheer-products-eigenschap.component.d.ts +0 -28
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-eigenschap-bereik/beheer-products-eigenschap-bereik.component.d.ts +0 -10
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-koppel-filteroption-dailog/beheer-products-koppel-filteroption-dailog.component.d.ts +0 -35
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-product/beheer-products-product.component.d.ts +0 -14
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products.component.d.ts +0 -27
- package/src/app/modules/fabrikantencore/beheer/components/beheer-rangeinput/beheer-rangeinput.component.d.ts +0 -17
- package/src/app/modules/fabrikantencore/beheer/components/beheer-searchproducts/beheer-searchproducts-koppel-dialog/beheer-searchproducts-koppel-dialog.component.d.ts +0 -23
- package/src/app/modules/fabrikantencore/beheer/components/beheer-searchproducts/beheer-searchproducts.component.d.ts +0 -41
- package/src/app/modules/fabrikantencore/beheer/components/beheer-select-filter-dialog/beheer-select-filter-dialog.component.d.ts +0 -28
- package/src/app/modules/fabrikantencore/beheer/components/beheer-select-filteroption-dialog/beheer-select-filteroption-dialog.component.d.ts +0 -23
- package/src/app/modules/fabrikantencore/beheer/components/beheer-settings/beheer-settings-boolean/beheer-settings-boolean.component.d.ts +0 -14
- package/src/app/modules/fabrikantencore/beheer/components/beheer-settings/beheer-settings-options/beheer-settings-options.component.d.ts +0 -12
- package/src/app/modules/fabrikantencore/beheer/components/beheer-settings/beheer-settings-string/beheer-settings-string.component.d.ts +0 -12
- package/src/app/modules/fabrikantencore/beheer/components/beheer-settings/beheer-settings.component.d.ts +0 -11
- package/src/app/modules/fabrikantencore/beheer/components/beheer-translate/beheer-translate.component.d.ts +0 -21
- package/src/app/modules/fabrikantencore/beheer/components/beheer-users/beheer-users.component.d.ts +0 -8
- package/src/app/modules/fabrikantencore/components/fab-actionmenu/fab-actionmenu.component.d.ts +0 -48
- package/src/app/modules/fabrikantencore/components/fab-bcb-product/fab-bcb-product.component.d.ts +0 -8
- package/src/app/modules/fabrikantencore/components/fab-breadcrumb/fab-breadcrumb.component.d.ts +0 -22
- package/src/app/modules/fabrikantencore/components/fab-categories/fab-categories.component.d.ts +0 -15
- package/src/app/modules/fabrikantencore/components/fab-category-navigator/fab-category-navigator.component.d.ts +0 -21
- package/src/app/modules/fabrikantencore/components/fab-category-tile/fab-category-tile.component.d.ts +0 -20
- package/src/app/modules/fabrikantencore/components/fab-filter/fab-filter.component.d.ts +0 -26
- package/src/app/modules/fabrikantencore/components/fab-filter-colour/fab-filter-colour-dialog/fab-filter-colour-dialog.component.d.ts +0 -36
- package/src/app/modules/fabrikantencore/components/fab-filter-colour/fab-filter-colour.component.d.ts +0 -20
- package/src/app/modules/fabrikantencore/components/fab-filter-colour-label/fab-filter-colour-label.component.d.ts +0 -20
- package/src/app/modules/fabrikantencore/components/fab-filter-fold/fab-filter-fold.component.d.ts +0 -26
- package/src/app/modules/fabrikantencore/components/fab-filter-label/fab-filter-label.component.d.ts +0 -26
- package/src/app/modules/fabrikantencore/components/fab-filters/fab-filters.component.d.ts +0 -21
- package/src/app/modules/fabrikantencore/components/fab-filters-input/fab-filters-input.component.d.ts +0 -16
- package/src/app/modules/fabrikantencore/components/fab-filters-overview/fab-filters-overview.component.d.ts +0 -12
- package/src/app/modules/fabrikantencore/components/fab-flag/fab-flag.component.d.ts +0 -9
- package/src/app/modules/fabrikantencore/components/fab-header/fab-header.component.d.ts +0 -20
- package/src/app/modules/fabrikantencore/components/fab-iframe/fab-iframe.component.d.ts +0 -12
- package/src/app/modules/fabrikantencore/components/fab-input/fab-input.component.d.ts +0 -9
- package/src/app/modules/fabrikantencore/components/fab-language-select/fab-language-select.component.d.ts +0 -13
- package/src/app/modules/fabrikantencore/components/fab-loader/fab-loader.component.d.ts +0 -8
- package/src/app/modules/fabrikantencore/components/fab-multiselect/fab-multiselect.component.d.ts +0 -18
- package/src/app/modules/fabrikantencore/components/fab-multiselect-fold/fab-multiselect-fold.component.d.ts +0 -18
- package/src/app/modules/fabrikantencore/components/fab-product/fab-product-bestek/fab-product-bestek.component.d.ts +0 -23
- package/src/app/modules/fabrikantencore/components/fab-product/fab-product-info/fab-product-info-photo/fab-product-info-photo.component.d.ts +0 -15
- package/src/app/modules/fabrikantencore/components/fab-product/fab-product-info/fab-product-info-photo-dialog/fab-product-info-photo-dialog.component.d.ts +0 -12
- package/src/app/modules/fabrikantencore/components/fab-product/fab-product-info/fab-product-info.component.d.ts +0 -17
- package/src/app/modules/fabrikantencore/components/fab-product/fab-product.component.d.ts +0 -33
- package/src/app/modules/fabrikantencore/components/fab-product/fab-toebehoren/fab-toebehoren.component.d.ts +0 -25
- package/src/app/modules/fabrikantencore/components/fab-product-select/fab-product-select.component.d.ts +0 -25
- package/src/app/modules/fabrikantencore/components/fab-product-tile/fab-product-tile.component.d.ts +0 -22
- package/src/app/modules/fabrikantencore/components/fab-range-input/fab-range-input.component.d.ts +0 -23
- package/src/app/modules/fabrikantencore/components/fab-range-input-fold/fab-range-input-fold.component.d.ts +0 -18
- package/src/app/modules/fabrikantencore/components/fab-select-bcbproduct/fab-select-bcbproduct.component.d.ts +0 -12
- package/src/app/modules/fabrikantencore/components/fab-start/fab-start.component.d.ts +0 -15
- package/src/app/modules/fabrikantencore/components/fab-svg-viewer/fab-svg-viewer.component.d.ts +0 -27
- package/src/app/modules/fabrikantencore/components/fab-texture/fab-texture.component.d.ts +0 -17
- package/src/app/modules/fabrikantencore/components/fab-webgl-viewer/fab-webgl-viewer.component.d.ts +0 -25
- package/src/app/modules/fabrikantencore/fabrikantencore.module.d.ts +0 -103
- package/src/app/modules/fabrikantencore/helpers/auth.guard.d.ts +0 -11
- package/src/app/modules/fabrikantencore/helpers/basic-auth.interceptor.d.ts +0 -11
- package/src/app/modules/fabrikantencore/helpers/error.interceptor.d.ts +0 -11
- package/src/app/modules/fabrikantencore/services/authentication.service.d.ts +0 -16
- package/src/app/modules/fabrikantencore/services/bestek.service.d.ts +0 -20
- package/src/app/modules/fabrikantencore/services/fabrikanten.service.d.ts +0 -97
- package/src/app/modules/fabrikantencore/services/importsets.service.d.ts +0 -29
- package/src/app/modules/fabrikantencore/services/mobile.service.d.ts +0 -19
- package/src/app/modules/fabrikantencore/services/navigate.service.d.ts +0 -15
- package/src/app/modules/fabrikantencore/services/photo.service.d.ts +0 -20
- package/src/app/modules/fabrikantencore/services/products.service.d.ts +0 -30
- package/src/app/modules/fabrikantencore/services/projectsetting.service.d.ts +0 -18
- package/src/app/modules/fabrikantencore/services/statistics.service.d.ts +0 -17
- package/src/app/modules/fabrikantencore/services/svg.service.d.ts +0 -22
- package/src/app/modules/fabrikantencore/services/texture.service.d.ts +0 -12
- package/src/app/modules/fabrikantencore/services/toebehoren.service.d.ts +0 -18
- package/src/app/modules/fabrikantencore/services/translate.service.d.ts +0 -51
- package/src/app/modules/fabrikantencore/services/webgl.service.d.ts +0 -21
- package/src/app/modules/fabrikantencore/swagger/SwaggerClient.d.ts +0 -2755
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
import { Component, Inject } from '@angular/core';
|
|
2
|
-
import { MAT_DIALOG_DATA } from '@angular/material/dialog';
|
|
3
|
-
import { CreateFilterOptionRequest, CreateFilterRequest, ConnectEigenschapOptieRequest } from '../../../../swagger/SwaggerClient';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@angular/material/dialog";
|
|
6
|
-
import * as i2 from "../../../../swagger/SwaggerClient";
|
|
7
|
-
import * as i3 from "../../../../services/products.service";
|
|
8
|
-
import * as i4 from "@angular/common";
|
|
9
|
-
import * as i5 from "@angular/material/form-field";
|
|
10
|
-
import * as i6 from "@angular/material/input";
|
|
11
|
-
import * as i7 from "@angular/forms";
|
|
12
|
-
import * as i8 from "@angular/material/button";
|
|
13
|
-
import * as i9 from "@angular/material/tabs";
|
|
14
|
-
import * as i10 from "@angular/material/select";
|
|
15
|
-
import * as i11 from "@angular/material/core";
|
|
16
|
-
import * as i12 from "../../../../components/fab-loader/fab-loader.component";
|
|
17
|
-
export class BeheerProductsKoppelFilteroptionDailogComponent {
|
|
18
|
-
constructor(dialogRef, data, FiltersApiClient, ProductsApiClient, ProductsService) {
|
|
19
|
-
this.dialogRef = dialogRef;
|
|
20
|
-
this.data = data;
|
|
21
|
-
this.FiltersApiClient = FiltersApiClient;
|
|
22
|
-
this.ProductsApiClient = ProductsApiClient;
|
|
23
|
-
this.ProductsService = ProductsService;
|
|
24
|
-
this.FilterNaamNieuw = "";
|
|
25
|
-
this.FilterOptionNaamNieuw = "";
|
|
26
|
-
this.LoadingFilters = true;
|
|
27
|
-
this.LoadingOpties = true;
|
|
28
|
-
this.BCBEigenschapOptieId = data.bcbeigenschapoptieid;
|
|
29
|
-
this.Location = data.location;
|
|
30
|
-
this.FilterNaamNieuw = data.suggestedfilter;
|
|
31
|
-
this.FilterOptionNaamNieuw = data.suggestedoption;
|
|
32
|
-
}
|
|
33
|
-
ngOnInit() {
|
|
34
|
-
this.LoadFilters();
|
|
35
|
-
//this.LoadOpties();
|
|
36
|
-
}
|
|
37
|
-
handleKeyUpFilter(e) {
|
|
38
|
-
if (e.keyCode === 13) {
|
|
39
|
-
this.NieuwFilterToevoegen();
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
handleKeyUpFilterOption(e) {
|
|
43
|
-
if (e.keyCode === 13) {
|
|
44
|
-
this.NieuwFilterOptionToevoegen();
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
NieuwFilterToevoegen() {
|
|
48
|
-
this.LoadingFilters = true;
|
|
49
|
-
var requestfilter = new CreateFilterRequest();
|
|
50
|
-
requestfilter.name = this.FilterNaamNieuw;
|
|
51
|
-
this.FiltersApiClient.createFilter(requestfilter).subscribe((model) => {
|
|
52
|
-
this.LoadingFilters = false;
|
|
53
|
-
var requestfilteroption = new CreateFilterOptionRequest();
|
|
54
|
-
requestfilteroption.filterId = model.id;
|
|
55
|
-
requestfilteroption.name = this.FilterOptionNaamNieuw;
|
|
56
|
-
this.FiltersApiClient.createFilterOption(requestfilteroption).subscribe((model) => {
|
|
57
|
-
this.LoadingFilters = false;
|
|
58
|
-
this.dialogRef.close({ filter: null, filteroption: model.id });
|
|
59
|
-
}, (error) => {
|
|
60
|
-
if (error.status == 400)
|
|
61
|
-
console.log(error.json());
|
|
62
|
-
else {
|
|
63
|
-
console.log('An unexpected error occured');
|
|
64
|
-
console.log(error);
|
|
65
|
-
}
|
|
66
|
-
this.LoadingFilters = false;
|
|
67
|
-
});
|
|
68
|
-
}, (error) => {
|
|
69
|
-
if (error.status == 400)
|
|
70
|
-
console.log(error.json());
|
|
71
|
-
else {
|
|
72
|
-
console.log('An unexpected error occured');
|
|
73
|
-
console.log(error);
|
|
74
|
-
}
|
|
75
|
-
this.LoadingFilters = false;
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
NieuwFilterOptionToevoegen() {
|
|
79
|
-
this.LoadingFilters = true;
|
|
80
|
-
var requestfilteroption = new CreateFilterOptionRequest();
|
|
81
|
-
requestfilteroption.filterId = this.FilterSelected;
|
|
82
|
-
requestfilteroption.name = this.FilterOptionNaamNieuw;
|
|
83
|
-
this.FiltersApiClient.createFilterOption(requestfilteroption).subscribe((model) => {
|
|
84
|
-
this.LoadingFilters = false;
|
|
85
|
-
this.dialogRef.close({ filter: null, filteroption: model.id });
|
|
86
|
-
}, (error) => {
|
|
87
|
-
if (error.status == 400)
|
|
88
|
-
console.log(error.json());
|
|
89
|
-
else {
|
|
90
|
-
console.log('An unexpected error occured');
|
|
91
|
-
console.log(error);
|
|
92
|
-
}
|
|
93
|
-
this.LoadingFilters = false;
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
BestaandToevoegen() {
|
|
97
|
-
this.dialogRef.close({ filter: null, filteroption: this.FilterOptionSelected });
|
|
98
|
-
}
|
|
99
|
-
GetSelectedFiltersOptions() {
|
|
100
|
-
var array = new Array();
|
|
101
|
-
var temparray = this.FiltersViewModel?.filterViewModels;
|
|
102
|
-
if (temparray != null) {
|
|
103
|
-
for (var i = 0; i < temparray.length; i++) {
|
|
104
|
-
if (temparray[i].id == this.FilterSelected) {
|
|
105
|
-
return temparray[i].filterOptionViewModels;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
return array;
|
|
110
|
-
}
|
|
111
|
-
KoppelManyName() {
|
|
112
|
-
this.dialogRef.close({ filter: this.FilterSelected, filteroption: null });
|
|
113
|
-
}
|
|
114
|
-
Loading() {
|
|
115
|
-
return this.LoadingFilters;
|
|
116
|
-
}
|
|
117
|
-
LoadFilters() {
|
|
118
|
-
this.LoadingFilters = true;
|
|
119
|
-
this.FiltersApiClient.getFiltersViewModel().subscribe((model) => {
|
|
120
|
-
this.FiltersViewModel = model;
|
|
121
|
-
this.LoadingFilters = false;
|
|
122
|
-
}, (error) => {
|
|
123
|
-
if (error.status == 400)
|
|
124
|
-
console.log(error.json());
|
|
125
|
-
else {
|
|
126
|
-
console.log('An unexpected error occured');
|
|
127
|
-
console.log(error);
|
|
128
|
-
}
|
|
129
|
-
this.LoadingFilters = false;
|
|
130
|
-
});
|
|
131
|
-
}
|
|
132
|
-
LoadOpties() {
|
|
133
|
-
if (this.ProductsService.BCBProductViewModel != null) {
|
|
134
|
-
this.LoadingOpties = true;
|
|
135
|
-
var request = new ConnectEigenschapOptieRequest();
|
|
136
|
-
request.bcbEigenschapOptieId = this.BCBEigenschapOptieId;
|
|
137
|
-
request.bcbProductId = this.ProductsService.BCBProductViewModel.id;
|
|
138
|
-
request.location = this.Location;
|
|
139
|
-
//this.ProductsApiClient.connectBCBEigenschapOptieFilterOptionPreview(request).subscribe((model: ConnectEigenschapOptieResponse) => {
|
|
140
|
-
// this.ConnectEigenschapOptieResponse = model;
|
|
141
|
-
// this.LoadingOpties = false;
|
|
142
|
-
//}, (error: Response) => {
|
|
143
|
-
// alert(error);
|
|
144
|
-
//});
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
BeheerProductsKoppelFilteroptionDailogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: BeheerProductsKoppelFilteroptionDailogComponent, deps: [{ token: i1.MatDialogRef }, { token: MAT_DIALOG_DATA }, { token: i2.FiltersApiClient }, { token: i2.ProductsApiClient }, { token: i3.ProductsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
149
|
-
BeheerProductsKoppelFilteroptionDailogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.0", type: BeheerProductsKoppelFilteroptionDailogComponent, selector: "app-beheer-products-koppel-filteroption-dailog", ngImport: i0, template: "<div *ngIf=\"Loading()\">\r\n <app-fab-loader></app-fab-loader>\r\n</div>\r\n\r\n<div *ngIf=\"!Loading()\">\r\n <mat-tab-group>\r\n <mat-tab label=\"Nieuwe filter\">\r\n <div class=\"bar\">\r\n <mat-form-field appearance=\"fill\" class=\"full-width\">\r\n <mat-label>Filter</mat-label>\r\n <input matInput [(ngModel)]=\"FilterNaamNieuw\">\r\n </mat-form-field>\r\n\r\n <mat-form-field appearance=\"fill\" class=\"full-width\">\r\n <mat-label>Optie</mat-label>\r\n <input matInput (keyup)=\"handleKeyUpFilter($event)\" [(ngModel)]=\"FilterOptionNaamNieuw\">\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class=\"bar tool-bar\">\r\n <button mat-raised-button (click)=\"NieuwFilterToevoegen()\">Toevoegen</button>\r\n </div>\r\n </mat-tab>\r\n <mat-tab label=\"Nieuwe optie\">\r\n <div class=\"bar\">\r\n <mat-form-field appearance=\"fill\" class=\"full-width\">\r\n <mat-label>Filter</mat-label>\r\n <mat-select [(ngModel)]=\"FilterSelected\">\r\n <mat-option *ngFor=\"let filter of FiltersViewModel.filterViewModels\" [value]=\"filter.id\">\r\n {{filter.name}}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n <mat-form-field appearance=\"fill\" class=\"full-width\">\r\n <mat-label>Optie</mat-label>\r\n <input matInput (keyup)=\"handleKeyUpFilterOption($event)\" [(ngModel)]=\"FilterOptionNaamNieuw\">\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class=\"bar tool-bar\">\r\n <button mat-raised-button (click)=\"NieuwFilterOptionToevoegen()\">Toevoegen</button>\r\n </div>\r\n </mat-tab>\r\n <mat-tab label=\"Bestaand\">\r\n\r\n <div class=\"bar\">\r\n <mat-form-field appearance=\"fill\" class=\"full-width\">\r\n <mat-label>Filter</mat-label>\r\n <mat-select [(ngModel)]=\"FilterSelected\">\r\n <mat-option *ngFor=\"let filter of FiltersViewModel.filterViewModels\" [value]=\"filter.id\">\r\n {{filter.name}}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n <mat-form-field appearance=\"fill\" class=\"full-width\">\r\n <mat-label>Optie</mat-label>\r\n <mat-select [(ngModel)]=\"FilterOptionSelected\">\r\n <mat-option *ngFor=\"let filteroption of GetSelectedFiltersOptions()\" [value]=\"filteroption.id\">\r\n {{filteroption.name}}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class=\"bar tool-bar\">\r\n <button mat-raised-button (click)=\"BestaandToevoegen()\">Toevoegen</button>\r\n </div>\r\n </mat-tab>\r\n <!--<mat-tab label=\"Many Name\">\r\n <mat-form-field appearance=\"fill\" class=\"full-width\">\r\n <mat-label>Filter</mat-label>\r\n <mat-select [(ngModel)]=\"FilterSelected\">\r\n <mat-option *ngFor=\"let filter of FiltersViewModel.filterViewModels\" [value]=\"filter.id\">\r\n {{filter.name}}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n <app-beheer-connect-manyname></app-beheer-connect-manyname>\r\n\r\n <div class=\"bar tool-bar\">\r\n <button mat-raised-button (click)=\"KoppelManyName()\">Koppel</button>\r\n </div>\r\n </mat-tab>-->\r\n </mat-tab-group>\r\n\r\n <div class=\"options-container\">\r\n <!--<div *ngFor=\"let location of ConnectEigenschapOptieResponse.locations\">\r\n <b>{{ location.location }}</b>\r\n <div *ngFor=\"let ebo of location.ebos\">\r\n {{ ebo }}\r\n </div>\r\n </div>-->\r\n </div>\r\n</div>\r\n", styles: [".full-width{width:100%}.options-container{max-height:300px}.tool-bar{padding:2px}\n"], dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i5.MatLabel, selector: "mat-label" }, { kind: "directive", type: i6.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "directive", type: i7.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i7.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i7.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i8.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i9.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple"], exportAs: ["matTabGroup"] }, { kind: "component", type: i9.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass"], exportAs: ["matTab"] }, { kind: "component", type: i10.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "component", type: i11.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "component", type: i12.FabLoaderComponent, selector: "app-fab-loader" }] });
|
|
150
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: BeheerProductsKoppelFilteroptionDailogComponent, decorators: [{
|
|
151
|
-
type: Component,
|
|
152
|
-
args: [{ selector: 'app-beheer-products-koppel-filteroption-dailog', template: "<div *ngIf=\"Loading()\">\r\n <app-fab-loader></app-fab-loader>\r\n</div>\r\n\r\n<div *ngIf=\"!Loading()\">\r\n <mat-tab-group>\r\n <mat-tab label=\"Nieuwe filter\">\r\n <div class=\"bar\">\r\n <mat-form-field appearance=\"fill\" class=\"full-width\">\r\n <mat-label>Filter</mat-label>\r\n <input matInput [(ngModel)]=\"FilterNaamNieuw\">\r\n </mat-form-field>\r\n\r\n <mat-form-field appearance=\"fill\" class=\"full-width\">\r\n <mat-label>Optie</mat-label>\r\n <input matInput (keyup)=\"handleKeyUpFilter($event)\" [(ngModel)]=\"FilterOptionNaamNieuw\">\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class=\"bar tool-bar\">\r\n <button mat-raised-button (click)=\"NieuwFilterToevoegen()\">Toevoegen</button>\r\n </div>\r\n </mat-tab>\r\n <mat-tab label=\"Nieuwe optie\">\r\n <div class=\"bar\">\r\n <mat-form-field appearance=\"fill\" class=\"full-width\">\r\n <mat-label>Filter</mat-label>\r\n <mat-select [(ngModel)]=\"FilterSelected\">\r\n <mat-option *ngFor=\"let filter of FiltersViewModel.filterViewModels\" [value]=\"filter.id\">\r\n {{filter.name}}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n <mat-form-field appearance=\"fill\" class=\"full-width\">\r\n <mat-label>Optie</mat-label>\r\n <input matInput (keyup)=\"handleKeyUpFilterOption($event)\" [(ngModel)]=\"FilterOptionNaamNieuw\">\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class=\"bar tool-bar\">\r\n <button mat-raised-button (click)=\"NieuwFilterOptionToevoegen()\">Toevoegen</button>\r\n </div>\r\n </mat-tab>\r\n <mat-tab label=\"Bestaand\">\r\n\r\n <div class=\"bar\">\r\n <mat-form-field appearance=\"fill\" class=\"full-width\">\r\n <mat-label>Filter</mat-label>\r\n <mat-select [(ngModel)]=\"FilterSelected\">\r\n <mat-option *ngFor=\"let filter of FiltersViewModel.filterViewModels\" [value]=\"filter.id\">\r\n {{filter.name}}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n <mat-form-field appearance=\"fill\" class=\"full-width\">\r\n <mat-label>Optie</mat-label>\r\n <mat-select [(ngModel)]=\"FilterOptionSelected\">\r\n <mat-option *ngFor=\"let filteroption of GetSelectedFiltersOptions()\" [value]=\"filteroption.id\">\r\n {{filteroption.name}}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class=\"bar tool-bar\">\r\n <button mat-raised-button (click)=\"BestaandToevoegen()\">Toevoegen</button>\r\n </div>\r\n </mat-tab>\r\n <!--<mat-tab label=\"Many Name\">\r\n <mat-form-field appearance=\"fill\" class=\"full-width\">\r\n <mat-label>Filter</mat-label>\r\n <mat-select [(ngModel)]=\"FilterSelected\">\r\n <mat-option *ngFor=\"let filter of FiltersViewModel.filterViewModels\" [value]=\"filter.id\">\r\n {{filter.name}}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n <app-beheer-connect-manyname></app-beheer-connect-manyname>\r\n\r\n <div class=\"bar tool-bar\">\r\n <button mat-raised-button (click)=\"KoppelManyName()\">Koppel</button>\r\n </div>\r\n </mat-tab>-->\r\n </mat-tab-group>\r\n\r\n <div class=\"options-container\">\r\n <!--<div *ngFor=\"let location of ConnectEigenschapOptieResponse.locations\">\r\n <b>{{ location.location }}</b>\r\n <div *ngFor=\"let ebo of location.ebos\">\r\n {{ ebo }}\r\n </div>\r\n </div>-->\r\n </div>\r\n</div>\r\n", styles: [".full-width{width:100%}.options-container{max-height:300px}.tool-bar{padding:2px}\n"] }]
|
|
153
|
-
}], ctorParameters: function () { return [{ type: i1.MatDialogRef }, { type: undefined, decorators: [{
|
|
154
|
-
type: Inject,
|
|
155
|
-
args: [MAT_DIALOG_DATA]
|
|
156
|
-
}] }, { type: i2.FiltersApiClient }, { type: i2.ProductsApiClient }, { type: i3.ProductsService }]; } });
|
|
157
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmVoZWVyLXByb2R1Y3RzLWtvcHBlbC1maWx0ZXJvcHRpb24tZGFpbG9nLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvbW9kdWxlcy9mYWJyaWthbnRlbmNvcmUvYmVoZWVyL2NvbXBvbmVudHMvYm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lclZpZXdNb2RlbHNcIiBbdmFsdWVdPVwiZmlsdGVyLmlkXCI+XHJcbiAgICAgICAgICAgIHt7ZmlsdGVyLm5hbWV9fVxyXG4gICAgICAgICAgPC9tYXQtb3B0aW9uPlxyXG4gICAgICAgIDwvbWF0LXNlbGVjdD5cclxuICAgICAgPC9tYXQtZm9ybS1maWVsZD5cclxuXHJcbiAgICAgIDxhcHAtYmVoZWVyLWNvbm5lY3QtbWFueW5hbWU+PC9hcHAtYmVoZWVyLWNvbm5lY3QtbWFueW5hbWU+XHJcblxyXG4gICAgICA8ZGl2IGNsYXNzPVwiYmFyIHRvb2wtYmFyXCI+XHJcbiAgICAgICAgPGJ1dHRvbiBtYXQtcmFpc2VkLWJ1dHRvbiAoY2xpY2spPVwiS29wcGVsTWFueU5hbWUoKVwiPktvcHBlbDwvYnV0dG9uPlxyXG4gICAgICA8L2Rpdj5cclxuICAgIDwvbWF0LXRhYj4tLT5cclxuICA8L21hdC10YWItZ3JvdXA+XHJcblxyXG4gIDxkaXYgY2xhc3M9XCJvcHRpb25zLWNvbnRhaW5lclwiPlxyXG4gICAgPCEtLTxkaXYgKm5nRm9yPVwibGV0IGxvY2F0aW9uIG9mIENvbm5lY3RFaWdlbnNjaGFwT3B0aWVSZXNwb25zZS5sb2NhdGlvbnNcIj5cclxuICAgICAgPGI+e3sgbG9jYXRpb24ubG9jYXRpb24gfX08L2I+XHJcbiAgICAgIDxkaXYgKm5nRm9yPVwibGV0IGVibyBvZiBsb2NhdGlvbi5lYm9zXCI+XHJcbiAgICAgICAge3sgZWJvIH19XHJcbiAgICAgIDwvZGl2PlxyXG4gICAgPC9kaXY+LS0+XHJcbiAgPC9kaXY+XHJcbjwvZGl2PlxyXG4iXX0=
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "../../../../services/products.service";
|
|
4
|
-
import * as i2 from "@angular/material/form-field";
|
|
5
|
-
import * as i3 from "@angular/material/input";
|
|
6
|
-
import * as i4 from "@angular/forms";
|
|
7
|
-
import * as i5 from "@angular/material/button";
|
|
8
|
-
import * as i6 from "@angular/material/card";
|
|
9
|
-
export class BeheerProductsProductComponent {
|
|
10
|
-
constructor(ProductsService, ChangeDetectorRef) {
|
|
11
|
-
this.ProductsService = ProductsService;
|
|
12
|
-
this.ChangeDetectorRef = ChangeDetectorRef;
|
|
13
|
-
}
|
|
14
|
-
ResetImport() {
|
|
15
|
-
this.ProductsService.ResetImport(this.ProductViewModel.id, -1, this.ChangeDetectorRef);
|
|
16
|
-
}
|
|
17
|
-
ngOnInit() {
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
BeheerProductsProductComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: BeheerProductsProductComponent, deps: [{ token: i1.ProductsService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
-
BeheerProductsProductComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.0", type: BeheerProductsProductComponent, selector: "app-beheer-products-product", inputs: { ProductViewModel: "ProductViewModel" }, ngImport: i0, template: "<mat-card>\r\n <div class=\"product-bar\">\r\n <div class=\"product-first block\">\r\n <mat-form-field appearance=\"fill\" class=\"full-width\">\r\n <mat-label>Naam</mat-label>\r\n <input matInput [(ngModel)]=\"ProductViewModel.name\">\r\n </mat-form-field>\r\n </div>\r\n <div class=\"block\">\r\n <button mat-raised-button (click)=\"ResetImport()\">\r\n Reset Import\r\n </button>\r\n </div>\r\n <div class=\"block\">\r\n <button mat-raised-button [disabled]=\"true\">\r\n Opslaan\r\n </button>\r\n </div>\r\n <div class=\"block\">\r\n <button mat-raised-button [disabled]=\"true\">\r\n Verwijderen\r\n </button>\r\n </div>\r\n </div>\r\n</mat-card>\r\n\r\n", styles: [".product-bar{display:flex}.product-first{flex:auto}.full-width{width:100%}.block{padding:3px}\n"], dependencies: [{ kind: "component", type: i2.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "directive", type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i5.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i6.MatCard, selector: "mat-card", exportAs: ["matCard"] }] });
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: BeheerProductsProductComponent, decorators: [{
|
|
23
|
-
type: Component,
|
|
24
|
-
args: [{ selector: 'app-beheer-products-product', template: "<mat-card>\r\n <div class=\"product-bar\">\r\n <div class=\"product-first block\">\r\n <mat-form-field appearance=\"fill\" class=\"full-width\">\r\n <mat-label>Naam</mat-label>\r\n <input matInput [(ngModel)]=\"ProductViewModel.name\">\r\n </mat-form-field>\r\n </div>\r\n <div class=\"block\">\r\n <button mat-raised-button (click)=\"ResetImport()\">\r\n Reset Import\r\n </button>\r\n </div>\r\n <div class=\"block\">\r\n <button mat-raised-button [disabled]=\"true\">\r\n Opslaan\r\n </button>\r\n </div>\r\n <div class=\"block\">\r\n <button mat-raised-button [disabled]=\"true\">\r\n Verwijderen\r\n </button>\r\n </div>\r\n </div>\r\n</mat-card>\r\n\r\n", styles: [".product-bar{display:flex}.product-first{flex:auto}.full-width{width:100%}.block{padding:3px}\n"] }]
|
|
25
|
-
}], ctorParameters: function () { return [{ type: i1.ProductsService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { ProductViewModel: [{
|
|
26
|
-
type: Input
|
|
27
|
-
}] } });
|
|
28
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmVoZWVyLXByb2R1Y3RzLXByb2R1Y3QuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2FwcC9tb2R1bGVzL2ZhYnJpa2FudGVuY29yZS9iZWhlZXIvY29tcG9uZW50cy9iZWhlZXItcHJvZHVjdHMvYmVoZWVyLXByb2R1Y3RzLXByb2R1Y3QvYmVoZWVyLXByb2R1Y3RzLXByb2R1Y3QuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2FwcC9tb2R1bGVzL2ZhYnJpa2FudGVuY29yZS9iZWhlZXIvY29tcG9uZW50cy9iZWhlZXItcHJvZHVjdHMvYmVoZWVyLXByb2R1Y3RzLXByb2R1Y3QvYmVoZWVyLXByb2R1Y3RzLXByb2R1Y3QuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxLQUFLLEVBQXFCLE1BQU0sZUFBZSxDQUFDOzs7Ozs7OztBQVM1RSxNQUFNLE9BQU8sOEJBQThCO0lBSXpDLFlBQW1CLG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XCI+XHJcbiAgICAgICAgUmVzZXQgSW1wb3J0XHJcbiAgICAgIDwvYnV0dG9uPlxyXG4gICAgPC9kaXY+XHJcbiAgICA8ZGl2IGNsYXNzPVwiYmxvY2tcIj5cclxuICAgICAgPGJ1dHRvbiBtYXQtcmFpc2VkLWJ1dHRvbiBbZGlzYWJsZWRdPVwidHJ1ZVwiPlxyXG4gICAgICAgIE9wc2xhYW5cclxuICAgICAgPC9idXR0b24+XHJcbiAgICA8L2Rpdj5cclxuICAgIDxkaXYgY2xhc3M9XCJibG9ja1wiPlxyXG4gICAgICA8YnV0dG9uIG1hdC1yYWlzZWQtYnV0dG9uIFtkaXNhYmxlZF09XCJ0cnVlXCI+XHJcbiAgICAgICAgVmVyd2lqZGVyZW5cclxuICAgICAgPC9idXR0b24+XHJcbiAgICA8L2Rpdj5cclxuICA8L2Rpdj5cclxuPC9tYXQtY2FyZD5cclxuXHJcbiJdfQ==
|
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { BCBImportProductRequest } from '../../../swagger/SwaggerClient';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../../../services/products.service";
|
|
5
|
-
import * as i2 from "../../../services/importsets.service";
|
|
6
|
-
import * as i3 from "../../../swagger/SwaggerClient";
|
|
7
|
-
import * as i4 from "@angular/common";
|
|
8
|
-
import * as i5 from "@angular/material/form-field";
|
|
9
|
-
import * as i6 from "@angular/forms";
|
|
10
|
-
import * as i7 from "@angular/material/button";
|
|
11
|
-
import * as i8 from "@angular/material/card";
|
|
12
|
-
import * as i9 from "@angular/material/select";
|
|
13
|
-
import * as i10 from "@angular/material/core";
|
|
14
|
-
import * as i11 from "../beheer-nav/beheer-nav.component";
|
|
15
|
-
import * as i12 from "../../../components/fab-loader/fab-loader.component";
|
|
16
|
-
import * as i13 from "./beheer-products-product/beheer-products-product.component";
|
|
17
|
-
import * as i14 from "./beheer-products-bcbproduct/beheer-products-bcbproduct.component";
|
|
18
|
-
export class BeheerProductsComponent {
|
|
19
|
-
constructor(ProductsService, ImportSetsService, ImportApiClient, ChangeDetectorRef) {
|
|
20
|
-
this.ProductsService = ProductsService;
|
|
21
|
-
this.ImportSetsService = ImportSetsService;
|
|
22
|
-
this.ImportApiClient = ImportApiClient;
|
|
23
|
-
this.ChangeDetectorRef = ChangeDetectorRef;
|
|
24
|
-
this.BCBImportSetsViewModel = undefined;
|
|
25
|
-
}
|
|
26
|
-
ngOnInit() {
|
|
27
|
-
this.ImportSetsService.LoadImportSets(this.ChangeDetectorRef);
|
|
28
|
-
}
|
|
29
|
-
Status() {
|
|
30
|
-
this.ProductsService.CheckStatus(this.ChangeDetectorRef);
|
|
31
|
-
}
|
|
32
|
-
Import() {
|
|
33
|
-
var products = this.ProductsService.ProductsViewModel?.productViewModels;
|
|
34
|
-
if (products != null && products.length > 0) {
|
|
35
|
-
for (var i = 0; i < products.length; i++) {
|
|
36
|
-
var bcbproducts = products[i].bcbProductViewModels;
|
|
37
|
-
if (bcbproducts != null) {
|
|
38
|
-
products[i].importStatus = "0/" + bcbproducts.length;
|
|
39
|
-
for (var j = 0; j < bcbproducts.length; j++) {
|
|
40
|
-
bcbproducts[j].importStatus = "X";
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
var bcbproducts = products[0].bcbProductViewModels;
|
|
45
|
-
if (bcbproducts != null && bcbproducts.length > 0) {
|
|
46
|
-
this.ImportBCBProduct(bcbproducts[0]);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
ImportBCBProduct(bcbproduct) {
|
|
51
|
-
var request = new BCBImportProductRequest();
|
|
52
|
-
request.bcbProductId = bcbproduct.id;
|
|
53
|
-
this.ImportApiClient.importBCBProduct(request).subscribe((model) => {
|
|
54
|
-
if (!model.success) {
|
|
55
|
-
alert(model.message);
|
|
56
|
-
}
|
|
57
|
-
else {
|
|
58
|
-
bcbproduct.importStatus = "V";
|
|
59
|
-
var next = this.GetNextBCBProduct(bcbproduct);
|
|
60
|
-
if (next.importStatus == "X") {
|
|
61
|
-
this.ImportBCBProduct(next);
|
|
62
|
-
}
|
|
63
|
-
else {
|
|
64
|
-
this.ProductsService.Reload(this.ChangeDetectorRef);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}, (error) => {
|
|
68
|
-
alert("import failed for id: " + bcbproduct.id);
|
|
69
|
-
if (error.status == 400)
|
|
70
|
-
console.log(error.json());
|
|
71
|
-
else {
|
|
72
|
-
console.log('An unexpected error occured');
|
|
73
|
-
console.log(error);
|
|
74
|
-
}
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
ResetImport() {
|
|
78
|
-
this.ProductsService.ResetImport(-1, -1, this.ChangeDetectorRef);
|
|
79
|
-
}
|
|
80
|
-
CleanUp() {
|
|
81
|
-
this.ProductsService.CleanUp();
|
|
82
|
-
}
|
|
83
|
-
ShowBCBProducts(product) {
|
|
84
|
-
if (this.ProductsService.ProductViewModel?.id == product.id) {
|
|
85
|
-
return true;
|
|
86
|
-
}
|
|
87
|
-
return false;
|
|
88
|
-
}
|
|
89
|
-
SelectProduct(product) {
|
|
90
|
-
this.ProductsService.ProductViewModel = product;
|
|
91
|
-
this.ProductsService.BCBProductViewModel = undefined;
|
|
92
|
-
this.ProductsService.LoadProduct(this.ChangeDetectorRef);
|
|
93
|
-
}
|
|
94
|
-
SaveProduct(product) {
|
|
95
|
-
this.ProductsService.SaveProductViewModel(product, this.ChangeDetectorRef);
|
|
96
|
-
}
|
|
97
|
-
SelectBCBProduct(bcbproduct) {
|
|
98
|
-
if (this.ProductsService.BCBProductViewModel != bcbproduct) {
|
|
99
|
-
this.ProductsService.BCBProductViewModel = bcbproduct;
|
|
100
|
-
}
|
|
101
|
-
else {
|
|
102
|
-
this.ProductsService.BCBProductViewModel = undefined;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
GetImportStatus(product) {
|
|
106
|
-
var text = "";
|
|
107
|
-
var active = false;
|
|
108
|
-
var bcbproducts = product.bcbProductViewModels;
|
|
109
|
-
if (bcbproducts != null && bcbproducts.length > 0) {
|
|
110
|
-
var count = 0;
|
|
111
|
-
for (var i = 0; i < bcbproducts.length; i++) {
|
|
112
|
-
if (bcbproducts[i].importStatus != "") {
|
|
113
|
-
active = true;
|
|
114
|
-
if (bcbproducts[i].importStatus != "X") {
|
|
115
|
-
count++;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
if (active) {
|
|
120
|
-
text = count + "/" + bcbproducts.length;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
return text;
|
|
124
|
-
}
|
|
125
|
-
GetNextBCBProduct(bcbproduct) {
|
|
126
|
-
var products = this.ProductsService.ProductsViewModel?.productViewModels;
|
|
127
|
-
var next = bcbproduct;
|
|
128
|
-
var found = false;
|
|
129
|
-
if (products != null && products.length > 0) {
|
|
130
|
-
for (var i = 0; i < products.length; i++) {
|
|
131
|
-
var bcbproducts = products[i].bcbProductViewModels;
|
|
132
|
-
if (bcbproducts != null) {
|
|
133
|
-
for (var j = 0; j < bcbproducts.length; j++) {
|
|
134
|
-
if (found) {
|
|
135
|
-
return bcbproducts[j];
|
|
136
|
-
}
|
|
137
|
-
if (bcbproducts[j] == bcbproduct) {
|
|
138
|
-
found = true;
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
return next;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
BeheerProductsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: BeheerProductsComponent, deps: [{ token: i1.ProductsService }, { token: i2.ImportSetsService }, { token: i3.ImportApiClient }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
148
|
-
BeheerProductsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.0", type: BeheerProductsComponent, selector: "app-beheer-products", ngImport: i0, template: "<app-beheer-nav></app-beheer-nav>\r\n\r\n<div *ngIf=\"ProductsService.Loading() || ImportSetsService.LoadingImportSets\">\r\n <app-fab-loader></app-fab-loader>\r\n</div>\r\n<div *ngIf=\"!ProductsService.Loading() && !ImportSetsService.LoadingImportSets\" class=\"main-block\">\r\n <mat-card>\r\n <mat-card-content>\r\n <div class=\"displayflex gap\">\r\n <div class=\"displayflex flex-auto gap\">\r\n <mat-form-field appearance=\"fill\">\r\n <mat-label>Import set</mat-label>\r\n <mat-select [(ngModel)]=\"ImportSetsService.BCBImportSetSelected\">\r\n <mat-option *ngFor=\"let importset of ImportSetsService.BCBImportSetsViewModel.bcbImportSetViewModels\" [value]=\"importset.id\">\r\n {{importset.name}}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n <button mat-raised-button (click)=\"ProductsService.Reload(this.ChangeDetectorRef)\">\r\n Refresh\r\n </button>\r\n </div>\r\n\r\n <div class=\"displayflex gap\" style=\"text-align: right;\">\r\n <button mat-raised-button (click)=\"Status()\">\r\n Status\r\n </button>\r\n <button mat-raised-button (click)=\"ResetImport()\">\r\n Reset Import\r\n </button>\r\n <button mat-raised-button (click)=\"Import()\">\r\n Import\r\n </button>\r\n <button mat-raised-button (click)=\"CleanUp()\">\r\n CleanUp\r\n </button>\r\n </div>\r\n </div>\r\n </mat-card-content>\r\n </mat-card>\r\n\r\n <div class=\"displayflex\" *ngIf=\"this.ProductsService.ProductsViewModel != undefined\">\r\n <div class=\"tree-block\">\r\n <div class=\"limiter\">\r\n <mat-card>\r\n <mat-card-content>\r\n <table class=\"full-width\">\r\n <tr class=\"table-head\">\r\n <td></td>\r\n <td>Id</td>\r\n <td>Naam</td>\r\n <td>Variants</td>\r\n <td>Importset</td>\r\n </tr>\r\n <ng-container *ngFor=\"let product of this.ProductsService.ProductsViewModel.productViewModels\">\r\n <tr [ngClass]=\"{'selected' : ProductsService.ProductViewModel == product, 'warning': !product.imported || !product.connected}\">\r\n <td (click)=\"SelectProduct(product)\" class=\"table-row\"><span class=\"importspan\">{{ GetImportStatus(product) }}</span></td>\r\n <td (click)=\"SelectProduct(product)\" class=\"table-row\">{{ product.id }}</td>\r\n <td (click)=\"SelectProduct(product)\" class=\"table-row\">{{ product.name }}</td>\r\n <td (click)=\"SelectProduct(product)\" class=\"table-row\">{{ product.bcbProductViewModels.length }}</td>\r\n <td>\r\n <select [(ngModel)]=\"product.importSetId\" (change)=\"SaveProduct(product)\" class=\"full-width\">\r\n <option *ngFor=\"let importset of ImportSetsService.BCBImportSetsViewModel.bcbImportSetViewModels\" [value]=\"importset.id\">{{importset.name}}</option>\r\n </select>\r\n </td>\r\n </tr>\r\n <ng-container *ngIf=\"ShowBCBProducts(product)\">\r\n <tr>\r\n <td> </td>\r\n </tr>\r\n <tr *ngFor=\"let bcbproduct of ProductsService.ProductViewModel.bcbProductViewModels\" class=\"table-row\" [ngClass]=\"{'selected' : ProductsService.BCBProductViewModel == bcbproduct, 'warning': !bcbproduct.imported || !bcbproduct.connected}\" (click)=\"SelectBCBProduct(bcbproduct)\">\r\n <td><span class=\"importspan\">{{ bcbproduct.importStatus }}</span></td>\r\n <td>{{ bcbproduct.id }}</td>\r\n <td colspan=\"3\">{{ bcbproduct.name }}</td>\r\n </tr>\r\n <tr>\r\n <td> </td>\r\n </tr>\r\n </ng-container>\r\n </ng-container>\r\n </table>\r\n </mat-card-content>\r\n </mat-card>\r\n </div>\r\n </div>\r\n\r\n <div class=\"main-content\">\r\n <div class=\"limiter\">\r\n <app-beheer-products-product *ngIf=\"ProductsService.ProductViewModel != undefined && ProductsService.BCBProductViewModel == undefined\" [ProductViewModel]=\"ProductsService.ProductViewModel\"></app-beheer-products-product>\r\n <app-beheer-products-bcbproduct *ngIf=\"ProductsService.BCBProductViewModel != undefined\" [BCBProductViewModel]=\"ProductsService.BCBProductViewModel\"></app-beheer-products-bcbproduct>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n", styles: [".full-width{width:100%}.full-height{height:100%}.gap{gap:3px}.table-head td{font-weight:700;border-bottom:2px solid #000}.table-row td{border-bottom:1px solid #000;cursor:pointer}.warning{background-color:#f08080}.table-row:hover{background-color:#d3d3d3}.limiter{max-height:calc(100vh - 179px);overflow:auto}.selected{background-color:#add8e6!important}.importspan{margin-left:5px;font-weight:700}.main-block{padding:10px;height:calc(100vh - 66px);overflow:auto}.main-content{padding:5px;flex:auto;width:50%}.tree-block{padding:5px;flex:auto;width:50%;max-height:calc(100vh - 66px)}.example-tree-invisible{display:none}.example-tree ul,.example-tree li{margin-top:0;margin-bottom:0;list-style-type:none}.example-tree .mat-nested-tree-node div[role=group]{padding-left:40px}.example-tree div[role=group]>.mat-tree-node{padding-left:40px}.displayflex{display:flex}.flex-auto{flex:auto}\n"], dependencies: [{ kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i5.MatLabel, selector: "mat-label" }, { kind: "directive", type: i6.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i6.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i6.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i6.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i7.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i8.MatCard, selector: "mat-card", exportAs: ["matCard"] }, { kind: "directive", type: i8.MatCardContent, selector: "mat-card-content, [mat-card-content], [matCardContent]" }, { kind: "component", type: i9.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "component", type: i10.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "component", type: i11.BeheerNavComponent, selector: "app-beheer-nav" }, { kind: "component", type: i12.FabLoaderComponent, selector: "app-fab-loader" }, { kind: "component", type: i13.BeheerProductsProductComponent, selector: "app-beheer-products-product", inputs: ["ProductViewModel"] }, { kind: "component", type: i14.BeheerProductsBcbproductComponent, selector: "app-beheer-products-bcbproduct", inputs: ["BCBProductViewModel"] }] });
|
|
149
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: BeheerProductsComponent, decorators: [{
|
|
150
|
-
type: Component,
|
|
151
|
-
args: [{ selector: 'app-beheer-products', template: "<app-beheer-nav></app-beheer-nav>\r\n\r\n<div *ngIf=\"ProductsService.Loading() || ImportSetsService.LoadingImportSets\">\r\n <app-fab-loader></app-fab-loader>\r\n</div>\r\n<div *ngIf=\"!ProductsService.Loading() && !ImportSetsService.LoadingImportSets\" class=\"main-block\">\r\n <mat-card>\r\n <mat-card-content>\r\n <div class=\"displayflex gap\">\r\n <div class=\"displayflex flex-auto gap\">\r\n <mat-form-field appearance=\"fill\">\r\n <mat-label>Import set</mat-label>\r\n <mat-select [(ngModel)]=\"ImportSetsService.BCBImportSetSelected\">\r\n <mat-option *ngFor=\"let importset of ImportSetsService.BCBImportSetsViewModel.bcbImportSetViewModels\" [value]=\"importset.id\">\r\n {{importset.name}}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n <button mat-raised-button (click)=\"ProductsService.Reload(this.ChangeDetectorRef)\">\r\n Refresh\r\n </button>\r\n </div>\r\n\r\n <div class=\"displayflex gap\" style=\"text-align: right;\">\r\n <button mat-raised-button (click)=\"Status()\">\r\n Status\r\n </button>\r\n <button mat-raised-button (click)=\"ResetImport()\">\r\n Reset Import\r\n </button>\r\n <button mat-raised-button (click)=\"Import()\">\r\n Import\r\n </button>\r\n <button mat-raised-button (click)=\"CleanUp()\">\r\n CleanUp\r\n </button>\r\n </div>\r\n </div>\r\n </mat-card-content>\r\n </mat-card>\r\n\r\n <div class=\"displayflex\" *ngIf=\"this.ProductsService.ProductsViewModel != undefined\">\r\n <div class=\"tree-block\">\r\n <div class=\"limiter\">\r\n <mat-card>\r\n <mat-card-content>\r\n <table class=\"full-width\">\r\n <tr class=\"table-head\">\r\n <td></td>\r\n <td>Id</td>\r\n <td>Naam</td>\r\n <td>Variants</td>\r\n <td>Importset</td>\r\n </tr>\r\n <ng-container *ngFor=\"let product of this.ProductsService.ProductsViewModel.productViewModels\">\r\n <tr [ngClass]=\"{'selected' : ProductsService.ProductViewModel == product, 'warning': !product.imported || !product.connected}\">\r\n <td (click)=\"SelectProduct(product)\" class=\"table-row\"><span class=\"importspan\">{{ GetImportStatus(product) }}</span></td>\r\n <td (click)=\"SelectProduct(product)\" class=\"table-row\">{{ product.id }}</td>\r\n <td (click)=\"SelectProduct(product)\" class=\"table-row\">{{ product.name }}</td>\r\n <td (click)=\"SelectProduct(product)\" class=\"table-row\">{{ product.bcbProductViewModels.length }}</td>\r\n <td>\r\n <select [(ngModel)]=\"product.importSetId\" (change)=\"SaveProduct(product)\" class=\"full-width\">\r\n <option *ngFor=\"let importset of ImportSetsService.BCBImportSetsViewModel.bcbImportSetViewModels\" [value]=\"importset.id\">{{importset.name}}</option>\r\n </select>\r\n </td>\r\n </tr>\r\n <ng-container *ngIf=\"ShowBCBProducts(product)\">\r\n <tr>\r\n <td> </td>\r\n </tr>\r\n <tr *ngFor=\"let bcbproduct of ProductsService.ProductViewModel.bcbProductViewModels\" class=\"table-row\" [ngClass]=\"{'selected' : ProductsService.BCBProductViewModel == bcbproduct, 'warning': !bcbproduct.imported || !bcbproduct.connected}\" (click)=\"SelectBCBProduct(bcbproduct)\">\r\n <td><span class=\"importspan\">{{ bcbproduct.importStatus }}</span></td>\r\n <td>{{ bcbproduct.id }}</td>\r\n <td colspan=\"3\">{{ bcbproduct.name }}</td>\r\n </tr>\r\n <tr>\r\n <td> </td>\r\n </tr>\r\n </ng-container>\r\n </ng-container>\r\n </table>\r\n </mat-card-content>\r\n </mat-card>\r\n </div>\r\n </div>\r\n\r\n <div class=\"main-content\">\r\n <div class=\"limiter\">\r\n <app-beheer-products-product *ngIf=\"ProductsService.ProductViewModel != undefined && ProductsService.BCBProductViewModel == undefined\" [ProductViewModel]=\"ProductsService.ProductViewModel\"></app-beheer-products-product>\r\n <app-beheer-products-bcbproduct *ngIf=\"ProductsService.BCBProductViewModel != undefined\" [BCBProductViewModel]=\"ProductsService.BCBProductViewModel\"></app-beheer-products-bcbproduct>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n", styles: [".full-width{width:100%}.full-height{height:100%}.gap{gap:3px}.table-head td{font-weight:700;border-bottom:2px solid #000}.table-row td{border-bottom:1px solid #000;cursor:pointer}.warning{background-color:#f08080}.table-row:hover{background-color:#d3d3d3}.limiter{max-height:calc(100vh - 179px);overflow:auto}.selected{background-color:#add8e6!important}.importspan{margin-left:5px;font-weight:700}.main-block{padding:10px;height:calc(100vh - 66px);overflow:auto}.main-content{padding:5px;flex:auto;width:50%}.tree-block{padding:5px;flex:auto;width:50%;max-height:calc(100vh - 66px)}.example-tree-invisible{display:none}.example-tree ul,.example-tree li{margin-top:0;margin-bottom:0;list-style-type:none}.example-tree .mat-nested-tree-node div[role=group]{padding-left:40px}.example-tree div[role=group]>.mat-tree-node{padding-left:40px}.displayflex{display:flex}.flex-auto{flex:auto}\n"] }]
|
|
152
|
-
}], ctorParameters: function () { return [{ type: i1.ProductsService }, { type: i2.ImportSetsService }, { type: i3.ImportApiClient }, { type: i0.ChangeDetectorRef }]; } });
|
|
153
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmVoZWVyLXByb2R1Y3RzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvbW9kdWxlcy9mYWJyaWthbnRlbmNvcmUvYmVoZWVyL2NvbXBvbmVudHMvYmVoZWVyLXByb2R1Y3RzL2JlaGVlci1wcm9kdWN0cy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvZmFicmlrYW50ZW5jb3JlL2JlaGVlci9jb21wb25lbnRzL2JlaGVlci1wcm9kdWN0cy9iZWhlZXItcHJvZHVjdHMuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFxQixTQUFTLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFJckUsT0FBTyxFQUErRSx1QkFBdUIsRUFBcUUsTUFBTSxnQ0FBZ0MsQ0FBQzs7Ozs7Ozs7Ozs7Ozs7OztBQU96TixNQUFNLE9BQU8sdUJBQXVCO0lBSWxDLFlBQW1CLGVBQWdDLEVBQzFDLGlCQUFvQyxFQUNuQyxlQUFnQyxFQUNqQyxpQkFBb0M7UUFIMUIsb0JBQWUsR0FBZixlQUFlLENBQWlCO1FBQzFDLHNCQUFpQixHQUFqQixpQkFBaUIsQ0FBbUI7UUFDbkMsb0JBQWUsR0FBZixlQUFlLENBQWlCO1FBQ2pDLHNCQUFpQixHQUFqQixpQkFBaUIsQ0FBbUI7UUFMdE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PlxyXG4gICAgICAgIDwvbWF0LWNhcmQ+XHJcbiAgICAgIDwvZGl2PlxyXG4gICAgPC9kaXY+XHJcblxyXG4gICAgPGRpdiBjbGFzcz1cIm1haW4tY29udGVudFwiPlxyXG4gICAgICA8ZGl2IGNsYXNzPVwibGltaXRlclwiPlxyXG4gICAgICAgIDxhcHAtYmVoZWVyLXByb2R1Y3RzLXByb2R1Y3QgKm5nSWY9XCJQcm9kdWN0c1NlcnZpY2UuUHJvZHVjdFZpZXdNb2RlbCAhPSB1bmRlZmluZWQgJiYgUHJvZHVjdHNTZXJ2aWNlLkJDQlByb2R1Y3RWaWV3TW9kZWwgPT0gdW5kZWZpbmVkXCIgW1Byb2R1Y3RWaWV3TW9kZWxdPVwiUHJvZHVjdHNTZXJ2aWNlLlByb2R1Y3RWaWV3TW9kZWxcIj48L2FwcC1iZWhlZXItcHJvZHVjdHMtcHJvZHVjdD5cclxuICAgICAgICA8YXBwLWJlaGVlci1wcm9kdWN0cy1iY2Jwcm9kdWN0ICpuZ0lmPVwiUHJvZHVjdHNTZXJ2aWNlLkJDQlByb2R1Y3RWaWV3TW9kZWwgIT0gdW5kZWZpbmVkXCIgW0JDQlByb2R1Y3RWaWV3TW9kZWxdPVwiUHJvZHVjdHNTZXJ2aWNlLkJDQlByb2R1Y3RWaWV3TW9kZWxcIj48L2FwcC1iZWhlZXItcHJvZHVjdHMtYmNicHJvZHVjdD5cclxuICAgICAgPC9kaXY+XHJcbiAgICA8L2Rpdj5cclxuICA8L2Rpdj5cclxuPC9kaXY+XHJcblxyXG4iXX0=
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import { SetFilterOptionRequiredRequest } from '../../../swagger/SwaggerClient';
|
|
3
|
-
import { BeheerSelectFilteroptionDialogComponent } from '../beheer-select-filteroption-dialog/beheer-select-filteroption-dialog.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "../../../swagger/SwaggerClient";
|
|
6
|
-
import * as i2 from "@angular/material/dialog";
|
|
7
|
-
import * as i3 from "@angular/common";
|
|
8
|
-
import * as i4 from "@angular/material/form-field";
|
|
9
|
-
import * as i5 from "@angular/material/input";
|
|
10
|
-
import * as i6 from "@angular/forms";
|
|
11
|
-
import * as i7 from "@angular/material/button";
|
|
12
|
-
export class BeheerRangeinputComponent {
|
|
13
|
-
constructor(FiltersApiClient, dialog, ChangeDetectorRef) {
|
|
14
|
-
this.FiltersApiClient = FiltersApiClient;
|
|
15
|
-
this.dialog = dialog;
|
|
16
|
-
this.ChangeDetectorRef = ChangeDetectorRef;
|
|
17
|
-
this.reload = new EventEmitter();
|
|
18
|
-
}
|
|
19
|
-
RequireRangeInputFilterOption() {
|
|
20
|
-
var dialogRef = this.dialog.open(BeheerSelectFilteroptionDialogComponent);
|
|
21
|
-
dialogRef.afterClosed().subscribe((result) => {
|
|
22
|
-
if (result?.filteroption != null && this.rangeinput) {
|
|
23
|
-
if (result.filteroption > 0) {
|
|
24
|
-
if (confirm("Weet je het zeker?")) {
|
|
25
|
-
this.ChangeDetectorRef.detectChanges();
|
|
26
|
-
var request = new SetFilterOptionRequiredRequest();
|
|
27
|
-
request.filterId = 0;
|
|
28
|
-
request.rangeInputId = this.rangeinput.id;
|
|
29
|
-
request.filterOptionId = result.filteroption;
|
|
30
|
-
this.FiltersApiClient.setFilterOptionRequired(request).subscribe(() => {
|
|
31
|
-
this.reload.emit();
|
|
32
|
-
}, (error) => {
|
|
33
|
-
if (error.status == 400)
|
|
34
|
-
console.log(error.json());
|
|
35
|
-
else {
|
|
36
|
-
console.log('An unexpected error occured');
|
|
37
|
-
console.log(error);
|
|
38
|
-
}
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
RemoveRequireRangeInputFilterOption(require) {
|
|
46
|
-
if (confirm("Weet je het zeker?")) {
|
|
47
|
-
this.ChangeDetectorRef.detectChanges();
|
|
48
|
-
var request = new SetFilterOptionRequiredRequest();
|
|
49
|
-
request.filterId = 0;
|
|
50
|
-
request.rangeInputId = require.affectedRangeInputId;
|
|
51
|
-
request.filterOptionId = require.requiredFilterOptionId;
|
|
52
|
-
this.FiltersApiClient.removeFilterOptionRequired(request).subscribe(() => {
|
|
53
|
-
this.reload.emit();
|
|
54
|
-
}, (error) => {
|
|
55
|
-
if (error.status == 400)
|
|
56
|
-
console.log(error.json());
|
|
57
|
-
else {
|
|
58
|
-
console.log('An unexpected error occured');
|
|
59
|
-
console.log(error);
|
|
60
|
-
}
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
Save() {
|
|
65
|
-
this.FiltersApiClient.saveRangeInputViewModel(this.rangeinput).subscribe(() => {
|
|
66
|
-
this.reload.emit();
|
|
67
|
-
}, (error) => {
|
|
68
|
-
if (error.status == 400)
|
|
69
|
-
console.log(error.json());
|
|
70
|
-
else {
|
|
71
|
-
console.log('An unexpected error occured');
|
|
72
|
-
console.log(error);
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
BeheerRangeinputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: BeheerRangeinputComponent, deps: [{ token: i1.FiltersApiClient }, { token: i2.MatDialog }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
78
|
-
BeheerRangeinputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.0", type: BeheerRangeinputComponent, selector: "app-beheer-rangeinput", inputs: { rangeinput: "rangeinput" }, outputs: { reload: "reload" }, ngImport: i0, template: "<div class=\"filter-name\">\r\n <div class=\"flexauto\">\r\n <mat-form-field appearance=\"fill\" class=\"full-width\">\r\n <mat-label>Name</mat-label>\r\n <input matInput [(ngModel)]=\"rangeinput.name\">\r\n </mat-form-field>\r\n </div>\r\n <div class=\"save-div\">\r\n <button mat-raised-button (click)=\"Save()\">Save</button>\r\n </div>\r\n</div>\r\n<div>\r\n <div class=\"filter-name\">\r\n <div class=\"flexauto\">\r\n Requires\r\n </div>\r\n <button mat-raised-button (click)=\"RequireRangeInputFilterOption()\">FilterOption</button>\r\n </div>\r\n\r\n <div *ngFor=\"let option of rangeinput.requiresRangeInputFilterOptions\" class=\"required-option\" [ngClass]=\"{ 'AND': option.filterOptionRequiredType == 0, 'OR': option.filterOptionRequiredType == 1 }\">\r\n {{ option.requiredFilterName }}: {{ option.requiredFilterOptionName }}\r\n <button mat-raised-button (click)=\"RemoveRequireRangeInputFilterOption(option)\">Remove</button>\r\n </div>\r\n</div>\r\n", styles: [".displayflex{display:flex;gap:10px}.save-div{padding-left:10px}.required-option{border:1px solid #000;border-radius:2px;padding:2px;margin:2px}.AND{border-color:red}.OR{border-color:#0f0}.filter-row{font-size:20px;line-height:30px;margin-bottom:10px}.flexauto{flex:auto}.main-content{padding:10px}.filter-name{font-size:20px;padding:10px;border-bottom:1px solid #000;display:flex}.filter-option:hover{background-color:gray}.filter-options-container{border:1px solid #000;padding:10px;margin:10px}.filter-option{padding:5px;border-bottom:1px solid #000;display:flex;gap:5px}.filter-option-name{flex:auto;line-height:30px;font-size:20px}\n"], dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "directive", type: i6.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i6.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i7.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }] });
|
|
79
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: BeheerRangeinputComponent, decorators: [{
|
|
80
|
-
type: Component,
|
|
81
|
-
args: [{ selector: 'app-beheer-rangeinput', template: "<div class=\"filter-name\">\r\n <div class=\"flexauto\">\r\n <mat-form-field appearance=\"fill\" class=\"full-width\">\r\n <mat-label>Name</mat-label>\r\n <input matInput [(ngModel)]=\"rangeinput.name\">\r\n </mat-form-field>\r\n </div>\r\n <div class=\"save-div\">\r\n <button mat-raised-button (click)=\"Save()\">Save</button>\r\n </div>\r\n</div>\r\n<div>\r\n <div class=\"filter-name\">\r\n <div class=\"flexauto\">\r\n Requires\r\n </div>\r\n <button mat-raised-button (click)=\"RequireRangeInputFilterOption()\">FilterOption</button>\r\n </div>\r\n\r\n <div *ngFor=\"let option of rangeinput.requiresRangeInputFilterOptions\" class=\"required-option\" [ngClass]=\"{ 'AND': option.filterOptionRequiredType == 0, 'OR': option.filterOptionRequiredType == 1 }\">\r\n {{ option.requiredFilterName }}: {{ option.requiredFilterOptionName }}\r\n <button mat-raised-button (click)=\"RemoveRequireRangeInputFilterOption(option)\">Remove</button>\r\n </div>\r\n</div>\r\n", styles: [".displayflex{display:flex;gap:10px}.save-div{padding-left:10px}.required-option{border:1px solid #000;border-radius:2px;padding:2px;margin:2px}.AND{border-color:red}.OR{border-color:#0f0}.filter-row{font-size:20px;line-height:30px;margin-bottom:10px}.flexauto{flex:auto}.main-content{padding:10px}.filter-name{font-size:20px;padding:10px;border-bottom:1px solid #000;display:flex}.filter-option:hover{background-color:gray}.filter-options-container{border:1px solid #000;padding:10px;margin:10px}.filter-option{padding:5px;border-bottom:1px solid #000;display:flex;gap:5px}.filter-option-name{flex:auto;line-height:30px;font-size:20px}\n"] }]
|
|
82
|
-
}], ctorParameters: function () { return [{ type: i1.FiltersApiClient }, { type: i2.MatDialog }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { rangeinput: [{
|
|
83
|
-
type: Input
|
|
84
|
-
}], reload: [{
|
|
85
|
-
type: Output
|
|
86
|
-
}] } });
|
|
87
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmVoZWVyLXJhbmdlaW5wdXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2FwcC9tb2R1bGVzL2ZhYnJpa2FudGVuY29yZS9iZWhlZXIvY29tcG9uZW50cy9iZWhlZXItcmFuZ2VpbnB1dC9iZWhlZXItcmFuZ2VpbnB1dC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvZmFicmlrYW50ZW5jb3JlL2JlaGVlci9jb21wb25lbnRzL2JlaGVlci1yYW5nZWlucHV0L2JlaGVlci1yYW5nZWlucHV0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBcUIsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQUUsTUFBTSx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