@opengis/bi 1.2.7 → 1.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/bi.js +14 -10
- package/dist/bi.umd.cjs +248 -85
- package/dist/import-file-B5MQcuRd.js +62467 -0
- package/dist/style.css +7 -1
- package/dist/{vs-funnel-bar-BzIfzGso.js → vs-funnel-bar-Lb-T2BvP.js} +11 -11
- package/dist/vs-list-CqZhcJTj.js +525 -0
- package/dist/{vs-map-BsmBbjRv.js → vs-map-BREwpKyt.js} +81 -79
- package/dist/vs-map-cluster-B3VVh2Th.js +314 -0
- package/dist/{vs-number-D28OvROP.js → vs-number-BYY_Gd6m.js} +1 -1
- package/dist/{vs-table-YpK1qNz6.js → vs-table-Deb8wNdP.js} +1 -1
- package/dist/vs-text-C_KFUoCE.js +40 -0
- package/package.json +2 -3
- package/dist/assets/charts/bar.png +0 -0
- package/dist/assets/charts/funnel.png +0 -0
- package/dist/assets/charts/no_data.jpg +0 -0
- package/dist/assets/charts/number.png +0 -0
- package/dist/assets/charts/pie.png +0 -0
- package/dist/assets/charts/progress.png +0 -0
- package/dist/assets/charts/stat.png +0 -0
- package/dist/assets/images/bar.png +0 -0
- package/dist/assets/images/funnel.png +0 -0
- package/dist/assets/images/no_data.jpg +0 -0
- package/dist/assets/images/number.png +0 -0
- package/dist/assets/images/pie.png +0 -0
- package/dist/assets/images/progress.png +0 -0
- package/dist/assets/images/stat.png +0 -0
- package/dist/import-file-DnbEvuUN.js +0 -3681
- package/dist/vs-list-_I6Z56hC.js +0 -525
- package/dist/vs-map-cluster-DT3jfiks.js +0 -356
- package/dist/vs-text-BU0n2bXl.js +0 -1521
package/dist/style.css
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}body{font-family:Inter,Segoe UI,Helvetica Neue,Roboto,sans-serif;font-weight:400}h1{font-family:Inter,Segoe UI,Helvetica Neue,Roboto,sans-serif;font-weight:700}em{font-family:Inter,Segoe UI,Helvetica Neue,Roboto,sans-serif;font-style:italic}.custom-x-scrollbar{overflow-x:auto;overflow-y:clip}.custom-x-scrollbar::-webkit-scrollbar{height:6px}.custom-x-scrollbar::-webkit-scrollbar-thumb{background-color:#e0e0e0}.custom-x-scrollbar::-webkit-scrollbar-track{background-color:#f1f1f1}.custom-scrollbar{overflow-y:auto;overflow-x:clip}.custom-scrollbar::-webkit-scrollbar{width:6px;margin-right:0}.custom-scrollbar::-webkit-scrollbar-thumb{background-color:#e0e0e0;border-radius:10px}.custom-scrollbar::-webkit-scrollbar-track{background-color:#f1f1f1}.vs-chart{width:100%;height:100%}.vs-chart-tooltip{border-radius:7px;max-height:100px;max-width:340px;min-width:140px;background-color:#fff;box-shadow:0 0 8px #0000002e}.vs-chart-tooltip__head{padding:5px;border-bottom:1px solid #eee;margin-bottom:5px}.vs-chart-tooltip__head-title{font-size:14px;font-weight:700;display:flex;align-items:center}.vs-chart-tooltip__head-value{margin-right:5px}.vs-chart-tooltip__head-series{font-size:14px;display:flex;align-items:center}.vs-chart-tooltip__color{width:12px;height:12px;display:block;border-radius:50%;margin-right:5px}.vs-chart-tooltip__body{padding:5px;font-size:14px;display:flex;align-items:start;flex-direction:column}.vs-chart-tooltip__body .vs-chart-tooltip__color{border-radius:3px}.vs-chart-tooltip__item{width:100%;display:flex;align-items:center;justify-content:space-between}.vs-chart-tooltip__text{margin-right:auto}.vs-chart-tooltip__body svg{margin-right:8px}body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.text-widget h1{font-size:18px}.text-widget h2{font-size:14px}.map__settings{display:flex;padding:3px 1px;background:#fff;position:absolute;right:0;bottom:15px;height:30px;align-items:center;font-weight:100;text-align:center}.map__settings-item{display:flex;white-space:nowrap;padding:0 2px;font-size:10px;font-weight:400}.map__settings-attribution{padding:0}.map__settings-menu{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:15px!important;position:absolute;background-color:#fff;bottom:60px;right:90px;width:260px}.map__settings-menu-item{display:flex;align-items:center;color:#2c2c2c;margin-bottom:5px;font-size:12px;justify-content:space-between;height:28px}.map__settings-menu-item-text{height:28px;line-height:28px;background-color:#fff;background-image:none;border-radius:4px;border:1px solid #dcdfe6;-webkit-box-sizing:border-box;box-sizing:border-box;color:#606266;display:inline-block;font-size:12px;height:40px;line-height:40px;outline:0;padding:0 10px}.map__settings-menu-item--checktext{color:#000!important;font-size:12px;display:inline-block;padding-left:10px;line-height:19px;cursor:pointer}.checked{color:#409eff!important}.vs-map-slot-layers{position:absolute;display:none;bottom:10px;left:15px}.vs-map-slot-layers__layer{width:50px;height:50px;background-color:#fff;box-shadow:0 0 7px #434c5626;padding:5px;border-radius:5px;margin-top:10px;margin-right:10px;cursor:pointer;transition:all .3s}.vs-map-slot-layers__layer:hover{background-color:#eee}.vs-map-slot-layers__image{width:100%;border-radius:5px;object-fit:contain}.focused{background-color:#1989fa!important}.maplibregl-popup-content{padding:0}
|
|
1
|
+
@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}body{font-family:Inter,Segoe UI,Helvetica Neue,Roboto,sans-serif;font-weight:400}h1{font-family:Inter,Segoe UI,Helvetica Neue,Roboto,sans-serif;font-weight:700}em{font-family:Inter,Segoe UI,Helvetica Neue,Roboto,sans-serif;font-style:italic}.custom-scrollbar{overflow-y:auto;overflow-x:clip}.custom-scrollbar::-webkit-scrollbar{width:6px;margin-right:0}.custom-scrollbar::-webkit-scrollbar-thumb{background-color:#e0e0e0;border-radius:10px}.custom-scrollbar::-webkit-scrollbar-track{background-color:#f1f1f1}/*!
|
|
2
|
+
Theme: Ashes
|
|
3
|
+
Author: Jannik Siebert (https://github.com/janniks)
|
|
4
|
+
License: ~ MIT (or more permissive) [via base16-schemes-source]
|
|
5
|
+
Maintainer: @highlightjs/core-team
|
|
6
|
+
Version: 2021.09.0
|
|
7
|
+
*/pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#c7ccd1;background:#1c2023}.hljs ::selection,.hljs::selection{background-color:#565e65;color:#c7ccd1}.hljs-comment{color:#747c84}.hljs-tag{color:#adb3ba}.hljs-operator,.hljs-punctuation,.hljs-subst{color:#c7ccd1}.hljs-operator{opacity:.7}.hljs-bullet,.hljs-deletion,.hljs-name,.hljs-selector-tag,.hljs-template-variable,.hljs-variable{color:#c7ae95}.hljs-attr,.hljs-link,.hljs-literal,.hljs-number,.hljs-symbol,.hljs-variable.constant_{color:#c7c795}.hljs-class .hljs-title,.hljs-title,.hljs-title.class_{color:#aec795}.hljs-strong{font-weight:700;color:#aec795}.hljs-addition,.hljs-code,.hljs-string,.hljs-title.class_.inherited__{color:#95c7ae}.hljs-built_in,.hljs-doctag,.hljs-keyword.hljs-atrule,.hljs-quote,.hljs-regexp{color:#95aec7}.hljs-attribute,.hljs-function .hljs-title,.hljs-section,.hljs-title.function_,.ruby .hljs-property{color:#ae95c7}.diff .hljs-meta,.hljs-keyword,.hljs-template-tag,.hljs-type{color:#c795ae}.hljs-emphasis{color:#c795ae;font-style:italic}.hljs-meta,.hljs-meta .hljs-keyword,.hljs-meta .hljs-string{color:#c79595}.hljs-meta .hljs-keyword,.hljs-meta-keyword{font-weight:700}.custom-scrollbar[data-v-2387f284]{overflow-y:auto;overflow-x:clip}.custom-scrollbar[data-v-2387f284]::-webkit-scrollbar{width:6px}.custom-scrollbar[data-v-2387f284]::-webkit-scrollbar-thumb{background-color:#e0e0e0;border-radius:10px}.custom-scrollbar[data-v-2387f284]::-webkit-scrollbar-track{background-color:#f1f1f1}.dataset-create .vs-form__body>div>div>div{padding-left:0;padding-right:0}.custom-x-scrollbar{overflow-x:auto;overflow-y:clip}.custom-x-scrollbar::-webkit-scrollbar{height:6px}.custom-x-scrollbar::-webkit-scrollbar-thumb{background-color:#e0e0e0}.custom-x-scrollbar::-webkit-scrollbar-track{background-color:#f1f1f1}.vs-chart{width:100%;height:100%}.vs-chart-tooltip{border-radius:7px;max-height:100px;max-width:340px;min-width:140px;background-color:#fff;box-shadow:0 0 8px #0000002e}.vs-chart-tooltip__head{padding:5px;border-bottom:1px solid #eee;margin-bottom:5px}.vs-chart-tooltip__head-title{font-size:14px;font-weight:700;display:flex;align-items:center}.vs-chart-tooltip__head-value{margin-right:5px}.vs-chart-tooltip__head-series{font-size:14px;display:flex;align-items:center}.vs-chart-tooltip__color{width:12px;height:12px;display:block;border-radius:50%;margin-right:5px}.vs-chart-tooltip__body{padding:5px;font-size:14px;display:flex;align-items:start;flex-direction:column}.vs-chart-tooltip__body .vs-chart-tooltip__color{border-radius:3px}.vs-chart-tooltip__item{width:100%;display:flex;align-items:center;justify-content:space-between}.vs-chart-tooltip__text{margin-right:auto}.vs-chart-tooltip__body svg{margin-right:8px}body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.text-widget h1{font-size:18px}.text-widget h2{font-size:14px}.map__settings{display:flex;padding:3px 1px;background:#fff;position:absolute;right:0;bottom:15px;height:30px;align-items:center;font-weight:100;text-align:center}.map__settings-item{display:flex;white-space:nowrap;padding:0 2px;font-size:10px;font-weight:400}.map__settings-attribution{padding:0}.map__settings-menu{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:15px!important;position:absolute;background-color:#fff;bottom:60px;right:90px;width:260px}.map__settings-menu-item{display:flex;align-items:center;color:#2c2c2c;margin-bottom:5px;font-size:12px;justify-content:space-between;height:28px}.map__settings-menu-item-text{height:28px;line-height:28px;background-color:#fff;background-image:none;border-radius:4px;border:1px solid #dcdfe6;-webkit-box-sizing:border-box;box-sizing:border-box;color:#606266;display:inline-block;font-size:12px;height:40px;line-height:40px;outline:0;padding:0 10px}.map__settings-menu-item--checktext{color:#000!important;font-size:12px;display:inline-block;padding-left:10px;line-height:19px;cursor:pointer}.checked{color:#409eff!important}.vs-map-slot-layers{position:absolute;display:none;bottom:10px;left:15px}.vs-map-slot-layers__layer{width:50px;height:50px;background-color:#fff;box-shadow:0 0 7px #434c5626;padding:5px;border-radius:5px;margin-top:10px;margin-right:10px;cursor:pointer;transition:all .3s}.vs-map-slot-layers__layer:hover{background-color:#eee}.vs-map-slot-layers__image{width:100%;border-radius:5px;object-fit:contain}.focused{background-color:#1989fa!important}.maplibregl-popup-content{padding:0}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as n, c, a as o, b as
|
|
2
|
-
import { createElementBlock as
|
|
3
|
-
const
|
|
1
|
+
import { _ as n, c, i as h, a as o, b as l, d } from "./import-file-B5MQcuRd.js";
|
|
2
|
+
import { createElementBlock as p, openBlock as u } from "vue";
|
|
3
|
+
const m = {
|
|
4
4
|
name: "VsFunnelBar",
|
|
5
5
|
mixins: [c],
|
|
6
6
|
data() {
|
|
@@ -19,7 +19,7 @@ const u = {
|
|
|
19
19
|
const { name: s, value: a, percent: e } = t;
|
|
20
20
|
return `
|
|
21
21
|
<div style="background-color:${r[0]};font-size: 12px; font-family: Helvetica, Arial, sans-serif;color:#ffff; padding:5px; border-radius:5px; ![box-shadow:none]">
|
|
22
|
-
${
|
|
22
|
+
${l(s)}: ${d(a)} (${e}%)
|
|
23
23
|
</div>`;
|
|
24
24
|
},
|
|
25
25
|
onChangedData() {
|
|
@@ -61,7 +61,7 @@ const u = {
|
|
|
61
61
|
},
|
|
62
62
|
async initChart(t) {
|
|
63
63
|
try {
|
|
64
|
-
const r = this.$refs.chart, s =
|
|
64
|
+
const r = this.$refs.chart, s = h(r), a = {
|
|
65
65
|
series: t,
|
|
66
66
|
...o(this.styleData),
|
|
67
67
|
tooltip: {
|
|
@@ -102,15 +102,15 @@ const u = {
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
-
},
|
|
106
|
-
function
|
|
107
|
-
return
|
|
105
|
+
}, f = ["id"];
|
|
106
|
+
function y(t, r, s, a, e, i) {
|
|
107
|
+
return u(), p("div", {
|
|
108
108
|
ref: "chart",
|
|
109
109
|
id: e.uniqueID,
|
|
110
110
|
class: "h-[90%] custom-scrollbar min-h-[200px]"
|
|
111
|
-
}, null, 8,
|
|
111
|
+
}, null, 8, f);
|
|
112
112
|
}
|
|
113
|
-
const
|
|
113
|
+
const g = /* @__PURE__ */ n(m, [["render", y]]);
|
|
114
114
|
export {
|
|
115
|
-
|
|
115
|
+
g as default
|
|
116
116
|
};
|
|
@@ -0,0 +1,525 @@
|
|
|
1
|
+
import { createBlock as b, openBlock as l, unref as L, mergeProps as v, createElementBlock as d, createElementVNode as c, withDirectives as F, toDisplayString as S, vShow as R, Fragment as P, renderList as V, normalizeClass as D, resolveComponent as A, createVNode as H } from "vue";
|
|
2
|
+
import { e as x, X as J, _ as w } from "./import-file-B5MQcuRd.js";
|
|
3
|
+
/**
|
|
4
|
+
* @license lucide-vue-next v0.546.0 - ISC
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the ISC license.
|
|
7
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
const N = x("grip-vertical", [
|
|
10
|
+
["circle", { cx: "9", cy: "12", r: "1", key: "1vctgf" }],
|
|
11
|
+
["circle", { cx: "9", cy: "5", r: "1", key: "hp0tcf" }],
|
|
12
|
+
["circle", { cx: "9", cy: "19", r: "1", key: "fkjjf6" }],
|
|
13
|
+
["circle", { cx: "15", cy: "12", r: "1", key: "1tmaij" }],
|
|
14
|
+
["circle", { cx: "15", cy: "5", r: "1", key: "19l28e" }],
|
|
15
|
+
["circle", { cx: "15", cy: "19", r: "1", key: "f4zoj3" }]
|
|
16
|
+
]);
|
|
17
|
+
/**
|
|
18
|
+
* @license lucide-vue-next v0.546.0 - ISC
|
|
19
|
+
*
|
|
20
|
+
* This source code is licensed under the ISC license.
|
|
21
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
22
|
+
*/
|
|
23
|
+
const O = x("house", [
|
|
24
|
+
["path", { d: "M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8", key: "5wwlr5" }],
|
|
25
|
+
[
|
|
26
|
+
"path",
|
|
27
|
+
{
|
|
28
|
+
d: "M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",
|
|
29
|
+
key: "r6nss1"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
]);
|
|
33
|
+
/**
|
|
34
|
+
* @license lucide-vue-next v0.546.0 - ISC
|
|
35
|
+
*
|
|
36
|
+
* This source code is licensed under the ISC license.
|
|
37
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
38
|
+
*/
|
|
39
|
+
const W = x("list", [
|
|
40
|
+
["path", { d: "M3 5h.01", key: "18ugdj" }],
|
|
41
|
+
["path", { d: "M3 12h.01", key: "nlz23k" }],
|
|
42
|
+
["path", { d: "M3 19h.01", key: "noohij" }],
|
|
43
|
+
["path", { d: "M8 5h13", key: "1pao27" }],
|
|
44
|
+
["path", { d: "M8 12h13", key: "1za7za" }],
|
|
45
|
+
["path", { d: "M8 19h13", key: "m83p4d" }]
|
|
46
|
+
]), q = {
|
|
47
|
+
__name: "close",
|
|
48
|
+
setup(e) {
|
|
49
|
+
return (t, r) => (l(), b(L(J), v(t.$attrs, { size: 24 }), null, 16));
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
function U(e) {
|
|
53
|
+
return [
|
|
54
|
+
{
|
|
55
|
+
type: "fill",
|
|
56
|
+
paint: {
|
|
57
|
+
"fill-color": e.color || "#ccc",
|
|
58
|
+
"fill-outline-color": e.color || "blue",
|
|
59
|
+
"fill-opacity": e.opacity || 1
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
];
|
|
63
|
+
}
|
|
64
|
+
function X(e) {
|
|
65
|
+
return [
|
|
66
|
+
{
|
|
67
|
+
type: "line",
|
|
68
|
+
paint: {
|
|
69
|
+
"line-color": e.color || "#ccc",
|
|
70
|
+
"line-opacity": e.opacity || 1
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
];
|
|
74
|
+
}
|
|
75
|
+
function Z(e) {
|
|
76
|
+
return [
|
|
77
|
+
{
|
|
78
|
+
type: "circle",
|
|
79
|
+
paint: {
|
|
80
|
+
"circle-radius": e.radius || 6,
|
|
81
|
+
"circle-stroke-color": e.stroke || "#ccc",
|
|
82
|
+
"circle-stroke-width": e.width || 1,
|
|
83
|
+
"circle-color": e.color || "blue"
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
];
|
|
87
|
+
}
|
|
88
|
+
function C(e) {
|
|
89
|
+
if (!e) return null;
|
|
90
|
+
const t = e.type || "point";
|
|
91
|
+
return t === "polygon" ? U(e) : t === "line" ? X(e) : Z(e);
|
|
92
|
+
}
|
|
93
|
+
const K = {
|
|
94
|
+
data() {
|
|
95
|
+
return {
|
|
96
|
+
layerList: [],
|
|
97
|
+
activeLayer: ""
|
|
98
|
+
};
|
|
99
|
+
},
|
|
100
|
+
computed: {
|
|
101
|
+
interactiveSources() {
|
|
102
|
+
return this.layerList.filter((e) => e == null ? void 0 : e.interactive).map((e) => e.id);
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
methods: {
|
|
106
|
+
moveLayer(e, t = this.map) {
|
|
107
|
+
t.getStyle().layers.forEach((r) => {
|
|
108
|
+
r.id.match(e) && t.moveLayer(r.id);
|
|
109
|
+
});
|
|
110
|
+
},
|
|
111
|
+
async setVisible(e, t = !0, r = this.map) {
|
|
112
|
+
if (!e) return;
|
|
113
|
+
const i = (e == null ? void 0 : e.id) || e, o = this.layerList.find((s) => s.id === e) || e;
|
|
114
|
+
if (!(o != null && o.id)) throw new Error("MixinError: Layer has no id");
|
|
115
|
+
const n = r.getStyle().layers.filter((s) => s.id.match(i));
|
|
116
|
+
n.forEach((s) => {
|
|
117
|
+
r.setLayoutProperty(
|
|
118
|
+
s.id,
|
|
119
|
+
"visibility",
|
|
120
|
+
t ? "visible" : "none"
|
|
121
|
+
);
|
|
122
|
+
}), !n.length && t && await this.addLayer(o);
|
|
123
|
+
},
|
|
124
|
+
async addLayer(e, t = this == null ? void 0 : this.map) {
|
|
125
|
+
var o, n;
|
|
126
|
+
const r = this.layerList.find((s) => s.id === e) || e;
|
|
127
|
+
!this.map.getStyle() || this.map.getStyle().layers.find((s) => s.id === r.id) || (this.layerList.find((s) => s.id === r.id) || this.layerList.push(r), (r.service === "vtile" || r.service === "vector" || (o = r.url) != null && o.includes(".vmt")) && this.addVtileLayer(r, t), r.service === "geojson" && this.addGeoJsonLayer(r, t), ((n = r.url) != null && n.includes(".png") || ["tms", "raster"].includes(r.service)) && await this.addRasterLayer(r, t));
|
|
128
|
+
},
|
|
129
|
+
async addRasterLayer(e, t = this == null ? void 0 : this.map) {
|
|
130
|
+
var r, i;
|
|
131
|
+
t.getSource(e.id) || (await t.addSource(e.id, {
|
|
132
|
+
type: "raster",
|
|
133
|
+
tiles: [e == null ? void 0 : e.url],
|
|
134
|
+
tileSize: 256,
|
|
135
|
+
...e != null && e.scheme ? { scheme: e == null ? void 0 : e.scheme } : {}
|
|
136
|
+
}), await t.addLayer(
|
|
137
|
+
{
|
|
138
|
+
id: e.id,
|
|
139
|
+
type: "raster",
|
|
140
|
+
source: e.id,
|
|
141
|
+
minzoom: 0,
|
|
142
|
+
maxzoom: (e == null ? void 0 : e.maxzoom) || 22
|
|
143
|
+
},
|
|
144
|
+
e.basemap ? (i = (r = this.map.getStyle().layers) == null ? void 0 : r[0]) == null ? void 0 : i.id : null
|
|
145
|
+
));
|
|
146
|
+
},
|
|
147
|
+
async addVtileLayer(e, t = this == null ? void 0 : this.map) {
|
|
148
|
+
var n;
|
|
149
|
+
const r = ["props", "pointZoom"].filter((s) => e[s]).map((s) => `&${s}=${e[s]}`), i = {
|
|
150
|
+
type: "vector",
|
|
151
|
+
tiles: [
|
|
152
|
+
`${(n = e == null ? void 0 : e.url) != null && n.startsWith("http") ? "" : window.location.origin}${e == null ? void 0 : e.url}${r}`
|
|
153
|
+
],
|
|
154
|
+
minzoom: e.minzoom || 3,
|
|
155
|
+
maxzoom: e.maxzoom || 24
|
|
156
|
+
};
|
|
157
|
+
t.addSource(e.id, i), (C(e.style) || e.layers || []).forEach((s, _) => {
|
|
158
|
+
const a = {
|
|
159
|
+
...s,
|
|
160
|
+
id: `${e.id}-${_}`,
|
|
161
|
+
source: e.id,
|
|
162
|
+
"source-layer": s["source-layer"] || e.source || e.id,
|
|
163
|
+
maxzoom: +s.maxzoom || 24,
|
|
164
|
+
minzoom: +s.minzoom || 0
|
|
165
|
+
};
|
|
166
|
+
t.addLayer(a);
|
|
167
|
+
});
|
|
168
|
+
},
|
|
169
|
+
async addGeoJsonLayer(e, t = this.map) {
|
|
170
|
+
var o;
|
|
171
|
+
const r = e.data || ((o = e == null ? void 0 : e.url) != null && o.startsWith("http") ? "" : window.location.origin) + e.url;
|
|
172
|
+
t.addSource(e.id, { type: "geojson", data: r }), (C(e.style) || e.layers || []).forEach((n) => {
|
|
173
|
+
const s = {
|
|
174
|
+
...n,
|
|
175
|
+
source: e.id,
|
|
176
|
+
id: n.id || e.id,
|
|
177
|
+
maxzoom: +n.maxzoom || 24,
|
|
178
|
+
minzoom: +n.minzoom || 0,
|
|
179
|
+
type: n.type || "circle"
|
|
180
|
+
};
|
|
181
|
+
t.addLayer(s);
|
|
182
|
+
});
|
|
183
|
+
},
|
|
184
|
+
setLayerData(e, t) {
|
|
185
|
+
this.layerList = this.layerList.map((r) => r.id === e ? { ...r, ...t } : r);
|
|
186
|
+
},
|
|
187
|
+
async removeLayer(e, t = this.map) {
|
|
188
|
+
t.getSource(e) && (await t.getStyle().layers.forEach(async (r) => {
|
|
189
|
+
r.source === e && await t.removeLayer(r.id);
|
|
190
|
+
}), await t.removeSource(e));
|
|
191
|
+
},
|
|
192
|
+
async setFilter(e, t) {
|
|
193
|
+
var o;
|
|
194
|
+
const r = this.layerList.find((n) => n.id === e), i = await ((o = this.map) == null ? void 0 : o.getSource(e));
|
|
195
|
+
if (i && r.service === "vtile") {
|
|
196
|
+
await i.setTiles([
|
|
197
|
+
`${window.location.origin}${r.url}${r.url.includes("?") ? "&" : "?"}filter=${t}${r.props ? `&props=${r.props}` : ""}`
|
|
198
|
+
]);
|
|
199
|
+
return;
|
|
200
|
+
}
|
|
201
|
+
i && r.service;
|
|
202
|
+
},
|
|
203
|
+
async changeBaseLayer(e) {
|
|
204
|
+
const t = e != null && e.id ? e : this.layerList.find((i) => i.id === e), { id: r } = t;
|
|
205
|
+
if (r && r !== this.activeLayer) {
|
|
206
|
+
if (this.activeLayer && this.map.setLayoutProperty(this.activeLayer, "visibility", "none"), this.activeLayer = r, this.map.getLayer(r)) {
|
|
207
|
+
this.map.setLayoutProperty(r, "visibility", "visible");
|
|
208
|
+
return;
|
|
209
|
+
}
|
|
210
|
+
await this.addRasterLayer(t);
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
async refreshLayer(e, t = this.map) {
|
|
214
|
+
await t.getStyle().layers.forEach((r) => {
|
|
215
|
+
r.source === e && t.removeLayer(r.id);
|
|
216
|
+
}), await t.removeSource(e), this.setVisible(e);
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}, Q = "https://unpkg.com/maplibre-gl@5.6.2/dist/maplibre-gl.js", Y = "https://unpkg.com/maplibre-gl@5.6.2/dist/maplibre-gl.css";
|
|
220
|
+
let g = null;
|
|
221
|
+
function T(e) {
|
|
222
|
+
return new Promise((t, r) => {
|
|
223
|
+
if (document.querySelector(`script[src="${e}"]`)) {
|
|
224
|
+
t();
|
|
225
|
+
return;
|
|
226
|
+
}
|
|
227
|
+
const i = document.createElement("script");
|
|
228
|
+
i.src = e, i.onload = () => t(), i.onerror = () => r(new Error(`Failed to load ${e}`)), document.head.appendChild(i);
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
function I(e) {
|
|
232
|
+
return new Promise((t, r) => {
|
|
233
|
+
if (document.querySelector(`link[href="${e}"]`)) {
|
|
234
|
+
t();
|
|
235
|
+
return;
|
|
236
|
+
}
|
|
237
|
+
const i = document.createElement("link");
|
|
238
|
+
i.rel = "stylesheet", i.href = e, i.onload = () => t(), i.onerror = () => r(new Error(`Failed to load ${e}`)), document.head.appendChild(i);
|
|
239
|
+
});
|
|
240
|
+
}
|
|
241
|
+
function Se() {
|
|
242
|
+
return typeof window > "u" ? Promise.resolve(null) : window.maplibregl ? Promise.resolve(window.maplibregl) : g || (g = I(Y).then(() => T(Q)).then(() => window.maplibregl), g);
|
|
243
|
+
}
|
|
244
|
+
const ee = {
|
|
245
|
+
__name: "legend",
|
|
246
|
+
setup(e) {
|
|
247
|
+
return (t, r) => (l(), b(L(W), v(t.$attrs, { size: 24 }), null, 16));
|
|
248
|
+
}
|
|
249
|
+
}, xe = {
|
|
250
|
+
pink: ["#fde7e2", "#feafbe", "#fd58a4", "#d7038e", "#86007b"],
|
|
251
|
+
blue: ["#f1eef6", "#bdc9e1", "#74a9cf", "#2b8cbe", "#045a8d"],
|
|
252
|
+
green: ["#edf8fb", "#b2e2e2", "#66c2a4", "#2ca25f", "#006d2c"],
|
|
253
|
+
pink2: ["#f1eef6", "#d7b5d8", "#df65b0", "#dd1c77", "#980043"],
|
|
254
|
+
red: ["#fef0d9", "#fdcc8a", "#fc8d59", "#e34a33", "#b30000"],
|
|
255
|
+
teal: ["#f6eff7", "#bdc9e1", "#67a9cf", "#1c9099", "#016c59"]
|
|
256
|
+
}, te = {
|
|
257
|
+
props: ["map", "coordinates"],
|
|
258
|
+
data() {
|
|
259
|
+
return {
|
|
260
|
+
isMenuVisible: !1
|
|
261
|
+
};
|
|
262
|
+
},
|
|
263
|
+
computed: {
|
|
264
|
+
getCoordinates() {
|
|
265
|
+
var t;
|
|
266
|
+
return !(this != null && this.coordinates) || ((t = this.coordinates) == null ? void 0 : t.length) !== 2 ? "" : (this == null ? void 0 : this.coordinates).slice().reverse().map((r) => Number(r).toFixed(5)).join(", ");
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
}, re = { class: "map__settings" }, ie = {
|
|
270
|
+
ref: "attribution",
|
|
271
|
+
class: "map__settings-attribution map__settings-item mt-[3px]"
|
|
272
|
+
};
|
|
273
|
+
function se(e, t, r, i, o, n) {
|
|
274
|
+
return l(), d("div", re, [
|
|
275
|
+
c("div", ie, [
|
|
276
|
+
F(c("div", {
|
|
277
|
+
ref: "mouse",
|
|
278
|
+
class: "map__settings-item",
|
|
279
|
+
style: { "min-width": "115px" }
|
|
280
|
+
}, S(n.getCoordinates), 513), [
|
|
281
|
+
[R, n.getCoordinates]
|
|
282
|
+
])
|
|
283
|
+
], 512)
|
|
284
|
+
]);
|
|
285
|
+
}
|
|
286
|
+
const Me = /* @__PURE__ */ w(te, [["render", se]]), oe = {
|
|
287
|
+
mixins: [K],
|
|
288
|
+
props: {
|
|
289
|
+
map: { type: Object, default: () => null }
|
|
290
|
+
},
|
|
291
|
+
data() {
|
|
292
|
+
return {
|
|
293
|
+
baseLayers: [
|
|
294
|
+
{
|
|
295
|
+
id: "orto10",
|
|
296
|
+
name: "Ortophoto 1:10К",
|
|
297
|
+
url: "https://data.gki.com.ua/api-user/rtile/orto10/ua/{z}/{x}/{y}.png",
|
|
298
|
+
service: "TMS",
|
|
299
|
+
image: "https://data.gki.com.ua/api-user/rtile/orto10/ua/13/4954/2876.png"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
id: "graymap",
|
|
303
|
+
name: "Сіра карта",
|
|
304
|
+
url: "https://data.gki.com.ua/api-user/rtile/voyager/ua/{z}/{x}/{y}.png",
|
|
305
|
+
service: "TMS",
|
|
306
|
+
image: "https://data.gki.com.ua/api-user/rtile/positron/ua/10/601/348.png"
|
|
307
|
+
}
|
|
308
|
+
]
|
|
309
|
+
};
|
|
310
|
+
},
|
|
311
|
+
watch: {
|
|
312
|
+
map(e) {
|
|
313
|
+
e && e.on("load", this.handleMapLoad);
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
created() {
|
|
317
|
+
this.baseLayers.forEach((e) => {
|
|
318
|
+
const t = { ...e, basemap: !0 };
|
|
319
|
+
this.layerList.push(t);
|
|
320
|
+
});
|
|
321
|
+
},
|
|
322
|
+
methods: {
|
|
323
|
+
handleMapLoad() {
|
|
324
|
+
this.changeBaseLayer("graymap");
|
|
325
|
+
},
|
|
326
|
+
isLayerInFocus(e) {
|
|
327
|
+
return e.id === this.activeLayer;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
}, ne = { class: "vs-map-slot-layers" }, ae = ["onClick"], ce = ["src"];
|
|
331
|
+
function le(e, t, r, i, o, n) {
|
|
332
|
+
return l(), d("div", ne, [
|
|
333
|
+
(l(!0), d(P, null, V(o.baseLayers, (s) => (l(), d("div", {
|
|
334
|
+
key: s.id,
|
|
335
|
+
class: D(["vs-map-slot-layers__layer", { focused: n.isLayerInFocus(s) }]),
|
|
336
|
+
onClick: (_) => e.changeBaseLayer(s.id)
|
|
337
|
+
}, [
|
|
338
|
+
c("img", {
|
|
339
|
+
src: s.image,
|
|
340
|
+
class: "vs-map-slot-layers__image"
|
|
341
|
+
}, null, 8, ce)
|
|
342
|
+
], 10, ae))), 128))
|
|
343
|
+
]);
|
|
344
|
+
}
|
|
345
|
+
const Ee = /* @__PURE__ */ w(oe, [["render", le]]);
|
|
346
|
+
function B(e, t, r) {
|
|
347
|
+
if (e !== null)
|
|
348
|
+
for (var i, o, n, s, _, a, m, k = 0, p = 0, $, M = e.type, E = M === "FeatureCollection", G = M === "Feature", j = E ? e.features.length : 1, h = 0; h < j; h++) {
|
|
349
|
+
m = E ? e.features[h].geometry : G ? e.geometry : e, $ = m ? m.type === "GeometryCollection" : !1, _ = $ ? m.geometries.length : 1;
|
|
350
|
+
for (var z = 0; z < _; z++) {
|
|
351
|
+
var u = 0, f = 0;
|
|
352
|
+
if (s = $ ? m.geometries[z] : m, s !== null) {
|
|
353
|
+
a = s.coordinates;
|
|
354
|
+
var y = s.type;
|
|
355
|
+
switch (k = 0, y) {
|
|
356
|
+
case null:
|
|
357
|
+
break;
|
|
358
|
+
case "Point":
|
|
359
|
+
if (t(
|
|
360
|
+
a,
|
|
361
|
+
p,
|
|
362
|
+
h,
|
|
363
|
+
u,
|
|
364
|
+
f
|
|
365
|
+
) === !1)
|
|
366
|
+
return !1;
|
|
367
|
+
p++, u++;
|
|
368
|
+
break;
|
|
369
|
+
case "LineString":
|
|
370
|
+
case "MultiPoint":
|
|
371
|
+
for (i = 0; i < a.length; i++) {
|
|
372
|
+
if (t(
|
|
373
|
+
a[i],
|
|
374
|
+
p,
|
|
375
|
+
h,
|
|
376
|
+
u,
|
|
377
|
+
f
|
|
378
|
+
) === !1)
|
|
379
|
+
return !1;
|
|
380
|
+
p++, y === "MultiPoint" && u++;
|
|
381
|
+
}
|
|
382
|
+
y === "LineString" && u++;
|
|
383
|
+
break;
|
|
384
|
+
case "Polygon":
|
|
385
|
+
case "MultiLineString":
|
|
386
|
+
for (i = 0; i < a.length; i++) {
|
|
387
|
+
for (o = 0; o < a[i].length - k; o++) {
|
|
388
|
+
if (t(
|
|
389
|
+
a[i][o],
|
|
390
|
+
p,
|
|
391
|
+
h,
|
|
392
|
+
u,
|
|
393
|
+
f
|
|
394
|
+
) === !1)
|
|
395
|
+
return !1;
|
|
396
|
+
p++;
|
|
397
|
+
}
|
|
398
|
+
y === "MultiLineString" && u++, y === "Polygon" && f++;
|
|
399
|
+
}
|
|
400
|
+
y === "Polygon" && u++;
|
|
401
|
+
break;
|
|
402
|
+
case "MultiPolygon":
|
|
403
|
+
for (i = 0; i < a.length; i++) {
|
|
404
|
+
for (f = 0, o = 0; o < a[i].length; o++) {
|
|
405
|
+
for (n = 0; n < a[i][o].length - k; n++) {
|
|
406
|
+
if (t(
|
|
407
|
+
a[i][o][n],
|
|
408
|
+
p,
|
|
409
|
+
h,
|
|
410
|
+
u,
|
|
411
|
+
f
|
|
412
|
+
) === !1)
|
|
413
|
+
return !1;
|
|
414
|
+
p++;
|
|
415
|
+
}
|
|
416
|
+
f++;
|
|
417
|
+
}
|
|
418
|
+
u++;
|
|
419
|
+
}
|
|
420
|
+
break;
|
|
421
|
+
case "GeometryCollection":
|
|
422
|
+
for (i = 0; i < s.geometries.length; i++)
|
|
423
|
+
if (B(s.geometries[i], t) === !1)
|
|
424
|
+
return !1;
|
|
425
|
+
break;
|
|
426
|
+
default:
|
|
427
|
+
throw new Error("Unknown Geometry Type");
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
function ue(e, t = {}) {
|
|
434
|
+
if (e.bbox != null && t.recompute !== !0)
|
|
435
|
+
return e.bbox;
|
|
436
|
+
const r = [1 / 0, 1 / 0, -1 / 0, -1 / 0];
|
|
437
|
+
return B(e, (i) => {
|
|
438
|
+
r[0] > i[0] && (r[0] = i[0]), r[1] > i[1] && (r[1] = i[1]), r[2] < i[0] && (r[2] = i[0]), r[3] < i[1] && (r[3] = i[1]);
|
|
439
|
+
}), r;
|
|
440
|
+
}
|
|
441
|
+
const pe = {
|
|
442
|
+
__name: "home",
|
|
443
|
+
setup(e) {
|
|
444
|
+
return (t, r) => (l(), b(L(O), v(t.$attrs, { size: 24 }), null, 16));
|
|
445
|
+
}
|
|
446
|
+
}, de = {
|
|
447
|
+
props: ["bbox", "map"],
|
|
448
|
+
components: { homeIcon: pe },
|
|
449
|
+
methods: {
|
|
450
|
+
setBounds() {
|
|
451
|
+
const e = {
|
|
452
|
+
type: "Feature",
|
|
453
|
+
geometry: this == null ? void 0 : this.bbox
|
|
454
|
+
}, t = ue(e);
|
|
455
|
+
this.map.fitBounds(t);
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
}, he = { class: "z-100 flex justify-center items-center rounded-md w-[32px] h-[32px] cursor-pointer bg-white p-1 border-[2px]" };
|
|
459
|
+
function fe(e, t, r, i, o, n) {
|
|
460
|
+
const s = A("homeIcon");
|
|
461
|
+
return l(), d("div", he, [
|
|
462
|
+
H(s, { onClick: n.setBounds }, null, 8, ["onClick"])
|
|
463
|
+
]);
|
|
464
|
+
}
|
|
465
|
+
const Ce = /* @__PURE__ */ w(de, [["render", fe]]), me = {
|
|
466
|
+
__name: "menu",
|
|
467
|
+
setup(e) {
|
|
468
|
+
return (t, r) => (l(), b(L(N), v(t.$attrs, { size: 24 }), null, 16));
|
|
469
|
+
}
|
|
470
|
+
}, ye = {
|
|
471
|
+
components: { legendIcon: ee, menuIcon: me, closeIcon: q },
|
|
472
|
+
props: ["source", "count", "total", "mapId"],
|
|
473
|
+
data() {
|
|
474
|
+
return {
|
|
475
|
+
isOpenLegend: !1,
|
|
476
|
+
palette: ["#69D2E7", "yellow", "#FE4365"]
|
|
477
|
+
};
|
|
478
|
+
},
|
|
479
|
+
methods: {
|
|
480
|
+
calcSize(e) {
|
|
481
|
+
return e / this.maxValue * 100 * 50 / 100;
|
|
482
|
+
}
|
|
483
|
+
},
|
|
484
|
+
computed: {
|
|
485
|
+
maxValue() {
|
|
486
|
+
var e, t, r, i, o, n;
|
|
487
|
+
return ((e = this.sizes) == null ? void 0 : e[0]) > ((r = this.sizes) == null ? void 0 : r[((t = this.sizes) == null ? void 0 : t.length) - 1]) ? (i = this.sizes) == null ? void 0 : i[0] : (n = this.sizes) == null ? void 0 : n[((o = this.sizes) == null ? void 0 : o.length) - 1];
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
}, _e = { class: "w-full h-[calc(100%-40px)] bg-white" }, ge = { class: "w-full flex flex-col gap-[8px] h-[250px] overflow-auto [&::-webkit-scrollbar]:h-1.5 [&::-webkit-scrollbar]:w-1.5 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-gray-300 [&::-webkit-scrollbar-track]:bg-transparent text-xs" }, be = { class: "relative min-w-full bg-white text-[12px]" }, Le = { class: "divide-gray-200 dark:divide-neutral-700" }, ve = { class: "px-2 py-1" }, we = { class: "px-2 py-1" };
|
|
491
|
+
function ke(e, t, r, i, o, n) {
|
|
492
|
+
return l(), d("div", _e, [
|
|
493
|
+
c("div", ge, [
|
|
494
|
+
c("table", be, [
|
|
495
|
+
t[0] || (t[0] = c("thead", { class: "sticky top-[-1px] z-[1] bg-white w-full after:absolute after:content-[''] after:block after:w-full after:h-px after:bg-stone-200" }, [
|
|
496
|
+
c("tr", null, [
|
|
497
|
+
c("th", { class: "px-2 py-1 text-start" }, "Назва"),
|
|
498
|
+
c("th", { class: "px-2 py-1 text-start" }, "Метрика")
|
|
499
|
+
])
|
|
500
|
+
], -1)),
|
|
501
|
+
c("tbody", Le, [
|
|
502
|
+
(l(!0), d(P, null, V(r.source, (s) => (l(), d("tr", {
|
|
503
|
+
key: s.id,
|
|
504
|
+
class: "border-b cursor-pointer hover:bg-gray-100 odd:bg-gray-50"
|
|
505
|
+
}, [
|
|
506
|
+
c("td", ve, S(s.title || "—"), 1),
|
|
507
|
+
c("td", we, S(s.metric), 1)
|
|
508
|
+
]))), 128))
|
|
509
|
+
])
|
|
510
|
+
])
|
|
511
|
+
])
|
|
512
|
+
]);
|
|
513
|
+
}
|
|
514
|
+
const Pe = /* @__PURE__ */ w(ye, [["render", ke]]);
|
|
515
|
+
export {
|
|
516
|
+
Pe as V,
|
|
517
|
+
q as _,
|
|
518
|
+
ee as a,
|
|
519
|
+
Ce as b,
|
|
520
|
+
Ee as c,
|
|
521
|
+
Me as d,
|
|
522
|
+
K as e,
|
|
523
|
+
Se as l,
|
|
524
|
+
xe as p
|
|
525
|
+
};
|