fabrikantencore 2.6.11 → 2.6.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{esm2020 → esm2022}/fabrikantencore.mjs +4 -4
- package/{esm2020 → esm2022}/public_api.mjs +12 -12
- package/esm2022/src/app/modules/fabrikantencore/beheer/components/beheer-categories/beheer-categories.component.mjs +49 -0
- package/esm2022/src/app/modules/fabrikantencore/beheer/components/beheer-connect-category-dialog/beheer-connect-category-dialog.component.mjs +73 -0
- package/esm2022/src/app/modules/fabrikantencore/beheer/components/beheer-deeplink/beheer-deeplink.component.mjs +54 -0
- package/esm2022/src/app/modules/fabrikantencore/beheer/components/beheer-display-ebo/beheer-display-ebo.component.mjs +30 -0
- package/esm2022/src/app/modules/fabrikantencore/beheer/components/beheer-ebo-koppel/beheer-ebo-koppel/beheer-ebo-koppel.component.mjs +139 -0
- package/esm2022/src/app/modules/fabrikantencore/beheer/components/beheer-filter/beheer-filter.component.mjs +211 -0
- package/esm2022/src/app/modules/fabrikantencore/beheer/components/beheer-filters/beheer-filters.component.mjs +88 -0
- package/esm2022/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets-dialog/beheer-import-sets-dialog.component.mjs +59 -0
- package/esm2022/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets-ebo/beheer-import-sets-ebo.component.mjs +99 -0
- package/esm2022/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets-eigenschap/beheer-import-sets-eigenschap.component.mjs +34 -0
- package/esm2022/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets.component.mjs +80 -0
- package/esm2022/src/app/modules/fabrikantencore/beheer/components/beheer-inlog/beheer-inlog.component.mjs +49 -0
- package/esm2022/src/app/modules/fabrikantencore/beheer/components/beheer-main/beheer-main.component.mjs +21 -0
- package/esm2022/src/app/modules/fabrikantencore/beheer/components/beheer-nav/beheer-nav.component.mjs +47 -0
- package/esm2022/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-bcbproduct/beheer-products-bcbproduct.component.mjs +56 -0
- package/esm2022/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-connect-rangeinput/beheer-products-connect-rangeinput.component.mjs +125 -0
- package/esm2022/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-ebo/beheer-products-ebo.component.mjs +185 -0
- package/esm2022/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-eigenschap/beheer-products-eigenschap.component.mjs +216 -0
- package/esm2022/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-eigenschap-bereik/beheer-products-eigenschap-bereik.component.mjs +18 -0
- package/esm2022/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-koppel-filteroption-dailog/beheer-products-koppel-filteroption-dailog.component.mjs +143 -0
- package/esm2022/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-product/beheer-products-product.component.mjs +32 -0
- package/esm2022/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products.component.mjs +150 -0
- package/esm2022/src/app/modules/fabrikantencore/beheer/components/beheer-rangeinput/beheer-rangeinput.component.mjs +87 -0
- package/esm2022/src/app/modules/fabrikantencore/beheer/components/beheer-searchproducts/beheer-searchproducts-koppel-dialog/beheer-searchproducts-koppel-dialog.component.mjs +85 -0
- package/esm2022/src/app/modules/fabrikantencore/beheer/components/beheer-searchproducts/beheer-searchproducts.component.mjs +299 -0
- package/esm2022/src/app/modules/fabrikantencore/beheer/components/beheer-select-filter-dialog/beheer-select-filter-dialog.component.mjs +101 -0
- package/esm2022/src/app/modules/fabrikantencore/beheer/components/beheer-select-filteroption-dialog/beheer-select-filteroption-dialog.component.mjs +82 -0
- package/esm2022/src/app/modules/fabrikantencore/beheer/components/beheer-settings/beheer-settings-boolean/beheer-settings-boolean.component.mjs +43 -0
- package/esm2022/src/app/modules/fabrikantencore/beheer/components/beheer-settings/beheer-settings-options/beheer-settings-options.component.mjs +27 -0
- package/esm2022/src/app/modules/fabrikantencore/beheer/components/beheer-settings/beheer-settings-string/beheer-settings-string.component.mjs +27 -0
- package/esm2022/src/app/modules/fabrikantencore/beheer/components/beheer-settings/beheer-settings.component.mjs +30 -0
- package/esm2022/src/app/modules/fabrikantencore/beheer/components/beheer-translate/beheer-translate.component.mjs +289 -0
- package/esm2022/src/app/modules/fabrikantencore/beheer/components/beheer-users/beheer-users.component.mjs +143 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-actionmenu/fab-actionmenu.component.mjs +158 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-bcb-product/fab-bcb-product.component.mjs +15 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-breadcrumb/fab-breadcrumb.component.mjs +86 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-categories/fab-categories.component.mjs +36 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-category-navigator/fab-category-navigator.component.mjs +69 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-category-tile/fab-category-tile.component.mjs +55 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-filter/fab-filter.component.mjs +134 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-filter-colour/fab-filter-colour-dialog/fab-filter-colour-dialog.component.mjs +320 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-filter-colour/fab-filter-colour.component.mjs +64 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-filter-colour-label/fab-filter-colour-label.component.mjs +64 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-filter-fold/fab-filter-fold.component.mjs +94 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-filter-label/fab-filter-label.component.mjs +134 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-filters/fab-filters.component.mjs +49 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-filters-input/fab-filters-input.component.mjs +59 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-filters-overview/fab-filters-overview.component.mjs +34 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-flag/fab-flag.component.mjs +18 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-header/fab-header.component.mjs +63 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-iframe/fab-iframe.component.mjs +31 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-input/fab-input.component.mjs +31 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-language-select/fab-language-select.component.mjs +26 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-loader/fab-loader.component.mjs +16 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-multiselect/fab-multiselect.component.mjs +53 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-multiselect-fold/fab-multiselect-fold.component.mjs +45 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-product/fab-product-bestek/fab-product-bestek.component.mjs +53 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-product/fab-product-info/fab-product-info-photo/fab-product-info-photo.component.mjs +36 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-product/fab-product-info/fab-product-info-photo-dialog/fab-product-info-photo-dialog.component.mjs +24 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-product/fab-product-info/fab-product-info.component.mjs +47 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-product/fab-product.component.mjs +115 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-product/fab-toebehoren/fab-toebehoren.component.mjs +100 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-product-select/fab-product-select.component.mjs +79 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-product-tile/fab-product-tile.component.mjs +59 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-range-input/fab-range-input.component.mjs +99 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-range-input-fold/fab-range-input-fold.component.mjs +45 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-select-bcbproduct/fab-select-bcbproduct.component.mjs +30 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-start/fab-start.component.mjs +31 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-svg-viewer/fab-svg-viewer.component.mjs +75 -0
- package/esm2022/src/app/modules/fabrikantencore/components/fab-texture/fab-texture.component.mjs +48 -0
- package/{esm2020 → esm2022}/src/app/modules/fabrikantencore/components/fab-webgl-viewer/fab-webgl-viewer.component.mjs +96 -89
- package/esm2022/src/app/modules/fabrikantencore/fabrikantencore.module.mjs +483 -0
- package/esm2022/src/app/modules/fabrikantencore/helpers/auth.guard.mjs +33 -0
- package/esm2022/src/app/modules/fabrikantencore/helpers/basic-auth.interceptor.mjs +28 -0
- package/esm2022/src/app/modules/fabrikantencore/helpers/error.interceptor.mjs +29 -0
- package/esm2022/src/app/modules/fabrikantencore/services/authentication.service.mjs +74 -0
- package/esm2022/src/app/modules/fabrikantencore/services/bestek.service.mjs +90 -0
- package/esm2022/src/app/modules/fabrikantencore/services/fabrikanten.service.mjs +988 -0
- package/esm2022/src/app/modules/fabrikantencore/services/importsets.service.mjs +137 -0
- package/esm2022/src/app/modules/fabrikantencore/services/mobile.service.mjs +50 -0
- package/esm2022/src/app/modules/fabrikantencore/services/navigate.service.mjs +42 -0
- package/esm2022/src/app/modules/fabrikantencore/services/photo.service.mjs +102 -0
- package/esm2022/src/app/modules/fabrikantencore/services/products.service.mjs +223 -0
- package/esm2022/src/app/modules/fabrikantencore/services/projectsetting.service.mjs +94 -0
- package/esm2022/src/app/modules/fabrikantencore/services/statistics.service.mjs +82 -0
- package/esm2022/src/app/modules/fabrikantencore/services/svg.service.mjs +79 -0
- package/esm2022/src/app/modules/fabrikantencore/services/texture.service.mjs +31 -0
- package/esm2022/src/app/modules/fabrikantencore/services/toebehoren.service.mjs +57 -0
- package/esm2022/src/app/modules/fabrikantencore/services/translate.service.mjs +135 -0
- package/esm2022/src/app/modules/fabrikantencore/services/webgl.service.mjs +64 -0
- package/{esm2020 → esm2022}/src/app/modules/fabrikantencore/swagger/SwaggerClient.mjs +11481 -10774
- package/{fesm2020 → fesm2022}/fabrikantencore.mjs +18860 -17864
- package/fesm2022/fabrikantencore.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/package.json +23 -27
- package/public_api.d.ts +12 -12
- package/src/app/modules/fabrikantencore/beheer/components/beheer-categories/beheer-categories.component.d.ts +14 -14
- package/src/app/modules/fabrikantencore/beheer/components/beheer-connect-category-dialog/beheer-connect-category-dialog.component.d.ts +22 -22
- package/src/app/modules/fabrikantencore/beheer/components/beheer-deeplink/beheer-deeplink.component.d.ts +19 -19
- package/src/app/modules/fabrikantencore/beheer/components/beheer-display-ebo/beheer-display-ebo.component.d.ts +11 -11
- package/src/app/modules/fabrikantencore/beheer/components/beheer-ebo-koppel/beheer-ebo-koppel/beheer-ebo-koppel.component.d.ts +23 -23
- package/src/app/modules/fabrikantencore/beheer/components/beheer-filter/beheer-filter.component.d.ts +30 -30
- package/src/app/modules/fabrikantencore/beheer/components/beheer-filters/beheer-filters.component.d.ts +24 -24
- package/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets-dialog/beheer-import-sets-dialog.component.d.ts +20 -20
- package/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets-ebo/beheer-import-sets-ebo.component.d.ts +29 -29
- package/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets-eigenschap/beheer-import-sets-eigenschap.component.d.ts +14 -14
- package/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets.component.d.ts +23 -23
- package/src/app/modules/fabrikantencore/beheer/components/beheer-inlog/beheer-inlog.component.d.ts +21 -21
- package/src/app/modules/fabrikantencore/beheer/components/beheer-main/beheer-main.component.d.ts +10 -10
- package/src/app/modules/fabrikantencore/beheer/components/beheer-nav/beheer-nav.component.d.ts +19 -19
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-bcbproduct/beheer-products-bcbproduct.component.d.ts +17 -17
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-connect-rangeinput/beheer-products-connect-rangeinput.component.d.ts +34 -34
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-ebo/beheer-products-ebo.component.d.ts +36 -36
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-eigenschap/beheer-products-eigenschap.component.d.ts +30 -30
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-eigenschap-bereik/beheer-products-eigenschap-bereik.component.d.ts +10 -10
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-koppel-filteroption-dailog/beheer-products-koppel-filteroption-dailog.component.d.ts +36 -36
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-product/beheer-products-product.component.d.ts +14 -14
- package/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products.component.d.ts +26 -26
- package/src/app/modules/fabrikantencore/beheer/components/beheer-rangeinput/beheer-rangeinput.component.d.ts +17 -17
- package/src/app/modules/fabrikantencore/beheer/components/beheer-searchproducts/beheer-searchproducts-koppel-dialog/beheer-searchproducts-koppel-dialog.component.d.ts +23 -23
- package/src/app/modules/fabrikantencore/beheer/components/beheer-searchproducts/beheer-searchproducts.component.d.ts +41 -41
- package/src/app/modules/fabrikantencore/beheer/components/beheer-select-filter-dialog/beheer-select-filter-dialog.component.d.ts +30 -30
- package/src/app/modules/fabrikantencore/beheer/components/beheer-select-filteroption-dialog/beheer-select-filteroption-dialog.component.d.ts +25 -23
- package/src/app/modules/fabrikantencore/beheer/components/beheer-settings/beheer-settings-boolean/beheer-settings-boolean.component.d.ts +14 -14
- package/src/app/modules/fabrikantencore/beheer/components/beheer-settings/beheer-settings-options/beheer-settings-options.component.d.ts +12 -12
- package/src/app/modules/fabrikantencore/beheer/components/beheer-settings/beheer-settings-string/beheer-settings-string.component.d.ts +12 -12
- package/src/app/modules/fabrikantencore/beheer/components/beheer-settings/beheer-settings.component.d.ts +11 -11
- package/src/app/modules/fabrikantencore/beheer/components/beheer-translate/beheer-translate.component.d.ts +44 -28
- package/src/app/modules/fabrikantencore/beheer/components/beheer-users/beheer-users.component.d.ts +25 -25
- package/src/app/modules/fabrikantencore/components/fab-actionmenu/fab-actionmenu.component.d.ts +51 -51
- package/src/app/modules/fabrikantencore/components/fab-bcb-product/fab-bcb-product.component.d.ts +8 -8
- package/src/app/modules/fabrikantencore/components/fab-breadcrumb/fab-breadcrumb.component.d.ts +24 -24
- package/src/app/modules/fabrikantencore/components/fab-categories/fab-categories.component.d.ts +15 -15
- package/src/app/modules/fabrikantencore/components/fab-category-navigator/fab-category-navigator.component.d.ts +23 -23
- package/src/app/modules/fabrikantencore/components/fab-category-tile/fab-category-tile.component.d.ts +22 -22
- package/src/app/modules/fabrikantencore/components/fab-filter/fab-filter.component.d.ts +28 -28
- package/src/app/modules/fabrikantencore/components/fab-filter-colour/fab-filter-colour-dialog/fab-filter-colour-dialog.component.d.ts +38 -38
- package/src/app/modules/fabrikantencore/components/fab-filter-colour/fab-filter-colour.component.d.ts +22 -22
- package/src/app/modules/fabrikantencore/components/fab-filter-colour-label/fab-filter-colour-label.component.d.ts +22 -22
- package/src/app/modules/fabrikantencore/components/fab-filter-fold/fab-filter-fold.component.d.ts +28 -28
- package/src/app/modules/fabrikantencore/components/fab-filter-label/fab-filter-label.component.d.ts +28 -28
- package/src/app/modules/fabrikantencore/components/fab-filters/fab-filters.component.d.ts +23 -23
- package/src/app/modules/fabrikantencore/components/fab-filters-input/fab-filters-input.component.d.ts +19 -19
- package/src/app/modules/fabrikantencore/components/fab-filters-overview/fab-filters-overview.component.d.ts +12 -12
- package/src/app/modules/fabrikantencore/components/fab-flag/fab-flag.component.d.ts +9 -9
- package/src/app/modules/fabrikantencore/components/fab-header/fab-header.component.d.ts +20 -20
- package/src/app/modules/fabrikantencore/components/fab-iframe/fab-iframe.component.d.ts +12 -12
- package/src/app/modules/fabrikantencore/components/fab-input/fab-input.component.d.ts +9 -9
- package/src/app/modules/fabrikantencore/components/fab-language-select/fab-language-select.component.d.ts +13 -13
- package/src/app/modules/fabrikantencore/components/fab-loader/fab-loader.component.d.ts +8 -8
- package/src/app/modules/fabrikantencore/components/fab-multiselect/fab-multiselect.component.d.ts +20 -20
- package/src/app/modules/fabrikantencore/components/fab-multiselect-fold/fab-multiselect-fold.component.d.ts +20 -20
- package/src/app/modules/fabrikantencore/components/fab-product/fab-product-bestek/fab-product-bestek.component.d.ts +23 -23
- package/src/app/modules/fabrikantencore/components/fab-product/fab-product-info/fab-product-info-photo/fab-product-info-photo.component.d.ts +15 -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 +12 -12
- package/src/app/modules/fabrikantencore/components/fab-product/fab-product-info/fab-product-info.component.d.ts +17 -17
- package/src/app/modules/fabrikantencore/components/fab-product/fab-product.component.d.ts +36 -36
- package/src/app/modules/fabrikantencore/components/fab-product/fab-toebehoren/fab-toebehoren.component.d.ts +28 -28
- package/src/app/modules/fabrikantencore/components/fab-product-select/fab-product-select.component.d.ts +28 -28
- package/src/app/modules/fabrikantencore/components/fab-product-tile/fab-product-tile.component.d.ts +24 -24
- package/src/app/modules/fabrikantencore/components/fab-range-input/fab-range-input.component.d.ts +25 -25
- package/src/app/modules/fabrikantencore/components/fab-range-input-fold/fab-range-input-fold.component.d.ts +20 -20
- package/src/app/modules/fabrikantencore/components/fab-select-bcbproduct/fab-select-bcbproduct.component.d.ts +15 -15
- package/src/app/modules/fabrikantencore/components/fab-start/fab-start.component.d.ts +15 -15
- package/src/app/modules/fabrikantencore/components/fab-svg-viewer/fab-svg-viewer.component.d.ts +26 -26
- package/src/app/modules/fabrikantencore/components/fab-texture/fab-texture.component.d.ts +20 -20
- package/src/app/modules/fabrikantencore/components/fab-webgl-viewer/fab-webgl-viewer.component.d.ts +25 -25
- package/src/app/modules/fabrikantencore/fabrikantencore.module.d.ts +105 -104
- package/src/app/modules/fabrikantencore/helpers/auth.guard.d.ts +11 -11
- package/src/app/modules/fabrikantencore/helpers/basic-auth.interceptor.d.ts +11 -11
- package/src/app/modules/fabrikantencore/helpers/error.interceptor.d.ts +11 -11
- package/src/app/modules/fabrikantencore/services/authentication.service.d.ts +20 -20
- package/src/app/modules/fabrikantencore/services/bestek.service.d.ts +20 -20
- package/src/app/modules/fabrikantencore/services/fabrikanten.service.d.ts +99 -99
- package/src/app/modules/fabrikantencore/services/importsets.service.d.ts +31 -31
- package/src/app/modules/fabrikantencore/services/mobile.service.d.ts +19 -19
- package/src/app/modules/fabrikantencore/services/navigate.service.d.ts +15 -15
- package/src/app/modules/fabrikantencore/services/photo.service.d.ts +20 -20
- package/src/app/modules/fabrikantencore/services/products.service.d.ts +31 -31
- package/src/app/modules/fabrikantencore/services/projectsetting.service.d.ts +20 -20
- package/src/app/modules/fabrikantencore/services/statistics.service.d.ts +17 -17
- package/src/app/modules/fabrikantencore/services/svg.service.d.ts +27 -27
- package/src/app/modules/fabrikantencore/services/texture.service.d.ts +12 -12
- package/src/app/modules/fabrikantencore/services/toebehoren.service.d.ts +18 -18
- package/src/app/modules/fabrikantencore/services/translate.service.d.ts +27 -27
- package/src/app/modules/fabrikantencore/services/webgl.service.d.ts +21 -21
- package/src/app/modules/fabrikantencore/swagger/SwaggerClient.d.ts +2970 -2955
- 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 -49
- 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 -225
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-filters/beheer-filters.component.mjs +0 -87
- 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 -19
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-nav/beheer-nav.component.mjs +0 -48
- 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 -111
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-ebo/beheer-products-ebo.component.mjs +0 -175
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-eigenschap/beheer-products-eigenschap.component.mjs +0 -208
- 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 -144
- 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 -150
- 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 -104
- 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 -126
- package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-users/beheer-users.component.mjs +0 -143
- package/esm2020/src/app/modules/fabrikantencore/components/fab-actionmenu/fab-actionmenu.component.mjs +0 -147
- 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 -80
- 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 -68
- package/esm2020/src/app/modules/fabrikantencore/components/fab-category-tile/fab-category-tile.component.mjs +0 -49
- package/esm2020/src/app/modules/fabrikantencore/components/fab-filter/fab-filter.component.mjs +0 -128
- package/esm2020/src/app/modules/fabrikantencore/components/fab-filter-colour/fab-filter-colour-dialog/fab-filter-colour-dialog.component.mjs +0 -305
- package/esm2020/src/app/modules/fabrikantencore/components/fab-filter-colour/fab-filter-colour.component.mjs +0 -57
- package/esm2020/src/app/modules/fabrikantencore/components/fab-filter-colour-label/fab-filter-colour-label.component.mjs +0 -57
- package/esm2020/src/app/modules/fabrikantencore/components/fab-filter-fold/fab-filter-fold.component.mjs +0 -88
- package/esm2020/src/app/modules/fabrikantencore/components/fab-filter-label/fab-filter-label.component.mjs +0 -128
- package/esm2020/src/app/modules/fabrikantencore/components/fab-filters/fab-filters.component.mjs +0 -42
- package/esm2020/src/app/modules/fabrikantencore/components/fab-filters-input/fab-filters-input.component.mjs +0 -55
- 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 -48
- package/esm2020/src/app/modules/fabrikantencore/components/fab-multiselect-fold/fab-multiselect-fold.component.mjs +0 -40
- 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 -42
- package/esm2020/src/app/modules/fabrikantencore/components/fab-product/fab-product.component.mjs +0 -106
- package/esm2020/src/app/modules/fabrikantencore/components/fab-product/fab-toebehoren/fab-toebehoren.component.mjs +0 -93
- package/esm2020/src/app/modules/fabrikantencore/components/fab-product-select/fab-product-select.component.mjs +0 -70
- package/esm2020/src/app/modules/fabrikantencore/components/fab-product-tile/fab-product-tile.component.mjs +0 -52
- package/esm2020/src/app/modules/fabrikantencore/components/fab-range-input/fab-range-input.component.mjs +0 -92
- package/esm2020/src/app/modules/fabrikantencore/components/fab-range-input-fold/fab-range-input-fold.component.mjs +0 -40
- package/esm2020/src/app/modules/fabrikantencore/components/fab-select-bcbproduct/fab-select-bcbproduct.component.mjs +0 -26
- package/esm2020/src/app/modules/fabrikantencore/components/fab-start/fab-start.component.mjs +0 -26
- package/esm2020/src/app/modules/fabrikantencore/components/fab-svg-viewer/fab-svg-viewer.component.mjs +0 -66
- package/esm2020/src/app/modules/fabrikantencore/components/fab-texture/fab-texture.component.mjs +0 -42
- package/esm2020/src/app/modules/fabrikantencore/fabrikantencore.module.mjs +0 -478
- package/esm2020/src/app/modules/fabrikantencore/helpers/auth.guard.mjs +0 -30
- 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 -70
- package/esm2020/src/app/modules/fabrikantencore/services/bestek.service.mjs +0 -91
- package/esm2020/src/app/modules/fabrikantencore/services/fabrikanten.service.mjs +0 -1066
- package/esm2020/src/app/modules/fabrikantencore/services/importsets.service.mjs +0 -137
- 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 -99
- package/esm2020/src/app/modules/fabrikantencore/services/products.service.mjs +0 -226
- package/esm2020/src/app/modules/fabrikantencore/services/projectsetting.service.mjs +0 -90
- package/esm2020/src/app/modules/fabrikantencore/services/statistics.service.mjs +0 -82
- package/esm2020/src/app/modules/fabrikantencore/services/svg.service.mjs +0 -78
- 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 -127
- package/esm2020/src/app/modules/fabrikantencore/services/webgl.service.mjs +0 -66
- package/fesm2015/fabrikantencore.mjs +0 -18179
- package/fesm2015/fabrikantencore.mjs.map +0 -1
- package/fesm2020/fabrikantencore.mjs.map +0 -1
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { TranslationCategory, TranslationSubCategory } from '../../swagger/SwaggerClient';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../../services/fabrikanten.service";
|
|
5
|
+
import * as i2 from "../../services/translate.service";
|
|
6
|
+
import * as i3 from "@angular/common";
|
|
7
|
+
import * as i4 from "@angular/material/legacy-checkbox";
|
|
8
|
+
class FabMultiselectComponent {
|
|
9
|
+
FabrikantenService;
|
|
10
|
+
TranslateService;
|
|
11
|
+
ChangeDetectorRef;
|
|
12
|
+
_filter;
|
|
13
|
+
get filter() {
|
|
14
|
+
return this._filter;
|
|
15
|
+
}
|
|
16
|
+
set filter(value) {
|
|
17
|
+
this._filter = value;
|
|
18
|
+
}
|
|
19
|
+
get TranslationCategory() {
|
|
20
|
+
return TranslationCategory;
|
|
21
|
+
}
|
|
22
|
+
get TranslationSubCategory() {
|
|
23
|
+
return TranslationSubCategory;
|
|
24
|
+
}
|
|
25
|
+
constructor(FabrikantenService, TranslateService, ChangeDetectorRef) {
|
|
26
|
+
this.FabrikantenService = FabrikantenService;
|
|
27
|
+
this.TranslateService = TranslateService;
|
|
28
|
+
this.ChangeDetectorRef = ChangeDetectorRef;
|
|
29
|
+
}
|
|
30
|
+
SelectOption(id) {
|
|
31
|
+
this.FabrikantenService.SelectOption(this.filter.id, id, this.ChangeDetectorRef);
|
|
32
|
+
}
|
|
33
|
+
IsChecked(id) {
|
|
34
|
+
if (this._filter.selectedOptions != null) {
|
|
35
|
+
for (var i = 0; i < this._filter.selectedOptions.length; i++) {
|
|
36
|
+
if (this._filter.selectedOptions[i] == id) {
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
43
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: FabMultiselectComponent, deps: [{ token: i1.FabrikantenService }, { token: i2.TranslateService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
44
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.1", type: FabMultiselectComponent, selector: "app-fab-multiselect", inputs: { filter: "filter" }, ngImport: i0, template: "<div class=\"multiselect-name\">\r\n {{ TranslateService.GetActiveValue(TranslationCategory.Filter, TranslationSubCategory.Name, filter.id) }}\r\n <span *ngIf=\"filter.blocksProductSelect || filter.required\">*</span>\r\n</div>\r\n<ng-container *ngFor=\"let option of filter.options\">\r\n <div *ngIf=\"!option.hidden\" class=\"disableoverflow\">\r\n <mat-checkbox [checked]=\"IsChecked(option.id)\" (change)=\"SelectOption(option.id)\">{{ TranslateService.GetActiveValue(TranslationCategory.FilterOption, TranslationSubCategory.Name, option.id) }}</mat-checkbox>\r\n </div>\r\n</ng-container>\r\n", styles: [".disableoverflow{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}\n"], dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.MatLegacyCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }] });
|
|
45
|
+
}
|
|
46
|
+
export { FabMultiselectComponent };
|
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: FabMultiselectComponent, decorators: [{
|
|
48
|
+
type: Component,
|
|
49
|
+
args: [{ selector: 'app-fab-multiselect', template: "<div class=\"multiselect-name\">\r\n {{ TranslateService.GetActiveValue(TranslationCategory.Filter, TranslationSubCategory.Name, filter.id) }}\r\n <span *ngIf=\"filter.blocksProductSelect || filter.required\">*</span>\r\n</div>\r\n<ng-container *ngFor=\"let option of filter.options\">\r\n <div *ngIf=\"!option.hidden\" class=\"disableoverflow\">\r\n <mat-checkbox [checked]=\"IsChecked(option.id)\" (change)=\"SelectOption(option.id)\">{{ TranslateService.GetActiveValue(TranslationCategory.FilterOption, TranslationSubCategory.Name, option.id) }}</mat-checkbox>\r\n </div>\r\n</ng-container>\r\n", styles: [".disableoverflow{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}\n"] }]
|
|
50
|
+
}], ctorParameters: function () { return [{ type: i1.FabrikantenService }, { type: i2.TranslateService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { filter: [{
|
|
51
|
+
type: Input
|
|
52
|
+
}] } });
|
|
53
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmFiLW11bHRpc2VsZWN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiI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mlsdGVyLmlkKSB9fVxyXG4gIDxzcGFuICpuZ0lmPVwiZmlsdGVyLmJsb2Nrc1Byb2R1Y3RTZWxlY3QgfHwgZmlsdGVyLnJlcXVpcmVkXCI+Kjwvc3Bhbj5cclxuPC9kaXY+XHJcbjxuZy1jb250YWluZXIgKm5nRm9yPVwibGV0IG9wdGlvbiBvZiBmaWx0ZXIub3B0aW9uc1wiPlxyXG4gIDxkaXYgKm5nSWY9XCIhb3B0aW9uLmhpZGRlblwiIGNsYXNzPVwiZGlzYWJsZW92ZXJmbG93XCI+XHJcbiAgICA8bWF0LWNoZWNrYm94IFtjaGVja2VkXT1cIklzQ2hlY2tlZChvcHRpb24uaWQpXCIgKGNoYW5nZSk9XCJTZWxlY3RPcHRpb24ob3B0aW9uLmlkKVwiPnt7IFRyYW5zbGF0ZVNlcnZpY2UuR2V0QWN0aXZlVmFsdWUoVHJhbnNsYXRpb25DYXRlZ29yeS5GaWx0ZXJPcHRpb24sIFRyYW5zbGF0aW9uU3ViQ2F0ZWdvcnkuTmFtZSwgb3B0aW9uLmlkKSB9fTwvbWF0LWNoZWNrYm94PlxyXG4gIDwvZGl2PlxyXG48L25nLWNvbnRhaW5lcj5cclxuIl19
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Component, Input, ViewEncapsulation } from '@angular/core';
|
|
2
|
+
import { TranslationCategory, TranslationSubCategory } from '../../swagger/SwaggerClient';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../../services/fabrikanten.service";
|
|
5
|
+
import * as i2 from "../../services/translate.service";
|
|
6
|
+
import * as i3 from "@angular/common";
|
|
7
|
+
import * as i4 from "@angular/material/icon";
|
|
8
|
+
import * as i5 from "../fab-multiselect/fab-multiselect.component";
|
|
9
|
+
class FabMultiselectFoldComponent {
|
|
10
|
+
FabrikantenService;
|
|
11
|
+
TranslateService;
|
|
12
|
+
ChangeDetectorRef;
|
|
13
|
+
_filter;
|
|
14
|
+
get filter() {
|
|
15
|
+
return this._filter;
|
|
16
|
+
}
|
|
17
|
+
set filter(value) {
|
|
18
|
+
this._filter = value;
|
|
19
|
+
}
|
|
20
|
+
get TranslationCategory() {
|
|
21
|
+
return TranslationCategory;
|
|
22
|
+
}
|
|
23
|
+
get TranslationSubCategory() {
|
|
24
|
+
return TranslationSubCategory;
|
|
25
|
+
}
|
|
26
|
+
Opened = false;
|
|
27
|
+
constructor(FabrikantenService, TranslateService, ChangeDetectorRef) {
|
|
28
|
+
this.FabrikantenService = FabrikantenService;
|
|
29
|
+
this.TranslateService = TranslateService;
|
|
30
|
+
this.ChangeDetectorRef = ChangeDetectorRef;
|
|
31
|
+
}
|
|
32
|
+
ChangeState() {
|
|
33
|
+
this.Opened = !this.Opened;
|
|
34
|
+
}
|
|
35
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: FabMultiselectFoldComponent, deps: [{ token: i1.FabrikantenService }, { token: i2.TranslateService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
36
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.1", type: FabMultiselectFoldComponent, selector: "app-fab-multiselect-fold", inputs: { filter: "filter" }, ngImport: i0, template: "<ng-container *ngIf=\"!filter.hidden\">\r\n <div class=\"main-fold\">\r\n <div class=\"row selectbar\" (click)=\"ChangeState()\">\r\n <div class=\"flexauto namebar\">\r\n {{ TranslateService.GetActiveValue(TranslationCategory.Filter, TranslationSubCategory.Name, filter.id) }}\r\n <span *ngIf=\"filter.blocksProductSelect || filter.required\">*</span>\r\n </div>\r\n <div>\r\n <mat-icon *ngIf=\"!Opened\" class=\"expand_more\">add</mat-icon>\r\n <mat-icon *ngIf=\"Opened\" class=\"expand_less\">remove</mat-icon>\r\n </div>\r\n </div>\r\n <div class=\"collapsible-wrapper\" [ngClass]=\"{'collapsed': !Opened}\">\r\n <div class=\"collapsible\">\r\n <div class=\"content\">\r\n <app-fab-multiselect [filter]=\"filter\"></app-fab-multiselect>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</ng-container>\r\n", styles: ["app-fab-multiselect-fold .multiselect-name{display:none}app-fab-multiselect-fold .flexauto{flex:auto}app-fab-multiselect-fold .namebar{font-size:14px;line-height:24px}app-fab-multiselect-fold .main-fold{overflow:hidden;border:1px solid #AAA;border-radius:2px;margin-bottom:5px}app-fab-multiselect-fold .selectbar{cursor:pointer;padding:5px}app-fab-multiselect-fold .content{padding:5px}app-fab-multiselect-fold .collapsible-wrapper{display:flex;overflow:hidden}app-fab-multiselect-fold .collapsible-wrapper:after{content:\"\";height:50px;transition:height .3s linear,max-height 0s .3s linear;max-height:0px}app-fab-multiselect-fold .collapsible{transition:margin-bottom .3s cubic-bezier(0,0,0,1);margin-bottom:0;max-height:1000000px}app-fab-multiselect-fold .collapsible-wrapper.collapsed>.collapsible{margin-bottom:-2000px;transition:margin-bottom .3s cubic-bezier(1,0,1,1),visibility 0s .3s,max-height 0s .3s;visibility:hidden;max-height:0}app-fab-multiselect-fold .collapsible-wrapper.collapsed:after{height:0;transition:height .3s linear;max-height:50px}\n"], dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i5.FabMultiselectComponent, selector: "app-fab-multiselect", inputs: ["filter"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
37
|
+
}
|
|
38
|
+
export { FabMultiselectFoldComponent };
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: FabMultiselectFoldComponent, decorators: [{
|
|
40
|
+
type: Component,
|
|
41
|
+
args: [{ selector: 'app-fab-multiselect-fold', encapsulation: ViewEncapsulation.None, template: "<ng-container *ngIf=\"!filter.hidden\">\r\n <div class=\"main-fold\">\r\n <div class=\"row selectbar\" (click)=\"ChangeState()\">\r\n <div class=\"flexauto namebar\">\r\n {{ TranslateService.GetActiveValue(TranslationCategory.Filter, TranslationSubCategory.Name, filter.id) }}\r\n <span *ngIf=\"filter.blocksProductSelect || filter.required\">*</span>\r\n </div>\r\n <div>\r\n <mat-icon *ngIf=\"!Opened\" class=\"expand_more\">add</mat-icon>\r\n <mat-icon *ngIf=\"Opened\" class=\"expand_less\">remove</mat-icon>\r\n </div>\r\n </div>\r\n <div class=\"collapsible-wrapper\" [ngClass]=\"{'collapsed': !Opened}\">\r\n <div class=\"collapsible\">\r\n <div class=\"content\">\r\n <app-fab-multiselect [filter]=\"filter\"></app-fab-multiselect>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</ng-container>\r\n", styles: ["app-fab-multiselect-fold .multiselect-name{display:none}app-fab-multiselect-fold .flexauto{flex:auto}app-fab-multiselect-fold .namebar{font-size:14px;line-height:24px}app-fab-multiselect-fold .main-fold{overflow:hidden;border:1px solid #AAA;border-radius:2px;margin-bottom:5px}app-fab-multiselect-fold .selectbar{cursor:pointer;padding:5px}app-fab-multiselect-fold .content{padding:5px}app-fab-multiselect-fold .collapsible-wrapper{display:flex;overflow:hidden}app-fab-multiselect-fold .collapsible-wrapper:after{content:\"\";height:50px;transition:height .3s linear,max-height 0s .3s linear;max-height:0px}app-fab-multiselect-fold .collapsible{transition:margin-bottom .3s cubic-bezier(0,0,0,1);margin-bottom:0;max-height:1000000px}app-fab-multiselect-fold .collapsible-wrapper.collapsed>.collapsible{margin-bottom:-2000px;transition:margin-bottom .3s cubic-bezier(1,0,1,1),visibility 0s .3s,max-height 0s .3s;visibility:hidden;max-height:0}app-fab-multiselect-fold .collapsible-wrapper.collapsed:after{height:0;transition:height .3s linear;max-height:50px}\n"] }]
|
|
42
|
+
}], ctorParameters: function () { return [{ type: i1.FabrikantenService }, { type: i2.TranslateService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { filter: [{
|
|
43
|
+
type: Input
|
|
44
|
+
}] } });
|
|
45
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmFiLW11bHRpc2VsZWN0LWZvbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2FwcC9tb2R1bGVzL2ZhYnJpa2FudGVuY29yZS9jb21wb25lbnRzL2ZhYi1tdWx0aXNlbGVjdC1mb2xkL2ZhYi1tdWx0aXNlbGVjdC1mb2xkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvbW9kdWxlcy9mYWJyaWthbnRlbmNvcmUvY29tcG9uZW50cy9mYWItbXVsdGlzZWxlY3QtZm9sZC9mYWItbXVsdGlzZWxlY3QtZm9sZC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQXFCLFNBQVMsRUFBZ0IsS0FBSyxFQUFVLGlCQUFpQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRzdHLE9BQU8sRUFBZ0UsbUJBQW1CLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQzs7Ozs7OztBQUV4SixNQU1hLDJCQUEyQjtJQXFCbEI7SUFDWDtJQUNDO0lBdEJWLE9BQU8sQ0FBNkI7SUFDcEMsSUFBSSxNQUFNO1FBQ1IsT0FBTyxJQUFJLENBQUMsT0FBTyxDQUFDO0lBQ3RCLENBQUM7SUFFRCxJQUFhLE1BQU0sQ0FBQyxLQUFpQztRQUNuRCxJQUFJLENBQUMsT0FBTyxHQUFHLEtBQUssQ0FBQztJQUV2QixDQUFDO0lBRUQsSUFBVyxtQkFBbUI7UUFDNUIsT0FBTy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dC1pY29uICpuZ0lmPVwiT3BlbmVkXCIgY2xhc3M9XCJleHBhbmRfbGVzc1wiPnJlbW92ZTwvbWF0LWljb24+XHJcbiAgICAgIDwvZGl2PlxyXG4gICAgPC9kaXY+XHJcbiAgICA8ZGl2IGNsYXNzPVwiY29sbGFwc2libGUtd3JhcHBlclwiIFtuZ0NsYXNzXT1cInsnY29sbGFwc2VkJzogIU9wZW5lZH1cIj5cclxuICAgICAgPGRpdiBjbGFzcz1cImNvbGxhcHNpYmxlXCI+XHJcbiAgICAgICAgPGRpdiBjbGFzcz1cImNvbnRlbnRcIj5cclxuICAgICAgICAgIDxhcHAtZmFiLW11bHRpc2VsZWN0IFtmaWx0ZXJdPVwiZmlsdGVyXCI+PC9hcHAtZmFiLW11bHRpc2VsZWN0PlxyXG4gICAgICAgIDwvZGl2PlxyXG4gICAgICA8L2Rpdj5cclxuICAgIDwvZGl2PlxyXG4gIDwvZGl2PlxyXG48L25nLWNvbnRhaW5lcj5cclxuIl19
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Component, ViewChild, ViewEncapsulation } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../../../services/mobile.service";
|
|
4
|
+
import * as i2 from "../../../services/fabrikanten.service";
|
|
5
|
+
import * as i3 from "../../../services/translate.service";
|
|
6
|
+
import * as i4 from "../../../services/bestek.service";
|
|
7
|
+
import * as i5 from "@angular/common";
|
|
8
|
+
import * as i6 from "@angular/material/legacy-card";
|
|
9
|
+
import * as i7 from "../../fab-loader/fab-loader.component";
|
|
10
|
+
import * as i8 from "../../fab-actionmenu/fab-actionmenu.component";
|
|
11
|
+
import * as i9 from "../../fab-select-bcbproduct/fab-select-bcbproduct.component";
|
|
12
|
+
class FabProductBestekComponent {
|
|
13
|
+
MobileService;
|
|
14
|
+
FabrikantenService;
|
|
15
|
+
TranslateService;
|
|
16
|
+
BestekService;
|
|
17
|
+
ChangeDetectorRef;
|
|
18
|
+
fabProductBestek;
|
|
19
|
+
constructor(MobileService, FabrikantenService, TranslateService, BestekService, ChangeDetectorRef) {
|
|
20
|
+
this.MobileService = MobileService;
|
|
21
|
+
this.FabrikantenService = FabrikantenService;
|
|
22
|
+
this.TranslateService = TranslateService;
|
|
23
|
+
this.BestekService = BestekService;
|
|
24
|
+
this.ChangeDetectorRef = ChangeDetectorRef;
|
|
25
|
+
}
|
|
26
|
+
ngDoCheck() {
|
|
27
|
+
this.BestekService.fabProductBestek = this.fabProductBestek;
|
|
28
|
+
}
|
|
29
|
+
Select(bcbproduct) {
|
|
30
|
+
}
|
|
31
|
+
SelectedTabChange(event) {
|
|
32
|
+
this.BestekService.TypeBestek = event.value;
|
|
33
|
+
}
|
|
34
|
+
ShowBestek() {
|
|
35
|
+
if (!this.FabrikantenService.ShowVariants()) {
|
|
36
|
+
if (this.BestekService.FabrikantenBestekViewModel != undefined) {
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: FabProductBestekComponent, deps: [{ token: i1.MobileService }, { token: i2.FabrikantenService }, { token: i3.TranslateService }, { token: i4.BestekService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
43
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.1", type: FabProductBestekComponent, selector: "app-fab-product-bestek", viewQueries: [{ propertyName: "fabProductBestek", first: true, predicate: ["fabProductBestek"], descendants: true }], ngImport: i0, template: "<div class=\"main-window\" [ngClass]=\"{'tinybutton': this.MobileService.MobileInterfaceTiny}\">\r\n <div *ngIf=\"FabrikantenService.ShowVariants()\" class=\"multiplevariants\">\r\n <app-fab-select-bcbproduct></app-fab-select-bcbproduct> \r\n </div>\r\n <app-fab-loader *ngIf=\"BestekService.Loading\"></app-fab-loader>\r\n <div *ngIf=\"ShowBestek()\">\r\n <div *ngIf=\"!BestekService.Loading\">\r\n\r\n <div class=\"bestek-viewer\" #fabProductBestek [innerHTML]=\"BestekService.GetBestekTekst()\">\r\n </div>\r\n\r\n <div class=\"bestek-settings\" *ngIf=\"MobileService.ShowActionMenu()\">\r\n <mat-card>\r\n <mat-card-content>\r\n <app-fab-actionmenu [display]=\"'Bestek'\"></app-fab-actionmenu>\r\n </mat-card-content>\r\n </mat-card>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: ["app-fab-product-bestek .multiplevariants{padding:10px}app-fab-product-bestek .bestek-settings{position:absolute;top:10px;right:10px;display:flex}app-fab-product-bestek .tinybutton{font-size:9px}app-fab-product-bestek .row-title{text-transform:capitalize;flex:auto}app-fab-product-bestek .main-window{margin:10px}app-fab-product-bestek .bestek-type-select{text-align:right}app-fab-product-bestek .bestek-type-select-mobile{padding-top:10px}app-fab-product-bestek .button{margin:5px;width:100%}app-fab-product-bestek .bestek-style2{width:80px}app-fab-product-bestek .bestek-style3{width:50px}app-fab-product-bestek .bestek-style4{width:20px}app-fab-product-bestek .bestek-style5{color:red}app-fab-product-bestek .bestek-style6{color:gray}app-fab-product-bestek .bestek-style7{color:#000}app-fab-product-bestek .bestek-style8{width:25px}\n"], dependencies: [{ kind: "directive", type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i6.MatLegacyCard, selector: "mat-card", exportAs: ["matCard"] }, { kind: "directive", type: i6.MatLegacyCardContent, selector: "mat-card-content, [mat-card-content], [matCardContent]" }, { kind: "component", type: i7.FabLoaderComponent, selector: "app-fab-loader" }, { kind: "component", type: i8.FabActionmenuComponent, selector: "app-fab-actionmenu", inputs: ["display"] }, { kind: "component", type: i9.FabSelectBcbproductComponent, selector: "app-fab-select-bcbproduct" }], encapsulation: i0.ViewEncapsulation.None });
|
|
44
|
+
}
|
|
45
|
+
export { FabProductBestekComponent };
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: FabProductBestekComponent, decorators: [{
|
|
47
|
+
type: Component,
|
|
48
|
+
args: [{ selector: 'app-fab-product-bestek', encapsulation: ViewEncapsulation.None, template: "<div class=\"main-window\" [ngClass]=\"{'tinybutton': this.MobileService.MobileInterfaceTiny}\">\r\n <div *ngIf=\"FabrikantenService.ShowVariants()\" class=\"multiplevariants\">\r\n <app-fab-select-bcbproduct></app-fab-select-bcbproduct> \r\n </div>\r\n <app-fab-loader *ngIf=\"BestekService.Loading\"></app-fab-loader>\r\n <div *ngIf=\"ShowBestek()\">\r\n <div *ngIf=\"!BestekService.Loading\">\r\n\r\n <div class=\"bestek-viewer\" #fabProductBestek [innerHTML]=\"BestekService.GetBestekTekst()\">\r\n </div>\r\n\r\n <div class=\"bestek-settings\" *ngIf=\"MobileService.ShowActionMenu()\">\r\n <mat-card>\r\n <mat-card-content>\r\n <app-fab-actionmenu [display]=\"'Bestek'\"></app-fab-actionmenu>\r\n </mat-card-content>\r\n </mat-card>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: ["app-fab-product-bestek .multiplevariants{padding:10px}app-fab-product-bestek .bestek-settings{position:absolute;top:10px;right:10px;display:flex}app-fab-product-bestek .tinybutton{font-size:9px}app-fab-product-bestek .row-title{text-transform:capitalize;flex:auto}app-fab-product-bestek .main-window{margin:10px}app-fab-product-bestek .bestek-type-select{text-align:right}app-fab-product-bestek .bestek-type-select-mobile{padding-top:10px}app-fab-product-bestek .button{margin:5px;width:100%}app-fab-product-bestek .bestek-style2{width:80px}app-fab-product-bestek .bestek-style3{width:50px}app-fab-product-bestek .bestek-style4{width:20px}app-fab-product-bestek .bestek-style5{color:red}app-fab-product-bestek .bestek-style6{color:gray}app-fab-product-bestek .bestek-style7{color:#000}app-fab-product-bestek .bestek-style8{width:25px}\n"] }]
|
|
49
|
+
}], ctorParameters: function () { return [{ type: i1.MobileService }, { type: i2.FabrikantenService }, { type: i3.TranslateService }, { type: i4.BestekService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { fabProductBestek: [{
|
|
50
|
+
type: ViewChild,
|
|
51
|
+
args: ['fabProductBestek']
|
|
52
|
+
}] } });
|
|
53
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmFiLXByb2R1Y3QtYmVzdGVrLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvbW9kdWxlcy9mYWJyaWthbnRlbmNvcmUvY29tcG9uZW50cy9mYWItcHJvZHVjdC9mYWItcHJvZHVjdC1iZXN0ZWsvZmFiLXByb2R1Y3QtYmVzdGVrLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvbW9kdWxlcy9mYWJyaWthbnRlbmNvcmUvY29tcG9uZW50cy9mYWItcHJvZHVjdC9mYWItcHJvZHVjdC1iZXN0ZWsvZmFiLXByb2R1Y3QtYmVzdGVrLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBb0MsU0FBUyxFQUErQixTQUFTLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7Ozs7Ozs7Ozs7O0FBV3ZJLE1BTWEseUJBQXlCO0lBSzNCO0lBQ0E7SUFDQTtJQUNBO0lBQ0E7SUFQc0IsZ0JBQWdCLENBQWE7SUFFNUQsWUFDUyxhQUE0QixFQUM1QixrQkFBc0MsRUFDdEMsZ0JBQWtDLEVBQ2xDLGFBQTRCLEVBQzVCLGlCQUFvQztRQUpwQyxrQkFBYSxHQUFiLGFBQWEsQ0FBZTtRQUM1Qix1QkFBa0IsR0FBbEIsa0JB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WsnXCI+PC9hcHAtZmFiLWFjdGlvbm1lbnU+XHJcbiAgICAgICAgICA8L21hdC1jYXJkLWNvbnRlbnQ+XHJcbiAgICAgICAgPC9tYXQtY2FyZD5cclxuICAgICAgPC9kaXY+XHJcbiAgICA8L2Rpdj5cclxuICA8L2Rpdj5cclxuPC9kaXY+XHJcbiJdfQ==
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { MatLegacyDialogConfig as MatDialogConfig } from '@angular/material/legacy-dialog';
|
|
3
|
+
import { FabProductInfoPhotoDialogComponent } from '../fab-product-info-photo-dialog/fab-product-info-photo-dialog.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../../../../services/mobile.service";
|
|
6
|
+
import * as i2 from "../../../../services/photo.service";
|
|
7
|
+
import * as i3 from "@angular/material/legacy-dialog";
|
|
8
|
+
import * as i4 from "@angular/common";
|
|
9
|
+
import * as i5 from "@angular/material/icon";
|
|
10
|
+
class FabProductInfoPhotoComponent {
|
|
11
|
+
MobileService;
|
|
12
|
+
PhotoService;
|
|
13
|
+
dialog;
|
|
14
|
+
constructor(MobileService, PhotoService, dialog) {
|
|
15
|
+
this.MobileService = MobileService;
|
|
16
|
+
this.PhotoService = PhotoService;
|
|
17
|
+
this.dialog = dialog;
|
|
18
|
+
}
|
|
19
|
+
ngOnInit() {
|
|
20
|
+
}
|
|
21
|
+
Open() {
|
|
22
|
+
const mdc = new MatDialogConfig();
|
|
23
|
+
mdc.position = {
|
|
24
|
+
'top': '100px',
|
|
25
|
+
};
|
|
26
|
+
var dialogRef = this.dialog.open(FabProductInfoPhotoDialogComponent, mdc);
|
|
27
|
+
}
|
|
28
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: FabProductInfoPhotoComponent, deps: [{ token: i1.MobileService }, { token: i2.PhotoService }, { token: i3.MatLegacyDialog }], target: i0.ɵɵFactoryTarget.Component });
|
|
29
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.1", type: FabProductInfoPhotoComponent, selector: "app-fab-product-info-photo", ngImport: i0, template: "<div class=\"image-container\" [ngClass]=\"{'tinybutton': this.MobileService.MobileInterfaceTiny}\">\n <div class=\"image-toolbar\">\n <div *ngIf=\"PhotoService.ShouldDisplayLeft()\" (click)=\"PhotoService.Left()\" class=\"arrow\">\n <mat-icon class=\"arrow_back\">arrow_back</mat-icon>\n </div>\n <div class=\"filler\">\n {{ PhotoService.GetSelectedDescription() }}\n </div>\n <div *ngIf=\"PhotoService.ShouldDisplayRight()\" (click)=\"PhotoService.Right()\" class=\"arrow\">\n <mat-icon class=\"arrow_forward\">arrow_forward</mat-icon>\n </div>\n </div>\n\n <img class=\"image\" src=\"{{ PhotoService.GetSelectedPhoto() }}\" (click)=\"Open()\" />\n</div>\n", styles: [".image-container{width:300px;margin:auto}.image{width:100%;cursor:pointer}.tinybutton{width:100%!important}.image-toolbar{display:flex}.filler{flex:auto;text-align:center;line-height:24px;font-size:13px}.arrow{cursor:pointer}\n"], dependencies: [{ kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
|
|
30
|
+
}
|
|
31
|
+
export { FabProductInfoPhotoComponent };
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: FabProductInfoPhotoComponent, decorators: [{
|
|
33
|
+
type: Component,
|
|
34
|
+
args: [{ selector: 'app-fab-product-info-photo', template: "<div class=\"image-container\" [ngClass]=\"{'tinybutton': this.MobileService.MobileInterfaceTiny}\">\n <div class=\"image-toolbar\">\n <div *ngIf=\"PhotoService.ShouldDisplayLeft()\" (click)=\"PhotoService.Left()\" class=\"arrow\">\n <mat-icon class=\"arrow_back\">arrow_back</mat-icon>\n </div>\n <div class=\"filler\">\n {{ PhotoService.GetSelectedDescription() }}\n </div>\n <div *ngIf=\"PhotoService.ShouldDisplayRight()\" (click)=\"PhotoService.Right()\" class=\"arrow\">\n <mat-icon class=\"arrow_forward\">arrow_forward</mat-icon>\n </div>\n </div>\n\n <img class=\"image\" src=\"{{ PhotoService.GetSelectedPhoto() }}\" (click)=\"Open()\" />\n</div>\n", styles: [".image-container{width:300px;margin:auto}.image{width:100%;cursor:pointer}.tinybutton{width:100%!important}.image-toolbar{display:flex}.filler{flex:auto;text-align:center;line-height:24px;font-size:13px}.arrow{cursor:pointer}\n"] }]
|
|
35
|
+
}], ctorParameters: function () { return [{ type: i1.MobileService }, { type: i2.PhotoService }, { type: i3.MatLegacyDialog }]; } });
|
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmFiLXByb2R1Y3QtaW5mby1waG90by5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvZmFicmlrYW50ZW5jb3JlL2NvbXBvbmVudHMvZmFiLXByb2R1Y3QvZmFiLXByb2R1Y3QtaW5mby9mYWItcHJvZHVjdC1pbmZvLXBob3RvL2ZhYi1wcm9kdWN0LWluZm8tcGhvdG8uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2FwcC9tb2R1bGVzL2ZhYnJpa2FudGVuY29yZS9jb21wb25lbnRzL2ZhYi1wcm9kdWN0L2ZhYi1wcm9kdWN0LWluZm8vZmFiLXByb2R1Y3QtaW5mby1waG90by9mYWItcHJvZHVjdC1pbmZvLXBob3RvLmNvbXBvbmVudC5odG1sIl0sIm5hbWV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ZWRQaG90bygpIH19XCIgKGNsaWNrKT1cIk9wZW4oKVwiIC8+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/material/legacy-dialog";
|
|
4
|
+
import * as i2 from "../../../../services/photo.service";
|
|
5
|
+
import * as i3 from "@angular/common";
|
|
6
|
+
import * as i4 from "@angular/material/icon";
|
|
7
|
+
class FabProductInfoPhotoDialogComponent {
|
|
8
|
+
dialogRef;
|
|
9
|
+
PhotoService;
|
|
10
|
+
constructor(dialogRef, PhotoService) {
|
|
11
|
+
this.dialogRef = dialogRef;
|
|
12
|
+
this.PhotoService = PhotoService;
|
|
13
|
+
}
|
|
14
|
+
ngOnInit() {
|
|
15
|
+
}
|
|
16
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: FabProductInfoPhotoDialogComponent, deps: [{ token: i1.MatLegacyDialogRef }, { token: i2.PhotoService }], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.1", type: FabProductInfoPhotoDialogComponent, selector: "app-fab-product-info-photo-dialog", ngImport: i0, template: "<div class=\"image-container\">\n <div class=\"image-toolbar\">\n <div *ngIf=\"PhotoService.ShouldDisplayLeft()\" (click)=\"PhotoService.Left()\" class=\"arrow\">\n <mat-icon class=\"arrow_back\">arrow_back</mat-icon>\n </div>\n <div class=\"filler\">\n {{ PhotoService.GetSelectedDescription() }}\n </div>\n <div *ngIf=\"PhotoService.ShouldDisplayRight()\" (click)=\"PhotoService.Right()\" class=\"arrow\">\n <mat-icon class=\"arrow_forward\">arrow_forward</mat-icon>\n </div>\n </div>\n\n <img class=\"image\" src=\"{{ PhotoService.GetSelectedPhoto() }}\" />\n</div>\n", styles: [".image{width:100%;cursor:pointer}.image-toolbar{display:flex}.filler{flex:auto;text-align:center;line-height:24px;font-size:13px}.arrow{cursor:pointer}\n"], dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
|
|
18
|
+
}
|
|
19
|
+
export { FabProductInfoPhotoDialogComponent };
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: FabProductInfoPhotoDialogComponent, decorators: [{
|
|
21
|
+
type: Component,
|
|
22
|
+
args: [{ selector: 'app-fab-product-info-photo-dialog', template: "<div class=\"image-container\">\n <div class=\"image-toolbar\">\n <div *ngIf=\"PhotoService.ShouldDisplayLeft()\" (click)=\"PhotoService.Left()\" class=\"arrow\">\n <mat-icon class=\"arrow_back\">arrow_back</mat-icon>\n </div>\n <div class=\"filler\">\n {{ PhotoService.GetSelectedDescription() }}\n </div>\n <div *ngIf=\"PhotoService.ShouldDisplayRight()\" (click)=\"PhotoService.Right()\" class=\"arrow\">\n <mat-icon class=\"arrow_forward\">arrow_forward</mat-icon>\n </div>\n </div>\n\n <img class=\"image\" src=\"{{ PhotoService.GetSelectedPhoto() }}\" />\n</div>\n", styles: [".image{width:100%;cursor:pointer}.image-toolbar{display:flex}.filler{flex:auto;text-align:center;line-height:24px;font-size:13px}.arrow{cursor:pointer}\n"] }]
|
|
23
|
+
}], ctorParameters: function () { return [{ type: i1.MatLegacyDialogRef }, { type: i2.PhotoService }]; } });
|
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmFiLXByb2R1Y3QtaW5mby1waG90by1kaWFsb2cuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4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9fVxuICAgIDwvZGl2PlxuICAgIDxkaXYgKm5nSWY9XCJQaG90b1NlcnZpY2UuU2hvdWxkRGlzcGxheVJpZ2h0KClcIiAoY2xpY2spPVwiUGhvdG9TZXJ2aWNlLlJpZ2h0KClcIiBjbGFzcz1cImFycm93XCI+XG4gICAgICA8bWF0LWljb24gY2xhc3M9XCJhcnJvd19mb3J3YXJkXCI+YXJyb3dfZm9yd2FyZDwvbWF0LWljb24+XG4gICAgPC9kaXY+XG4gIDwvZGl2PlxuXG4gIDxpbWcgY2xhc3M9XCJpbWFnZVwiIHNyYz1cInt7IFBob3RvU2VydmljZS5HZXRTZWxlY3RlZFBob3RvKCkgfX1cIiAvPlxuPC9kaXY+XG4iXX0=
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Component, HostListener } from '@angular/core';
|
|
2
|
+
import { TranslationCategory, TranslationSubCategory } from '../../../swagger/SwaggerClient';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../../../services/mobile.service";
|
|
5
|
+
import * as i2 from "../../../services/translate.service";
|
|
6
|
+
import * as i3 from "../../../services/fabrikanten.service";
|
|
7
|
+
import * as i4 from "@angular/common";
|
|
8
|
+
import * as i5 from "./fab-product-info-photo/fab-product-info-photo.component";
|
|
9
|
+
class FabProductInfoComponent {
|
|
10
|
+
MobileService;
|
|
11
|
+
TranslateService;
|
|
12
|
+
FabrikantenService;
|
|
13
|
+
ChangeDetectorRef;
|
|
14
|
+
constructor(MobileService, TranslateService, FabrikantenService, ChangeDetectorRef) {
|
|
15
|
+
this.MobileService = MobileService;
|
|
16
|
+
this.TranslateService = TranslateService;
|
|
17
|
+
this.FabrikantenService = FabrikantenService;
|
|
18
|
+
this.ChangeDetectorRef = ChangeDetectorRef;
|
|
19
|
+
}
|
|
20
|
+
ngOnInit() {
|
|
21
|
+
this.MobileService.UpdateScreenSize(window.innerWidth, window.innerHeight, this.ChangeDetectorRef);
|
|
22
|
+
}
|
|
23
|
+
onResize(event) {
|
|
24
|
+
this.MobileService.UpdateScreenSize(window.innerWidth, window.innerHeight, this.ChangeDetectorRef);
|
|
25
|
+
}
|
|
26
|
+
GetDescription() {
|
|
27
|
+
var bcbproducts = this.FabrikantenService.FabrikantenViewModel?.selectedProduct?.fabrikantenBCBProductViewModels;
|
|
28
|
+
if (bcbproducts != null) {
|
|
29
|
+
for (var i = 0; i < bcbproducts.length; i++) {
|
|
30
|
+
if (bcbproducts[i].description != null)
|
|
31
|
+
return this.TranslateService.GetActiveValue(TranslationCategory.BCBProduct, TranslationSubCategory.Description, bcbproducts[i].id);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
return "";
|
|
35
|
+
}
|
|
36
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: FabProductInfoComponent, deps: [{ token: i1.MobileService }, { token: i2.TranslateService }, { token: i3.FabrikantenService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
37
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.1", type: FabProductInfoComponent, selector: "app-fab-product-info", host: { listeners: { "window:resize": "onResize($event)" } }, ngImport: i0, template: "<div class=\"description-normal\" *ngIf=\"!MobileService.MobileInterface\">\n <div class=\"text\" [innerHTML]=\"GetDescription()\">\n\n </div>\n <div class=\"photo\">\n <app-fab-product-info-photo></app-fab-product-info-photo>\n </div>\n</div>\n\n<div class=\"mobile\" *ngIf=\"MobileService.MobileInterface\">\n <div class=\"photo\">\n <app-fab-product-info-photo></app-fab-product-info-photo>\n </div>\n <div class=\"text\" [innerHTML]=\"GetDescription()\">\n\n </div>\n</div>\n", styles: [".description-normal{margin:10px;display:flex}.description-normal .text{flex:auto;margin-right:10px}.mobile{padding:10px}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.FabProductInfoPhotoComponent, selector: "app-fab-product-info-photo" }] });
|
|
38
|
+
}
|
|
39
|
+
export { FabProductInfoComponent };
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: FabProductInfoComponent, decorators: [{
|
|
41
|
+
type: Component,
|
|
42
|
+
args: [{ selector: 'app-fab-product-info', template: "<div class=\"description-normal\" *ngIf=\"!MobileService.MobileInterface\">\n <div class=\"text\" [innerHTML]=\"GetDescription()\">\n\n </div>\n <div class=\"photo\">\n <app-fab-product-info-photo></app-fab-product-info-photo>\n </div>\n</div>\n\n<div class=\"mobile\" *ngIf=\"MobileService.MobileInterface\">\n <div class=\"photo\">\n <app-fab-product-info-photo></app-fab-product-info-photo>\n </div>\n <div class=\"text\" [innerHTML]=\"GetDescription()\">\n\n </div>\n</div>\n", styles: [".description-normal{margin:10px;display:flex}.description-normal .text{flex:auto;margin-right:10px}.mobile{padding:10px}\n"] }]
|
|
43
|
+
}], ctorParameters: function () { return [{ type: i1.MobileService }, { type: i2.TranslateService }, { type: i3.FabrikantenService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { onResize: [{
|
|
44
|
+
type: HostListener,
|
|
45
|
+
args: ['window:resize', ['$event']]
|
|
46
|
+
}] } });
|
|
47
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmFiLXByb2R1Y3QtaW5mby5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvZmFicmlrYW50ZW5jb3JlL2NvbXBvbmVudHMvZmFiLXByb2R1Y3QvZmFiLXByb2R1Y3QtaW5mby9mYWItcHJvZHVjdC1pbmZvLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvbW9kdWxlcy9mYWJyaWthbnRlbm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N0LWluZm8tcGhvdG8+PC9hcHAtZmFiLXByb2R1Y3QtaW5mby1waG90bz5cbiAgPC9kaXY+XG48L2Rpdj5cblxuPGRpdiBjbGFzcz1cIm1vYmlsZVwiICpuZ0lmPVwiTW9iaWxlU2VydmljZS5Nb2JpbGVJbnRlcmZhY2VcIj5cbiAgPGRpdiBjbGFzcz1cInBob3RvXCI+XG4gICAgPGFwcC1mYWItcHJvZHVjdC1pbmZvLXBob3RvPjwvYXBwLWZhYi1wcm9kdWN0LWluZm8tcGhvdG8+XG4gIDwvZGl2PlxuICA8ZGl2IGNsYXNzPVwidGV4dFwiIFtpbm5lckhUTUxdPVwiR2V0RGVzY3JpcHRpb24oKVwiPlxuXG4gIDwvZGl2PlxuPC9kaXY+XG4iXX0=
|
package/esm2022/src/app/modules/fabrikantencore/components/fab-product/fab-product.component.mjs
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { Component, ViewChild, ViewEncapsulation } from '@angular/core';
|
|
2
|
+
import { TranslationCategory, TranslationSubCategory } from '../../swagger/SwaggerClient';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../../services/mobile.service";
|
|
5
|
+
import * as i2 from "../../services/fabrikanten.service";
|
|
6
|
+
import * as i3 from "../../services/bestek.service";
|
|
7
|
+
import * as i4 from "../../services/translate.service";
|
|
8
|
+
import * as i5 from "../../services/webgl.service";
|
|
9
|
+
import * as i6 from "@angular/router";
|
|
10
|
+
import * as i7 from "@angular/common";
|
|
11
|
+
import * as i8 from "@angular/material/legacy-card";
|
|
12
|
+
import * as i9 from "@angular/material/sidenav";
|
|
13
|
+
import * as i10 from "@angular/material/legacy-tabs";
|
|
14
|
+
import * as i11 from "@angular/material/legacy-progress-spinner";
|
|
15
|
+
import * as i12 from "./fab-product-info/fab-product-info.component";
|
|
16
|
+
import * as i13 from "./fab-product-bestek/fab-product-bestek.component";
|
|
17
|
+
import * as i14 from "../fab-filters-input/fab-filters-input.component";
|
|
18
|
+
import * as i15 from "../fab-header/fab-header.component";
|
|
19
|
+
import * as i16 from "../fab-webgl-viewer/fab-webgl-viewer.component";
|
|
20
|
+
import * as i17 from "../fab-svg-viewer/fab-svg-viewer.component";
|
|
21
|
+
import * as i18 from "../fab-texture/fab-texture.component";
|
|
22
|
+
import * as i19 from "./fab-toebehoren/fab-toebehoren.component";
|
|
23
|
+
import * as i20 from "../fab-actionmenu/fab-actionmenu.component";
|
|
24
|
+
class FabProductComponent {
|
|
25
|
+
MobileService;
|
|
26
|
+
FabrikantenService;
|
|
27
|
+
BestekService;
|
|
28
|
+
TranslateService;
|
|
29
|
+
WebGLService;
|
|
30
|
+
ActivatedRoute;
|
|
31
|
+
ChangeDetectorRef;
|
|
32
|
+
get TranslationCategory() {
|
|
33
|
+
return TranslationCategory;
|
|
34
|
+
}
|
|
35
|
+
get TranslationSubCategory() {
|
|
36
|
+
return TranslationSubCategory;
|
|
37
|
+
}
|
|
38
|
+
Height = "100%";
|
|
39
|
+
header;
|
|
40
|
+
constructor(MobileService, FabrikantenService, BestekService, TranslateService, WebGLService, ActivatedRoute, ChangeDetectorRef) {
|
|
41
|
+
this.MobileService = MobileService;
|
|
42
|
+
this.FabrikantenService = FabrikantenService;
|
|
43
|
+
this.BestekService = BestekService;
|
|
44
|
+
this.TranslateService = TranslateService;
|
|
45
|
+
this.WebGLService = WebGLService;
|
|
46
|
+
this.ActivatedRoute = ActivatedRoute;
|
|
47
|
+
this.ChangeDetectorRef = ChangeDetectorRef;
|
|
48
|
+
this.TranslateService.ProcessParameters(this.ActivatedRoute);
|
|
49
|
+
}
|
|
50
|
+
ngOnInit() {
|
|
51
|
+
this.FabrikantenService.LoadFabrikantenViewModel(this.ChangeDetectorRef, this.ActivatedRoute);
|
|
52
|
+
}
|
|
53
|
+
ngAfterViewInit() {
|
|
54
|
+
this.UpdateHeight();
|
|
55
|
+
}
|
|
56
|
+
ngDoCheck() {
|
|
57
|
+
this.UpdateHeight();
|
|
58
|
+
}
|
|
59
|
+
Back() {
|
|
60
|
+
this.FabrikantenService.RemoveProductSelection(this.ChangeDetectorRef);
|
|
61
|
+
}
|
|
62
|
+
UpdateHeight() {
|
|
63
|
+
this.Height = this.GetHeight();
|
|
64
|
+
this.ChangeDetectorRef.detectChanges();
|
|
65
|
+
}
|
|
66
|
+
SelectedTabChange(event) {
|
|
67
|
+
this.FabrikantenService.TabSelectionChanged(event.tab.textLabel, this.ChangeDetectorRef);
|
|
68
|
+
}
|
|
69
|
+
Show3D() {
|
|
70
|
+
if (this.FabrikantenService.FabrikantenViewModel?.selectedProduct?.fabrikantenBCBProductViewModels != null) {
|
|
71
|
+
for (var i = 0; i < this.FabrikantenService.FabrikantenViewModel.selectedProduct.fabrikantenBCBProductViewModels.length; i++) {
|
|
72
|
+
if (this.FabrikantenService.FabrikantenViewModel.selectedProduct.fabrikantenBCBProductViewModels[i].has3D) {
|
|
73
|
+
return true;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
return false;
|
|
78
|
+
}
|
|
79
|
+
Show2D() {
|
|
80
|
+
if (this.FabrikantenService.FabrikantenViewModel?.selectedProduct?.fabrikantenBCBProductViewModels != null) {
|
|
81
|
+
for (var i = 0; i < this.FabrikantenService.FabrikantenViewModel.selectedProduct.fabrikantenBCBProductViewModels.length; i++) {
|
|
82
|
+
if (this.FabrikantenService.FabrikantenViewModel.selectedProduct.fabrikantenBCBProductViewModels[i].snedes != '') {
|
|
83
|
+
return true;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
return false;
|
|
88
|
+
}
|
|
89
|
+
ShowInformation() {
|
|
90
|
+
if (this.FabrikantenService.FabrikantenViewModel != null) {
|
|
91
|
+
if (this.FabrikantenService.FabrikantenSettingsViewModel.hideInformationTab) {
|
|
92
|
+
return false;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
return true;
|
|
96
|
+
}
|
|
97
|
+
GetHeight() {
|
|
98
|
+
var height = 0;
|
|
99
|
+
if (this.header != undefined) {
|
|
100
|
+
height += this.header.nativeElement.offsetHeight;
|
|
101
|
+
}
|
|
102
|
+
return "calc(100% - " + height + "px)";
|
|
103
|
+
}
|
|
104
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: FabProductComponent, deps: [{ token: i1.MobileService }, { token: i2.FabrikantenService }, { token: i3.BestekService }, { token: i4.TranslateService }, { token: i5.WebGLService }, { token: i6.ActivatedRoute }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
105
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.1", type: FabProductComponent, selector: "app-fab-product", viewQueries: [{ propertyName: "header", first: true, predicate: ["header"], descendants: true }], ngImport: i0, template: "<div *ngIf=\"FabrikantenService.Loading\" class=\"loader\">\r\n <mat-card class=\"loader-card\">\r\n <mat-card-content>\r\n <mat-spinner class=\"loader-spinner\" [diameter]=\"80\"></mat-spinner>\r\n </mat-card-content>\r\n <mat-card-subtitle class=\"loader-subtitle\">\r\n {{ TranslateService.GetActiveValue(TranslationCategory.Common, TranslationSubCategory.ProductsLoading) }}\r\n </mat-card-subtitle>\r\n </mat-card>\r\n</div>\r\n\r\n<mat-drawer-container class=\"view-container\" *ngIf=\"FabrikantenService.Loaded\">\r\n <mat-drawer #drawer [mode]=\"MobileService.NavMode\" [(opened)]=\"MobileService.NavOpened\" *ngIf=\"FabrikantenService.FabrikantenViewModel != null\">\r\n <div class=\"filter-view\">\r\n <fab-filters-input></fab-filters-input>\r\n </div>\r\n </mat-drawer>\r\n <mat-drawer mode=\"over\" position=\"end\" [(opened)]=\"MobileService.ActionOpened\">\r\n <div class=\"actionwrapper\">\r\n <app-fab-actionmenu [display]=\"FabrikantenService.SelectedTab\"></app-fab-actionmenu>\r\n </div>\r\n </mat-drawer>\r\n <mat-drawer-content class=\"view-content\">\r\n <div #header>\r\n <app-fab-header [showfiltermenubutton]=\"true\"></app-fab-header>\r\n </div>\r\n\r\n <ng-container *ngIf=\"FabrikantenService.ShowRequired()\">\r\n <div class=\"required-div\">{{ TranslateService.GetActiveValue(TranslationCategory.Common, TranslationSubCategory.NotAllRequiredFilled) }}</div>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"!FabrikantenService.ShowRequired()\">\r\n <div [style.height]=\"Height\" *ngIf=\"FabrikantenService.FabrikantenViewModel != null\">\r\n <mat-tab-group class=\"view-container\" [selectedIndex]=\"FabrikantenService.SelectedTabIndex\" (selectedTabChange)=\"SelectedTabChange($event)\">\r\n <mat-tab label=\"Informatie\" *ngIf=\"ShowInformation()\">\r\n <ng-template mat-tab-label>\r\n <span>{{ TranslateService.GetActiveValue(TranslationCategory.Common, TranslationSubCategory.TabInformation) }}</span>\r\n </ng-template>\r\n <app-fab-product-info></app-fab-product-info>\r\n </mat-tab>\r\n <mat-tab label=\"3D\" *ngIf=\"Show3D()\">\r\n <ng-template mat-tab-label>\r\n <span>{{ TranslateService.GetActiveValue(TranslationCategory.Common, TranslationSubCategory.Tab3D) }}</span>\r\n </ng-template>\r\n <app-fab-webgl-viewer></app-fab-webgl-viewer>\r\n </mat-tab>\r\n <mat-tab label=\"2D\" *ngIf=\"Show2D()\" style=\"height: 100%;\">\r\n <ng-template mat-tab-label>\r\n <span>{{ TranslateService.GetActiveValue(TranslationCategory.Common, TranslationSubCategory.Tab2D) }}</span>\r\n </ng-template>\r\n <app-fab-svg-viewer></app-fab-svg-viewer>\r\n </mat-tab>\r\n <mat-tab label=\"Bestek\" *ngIf=\"TranslateService.ShowSpecification()\">\r\n <ng-template mat-tab-label>\r\n <span>{{ TranslateService.GetActiveValue(TranslationCategory.Common, TranslationSubCategory.TabSpecification) }}</span>\r\n </ng-template>\r\n <app-fab-product-bestek></app-fab-product-bestek>\r\n </mat-tab>\r\n <mat-tab label=\"Texture\" *ngIf=\"FabrikantenService.ShowTexture()\">\r\n <ng-template mat-tab-label>\r\n <span>{{ TranslateService.GetActiveValue(TranslationCategory.Common, TranslationSubCategory.Texture) }}</span>\r\n </ng-template>\r\n <app-fab-texture></app-fab-texture>\r\n </mat-tab>\r\n <mat-tab label=\"Toebehoren\" *ngIf=\"FabrikantenService.ShowToebehoren()\">\r\n <ng-template mat-tab-label>\r\n <span>{{ TranslateService.GetActiveValue(TranslationCategory.Common, TranslationSubCategory.Toebehoren) }}</span>\r\n </ng-template>\r\n <app-fab-toebehoren></app-fab-toebehoren>\r\n </mat-tab>\r\n </mat-tab-group>\r\n </div>\r\n </ng-container>\r\n </mat-drawer-content>\r\n</mat-drawer-container>\r\n\r\n\r\n", styles: ["app-fab-product .tabs{height:100%}app-fab-product .required-div{padding:40px}app-fab-product .row{display:flex}app-fab-product .loader-card{margin:auto;width:300px}app-fab-product .loader-subtitle{text-transform:capitalize;text-align:center}app-fab-product .actionwrapper{width:250px;padding:20px}app-fab-product .loader-spinner{margin:auto}app-fab-product .view-container{height:100%}app-fab-product .view-content{background-color:#fff}app-fab-product .loader{position:absolute;display:flex;width:100%;height:100%;align-items:center;z-index:20;background-color:#ffffffb3;top:0;left:0}app-fab-product .filter-view{height:100%;width:300px;min-width:300px;background-color:#fafafa}app-fab-product .product-view{flex:auto}app-fab-product .mat-drawer-inner-container{overflow-y:scroll}.mat-tab-body-wrapper{height:100%}\n"], dependencies: [{ kind: "directive", type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i8.MatLegacyCard, selector: "mat-card", exportAs: ["matCard"] }, { kind: "directive", type: i8.MatLegacyCardContent, selector: "mat-card-content, [mat-card-content], [matCardContent]" }, { kind: "directive", type: i8.MatLegacyCardSubtitle, selector: "mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]" }, { kind: "component", type: i9.MatDrawer, selector: "mat-drawer", inputs: ["position", "mode", "disableClose", "autoFocus", "opened"], outputs: ["openedChange", "opened", "openedStart", "closed", "closedStart", "positionChanged"], exportAs: ["matDrawer"] }, { kind: "component", type: i9.MatDrawerContainer, selector: "mat-drawer-container", inputs: ["autosize", "hasBackdrop"], outputs: ["backdropClick"], exportAs: ["matDrawerContainer"] }, { kind: "component", type: i9.MatDrawerContent, selector: "mat-drawer-content" }, { kind: "component", type: i10.MatLegacyTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple"], exportAs: ["matTabGroup"] }, { kind: "directive", type: i10.MatLegacyTabLabel, selector: "[mat-tab-label], [matTabLabel]" }, { kind: "component", type: i10.MatLegacyTab, selector: "mat-tab", inputs: ["disabled"], exportAs: ["matTab"] }, { kind: "component", type: i11.MatLegacyProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "diameter", "strokeWidth", "mode", "value"], exportAs: ["matProgressSpinner"] }, { kind: "component", type: i12.FabProductInfoComponent, selector: "app-fab-product-info" }, { kind: "component", type: i13.FabProductBestekComponent, selector: "app-fab-product-bestek" }, { kind: "component", type: i14.FabFiltersInputComponent, selector: "fab-filters-input" }, { kind: "component", type: i15.FabHeaderComponent, selector: "app-fab-header", inputs: ["showfiltermenubutton"] }, { kind: "component", type: i16.FabWebglViewerComponent, selector: "app-fab-webgl-viewer" }, { kind: "component", type: i17.FabSvgViewerComponent, selector: "app-fab-svg-viewer" }, { kind: "component", type: i18.FabTextureComponent, selector: "app-fab-texture" }, { kind: "component", type: i19.FabToebehorenComponent, selector: "app-fab-toebehoren" }, { kind: "component", type: i20.FabActionmenuComponent, selector: "app-fab-actionmenu", inputs: ["display"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
106
|
+
}
|
|
107
|
+
export { FabProductComponent };
|
|
108
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: FabProductComponent, decorators: [{
|
|
109
|
+
type: Component,
|
|
110
|
+
args: [{ selector: 'app-fab-product', encapsulation: ViewEncapsulation.None, template: "<div *ngIf=\"FabrikantenService.Loading\" class=\"loader\">\r\n <mat-card class=\"loader-card\">\r\n <mat-card-content>\r\n <mat-spinner class=\"loader-spinner\" [diameter]=\"80\"></mat-spinner>\r\n </mat-card-content>\r\n <mat-card-subtitle class=\"loader-subtitle\">\r\n {{ TranslateService.GetActiveValue(TranslationCategory.Common, TranslationSubCategory.ProductsLoading) }}\r\n </mat-card-subtitle>\r\n </mat-card>\r\n</div>\r\n\r\n<mat-drawer-container class=\"view-container\" *ngIf=\"FabrikantenService.Loaded\">\r\n <mat-drawer #drawer [mode]=\"MobileService.NavMode\" [(opened)]=\"MobileService.NavOpened\" *ngIf=\"FabrikantenService.FabrikantenViewModel != null\">\r\n <div class=\"filter-view\">\r\n <fab-filters-input></fab-filters-input>\r\n </div>\r\n </mat-drawer>\r\n <mat-drawer mode=\"over\" position=\"end\" [(opened)]=\"MobileService.ActionOpened\">\r\n <div class=\"actionwrapper\">\r\n <app-fab-actionmenu [display]=\"FabrikantenService.SelectedTab\"></app-fab-actionmenu>\r\n </div>\r\n </mat-drawer>\r\n <mat-drawer-content class=\"view-content\">\r\n <div #header>\r\n <app-fab-header [showfiltermenubutton]=\"true\"></app-fab-header>\r\n </div>\r\n\r\n <ng-container *ngIf=\"FabrikantenService.ShowRequired()\">\r\n <div class=\"required-div\">{{ TranslateService.GetActiveValue(TranslationCategory.Common, TranslationSubCategory.NotAllRequiredFilled) }}</div>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"!FabrikantenService.ShowRequired()\">\r\n <div [style.height]=\"Height\" *ngIf=\"FabrikantenService.FabrikantenViewModel != null\">\r\n <mat-tab-group class=\"view-container\" [selectedIndex]=\"FabrikantenService.SelectedTabIndex\" (selectedTabChange)=\"SelectedTabChange($event)\">\r\n <mat-tab label=\"Informatie\" *ngIf=\"ShowInformation()\">\r\n <ng-template mat-tab-label>\r\n <span>{{ TranslateService.GetActiveValue(TranslationCategory.Common, TranslationSubCategory.TabInformation) }}</span>\r\n </ng-template>\r\n <app-fab-product-info></app-fab-product-info>\r\n </mat-tab>\r\n <mat-tab label=\"3D\" *ngIf=\"Show3D()\">\r\n <ng-template mat-tab-label>\r\n <span>{{ TranslateService.GetActiveValue(TranslationCategory.Common, TranslationSubCategory.Tab3D) }}</span>\r\n </ng-template>\r\n <app-fab-webgl-viewer></app-fab-webgl-viewer>\r\n </mat-tab>\r\n <mat-tab label=\"2D\" *ngIf=\"Show2D()\" style=\"height: 100%;\">\r\n <ng-template mat-tab-label>\r\n <span>{{ TranslateService.GetActiveValue(TranslationCategory.Common, TranslationSubCategory.Tab2D) }}</span>\r\n </ng-template>\r\n <app-fab-svg-viewer></app-fab-svg-viewer>\r\n </mat-tab>\r\n <mat-tab label=\"Bestek\" *ngIf=\"TranslateService.ShowSpecification()\">\r\n <ng-template mat-tab-label>\r\n <span>{{ TranslateService.GetActiveValue(TranslationCategory.Common, TranslationSubCategory.TabSpecification) }}</span>\r\n </ng-template>\r\n <app-fab-product-bestek></app-fab-product-bestek>\r\n </mat-tab>\r\n <mat-tab label=\"Texture\" *ngIf=\"FabrikantenService.ShowTexture()\">\r\n <ng-template mat-tab-label>\r\n <span>{{ TranslateService.GetActiveValue(TranslationCategory.Common, TranslationSubCategory.Texture) }}</span>\r\n </ng-template>\r\n <app-fab-texture></app-fab-texture>\r\n </mat-tab>\r\n <mat-tab label=\"Toebehoren\" *ngIf=\"FabrikantenService.ShowToebehoren()\">\r\n <ng-template mat-tab-label>\r\n <span>{{ TranslateService.GetActiveValue(TranslationCategory.Common, TranslationSubCategory.Toebehoren) }}</span>\r\n </ng-template>\r\n <app-fab-toebehoren></app-fab-toebehoren>\r\n </mat-tab>\r\n </mat-tab-group>\r\n </div>\r\n </ng-container>\r\n </mat-drawer-content>\r\n</mat-drawer-container>\r\n\r\n\r\n", styles: ["app-fab-product .tabs{height:100%}app-fab-product .required-div{padding:40px}app-fab-product .row{display:flex}app-fab-product .loader-card{margin:auto;width:300px}app-fab-product .loader-subtitle{text-transform:capitalize;text-align:center}app-fab-product .actionwrapper{width:250px;padding:20px}app-fab-product .loader-spinner{margin:auto}app-fab-product .view-container{height:100%}app-fab-product .view-content{background-color:#fff}app-fab-product .loader{position:absolute;display:flex;width:100%;height:100%;align-items:center;z-index:20;background-color:#ffffffb3;top:0;left:0}app-fab-product .filter-view{height:100%;width:300px;min-width:300px;background-color:#fafafa}app-fab-product .product-view{flex:auto}app-fab-product .mat-drawer-inner-container{overflow-y:scroll}.mat-tab-body-wrapper{height:100%}\n"] }]
|
|
111
|
+
}], ctorParameters: function () { return [{ type: i1.MobileService }, { type: i2.FabrikantenService }, { type: i3.BestekService }, { type: i4.TranslateService }, { type: i5.WebGLService }, { type: i6.ActivatedRoute }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { header: [{
|
|
112
|
+
type: ViewChild,
|
|
113
|
+
args: ['header']
|
|
114
|
+
}] } });
|
|
115
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmFiLXByb2R1Y3QuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2FwcC9tb2R1bGVzL2ZhYnJpa2FudGVuY29yZS9jb21wb25lbnRzL2ZhYi1wcm9kdWN0L2ZhYi1wcm9kdWN0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvbW9kdWxlcy9mYWJyaWthbnRlbmNvcmUvY29tcG9uZW50cy9mYWItcHJvZHVjdC9mYWItcHJvZHVjdC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQW9DLFNBQVMsRUFBMEMsU0FBUyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBUWxKLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxzQkFBc0IsRUFBRSxNQUFNLDZCQUE2QixDQUFDOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBR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