@snugdesk/core 0.2.40 → 0.2.42
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 +152 -10
- package/fesm2022/snugdesk-core.mjs +438 -254
- package/fesm2022/snugdesk-core.mjs.map +1 -1
- package/package.json +5 -4
- package/{index.d.ts → types/snugdesk-core.d.ts} +444 -57
|
@@ -7,7 +7,7 @@ import momentTimezone from 'moment-timezone';
|
|
|
7
7
|
import * as i1$1 from '@angular/platform-browser';
|
|
8
8
|
import { API, Amplify } from 'aws-amplify';
|
|
9
9
|
import { GRAPHQL_AUTH_MODE } from '@aws-amplify/api-graphql';
|
|
10
|
-
import {
|
|
10
|
+
import { BehaviorSubject, lastValueFrom } from 'rxjs';
|
|
11
11
|
import { JwtHelperService } from '@auth0/angular-jwt';
|
|
12
12
|
import * as i1$2 from '@angular/common/http';
|
|
13
13
|
import { HttpHeaders } from '@angular/common/http';
|
|
@@ -40,10 +40,10 @@ const GoogleMapsConfig = {
|
|
|
40
40
|
|
|
41
41
|
class FooterComponent {
|
|
42
42
|
appConfig = SnugdeskAppConfig;
|
|
43
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
44
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: FooterComponent, isStandalone: false, selector: "sd-app-footer", ngImport: i0, template: "<div class=\"sd_container_widget_footer\">\n <div class=\"sd_container_widget_footer_inner\"><span>Powered by</span>\n <svg width=\"16px\" shape-rendering=\"geometricPrecision\" text-rendering=\"geometricPrecision\" image-rendering=\"optimizeQuality\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" viewBox=\"0 0 877.098 808.09\">\n <g id=\"Layer_x0020_1\">\n <metadata id=\"CorelCorpID_0Corel-Layer\" />\n <g id=\"_258513600\">\n <path id=\"_258516096\" fill=\"#CBA96B\" fill-rule=\"nonzero\" d=\"M637.653 218.973c-109.109,-5.73516 -241.809,27.9446 -336.907,14.3602 -52.1167,-7.44554 -85.2507,-24.8291 -102.132,-36.1086 -57.8931,61.7431 -93.4412,144.67 -93.4412,235.995 0,171.801 125.437,314.25 289.707,340.911 -8.09408,-36.1447 -12.5046,-73.6839 -12.5046,-112.274 0,-189.17 102.668,-354.272 255.277,-442.882z\" />\n <path id=\"_258516024\" fill=\"#FAE5C5\" fill-rule=\"nonzero\" d=\"M778.919 331.111c0,0 -0.795844,-6.58187 -3.83616,-16.5262 -2.95236,-8.04746 -6.16964,-15.955 -9.68789,-23.7089 -15.0903,-29.1696 -46.4069,-64.5259 -110.487,-70.6637 -5.67476,-0.538334 -11.4438,-0.931487 -17.2553,-1.23986 -152.609,88.61 -255.277,253.712 -255.277,442.882 0,38.5905 4.41052,76.1297 12.5046,112.274 18.155,2.95342 36.7635,4.54405 55.7504,4.54405 190.788,0 345.456,-154.667 345.456,-345.455 0,-36.1033 -5.58044,-70.8873 -15.8766,-103.59 -0.812799,0.942084 -1.29073,1.48254 -1.29073,1.48254z\" />\n <path id=\"_258515952\" fill=\"#EE7738\" fill-rule=\"nonzero\" d=\"M718.294 758.328c-2.63444,0 -5.25511,-1.08726 -7.14458,-3.21411 -3.49387,-3.94743 -3.12509,-9.97401 0.819158,-13.4658 65.9724,-58.4336 110.727,-134.554 129.411,-220.127 1.1233,-5.15126 6.21627,-8.39928 11.3601,-7.28658 5.14278,1.12647 8.40352,6.20885 7.28234,11.3569 -19.557,89.5542 -66.3836,169.202 -135.403,230.332 -1.81317,1.60864 -4.07353,2.40449 -6.32542,2.40449z\" />\n <path id=\"_258515880\" fill=\"#EE7738\" fill-rule=\"nonzero\" d=\"M846.577 557.445c-1.40412,0 -2.83367,-0.181211 -4.25474,-0.555289 -8.91854,-2.3462 -14.2415,-11.4735 -11.9059,-20.3942 8.82422,-33.5198 13.3004,-68.2667 13.3004,-103.269 0,-9.21738 7.47309,-16.6926 16.6915,-16.6926 9.21738,0 16.6905,7.47521 16.6905,16.6926 0,37.8699 -4.83547,75.4727 -14.3877,111.768 -1.97001,7.49217 -8.73203,12.4506 -16.1341,12.4506z\" />\n <path id=\"_258515808\" fill=\"#F7AB54\" fill-rule=\"nonzero\" d=\"M532.463 51.2668c-26.5225,-4.561 -53.5261,-9.03723 -81.5311,-9.03723 -6.4971,0 -12.9486,0.180151 -19.3652,0.504423l0 0.0169554c-0.116568,0 -0.240555,0 -0.357123,0 -130.335,0 -188.497,-1.54718 -257.657,-42.7509 0,0 -0.329571,1.31722 -0.822337,3.71429 105.693,109.444 253.934,177.522 418.097,177.522 47.2367,0 97.7691,-5.74258 146.957,-18.847 -36.3757,-51.8856 -112.688,-95.2088 -205.32,-111.122z\" />\n <path id=\"_258515736\" fill=\"#2F3033\" fill-rule=\"nonzero\" d=\"M450.631 674.55c-105.869,0 -197.899,-65.1882 -228.997,-162.207 -3.11979,-9.71968 2.56768,-20.0233 12.7017,-23.017 10.134,-3.00111 20.8689,2.47231 23.9845,12.1909 26.1177,81.4633 103.4,136.2 192.311,136.2 88.9109,0 166.199,-54.7363 192.311,-136.2 3.11555,-9.72604 13.8494,-15.192 23.9834,-12.1909 10.134,2.99369 15.8257,13.2973 12.7007,23.017 -31.0962,97.0188 -123.128,162.207 -228.995,162.207z\" />\n <path id=\"_258515664\" fill=\"#2F3033\" fill-rule=\"nonzero\" d=\"M797.457 379.399c-3.54474,-22.8781 -9.31169,-45.0272 -17.0582,-66.2288l-67.6584 -15.8236c-1.42849,-0.334869 -2.86758,-0.470512 -4.33952,-0.402691 -13.9946,0.640066 -92.4705,4.71678 -166.073,18.4538 -26.3148,4.92024 -43.3412,11.6303 -54.3844,18.4867 -10.9956,-6.30741 -23.7185,-9.93692 -37.3125,-9.93692 -13.6279,0 -26.3794,3.64647 -37.3919,9.98779 -11.039,-6.87329 -28.0877,-13.6078 -54.4671,-18.5375 -72.9686,-13.6184 -152.425,-17.8138 -166.135,-18.4538 -1.38822,-0.0678216 -2.73936,0.0582842 -4.09261,0.376198l-67.5376 15.8162c-7.76133,21.2165 -13.5177,43.3698 -17.0624,66.2649l79.7232 1.80999c5.1502,0.116568 9.58086,3.65919 10.7773,8.67586 7.72424,32.4018 30.8281,83.0475 99.862,83.0475 35.6455,0 71.0166,-2.26143 95.0255,-24.3903 22.8082,-21.0194 36.8822,-41.2323 42.4966,-76.6882 5.34519,-3.70475 11.7957,-5.92167 18.8025,-5.92167 6.93158,0 13.3121,2.17347 18.6255,5.80828 5.5974,35.5258 19.6863,55.7599 42.5135,76.8016 24.012,22.1289 59.3799,24.3903 95.0276,24.3903 60.3485,0 89.2023,-58.4993 98.3519,-81.955 2.26778,-5.821 7.86518,-9.66564 14.1058,-9.80658l78.2015 -1.77396z\" />\n <path id=\"_258515592\" fill=\"#EE7738\" fill-rule=\"nonzero\" d=\"M450.057 339.132c17.4407,0 33.2718,5.6631 45.1798,14.8603 -10.2729,-13.4138 -26.4038,-22.1024 -44.6054,-22.1024 -17.2235,0 -32.6222,7.76663 -42.9279,19.965 11.5307,-7.94572 26.2745,-12.7229 42.3535,-12.7229z\" />\n <path id=\"_258515520\" fill=\"#EE7738\" fill-rule=\"nonzero\" d=\"M410.435 364.515c0,0 6.9072,42.8802 -31.6589,82.3079 0,0 36.63,-28.5094 42.593,-65.4044 7.97222,-49.2893 -46.9092,-57.4703 -46.9092,-57.4703 0,0 31.3696,7.94254 35.9751,40.5668z\" />\n <path id=\"_258515184\" fill=\"#EE7738\" fill-rule=\"nonzero\" d=\"M492.553 364.515c0,0 -6.90826,42.8802 31.6578,82.3079 0,0 -36.63,-28.5094 -42.593,-65.4044 -7.96798,-49.2893 46.9092,-57.4703 46.9092,-57.4703 0,0 -31.3696,7.94254 -35.9741,40.5668z\" />\n <path id=\"_258515160\" fill=\"#CBA96B\" fill-rule=\"nonzero\" d=\"M188.23 665.933c17.7089,39.6385 -18.9233,142.158 -18.9233,142.158 0,0 115.812,-69.4928 177.475,-60.7925l-183.871 -122.549c0,0 16.2814,16.8643 25.3186,41.1836z\" />\n <path id=\"_258514632\" fill=\"#CBA96B\" fill-rule=\"nonzero\" d=\"M63.5965 269.786c0,0 -52.8637,99.5451 -63.5965,202.805 0,0 47.9064,27.7358 58.601,-17.1408 11.9366,-50.0756 2.16393,-110.872 17.7184,-166.98 15.5513,-56.1118 -12.7229,-18.6838 -12.7229,-18.6838z\" />\n <path id=\"_258513552\" fill=\"#EE7738\" fill-rule=\"nonzero\" d=\"M66.4885 532.215c-8.90158,0 -16.8664,-6.26184 -18.6859,-15.3277 -5.49249,-27.3597 -8.27847,-55.5056 -8.27847,-83.6611 0,-26.7556 2.51894,-53.5409 7.48687,-79.6066 1.97318,-10.3534 11.9567,-17.1461 22.3144,-15.174 10.3492,1.97742 17.1398,11.9642 15.1677,22.3186 -4.51967,23.7153 -6.80971,48.0982 -6.80971,72.4621 0,25.6397 2.53271,51.2593 7.5282,76.152 2.07704,10.3301 -4.61717,20.3867 -14.9472,22.4585 -1.26742,0.255391 -2.53059,0.378317 -3.77575,0.378317z\" />\n <path id=\"_258513720\" fill=\"#EE7738\" fill-rule=\"nonzero\" d=\"M834.909 532.215c-1.2494,0 -2.51576,-0.122927 -3.77258,-0.378317 -10.3396,-2.07174 -17.0338,-12.1284 -14.9525,-22.4585 4.98913,-24.9001 7.53138,-50.5175 7.53138,-76.152 0,-24.3755 -2.29322,-48.7563 -6.81289,-72.4621 -1.97742,-10.3523 4.81851,-20.3412 15.1655,-22.3154 10.365,-1.99226 20.3465,4.81533 22.3144,15.1708 4.97323,26.0541 7.48899,52.8383 7.48899,79.6066 0,28.1481 -2.7828,56.294 -8.27529,83.6611 -1.82482,9.06372 -9.78538,15.3277 -18.687,15.3277z\" />\n <path id=\"_258513864\" fill=\"#2F3033\" fill-rule=\"nonzero\" d=\"M700.271 792.515c-8.44803,0 -16.8187,-3.72701 -22.4691,-10.8695 -9.80658,-12.3955 -7.70305,-30.3947 4.69241,-40.197 5.70867,-4.51437 11.3665,-9.25553 16.8251,-14.0857 11.8306,-10.4763 29.9146,-9.37421 40.3984,2.45323 10.4763,11.8317 9.38163,29.9167 -2.45535,40.3952 -6.24065,5.53594 -12.7282,10.9617 -19.2592,16.1309 -5.25511,4.15195 -11.5191,6.17282 -17.7322,6.17282z\" />\n <path id=\"_258514920\" fill=\"#EE7738\" fill-rule=\"nonzero\" d=\"M755.671 188.913c0,0 -11.9313,-19.0769 -17.8879,-26.5331 -11.0486,2.67153 -32.069,7.57482 -43.3507,9.61265 -0.0264928,0.00741799 -0.0508662,0.00741799 -0.077359,0.0169554 -5.57091,1.00249 -11.1768,1.92656 -16.8081,2.77327 -0.163196,0.0243734 -0.317914,0.0413288 -0.470512,0.0678216 -5.50521,0.812799 -11.0252,1.56731 -16.5813,2.23493 -0.690932,0.084777 -1.39458,0.135643 -2.09611,0.22042 -5.01456,0.581782 -10.0387,1.13071 -15.0977,1.58427 -1.63514,0.145181 -3.28723,0.229958 -4.92024,0.36878 -4.13394,0.33275 -8.26788,0.677156 -12.4294,0.931487 -2.875,0.172733 -5.76907,0.25751 -8.65149,0.385735 -2.94494,0.138822 -5.88034,0.308376 -8.8433,0.402691 -5.85385,0.169554 -11.7331,0.25751 -17.6304,0.25751 -6.52889,0 -13.0186,-0.14624 -19.4966,-0.359242 -2.67153,-0.0868964 -5.33247,-0.206644 -8.00189,-0.317914 -4.73797,-0.188629 -9.46853,-0.530916 -14.2023,-0.829755 -0.885919,-0.0604036 -1.77608,-0.11127 -2.662,-0.171673 -6.37523,-0.488527 -12.7197,-1.07773 -19.0399,-1.7623 -1.5387,-0.171673 -3.06681,-0.361362 -4.59809,-0.540453 -5.12583,-0.5892 -10.2453,-1.26636 -15.3552,-2.0018 -1.43061,-0.206644 -2.86228,-0.393153 -4.28654,-0.609335 -6.318,-0.95798 -12.6085,-2.00074 -18.8586,-3.15582 -0.545752,-0.104912 -1.08409,-0.216181 -1.6256,-0.325332 -5.39076,-1.07031 -10.7963,-2.10565 -16.168,-3.29676 -1.79303,-0.393153 -3.59031,-0.786307 -5.37804,-1.19853 -12.5247,-2.84851 -24.8979,-6.10924 -37.1016,-9.76525 -3.2459,-0.965398 -6.46319,-2.01133 -9.75995,-2.85804 -3.20245,-0.822337 -6.32754,-1.87569 -9.3721,-3.17596 -0.837173,-0.359242 -1.71991,-0.606155 -2.58676,-0.907114 -6.19402,-2.13108 -12.3393,-4.35542 -18.439,-6.68467 -0.69835,-0.263868 -1.38716,-0.547871 -2.08657,-0.812799 -5.51686,-2.13214 -10.9924,-4.34058 -16.4245,-6.63274 -0.715306,-0.300958 -1.43167,-0.592379 -2.14486,-0.890158 -12.0065,-5.11947 -23.8054,-10.6395 -35.388,-16.5273 -0.707888,-0.359242 -1.42107,-0.728022 -2.13002,-1.08726 -11.6017,-5.96512 -22.9777,-12.3001 -34.1121,-19.0017 -0.545752,-0.324272 -1.08832,-0.657022 -1.63196,-0.984473 -5.51474,-3.34551 -10.9807,-6.76944 -16.3768,-10.2866l0 0c-36.7,-23.9665 -70.545,-51.9344 -100.87,-83.339 -3.40168,16.6142 -14.4672,85.7424 23.4006,138.715l0 0.00741799 0.00211942 0c0,0 0.00529856,0.00953741 0.00741799,0.00953741 0.632648,0.890158 1.32252,1.74747 1.97954,2.62809 0.684574,0.907114 1.3416,1.82165 2.0569,2.72134 0.483229,0.599797 1.01203,1.189 1.51009,1.78879 0.950562,1.14767 1.88205,2.3017 2.88454,3.43241 0.594499,0.667619 1.24198,1.30768 1.84814,1.97742 0.963278,1.03428 1.90006,2.07916 2.91209,3.08906 1.01414,1.0258 2.09823,2.02829 3.16112,3.02972 0.666559,0.624171 1.29815,1.26636 1.97954,1.89265 1.04594,0.948443 2.16605,1.86615 3.25862,2.79022 0.766172,0.640066 1.49207,1.30768 2.27732,1.94033 0.849889,0.694112 1.76654,1.35431 2.63974,2.02087 1.1021,0.84671 2.16923,1.70402 3.30948,2.52635 0.667619,0.487468 1.38504,0.941025 2.06962,1.41154 1.41154,0.982353 2.81142,1.97742 4.29183,2.91845 0.999309,0.650663 2.06962,1.25046 3.10284,1.87357 1.23033,0.754515 2.42356,1.51645 3.69734,2.23387 0.505483,0.291421 1.05547,0.556349 1.56731,0.840352 4.23355,2.33561 8.66421,4.57054 13.3831,6.63274 1.22503,0.530916 2.52317,1.0258 3.77787,1.54082 1.46452,0.598737 2.89619,1.22291 4.4084,1.78773 0.841412,0.325332 1.74429,0.609335 2.60053,0.917711 1.99862,0.717425 3.98876,1.45287 6.06791,2.11942 0.549991,0.189689 1.14767,0.345466 1.70508,0.51502 8.45332,2.65352 17.5287,4.92978 27.3575,6.70056 3.49599,0.633708 7.07994,1.20807 10.7529,1.72097 13.9628,1.93503 29.2078,3.01276 45.9534,3.01276 4.96157,0 9.7875,-0.0243734 14.552,-0.0678216 53.9309,-0.460975 95.3752,-3.3116 129.213,-4.20176 0.0233137,0 0.0508662,0 0.0720604,-0.0105971l0.00529856 0c1.39988,-0.10915 2.95766,-0.237376 4.53875,-0.365601 0.631589,-0.0508662 1.3151,-0.104912 1.97742,-0.155778 1.28331,-0.101732 2.63762,-0.213002 4.02055,-0.314735 0.720604,-0.0614633 1.43803,-0.11233 2.18301,-0.163196 1.74747,-0.137763 3.57123,-0.267047 5.45434,-0.395273 0.391034,-0.0243734 0.747097,-0.0582842 1.14555,-0.084777 2.16605,-0.14624 4.44655,-0.281883 6.7758,-0.419646 0.827635,-0.0508662 1.68388,-0.0953741 2.53059,-0.14624 1.65951,-0.084777 3.35823,-0.179091 5.0951,-0.25645 0.967517,-0.0508662 1.94563,-0.092195 2.93752,-0.135643 1.92444,-0.0858367 3.90398,-0.163196 5.91002,-0.231017 0.784187,-0.0264928 1.54082,-0.0604036 2.33455,-0.077359 2.66094,-0.084777 5.39606,-0.14624 8.17886,-0.197106 1.04806,-0.0169554 2.13214,-0.0169554 3.19927,-0.0339108 1.90536,-0.0264928 3.83404,-0.0339108 5.78921,-0.0339108 1.23033,-0.00953741 2.46701,0 3.71641,0.00741799 2.02087,0.00953741 4.06612,0.0339108 6.12938,0.0678216 1.12965,0.0169554 2.24129,0.0264928 3.38896,0.0540453 3.01276,0.0752396 6.06791,0.169554 9.15909,0.297779 1.17098,0.0508662 2.36952,0.118688 3.55851,0.172733 2.1332,0.101732 4.28018,0.22042 6.45365,0.359242 1.37127,0.0752396 2.74889,0.169554 4.13394,0.273406 2.16711,0.152599 4.35754,0.325332 6.55538,0.511841 1.26954,0.104912 2.52635,0.206644 3.80225,0.325332 78.1856,7.31943 143.473,20.2341 180.576,119.988 0.162136,-0.0243734 -0.0604036,0.00953741 0.101732,-0.00741799 -1.32676,-47.3999 -18.0162,-100.661 -34.5095,-132.356z\" />\n <path id=\"_258514728\" fill=\"#CBA96B\" fill-rule=\"nonzero\" d=\"M166.531 125.26c-6.82137,6.44411 -13.0641,13.1712 -19.3896,19.4288 -4.55888,4.32257 -8.25834,9.23645 -12.2111,13.736 -3.88385,4.5716 -7.68291,9.04041 -11.3834,13.3884 -6.99622,9.02769 -13.3068,17.8615 -19.4182,26.035 -5.61648,8.51585 -10.578,16.6894 -15.3287,24.154 -2.45747,3.66131 -4.41794,7.48051 -6.31271,11.11 -1.91172,3.62634 -3.73866,7.07676 -5.466,10.364 -7.32049,13.1383 -11.2775,23.5023 -14.5424,30.5557 -3.12721,7.05239 -4.79732,10.8175 -4.79732,10.8175 -0.062523,0.155778 -0.137763,0.334869 -0.198166,0.498065 -1.86403,4.92978 0.623111,10.4318 5.55607,12.298 4.9319,1.85768 10.4371,-0.633708 12.3001,-5.56349 0,0 1.45287,-3.85311 4.17739,-11.0655 2.85592,-7.10431 6.29363,-18.2228 12.6477,-30.4794 1.50267,-3.159 3.08906,-6.47802 4.74645,-9.97189 1.64149,-3.50129 3.32538,-7.17213 5.56243,-10.8186 4.27276,-7.36818 8.72249,-15.4474 13.7975,-23.905 5.57303,-8.11316 11.3135,-16.9194 17.7237,-25.9502 3.47374,-4.32257 7.03119,-8.74793 10.6798,-13.2824 3.71641,-4.46881 7.18591,-9.34772 11.5021,-13.6449 4.52709,-4.69664 9.01073,-9.67093 13.7127,-14.6007 -1.28861,-4.48364 -2.40873,-8.89205 -3.35823,-13.1033z\" />\n </g>\n </g>\n </svg>\n <a href=\"https://www.{{ this.appConfig['appDomain'] }}\" target=\"_blank\" title=\"{{ this.appConfig['appName'] | titlecase }}\" rel=\"noopener\">{{ this.appConfig['appDomain'] | titlecase }}</a>\n </div>\n</div>\n", styles: [".sd_container_widget_footer{position:absolute;bottom:0;width:100%;height:28px;background:var(--sd-background-color)}.sd_container_widget_footer_inner{display:flex;align-items:center;justify-content:center;vertical-align:middle;gap:5px;padding:.2em;font-size:.85em;font-family:var(--sd-text-font-family);color:var(--sd-text-color-light);direction:ltr;text-decoration:none;-webkit-box-pack:center;-webkit-box-align:end}.sd_container_widget_footer_inner a{color:var(--sd-text-color-light);text-decoration:none;transition:background-color .3s ease,color .3s ease}.sd_container_widget_footer_inner a:hover{color:var(--sd-text-color-dark);text-decoration:underline}\n"], dependencies: [{ kind: "pipe", type: i1.TitleCasePipe, name: "titlecase" }] });
|
|
43
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: FooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
44
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.19", type: FooterComponent, isStandalone: false, selector: "sd-app-footer", ngImport: i0, template: "<div class=\"sd_container_widget_footer\">\n <div class=\"sd_container_widget_footer_inner\"><span>Powered by</span>\n <svg width=\"16px\" shape-rendering=\"geometricPrecision\" text-rendering=\"geometricPrecision\" image-rendering=\"optimizeQuality\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" viewBox=\"0 0 877.098 808.09\">\n <g id=\"Layer_x0020_1\">\n <metadata id=\"CorelCorpID_0Corel-Layer\" />\n <g id=\"_258513600\">\n <path id=\"_258516096\" fill=\"#CBA96B\" fill-rule=\"nonzero\" d=\"M637.653 218.973c-109.109,-5.73516 -241.809,27.9446 -336.907,14.3602 -52.1167,-7.44554 -85.2507,-24.8291 -102.132,-36.1086 -57.8931,61.7431 -93.4412,144.67 -93.4412,235.995 0,171.801 125.437,314.25 289.707,340.911 -8.09408,-36.1447 -12.5046,-73.6839 -12.5046,-112.274 0,-189.17 102.668,-354.272 255.277,-442.882z\" />\n <path id=\"_258516024\" fill=\"#FAE5C5\" fill-rule=\"nonzero\" d=\"M778.919 331.111c0,0 -0.795844,-6.58187 -3.83616,-16.5262 -2.95236,-8.04746 -6.16964,-15.955 -9.68789,-23.7089 -15.0903,-29.1696 -46.4069,-64.5259 -110.487,-70.6637 -5.67476,-0.538334 -11.4438,-0.931487 -17.2553,-1.23986 -152.609,88.61 -255.277,253.712 -255.277,442.882 0,38.5905 4.41052,76.1297 12.5046,112.274 18.155,2.95342 36.7635,4.54405 55.7504,4.54405 190.788,0 345.456,-154.667 345.456,-345.455 0,-36.1033 -5.58044,-70.8873 -15.8766,-103.59 -0.812799,0.942084 -1.29073,1.48254 -1.29073,1.48254z\" />\n <path id=\"_258515952\" fill=\"#EE7738\" fill-rule=\"nonzero\" d=\"M718.294 758.328c-2.63444,0 -5.25511,-1.08726 -7.14458,-3.21411 -3.49387,-3.94743 -3.12509,-9.97401 0.819158,-13.4658 65.9724,-58.4336 110.727,-134.554 129.411,-220.127 1.1233,-5.15126 6.21627,-8.39928 11.3601,-7.28658 5.14278,1.12647 8.40352,6.20885 7.28234,11.3569 -19.557,89.5542 -66.3836,169.202 -135.403,230.332 -1.81317,1.60864 -4.07353,2.40449 -6.32542,2.40449z\" />\n <path id=\"_258515880\" fill=\"#EE7738\" fill-rule=\"nonzero\" d=\"M846.577 557.445c-1.40412,0 -2.83367,-0.181211 -4.25474,-0.555289 -8.91854,-2.3462 -14.2415,-11.4735 -11.9059,-20.3942 8.82422,-33.5198 13.3004,-68.2667 13.3004,-103.269 0,-9.21738 7.47309,-16.6926 16.6915,-16.6926 9.21738,0 16.6905,7.47521 16.6905,16.6926 0,37.8699 -4.83547,75.4727 -14.3877,111.768 -1.97001,7.49217 -8.73203,12.4506 -16.1341,12.4506z\" />\n <path id=\"_258515808\" fill=\"#F7AB54\" fill-rule=\"nonzero\" d=\"M532.463 51.2668c-26.5225,-4.561 -53.5261,-9.03723 -81.5311,-9.03723 -6.4971,0 -12.9486,0.180151 -19.3652,0.504423l0 0.0169554c-0.116568,0 -0.240555,0 -0.357123,0 -130.335,0 -188.497,-1.54718 -257.657,-42.7509 0,0 -0.329571,1.31722 -0.822337,3.71429 105.693,109.444 253.934,177.522 418.097,177.522 47.2367,0 97.7691,-5.74258 146.957,-18.847 -36.3757,-51.8856 -112.688,-95.2088 -205.32,-111.122z\" />\n <path id=\"_258515736\" fill=\"#2F3033\" fill-rule=\"nonzero\" d=\"M450.631 674.55c-105.869,0 -197.899,-65.1882 -228.997,-162.207 -3.11979,-9.71968 2.56768,-20.0233 12.7017,-23.017 10.134,-3.00111 20.8689,2.47231 23.9845,12.1909 26.1177,81.4633 103.4,136.2 192.311,136.2 88.9109,0 166.199,-54.7363 192.311,-136.2 3.11555,-9.72604 13.8494,-15.192 23.9834,-12.1909 10.134,2.99369 15.8257,13.2973 12.7007,23.017 -31.0962,97.0188 -123.128,162.207 -228.995,162.207z\" />\n <path id=\"_258515664\" fill=\"#2F3033\" fill-rule=\"nonzero\" d=\"M797.457 379.399c-3.54474,-22.8781 -9.31169,-45.0272 -17.0582,-66.2288l-67.6584 -15.8236c-1.42849,-0.334869 -2.86758,-0.470512 -4.33952,-0.402691 -13.9946,0.640066 -92.4705,4.71678 -166.073,18.4538 -26.3148,4.92024 -43.3412,11.6303 -54.3844,18.4867 -10.9956,-6.30741 -23.7185,-9.93692 -37.3125,-9.93692 -13.6279,0 -26.3794,3.64647 -37.3919,9.98779 -11.039,-6.87329 -28.0877,-13.6078 -54.4671,-18.5375 -72.9686,-13.6184 -152.425,-17.8138 -166.135,-18.4538 -1.38822,-0.0678216 -2.73936,0.0582842 -4.09261,0.376198l-67.5376 15.8162c-7.76133,21.2165 -13.5177,43.3698 -17.0624,66.2649l79.7232 1.80999c5.1502,0.116568 9.58086,3.65919 10.7773,8.67586 7.72424,32.4018 30.8281,83.0475 99.862,83.0475 35.6455,0 71.0166,-2.26143 95.0255,-24.3903 22.8082,-21.0194 36.8822,-41.2323 42.4966,-76.6882 5.34519,-3.70475 11.7957,-5.92167 18.8025,-5.92167 6.93158,0 13.3121,2.17347 18.6255,5.80828 5.5974,35.5258 19.6863,55.7599 42.5135,76.8016 24.012,22.1289 59.3799,24.3903 95.0276,24.3903 60.3485,0 89.2023,-58.4993 98.3519,-81.955 2.26778,-5.821 7.86518,-9.66564 14.1058,-9.80658l78.2015 -1.77396z\" />\n <path id=\"_258515592\" fill=\"#EE7738\" fill-rule=\"nonzero\" d=\"M450.057 339.132c17.4407,0 33.2718,5.6631 45.1798,14.8603 -10.2729,-13.4138 -26.4038,-22.1024 -44.6054,-22.1024 -17.2235,0 -32.6222,7.76663 -42.9279,19.965 11.5307,-7.94572 26.2745,-12.7229 42.3535,-12.7229z\" />\n <path id=\"_258515520\" fill=\"#EE7738\" fill-rule=\"nonzero\" d=\"M410.435 364.515c0,0 6.9072,42.8802 -31.6589,82.3079 0,0 36.63,-28.5094 42.593,-65.4044 7.97222,-49.2893 -46.9092,-57.4703 -46.9092,-57.4703 0,0 31.3696,7.94254 35.9751,40.5668z\" />\n <path id=\"_258515184\" fill=\"#EE7738\" fill-rule=\"nonzero\" d=\"M492.553 364.515c0,0 -6.90826,42.8802 31.6578,82.3079 0,0 -36.63,-28.5094 -42.593,-65.4044 -7.96798,-49.2893 46.9092,-57.4703 46.9092,-57.4703 0,0 -31.3696,7.94254 -35.9741,40.5668z\" />\n <path id=\"_258515160\" fill=\"#CBA96B\" fill-rule=\"nonzero\" d=\"M188.23 665.933c17.7089,39.6385 -18.9233,142.158 -18.9233,142.158 0,0 115.812,-69.4928 177.475,-60.7925l-183.871 -122.549c0,0 16.2814,16.8643 25.3186,41.1836z\" />\n <path id=\"_258514632\" fill=\"#CBA96B\" fill-rule=\"nonzero\" d=\"M63.5965 269.786c0,0 -52.8637,99.5451 -63.5965,202.805 0,0 47.9064,27.7358 58.601,-17.1408 11.9366,-50.0756 2.16393,-110.872 17.7184,-166.98 15.5513,-56.1118 -12.7229,-18.6838 -12.7229,-18.6838z\" />\n <path id=\"_258513552\" fill=\"#EE7738\" fill-rule=\"nonzero\" d=\"M66.4885 532.215c-8.90158,0 -16.8664,-6.26184 -18.6859,-15.3277 -5.49249,-27.3597 -8.27847,-55.5056 -8.27847,-83.6611 0,-26.7556 2.51894,-53.5409 7.48687,-79.6066 1.97318,-10.3534 11.9567,-17.1461 22.3144,-15.174 10.3492,1.97742 17.1398,11.9642 15.1677,22.3186 -4.51967,23.7153 -6.80971,48.0982 -6.80971,72.4621 0,25.6397 2.53271,51.2593 7.5282,76.152 2.07704,10.3301 -4.61717,20.3867 -14.9472,22.4585 -1.26742,0.255391 -2.53059,0.378317 -3.77575,0.378317z\" />\n <path id=\"_258513720\" fill=\"#EE7738\" fill-rule=\"nonzero\" d=\"M834.909 532.215c-1.2494,0 -2.51576,-0.122927 -3.77258,-0.378317 -10.3396,-2.07174 -17.0338,-12.1284 -14.9525,-22.4585 4.98913,-24.9001 7.53138,-50.5175 7.53138,-76.152 0,-24.3755 -2.29322,-48.7563 -6.81289,-72.4621 -1.97742,-10.3523 4.81851,-20.3412 15.1655,-22.3154 10.365,-1.99226 20.3465,4.81533 22.3144,15.1708 4.97323,26.0541 7.48899,52.8383 7.48899,79.6066 0,28.1481 -2.7828,56.294 -8.27529,83.6611 -1.82482,9.06372 -9.78538,15.3277 -18.687,15.3277z\" />\n <path id=\"_258513864\" fill=\"#2F3033\" fill-rule=\"nonzero\" d=\"M700.271 792.515c-8.44803,0 -16.8187,-3.72701 -22.4691,-10.8695 -9.80658,-12.3955 -7.70305,-30.3947 4.69241,-40.197 5.70867,-4.51437 11.3665,-9.25553 16.8251,-14.0857 11.8306,-10.4763 29.9146,-9.37421 40.3984,2.45323 10.4763,11.8317 9.38163,29.9167 -2.45535,40.3952 -6.24065,5.53594 -12.7282,10.9617 -19.2592,16.1309 -5.25511,4.15195 -11.5191,6.17282 -17.7322,6.17282z\" />\n <path id=\"_258514920\" fill=\"#EE7738\" fill-rule=\"nonzero\" d=\"M755.671 188.913c0,0 -11.9313,-19.0769 -17.8879,-26.5331 -11.0486,2.67153 -32.069,7.57482 -43.3507,9.61265 -0.0264928,0.00741799 -0.0508662,0.00741799 -0.077359,0.0169554 -5.57091,1.00249 -11.1768,1.92656 -16.8081,2.77327 -0.163196,0.0243734 -0.317914,0.0413288 -0.470512,0.0678216 -5.50521,0.812799 -11.0252,1.56731 -16.5813,2.23493 -0.690932,0.084777 -1.39458,0.135643 -2.09611,0.22042 -5.01456,0.581782 -10.0387,1.13071 -15.0977,1.58427 -1.63514,0.145181 -3.28723,0.229958 -4.92024,0.36878 -4.13394,0.33275 -8.26788,0.677156 -12.4294,0.931487 -2.875,0.172733 -5.76907,0.25751 -8.65149,0.385735 -2.94494,0.138822 -5.88034,0.308376 -8.8433,0.402691 -5.85385,0.169554 -11.7331,0.25751 -17.6304,0.25751 -6.52889,0 -13.0186,-0.14624 -19.4966,-0.359242 -2.67153,-0.0868964 -5.33247,-0.206644 -8.00189,-0.317914 -4.73797,-0.188629 -9.46853,-0.530916 -14.2023,-0.829755 -0.885919,-0.0604036 -1.77608,-0.11127 -2.662,-0.171673 -6.37523,-0.488527 -12.7197,-1.07773 -19.0399,-1.7623 -1.5387,-0.171673 -3.06681,-0.361362 -4.59809,-0.540453 -5.12583,-0.5892 -10.2453,-1.26636 -15.3552,-2.0018 -1.43061,-0.206644 -2.86228,-0.393153 -4.28654,-0.609335 -6.318,-0.95798 -12.6085,-2.00074 -18.8586,-3.15582 -0.545752,-0.104912 -1.08409,-0.216181 -1.6256,-0.325332 -5.39076,-1.07031 -10.7963,-2.10565 -16.168,-3.29676 -1.79303,-0.393153 -3.59031,-0.786307 -5.37804,-1.19853 -12.5247,-2.84851 -24.8979,-6.10924 -37.1016,-9.76525 -3.2459,-0.965398 -6.46319,-2.01133 -9.75995,-2.85804 -3.20245,-0.822337 -6.32754,-1.87569 -9.3721,-3.17596 -0.837173,-0.359242 -1.71991,-0.606155 -2.58676,-0.907114 -6.19402,-2.13108 -12.3393,-4.35542 -18.439,-6.68467 -0.69835,-0.263868 -1.38716,-0.547871 -2.08657,-0.812799 -5.51686,-2.13214 -10.9924,-4.34058 -16.4245,-6.63274 -0.715306,-0.300958 -1.43167,-0.592379 -2.14486,-0.890158 -12.0065,-5.11947 -23.8054,-10.6395 -35.388,-16.5273 -0.707888,-0.359242 -1.42107,-0.728022 -2.13002,-1.08726 -11.6017,-5.96512 -22.9777,-12.3001 -34.1121,-19.0017 -0.545752,-0.324272 -1.08832,-0.657022 -1.63196,-0.984473 -5.51474,-3.34551 -10.9807,-6.76944 -16.3768,-10.2866l0 0c-36.7,-23.9665 -70.545,-51.9344 -100.87,-83.339 -3.40168,16.6142 -14.4672,85.7424 23.4006,138.715l0 0.00741799 0.00211942 0c0,0 0.00529856,0.00953741 0.00741799,0.00953741 0.632648,0.890158 1.32252,1.74747 1.97954,2.62809 0.684574,0.907114 1.3416,1.82165 2.0569,2.72134 0.483229,0.599797 1.01203,1.189 1.51009,1.78879 0.950562,1.14767 1.88205,2.3017 2.88454,3.43241 0.594499,0.667619 1.24198,1.30768 1.84814,1.97742 0.963278,1.03428 1.90006,2.07916 2.91209,3.08906 1.01414,1.0258 2.09823,2.02829 3.16112,3.02972 0.666559,0.624171 1.29815,1.26636 1.97954,1.89265 1.04594,0.948443 2.16605,1.86615 3.25862,2.79022 0.766172,0.640066 1.49207,1.30768 2.27732,1.94033 0.849889,0.694112 1.76654,1.35431 2.63974,2.02087 1.1021,0.84671 2.16923,1.70402 3.30948,2.52635 0.667619,0.487468 1.38504,0.941025 2.06962,1.41154 1.41154,0.982353 2.81142,1.97742 4.29183,2.91845 0.999309,0.650663 2.06962,1.25046 3.10284,1.87357 1.23033,0.754515 2.42356,1.51645 3.69734,2.23387 0.505483,0.291421 1.05547,0.556349 1.56731,0.840352 4.23355,2.33561 8.66421,4.57054 13.3831,6.63274 1.22503,0.530916 2.52317,1.0258 3.77787,1.54082 1.46452,0.598737 2.89619,1.22291 4.4084,1.78773 0.841412,0.325332 1.74429,0.609335 2.60053,0.917711 1.99862,0.717425 3.98876,1.45287 6.06791,2.11942 0.549991,0.189689 1.14767,0.345466 1.70508,0.51502 8.45332,2.65352 17.5287,4.92978 27.3575,6.70056 3.49599,0.633708 7.07994,1.20807 10.7529,1.72097 13.9628,1.93503 29.2078,3.01276 45.9534,3.01276 4.96157,0 9.7875,-0.0243734 14.552,-0.0678216 53.9309,-0.460975 95.3752,-3.3116 129.213,-4.20176 0.0233137,0 0.0508662,0 0.0720604,-0.0105971l0.00529856 0c1.39988,-0.10915 2.95766,-0.237376 4.53875,-0.365601 0.631589,-0.0508662 1.3151,-0.104912 1.97742,-0.155778 1.28331,-0.101732 2.63762,-0.213002 4.02055,-0.314735 0.720604,-0.0614633 1.43803,-0.11233 2.18301,-0.163196 1.74747,-0.137763 3.57123,-0.267047 5.45434,-0.395273 0.391034,-0.0243734 0.747097,-0.0582842 1.14555,-0.084777 2.16605,-0.14624 4.44655,-0.281883 6.7758,-0.419646 0.827635,-0.0508662 1.68388,-0.0953741 2.53059,-0.14624 1.65951,-0.084777 3.35823,-0.179091 5.0951,-0.25645 0.967517,-0.0508662 1.94563,-0.092195 2.93752,-0.135643 1.92444,-0.0858367 3.90398,-0.163196 5.91002,-0.231017 0.784187,-0.0264928 1.54082,-0.0604036 2.33455,-0.077359 2.66094,-0.084777 5.39606,-0.14624 8.17886,-0.197106 1.04806,-0.0169554 2.13214,-0.0169554 3.19927,-0.0339108 1.90536,-0.0264928 3.83404,-0.0339108 5.78921,-0.0339108 1.23033,-0.00953741 2.46701,0 3.71641,0.00741799 2.02087,0.00953741 4.06612,0.0339108 6.12938,0.0678216 1.12965,0.0169554 2.24129,0.0264928 3.38896,0.0540453 3.01276,0.0752396 6.06791,0.169554 9.15909,0.297779 1.17098,0.0508662 2.36952,0.118688 3.55851,0.172733 2.1332,0.101732 4.28018,0.22042 6.45365,0.359242 1.37127,0.0752396 2.74889,0.169554 4.13394,0.273406 2.16711,0.152599 4.35754,0.325332 6.55538,0.511841 1.26954,0.104912 2.52635,0.206644 3.80225,0.325332 78.1856,7.31943 143.473,20.2341 180.576,119.988 0.162136,-0.0243734 -0.0604036,0.00953741 0.101732,-0.00741799 -1.32676,-47.3999 -18.0162,-100.661 -34.5095,-132.356z\" />\n <path id=\"_258514728\" fill=\"#CBA96B\" fill-rule=\"nonzero\" d=\"M166.531 125.26c-6.82137,6.44411 -13.0641,13.1712 -19.3896,19.4288 -4.55888,4.32257 -8.25834,9.23645 -12.2111,13.736 -3.88385,4.5716 -7.68291,9.04041 -11.3834,13.3884 -6.99622,9.02769 -13.3068,17.8615 -19.4182,26.035 -5.61648,8.51585 -10.578,16.6894 -15.3287,24.154 -2.45747,3.66131 -4.41794,7.48051 -6.31271,11.11 -1.91172,3.62634 -3.73866,7.07676 -5.466,10.364 -7.32049,13.1383 -11.2775,23.5023 -14.5424,30.5557 -3.12721,7.05239 -4.79732,10.8175 -4.79732,10.8175 -0.062523,0.155778 -0.137763,0.334869 -0.198166,0.498065 -1.86403,4.92978 0.623111,10.4318 5.55607,12.298 4.9319,1.85768 10.4371,-0.633708 12.3001,-5.56349 0,0 1.45287,-3.85311 4.17739,-11.0655 2.85592,-7.10431 6.29363,-18.2228 12.6477,-30.4794 1.50267,-3.159 3.08906,-6.47802 4.74645,-9.97189 1.64149,-3.50129 3.32538,-7.17213 5.56243,-10.8186 4.27276,-7.36818 8.72249,-15.4474 13.7975,-23.905 5.57303,-8.11316 11.3135,-16.9194 17.7237,-25.9502 3.47374,-4.32257 7.03119,-8.74793 10.6798,-13.2824 3.71641,-4.46881 7.18591,-9.34772 11.5021,-13.6449 4.52709,-4.69664 9.01073,-9.67093 13.7127,-14.6007 -1.28861,-4.48364 -2.40873,-8.89205 -3.35823,-13.1033z\" />\n </g>\n </g>\n </svg>\n <a href=\"https://www.{{ this.appConfig['appDomain'] }}\" target=\"_blank\" title=\"{{ this.appConfig['appName'] | titlecase }}\" rel=\"noopener\">{{ this.appConfig['appDomain'] | titlecase }}</a>\n </div>\n</div>\n", styles: [".sd_container_widget_footer{position:absolute;bottom:0;width:100%;height:28px;background:var(--sd-background-color)}.sd_container_widget_footer_inner{display:flex;align-items:center;justify-content:center;vertical-align:middle;gap:5px;padding:.2em;font-size:.85em;font-family:var(--sd-text-font-family);color:var(--sd-text-color-light);direction:ltr;text-decoration:none;-webkit-box-pack:center;-webkit-box-align:end}.sd_container_widget_footer_inner a{color:var(--sd-text-color-light);text-decoration:none;transition:background-color .3s ease,color .3s ease}.sd_container_widget_footer_inner a:hover{color:var(--sd-text-color-dark);text-decoration:underline}\n"], dependencies: [{ kind: "pipe", type: i1.TitleCasePipe, name: "titlecase" }] });
|
|
45
45
|
}
|
|
46
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: FooterComponent, decorators: [{
|
|
47
47
|
type: Component,
|
|
48
48
|
args: [{ selector: 'sd-app-footer', standalone: false, template: "<div class=\"sd_container_widget_footer\">\n <div class=\"sd_container_widget_footer_inner\"><span>Powered by</span>\n <svg width=\"16px\" shape-rendering=\"geometricPrecision\" text-rendering=\"geometricPrecision\" image-rendering=\"optimizeQuality\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" viewBox=\"0 0 877.098 808.09\">\n <g id=\"Layer_x0020_1\">\n <metadata id=\"CorelCorpID_0Corel-Layer\" />\n <g id=\"_258513600\">\n <path id=\"_258516096\" fill=\"#CBA96B\" fill-rule=\"nonzero\" d=\"M637.653 218.973c-109.109,-5.73516 -241.809,27.9446 -336.907,14.3602 -52.1167,-7.44554 -85.2507,-24.8291 -102.132,-36.1086 -57.8931,61.7431 -93.4412,144.67 -93.4412,235.995 0,171.801 125.437,314.25 289.707,340.911 -8.09408,-36.1447 -12.5046,-73.6839 -12.5046,-112.274 0,-189.17 102.668,-354.272 255.277,-442.882z\" />\n <path id=\"_258516024\" fill=\"#FAE5C5\" fill-rule=\"nonzero\" d=\"M778.919 331.111c0,0 -0.795844,-6.58187 -3.83616,-16.5262 -2.95236,-8.04746 -6.16964,-15.955 -9.68789,-23.7089 -15.0903,-29.1696 -46.4069,-64.5259 -110.487,-70.6637 -5.67476,-0.538334 -11.4438,-0.931487 -17.2553,-1.23986 -152.609,88.61 -255.277,253.712 -255.277,442.882 0,38.5905 4.41052,76.1297 12.5046,112.274 18.155,2.95342 36.7635,4.54405 55.7504,4.54405 190.788,0 345.456,-154.667 345.456,-345.455 0,-36.1033 -5.58044,-70.8873 -15.8766,-103.59 -0.812799,0.942084 -1.29073,1.48254 -1.29073,1.48254z\" />\n <path id=\"_258515952\" fill=\"#EE7738\" fill-rule=\"nonzero\" d=\"M718.294 758.328c-2.63444,0 -5.25511,-1.08726 -7.14458,-3.21411 -3.49387,-3.94743 -3.12509,-9.97401 0.819158,-13.4658 65.9724,-58.4336 110.727,-134.554 129.411,-220.127 1.1233,-5.15126 6.21627,-8.39928 11.3601,-7.28658 5.14278,1.12647 8.40352,6.20885 7.28234,11.3569 -19.557,89.5542 -66.3836,169.202 -135.403,230.332 -1.81317,1.60864 -4.07353,2.40449 -6.32542,2.40449z\" />\n <path id=\"_258515880\" fill=\"#EE7738\" fill-rule=\"nonzero\" d=\"M846.577 557.445c-1.40412,0 -2.83367,-0.181211 -4.25474,-0.555289 -8.91854,-2.3462 -14.2415,-11.4735 -11.9059,-20.3942 8.82422,-33.5198 13.3004,-68.2667 13.3004,-103.269 0,-9.21738 7.47309,-16.6926 16.6915,-16.6926 9.21738,0 16.6905,7.47521 16.6905,16.6926 0,37.8699 -4.83547,75.4727 -14.3877,111.768 -1.97001,7.49217 -8.73203,12.4506 -16.1341,12.4506z\" />\n <path id=\"_258515808\" fill=\"#F7AB54\" fill-rule=\"nonzero\" d=\"M532.463 51.2668c-26.5225,-4.561 -53.5261,-9.03723 -81.5311,-9.03723 -6.4971,0 -12.9486,0.180151 -19.3652,0.504423l0 0.0169554c-0.116568,0 -0.240555,0 -0.357123,0 -130.335,0 -188.497,-1.54718 -257.657,-42.7509 0,0 -0.329571,1.31722 -0.822337,3.71429 105.693,109.444 253.934,177.522 418.097,177.522 47.2367,0 97.7691,-5.74258 146.957,-18.847 -36.3757,-51.8856 -112.688,-95.2088 -205.32,-111.122z\" />\n <path id=\"_258515736\" fill=\"#2F3033\" fill-rule=\"nonzero\" d=\"M450.631 674.55c-105.869,0 -197.899,-65.1882 -228.997,-162.207 -3.11979,-9.71968 2.56768,-20.0233 12.7017,-23.017 10.134,-3.00111 20.8689,2.47231 23.9845,12.1909 26.1177,81.4633 103.4,136.2 192.311,136.2 88.9109,0 166.199,-54.7363 192.311,-136.2 3.11555,-9.72604 13.8494,-15.192 23.9834,-12.1909 10.134,2.99369 15.8257,13.2973 12.7007,23.017 -31.0962,97.0188 -123.128,162.207 -228.995,162.207z\" />\n <path id=\"_258515664\" fill=\"#2F3033\" fill-rule=\"nonzero\" d=\"M797.457 379.399c-3.54474,-22.8781 -9.31169,-45.0272 -17.0582,-66.2288l-67.6584 -15.8236c-1.42849,-0.334869 -2.86758,-0.470512 -4.33952,-0.402691 -13.9946,0.640066 -92.4705,4.71678 -166.073,18.4538 -26.3148,4.92024 -43.3412,11.6303 -54.3844,18.4867 -10.9956,-6.30741 -23.7185,-9.93692 -37.3125,-9.93692 -13.6279,0 -26.3794,3.64647 -37.3919,9.98779 -11.039,-6.87329 -28.0877,-13.6078 -54.4671,-18.5375 -72.9686,-13.6184 -152.425,-17.8138 -166.135,-18.4538 -1.38822,-0.0678216 -2.73936,0.0582842 -4.09261,0.376198l-67.5376 15.8162c-7.76133,21.2165 -13.5177,43.3698 -17.0624,66.2649l79.7232 1.80999c5.1502,0.116568 9.58086,3.65919 10.7773,8.67586 7.72424,32.4018 30.8281,83.0475 99.862,83.0475 35.6455,0 71.0166,-2.26143 95.0255,-24.3903 22.8082,-21.0194 36.8822,-41.2323 42.4966,-76.6882 5.34519,-3.70475 11.7957,-5.92167 18.8025,-5.92167 6.93158,0 13.3121,2.17347 18.6255,5.80828 5.5974,35.5258 19.6863,55.7599 42.5135,76.8016 24.012,22.1289 59.3799,24.3903 95.0276,24.3903 60.3485,0 89.2023,-58.4993 98.3519,-81.955 2.26778,-5.821 7.86518,-9.66564 14.1058,-9.80658l78.2015 -1.77396z\" />\n <path id=\"_258515592\" fill=\"#EE7738\" fill-rule=\"nonzero\" d=\"M450.057 339.132c17.4407,0 33.2718,5.6631 45.1798,14.8603 -10.2729,-13.4138 -26.4038,-22.1024 -44.6054,-22.1024 -17.2235,0 -32.6222,7.76663 -42.9279,19.965 11.5307,-7.94572 26.2745,-12.7229 42.3535,-12.7229z\" />\n <path id=\"_258515520\" fill=\"#EE7738\" fill-rule=\"nonzero\" d=\"M410.435 364.515c0,0 6.9072,42.8802 -31.6589,82.3079 0,0 36.63,-28.5094 42.593,-65.4044 7.97222,-49.2893 -46.9092,-57.4703 -46.9092,-57.4703 0,0 31.3696,7.94254 35.9751,40.5668z\" />\n <path id=\"_258515184\" fill=\"#EE7738\" fill-rule=\"nonzero\" d=\"M492.553 364.515c0,0 -6.90826,42.8802 31.6578,82.3079 0,0 -36.63,-28.5094 -42.593,-65.4044 -7.96798,-49.2893 46.9092,-57.4703 46.9092,-57.4703 0,0 -31.3696,7.94254 -35.9741,40.5668z\" />\n <path id=\"_258515160\" fill=\"#CBA96B\" fill-rule=\"nonzero\" d=\"M188.23 665.933c17.7089,39.6385 -18.9233,142.158 -18.9233,142.158 0,0 115.812,-69.4928 177.475,-60.7925l-183.871 -122.549c0,0 16.2814,16.8643 25.3186,41.1836z\" />\n <path id=\"_258514632\" fill=\"#CBA96B\" fill-rule=\"nonzero\" d=\"M63.5965 269.786c0,0 -52.8637,99.5451 -63.5965,202.805 0,0 47.9064,27.7358 58.601,-17.1408 11.9366,-50.0756 2.16393,-110.872 17.7184,-166.98 15.5513,-56.1118 -12.7229,-18.6838 -12.7229,-18.6838z\" />\n <path id=\"_258513552\" fill=\"#EE7738\" fill-rule=\"nonzero\" d=\"M66.4885 532.215c-8.90158,0 -16.8664,-6.26184 -18.6859,-15.3277 -5.49249,-27.3597 -8.27847,-55.5056 -8.27847,-83.6611 0,-26.7556 2.51894,-53.5409 7.48687,-79.6066 1.97318,-10.3534 11.9567,-17.1461 22.3144,-15.174 10.3492,1.97742 17.1398,11.9642 15.1677,22.3186 -4.51967,23.7153 -6.80971,48.0982 -6.80971,72.4621 0,25.6397 2.53271,51.2593 7.5282,76.152 2.07704,10.3301 -4.61717,20.3867 -14.9472,22.4585 -1.26742,0.255391 -2.53059,0.378317 -3.77575,0.378317z\" />\n <path id=\"_258513720\" fill=\"#EE7738\" fill-rule=\"nonzero\" d=\"M834.909 532.215c-1.2494,0 -2.51576,-0.122927 -3.77258,-0.378317 -10.3396,-2.07174 -17.0338,-12.1284 -14.9525,-22.4585 4.98913,-24.9001 7.53138,-50.5175 7.53138,-76.152 0,-24.3755 -2.29322,-48.7563 -6.81289,-72.4621 -1.97742,-10.3523 4.81851,-20.3412 15.1655,-22.3154 10.365,-1.99226 20.3465,4.81533 22.3144,15.1708 4.97323,26.0541 7.48899,52.8383 7.48899,79.6066 0,28.1481 -2.7828,56.294 -8.27529,83.6611 -1.82482,9.06372 -9.78538,15.3277 -18.687,15.3277z\" />\n <path id=\"_258513864\" fill=\"#2F3033\" fill-rule=\"nonzero\" d=\"M700.271 792.515c-8.44803,0 -16.8187,-3.72701 -22.4691,-10.8695 -9.80658,-12.3955 -7.70305,-30.3947 4.69241,-40.197 5.70867,-4.51437 11.3665,-9.25553 16.8251,-14.0857 11.8306,-10.4763 29.9146,-9.37421 40.3984,2.45323 10.4763,11.8317 9.38163,29.9167 -2.45535,40.3952 -6.24065,5.53594 -12.7282,10.9617 -19.2592,16.1309 -5.25511,4.15195 -11.5191,6.17282 -17.7322,6.17282z\" />\n <path id=\"_258514920\" fill=\"#EE7738\" fill-rule=\"nonzero\" d=\"M755.671 188.913c0,0 -11.9313,-19.0769 -17.8879,-26.5331 -11.0486,2.67153 -32.069,7.57482 -43.3507,9.61265 -0.0264928,0.00741799 -0.0508662,0.00741799 -0.077359,0.0169554 -5.57091,1.00249 -11.1768,1.92656 -16.8081,2.77327 -0.163196,0.0243734 -0.317914,0.0413288 -0.470512,0.0678216 -5.50521,0.812799 -11.0252,1.56731 -16.5813,2.23493 -0.690932,0.084777 -1.39458,0.135643 -2.09611,0.22042 -5.01456,0.581782 -10.0387,1.13071 -15.0977,1.58427 -1.63514,0.145181 -3.28723,0.229958 -4.92024,0.36878 -4.13394,0.33275 -8.26788,0.677156 -12.4294,0.931487 -2.875,0.172733 -5.76907,0.25751 -8.65149,0.385735 -2.94494,0.138822 -5.88034,0.308376 -8.8433,0.402691 -5.85385,0.169554 -11.7331,0.25751 -17.6304,0.25751 -6.52889,0 -13.0186,-0.14624 -19.4966,-0.359242 -2.67153,-0.0868964 -5.33247,-0.206644 -8.00189,-0.317914 -4.73797,-0.188629 -9.46853,-0.530916 -14.2023,-0.829755 -0.885919,-0.0604036 -1.77608,-0.11127 -2.662,-0.171673 -6.37523,-0.488527 -12.7197,-1.07773 -19.0399,-1.7623 -1.5387,-0.171673 -3.06681,-0.361362 -4.59809,-0.540453 -5.12583,-0.5892 -10.2453,-1.26636 -15.3552,-2.0018 -1.43061,-0.206644 -2.86228,-0.393153 -4.28654,-0.609335 -6.318,-0.95798 -12.6085,-2.00074 -18.8586,-3.15582 -0.545752,-0.104912 -1.08409,-0.216181 -1.6256,-0.325332 -5.39076,-1.07031 -10.7963,-2.10565 -16.168,-3.29676 -1.79303,-0.393153 -3.59031,-0.786307 -5.37804,-1.19853 -12.5247,-2.84851 -24.8979,-6.10924 -37.1016,-9.76525 -3.2459,-0.965398 -6.46319,-2.01133 -9.75995,-2.85804 -3.20245,-0.822337 -6.32754,-1.87569 -9.3721,-3.17596 -0.837173,-0.359242 -1.71991,-0.606155 -2.58676,-0.907114 -6.19402,-2.13108 -12.3393,-4.35542 -18.439,-6.68467 -0.69835,-0.263868 -1.38716,-0.547871 -2.08657,-0.812799 -5.51686,-2.13214 -10.9924,-4.34058 -16.4245,-6.63274 -0.715306,-0.300958 -1.43167,-0.592379 -2.14486,-0.890158 -12.0065,-5.11947 -23.8054,-10.6395 -35.388,-16.5273 -0.707888,-0.359242 -1.42107,-0.728022 -2.13002,-1.08726 -11.6017,-5.96512 -22.9777,-12.3001 -34.1121,-19.0017 -0.545752,-0.324272 -1.08832,-0.657022 -1.63196,-0.984473 -5.51474,-3.34551 -10.9807,-6.76944 -16.3768,-10.2866l0 0c-36.7,-23.9665 -70.545,-51.9344 -100.87,-83.339 -3.40168,16.6142 -14.4672,85.7424 23.4006,138.715l0 0.00741799 0.00211942 0c0,0 0.00529856,0.00953741 0.00741799,0.00953741 0.632648,0.890158 1.32252,1.74747 1.97954,2.62809 0.684574,0.907114 1.3416,1.82165 2.0569,2.72134 0.483229,0.599797 1.01203,1.189 1.51009,1.78879 0.950562,1.14767 1.88205,2.3017 2.88454,3.43241 0.594499,0.667619 1.24198,1.30768 1.84814,1.97742 0.963278,1.03428 1.90006,2.07916 2.91209,3.08906 1.01414,1.0258 2.09823,2.02829 3.16112,3.02972 0.666559,0.624171 1.29815,1.26636 1.97954,1.89265 1.04594,0.948443 2.16605,1.86615 3.25862,2.79022 0.766172,0.640066 1.49207,1.30768 2.27732,1.94033 0.849889,0.694112 1.76654,1.35431 2.63974,2.02087 1.1021,0.84671 2.16923,1.70402 3.30948,2.52635 0.667619,0.487468 1.38504,0.941025 2.06962,1.41154 1.41154,0.982353 2.81142,1.97742 4.29183,2.91845 0.999309,0.650663 2.06962,1.25046 3.10284,1.87357 1.23033,0.754515 2.42356,1.51645 3.69734,2.23387 0.505483,0.291421 1.05547,0.556349 1.56731,0.840352 4.23355,2.33561 8.66421,4.57054 13.3831,6.63274 1.22503,0.530916 2.52317,1.0258 3.77787,1.54082 1.46452,0.598737 2.89619,1.22291 4.4084,1.78773 0.841412,0.325332 1.74429,0.609335 2.60053,0.917711 1.99862,0.717425 3.98876,1.45287 6.06791,2.11942 0.549991,0.189689 1.14767,0.345466 1.70508,0.51502 8.45332,2.65352 17.5287,4.92978 27.3575,6.70056 3.49599,0.633708 7.07994,1.20807 10.7529,1.72097 13.9628,1.93503 29.2078,3.01276 45.9534,3.01276 4.96157,0 9.7875,-0.0243734 14.552,-0.0678216 53.9309,-0.460975 95.3752,-3.3116 129.213,-4.20176 0.0233137,0 0.0508662,0 0.0720604,-0.0105971l0.00529856 0c1.39988,-0.10915 2.95766,-0.237376 4.53875,-0.365601 0.631589,-0.0508662 1.3151,-0.104912 1.97742,-0.155778 1.28331,-0.101732 2.63762,-0.213002 4.02055,-0.314735 0.720604,-0.0614633 1.43803,-0.11233 2.18301,-0.163196 1.74747,-0.137763 3.57123,-0.267047 5.45434,-0.395273 0.391034,-0.0243734 0.747097,-0.0582842 1.14555,-0.084777 2.16605,-0.14624 4.44655,-0.281883 6.7758,-0.419646 0.827635,-0.0508662 1.68388,-0.0953741 2.53059,-0.14624 1.65951,-0.084777 3.35823,-0.179091 5.0951,-0.25645 0.967517,-0.0508662 1.94563,-0.092195 2.93752,-0.135643 1.92444,-0.0858367 3.90398,-0.163196 5.91002,-0.231017 0.784187,-0.0264928 1.54082,-0.0604036 2.33455,-0.077359 2.66094,-0.084777 5.39606,-0.14624 8.17886,-0.197106 1.04806,-0.0169554 2.13214,-0.0169554 3.19927,-0.0339108 1.90536,-0.0264928 3.83404,-0.0339108 5.78921,-0.0339108 1.23033,-0.00953741 2.46701,0 3.71641,0.00741799 2.02087,0.00953741 4.06612,0.0339108 6.12938,0.0678216 1.12965,0.0169554 2.24129,0.0264928 3.38896,0.0540453 3.01276,0.0752396 6.06791,0.169554 9.15909,0.297779 1.17098,0.0508662 2.36952,0.118688 3.55851,0.172733 2.1332,0.101732 4.28018,0.22042 6.45365,0.359242 1.37127,0.0752396 2.74889,0.169554 4.13394,0.273406 2.16711,0.152599 4.35754,0.325332 6.55538,0.511841 1.26954,0.104912 2.52635,0.206644 3.80225,0.325332 78.1856,7.31943 143.473,20.2341 180.576,119.988 0.162136,-0.0243734 -0.0604036,0.00953741 0.101732,-0.00741799 -1.32676,-47.3999 -18.0162,-100.661 -34.5095,-132.356z\" />\n <path id=\"_258514728\" fill=\"#CBA96B\" fill-rule=\"nonzero\" d=\"M166.531 125.26c-6.82137,6.44411 -13.0641,13.1712 -19.3896,19.4288 -4.55888,4.32257 -8.25834,9.23645 -12.2111,13.736 -3.88385,4.5716 -7.68291,9.04041 -11.3834,13.3884 -6.99622,9.02769 -13.3068,17.8615 -19.4182,26.035 -5.61648,8.51585 -10.578,16.6894 -15.3287,24.154 -2.45747,3.66131 -4.41794,7.48051 -6.31271,11.11 -1.91172,3.62634 -3.73866,7.07676 -5.466,10.364 -7.32049,13.1383 -11.2775,23.5023 -14.5424,30.5557 -3.12721,7.05239 -4.79732,10.8175 -4.79732,10.8175 -0.062523,0.155778 -0.137763,0.334869 -0.198166,0.498065 -1.86403,4.92978 0.623111,10.4318 5.55607,12.298 4.9319,1.85768 10.4371,-0.633708 12.3001,-5.56349 0,0 1.45287,-3.85311 4.17739,-11.0655 2.85592,-7.10431 6.29363,-18.2228 12.6477,-30.4794 1.50267,-3.159 3.08906,-6.47802 4.74645,-9.97189 1.64149,-3.50129 3.32538,-7.17213 5.56243,-10.8186 4.27276,-7.36818 8.72249,-15.4474 13.7975,-23.905 5.57303,-8.11316 11.3135,-16.9194 17.7237,-25.9502 3.47374,-4.32257 7.03119,-8.74793 10.6798,-13.2824 3.71641,-4.46881 7.18591,-9.34772 11.5021,-13.6449 4.52709,-4.69664 9.01073,-9.67093 13.7127,-14.6007 -1.28861,-4.48364 -2.40873,-8.89205 -3.35823,-13.1033z\" />\n </g>\n </g>\n </svg>\n <a href=\"https://www.{{ this.appConfig['appDomain'] }}\" target=\"_blank\" title=\"{{ this.appConfig['appName'] | titlecase }}\" rel=\"noopener\">{{ this.appConfig['appDomain'] | titlecase }}</a>\n </div>\n</div>\n", styles: [".sd_container_widget_footer{position:absolute;bottom:0;width:100%;height:28px;background:var(--sd-background-color)}.sd_container_widget_footer_inner{display:flex;align-items:center;justify-content:center;vertical-align:middle;gap:5px;padding:.2em;font-size:.85em;font-family:var(--sd-text-font-family);color:var(--sd-text-color-light);direction:ltr;text-decoration:none;-webkit-box-pack:center;-webkit-box-align:end}.sd_container_widget_footer_inner a{color:var(--sd-text-color-light);text-decoration:none;transition:background-color .3s ease,color .3s ease}.sd_container_widget_footer_inner a:hover{color:var(--sd-text-color-dark);text-decoration:underline}\n"] }]
|
|
49
49
|
}] });
|
|
@@ -58,34 +58,34 @@ class ErrorComponent {
|
|
|
58
58
|
// console.debug('changes:', changes);
|
|
59
59
|
this.cdr.detectChanges();
|
|
60
60
|
}
|
|
61
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
62
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
61
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: ErrorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
62
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.19", type: ErrorComponent, isStandalone: false, selector: "sd-app-error", inputs: { error: "error" }, usesOnChanges: true, ngImport: i0, template: "<main class=\"container_error\" [ngSwitch]=\"error?.status\">\n <ng-container *ngSwitchCase=\"400\">\n <div class=\"sd_container_error_image\">\n <img class=\"sd_error_image\" src=\"https://assets.snugdesk.com/error-images/error_bad-request.png\" alt=\"Bad Request\" />\n </div>\n <div class=\"sd_container_error_message\" aria-live=\"polite\">\n <h1 class=\"sd_error_title\">Invalid Request</h1>\n <span class=\"sd_error_message\">Oops! Invalid or missing parameters. Please check and try again.</span>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"403\">\n <div class=\"sd_container_error_image\">\n <img class=\"sd_error_image\" src=\"https://assets.snugdesk.com/error-images/error_forbidden.png\" alt=\"Access Forbidden\" />\n </div>\n <div class=\"sd_container_error_message\" aria-live=\"polite\">\n <h1 class=\"sd_error_title\">Access Denied</h1>\n <span class=\"sd_error_message\">Oops! You don't have permission to access this page.</span>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"404\">\n <div class=\"sd_container_error_image\">\n <img class=\"sd_error_image\" src=\"https://assets.snugdesk.com/error-images/error_page-not-found.png\" alt=\"Page Not Found\" />\n </div>\n <div class=\"sd_container_error_message\" aria-live=\"polite\">\n <h1 class=\"sd_error_title\">Page Not Found</h1>\n <span class=\"sd_error_message\">Oops! The page you're looking for can't be found. It may have been removed, or you may have typed the URL\n incorrectly.</span>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"409\">\n <div class=\"sd_container_error_image\">\n <img class=\"sd_error_image\" src=\"https://assets.snugdesk.com/error-images/error_bad-request.png\" alt=\"Configuration Error\" />\n </div>\n <div class=\"sd_container_error_message\" aria-live=\"polite\">\n <h1 class=\"sd_error_title\">Configuration Error</h1>\n <span class=\"sd_error_message\">Oops! Invalid configuration detected. Please review your settings or contact support.</span>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"0\">\n <div class=\"sd_container_error_image\">\n <img class=\"sd_error_image sd_error_image_grayscale\" src=\"https://assets.snugdesk.com/error-images/error_no-internet.png\" alt=\"No Internet\" />\n </div>\n <div class=\"sd_container_error_message\" aria-live=\"polite\">\n <h1 class=\"sd_error_title\">No Internet</h1>\n <span class=\"sd_error_message\">Oops! You are not connected to the internet. Please check your network connection and try again.</span>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <div class=\"sd_container_error_image\">\n <img class=\"sd_error_image\" src=\"https://assets.snugdesk.com/error-images/error_internal-server.png\" alt=\"Internal Server Error\" />\n </div>\n <div class=\"sd_container_error_message\" aria-live=\"polite\">\n <h1 class=\"sd_error_title\">Internal Server Error</h1>\n <span class=\"sd_error_message\">Oops! We're sorry, but the server encountered an error.</span>\n </div>\n </ng-container>\n</main>\n\n<sd-app-footer></sd-app-footer>\n", styles: [".sd_container_error_image{width:278px;margin:0 auto;padding:80px 0 25px}.sd_container_error_image .sd_error_image{width:100%;margin:0;padding:0}.sd_container_error_image .sd_error_image_grayscale{filter:grayscale(100%)}.sd_container_error_message{width:85%;margin:0 auto;padding:0 0 25px;text-align:center;color:var(--sd-text-color);font-size:13px;font-weight:600;font-family:var(--sd-text-font-family)}.sd_container_error_message .sd_error_title{margin:0;padding:0 0 10px;font-size:31px;font-weight:700;letter-spacing:-2px;color:var(--sd-text-color-dark);font-family:var(--sd-text-font-family)}.sd_container_error_message .sd_error_message{display:block;padding-bottom:16px;font-size:13px;font-weight:600;line-height:1.5em;letter-spacing:-.26px;color:var(--sd-text-color);font-family:var(--sd-text-font-family)}@media screen and (min-width:980px){.sd_container_error_image{width:478px}.sd_container_error_message{width:520px}}\n"], dependencies: [{ kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "component", type: FooterComponent, selector: "sd-app-footer" }] });
|
|
63
63
|
}
|
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
64
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: ErrorComponent, decorators: [{
|
|
65
65
|
type: Component,
|
|
66
|
-
args: [{ selector: 'sd-app-error', standalone: false, template: "<main class=\"container_error\" [ngSwitch]=\"error?.status\">\n <ng-container *ngSwitchCase=\"400\">\n <div class=\"sd_container_error_image\">\n <img class=\"sd_error_image\" src=\"https://assets.snugdesk.com/error-images/error_bad-request.png\" alt=\"Bad Request\" />\n </div>\n <div class=\"sd_container_error_message\" aria-live=\"polite\">\n <h1 class=\"sd_error_title\">Invalid Request</h1>\n <span class=\"sd_error_message\">Oops! Invalid or missing parameters. Please check and try again.</span>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"403\">\n <div class=\"sd_container_error_image\">\n <img class=\"sd_error_image\" src=\"https://assets.snugdesk.com/error-images/error_forbidden.png\" alt=\"Access Forbidden\" />\n </div>\n <div class=\"sd_container_error_message\" aria-live=\"polite\">\n <h1 class=\"sd_error_title\">Access Denied</h1>\n <span class=\"sd_error_message\">Oops! You don't have permission to access this page.</span>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"404\">\n <div class=\"sd_container_error_image\">\n <img class=\"sd_error_image\" src=\"https://assets.snugdesk.com/error-images/error_page-not-found.png\" alt=\"Page Not Found\" />\n </div>\n <div class=\"sd_container_error_message\" aria-live=\"polite\">\n <h1 class=\"sd_error_title\">Page Not Found</h1>\n <span class=\"sd_error_message\">Oops! The page you're looking for can't be found. It may have been removed, or you may have typed the URL\n incorrectly.</span>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"409\">\n <div class=\"sd_container_error_image\">\n <img class=\"sd_error_image\" src=\"https://assets.snugdesk.com/error-images/error_bad-request.png\" alt=\"Configuration Error\" />\n </div>\n <div class=\"sd_container_error_message\" aria-live=\"polite\">\n <h1 class=\"sd_error_title\">Configuration Error</h1>\n <span class=\"sd_error_message\">Oops! Invalid configuration detected. Please review your settings or contact support.</span>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"0\">\n <div class=\"sd_container_error_image\">\n <img class=\"sd_error_image sd_error_image_grayscale\" src=\"https://assets.snugdesk.com/error-images/error_no-internet.png\" alt=\"No Internet\" />\n </div>\n <div class=\"sd_container_error_message\" aria-live=\"polite\">\n <h1 class=\"sd_error_title\">No Internet</h1>\n <span class=\"sd_error_message\">Oops! You are not connected to the internet. Please check your network connection and try again.</span>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <div class=\"sd_container_error_image\">\n <img class=\"sd_error_image\" src=\"https://assets.snugdesk.com/error-images/error_internal-server.png\" alt=\"Internal Server Error\" />\n </div>\n <div class=\"sd_container_error_message\" aria-live=\"polite\">\n <h1 class=\"sd_error_title\">Internal Server Error</h1>\n <span class=\"sd_error_message\">Oops! We're sorry, but the server encountered an error.</span>\n </div>\n </ng-container>\n</main>\n\n<sd-app-footer></sd-app-footer>\n", styles: [".sd_container_error_image{width:278px;margin:0 auto;padding:80px 0 25px}.sd_container_error_image .sd_error_image{width:100%;margin:0;padding:0}.sd_container_error_image .sd_error_image_grayscale{filter:grayscale(100%)}.sd_container_error_message{width:85%;margin:0 auto;padding:0 0 25px;text-align:center;color:var(--sd-text-color);font-size:13px;font-weight:600;font-family:var(--sd-text-font-family)}.sd_container_error_message .sd_error_title{margin:0;padding:0 0 10px;font-size:31px;font-weight:700;letter-spacing:-2px;color:var(--sd-text-color-dark);font-family:var(--sd-text-font-family)}.sd_container_error_message .sd_error_message{display:block;padding-bottom:16px;font-size:13px;font-weight:600;line-height:1.5em;letter-spacing:-.26px;color:var(--sd-text-color);font-family:var(--sd-text-font-family)}@media screen and (min-width:
|
|
66
|
+
args: [{ selector: 'sd-app-error', standalone: false, template: "<main class=\"container_error\" [ngSwitch]=\"error?.status\">\n <ng-container *ngSwitchCase=\"400\">\n <div class=\"sd_container_error_image\">\n <img class=\"sd_error_image\" src=\"https://assets.snugdesk.com/error-images/error_bad-request.png\" alt=\"Bad Request\" />\n </div>\n <div class=\"sd_container_error_message\" aria-live=\"polite\">\n <h1 class=\"sd_error_title\">Invalid Request</h1>\n <span class=\"sd_error_message\">Oops! Invalid or missing parameters. Please check and try again.</span>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"403\">\n <div class=\"sd_container_error_image\">\n <img class=\"sd_error_image\" src=\"https://assets.snugdesk.com/error-images/error_forbidden.png\" alt=\"Access Forbidden\" />\n </div>\n <div class=\"sd_container_error_message\" aria-live=\"polite\">\n <h1 class=\"sd_error_title\">Access Denied</h1>\n <span class=\"sd_error_message\">Oops! You don't have permission to access this page.</span>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"404\">\n <div class=\"sd_container_error_image\">\n <img class=\"sd_error_image\" src=\"https://assets.snugdesk.com/error-images/error_page-not-found.png\" alt=\"Page Not Found\" />\n </div>\n <div class=\"sd_container_error_message\" aria-live=\"polite\">\n <h1 class=\"sd_error_title\">Page Not Found</h1>\n <span class=\"sd_error_message\">Oops! The page you're looking for can't be found. It may have been removed, or you may have typed the URL\n incorrectly.</span>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"409\">\n <div class=\"sd_container_error_image\">\n <img class=\"sd_error_image\" src=\"https://assets.snugdesk.com/error-images/error_bad-request.png\" alt=\"Configuration Error\" />\n </div>\n <div class=\"sd_container_error_message\" aria-live=\"polite\">\n <h1 class=\"sd_error_title\">Configuration Error</h1>\n <span class=\"sd_error_message\">Oops! Invalid configuration detected. Please review your settings or contact support.</span>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"0\">\n <div class=\"sd_container_error_image\">\n <img class=\"sd_error_image sd_error_image_grayscale\" src=\"https://assets.snugdesk.com/error-images/error_no-internet.png\" alt=\"No Internet\" />\n </div>\n <div class=\"sd_container_error_message\" aria-live=\"polite\">\n <h1 class=\"sd_error_title\">No Internet</h1>\n <span class=\"sd_error_message\">Oops! You are not connected to the internet. Please check your network connection and try again.</span>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <div class=\"sd_container_error_image\">\n <img class=\"sd_error_image\" src=\"https://assets.snugdesk.com/error-images/error_internal-server.png\" alt=\"Internal Server Error\" />\n </div>\n <div class=\"sd_container_error_message\" aria-live=\"polite\">\n <h1 class=\"sd_error_title\">Internal Server Error</h1>\n <span class=\"sd_error_message\">Oops! We're sorry, but the server encountered an error.</span>\n </div>\n </ng-container>\n</main>\n\n<sd-app-footer></sd-app-footer>\n", styles: [".sd_container_error_image{width:278px;margin:0 auto;padding:80px 0 25px}.sd_container_error_image .sd_error_image{width:100%;margin:0;padding:0}.sd_container_error_image .sd_error_image_grayscale{filter:grayscale(100%)}.sd_container_error_message{width:85%;margin:0 auto;padding:0 0 25px;text-align:center;color:var(--sd-text-color);font-size:13px;font-weight:600;font-family:var(--sd-text-font-family)}.sd_container_error_message .sd_error_title{margin:0;padding:0 0 10px;font-size:31px;font-weight:700;letter-spacing:-2px;color:var(--sd-text-color-dark);font-family:var(--sd-text-font-family)}.sd_container_error_message .sd_error_message{display:block;padding-bottom:16px;font-size:13px;font-weight:600;line-height:1.5em;letter-spacing:-.26px;color:var(--sd-text-color);font-family:var(--sd-text-font-family)}@media screen and (min-width:980px){.sd_container_error_image{width:478px}.sd_container_error_message{width:520px}}\n"] }]
|
|
67
67
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { error: [{
|
|
68
68
|
type: Input,
|
|
69
69
|
args: ['error']
|
|
70
70
|
}] } });
|
|
71
71
|
|
|
72
72
|
class LoaderComponent {
|
|
73
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
74
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
73
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: LoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
74
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.19", type: LoaderComponent, isStandalone: false, selector: "sd-app-loader", ngImport: i0, template: "<div class=\"sd_container_loader\">\n <!-- <div class=\"sd_loader_logo\">\n <span class=\"sd_logo\"></span>\n </div> -->\n <div class=\"sd_container_css_loader\">\n <div class=\"sd_cssload_loader\">\n <div class=\"sd_cssload_dot\"></div>\n <div class=\"sd_cssload_dot\"></div>\n <div class=\"sd_cssload_dot\"></div>\n <div class=\"sd_cssload_dot\"></div>\n <div class=\"sd_cssload_dot\"></div>\n </div>\n </div>\n <sd-app-footer></sd-app-footer>\n</div>\n", styles: [".sd_container_loader{position:absolute;inset:0;width:100%;height:100%;background:#fff;z-index:9999999999999}.sd_loader_logo{margin:0 auto;width:120px;padding-top:42px;text-align:center}.sd_loader_logo .sd_logo{display:block;width:120px;height:120px;background:url(https://assets.snugdesk.com/logo/snugdesk.svg) no-repeat center;background-size:contain;cursor:default}.sd_container_css_loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center}.sd_cssload_loader{display:flex;gap:5px}.sd_cssload_loader{position:absolute;left:50%;height:12px;width:62px;-o-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.sd_cssload_loader>.sd_cssload_dot{content:\" \";width:12px;height:12px;background:var(--sd-background-color);border-radius:100%;position:absolute;-o-animation:sd_cssload_shift 2.3s linear infinite;-ms-animation:sd_cssload_shift 2.3s linear infinite;-webkit-animation:sd_cssload_shift 2.3s linear infinite;-moz-animation:sd_cssload_shift 2.3s linear infinite;animation:sd_cssload_shift 2.3s linear infinite}.sd_cssload_loader>.sd_cssload_dot:nth-of-type(1){-o-animation-delay:-.46s;-ms-animation-delay:-.46s;-webkit-animation-delay:-.46s;-moz-animation-delay:-.46s;animation-delay:-.46s}.sd_cssload_loader>.sd_cssload_dot:nth-of-type(2){-o-animation-delay:-.92s;-ms-animation-delay:-.92s;-webkit-animation-delay:-.92s;-moz-animation-delay:-.92s;animation-delay:-.92s}.sd_cssload_loader>.sd_cssload_dot:nth-of-type(3){-o-animation-delay:-1.38s;-ms-animation-delay:-1.38s;-webkit-animation-delay:-1.38s;-moz-animation-delay:-1.38s;animation-delay:-1.38s}.sd_cssload_loader>.sd_cssload_dot:nth-of-type(4){-o-animation-delay:-1.84s;-ms-animation-delay:-1.84s;-webkit-animation-delay:-1.84s;-moz-animation-delay:-1.84s;animation-delay:-1.84s}@keyframes sd_cssload_shift{0%{left:-37px;opacity:0;background-color:var(--sd-app-color-light)}10%{left:0;opacity:1}90%{left:62px;opacity:1}to{left:100px;background-color:var(--sd-app-color-dark);opacity:0}}@-o-keyframes sd_cssload_shift{0%{left:-37px;opacity:0;background-color:var(--sd-app-color-light)}10%{left:0;opacity:1}90%{left:62px;opacity:1}to{left:100px;background-color:var(--sd-app-color-dark);opacity:0}}@-ms-keyframes sd_cssload_shift{0%{left:-37px;opacity:0;background-color:var(--sd-app-color-light)}10%{left:0;opacity:1}90%{left:62px;opacity:1}to{left:100px;background-color:var(--sd-app-color-dark);opacity:0}}@-webkit-keyframes sd_cssload_shift{0%{left:-37px;opacity:0;background-color:var(--sd-app-color-light)}10%{left:0;opacity:1}90%{left:62px;opacity:1}to{left:100px;background-color:var(--sd-app-color-dark);opacity:0}}@-moz-keyframes sd_cssload_shift{0%{left:-37px;opacity:0;background-color:var(--sd-app-color-light)}10%{left:0;opacity:1}90%{left:62px;opacity:1}to{left:100px;background-color:var(--sd-app-color-dark);opacity:0}}@media(max-width:979px){.sd_loader_logo{width:110px;padding-top:37px}.sd_loader_logo .sd_logo{width:110px;height:110px;background-size:contain}}\n"], dependencies: [{ kind: "component", type: FooterComponent, selector: "sd-app-footer" }] });
|
|
75
75
|
}
|
|
76
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
76
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: LoaderComponent, decorators: [{
|
|
77
77
|
type: Component,
|
|
78
|
-
args: [{ selector: 'sd-app-loader', standalone: false, template: "<div class=\"sd_container_loader\">\n <!-- <div class=\"sd_loader_logo\">\n <span class=\"sd_logo\"></span>\n </div> -->\n <div class=\"sd_container_css_loader\">\n <div class=\"sd_cssload_loader\">\n <div class=\"sd_cssload_dot\"></div>\n <div class=\"sd_cssload_dot\"></div>\n <div class=\"sd_cssload_dot\"></div>\n <div class=\"sd_cssload_dot\"></div>\n <div class=\"sd_cssload_dot\"></div>\n </div>\n </div>\n <sd-app-footer></sd-app-footer>\n</div>\n", styles: [".sd_container_loader{position:absolute;inset:0;width:100%;height:100%;background:#fff;z-index:9999999999999}.sd_loader_logo{margin:0 auto;width:120px;padding-top:42px;text-align:center}.sd_loader_logo .sd_logo{display:block;width:120px;height:120px;background:url(https://assets.snugdesk.com/logo/snugdesk.svg) no-repeat center;background-size:contain;cursor:default}.sd_container_css_loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center}.sd_cssload_loader{display:flex;gap:5px}.sd_cssload_loader{position:absolute;left:50%;height:12px;width:62px;-o-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.sd_cssload_loader>.sd_cssload_dot{content:\" \";width:12px;height:12px;background:var(--sd-background-color);border-radius:100%;position:absolute;-o-animation:sd_cssload_shift 2.3s linear infinite;-ms-animation:sd_cssload_shift 2.3s linear infinite;-webkit-animation:sd_cssload_shift 2.3s linear infinite;-moz-animation:sd_cssload_shift 2.3s linear infinite;animation:sd_cssload_shift 2.3s linear infinite}.sd_cssload_loader>.sd_cssload_dot:nth-of-type(1){-o-animation-delay:-.46s;-ms-animation-delay:-.46s;-webkit-animation-delay:-.46s;-moz-animation-delay:-.46s;animation-delay:-.46s}.sd_cssload_loader>.sd_cssload_dot:nth-of-type(2){-o-animation-delay:-.92s;-ms-animation-delay:-.92s;-webkit-animation-delay:-.92s;-moz-animation-delay:-.92s;animation-delay:-.92s}.sd_cssload_loader>.sd_cssload_dot:nth-of-type(3){-o-animation-delay:-1.38s;-ms-animation-delay:-1.38s;-webkit-animation-delay:-1.38s;-moz-animation-delay:-1.38s;animation-delay:-1.38s}.sd_cssload_loader>.sd_cssload_dot:nth-of-type(4){-o-animation-delay:-1.84s;-ms-animation-delay:-1.84s;-webkit-animation-delay:-1.84s;-moz-animation-delay:-1.84s;animation-delay:-1.84s}@keyframes sd_cssload_shift{0%{left:-37px;opacity:0;background-color:var(--sd-app-color-light)}10%{left:0;opacity:1}90%{left:62px;opacity:1}to{left:100px;background-color:var(--sd-app-color-dark);opacity:0}}@-o-keyframes sd_cssload_shift{0%{left:-37px;opacity:0;background-color:var(--sd-app-color-light)}10%{left:0;opacity:1}90%{left:62px;opacity:1}to{left:100px;background-color:var(--sd-app-color-dark);opacity:0}}@-ms-keyframes sd_cssload_shift{0%{left:-37px;opacity:0;background-color:var(--sd-app-color-light)}10%{left:0;opacity:1}90%{left:62px;opacity:1}to{left:100px;background-color:var(--sd-app-color-dark);opacity:0}}@-webkit-keyframes sd_cssload_shift{0%{left:-37px;opacity:0;background-color:var(--sd-app-color-light)}10%{left:0;opacity:1}90%{left:62px;opacity:1}to{left:100px;background-color:var(--sd-app-color-dark);opacity:0}}@-moz-keyframes sd_cssload_shift{0%{left:-37px;opacity:0;background-color:var(--sd-app-color-light)}10%{left:0;opacity:1}90%{left:62px;opacity:1}to{left:100px;background-color:var(--sd-app-color-dark);opacity:0}}@media
|
|
78
|
+
args: [{ selector: 'sd-app-loader', standalone: false, template: "<div class=\"sd_container_loader\">\n <!-- <div class=\"sd_loader_logo\">\n <span class=\"sd_logo\"></span>\n </div> -->\n <div class=\"sd_container_css_loader\">\n <div class=\"sd_cssload_loader\">\n <div class=\"sd_cssload_dot\"></div>\n <div class=\"sd_cssload_dot\"></div>\n <div class=\"sd_cssload_dot\"></div>\n <div class=\"sd_cssload_dot\"></div>\n <div class=\"sd_cssload_dot\"></div>\n </div>\n </div>\n <sd-app-footer></sd-app-footer>\n</div>\n", styles: [".sd_container_loader{position:absolute;inset:0;width:100%;height:100%;background:#fff;z-index:9999999999999}.sd_loader_logo{margin:0 auto;width:120px;padding-top:42px;text-align:center}.sd_loader_logo .sd_logo{display:block;width:120px;height:120px;background:url(https://assets.snugdesk.com/logo/snugdesk.svg) no-repeat center;background-size:contain;cursor:default}.sd_container_css_loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center}.sd_cssload_loader{display:flex;gap:5px}.sd_cssload_loader{position:absolute;left:50%;height:12px;width:62px;-o-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.sd_cssload_loader>.sd_cssload_dot{content:\" \";width:12px;height:12px;background:var(--sd-background-color);border-radius:100%;position:absolute;-o-animation:sd_cssload_shift 2.3s linear infinite;-ms-animation:sd_cssload_shift 2.3s linear infinite;-webkit-animation:sd_cssload_shift 2.3s linear infinite;-moz-animation:sd_cssload_shift 2.3s linear infinite;animation:sd_cssload_shift 2.3s linear infinite}.sd_cssload_loader>.sd_cssload_dot:nth-of-type(1){-o-animation-delay:-.46s;-ms-animation-delay:-.46s;-webkit-animation-delay:-.46s;-moz-animation-delay:-.46s;animation-delay:-.46s}.sd_cssload_loader>.sd_cssload_dot:nth-of-type(2){-o-animation-delay:-.92s;-ms-animation-delay:-.92s;-webkit-animation-delay:-.92s;-moz-animation-delay:-.92s;animation-delay:-.92s}.sd_cssload_loader>.sd_cssload_dot:nth-of-type(3){-o-animation-delay:-1.38s;-ms-animation-delay:-1.38s;-webkit-animation-delay:-1.38s;-moz-animation-delay:-1.38s;animation-delay:-1.38s}.sd_cssload_loader>.sd_cssload_dot:nth-of-type(4){-o-animation-delay:-1.84s;-ms-animation-delay:-1.84s;-webkit-animation-delay:-1.84s;-moz-animation-delay:-1.84s;animation-delay:-1.84s}@keyframes sd_cssload_shift{0%{left:-37px;opacity:0;background-color:var(--sd-app-color-light)}10%{left:0;opacity:1}90%{left:62px;opacity:1}to{left:100px;background-color:var(--sd-app-color-dark);opacity:0}}@-o-keyframes sd_cssload_shift{0%{left:-37px;opacity:0;background-color:var(--sd-app-color-light)}10%{left:0;opacity:1}90%{left:62px;opacity:1}to{left:100px;background-color:var(--sd-app-color-dark);opacity:0}}@-ms-keyframes sd_cssload_shift{0%{left:-37px;opacity:0;background-color:var(--sd-app-color-light)}10%{left:0;opacity:1}90%{left:62px;opacity:1}to{left:100px;background-color:var(--sd-app-color-dark);opacity:0}}@-webkit-keyframes sd_cssload_shift{0%{left:-37px;opacity:0;background-color:var(--sd-app-color-light)}10%{left:0;opacity:1}90%{left:62px;opacity:1}to{left:100px;background-color:var(--sd-app-color-dark);opacity:0}}@-moz-keyframes sd_cssload_shift{0%{left:-37px;opacity:0;background-color:var(--sd-app-color-light)}10%{left:0;opacity:1}90%{left:62px;opacity:1}to{left:100px;background-color:var(--sd-app-color-dark);opacity:0}}@media(max-width:979px){.sd_loader_logo{width:110px;padding-top:37px}.sd_loader_logo .sd_logo{width:110px;height:110px;background-size:contain}}\n"] }]
|
|
79
79
|
}] });
|
|
80
80
|
|
|
81
81
|
class DomainNamePipe {
|
|
82
82
|
transform(value, args) {
|
|
83
83
|
return value.replace(/[/ /^\W\s\_]/gi, '');
|
|
84
84
|
}
|
|
85
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
86
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
85
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: DomainNamePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
86
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.19", ngImport: i0, type: DomainNamePipe, isStandalone: false, name: "domainName" });
|
|
87
87
|
}
|
|
88
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
88
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: DomainNamePipe, decorators: [{
|
|
89
89
|
type: Pipe,
|
|
90
90
|
args: [{
|
|
91
91
|
name: 'domainName',
|
|
@@ -161,10 +161,10 @@ class FormatEpochTimestampPipe {
|
|
|
161
161
|
return 'MMMM d, y, h:mm:ss A z Z';
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
165
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
164
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: FormatEpochTimestampPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
165
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.19", ngImport: i0, type: FormatEpochTimestampPipe, isStandalone: false, name: "formatEpochTimestamp" });
|
|
166
166
|
}
|
|
167
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
167
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: FormatEpochTimestampPipe, decorators: [{
|
|
168
168
|
type: Pipe,
|
|
169
169
|
args: [{
|
|
170
170
|
name: 'formatEpochTimestamp',
|
|
@@ -180,10 +180,10 @@ class SafeHtmlPipe {
|
|
|
180
180
|
transform(value, args) {
|
|
181
181
|
return this.sanitized.bypassSecurityTrustHtml(value);
|
|
182
182
|
}
|
|
183
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
184
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
183
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: SafeHtmlPipe, deps: [{ token: i1$1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
184
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.19", ngImport: i0, type: SafeHtmlPipe, isStandalone: false, name: "safeHtml" });
|
|
185
185
|
}
|
|
186
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
186
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: SafeHtmlPipe, decorators: [{
|
|
187
187
|
type: Pipe,
|
|
188
188
|
args: [{
|
|
189
189
|
name: 'safeHtml',
|
|
@@ -201,10 +201,10 @@ class SearchPipe {
|
|
|
201
201
|
return item[field].toLowerCase().includes(value.toLowerCase());
|
|
202
202
|
});
|
|
203
203
|
}
|
|
204
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
205
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
204
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: SearchPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
205
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.19", ngImport: i0, type: SearchPipe, isStandalone: false, name: "SearchFilter" });
|
|
206
206
|
}
|
|
207
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
207
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: SearchPipe, decorators: [{
|
|
208
208
|
type: Pipe,
|
|
209
209
|
args: [{
|
|
210
210
|
name: 'SearchFilter',
|
|
@@ -223,10 +223,10 @@ class SearchInnerFieldPipe {
|
|
|
223
223
|
return innerItem[innerfield].toLowerCase().includes(value.toLowerCase());
|
|
224
224
|
});
|
|
225
225
|
}
|
|
226
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
227
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
226
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: SearchInnerFieldPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
227
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.19", ngImport: i0, type: SearchInnerFieldPipe, isStandalone: false, name: "SearchFilterInnerField" });
|
|
228
228
|
}
|
|
229
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: SearchInnerFieldPipe, decorators: [{
|
|
230
230
|
type: Pipe,
|
|
231
231
|
args: [{
|
|
232
232
|
name: 'SearchFilterInnerField',
|
|
@@ -238,10 +238,10 @@ class SingularizePipe {
|
|
|
238
238
|
transform(value, count = 1) {
|
|
239
239
|
return count > 1 ? plural(value) : singular(value);
|
|
240
240
|
}
|
|
241
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
242
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
241
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: SingularizePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
242
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.19", ngImport: i0, type: SingularizePipe, isStandalone: false, name: "singularize" });
|
|
243
243
|
}
|
|
244
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
244
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: SingularizePipe, decorators: [{
|
|
245
245
|
type: Pipe,
|
|
246
246
|
args: [{
|
|
247
247
|
name: 'singularize',
|
|
@@ -440,8 +440,8 @@ function plural(word, amount) {
|
|
|
440
440
|
}
|
|
441
441
|
|
|
442
442
|
class CustomPipesModule {
|
|
443
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
444
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
443
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: CustomPipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
444
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.19", ngImport: i0, type: CustomPipesModule, declarations: [DomainNamePipe,
|
|
445
445
|
FormatEpochTimestampPipe,
|
|
446
446
|
SafeHtmlPipe,
|
|
447
447
|
SearchPipe,
|
|
@@ -452,9 +452,9 @@ class CustomPipesModule {
|
|
|
452
452
|
SearchPipe,
|
|
453
453
|
SearchInnerFieldPipe,
|
|
454
454
|
SingularizePipe] });
|
|
455
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
455
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: CustomPipesModule, imports: [CommonModule] });
|
|
456
456
|
}
|
|
457
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
457
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: CustomPipesModule, decorators: [{
|
|
458
458
|
type: NgModule,
|
|
459
459
|
args: [{
|
|
460
460
|
declarations: [
|
|
@@ -481,19 +481,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImpo
|
|
|
481
481
|
}] });
|
|
482
482
|
|
|
483
483
|
class SnugdeskCoreModule {
|
|
484
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
485
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
484
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: SnugdeskCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
485
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.19", ngImport: i0, type: SnugdeskCoreModule, declarations: [ErrorComponent, FooterComponent, LoaderComponent], imports: [CommonModule,
|
|
486
486
|
FormsModule,
|
|
487
487
|
ReactiveFormsModule,
|
|
488
488
|
// ReactiveFormsModule.withConfig({ warnOnNgModelWithFormControl: 'never' }),
|
|
489
489
|
CustomPipesModule], exports: [ErrorComponent, FooterComponent, LoaderComponent] });
|
|
490
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
490
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: SnugdeskCoreModule, imports: [CommonModule,
|
|
491
491
|
FormsModule,
|
|
492
492
|
ReactiveFormsModule,
|
|
493
493
|
// ReactiveFormsModule.withConfig({ warnOnNgModelWithFormControl: 'never' }),
|
|
494
494
|
CustomPipesModule] });
|
|
495
495
|
}
|
|
496
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
496
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: SnugdeskCoreModule, decorators: [{
|
|
497
497
|
type: NgModule,
|
|
498
498
|
args: [{
|
|
499
499
|
declarations: [ErrorComponent, FooterComponent, LoaderComponent],
|
|
@@ -508,74 +508,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImpo
|
|
|
508
508
|
}]
|
|
509
509
|
}] });
|
|
510
510
|
|
|
511
|
-
class SnugdeskIPRegistryService {
|
|
512
|
-
http;
|
|
513
|
-
IP_REGISTRY_API = 'https://api.ipregistry.co/?key=1lbzl1iexwbxc0';
|
|
514
|
-
SESSION_KEY = 'sd-ip-details';
|
|
515
|
-
constructor(http) {
|
|
516
|
-
this.http = http;
|
|
517
|
-
}
|
|
518
|
-
get cachedIPDetails() {
|
|
519
|
-
const value = sessionStorage.getItem(this.SESSION_KEY);
|
|
520
|
-
return value ? JSON.parse(value) : null;
|
|
521
|
-
}
|
|
522
|
-
set cachedIPDetails(details) {
|
|
523
|
-
sessionStorage.setItem(this.SESSION_KEY, JSON.stringify(details));
|
|
524
|
-
}
|
|
525
|
-
// prettier-ignore
|
|
526
|
-
async getIPDetails() {
|
|
527
|
-
if (this.cachedIPDetails)
|
|
528
|
-
return this.cachedIPDetails;
|
|
529
|
-
try {
|
|
530
|
-
const ipDetails = await lastValueFrom(this.http.get(this.IP_REGISTRY_API));
|
|
531
|
-
// console.log('Fetched IP details:', ipDetails);
|
|
532
|
-
this.cachedIPDetails = ipDetails;
|
|
533
|
-
}
|
|
534
|
-
catch (error) {
|
|
535
|
-
console.warn('Error fetching IP details:', error);
|
|
536
|
-
this.cachedIPDetails = {};
|
|
537
|
-
}
|
|
538
|
-
return this.cachedIPDetails;
|
|
539
|
-
}
|
|
540
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SnugdeskIPRegistryService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
541
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SnugdeskIPRegistryService, providedIn: 'root' });
|
|
542
|
-
}
|
|
543
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SnugdeskIPRegistryService, decorators: [{
|
|
544
|
-
type: Injectable,
|
|
545
|
-
args: [{ providedIn: 'root' }]
|
|
546
|
-
}], ctorParameters: () => [{ type: i1$2.HttpClient }] });
|
|
547
|
-
|
|
548
|
-
class SnugdeskAuthenticationHelperService {
|
|
549
|
-
httpClient;
|
|
550
|
-
ipRegistryService;
|
|
551
|
-
headers = new HttpHeaders({
|
|
552
|
-
'Content-Type': 'application/json',
|
|
553
|
-
});
|
|
554
|
-
authEndpointURL = 'https://api.snugdesk.com/auth';
|
|
555
|
-
constructor(httpClient, ipRegistryService) {
|
|
556
|
-
this.httpClient = httpClient;
|
|
557
|
-
this.ipRegistryService = ipRegistryService;
|
|
558
|
-
}
|
|
559
|
-
async getSessionToken(tenantId, userId) {
|
|
560
|
-
const ipDetails = await this.ipRegistryService.getIPDetails();
|
|
561
|
-
return lastValueFrom(this.httpClient.post(`${this.authEndpointURL}/library`, {
|
|
562
|
-
tenantId,
|
|
563
|
-
userId,
|
|
564
|
-
ipDetails,
|
|
565
|
-
}, { headers: this.headers }));
|
|
566
|
-
}
|
|
567
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SnugdeskAuthenticationHelperService, deps: [{ token: i1$2.HttpClient }, { token: SnugdeskIPRegistryService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
568
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SnugdeskAuthenticationHelperService, providedIn: 'root' });
|
|
569
|
-
}
|
|
570
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SnugdeskAuthenticationHelperService, decorators: [{
|
|
571
|
-
type: Injectable,
|
|
572
|
-
args: [{
|
|
573
|
-
providedIn: 'root',
|
|
574
|
-
}]
|
|
575
|
-
}], ctorParameters: () => [{ type: i1$2.HttpClient }, { type: SnugdeskIPRegistryService }] });
|
|
576
|
-
|
|
577
511
|
class SnugdeskAuthenticationService {
|
|
578
|
-
authenticationHelperService;
|
|
579
512
|
isAuthenticated$ = new BehaviorSubject(false);
|
|
580
513
|
tenant$ = new BehaviorSubject(undefined);
|
|
581
514
|
user$ = new BehaviorSubject(undefined);
|
|
@@ -585,18 +518,16 @@ class SnugdeskAuthenticationService {
|
|
|
585
518
|
userSessionSubscription;
|
|
586
519
|
jwtHelper = new JwtHelperService();
|
|
587
520
|
TOKEN_KEY = 'sd-authSessionToken';
|
|
588
|
-
constructor(
|
|
589
|
-
this.authenticationHelperService = authenticationHelperService;
|
|
521
|
+
constructor() {
|
|
590
522
|
this.isAuthenticated$.next(this.isAuthenticated());
|
|
591
523
|
}
|
|
524
|
+
// the host supplies a fresh token on every init, so persistence buys nothing.
|
|
592
525
|
getToken() {
|
|
593
|
-
|
|
594
|
-
return localStorage.getItem(this.TOKEN_KEY);
|
|
526
|
+
return sessionStorage.getItem(this.TOKEN_KEY);
|
|
595
527
|
}
|
|
596
528
|
setToken(token) {
|
|
597
529
|
const isValid = this.checkToken(token);
|
|
598
|
-
|
|
599
|
-
token ? localStorage.setItem(this.TOKEN_KEY, token) : localStorage.removeItem(this.TOKEN_KEY);
|
|
530
|
+
token ? sessionStorage.setItem(this.TOKEN_KEY, token) : sessionStorage.removeItem(this.TOKEN_KEY);
|
|
600
531
|
this.isAuthenticated$.next(isValid);
|
|
601
532
|
}
|
|
602
533
|
checkToken(token) {
|
|
@@ -663,56 +594,19 @@ class SnugdeskAuthenticationService {
|
|
|
663
594
|
return false;
|
|
664
595
|
}
|
|
665
596
|
}
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
const existingToken = this.getToken();
|
|
675
|
-
if (token && existingToken && existingToken !== token) {
|
|
676
|
-
console.warn('Token mismatch: Existing token does not match the provided token');
|
|
677
|
-
return false;
|
|
678
|
-
}
|
|
679
|
-
*/
|
|
680
|
-
const decodedToken = this.jwtHelper.decodeToken(token);
|
|
681
|
-
if (token && tenantId && decodedToken?.tenantId !== tenantId) {
|
|
682
|
-
console.warn('Tenant ID mismatch: Token does not match the provided tenantId');
|
|
683
|
-
return false;
|
|
684
|
-
}
|
|
685
|
-
if (token && userId && decodedToken?.userId !== userId) {
|
|
686
|
-
console.warn('User ID mismatch: Token does not match the provided userId');
|
|
687
|
-
return false;
|
|
688
|
-
}
|
|
689
|
-
if (tenantId && this.isAuthenticated() && tenantId !== this.getTenantId()) {
|
|
690
|
-
console.warn('Tenant ID mismatch: Authenticated tenant does not match the provided tenantId');
|
|
691
|
-
return false;
|
|
692
|
-
}
|
|
693
|
-
if (userId && this.isAuthenticated() && userId !== this.getUserId()) {
|
|
694
|
-
console.warn('User ID mismatch: Authenticated user does not match the provided userId');
|
|
597
|
+
/**
|
|
598
|
+
* Establishes a session from a token issued by the host's backend. The token
|
|
599
|
+
* carries tenantId, userId and userSessionId, so nothing else is needed — read
|
|
600
|
+
* them back with getTenantId() / getUserId() once this resolves.
|
|
601
|
+
*/
|
|
602
|
+
async authenticate(token) {
|
|
603
|
+
if (!this.checkToken(token)) {
|
|
604
|
+
console.error('A Snugdesk-issued token is required. Fetch one from your backend via POST /auth/library using your tenant integration credential, then pass it to the widget.');
|
|
695
605
|
return false;
|
|
696
606
|
}
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
}
|
|
701
|
-
else if (!this.isAuthenticated()) {
|
|
702
|
-
const res_login = await this.login(tenantId, userId);
|
|
703
|
-
// console.debug('Login Success: ', res_login);
|
|
704
|
-
}
|
|
705
|
-
this.isAuthenticated$.next(true);
|
|
706
|
-
return true;
|
|
707
|
-
}
|
|
708
|
-
async login(tenantId, userId) {
|
|
709
|
-
const res_getSessionToken = await this.authenticationHelperService.getSessionToken(tenantId, userId);
|
|
710
|
-
// console.debug('res_getSessionToken: ', res_getSessionToken);
|
|
711
|
-
const sessionToken = res_getSessionToken?.data?.sessionToken;
|
|
712
|
-
if (!sessionToken) {
|
|
713
|
-
throw new Error(`Invalid response: ${JSON.stringify(res_getSessionToken)}`);
|
|
714
|
-
}
|
|
715
|
-
this.setToken(sessionToken);
|
|
607
|
+
// A newly supplied token always replaces whatever is stored, so switching
|
|
608
|
+
// user in the same tab works without the host clearing storage first.
|
|
609
|
+
this.setToken(token);
|
|
716
610
|
this.isAuthenticated$.next(true);
|
|
717
611
|
return true;
|
|
718
612
|
}
|
|
@@ -750,22 +644,21 @@ class SnugdeskAuthenticationService {
|
|
|
750
644
|
console.error(error);
|
|
751
645
|
}
|
|
752
646
|
finally {
|
|
753
|
-
|
|
754
|
-
localStorage.removeItem(this.TOKEN_KEY);
|
|
647
|
+
sessionStorage.removeItem(this.TOKEN_KEY);
|
|
755
648
|
this.userSessionSubscription?.unsubscribe();
|
|
756
649
|
this.isAuthenticated$?.next(false);
|
|
757
650
|
this.userSession$?.next(null);
|
|
758
651
|
}
|
|
759
652
|
}
|
|
760
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
761
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
653
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: SnugdeskAuthenticationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
654
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: SnugdeskAuthenticationService, providedIn: 'root' });
|
|
762
655
|
}
|
|
763
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
656
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: SnugdeskAuthenticationService, decorators: [{
|
|
764
657
|
type: Injectable,
|
|
765
658
|
args: [{
|
|
766
659
|
providedIn: 'root',
|
|
767
660
|
}]
|
|
768
|
-
}], ctorParameters: () => [
|
|
661
|
+
}], ctorParameters: () => [] });
|
|
769
662
|
|
|
770
663
|
const AMPLIFY_CONFIG = new InjectionToken('AMPLIFY_CONFIG');
|
|
771
664
|
function provideAmplifyConfig(config) {
|
|
@@ -941,10 +834,10 @@ class AppSyncHelperService {
|
|
|
941
834
|
}
|
|
942
835
|
return token;
|
|
943
836
|
}
|
|
944
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
945
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
837
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: AppSyncHelperService, deps: [{ token: AMPLIFY_CONFIG, optional: true }, { token: SnugdeskAuthenticationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
838
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: AppSyncHelperService, providedIn: 'root' });
|
|
946
839
|
}
|
|
947
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
840
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: AppSyncHelperService, decorators: [{
|
|
948
841
|
type: Injectable,
|
|
949
842
|
args: [{
|
|
950
843
|
providedIn: 'root',
|
|
@@ -994,10 +887,10 @@ class OpenSearchHelperService {
|
|
|
994
887
|
id,
|
|
995
888
|
};
|
|
996
889
|
}
|
|
997
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
998
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
890
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: OpenSearchHelperService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
891
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: OpenSearchHelperService, providedIn: 'root' });
|
|
999
892
|
}
|
|
1000
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
893
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: OpenSearchHelperService, decorators: [{
|
|
1001
894
|
type: Injectable,
|
|
1002
895
|
args: [{
|
|
1003
896
|
providedIn: 'root',
|
|
@@ -1094,10 +987,10 @@ class S3HelperService {
|
|
|
1094
987
|
throw new Error('Decryption failed.');
|
|
1095
988
|
}
|
|
1096
989
|
}
|
|
1097
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1098
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
990
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: S3HelperService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
991
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: S3HelperService, providedIn: 'root' });
|
|
1099
992
|
}
|
|
1100
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
993
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: S3HelperService, decorators: [{
|
|
1101
994
|
type: Injectable,
|
|
1102
995
|
args: [{
|
|
1103
996
|
providedIn: 'root',
|
|
@@ -1112,9 +1005,17 @@ var BillingAccountStatus;
|
|
|
1112
1005
|
BillingAccountStatus["PENDING_KYC"] = "PENDING_KYC";
|
|
1113
1006
|
BillingAccountStatus["ACTIVE"] = "ACTIVE";
|
|
1114
1007
|
BillingAccountStatus["NO_BALANCE"] = "NO_BALANCE";
|
|
1008
|
+
BillingAccountStatus["SUSPENDED"] = "SUSPENDED";
|
|
1115
1009
|
BillingAccountStatus["BLOCKED"] = "BLOCKED";
|
|
1116
1010
|
BillingAccountStatus["TERMINATED"] = "TERMINATED";
|
|
1117
1011
|
})(BillingAccountStatus || (BillingAccountStatus = {}));
|
|
1012
|
+
// PREPAID pays before use; POSTPAID may run negative up to creditLimitMicros and is
|
|
1013
|
+
// not auto-suspended on balance. Absent = PREPAID.
|
|
1014
|
+
var BillingMode;
|
|
1015
|
+
(function (BillingMode) {
|
|
1016
|
+
BillingMode["PREPAID"] = "PREPAID";
|
|
1017
|
+
BillingMode["POSTPAID"] = "POSTPAID";
|
|
1018
|
+
})(BillingMode || (BillingMode = {}));
|
|
1118
1019
|
var BillingLedgerDirection;
|
|
1119
1020
|
(function (BillingLedgerDirection) {
|
|
1120
1021
|
BillingLedgerDirection["DEBIT"] = "DEBIT";
|
|
@@ -1311,6 +1212,53 @@ var ProcessingStatus;
|
|
|
1311
1212
|
ProcessingStatus["RETRYING"] = "RETRYING";
|
|
1312
1213
|
})(ProcessingStatus || (ProcessingStatus = {}));
|
|
1313
1214
|
|
|
1215
|
+
var RecordingMode;
|
|
1216
|
+
(function (RecordingMode) {
|
|
1217
|
+
RecordingMode["OFF"] = "OFF";
|
|
1218
|
+
RecordingMode["INBOUND"] = "INBOUND";
|
|
1219
|
+
RecordingMode["OUTBOUND"] = "OUTBOUND";
|
|
1220
|
+
RecordingMode["BOTH"] = "BOTH";
|
|
1221
|
+
})(RecordingMode || (RecordingMode = {}));
|
|
1222
|
+
var RecordingNotify;
|
|
1223
|
+
(function (RecordingNotify) {
|
|
1224
|
+
RecordingNotify["NONE"] = "NONE";
|
|
1225
|
+
RecordingNotify["ANNOUNCE"] = "ANNOUNCE";
|
|
1226
|
+
RecordingNotify["CONSENT"] = "CONSENT";
|
|
1227
|
+
})(RecordingNotify || (RecordingNotify = {}));
|
|
1228
|
+
var WorkingHoursFallbackAction;
|
|
1229
|
+
(function (WorkingHoursFallbackAction) {
|
|
1230
|
+
WorkingHoursFallbackAction["PLAY_MESSAGE"] = "PLAY_MESSAGE";
|
|
1231
|
+
WorkingHoursFallbackAction["VOICEMAIL"] = "VOICEMAIL";
|
|
1232
|
+
})(WorkingHoursFallbackAction || (WorkingHoursFallbackAction = {}));
|
|
1233
|
+
var RoutingRole;
|
|
1234
|
+
(function (RoutingRole) {
|
|
1235
|
+
RoutingRole["AGENT"] = "AGENT";
|
|
1236
|
+
RoutingRole["SUPERVISOR"] = "SUPERVISOR";
|
|
1237
|
+
RoutingRole["ADMINISTRATOR"] = "ADMINISTRATOR";
|
|
1238
|
+
})(RoutingRole || (RoutingRole = {}));
|
|
1239
|
+
var RoutingStrategy;
|
|
1240
|
+
(function (RoutingStrategy) {
|
|
1241
|
+
RoutingStrategy["TICKET_ASSIGNEE"] = "TICKET_ASSIGNEE";
|
|
1242
|
+
RoutingStrategy["LAST_TALKED_TO"] = "LAST_TALKED_TO";
|
|
1243
|
+
RoutingStrategy["MOST_IDLE"] = "MOST_IDLE";
|
|
1244
|
+
RoutingStrategy["RANDOM_ACTIVE"] = "RANDOM_ACTIVE";
|
|
1245
|
+
RoutingStrategy["ROUND_ROBIN"] = "ROUND_ROBIN";
|
|
1246
|
+
})(RoutingStrategy || (RoutingStrategy = {}));
|
|
1247
|
+
var RoutingFallback;
|
|
1248
|
+
(function (RoutingFallback) {
|
|
1249
|
+
RoutingFallback["ANNOUNCE_DISCONNECT"] = "ANNOUNCE_DISCONNECT";
|
|
1250
|
+
RoutingFallback["VOICEMAIL_TICKET"] = "VOICEMAIL_TICKET";
|
|
1251
|
+
RoutingFallback["VOICEMAIL"] = "VOICEMAIL";
|
|
1252
|
+
})(RoutingFallback || (RoutingFallback = {}));
|
|
1253
|
+
var RoutingNoPickup;
|
|
1254
|
+
(function (RoutingNoPickup) {
|
|
1255
|
+
RoutingNoPickup["ANNOUNCE_DISCONNECT"] = "ANNOUNCE_DISCONNECT";
|
|
1256
|
+
RoutingNoPickup["DISCONNECT"] = "DISCONNECT";
|
|
1257
|
+
RoutingNoPickup["TRY_OTHERS"] = "TRY_OTHERS";
|
|
1258
|
+
RoutingNoPickup["VOICEMAIL"] = "VOICEMAIL";
|
|
1259
|
+
RoutingNoPickup["VOICEMAIL_TICKET"] = "VOICEMAIL_TICKET";
|
|
1260
|
+
})(RoutingNoPickup || (RoutingNoPickup = {}));
|
|
1261
|
+
|
|
1314
1262
|
var InteractionChannel;
|
|
1315
1263
|
(function (InteractionChannel) {
|
|
1316
1264
|
InteractionChannel["EMAIL"] = "EMAIL";
|
|
@@ -1351,14 +1299,27 @@ var InteractionStatus;
|
|
|
1351
1299
|
})(InteractionStatus || (InteractionStatus = {}));
|
|
1352
1300
|
// Per-message delivery status, driven by the WhatsApp (and other provider) status webhooks.
|
|
1353
1301
|
// Powers the single / double / blue read-receipt ticks on outbound messages.
|
|
1302
|
+
// RECEIVED is the terminal state of an inbound message.
|
|
1354
1303
|
var InteractionMessageStatus;
|
|
1355
1304
|
(function (InteractionMessageStatus) {
|
|
1356
|
-
InteractionMessageStatus["
|
|
1305
|
+
InteractionMessageStatus["QUEUED"] = "QUEUED";
|
|
1357
1306
|
InteractionMessageStatus["SENT"] = "SENT";
|
|
1358
1307
|
InteractionMessageStatus["DELIVERED"] = "DELIVERED";
|
|
1359
1308
|
InteractionMessageStatus["READ"] = "READ";
|
|
1360
1309
|
InteractionMessageStatus["FAILED"] = "FAILED";
|
|
1310
|
+
InteractionMessageStatus["RECEIVED"] = "RECEIVED";
|
|
1361
1311
|
})(InteractionMessageStatus || (InteractionMessageStatus = {}));
|
|
1312
|
+
// Where a campaign-driven interaction currently sits in its flow.
|
|
1313
|
+
var FlowRuntimeStatus;
|
|
1314
|
+
(function (FlowRuntimeStatus) {
|
|
1315
|
+
FlowRuntimeStatus["AWAITING_DISPATCH"] = "AWAITING_DISPATCH";
|
|
1316
|
+
FlowRuntimeStatus["AWAITING_REPLY"] = "AWAITING_REPLY";
|
|
1317
|
+
FlowRuntimeStatus["AWAITING_TIMER"] = "AWAITING_TIMER";
|
|
1318
|
+
FlowRuntimeStatus["PAUSED_BY_AGENT"] = "PAUSED_BY_AGENT";
|
|
1319
|
+
FlowRuntimeStatus["COMPLETED"] = "COMPLETED";
|
|
1320
|
+
FlowRuntimeStatus["FAILED"] = "FAILED";
|
|
1321
|
+
FlowRuntimeStatus["ABANDONED"] = "ABANDONED";
|
|
1322
|
+
})(FlowRuntimeStatus || (FlowRuntimeStatus = {}));
|
|
1362
1323
|
var InteractionProvider;
|
|
1363
1324
|
(function (InteractionProvider) {
|
|
1364
1325
|
InteractionProvider["AVAYA_IPO"] = "AVAYA_IPO";
|
|
@@ -1398,6 +1359,18 @@ var TenantSSOConfigurationProtocol;
|
|
|
1398
1359
|
TenantSSOConfigurationProtocol["SAML"] = "SAML";
|
|
1399
1360
|
TenantSSOConfigurationProtocol["OIDC"] = "OIDC";
|
|
1400
1361
|
})(TenantSSOConfigurationProtocol || (TenantSSOConfigurationProtocol = {}));
|
|
1362
|
+
// Which external system minted the externalIds carried on Tenant/User/Entity.
|
|
1363
|
+
var TenantExternalCrmProvider;
|
|
1364
|
+
(function (TenantExternalCrmProvider) {
|
|
1365
|
+
TenantExternalCrmProvider["SAP"] = "SAP";
|
|
1366
|
+
TenantExternalCrmProvider["SALESFORCE"] = "SALESFORCE";
|
|
1367
|
+
})(TenantExternalCrmProvider || (TenantExternalCrmProvider = {}));
|
|
1368
|
+
var TenantOnboardingStatus;
|
|
1369
|
+
(function (TenantOnboardingStatus) {
|
|
1370
|
+
TenantOnboardingStatus["NOT_STARTED"] = "NOT_STARTED";
|
|
1371
|
+
TenantOnboardingStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
1372
|
+
TenantOnboardingStatus["COMPLETED"] = "COMPLETED";
|
|
1373
|
+
})(TenantOnboardingStatus || (TenantOnboardingStatus = {}));
|
|
1401
1374
|
|
|
1402
1375
|
var UserStatus;
|
|
1403
1376
|
(function (UserStatus) {
|
|
@@ -1479,10 +1452,10 @@ class CommonService {
|
|
|
1479
1452
|
const languages = await this.getAllLanguages();
|
|
1480
1453
|
return languages?.find((language) => language.code === languageCode);
|
|
1481
1454
|
}
|
|
1482
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1483
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1455
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: CommonService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1456
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: CommonService, providedIn: 'root' });
|
|
1484
1457
|
}
|
|
1485
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1458
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: CommonService, decorators: [{
|
|
1486
1459
|
type: Injectable,
|
|
1487
1460
|
args: [{
|
|
1488
1461
|
providedIn: 'root',
|
|
@@ -1504,6 +1477,13 @@ const FIELDS_ENTITY_TYPE = `
|
|
|
1504
1477
|
updatedAt
|
|
1505
1478
|
deletedAt
|
|
1506
1479
|
`;
|
|
1480
|
+
// Adds the custom-field definitions — only worth fetching when listing types, not
|
|
1481
|
+
// on every nested entityType read.
|
|
1482
|
+
const FIELDS_ENTITY_TYPE_EXPANDED = `
|
|
1483
|
+
${FIELDS_ENTITY_TYPE}
|
|
1484
|
+
entityFields
|
|
1485
|
+
organizationFields
|
|
1486
|
+
`;
|
|
1507
1487
|
const FIELDS_ENTITY = `
|
|
1508
1488
|
id
|
|
1509
1489
|
externalId
|
|
@@ -1551,6 +1531,8 @@ const FIELDS_ENTITY = `
|
|
|
1551
1531
|
updatedAt
|
|
1552
1532
|
blockedAt
|
|
1553
1533
|
deletedAt
|
|
1534
|
+
updatedByUserId
|
|
1535
|
+
updatedByUserSessionId
|
|
1554
1536
|
`;
|
|
1555
1537
|
const FIELDS_ENTITY_EXPANDED = `
|
|
1556
1538
|
id
|
|
@@ -1626,6 +1608,8 @@ const FIELDS_ENTITY_EXPANDED = `
|
|
|
1626
1608
|
updatedAt
|
|
1627
1609
|
blockedAt
|
|
1628
1610
|
deletedAt
|
|
1611
|
+
updatedByUserId
|
|
1612
|
+
updatedByUserSessionId
|
|
1629
1613
|
`;
|
|
1630
1614
|
const FIELDS_ENTITY_MINIMAL = `
|
|
1631
1615
|
id
|
|
@@ -1667,6 +1651,8 @@ const FIELDS_ENTITY_MINIMAL = `
|
|
|
1667
1651
|
updatedAt
|
|
1668
1652
|
blockedAt
|
|
1669
1653
|
deletedAt
|
|
1654
|
+
updatedByUserId
|
|
1655
|
+
updatedByUserSessionId
|
|
1670
1656
|
`;
|
|
1671
1657
|
class EntityService {
|
|
1672
1658
|
appSyncService;
|
|
@@ -1829,7 +1815,7 @@ class EntityService {
|
|
|
1829
1815
|
const statement = `query ListEntityTypesByTenantId($tenantId: ID!, $name: ModelStringKeyConditionInput, $sortDirection: ModelSortDirection, $filter: ModelEntityTypeFilterInput, $limit: Int, $nextToken: String) {
|
|
1830
1816
|
listEntityTypesByTenantId(tenantId: $tenantId, name: $name, sortDirection: $sortDirection, filter: $filter, limit: $limit, nextToken: $nextToken) {
|
|
1831
1817
|
items {
|
|
1832
|
-
${
|
|
1818
|
+
${FIELDS_ENTITY_TYPE_EXPANDED}
|
|
1833
1819
|
}
|
|
1834
1820
|
nextToken
|
|
1835
1821
|
}
|
|
@@ -1867,16 +1853,57 @@ class EntityService {
|
|
|
1867
1853
|
return this.appSyncService.subscribe(statement, gqlAPIServiceArguments);
|
|
1868
1854
|
/* as Observable<SubscriptionResponse<Pick<__SubscriptionContainer, "OnEntityById">>>; */
|
|
1869
1855
|
}
|
|
1870
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1871
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1856
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: EntityService, deps: [{ token: AppSyncHelperService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1857
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: EntityService, providedIn: 'root' });
|
|
1872
1858
|
}
|
|
1873
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1859
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: EntityService, decorators: [{
|
|
1874
1860
|
type: Injectable,
|
|
1875
1861
|
args: [{
|
|
1876
1862
|
providedIn: 'root',
|
|
1877
1863
|
}]
|
|
1878
1864
|
}], ctorParameters: () => [{ type: AppSyncHelperService }] });
|
|
1879
1865
|
|
|
1866
|
+
const FIELDS_INTERACTION_ENDPOINT_PRICE_DETAILS = `
|
|
1867
|
+
currency
|
|
1868
|
+
upfrontCost
|
|
1869
|
+
monthlyCost
|
|
1870
|
+
inboundCost
|
|
1871
|
+
outboundCost
|
|
1872
|
+
`;
|
|
1873
|
+
const FIELDS_INTERACTION_ENDPOINT_AUDIO_ACTION = `
|
|
1874
|
+
action
|
|
1875
|
+
audioMediaName
|
|
1876
|
+
audioUrl
|
|
1877
|
+
`;
|
|
1878
|
+
const FIELDS_INTERACTION_ENDPOINT_RECORDING_CONFIG = `
|
|
1879
|
+
mode
|
|
1880
|
+
notify
|
|
1881
|
+
audioMediaName
|
|
1882
|
+
audioUrl
|
|
1883
|
+
`;
|
|
1884
|
+
const FIELDS_INTERACTION_ENDPOINT_WORKING_HOURS_ACTION_CONFIG = `
|
|
1885
|
+
duringHours {
|
|
1886
|
+
${FIELDS_INTERACTION_ENDPOINT_AUDIO_ACTION}
|
|
1887
|
+
}
|
|
1888
|
+
afterHours {
|
|
1889
|
+
${FIELDS_INTERACTION_ENDPOINT_AUDIO_ACTION}
|
|
1890
|
+
}
|
|
1891
|
+
whenClosed {
|
|
1892
|
+
${FIELDS_INTERACTION_ENDPOINT_AUDIO_ACTION}
|
|
1893
|
+
}
|
|
1894
|
+
`;
|
|
1895
|
+
const FIELDS_INTERACTION_ENDPOINT_ROUTING_CONFIG = `
|
|
1896
|
+
answeringRoles
|
|
1897
|
+
knownCallerStrategy
|
|
1898
|
+
unknownCallerStrategy
|
|
1899
|
+
ifNoPickup {
|
|
1900
|
+
${FIELDS_INTERACTION_ENDPOINT_AUDIO_ACTION}
|
|
1901
|
+
}
|
|
1902
|
+
escalationRoles
|
|
1903
|
+
noAnswer {
|
|
1904
|
+
${FIELDS_INTERACTION_ENDPOINT_AUDIO_ACTION}
|
|
1905
|
+
}
|
|
1906
|
+
`;
|
|
1880
1907
|
const FIELDS_INTERACTION_ENDPOINT = `
|
|
1881
1908
|
id
|
|
1882
1909
|
externalId
|
|
@@ -1884,17 +1911,28 @@ const FIELDS_INTERACTION_ENDPOINT = `
|
|
|
1884
1911
|
widgetId
|
|
1885
1912
|
address
|
|
1886
1913
|
configuration
|
|
1914
|
+
recordingConfig {
|
|
1915
|
+
${FIELDS_INTERACTION_ENDPOINT_RECORDING_CONFIG}
|
|
1916
|
+
}
|
|
1917
|
+
workingHoursActionConfig {
|
|
1918
|
+
${FIELDS_INTERACTION_ENDPOINT_WORKING_HOURS_ACTION_CONFIG}
|
|
1919
|
+
}
|
|
1920
|
+
routingConfig {
|
|
1921
|
+
${FIELDS_INTERACTION_ENDPOINT_ROUTING_CONFIG}
|
|
1922
|
+
}
|
|
1923
|
+
# buyPrice is intentionally not selected here — it is our cost, not the tenant's price.
|
|
1887
1924
|
sellPrice {
|
|
1888
|
-
|
|
1889
|
-
upfrontCost
|
|
1890
|
-
monthlyCost
|
|
1891
|
-
inboundCost
|
|
1892
|
-
outboundCost
|
|
1925
|
+
${FIELDS_INTERACTION_ENDPOINT_PRICE_DETAILS}
|
|
1893
1926
|
}
|
|
1894
1927
|
documents {
|
|
1895
1928
|
fileName
|
|
1896
1929
|
documentType
|
|
1897
1930
|
contentType
|
|
1931
|
+
file {
|
|
1932
|
+
key
|
|
1933
|
+
bucket
|
|
1934
|
+
location
|
|
1935
|
+
}
|
|
1898
1936
|
}
|
|
1899
1937
|
createdAt
|
|
1900
1938
|
updatedAt
|
|
@@ -2034,10 +2072,10 @@ class InteractionEndpointService {
|
|
|
2034
2072
|
const response = await this.appSyncService.query(statement, gqlAPIServiceArguments);
|
|
2035
2073
|
return response.data.listInteractionEndpointsByWidgetId;
|
|
2036
2074
|
}
|
|
2037
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2038
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2075
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: InteractionEndpointService, deps: [{ token: AppSyncHelperService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2076
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: InteractionEndpointService, providedIn: 'root' });
|
|
2039
2077
|
}
|
|
2040
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2078
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: InteractionEndpointService, decorators: [{
|
|
2041
2079
|
type: Injectable,
|
|
2042
2080
|
args: [{
|
|
2043
2081
|
providedIn: 'root',
|
|
@@ -2065,6 +2103,17 @@ const FIELDS_INTERACTION_WIDGET = `
|
|
|
2065
2103
|
createdAt
|
|
2066
2104
|
updatedAt
|
|
2067
2105
|
deletedAt
|
|
2106
|
+
updatedByUserId
|
|
2107
|
+
updatedByUserSessionId
|
|
2108
|
+
`;
|
|
2109
|
+
const FIELDS_INTERACTION_WIDGET_SESSION = `
|
|
2110
|
+
id
|
|
2111
|
+
tenantId
|
|
2112
|
+
widgetId
|
|
2113
|
+
entityId
|
|
2114
|
+
ipDetails
|
|
2115
|
+
createdAt
|
|
2116
|
+
updatedAt
|
|
2068
2117
|
`;
|
|
2069
2118
|
const FIELDS_INTERACTION_WIDGET_USER_SETTING = `
|
|
2070
2119
|
id
|
|
@@ -2163,10 +2212,10 @@ class InteractionWidgetService {
|
|
|
2163
2212
|
const response = await this.appSyncService.query(statement, gqlAPIServiceArguments);
|
|
2164
2213
|
return response.data.listInteractionWidgetUserSettingsByUserId;
|
|
2165
2214
|
}
|
|
2166
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2167
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2215
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: InteractionWidgetService, deps: [{ token: AppSyncHelperService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2216
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: InteractionWidgetService, providedIn: 'root' });
|
|
2168
2217
|
}
|
|
2169
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2218
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: InteractionWidgetService, decorators: [{
|
|
2170
2219
|
type: Injectable,
|
|
2171
2220
|
args: [{
|
|
2172
2221
|
providedIn: 'root',
|
|
@@ -2363,10 +2412,10 @@ class UserService {
|
|
|
2363
2412
|
return this.appSyncService.subscribe(statement, gqlAPIServiceArguments);
|
|
2364
2413
|
/* as Observable<SubscriptionResponse<Pick<__SubscriptionContainer, "OnUserById">>>; */
|
|
2365
2414
|
}
|
|
2366
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2367
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2415
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: UserService, deps: [{ token: AppSyncHelperService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2416
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: UserService, providedIn: 'root' });
|
|
2368
2417
|
}
|
|
2369
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2418
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: UserService, decorators: [{
|
|
2370
2419
|
type: Injectable,
|
|
2371
2420
|
args: [{
|
|
2372
2421
|
providedIn: 'root',
|
|
@@ -2481,10 +2530,10 @@ class TeamService {
|
|
|
2481
2530
|
const response = await this.appSyncService.query(statement, gqlAPIServiceArguments);
|
|
2482
2531
|
return response.data.listTeamMembershipsByUserId;
|
|
2483
2532
|
}
|
|
2484
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2485
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2533
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: TeamService, deps: [{ token: AppSyncHelperService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2534
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: TeamService, providedIn: 'root' });
|
|
2486
2535
|
}
|
|
2487
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2536
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: TeamService, decorators: [{
|
|
2488
2537
|
type: Injectable,
|
|
2489
2538
|
args: [{
|
|
2490
2539
|
providedIn: 'root',
|
|
@@ -2547,6 +2596,19 @@ const FIELDS_INTERACTION_MINIMAL = `
|
|
|
2547
2596
|
reportProcessingCompletedAt
|
|
2548
2597
|
temp_isLocked
|
|
2549
2598
|
temp_isAvailableTenantIdUnion
|
|
2599
|
+
campaignId
|
|
2600
|
+
flowVersion
|
|
2601
|
+
currentCampaignFlowNodeId
|
|
2602
|
+
flowVariables
|
|
2603
|
+
flowStatus
|
|
2604
|
+
flowRetryCount
|
|
2605
|
+
flowReminderIndex
|
|
2606
|
+
flowTimeoutAt
|
|
2607
|
+
flowTimerScheduleArn
|
|
2608
|
+
isAgentHandling
|
|
2609
|
+
assignedAgentId
|
|
2610
|
+
agentHandlingStartedAt
|
|
2611
|
+
agentHandlingEndedAt
|
|
2550
2612
|
createdAt
|
|
2551
2613
|
updatedAt
|
|
2552
2614
|
deletedAt
|
|
@@ -2600,6 +2662,19 @@ const FIELDS_INTERACTION = `
|
|
|
2600
2662
|
reportProcessingCompletedAt
|
|
2601
2663
|
temp_isLocked
|
|
2602
2664
|
temp_isAvailableTenantIdUnion
|
|
2665
|
+
campaignId
|
|
2666
|
+
flowVersion
|
|
2667
|
+
currentCampaignFlowNodeId
|
|
2668
|
+
flowVariables
|
|
2669
|
+
flowStatus
|
|
2670
|
+
flowRetryCount
|
|
2671
|
+
flowReminderIndex
|
|
2672
|
+
flowTimeoutAt
|
|
2673
|
+
flowTimerScheduleArn
|
|
2674
|
+
isAgentHandling
|
|
2675
|
+
assignedAgentId
|
|
2676
|
+
agentHandlingStartedAt
|
|
2677
|
+
agentHandlingEndedAt
|
|
2603
2678
|
createdAt
|
|
2604
2679
|
updatedAt
|
|
2605
2680
|
deletedAt
|
|
@@ -2685,6 +2760,19 @@ const FIELDS_INTERACTION_EXPANDED = `
|
|
|
2685
2760
|
reportProcessingCompletedAt
|
|
2686
2761
|
temp_isLocked
|
|
2687
2762
|
temp_isAvailableTenantIdUnion
|
|
2763
|
+
campaignId
|
|
2764
|
+
flowVersion
|
|
2765
|
+
currentCampaignFlowNodeId
|
|
2766
|
+
flowVariables
|
|
2767
|
+
flowStatus
|
|
2768
|
+
flowRetryCount
|
|
2769
|
+
flowReminderIndex
|
|
2770
|
+
flowTimeoutAt
|
|
2771
|
+
flowTimerScheduleArn
|
|
2772
|
+
isAgentHandling
|
|
2773
|
+
assignedAgentId
|
|
2774
|
+
agentHandlingStartedAt
|
|
2775
|
+
agentHandlingEndedAt
|
|
2688
2776
|
createdAt
|
|
2689
2777
|
updatedAt
|
|
2690
2778
|
deletedAt
|
|
@@ -2784,6 +2872,7 @@ const FIELDS_INTERACTION_MESSAGE = `
|
|
|
2784
2872
|
referenceMessageId
|
|
2785
2873
|
direction
|
|
2786
2874
|
status
|
|
2875
|
+
statusUpdatedAt
|
|
2787
2876
|
createdAt
|
|
2788
2877
|
updatedAt
|
|
2789
2878
|
deletedAt
|
|
@@ -2814,6 +2903,7 @@ const FIELDS_INTERACTION_MESSAGE_EXPANDED = `
|
|
|
2814
2903
|
referenceMessageId
|
|
2815
2904
|
direction
|
|
2816
2905
|
status
|
|
2906
|
+
statusUpdatedAt
|
|
2817
2907
|
createdAt
|
|
2818
2908
|
updatedAt
|
|
2819
2909
|
deletedAt
|
|
@@ -3176,11 +3266,11 @@ class InteractionService {
|
|
|
3176
3266
|
const response = await this.appSyncService.query(statement, gqlAPIServiceArguments);
|
|
3177
3267
|
return response.data.listInteractionMessagesByEntityConversationId;
|
|
3178
3268
|
}
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3269
|
+
// The externalId index carries no sort key, so this query takes no key condition.
|
|
3270
|
+
async ListInteractionMessagesByExternalId(externalId, sortDirection, filter, limit, nextToken) {
|
|
3271
|
+
const statement = `query ListInteractionMessagesByExternalId($externalId: String!, $sortDirection: ModelSortDirection, $filter: ModelInteractionMessageFilterInput, $limit: Int, $nextToken: String) {
|
|
3272
|
+
listInteractionMessagesByExternalId(
|
|
3273
|
+
externalId: $externalId
|
|
3184
3274
|
sortDirection: $sortDirection
|
|
3185
3275
|
filter: $filter
|
|
3186
3276
|
limit: $limit
|
|
@@ -3192,10 +3282,7 @@ class InteractionService {
|
|
|
3192
3282
|
nextToken
|
|
3193
3283
|
}
|
|
3194
3284
|
}`;
|
|
3195
|
-
const gqlAPIServiceArguments = {
|
|
3196
|
-
if (createdAt) {
|
|
3197
|
-
gqlAPIServiceArguments.createdAt = createdAt;
|
|
3198
|
-
}
|
|
3285
|
+
const gqlAPIServiceArguments = { externalId };
|
|
3199
3286
|
if (sortDirection) {
|
|
3200
3287
|
gqlAPIServiceArguments.sortDirection = sortDirection;
|
|
3201
3288
|
}
|
|
@@ -3209,7 +3296,7 @@ class InteractionService {
|
|
|
3209
3296
|
gqlAPIServiceArguments.nextToken = nextToken;
|
|
3210
3297
|
}
|
|
3211
3298
|
const response = await this.appSyncService.query(statement, gqlAPIServiceArguments);
|
|
3212
|
-
return response.data.
|
|
3299
|
+
return response.data.listInteractionMessagesByExternalId;
|
|
3213
3300
|
}
|
|
3214
3301
|
async ListInteractionMessagesByInteractionAttendeeId(interactionAttendeeId, createdAt, sortDirection, filter, limit, nextToken) {
|
|
3215
3302
|
const statement = `query ListInteractionMessagesByInteractionAttendeeId($interactionAttendeeId: ID!, $createdAt: ModelIntKeyConditionInput, $sortDirection: ModelSortDirection, $filter: ModelInteractionMessageFilterInput, $limit: Int, $nextToken: String) {
|
|
@@ -3315,10 +3402,10 @@ class InteractionService {
|
|
|
3315
3402
|
return this.appSyncService.subscribe(statement, gqlAPIServiceArguments);
|
|
3316
3403
|
/* as Observable<SubscriptionResponse<Pick<__SubscriptionContainer, 'OnInteractionMessageByEntityConversationId'>>>; */
|
|
3317
3404
|
}
|
|
3318
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3319
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3405
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: InteractionService, deps: [{ token: AppSyncHelperService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3406
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: InteractionService, providedIn: 'root' });
|
|
3320
3407
|
}
|
|
3321
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3408
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: InteractionService, decorators: [{
|
|
3322
3409
|
type: Injectable,
|
|
3323
3410
|
args: [{
|
|
3324
3411
|
providedIn: 'root',
|
|
@@ -3599,19 +3686,62 @@ class EntityConversationService {
|
|
|
3599
3686
|
return this.appSyncService.subscribe(statement, gqlAPIServiceArguments);
|
|
3600
3687
|
/* as Observable<SubscriptionResponse<Pick<__SubscriptionContainer, 'OnEntityConversationByTenantId'>>> */
|
|
3601
3688
|
}
|
|
3602
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3603
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3689
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: EntityConversationService, deps: [{ token: AppSyncHelperService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3690
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: EntityConversationService, providedIn: 'root' });
|
|
3604
3691
|
}
|
|
3605
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3692
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: EntityConversationService, decorators: [{
|
|
3606
3693
|
type: Injectable,
|
|
3607
3694
|
args: [{
|
|
3608
3695
|
providedIn: 'root',
|
|
3609
3696
|
}]
|
|
3610
3697
|
}], ctorParameters: () => [{ type: AppSyncHelperService }] });
|
|
3611
3698
|
|
|
3699
|
+
const FIELDS_TENANT_PREFERENCES = `
|
|
3700
|
+
timezoneName
|
|
3701
|
+
language {
|
|
3702
|
+
${FIELDS_LANGUAGE}
|
|
3703
|
+
}
|
|
3704
|
+
allowUserToChangePreferences
|
|
3705
|
+
brandColor
|
|
3706
|
+
workingHours {
|
|
3707
|
+
timezone
|
|
3708
|
+
days {
|
|
3709
|
+
day
|
|
3710
|
+
open
|
|
3711
|
+
start
|
|
3712
|
+
end
|
|
3713
|
+
}
|
|
3714
|
+
}
|
|
3715
|
+
availabilityConfig {
|
|
3716
|
+
customStatuses {
|
|
3717
|
+
key
|
|
3718
|
+
name
|
|
3719
|
+
colour
|
|
3720
|
+
available
|
|
3721
|
+
}
|
|
3722
|
+
allowDialUnsavedNumber
|
|
3723
|
+
acwTime
|
|
3724
|
+
ringtone
|
|
3725
|
+
}
|
|
3726
|
+
recordingExcludedUserIds
|
|
3727
|
+
`;
|
|
3728
|
+
const FIELDS_TENANT_PROFILE = `
|
|
3729
|
+
businessType
|
|
3730
|
+
industry
|
|
3731
|
+
teamSize
|
|
3732
|
+
goals
|
|
3733
|
+
`;
|
|
3734
|
+
const FIELDS_TENANT_ONBOARDING = `
|
|
3735
|
+
status
|
|
3736
|
+
currentStep
|
|
3737
|
+
completedSteps
|
|
3738
|
+
startedAt
|
|
3739
|
+
completedAt
|
|
3740
|
+
`;
|
|
3612
3741
|
const FIELDS_TENANT = `
|
|
3613
3742
|
id
|
|
3614
3743
|
externalId
|
|
3744
|
+
externalCrmProvider
|
|
3615
3745
|
tenantDomain
|
|
3616
3746
|
organizationName
|
|
3617
3747
|
websiteURL
|
|
@@ -3621,11 +3751,7 @@ const FIELDS_TENANT = `
|
|
|
3621
3751
|
location
|
|
3622
3752
|
}
|
|
3623
3753
|
preferences {
|
|
3624
|
-
|
|
3625
|
-
language {
|
|
3626
|
-
${FIELDS_LANGUAGE}
|
|
3627
|
-
}
|
|
3628
|
-
allowUserToChangePreferences
|
|
3754
|
+
${FIELDS_TENANT_PREFERENCES}
|
|
3629
3755
|
}
|
|
3630
3756
|
security {
|
|
3631
3757
|
domainValidationTokenExpiry
|
|
@@ -3634,6 +3760,12 @@ const FIELDS_TENANT = `
|
|
|
3634
3760
|
sessionTokenExpiry
|
|
3635
3761
|
sessionIdleTimeout
|
|
3636
3762
|
}
|
|
3763
|
+
profile {
|
|
3764
|
+
${FIELDS_TENANT_PROFILE}
|
|
3765
|
+
}
|
|
3766
|
+
onboarding {
|
|
3767
|
+
${FIELDS_TENANT_ONBOARDING}
|
|
3768
|
+
}
|
|
3637
3769
|
activatedAt
|
|
3638
3770
|
blockedAt
|
|
3639
3771
|
createdAt
|
|
@@ -3645,6 +3777,7 @@ const FIELDS_TENANT = `
|
|
|
3645
3777
|
const FIELDS_TENANT_MINIMAL = `
|
|
3646
3778
|
id
|
|
3647
3779
|
externalId
|
|
3780
|
+
externalCrmProvider
|
|
3648
3781
|
tenantDomain
|
|
3649
3782
|
organizationName
|
|
3650
3783
|
websiteURL
|
|
@@ -3654,11 +3787,10 @@ const FIELDS_TENANT_MINIMAL = `
|
|
|
3654
3787
|
location
|
|
3655
3788
|
}
|
|
3656
3789
|
preferences {
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
}
|
|
3661
|
-
allowUserToChangePreferences
|
|
3790
|
+
${FIELDS_TENANT_PREFERENCES}
|
|
3791
|
+
}
|
|
3792
|
+
onboarding {
|
|
3793
|
+
${FIELDS_TENANT_ONBOARDING}
|
|
3662
3794
|
}
|
|
3663
3795
|
activatedAt
|
|
3664
3796
|
blockedAt
|
|
@@ -3671,6 +3803,7 @@ const FIELDS_TENANT_MINIMAL = `
|
|
|
3671
3803
|
const FIELDS_TENANT_EXPANDED = `
|
|
3672
3804
|
id
|
|
3673
3805
|
externalId
|
|
3806
|
+
externalCrmProvider
|
|
3674
3807
|
tenantDomain
|
|
3675
3808
|
organizationName
|
|
3676
3809
|
websiteURL
|
|
@@ -3690,6 +3823,8 @@ const FIELDS_TENANT_EXPANDED = `
|
|
|
3690
3823
|
}
|
|
3691
3824
|
companyIdentificationNumber
|
|
3692
3825
|
taxIdentificationNumber
|
|
3826
|
+
billingEmail
|
|
3827
|
+
website
|
|
3693
3828
|
}
|
|
3694
3829
|
contactInformation {
|
|
3695
3830
|
name
|
|
@@ -3706,11 +3841,7 @@ const FIELDS_TENANT_EXPANDED = `
|
|
|
3706
3841
|
}
|
|
3707
3842
|
}
|
|
3708
3843
|
preferences {
|
|
3709
|
-
|
|
3710
|
-
language {
|
|
3711
|
-
${FIELDS_LANGUAGE}
|
|
3712
|
-
}
|
|
3713
|
-
allowUserToChangePreferences
|
|
3844
|
+
${FIELDS_TENANT_PREFERENCES}
|
|
3714
3845
|
}
|
|
3715
3846
|
ssoConfiguration {
|
|
3716
3847
|
provider
|
|
@@ -3727,6 +3858,12 @@ const FIELDS_TENANT_EXPANDED = `
|
|
|
3727
3858
|
sessionTokenExpiry
|
|
3728
3859
|
sessionIdleTimeout
|
|
3729
3860
|
}
|
|
3861
|
+
profile {
|
|
3862
|
+
${FIELDS_TENANT_PROFILE}
|
|
3863
|
+
}
|
|
3864
|
+
onboarding {
|
|
3865
|
+
${FIELDS_TENANT_ONBOARDING}
|
|
3866
|
+
}
|
|
3730
3867
|
activatedAt
|
|
3731
3868
|
blockedAt
|
|
3732
3869
|
createdAt
|
|
@@ -3882,10 +4019,10 @@ class TenantService {
|
|
|
3882
4019
|
return this.appSyncService.subscribe(statement, gqlAPIServiceArguments);
|
|
3883
4020
|
/* as Observable<SubscriptionResponse<Pick<__SubscriptionContainer, "OnTenantById">>>; */
|
|
3884
4021
|
}
|
|
3885
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3886
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4022
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: TenantService, deps: [{ token: AppSyncHelperService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4023
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: TenantService, providedIn: 'root' });
|
|
3887
4024
|
}
|
|
3888
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4025
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: TenantService, decorators: [{
|
|
3889
4026
|
type: Injectable,
|
|
3890
4027
|
args: [{
|
|
3891
4028
|
providedIn: 'root',
|
|
@@ -3902,6 +4039,8 @@ const FIELDS_TICKET_PRIORITY = `
|
|
|
3902
4039
|
colorCode
|
|
3903
4040
|
createdAt
|
|
3904
4041
|
updatedAt
|
|
4042
|
+
updatedByUserId
|
|
4043
|
+
updatedByUserSessionId
|
|
3905
4044
|
deletedAt
|
|
3906
4045
|
`;
|
|
3907
4046
|
const FIELDS_TICKET_STATUS = `
|
|
@@ -3915,6 +4054,8 @@ const FIELDS_TICKET_STATUS = `
|
|
|
3915
4054
|
colorCode
|
|
3916
4055
|
createdAt
|
|
3917
4056
|
updatedAt
|
|
4057
|
+
updatedByUserId
|
|
4058
|
+
updatedByUserSessionId
|
|
3918
4059
|
deletedAt
|
|
3919
4060
|
`;
|
|
3920
4061
|
const FIELDS_TICKET_TYPE = `
|
|
@@ -3927,6 +4068,8 @@ const FIELDS_TICKET_TYPE = `
|
|
|
3927
4068
|
colorCode
|
|
3928
4069
|
createdAt
|
|
3929
4070
|
updatedAt
|
|
4071
|
+
updatedByUserId
|
|
4072
|
+
updatedByUserSessionId
|
|
3930
4073
|
deletedAt
|
|
3931
4074
|
`;
|
|
3932
4075
|
const FIELDS_TICKET = `
|
|
@@ -3961,6 +4104,8 @@ const FIELDS_TICKET = `
|
|
|
3961
4104
|
createdByUserId
|
|
3962
4105
|
createdAt
|
|
3963
4106
|
updatedAt
|
|
4107
|
+
updatedByUserId
|
|
4108
|
+
updatedByUserSessionId
|
|
3964
4109
|
deletedAt
|
|
3965
4110
|
`;
|
|
3966
4111
|
class TicketService {
|
|
@@ -4128,10 +4273,10 @@ class TicketService {
|
|
|
4128
4273
|
const response = await this.appSyncService.query(statement, gqlAPIServiceArguments);
|
|
4129
4274
|
return response.data.listTicketTypesByTenantId;
|
|
4130
4275
|
}
|
|
4131
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4132
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4276
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: TicketService, deps: [{ token: AppSyncHelperService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4277
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: TicketService, providedIn: 'root' });
|
|
4133
4278
|
}
|
|
4134
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4279
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: TicketService, decorators: [{
|
|
4135
4280
|
type: Injectable,
|
|
4136
4281
|
args: [{
|
|
4137
4282
|
providedIn: 'root',
|
|
@@ -4144,6 +4289,8 @@ const FIELDS_USER_SESSION = `
|
|
|
4144
4289
|
userId
|
|
4145
4290
|
ipDetails
|
|
4146
4291
|
status
|
|
4292
|
+
statusKey
|
|
4293
|
+
lastInteractionHandledAt
|
|
4147
4294
|
teamIds
|
|
4148
4295
|
temp_isLocked
|
|
4149
4296
|
temp_isAvailableTenantIdUnion
|
|
@@ -4223,10 +4370,10 @@ class UserSessionService {
|
|
|
4223
4370
|
return this.appSyncService.subscribe(statement, gqlAPIServiceArguments);
|
|
4224
4371
|
/* as Observable<SubscriptionResponse<Pick<__SubscriptionContainer, 'OnUserSessionById'>>>; */
|
|
4225
4372
|
}
|
|
4226
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4227
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4373
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: UserSessionService, deps: [{ token: AppSyncHelperService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4374
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: UserSessionService, providedIn: 'root' });
|
|
4228
4375
|
}
|
|
4229
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4376
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: UserSessionService, decorators: [{
|
|
4230
4377
|
type: Injectable,
|
|
4231
4378
|
args: [{
|
|
4232
4379
|
providedIn: 'root',
|
|
@@ -4412,16 +4559,53 @@ class EncryptedStorageService {
|
|
|
4412
4559
|
}
|
|
4413
4560
|
return bytes;
|
|
4414
4561
|
}
|
|
4415
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4416
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4562
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: EncryptedStorageService, deps: [{ token: SnugdeskAuthenticationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4563
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: EncryptedStorageService, providedIn: 'root' });
|
|
4417
4564
|
}
|
|
4418
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4565
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: EncryptedStorageService, decorators: [{
|
|
4419
4566
|
type: Injectable,
|
|
4420
4567
|
args: [{
|
|
4421
4568
|
providedIn: 'root',
|
|
4422
4569
|
}]
|
|
4423
4570
|
}], ctorParameters: () => [{ type: SnugdeskAuthenticationService }] });
|
|
4424
4571
|
|
|
4572
|
+
class SnugdeskIPRegistryService {
|
|
4573
|
+
http;
|
|
4574
|
+
IP_REGISTRY_API = 'https://api.ipregistry.co/?key=1lbzl1iexwbxc0';
|
|
4575
|
+
SESSION_KEY = 'sd-ip-details';
|
|
4576
|
+
constructor(http) {
|
|
4577
|
+
this.http = http;
|
|
4578
|
+
}
|
|
4579
|
+
get cachedIPDetails() {
|
|
4580
|
+
const value = sessionStorage.getItem(this.SESSION_KEY);
|
|
4581
|
+
return value ? JSON.parse(value) : null;
|
|
4582
|
+
}
|
|
4583
|
+
set cachedIPDetails(details) {
|
|
4584
|
+
sessionStorage.setItem(this.SESSION_KEY, JSON.stringify(details));
|
|
4585
|
+
}
|
|
4586
|
+
// prettier-ignore
|
|
4587
|
+
async getIPDetails() {
|
|
4588
|
+
if (this.cachedIPDetails)
|
|
4589
|
+
return this.cachedIPDetails;
|
|
4590
|
+
try {
|
|
4591
|
+
const ipDetails = await lastValueFrom(this.http.get(this.IP_REGISTRY_API));
|
|
4592
|
+
// console.log('Fetched IP details:', ipDetails);
|
|
4593
|
+
this.cachedIPDetails = ipDetails;
|
|
4594
|
+
}
|
|
4595
|
+
catch (error) {
|
|
4596
|
+
console.warn('Error fetching IP details:', error);
|
|
4597
|
+
this.cachedIPDetails = {};
|
|
4598
|
+
}
|
|
4599
|
+
return this.cachedIPDetails;
|
|
4600
|
+
}
|
|
4601
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: SnugdeskIPRegistryService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4602
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: SnugdeskIPRegistryService, providedIn: 'root' });
|
|
4603
|
+
}
|
|
4604
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: SnugdeskIPRegistryService, decorators: [{
|
|
4605
|
+
type: Injectable,
|
|
4606
|
+
args: [{ providedIn: 'root' }]
|
|
4607
|
+
}], ctorParameters: () => [{ type: i1$2.HttpClient }] });
|
|
4608
|
+
|
|
4425
4609
|
class CleanDeep {
|
|
4426
4610
|
static clean(obj) {
|
|
4427
4611
|
Object.keys(obj).forEach((key) => {
|
|
@@ -4561,7 +4745,7 @@ class EmailEntityResolverService {
|
|
|
4561
4745
|
email: senderEmail,
|
|
4562
4746
|
isOrganization: false,
|
|
4563
4747
|
contactPreferences: { allowEmail: true },
|
|
4564
|
-
metadata:
|
|
4748
|
+
metadata: JSON.stringify({ source: 'EMAIL' }),
|
|
4565
4749
|
createdAt: now,
|
|
4566
4750
|
updatedAt: now,
|
|
4567
4751
|
updatedByUserId: 'SYSTEM',
|
|
@@ -4573,10 +4757,10 @@ class EmailEntityResolverService {
|
|
|
4573
4757
|
return null;
|
|
4574
4758
|
}
|
|
4575
4759
|
}
|
|
4576
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4577
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4760
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: EmailEntityResolverService, deps: [{ token: EntityService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4761
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: EmailEntityResolverService, providedIn: 'root' });
|
|
4578
4762
|
}
|
|
4579
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4763
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: EmailEntityResolverService, decorators: [{
|
|
4580
4764
|
type: Injectable,
|
|
4581
4765
|
args: [{
|
|
4582
4766
|
providedIn: 'root',
|
|
@@ -4656,7 +4840,7 @@ class EmailConversationResolverService {
|
|
|
4656
4840
|
}
|
|
4657
4841
|
async matchByInReplyTo(tenantId, inReplyTo) {
|
|
4658
4842
|
try {
|
|
4659
|
-
const messages = await this.interactionService.
|
|
4843
|
+
const messages = await this.interactionService.ListInteractionMessagesByExternalId(inReplyTo);
|
|
4660
4844
|
const items = messages?.items || [];
|
|
4661
4845
|
if (items.length > 0 && items[0].entityConversationId) {
|
|
4662
4846
|
return await this.entityConversationService.GetEntityConversation(items[0].entityConversationId);
|
|
@@ -4698,10 +4882,10 @@ class EmailConversationResolverService {
|
|
|
4698
4882
|
}
|
|
4699
4883
|
return null;
|
|
4700
4884
|
}
|
|
4701
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4702
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4885
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: EmailConversationResolverService, deps: [{ token: EntityConversationService }, { token: InteractionService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4886
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: EmailConversationResolverService, providedIn: 'root' });
|
|
4703
4887
|
}
|
|
4704
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4888
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: EmailConversationResolverService, decorators: [{
|
|
4705
4889
|
type: Injectable,
|
|
4706
4890
|
args: [{
|
|
4707
4891
|
providedIn: 'root',
|
|
@@ -4786,10 +4970,10 @@ class InteractionMessageTemplateService {
|
|
|
4786
4970
|
}
|
|
4787
4971
|
return rendered;
|
|
4788
4972
|
}
|
|
4789
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4790
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4973
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: InteractionMessageTemplateService, deps: [{ token: AppSyncHelperService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4974
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: InteractionMessageTemplateService, providedIn: 'root' });
|
|
4791
4975
|
}
|
|
4792
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4976
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: InteractionMessageTemplateService, decorators: [{
|
|
4793
4977
|
type: Injectable,
|
|
4794
4978
|
args: [{
|
|
4795
4979
|
providedIn: 'root',
|
|
@@ -4804,5 +4988,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImpo
|
|
|
4804
4988
|
* Generated bundle index. Do not edit.
|
|
4805
4989
|
*/
|
|
4806
4990
|
|
|
4807
|
-
export { AMPLIFY_CONFIG, AppSyncHelperService, BillingAccountStatus, BillingAdminActionStatus, BillingAdminActionType, BillingChargeStatus, BillingCreditClass, BillingEntityStatus, BillingInvoiceStatus, BillingInvoiceType, BillingKycCaseStatus, BillingKycCaseType, BillingLedgerDirection, BillingLedgerEntryType, BillingPaymentDirection, BillingPaymentMethodStatus, BillingPaymentPurpose, BillingPaymentRail, BillingPaymentStatus, BillingPeriodType, BillingPriceBookType, BillingPricingType, BillingRatingStatus, BillingReceiptMatchStatus, BillingSubscriptionStatus, BillingTaxTreatment, CleanDeep, CommonService, CustomPipesModule, CustomValidators, DomainNamePipe, EmailConversationResolverService, EmailEntityResolverService, EncryptedStorageService, EntityConversationService, EntityService, ErrorComponent, FIELDS_COUNTRY, FIELDS_ENTITY, FIELDS_ENTITY_CONVERSATION, FIELDS_ENTITY_CONVERSATION_EXPANDED, FIELDS_ENTITY_CONVERSATION_MINIMAL, FIELDS_ENTITY_EXPANDED, FIELDS_ENTITY_MINIMAL, FIELDS_ENTITY_TYPE, FIELDS_INTERACTION, FIELDS_INTERACTION_ATTENDEE, FIELDS_INTERACTION_ATTENDEE_EXPANDED, FIELDS_INTERACTION_ENDPOINT, FIELDS_INTERACTION_ENDPOINT_MINIMAL, FIELDS_INTERACTION_EXPANDED, FIELDS_INTERACTION_HOST, FIELDS_INTERACTION_INVITEE, FIELDS_INTERACTION_MESSAGE, FIELDS_INTERACTION_MESSAGE_ATTACHMENT, FIELDS_INTERACTION_MESSAGE_EXPANDED, FIELDS_INTERACTION_MESSAGE_TEMPLATE, FIELDS_INTERACTION_MINIMAL, FIELDS_INTERACTION_WIDGET, FIELDS_INTERACTION_WIDGET_USER_SETTING, FIELDS_LANGUAGE, FIELDS_PHONE_NUMBER, FIELDS_TEAM, FIELDS_TEAM_MEMBER, FIELDS_TENANT, FIELDS_TENANT_COMPLIANCE_DOCUMENT, FIELDS_TENANT_EXPANDED, FIELDS_TENANT_MINIMAL, FIELDS_TICKET, FIELDS_TICKET_PRIORITY, FIELDS_TICKET_STATUS, FIELDS_TICKET_TYPE, FIELDS_USER, FIELDS_USER_SESSION, FooterComponent, FormatEpochTimestampPipe, InteractionChannel, InteractionContext, InteractionDirection, InteractionEndpointService, InteractionMessageDirection, InteractionMessageStatus, InteractionMessageTemplateService, InteractionProvider, InteractionRouteLogic, InteractionService, InteractionStatus, InteractionWidgetService, LoaderComponent, ModelAttributeTypes, ModelSortDirection, OpenSearchHelperService, ProcessingStatus, S3HelperService, SafeHtmlPipe, SearchInnerFieldPipe, SearchPipe, SingularizePipe, SnugdeskAuthenticationService, SnugdeskCoreModule, SnugdeskIPRegistryService, StorageType, TeamService, TenantComplianceDocumentStatus, TenantComplianceDocumentType, TenantSSOConfigurationProtocol, TenantService, TicketService, UserService, UserSessionService, UserStatus, UserType, generateReferenceNumber, provideAmplifyConfig, sanitizeHtmlBody };
|
|
4991
|
+
export { AMPLIFY_CONFIG, AppSyncHelperService, BillingAccountStatus, BillingAdminActionStatus, BillingAdminActionType, BillingChargeStatus, BillingCreditClass, BillingEntityStatus, BillingInvoiceStatus, BillingInvoiceType, BillingKycCaseStatus, BillingKycCaseType, BillingLedgerDirection, BillingLedgerEntryType, BillingMode, BillingPaymentDirection, BillingPaymentMethodStatus, BillingPaymentPurpose, BillingPaymentRail, BillingPaymentStatus, BillingPeriodType, BillingPriceBookType, BillingPricingType, BillingRatingStatus, BillingReceiptMatchStatus, BillingSubscriptionStatus, BillingTaxTreatment, CleanDeep, CommonService, CustomPipesModule, CustomValidators, DomainNamePipe, EmailConversationResolverService, EmailEntityResolverService, EncryptedStorageService, EntityConversationService, EntityService, ErrorComponent, FIELDS_COUNTRY, FIELDS_ENTITY, FIELDS_ENTITY_CONVERSATION, FIELDS_ENTITY_CONVERSATION_EXPANDED, FIELDS_ENTITY_CONVERSATION_MINIMAL, FIELDS_ENTITY_EXPANDED, FIELDS_ENTITY_MINIMAL, FIELDS_ENTITY_TYPE, FIELDS_ENTITY_TYPE_EXPANDED, FIELDS_INTERACTION, FIELDS_INTERACTION_ATTENDEE, FIELDS_INTERACTION_ATTENDEE_EXPANDED, FIELDS_INTERACTION_ENDPOINT, FIELDS_INTERACTION_ENDPOINT_MINIMAL, FIELDS_INTERACTION_ENDPOINT_RECORDING_CONFIG, FIELDS_INTERACTION_ENDPOINT_ROUTING_CONFIG, FIELDS_INTERACTION_ENDPOINT_WORKING_HOURS_ACTION_CONFIG, FIELDS_INTERACTION_EXPANDED, FIELDS_INTERACTION_HOST, FIELDS_INTERACTION_INVITEE, FIELDS_INTERACTION_MESSAGE, FIELDS_INTERACTION_MESSAGE_ATTACHMENT, FIELDS_INTERACTION_MESSAGE_EXPANDED, FIELDS_INTERACTION_MESSAGE_TEMPLATE, FIELDS_INTERACTION_MINIMAL, FIELDS_INTERACTION_WIDGET, FIELDS_INTERACTION_WIDGET_SESSION, FIELDS_INTERACTION_WIDGET_USER_SETTING, FIELDS_LANGUAGE, FIELDS_PHONE_NUMBER, FIELDS_TEAM, FIELDS_TEAM_MEMBER, FIELDS_TENANT, FIELDS_TENANT_COMPLIANCE_DOCUMENT, FIELDS_TENANT_EXPANDED, FIELDS_TENANT_MINIMAL, FIELDS_TENANT_ONBOARDING, FIELDS_TENANT_PREFERENCES, FIELDS_TENANT_PROFILE, FIELDS_TICKET, FIELDS_TICKET_PRIORITY, FIELDS_TICKET_STATUS, FIELDS_TICKET_TYPE, FIELDS_USER, FIELDS_USER_SESSION, FlowRuntimeStatus, FooterComponent, FormatEpochTimestampPipe, InteractionChannel, InteractionContext, InteractionDirection, InteractionEndpointService, InteractionMessageDirection, InteractionMessageStatus, InteractionMessageTemplateService, InteractionProvider, InteractionRouteLogic, InteractionService, InteractionStatus, InteractionWidgetService, LoaderComponent, ModelAttributeTypes, ModelSortDirection, OpenSearchHelperService, ProcessingStatus, RecordingMode, RecordingNotify, RoutingFallback, RoutingNoPickup, RoutingRole, RoutingStrategy, S3HelperService, SafeHtmlPipe, SearchInnerFieldPipe, SearchPipe, SingularizePipe, SnugdeskAuthenticationService, SnugdeskCoreModule, SnugdeskIPRegistryService, StorageType, TeamService, TenantComplianceDocumentStatus, TenantComplianceDocumentType, TenantExternalCrmProvider, TenantOnboardingStatus, TenantSSOConfigurationProtocol, TenantService, TicketService, UserService, UserSessionService, UserStatus, UserType, WorkingHoursFallbackAction, generateReferenceNumber, provideAmplifyConfig, sanitizeHtmlBody };
|
|
4808
4992
|
//# sourceMappingURL=snugdesk-core.mjs.map
|