@qhealth-design-system/core 1.0.38
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/.babelrc +15 -0
- package/.browserslistrc +5 -0
- package/.editorconfig +19 -0
- package/.eslintignore +1 -0
- package/.eslintrc +25 -0
- package/.gitattributes +2 -0
- package/.github/workflows/release_package.yml +103 -0
- package/CHANGELOG.md +14 -0
- package/README.md +534 -0
- package/dist/api/service_finder/schemas.json +1 -0
- package/dist/component-abstract.html +884 -0
- package/dist/component-accordion.html +1157 -0
- package/dist/component-banner.html +928 -0
- package/dist/component-banner_advanced.html +1524 -0
- package/dist/component-banner_basic.html +1189 -0
- package/dist/component-banner_intermediate.html +1288 -0
- package/dist/component-body.html +919 -0
- package/dist/component-breadcrumbs.html +881 -0
- package/dist/component-btn.html +829 -0
- package/dist/component-callout.html +964 -0
- package/dist/component-card_feature.html +1805 -0
- package/dist/component-card_multi_action.html +1965 -0
- package/dist/component-card_no_action.html +1632 -0
- package/dist/component-card_single_action.html +1772 -0
- package/dist/component-code.html +928 -0
- package/dist/component-footer.html +1131 -0
- package/dist/component-forms.html +1297 -0
- package/dist/component-global-elements.html +1243 -0
- package/dist/component-global_alert.html +891 -0
- package/dist/component-header.html +1155 -0
- package/dist/component-in_page_navigation.html +920 -0
- package/dist/component-internal_navigation.html +1097 -0
- package/dist/component-left_hand_navigation.html +995 -0
- package/dist/component-main_navigation.html +999 -0
- package/dist/component-mega_main_navigation.html +1145 -0
- package/dist/component-multi_column.html +1116 -0
- package/dist/component-page_alert.html +911 -0
- package/dist/component-pagination.html +971 -0
- package/dist/component-tag_list.html +979 -0
- package/dist/component-updated_date.html +778 -0
- package/dist/component-widgets.html +851 -0
- package/dist/components/_global/import.xml +95 -0
- package/dist/components/_global/manifest.json +11 -0
- package/dist/components/_global/presentation.js +50 -0
- package/dist/components/_global/static.html +30 -0
- package/dist/components/_template/import.xml +299 -0
- package/dist/components/_template/manifest.json +40 -0
- package/dist/components/_template/presentation.js +12 -0
- package/dist/components/_template/static.html +4 -0
- package/dist/components/abstract/import.xml +231 -0
- package/dist/components/abstract/manifest.json +29 -0
- package/dist/components/abstract/presentation.js +33 -0
- package/dist/components/abstract/static.html +9 -0
- package/dist/components/accordion/import.xml +1929 -0
- package/dist/components/accordion/manifest.json +427 -0
- package/dist/components/accordion/presentation.js +112 -0
- package/dist/components/accordion/static.html +56 -0
- package/dist/components/banner/import.xml +95 -0
- package/dist/components/banner/manifest.json +11 -0
- package/dist/components/banner/presentation.js +138 -0
- package/dist/components/banner/static.html +39 -0
- package/dist/components/banner_advanced/import.xml +1969 -0
- package/dist/components/banner_advanced/manifest.json +1450 -0
- package/dist/components/banner_advanced/presentation.js +564 -0
- package/dist/components/banner_advanced/static.html +159 -0
- package/dist/components/banner_basic/import.xml +907 -0
- package/dist/components/banner_basic/manifest.json +151 -0
- package/dist/components/banner_basic/presentation.js +325 -0
- package/dist/components/banner_basic/static.html +86 -0
- package/dist/components/banner_intermediate/import.xml +1473 -0
- package/dist/components/banner_intermediate/manifest.json +248 -0
- package/dist/components/banner_intermediate/presentation.js +410 -0
- package/dist/components/banner_intermediate/static.html +102 -0
- package/dist/components/body/import.xml +343 -0
- package/dist/components/body/manifest.json +46 -0
- package/dist/components/body/presentation.js +37 -0
- package/dist/components/body/static.html +5 -0
- package/dist/components/breadcrumbs/import.xml +95 -0
- package/dist/components/breadcrumbs/manifest.json +9 -0
- package/dist/components/breadcrumbs/presentation.js +99 -0
- package/dist/components/breadcrumbs/static.html +21 -0
- package/dist/components/callout/import.xml +953 -0
- package/dist/components/callout/manifest.json +121 -0
- package/dist/components/callout/presentation.js +103 -0
- package/dist/components/callout/static.html +10 -0
- package/dist/components/card_feature/import.xml +2355 -0
- package/dist/components/card_feature/manifest.json +1390 -0
- package/dist/components/card_feature/presentation.js +365 -0
- package/dist/components/card_feature/static.html +80 -0
- package/dist/components/card_multi_action/import.xml +1539 -0
- package/dist/components/card_multi_action/manifest.json +1314 -0
- package/dist/components/card_multi_action/presentation.js +638 -0
- package/dist/components/card_multi_action/static.html +120 -0
- package/dist/components/card_no_action/import.xml +1449 -0
- package/dist/components/card_no_action/manifest.json +1264 -0
- package/dist/components/card_no_action/presentation.js +454 -0
- package/dist/components/card_no_action/static.html +94 -0
- package/dist/components/card_single_action/import.xml +1539 -0
- package/dist/components/card_single_action/manifest.json +1273 -0
- package/dist/components/card_single_action/presentation.js +498 -0
- package/dist/components/card_single_action/static.html +103 -0
- package/dist/components/code/import.xml +569 -0
- package/dist/components/code/manifest.json +112 -0
- package/dist/components/code/presentation.js +124 -0
- package/dist/components/code/static.html +15 -0
- package/dist/components/footer/import.xml +95 -0
- package/dist/components/footer/manifest.json +9 -0
- package/dist/components/footer/presentation.js +409 -0
- package/dist/components/footer/static.html +146 -0
- package/dist/components/global_alert/import.xml +95 -0
- package/dist/components/global_alert/manifest.json +9 -0
- package/dist/components/global_alert/presentation.js +81 -0
- package/dist/components/global_alert/static.html +26 -0
- package/dist/components/header/import.xml +95 -0
- package/dist/components/header/manifest.json +11 -0
- package/dist/components/header/presentation.js +190 -0
- package/dist/components/header/static.html +158 -0
- package/dist/components/horizontal_rule/import.xml +547 -0
- package/dist/components/horizontal_rule/manifest.json +69 -0
- package/dist/components/horizontal_rule/presentation.js +50 -0
- package/dist/components/horizontal_rule/static.html +4 -0
- package/dist/components/in_page_navigation/import.xml +253 -0
- package/dist/components/in_page_navigation/manifest.json +35 -0
- package/dist/components/in_page_navigation/presentation.js +14 -0
- package/dist/components/in_page_navigation/static.html +13 -0
- package/dist/components/internal_navigation/import.xml +95 -0
- package/dist/components/internal_navigation/manifest.json +11 -0
- package/dist/components/internal_navigation/presentation.js +165 -0
- package/dist/components/internal_navigation/static.html +130 -0
- package/dist/components/left_hand_navigation/import.xml +299 -0
- package/dist/components/left_hand_navigation/manifest.json +40 -0
- package/dist/components/left_hand_navigation/presentation.js +178 -0
- package/dist/components/left_hand_navigation/static.html +64 -0
- package/dist/components/main_navigation/import.xml +95 -0
- package/dist/components/main_navigation/manifest.json +11 -0
- package/dist/components/main_navigation/presentation.js +150 -0
- package/dist/components/main_navigation/static.html +80 -0
- package/dist/components/mega_main_navigation/import.xml +95 -0
- package/dist/components/mega_main_navigation/manifest.json +9 -0
- package/dist/components/mega_main_navigation/presentation.js +380 -0
- package/dist/components/mega_main_navigation/static.html +153 -0
- package/dist/components/multi_column/import.xml +1631 -0
- package/dist/components/multi_column/manifest.json +233 -0
- package/dist/components/multi_column/presentation.js +249 -0
- package/dist/components/multi_column/static.html +36 -0
- package/dist/components/page_alert/import.xml +479 -0
- package/dist/components/page_alert/manifest.json +63 -0
- package/dist/components/page_alert/presentation.js +67 -0
- package/dist/components/page_alert/static.html +8 -0
- package/dist/components/pagination/import.xml +95 -0
- package/dist/components/pagination/manifest.json +42 -0
- package/dist/components/pagination/presentation.js +84 -0
- package/dist/components/pagination/static.html +5 -0
- package/dist/components/updated_date/import.xml +95 -0
- package/dist/components/updated_date/manifest.json +9 -0
- package/dist/components/updated_date/presentation.js +34 -0
- package/dist/components/updated_date/static.html +6 -0
- package/dist/components/widgets/import.xml +95 -0
- package/dist/components/widgets/manifest.json +9 -0
- package/dist/components/widgets/presentation.js +40 -0
- package/dist/components/widgets/static.html +0 -0
- package/dist/components.html +790 -0
- package/dist/externals/componentPreview.js +101 -0
- package/dist/externals/dsComponentLoader.js +410 -0
- package/dist/externals/esri-leaflet-vector.js +5 -0
- package/dist/externals/esri-leaflet.js +12 -0
- package/dist/externals/fb-handlebars.min.js +29 -0
- package/dist/externals/fb-typeahead.bundle.min.js +6 -0
- package/dist/externals/funnelback.autocompletion-2.6.0.js +678 -0
- package/dist/externals/getPagination.js +62 -0
- package/dist/externals/handlebars.min-v4.7.6.js +29 -0
- package/dist/externals/leaflet.js +6 -0
- package/dist/externals/populateDatastoreSim.js +381 -0
- package/dist/externals/tinymce_classes.css +62 -0
- package/dist/home.html +694 -0
- package/dist/index.html +710 -0
- package/dist/inner-with-nav.html +1853 -0
- package/dist/inner.html +671 -0
- package/dist/js/helpers.js +892 -0
- package/dist/js/main.js +55 -0
- package/dist/js/main.js.map +1 -0
- package/dist/js/runtime.js +2 -0
- package/dist/js/runtime.js.map +1 -0
- package/dist/main.css +918 -0
- package/dist/main.css.map +1 -0
- package/dist/mysource_files/ajax-loader.gif +0 -0
- package/dist/mysource_files/favicons/favicon.ico +0 -0
- package/dist/mysource_files/img/100x100.jpg +0 -0
- package/dist/mysource_files/img/600x260.jpg +0 -0
- package/dist/mysource_files/img/Heart-Pattern-Dark.png +0 -0
- package/dist/mysource_files/img/Heart-Pattern.png +0 -0
- package/dist/mysource_files/img/banner-background--desktop.png +0 -0
- package/dist/mysource_files/img/banner-background--mobile.png +0 -0
- package/dist/mysource_files/img/banner-bg.png +0 -0
- package/dist/mysource_files/img/banner.png +0 -0
- package/dist/mysource_files/img/card--brand.png +0 -0
- package/dist/mysource_files/img/card--components.png +0 -0
- package/dist/mysource_files/img/card--content.png +0 -0
- package/dist/mysource_files/img/header-logo-agov.png +0 -0
- package/dist/mysource_files/img/header-logo-qgov--dark.svg +63 -0
- package/dist/mysource_files/img/header-logo-qgov--light.svg +56 -0
- package/dist/mysource_files/img/header-logo-qgov--pre-dark.svg +56 -0
- package/dist/mysource_files/img/header-search.svg +3 -0
- package/dist/mysource_files/img/layers-2x.png +0 -0
- package/dist/mysource_files/img/layers.png +0 -0
- package/dist/mysource_files/img/marker-icon.png +0 -0
- package/dist/mysource_files/img/svg-icons.svg +155 -0
- package/dist/mysource_files/img/video-play.svg +3 -0
- package/dist/mysource_files/slick.eot +0 -0
- package/dist/mysource_files/slick.svg +14 -0
- package/dist/mysource_files/slick.ttf +0 -0
- package/dist/mysource_files/slick.woff +0 -0
- package/package-lock.json +14276 -0
- package/package.json +79 -0
- package/scripts/add_component.sh +109 -0
- package/src/assets/favicons/favicon.ico +0 -0
- package/src/assets/img/100x100.jpg +0 -0
- package/src/assets/img/600x260.jpg +0 -0
- package/src/assets/img/Heart-Pattern-Dark.png +0 -0
- package/src/assets/img/Heart-Pattern.png +0 -0
- package/src/assets/img/banner-background--desktop.png +0 -0
- package/src/assets/img/banner-background--mobile.png +0 -0
- package/src/assets/img/banner-bg.png +0 -0
- package/src/assets/img/banner.png +0 -0
- package/src/assets/img/card--brand.png +0 -0
- package/src/assets/img/card--components.png +0 -0
- package/src/assets/img/card--content.png +0 -0
- package/src/assets/img/header-logo-agov.png +0 -0
- package/src/assets/img/header-logo-qgov--dark.svg +63 -0
- package/src/assets/img/header-logo-qgov--light.svg +56 -0
- package/src/assets/img/header-logo-qgov--pre-dark.svg +56 -0
- package/src/assets/img/header-search.svg +3 -0
- package/src/assets/img/layers-2x.png +0 -0
- package/src/assets/img/layers.png +0 -0
- package/src/assets/img/marker-icon.png +0 -0
- package/src/assets/img/svg-icons.svg +155 -0
- package/src/assets/img/video-play.svg +3 -0
- package/src/components/_global/css/admin/component.scss +71 -0
- package/src/components/_global/css/body/component.scss +897 -0
- package/src/components/_global/css/btn/component.scss +564 -0
- package/src/components/_global/css/cta_links/component.scss +121 -0
- package/src/components/_global/css/direction_links/component.scss +196 -0
- package/src/components/_global/css/example/component.scss +54 -0
- package/src/components/_global/css/forms/control_inputs/component.scss +349 -0
- package/src/components/_global/css/forms/general/component.scss +298 -0
- package/src/components/_global/css/forms/select/component.scss +230 -0
- package/src/components/_global/css/forms/text/component.scss +402 -0
- package/src/components/_global/css/global.scss +42 -0
- package/src/components/_global/css/grid-12/component.scss +331 -0
- package/src/components/_global/css/headings/component.scss +172 -0
- package/src/components/_global/css/icons/component.scss +29 -0
- package/src/components/_global/css/link_columns/component.scss +194 -0
- package/src/components/_global/css/link_list/component.scss +37 -0
- package/src/components/_global/css/modal/component.scss +182 -0
- package/src/components/_global/css/slick/component.scss +25 -0
- package/src/components/_global/css/table/component.scss +211 -0
- package/src/components/_global/css/tabs/component.scss +43 -0
- package/src/components/_global/css/tags/component.scss +272 -0
- package/src/components/_global/css/user_location/component.scss +38 -0
- package/src/components/_global/css/version/component.scss +47 -0
- package/src/components/_global/html/component.hbs +108 -0
- package/src/components/_global/html/ds_component.hbs +30 -0
- package/src/components/_global/html/head.html +63 -0
- package/src/components/_global/html/scripts.html +58 -0
- package/src/components/_global/js/_polyfills/global.js +18 -0
- package/src/components/_global/js/animate/global.js +324 -0
- package/src/components/_global/js/forms/global.js +182 -0
- package/src/components/_global/js/global.js +302 -0
- package/src/components/_global/js/manifest.json +11 -0
- package/src/components/_global/js/modal/global.js +236 -0
- package/src/components/_global/js/slick/global.js +153 -0
- package/src/components/_global/js/tabs/global.js +305 -0
- package/src/components/_global/js/user_location/global.js +116 -0
- package/src/components/_template/css/component.scss +22 -0
- package/src/components/_template/html/component-page.html +85 -0
- package/src/components/_template/html/component.hbs +4 -0
- package/src/components/_template/js/global.js +6 -0
- package/src/components/_template/js/manifest.json +40 -0
- package/src/components/abstract/css/component.scss +91 -0
- package/src/components/abstract/html/component.hbs +9 -0
- package/src/components/abstract/js/manifest.json +29 -0
- package/src/components/accordion/css/component.scss +329 -0
- package/src/components/accordion/html/accordion-group.html +157 -0
- package/src/components/accordion/html/component.hbs +46 -0
- package/src/components/accordion/html/default.html +92 -0
- package/src/components/accordion/js/global.js +413 -0
- package/src/components/accordion/js/manifest.json +427 -0
- package/src/components/banner/css/component.scss +664 -0
- package/src/components/banner/html/component.hbs +52 -0
- package/src/components/banner/js/manifest.json +11 -0
- package/src/components/banner_advanced/css/component.scss +7 -0
- package/src/components/banner_advanced/html/component.hbs +213 -0
- package/src/components/banner_advanced/js/global.js +6 -0
- package/src/components/banner_advanced/js/manifest.json +1450 -0
- package/src/components/banner_basic/css/component.scss +52 -0
- package/src/components/banner_basic/html/component.hbs +130 -0
- package/src/components/banner_basic/js/global.js +6 -0
- package/src/components/banner_basic/js/manifest.json +151 -0
- package/src/components/banner_intermediate/css/component.scss +276 -0
- package/src/components/banner_intermediate/html/component.hbs +165 -0
- package/src/components/banner_intermediate/js/global.js +6 -0
- package/src/components/banner_intermediate/js/manifest.json +248 -0
- package/src/components/body/css/component.scss +16 -0
- package/src/components/body/html/component.hbs +5 -0
- package/src/components/body/js/manifest.json +46 -0
- package/src/components/breadcrumbs/css/component.scss +236 -0
- package/src/components/breadcrumbs/html/component.hbs +29 -0
- package/src/components/breadcrumbs/js/manifest.json +9 -0
- package/src/components/callout/css/component.scss +146 -0
- package/src/components/callout/html/component.hbs +28 -0
- package/src/components/callout/js/manifest.json +121 -0
- package/src/components/card_feature/css/component.scss +224 -0
- package/src/components/card_feature/html/component.hbs +129 -0
- package/src/components/card_feature/js/manifest.json +1390 -0
- package/src/components/card_multi_action/css/component.scss +229 -0
- package/src/components/card_multi_action/html/component.hbs +192 -0
- package/src/components/card_multi_action/js/manifest.json +1314 -0
- package/src/components/card_no_action/css/component.scss +551 -0
- package/src/components/card_no_action/html/component.hbs +127 -0
- package/src/components/card_no_action/js/global.js +6 -0
- package/src/components/card_no_action/js/manifest.json +1264 -0
- package/src/components/card_single_action/css/component.scss +164 -0
- package/src/components/card_single_action/html/component.hbs +161 -0
- package/src/components/card_single_action/js/manifest.json +1273 -0
- package/src/components/code/css/component.scss +355 -0
- package/src/components/code/html/component.hbs +84 -0
- package/src/components/code/js/global.js +160 -0
- package/src/components/code/js/manifest.json +112 -0
- package/src/components/footer/css/component.scss +437 -0
- package/src/components/footer/html/component.hbs +177 -0
- package/src/components/footer/js/manifest.json +9 -0
- package/src/components/global_alert/css/component.scss +169 -0
- package/src/components/global_alert/html/component.hbs +38 -0
- package/src/components/global_alert/js/global.js +39 -0
- package/src/components/global_alert/js/manifest.json +9 -0
- package/src/components/header/css/component.scss +697 -0
- package/src/components/header/html/component.hbs +186 -0
- package/src/components/header/js/global.js +188 -0
- package/src/components/header/js/manifest.json +11 -0
- package/src/components/horizontal_rule/css/component.scss +37 -0
- package/src/components/horizontal_rule/html/component.hbs +6 -0
- package/src/components/horizontal_rule/js/manifest.json +69 -0
- package/src/components/in_page_navigation/css/component.scss +54 -0
- package/src/components/in_page_navigation/html/component.hbs +17 -0
- package/src/components/in_page_navigation/js/global.js +51 -0
- package/src/components/in_page_navigation/js/manifest.json +35 -0
- package/src/components/internal_navigation/css/component.scss +437 -0
- package/src/components/internal_navigation/html/component.hbs +57 -0
- package/src/components/internal_navigation/js/manifest.json +11 -0
- package/src/components/left_hand_navigation/css/component.scss +280 -0
- package/src/components/left_hand_navigation/html/component.hbs +77 -0
- package/src/components/left_hand_navigation/js/global.js +36 -0
- package/src/components/left_hand_navigation/js/manifest.json +40 -0
- package/src/components/main_navigation/css/component.scss +706 -0
- package/src/components/main_navigation/html/component.hbs +87 -0
- package/src/components/main_navigation/js/global.js +373 -0
- package/src/components/main_navigation/js/manifest.json +11 -0
- package/src/components/mega_main_navigation/css/component.scss +535 -0
- package/src/components/mega_main_navigation/html/component.hbs +157 -0
- package/src/components/mega_main_navigation/js/global.js +170 -0
- package/src/components/mega_main_navigation/js/manifest.json +9 -0
- package/src/components/multi_column/css/component.scss +11 -0
- package/src/components/multi_column/html/component.hbs +98 -0
- package/src/components/multi_column/js/manifest.json +233 -0
- package/src/components/page_alert/css/component.scss +132 -0
- package/src/components/page_alert/html/component.hbs +26 -0
- package/src/components/page_alert/js/manifest.json +63 -0
- package/src/components/pagination/css/component.scss +196 -0
- package/src/components/pagination/html/component.hbs +41 -0
- package/src/components/pagination/html/default.html +30 -0
- package/src/components/pagination/js/manifest.json +42 -0
- package/src/components/search_box/css/component.scss +48 -0
- package/src/components/search_box/html/component.html +11 -0
- package/src/components/search_box/js/manifest.json +73 -0
- package/src/components/updated_date/css/component.scss +0 -0
- package/src/components/updated_date/html/component.hbs +31 -0
- package/src/components/updated_date/js/manifest.json +9 -0
- package/src/components/widgets/css/component.scss +82 -0
- package/src/components/widgets/html/component.hbs +19 -0
- package/src/components/widgets/html/default.html +4 -0
- package/src/components/widgets/js/current.json +483 -0
- package/src/components/widgets/js/manifest.json +9 -0
- package/src/components/widgets/js/site.json +358 -0
- package/src/data/current.json +522 -0
- package/src/data/current_admin.json +305 -0
- package/src/data/model_component.js +14 -0
- package/src/data/site.json +762 -0
- package/src/externals/componentPreview.js +101 -0
- package/src/externals/dsComponentLoader.js +410 -0
- package/src/externals/esri-leaflet-vector.js +5 -0
- package/src/externals/esri-leaflet.js +12 -0
- package/src/externals/fb-handlebars.min.js +29 -0
- package/src/externals/fb-typeahead.bundle.min.js +6 -0
- package/src/externals/funnelback.autocompletion-2.6.0.js +678 -0
- package/src/externals/getPagination.js +62 -0
- package/src/externals/handlebars.min-v4.7.6.js +29 -0
- package/src/externals/leaflet.js +6 -0
- package/src/externals/populateDatastoreSim.js +381 -0
- package/src/externals/tinymce_classes.css +62 -0
- package/src/helpers/Handlebars/appendIf.js +6 -0
- package/src/helpers/Handlebars/arrayLength.js +3 -0
- package/src/helpers/Handlebars/arrayWith.js +13 -0
- package/src/helpers/Handlebars/capitaliseFirst.js +8 -0
- package/src/helpers/Handlebars/charMax.js +8 -0
- package/src/helpers/Handlebars/checkIf.js +20 -0
- package/src/helpers/Handlebars/columnWidth.js +39 -0
- package/src/helpers/Handlebars/contains.js +7 -0
- package/src/helpers/Handlebars/createMap.js +19 -0
- package/src/helpers/Handlebars/dsMapFromID.js +8 -0
- package/src/helpers/Handlebars/dsMapFromProp.js +8 -0
- package/src/helpers/Handlebars/eachByName.js +18 -0
- package/src/helpers/Handlebars/eachDS.js +7 -0
- package/src/helpers/Handlebars/eachFrom.js +13 -0
- package/src/helpers/Handlebars/eachUpTo.js +8 -0
- package/src/helpers/Handlebars/eachWhen.js +33 -0
- package/src/helpers/Handlebars/formatDate.js +62 -0
- package/src/helpers/Handlebars/generateDates.js +74 -0
- package/src/helpers/Handlebars/getDistance.js +40 -0
- package/src/helpers/Handlebars/getObject.js +3 -0
- package/src/helpers/Handlebars/getParamaterByName.js +11 -0
- package/src/helpers/Handlebars/getPossibleValues.js +13 -0
- package/src/helpers/Handlebars/getProp.js +3 -0
- package/src/helpers/Handlebars/getTags.js +20 -0
- package/src/helpers/Handlebars/getTitle.js +4 -0
- package/src/helpers/Handlebars/ifAny.js +9 -0
- package/src/helpers/Handlebars/ifArray.js +3 -0
- package/src/helpers/Handlebars/ifCond.js +31 -0
- package/src/helpers/Handlebars/ifEqualsOrChained.js +12 -0
- package/src/helpers/Handlebars/ifProp.js +3 -0
- package/src/helpers/Handlebars/if_eq.js +9 -0
- package/src/helpers/Handlebars/inArray.js +8 -0
- package/src/helpers/Handlebars/isPage.js +7 -0
- package/src/helpers/Handlebars/itemAt.js +11 -0
- package/src/helpers/Handlebars/jsonParse.js +8 -0
- package/src/helpers/Handlebars/jsonStringify.js +3 -0
- package/src/helpers/Handlebars/listAZ.js +51 -0
- package/src/helpers/Handlebars/listAZOptions.js +34 -0
- package/src/helpers/Handlebars/listByClosest.js +60 -0
- package/src/helpers/Handlebars/listByClosestWithOffset.js +63 -0
- package/src/helpers/Handlebars/math.js +11 -0
- package/src/helpers/Handlebars/newLineToBreak.js +6 -0
- package/src/helpers/Handlebars/nonBreakingSpaces.js +6 -0
- package/src/helpers/Handlebars/objectFromSelect.js +21 -0
- package/src/helpers/Handlebars/partialReplace.js +9 -0
- package/src/helpers/Handlebars/printAccordion.js +24 -0
- package/src/helpers/Handlebars/replace.js +8 -0
- package/src/helpers/Handlebars/replaceMany.js +5 -0
- package/src/helpers/Handlebars/sizeFormat.js +11 -0
- package/src/helpers/Handlebars/split.js +6 -0
- package/src/helpers/Handlebars/toUpperCase.js +7 -0
- package/src/helpers/Handlebars/urldecode.js +3 -0
- package/src/helpers/Handlebars/urlencode.js +3 -0
- package/src/helpers/Handlebars/withinObject.js +13 -0
- package/src/html/component-abstract.html +86 -0
- package/src/html/component-accordion.html +87 -0
- package/src/html/component-banner.html +84 -0
- package/src/html/component-banner_advanced.html +97 -0
- package/src/html/component-banner_basic.html +163 -0
- package/src/html/component-banner_intermediate.html +91 -0
- package/src/html/component-body.html +116 -0
- package/src/html/component-breadcrumbs.html +88 -0
- package/src/html/component-btn.html +117 -0
- package/src/html/component-callout.html +86 -0
- package/src/html/component-card_feature.html +631 -0
- package/src/html/component-card_multi_action.html +793 -0
- package/src/html/component-card_no_action.html +521 -0
- package/src/html/component-card_single_action.html +631 -0
- package/src/html/component-code.html +84 -0
- package/src/html/component-footer.html +87 -0
- package/src/html/component-forms.html +585 -0
- package/src/html/component-global-elements.html +531 -0
- package/src/html/component-global_alert.html +87 -0
- package/src/html/component-header.html +88 -0
- package/src/html/component-in_page_navigation.html +109 -0
- package/src/html/component-internal_navigation.html +87 -0
- package/src/html/component-left_hand_navigation.html +85 -0
- package/src/html/component-main_navigation.html +87 -0
- package/src/html/component-mega_main_navigation.html +88 -0
- package/src/html/component-multi_column.html +86 -0
- package/src/html/component-page_alert.html +86 -0
- package/src/html/component-pagination.html +86 -0
- package/src/html/component-tag_list.html +340 -0
- package/src/html/component-updated_date.html +88 -0
- package/src/html/component-widgets.html +90 -0
- package/src/html/components.html +136 -0
- package/src/html/home.html +126 -0
- package/src/html/index.html +142 -0
- package/src/html/inner-with-nav.html +1126 -0
- package/src/html/inner.html +107 -0
- package/src/index.js +12 -0
- package/src/styles/global.scss +120 -0
- package/src/styles/imports/figma.scss +0 -0
- package/src/styles/imports/functions.scss +519 -0
- package/src/styles/imports/mixins.scss +658 -0
- package/src/styles/imports/placeholders.scss +68 -0
- package/src/styles/imports/utilities.scss +185 -0
- package/src/styles/imports/variables.scss +484 -0
- package/src/styles/postcss.config.js +4 -0
- package/webpack/JsonMergePlugin.js +35 -0
- package/webpack/PrecompilePlugin.js +369 -0
- package/webpack/webpack.common.js +151 -0
- package/webpack/webpack.dev.js +54 -0
- package/webpack/webpack.prod.js +70 -0
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
//--------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
2
|
+
// Tags
|
|
3
|
+
//--------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
4
|
+
.qld__tag{
|
|
5
|
+
display: inline-block;
|
|
6
|
+
@include QLD-fontgrid( xs );
|
|
7
|
+
line-height: 20px;
|
|
8
|
+
@include QLD-space ( padding, 0 .5unit);
|
|
9
|
+
@include QLD-space ( font-size, .875unit);
|
|
10
|
+
@include QLD-space ( line-height, 1.5unit);
|
|
11
|
+
color: var(--QLD-color-light-text__muted);
|
|
12
|
+
border: 1px solid var(--QLD-color-light-border);
|
|
13
|
+
border-radius: $QLD-border-radius-md;
|
|
14
|
+
@include QLD-space(margin, 0);
|
|
15
|
+
@include QLD-focus();
|
|
16
|
+
// white-space: nowrap;
|
|
17
|
+
text-align: center;
|
|
18
|
+
|
|
19
|
+
.qld__card .qld__card__footer &{
|
|
20
|
+
color: var(--QLD-color-light-text__muted);
|
|
21
|
+
border-color: var(--QLD-color-light-border);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.qld__body--alt &,
|
|
25
|
+
.qld__card .qld__card__footer &{
|
|
26
|
+
border-color: var(--QLD-color-light-alt-border);
|
|
27
|
+
color: var(--QLD-color-light-text__muted);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.qld__body--dark &,
|
|
31
|
+
.qld__card--dark .qld__card__footer &{
|
|
32
|
+
border-color: var(--QLD-color-dark-alt-border);
|
|
33
|
+
color: var(--QLD-color-dark-text__muted);
|
|
34
|
+
@include QLD-focus( 'dark' );
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.qld__body--dark-alt &,
|
|
38
|
+
.qld__card--dark-alt .qld__card__footer &{
|
|
39
|
+
border-color: var(--QLD-color-dark-border);
|
|
40
|
+
color: var(--QLD-color-dark-text__muted);
|
|
41
|
+
@include QLD-focus( 'dark' );
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&.qld__tag--large {
|
|
45
|
+
@include QLD-fontgrid( sm );
|
|
46
|
+
@include QLD-space ( font-size, 1unit);
|
|
47
|
+
@include QLD-space ( padding, .5unit 1unit );
|
|
48
|
+
border-radius: $QLD-border-radius-lg;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
a.qld__tag,
|
|
53
|
+
.qld__tag.qld__tag--link{
|
|
54
|
+
color: var(--QLD-color-light-link);
|
|
55
|
+
border-color: var(--QLD-color-light-link);
|
|
56
|
+
text-decoration: none;
|
|
57
|
+
|
|
58
|
+
.qld__card .qld__card__footer &{
|
|
59
|
+
color: var(--QLD-color-light-link);
|
|
60
|
+
border-color: var(--QLD-color-light-link);
|
|
61
|
+
|
|
62
|
+
&:hover {
|
|
63
|
+
text-decoration: underline;
|
|
64
|
+
background-color: var(--QLD-color-light-button__hover);
|
|
65
|
+
color: var(--QLD-color-dark-link);
|
|
66
|
+
border-color: var(--QLD-color-light-button__hover);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&:hover {
|
|
71
|
+
text-decoration: underline;
|
|
72
|
+
background-color: var(--QLD-color-light-button__hover);
|
|
73
|
+
color: var(--QLD-color-dark-link);
|
|
74
|
+
border-color: var(--QLD-color-light-button__hover);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.qld__body--alt &,
|
|
78
|
+
.qld__card--alt .qld__card__footer &{
|
|
79
|
+
color: var(--QLD-color-light-link);
|
|
80
|
+
border-color: var(--QLD-color-light-link);
|
|
81
|
+
|
|
82
|
+
&:hover {
|
|
83
|
+
background-color: var(--QLD-color-light-button__hover);
|
|
84
|
+
color: var(--QLD-color-dark-link);
|
|
85
|
+
border-color: var(--QLD-color-light-button__hover);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.qld__body--dark &,
|
|
90
|
+
.qld__card--dark .qld__card__footer &,
|
|
91
|
+
.qld__body--dark-alt &,
|
|
92
|
+
.qld__card--dark-alt .qld__card__footer &{
|
|
93
|
+
border-color: var(--QLD-color-dark-link);
|
|
94
|
+
color: var(--QLD-color-dark-link);
|
|
95
|
+
|
|
96
|
+
&:hover {
|
|
97
|
+
background-color: var(--QLD-color-dark-button__hover);
|
|
98
|
+
color: var(--QLD-color-dark-button__text);
|
|
99
|
+
border-color: var(--QLD-color-dark-button__hover);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.qld__tag.qld__tag--info,
|
|
105
|
+
.qld__card__footer .qld__tag.qld__tag--info{
|
|
106
|
+
color: var(--QLD-color-light-text__muted);
|
|
107
|
+
border-color: var(--QLD-color-light-background__shade);
|
|
108
|
+
background-color: var(--QLD-color-light-background__shade);
|
|
109
|
+
|
|
110
|
+
.qld__body--alt &,
|
|
111
|
+
.qld__card--alt .qld__card__footer &{
|
|
112
|
+
color: var(--QLD-color-light-text__muted);
|
|
113
|
+
border-color: var(--QLD-color-light-alt-background__shade);
|
|
114
|
+
background-color: var(--QLD-color-light-alt-background__shade);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.qld__body--dark &,
|
|
118
|
+
.qld__card--dark .qld__card__footer &{
|
|
119
|
+
color: var(--QLD-color-dark-text__muted);
|
|
120
|
+
border-color: var(--QLD-color-dark-background__shade);
|
|
121
|
+
background-color: var(--QLD-color-dark-background__shade);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.qld__body--dark-alt &,
|
|
125
|
+
.qld__card--dark-alt .qld__card__footer &{
|
|
126
|
+
color: var(--QLD-color-dark-text__muted);
|
|
127
|
+
border-color: var(--QLD-color-dark-alt-background__shade);
|
|
128
|
+
background-color: var(--QLD-color-dark-alt-background__shade);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.qld__tag.qld__tag--filter,
|
|
133
|
+
.qld__card__footer .qld__tag.qld__tag--filter{
|
|
134
|
+
color: var(--QLD-color-light-text);
|
|
135
|
+
border-color: var(--QLD-color-light-border);
|
|
136
|
+
background-color: transparent;
|
|
137
|
+
@include QLD-fontgrid( sm );
|
|
138
|
+
@include QLD-space ( font-size, 1unit);
|
|
139
|
+
@include QLD-space ( padding, .5unit 1unit );
|
|
140
|
+
border-radius: $QLD-border-radius-lg;
|
|
141
|
+
text-decoration: none;
|
|
142
|
+
|
|
143
|
+
&:hover {
|
|
144
|
+
color: var(--QLD-color-light-text);
|
|
145
|
+
text-decoration: none;
|
|
146
|
+
background-color: transparent;
|
|
147
|
+
border-color: var(--QLD-color-light-border);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.qld__tag--filter-close{
|
|
151
|
+
|
|
152
|
+
// background-image: QLD-svg-with-fill($QLD-icon-close, var(--QLD-color-light-alt-button));
|
|
153
|
+
// background-color: transparent;
|
|
154
|
+
// background-repeat: no-repeat;
|
|
155
|
+
// background-position: center;
|
|
156
|
+
mask-image: QLD-svguri($QLD-icon-close);
|
|
157
|
+
mask-repeat: no-repeat;
|
|
158
|
+
mask-position: center;
|
|
159
|
+
background-color: var(--QLD-color-light-alt-button);
|
|
160
|
+
@include QLD-space(height, 1.25unit);
|
|
161
|
+
@include QLD-space(width, 1.25unit);
|
|
162
|
+
display: inline-block;
|
|
163
|
+
@include QLD-space(margin-left, .5unit);
|
|
164
|
+
@include QLD-space(line-height, 1.5unit);
|
|
165
|
+
vertical-align: middle;
|
|
166
|
+
white-space: nowrap;
|
|
167
|
+
border: none;
|
|
168
|
+
cursor: pointer;
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
&:hover{
|
|
172
|
+
// background-image: QLD-svg-with-fill($QLD-icon-close-hover, var(--QLD-color-light-alt-button));
|
|
173
|
+
mask-image: QLD-svguri($QLD-icon-close-hover);
|
|
174
|
+
background-color: var(--QLD-color-light-alt-button__hover);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.qld__body--alt &,
|
|
179
|
+
.qld__card--alt .qld__card__footer &{
|
|
180
|
+
color: var(--QLD-color-light-text);
|
|
181
|
+
border-color: var(--QLD-color-light-alt-border);
|
|
182
|
+
|
|
183
|
+
&:hover {
|
|
184
|
+
color: var(--QLD-color-light-text);
|
|
185
|
+
text-decoration: none;
|
|
186
|
+
background-color: transparent;
|
|
187
|
+
border-color: var(--QLD-color-light-alt-border);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.qld__body--dark &,
|
|
192
|
+
.qld__card--dark .qld__card__footer &{
|
|
193
|
+
color: var(--QLD-color-dark-text);
|
|
194
|
+
border-color: var(--QLD-color-dark-alt-border);
|
|
195
|
+
|
|
196
|
+
&:hover {
|
|
197
|
+
color: var(--QLD-color-dark-text);
|
|
198
|
+
text-decoration: none;
|
|
199
|
+
background-color: transparent;
|
|
200
|
+
border-color: var(--QLD-color-dark-alt-border);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.qld__tag--filter-close{
|
|
204
|
+
// background-image: QLD-svg-with-fill($QLD-icon-close, var(--QLD-color-dark-alt-button));
|
|
205
|
+
background-color: var(--QLD-color-dark-alt-button__hover);
|
|
206
|
+
|
|
207
|
+
&:hover{
|
|
208
|
+
// background-image: QLD-svg-with-fill($QLD-icon-close-hover, var(--QLD-color-dark-alt-button));
|
|
209
|
+
background-color: var(--QLD-color-dark-alt-button__hover);
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.qld__body--dark-alt &,
|
|
215
|
+
.qld__card--dark-alt .qld__card__footer &{
|
|
216
|
+
color: var(--QLD-color-dark-text);
|
|
217
|
+
border-color: var(--QLD-color-dark-border);
|
|
218
|
+
|
|
219
|
+
&:hover {
|
|
220
|
+
color: var(--QLD-color-dark-text);
|
|
221
|
+
text-decoration: none;
|
|
222
|
+
background-color: transparent;
|
|
223
|
+
border-color: var(--QLD-color-dark-border);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.qld__tag--filter-close{
|
|
227
|
+
// background-image: QLD-svg-with-fill($QLD-icon-close, var(--QLD-color-dark-alt-button));
|
|
228
|
+
background-color: var(--QLD-color-dark-alt-button__hover);
|
|
229
|
+
|
|
230
|
+
&:hover{
|
|
231
|
+
// background-image: QLD-svg-with-fill($QLD-icon-close-hover, var(--QLD-color-dark-alt-button));
|
|
232
|
+
background-color: var(--QLD-color-dark-alt-button__hover);
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.qld__tag-list {
|
|
241
|
+
display: flex;
|
|
242
|
+
flex-direction: row;
|
|
243
|
+
padding: 0;
|
|
244
|
+
list-style-type: none;
|
|
245
|
+
flex-wrap: wrap;
|
|
246
|
+
@include QLD-space ( margin, 0.5unit 0);
|
|
247
|
+
&--space-between {
|
|
248
|
+
justify-content: space-between;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
li {
|
|
252
|
+
@include QLD-space ( margin, 0.5unit 0.5unit 0 0 );
|
|
253
|
+
display: inline-block;
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
.slick-slider .slick-slide &{
|
|
257
|
+
height: auto;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
> .qld__tag:focus {
|
|
261
|
+
outline-offset: -1px;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
// Print styles
|
|
267
|
+
@media print {
|
|
268
|
+
.qld__tag {
|
|
269
|
+
color: #000 !important;
|
|
270
|
+
border-color: #000 !important;
|
|
271
|
+
}
|
|
272
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
.qld__use-current-location-btn {
|
|
2
|
+
border: 0;
|
|
3
|
+
background-color: transparent;
|
|
4
|
+
margin-top: 15px;
|
|
5
|
+
position: relative;
|
|
6
|
+
margin-left: 4px;
|
|
7
|
+
padding-left: pxToRem(35);
|
|
8
|
+
cursor: pointer;
|
|
9
|
+
line-height: 20px;
|
|
10
|
+
vertical-align: middle;
|
|
11
|
+
color: var(--QLD-color-light-text);
|
|
12
|
+
|
|
13
|
+
&:disabled {
|
|
14
|
+
cursor: not-allowed;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&:before {
|
|
18
|
+
content: "";
|
|
19
|
+
position: absolute;
|
|
20
|
+
display: block;
|
|
21
|
+
left: 0px;
|
|
22
|
+
top: 0px;
|
|
23
|
+
width: 22px;
|
|
24
|
+
height: 22px;
|
|
25
|
+
border: 2px solid var(--QLD-color-light-heading);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.active {
|
|
29
|
+
&:before {
|
|
30
|
+
background-image: QLD-svguri('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">' +
|
|
31
|
+
'<path d="M435.848 83.466L172.804 346.51l-96.652-96.652c-4.686-4.686-12.284-4.686-16.971 0l-28.284 28.284c-4.686 4.686-4.686 12.284 0 16.971l133.421 133.421c4.686 4.686 12.284 4.686 16.971 0l299.813-299.813c4.686-4.686 4.686-12.284 0-16.971l-28.284-28.284c-4.686-4.686-12.284-4.686-16.97 0z"/>' +
|
|
32
|
+
'</svg>');
|
|
33
|
+
background-size: 16px 14px;
|
|
34
|
+
background-position: 1px 3px;
|
|
35
|
+
background-repeat: no-repeat;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
//--------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
2
|
+
// Version styles
|
|
3
|
+
//--------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
4
|
+
|
|
5
|
+
.qld__version {
|
|
6
|
+
@include QLD-space(margin, 2unit 0);
|
|
7
|
+
@include QLD-media(lg) {
|
|
8
|
+
@include QLD-space(margin, 0 0 2unit 2unit);
|
|
9
|
+
float: right;
|
|
10
|
+
width: 33%;
|
|
11
|
+
|
|
12
|
+
.qld__body h1 + & {
|
|
13
|
+
@include QLD-space(margin-top, -1.5unit);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
&__status {
|
|
17
|
+
position: relative;
|
|
18
|
+
@include QLD-space(margin-top, 1.1875unit);
|
|
19
|
+
@include QLD-space(padding, 0.625unit 0.75unit 0.625unit 2.875unit);
|
|
20
|
+
@include QLD-space(
|
|
21
|
+
border-top,
|
|
22
|
+
solid var(--QLD-color-light-border) 0.0625unit
|
|
23
|
+
);
|
|
24
|
+
.svg-inline--fa {
|
|
25
|
+
position: absolute;
|
|
26
|
+
@include QLD-space(left, 0.5625unit);
|
|
27
|
+
@include QLD-space(top, 50%);
|
|
28
|
+
transform: scale(0.75) translateY(-50%);
|
|
29
|
+
transform-origin: top;
|
|
30
|
+
&.fa-check-circle {
|
|
31
|
+
color: var(--QLD-color-light-designAccent);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
small {
|
|
35
|
+
display: block;
|
|
36
|
+
@include QLD-space(margin-bottom, -0.125unit);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
&__links {
|
|
40
|
+
@include QLD-space(
|
|
41
|
+
border-top,
|
|
42
|
+
solid var(--QLD-color-light-border) 0.0625unit
|
|
43
|
+
);
|
|
44
|
+
margin-top: 0 !important;
|
|
45
|
+
padding: 0.875rem 0 0 !important;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
<h1>{{manifest.component.name}}</h1>
|
|
2
|
+
<!--@@ Component Version @@-->
|
|
3
|
+
<div class="qld__version">
|
|
4
|
+
<h5 class="qld__version__heading">Version {{manifest.component.version}}</h5>
|
|
5
|
+
<div class="qld__version__status {{manifest.component.status}}">
|
|
6
|
+
<i class="far
|
|
7
|
+
{{#ifCond mani-fest.component.status '==' 'In Development'}}
|
|
8
|
+
fa-code
|
|
9
|
+
{{/ifCond}}
|
|
10
|
+
{{#ifCond manifest.component.status '==' 'Pending Release'}}
|
|
11
|
+
fa-clock
|
|
12
|
+
{{/ifCond}}
|
|
13
|
+
{{#ifCond manifest.component.status '==' 'Released'}}
|
|
14
|
+
fa-check-circle
|
|
15
|
+
{{/ifCond}}
|
|
16
|
+
{{#ifCond manifest.component.status '==' 'Depricated'}}
|
|
17
|
+
fa-level-down-alt
|
|
18
|
+
{{/ifCond}}
|
|
19
|
+
{{#ifCond manifest.component.status '==' 'Removed'}}
|
|
20
|
+
fa-times
|
|
21
|
+
{{/ifCond}}
|
|
22
|
+
"></i>
|
|
23
|
+
<small>Status</small>
|
|
24
|
+
{{manifest.component.status}}
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
|
|
28
|
+
<!--@@ Component Description @@-->
|
|
29
|
+
<div class="qld__abstract">
|
|
30
|
+
<p>{{manifest.component.description}}</p>
|
|
31
|
+
</div>
|
|
32
|
+
|
|
33
|
+
<div class="qld__example">
|
|
34
|
+
<div role="tablist" aria-label="Component output">
|
|
35
|
+
<button role="tab" aria-selected="true" aria-controls="cp-tab--body" id="cp-heading--body" class="qld__example__title qld__tab qld__tab--selected">Output</button>
|
|
36
|
+
<button role="tab" aria-selected="false" aria-controls="cp-tab--html" id="cp-heading--html" class="qld__example__title qld__tab">HTML</button>
|
|
37
|
+
</div>
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
<div role="tabpanel" id="cp-tab--body" aria-labelledby="cp-heading--body" class="qld__example__inline component_output qld__tab_panel" >
|
|
41
|
+
{{{component_output}}}
|
|
42
|
+
</div>
|
|
43
|
+
|
|
44
|
+
<div role="tabpanel" id="cp-tab--html" aria-labelledby="cp-heading--html" class="qld__example__inline qld__tab_panel" hidden="hidden">
|
|
45
|
+
<pre class="qld__example__html"><code class="component_output">{{component_output}}</code></pre>
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
<div class="qld__model_editor">
|
|
51
|
+
<script>
|
|
52
|
+
const componentModel = {{{jsonStringify manifest}}};
|
|
53
|
+
const component = '{{{component}}}';
|
|
54
|
+
const renderCallback = '{{{callback}}}';
|
|
55
|
+
const previewDelay = '{{{debounce}}}' ? Number('{{{debounce}}}') : 50;
|
|
56
|
+
</script>
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
{{#ifCond manifest.component.type '==' 'design'}}
|
|
61
|
+
|
|
62
|
+
{{else}}
|
|
63
|
+
<h3>Component Attributes</h3>
|
|
64
|
+
<div class="qld__fieldset">
|
|
65
|
+
<table class="qld__table qld__table--striped qld__table__attributes">
|
|
66
|
+
<thead class="qld__table__head">
|
|
67
|
+
<tr>
|
|
68
|
+
<th class="qld__table__header">Name</th>
|
|
69
|
+
<th class="qld__table__header">Friendly Name</th>
|
|
70
|
+
<th class="qld__table__header">Default</th>
|
|
71
|
+
</tr>
|
|
72
|
+
</thead>
|
|
73
|
+
<tbody class="qld__table__body">
|
|
74
|
+
{{#each manifest.component.data.metadata}}
|
|
75
|
+
<tr class="qld__table__row">
|
|
76
|
+
<td class="qld__table__cell">{{@key}}</td>
|
|
77
|
+
<td class="qld__table__cell">{{friendly_name}}</td>
|
|
78
|
+
<td class="qld__table__cell">
|
|
79
|
+
{{#ifCond type '==' 'metadata_field_text'}}
|
|
80
|
+
<input type="text" name="{{@key}}" value="{{value}}" class="qld__model_field format-{{format}}">
|
|
81
|
+
{{/ifCond}}
|
|
82
|
+
{{#ifCond type '==' 'metadata_field_date'}}
|
|
83
|
+
<input type="datetime-local" name="{{@key}}" value="{{value}}" class="qld__model_field">
|
|
84
|
+
{{/ifCond}}
|
|
85
|
+
{{#ifCond type '==' 'metadata_field_wysiwyg'}}
|
|
86
|
+
<textarea name="{{@key}}" class="qld__model_field">{{value}}</textarea>
|
|
87
|
+
{{/ifCond}}
|
|
88
|
+
{{#ifCond type '==' 'metadata_field_textarea'}}
|
|
89
|
+
<textarea name="{{@key}}" class="qld__model_field">{{value}}</textarea>
|
|
90
|
+
{{/ifCond}}
|
|
91
|
+
{{#ifCond type '==' 'metadata_field_related_asset'}}
|
|
92
|
+
<input type="text" name="{{@key}}" value="{{value}}" class="qld__model_field">
|
|
93
|
+
{{/ifCond}}
|
|
94
|
+
{{#ifCond type '==' 'metadata_field_select'}}
|
|
95
|
+
<select name="{{@key}}" class="qld__model_field">
|
|
96
|
+
{{#each options}}
|
|
97
|
+
<option value="{{@key}}" {{#ifCond @key '==' ../value}}selected{{/ifCond}}>{{this}}</option>
|
|
98
|
+
{{/each}}
|
|
99
|
+
</select>
|
|
100
|
+
{{/ifCond}}</td>
|
|
101
|
+
</tr>
|
|
102
|
+
{{/each}}
|
|
103
|
+
</tbody>
|
|
104
|
+
</table>
|
|
105
|
+
</div>
|
|
106
|
+
{{/ifCond}}
|
|
107
|
+
</div>
|
|
108
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<div id="ds_component_{{id}}" class="loading">
|
|
2
|
+
<div class="loader">Loading...</div>
|
|
3
|
+
|
|
4
|
+
<script>
|
|
5
|
+
|
|
6
|
+
// Array to store all Datastore components on the page
|
|
7
|
+
var dsComponents = dsComponents ? dsComponents : [];
|
|
8
|
+
|
|
9
|
+
// On Page Load
|
|
10
|
+
window.addEventListener('DOMContentLoaded', function () {
|
|
11
|
+
|
|
12
|
+
var dsUrl = {{datastore}}.baseURL;
|
|
13
|
+
|
|
14
|
+
dsComponents.push({
|
|
15
|
+
id: '{{id}}',
|
|
16
|
+
dsUrl: dsUrl,
|
|
17
|
+
manifest: {{{jsonStringify manifest}}},
|
|
18
|
+
schema: {{#if schema}}{{{jsonStringify schema}}}{{else}}null{{/if}},
|
|
19
|
+
schemas: {{#if schemas}}{{{jsonStringify schemas}}}{{else}}null{{/if}},
|
|
20
|
+
collection: '{{collection}}',
|
|
21
|
+
component: '{{{component}}}',
|
|
22
|
+
renderCallback: '{{{callback}}}',
|
|
23
|
+
type: '{{type}}'
|
|
24
|
+
});
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
</script>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
<!-- Metadata -->
|
|
2
|
+
<meta charset="utf-8" />
|
|
3
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
4
|
+
<!-- Imports -->
|
|
5
|
+
<link href="https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&family=Roboto+Mono&display=swap" rel="stylesheet"/>
|
|
6
|
+
<link rel="stylesheet" href="https://use.typekit.net/fse2tsb.css" />
|
|
7
|
+
<!-- <link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" rel="stylesheet" /> -->
|
|
8
|
+
|
|
9
|
+
<script id="globals-loader" data-current='${JSON.stringify(require("/src/data/current.json"))}' data-site='${JSON.stringify(require("/src/data/site.json"))}'>
|
|
10
|
+
var current = JSON.parse(document.getElementById('globals-loader').getAttribute('data-current'));
|
|
11
|
+
var site = JSON.parse(document.getElementById('globals-loader').getAttribute('data-site'));
|
|
12
|
+
var userData = { "superAdmin": false, "hhsGroup": "darling-downs" }
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<style>
|
|
16
|
+
|
|
17
|
+
.qld__grid {
|
|
18
|
+
/* --QLD-color-light-siteTitle: #133653 ;
|
|
19
|
+
--QLD-color-light-designAccent:#D2624A;
|
|
20
|
+
--QLD-color-light-heading: #12364F ;
|
|
21
|
+
--QLD-color-light-text: #333333 ;
|
|
22
|
+
--QLD-color-light-text__muted: #636363 ;
|
|
23
|
+
--QLD-color-light-link: #4469A8 ;
|
|
24
|
+
--QLD-color-light-link__visited: #375675 ;
|
|
25
|
+
--QLD-color-light-button__text: #FFFFFF ;
|
|
26
|
+
--QLD-color-light-button: #4469A8 ;
|
|
27
|
+
--QLD-color-light-button__hover: #375675 ;
|
|
28
|
+
--QLD-color-light-focus: #428F82 ;
|
|
29
|
+
--QLD-color-light-border: #EBEBEB ;
|
|
30
|
+
--QLD-color-light-background: #FFFFFF ;
|
|
31
|
+
--QLD-color-light-background__shade: #F8F9F9 ;
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
--QLD-color-light-alt-button: #218291 ;
|
|
35
|
+
--QLD-color-light-alt-button__hover: #375675 ;
|
|
36
|
+
--QLD-color-light-alt-border: #61748B ;
|
|
37
|
+
--QLD-color-light-alt-background: #EDF1F2 ;
|
|
38
|
+
--QLD-color-light-alt-background__shade: #E3EAEC ;
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
--QLD-color-dark-siteTitle: #FFFFFF ;
|
|
42
|
+
--QLD-color-dark-designAccent: #D2624A ;
|
|
43
|
+
--QLD-color-dark-heading: #FFFFFF ;
|
|
44
|
+
--QLD-color-dark-text: #FFFFFF ;
|
|
45
|
+
--QLD-color-dark-text__muted: #E2EDFB ;
|
|
46
|
+
--QLD-color-dark-link: #FFFFFF ;
|
|
47
|
+
--QLD-color-dark-link__visited: #E2EDFB ;
|
|
48
|
+
--QLD-color-dark-button__text: #FFFFFF ;
|
|
49
|
+
--QLD-color-dark-button: #218291 ;
|
|
50
|
+
--QLD-color-dark-button__hover: #517A7F ;
|
|
51
|
+
--QLD-color-dark-focus: #52AF9F ;
|
|
52
|
+
--QLD-color-dark-border: #5687B5 ;
|
|
53
|
+
--QLD-color-dark-background: #132D4E ;
|
|
54
|
+
--QLD-color-dark-background__shade: #0A2343 ;
|
|
55
|
+
|
|
56
|
+
--QLD-color-dark-alt-button: #D2834A ;
|
|
57
|
+
--QLD-color-dark-alt-button__hover: #FA954C ;
|
|
58
|
+
--QLD-color-dark-alt-border: #5279A9 ;
|
|
59
|
+
--QLD-color-dark-alt-background: #061B37 ;
|
|
60
|
+
--QLD-color-dark-alt-background__shade: #041122 ; */
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
</style>
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
<script src="https://sdk.datastore.squiz.cloud/js/sdk-simulator.js"></script>
|
|
2
|
+
<!-- <script src="https://sdk.datastore.squiz.cloud/js/sdk.js"></script> -->
|
|
3
|
+
|
|
4
|
+
<script src="https://kit.fontawesome.com/fb2f2d4cd6.js" crossorigin="anonymous"></script>
|
|
5
|
+
<!-- <script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script> -->
|
|
6
|
+
|
|
7
|
+
<script src="externals/handlebars.min-v4.7.6.js"></script>
|
|
8
|
+
<script src="externals/componentPreview.js"></script>
|
|
9
|
+
<script src="externals/dsComponentLoader.js"></script>
|
|
10
|
+
<script src="js/helpers.js"></script>
|
|
11
|
+
|
|
12
|
+
<!-- Mapping -->
|
|
13
|
+
|
|
14
|
+
<!-- Leaflet CSS -->
|
|
15
|
+
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css"
|
|
16
|
+
integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A=="
|
|
17
|
+
crossorigin="" />
|
|
18
|
+
<!-- Leaflet JS -->
|
|
19
|
+
<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js"
|
|
20
|
+
integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA=="
|
|
21
|
+
crossorigin=""></script>
|
|
22
|
+
<!-- Esri Leaflet JS -->
|
|
23
|
+
<script src="https://unpkg.com/esri-leaflet@3.0.1/dist/esri-leaflet.js"
|
|
24
|
+
integrity="sha512-JmpptMCcCg+Rd6x0Dbg6w+mmyzs1M7chHCd9W8HPovnImG2nLAQWn3yltwxXRM7WjKKFFHOAKjjF2SC4CgiFBg=="
|
|
25
|
+
crossorigin=""></script>
|
|
26
|
+
<!-- Esri Leaflet Vector Plugin JS -->
|
|
27
|
+
<script src="https://unpkg.com/esri-leaflet-vector@3.0.0/dist/esri-leaflet-vector.js"
|
|
28
|
+
integrity="sha512-i3LCZC/OnZR2VtZJ7ftXbZivyjPVBKeOqWuJ9SqaBnuiG18GyzTrHWYPgf1geE1LmI9yRENWSEI3jcpKx1dgqg=="
|
|
29
|
+
crossorigin=""></script>
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
<script>
|
|
33
|
+
const serviceFinderData = new Datastore({
|
|
34
|
+
// serviceURL: 'http://0.0.0.0:7001/hXL8Q1uq', // Matt
|
|
35
|
+
//serviceURL: 'http://0.0.0.0:7001/afMhajMG', // Tom
|
|
36
|
+
serviceURL: 'http://0.0.0.0:7001/GbO0pTqv', // Julian
|
|
37
|
+
//serviceURL: 'https://au-a14fc409.datastore.squiz.cloud',
|
|
38
|
+
jwtURL: 'http://0.0.0.0:7001/__JWT/issueToken'
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
serviceFinderData.setSetting('jwtPayload', {
|
|
42
|
+
"username": "jdoe",
|
|
43
|
+
"fullName": "John Doe",
|
|
44
|
+
"dsAdmin": false,
|
|
45
|
+
"hhsGroup": "sunshine-coast",
|
|
46
|
+
"isPublic": false,
|
|
47
|
+
"currentHHS": true
|
|
48
|
+
});
|
|
49
|
+
</script>
|
|
50
|
+
|
|
51
|
+
<script src="externals/populateDatastoreSim.js"></script>
|
|
52
|
+
|
|
53
|
+
<!-- Configure Default HHS -->
|
|
54
|
+
<div id="qhealth__hhs" data-hhs="darling-downs"></div>
|
|
55
|
+
|
|
56
|
+
<!-- <script type="text/javascript" src="https://qh-search.squiz.cloud/s/resources-global/thirdparty/typeahead-0.11.1/typeahead.bundle.min.js" async></script>
|
|
57
|
+
<script type="text/javascript" src="https://qh-search.squiz.cloud/s/resources-global/thirdparty/handlebars-4.0.5/handlebars.min.js" async></script> -->
|
|
58
|
+
<!-- <script type="text/javascript" src="https://qh-search.squiz.cloud/s/resources-global/js/funnelback.autocompletion-2.6.0.js" async></script> -->
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// IE 11 polyfill for .matches
|
|
2
|
+
if (!Element.prototype.matches) {
|
|
3
|
+
Element.prototype.matches = Element.prototype.msMatchesSelector ||
|
|
4
|
+
Element.prototype.webkitMatchesSelector;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
// IE 11 polyfill for .closest
|
|
8
|
+
if (!Element.prototype.closest) {
|
|
9
|
+
Element.prototype.closest = function (s) {
|
|
10
|
+
var el = this;
|
|
11
|
+
|
|
12
|
+
do {
|
|
13
|
+
if (Element.prototype.matches.call(el, s)) return el;
|
|
14
|
+
el = el.parentElement || el.parentNode;
|
|
15
|
+
} while (el !== null && el.nodeType === 1);
|
|
16
|
+
return null;
|
|
17
|
+
};
|
|
18
|
+
}
|