@rocketspark/domain-checker 0.0.1
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/.github-test/FUNDING.yml +1 -0
- package/.github-test/dependabot.yml +10 -0
- package/.github-test/workflows/main.yml +28 -0
- package/.github-test/workflows/publish.yml +49 -0
- package/.github-test/workflows/pull_request.yml +24 -0
- package/.github-test/workflows/pull_request_dependabot.yml +48 -0
- package/.idea/domain-checker.iml +8 -0
- package/.idea/git_toolbox_prj.xml +15 -0
- package/.idea/inspectionProfiles/Project_Default.xml +6 -0
- package/.idea/modules.xml +8 -0
- package/.idea/vcs.xml +6 -0
- package/CODE_OF_CONDUCT.md +76 -0
- package/CONTRIBUTING.md +15 -0
- package/LICENSE +21 -0
- package/README.md +67 -0
- package/build/130.index.js +13 -0
- package/build/130.index.js.map +1 -0
- package/build/145.index.js +13 -0
- package/build/145.index.js.map +1 -0
- package/build/171.index.js +13 -0
- package/build/171.index.js.map +1 -0
- package/build/190.index.js +13 -0
- package/build/190.index.js.map +1 -0
- package/build/228.index.js +13 -0
- package/build/228.index.js.map +1 -0
- package/build/23.index.js +13 -0
- package/build/23.index.js.map +1 -0
- package/build/253.index.js +13 -0
- package/build/253.index.js.map +1 -0
- package/build/269.index.js +13 -0
- package/build/269.index.js.map +1 -0
- package/build/307.index.js +13 -0
- package/build/307.index.js.map +1 -0
- package/build/314.index.js +13 -0
- package/build/314.index.js.map +1 -0
- package/build/330.index.js +13 -0
- package/build/330.index.js.map +1 -0
- package/build/346.index.js +13 -0
- package/build/346.index.js.map +1 -0
- package/build/385.index.js +13 -0
- package/build/385.index.js.map +1 -0
- package/build/3cce2bffb56fb72f4f99.svg +521 -0
- package/build/431.index.js +13 -0
- package/build/431.index.js.map +1 -0
- package/build/447.index.js +13 -0
- package/build/447.index.js.map +1 -0
- package/build/482.index.js +13 -0
- package/build/482.index.js.map +1 -0
- package/build/525.index.js +13 -0
- package/build/525.index.js.map +1 -0
- package/build/536.index.js +13 -0
- package/build/536.index.js.map +1 -0
- package/build/548.index.js +13 -0
- package/build/548.index.js.map +1 -0
- package/build/565.index.js +13 -0
- package/build/565.index.js.map +1 -0
- package/build/577.index.js +13 -0
- package/build/577.index.js.map +1 -0
- package/build/5798190b27b26600fb18.svg +266 -0
- package/build/655.index.js +13 -0
- package/build/655.index.js.map +1 -0
- package/build/66.index.js +13 -0
- package/build/66.index.js.map +1 -0
- package/build/669.index.js +13 -0
- package/build/669.index.js.map +1 -0
- package/build/677.index.js +13 -0
- package/build/677.index.js.map +1 -0
- package/build/678.index.js +13 -0
- package/build/678.index.js.map +1 -0
- package/build/69.index.js +13 -0
- package/build/69.index.js.map +1 -0
- package/build/690.index.js +13 -0
- package/build/690.index.js.map +1 -0
- package/build/694.index.js +13 -0
- package/build/694.index.js.map +1 -0
- package/build/698.index.js +13 -0
- package/build/698.index.js.map +1 -0
- package/build/716.index.js +13 -0
- package/build/716.index.js.map +1 -0
- package/build/717.index.js +13 -0
- package/build/717.index.js.map +1 -0
- package/build/724.index.js +13 -0
- package/build/724.index.js.map +1 -0
- package/build/738.index.js +13 -0
- package/build/738.index.js.map +1 -0
- package/build/799.index.js +13 -0
- package/build/799.index.js.map +1 -0
- package/build/82.index.js +13 -0
- package/build/82.index.js.map +1 -0
- package/build/858.index.js +13 -0
- package/build/858.index.js.map +1 -0
- package/build/882.index.js +13 -0
- package/build/882.index.js.map +1 -0
- package/build/895.index.js +13 -0
- package/build/895.index.js.map +1 -0
- package/build/903.index.js +13 -0
- package/build/903.index.js.map +1 -0
- package/build/911.index.js +13 -0
- package/build/911.index.js.map +1 -0
- package/build/912.index.js +13 -0
- package/build/912.index.js.map +1 -0
- package/build/927.index.js +13 -0
- package/build/927.index.js.map +1 -0
- package/build/953.index.js +13 -0
- package/build/953.index.js.map +1 -0
- package/build/955.index.js +13 -0
- package/build/955.index.js.map +1 -0
- package/build/994.index.js +13 -0
- package/build/994.index.js.map +1 -0
- package/build/css/index.css +11 -0
- package/build/css/index.css.map +1 -0
- package/build/index.js +13 -0
- package/build/index.js.map +1 -0
- package/build/types/Components/DomainSearch.d.ts +20 -0
- package/build/types/Components/PopupContainer.d.ts +30 -0
- package/build/types/Components/SearchHeading.d.ts +8 -0
- package/build/types/Components/SearchResultCaption.d.ts +12 -0
- package/build/types/Components/SearchStatus.d.ts +13 -0
- package/build/types/Helpers/Fetch.d.ts +6 -0
- package/build/types/Helpers/defaults.d.ts +2 -0
- package/build/types/Helpers/templates.d.ts +13 -0
- package/build/types/Helpers/wrap.d.ts +1 -0
- package/build/types/index.d.ts +21 -0
- package/build/types/interfaces/class-names.d.ts +19 -0
- package/build/types/interfaces/options.d.ts +9 -0
- package/package.json +91 -0
- package/tsconfig.json +17 -0
- package/webpack.config.demo.js +64 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* @rocketspark/domain-checker v0.0.01
|
|
4
|
+
* https://github.com/rocketspark/domain-checker.git
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Lee Reichardt and project contributors.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the no license license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
"use strict";(self.webpackChunkDomainChecker=self.webpackChunkDomainChecker||[]).push([[431],{9431:function(e,t,o){o.r(t),o.d(t,{rs_switch:function(){return s}});var l=o(492);const s=class{constructor(e){(0,l.r)(this,e),this.toggled=(0,l.c)(this,"toggled",7),this.theme="light",this.on=!1,this.disabled=!1,this.toggle=()=>{this.disabled||(this.on=!this.on)}}validateName(e,t){e!==t&&this.toggledHandler()}getToggledClass(){return this.disabled?"toggle--disabled":this.on?"toggle--on":"toggle--off"}toggledHandler(){this.toggled.emit({on:this.on})}render(){return(0,l.h)(l.H,null,(0,l.h)("span",{class:`toggle ${this.getToggledClass()} toggle--${this.theme}`,onClick:this.toggle},(0,l.h)("span",{class:"toggle__switch"}," ")))}static get watchers(){return{on:["validateName"]}}};s.style=":host{display:block}.toggle{position:relative;display:inline-flex;align-items:center;width:2.25rem;height:1.375rem;border-radius:3.125rem;cursor:pointer;transition:background-color 0.15s ease-out, opacity 0.15s ease-out;user-select:none;box-sizing:border-box;padding:0.125rem}.toggle--off{background-color:var(--rs-color-grey-light)}.toggle--on{background-color:var(--rs-color-positive)}.toggle--disabled{background-color:var(--rs-color-grey-light);opacity:0.5;cursor:not-allowed}.toggle__switch{position:relative;display:block;width:1.125rem;height:1.125rem;border-radius:1.25rem;background-clip:padding-box;transition:all 0.15s ease-out;transition-property:left;user-select:none;box-shadow:0 1px 0.1875rem rgba(0, 0, 0, 0.25)}.toggle--light .toggle__switch{background-color:#fff}.toggle--dark .toggle__switch{background-color:#111618}.toggle--off .toggle__switch,.toggle--disabled .toggle__switch{left:0}.toggle--on .toggle__switch{left:calc(100% - 1.125rem)}"}}]);
|
|
13
|
+
//# sourceMappingURL=431.index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"431.index.js","mappings":";;;;;;;;;;;+KAEA,MAEMA,EAAS,MACbC,YAAYC,IACV,IAAAC,GAAiBC,KAAMF,GACvBE,KAAKC,SAAU,IAAAC,GAAYF,KAAM,UAAW,GAE5CA,KAAKG,MAAQ,QAEbH,KAAKI,IAAK,EAEVJ,KAAKK,UAAW,EAChBL,KAAKM,OAAS,KACPN,KAAKK,WACRL,KAAKI,IAAMJ,KAAKI,KAItBG,aAAaC,EAAUC,GACjBD,IAAaC,GACfT,KAAKU,iBAGTC,kBACE,OAAOX,KAAKK,SAAW,mBAAqBL,KAAKI,GAAK,aAAe,cAEvEM,iBACEV,KAAKC,QAAQW,KAAK,CAAER,GAAIJ,KAAKI,KAE/BS,SACE,OAAQ,IAAAC,GAAE,EAAAC,EAAM,MAAM,IAAAD,GAAE,OAAQ,CAAEE,MAAO,UAAUhB,KAAKW,6BAA6BX,KAAKG,QAASc,QAASjB,KAAKM,SAAU,IAAAQ,GAAE,OAAQ,CAAEE,MAAO,kBAAoB,OAEpK,sBAAwB,MAAO,CAC7B,GAAM,CAAC,mBAGXpB,EAAOsB,MApCW","sources":["webpack://DomainChecker/./node_modules/@rocketspark/flint-ui/dist/esm/rs-switch.entry.js"],"sourcesContent":["import { r as registerInstance, c as createEvent, h, H as Host } from './index-d4fae449.js';\n\nconst switchCss = \":host{display:block}.toggle{position:relative;display:inline-flex;align-items:center;width:2.25rem;height:1.375rem;border-radius:3.125rem;cursor:pointer;transition:background-color 0.15s ease-out, opacity 0.15s ease-out;user-select:none;box-sizing:border-box;padding:0.125rem}.toggle--off{background-color:var(--rs-color-grey-light)}.toggle--on{background-color:var(--rs-color-positive)}.toggle--disabled{background-color:var(--rs-color-grey-light);opacity:0.5;cursor:not-allowed}.toggle__switch{position:relative;display:block;width:1.125rem;height:1.125rem;border-radius:1.25rem;background-clip:padding-box;transition:all 0.15s ease-out;transition-property:left;user-select:none;box-shadow:0 1px 0.1875rem rgba(0, 0, 0, 0.25)}.toggle--light .toggle__switch{background-color:#fff}.toggle--dark .toggle__switch{background-color:#111618}.toggle--off .toggle__switch,.toggle--disabled .toggle__switch{left:0}.toggle--on .toggle__switch{left:calc(100% - 1.125rem)}\";\n\nconst Switch = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.toggled = createEvent(this, \"toggled\", 7);\n /** (optional) light\\dark defaults to light */\n this.theme = 'light';\n /** (optional) defaults to off */\n this.on = false;\n /** (optional) defaults to off */\n this.disabled = false;\n this.toggle = () => {\n if (!this.disabled) {\n this.on = !this.on;\n }\n };\n }\n validateName(newValue, oldValue) {\n if (newValue !== oldValue) {\n this.toggledHandler();\n }\n }\n getToggledClass() {\n return this.disabled ? 'toggle--disabled' : this.on ? 'toggle--on' : 'toggle--off';\n }\n toggledHandler() {\n this.toggled.emit({ on: this.on });\n }\n render() {\n return (h(Host, null, h(\"span\", { class: `toggle ${this.getToggledClass()} toggle--${this.theme}`, onClick: this.toggle }, h(\"span\", { class: \"toggle__switch\" }, \"\\u00A0\"))));\n }\n static get watchers() { return {\n \"on\": [\"validateName\"]\n }; }\n};\nSwitch.style = switchCss;\n\nexport { Switch as rs_switch };\n"],"names":["Switch","constructor","hostRef","r","this","toggled","c","theme","on","disabled","toggle","validateName","newValue","oldValue","toggledHandler","getToggledClass","emit","render","h","H","class","onClick","style"],"sourceRoot":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* @rocketspark/domain-checker v0.0.01
|
|
4
|
+
* https://github.com/rocketspark/domain-checker.git
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Lee Reichardt and project contributors.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the no license license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
"use strict";(self.webpackChunkDomainChecker=self.webpackChunkDomainChecker||[]).push([[447],{5447:function(t,o,r){r.r(o),r.d(o,{rs_tool_tip:function(){return i}});var e=r(492);const i=class{constructor(t){(0,e.r)(this,t),this.arrow="top",this.arrowDirection="top"}arrowChange(){this.arrowDirection=this.arrow}render(){return(0,e.h)("host",{class:`rs-tooltip rs-tooltip--${this.arrowDirection}`},(0,e.h)("div",{class:"rs-tooltip__caption__container"},(0,e.h)("slot",null)))}static get watchers(){return{arrow:["arrowChange"]}}};i.style=':host{position:absolute;z-index:1000;padding:0.875rem 0.625rem;font-size:0.875rem;font-weight:200;color:#fff;background-color:var(--rs-color-heading);border-radius:0.1875rem;pointer-events:none;user-select:none;left:-9999rem;opacity:0;transition:opacity 0.15s ease-out;font-family:soleil, sans-serif;font-style:normal;line-height:1.25rem;letter-spacing:0;text-align:left;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;max-width:15rem}:host(.rs-tooltip--active){opacity:1}.rs-tooltip::after{content:"";height:0;width:0;position:absolute;pointer-events:none;border-color:transparent;border-width:0.75rem;border-style:solid}.rs-tooltip--top::after{top:100%;left:50%;margin-left:-0.75rem;border-top-color:var(--rs-color-heading)}.rs-tooltip--right::after{right:100%;top:50%;margin-top:-0.75rem;border-right-color:var(--rs-color-heading)}.rs-tooltip--bottom::after{bottom:100%;left:50%;margin-left:-0.75rem;border-bottom-color:var(--rs-color-heading)}.rs-tooltip--left::after{left:100%;top:50%;margin-top:-0.75rem;border-left-color:var(--rs-color-heading)}::slotted(.rs-tooltip__heading){font-family:soleil, sans-serif !important;font-size:0.875rem !important;font-style:normal !important;line-height:1.25rem !important;letter-spacing:0 !important;text-align:left !important;font-weight:700 !important;margin:0 !important;padding:0 !important}::slotted(.rs-tooltip__caption){font-family:soleil, sans-serif !important;font-size:0.875rem !important;font-style:normal !important;font-weight:400 !important;line-height:1.25rem !important;letter-spacing:0 !important;text-align:left !important;margin:0.5rem 0 0 !important;padding:0 !important}'}}]);
|
|
13
|
+
//# sourceMappingURL=447.index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"447.index.js","mappings":";;;;;;;;;;;iLAEA,MAEMA,EAAY,MAChBC,YAAYC,IACV,IAAAC,GAAiBC,KAAMF,GAIvBE,KAAKC,MAAQ,MACbD,KAAKE,eAAiB,MAExBC,cACEH,KAAKE,eAAiBF,KAAKC,MAE7BG,SACE,OAAQ,IAAAC,GAAE,OAAQ,CAAEC,MAAO,0BAA0BN,KAAKE,mBAAoB,IAAAG,GAAE,MAAO,CAAEC,MAAO,mCAAoC,IAAAD,GAAE,OAAQ,QAEhJ,sBAAwB,MAAO,CAC7B,MAAS,CAAC,kBAGdT,EAAUW,MArBW","sources":["webpack://DomainChecker/./node_modules/@rocketspark/flint-ui/dist/esm/rs-tool-tip.entry.js"],"sourcesContent":["import { r as registerInstance, h } from './index-d4fae449.js';\n\nconst rsToolTipCss = \":host{position:absolute;z-index:1000;padding:0.875rem 0.625rem;font-size:0.875rem;font-weight:200;color:#fff;background-color:var(--rs-color-heading);border-radius:0.1875rem;pointer-events:none;user-select:none;left:-9999rem;opacity:0;transition:opacity 0.15s ease-out;font-family:soleil, sans-serif;font-style:normal;line-height:1.25rem;letter-spacing:0;text-align:left;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;max-width:15rem}:host(.rs-tooltip--active){opacity:1}.rs-tooltip::after{content:\\\"\\\";height:0;width:0;position:absolute;pointer-events:none;border-color:transparent;border-width:0.75rem;border-style:solid}.rs-tooltip--top::after{top:100%;left:50%;margin-left:-0.75rem;border-top-color:var(--rs-color-heading)}.rs-tooltip--right::after{right:100%;top:50%;margin-top:-0.75rem;border-right-color:var(--rs-color-heading)}.rs-tooltip--bottom::after{bottom:100%;left:50%;margin-left:-0.75rem;border-bottom-color:var(--rs-color-heading)}.rs-tooltip--left::after{left:100%;top:50%;margin-top:-0.75rem;border-left-color:var(--rs-color-heading)}::slotted(.rs-tooltip__heading){font-family:soleil, sans-serif !important;font-size:0.875rem !important;font-style:normal !important;line-height:1.25rem !important;letter-spacing:0 !important;text-align:left !important;font-weight:700 !important;margin:0 !important;padding:0 !important}::slotted(.rs-tooltip__caption){font-family:soleil, sans-serif !important;font-size:0.875rem !important;font-style:normal !important;font-weight:400 !important;line-height:1.25rem !important;letter-spacing:0 !important;text-align:left !important;margin:0.5rem 0 0 !important;padding:0 !important}\";\n\nconst RsToolTip = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n /**\n * The side of the tooltip where you want the arrow to appear\n */\n this.arrow = 'top';\n this.arrowDirection = 'top';\n }\n arrowChange() {\n this.arrowDirection = this.arrow; // disabled changed, emit change in styling\n }\n render() {\n return (h(\"host\", { class: `rs-tooltip rs-tooltip--${this.arrowDirection}` }, h(\"div\", { class: 'rs-tooltip__caption__container' }, h(\"slot\", null))));\n }\n static get watchers() { return {\n \"arrow\": [\"arrowChange\"]\n }; }\n};\nRsToolTip.style = rsToolTipCss;\n\nexport { RsToolTip as rs_tool_tip };\n"],"names":["RsToolTip","constructor","hostRef","r","this","arrow","arrowDirection","arrowChange","render","h","class","style"],"sourceRoot":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* @rocketspark/domain-checker v0.0.01
|
|
4
|
+
* https://github.com/rocketspark/domain-checker.git
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Lee Reichardt and project contributors.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the no license license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
"use strict";(self.webpackChunkDomainChecker=self.webpackChunkDomainChecker||[]).push([[482],{9482:function(t,e,s){s.r(e),s.d(e,{rs_list_item:function(){return r}});var i=s(492);const r=class{constructor(t){(0,i.r)(this,t),this.listSelector=null,this.error=!1,this.selectable=!1,this.complete=!1,this.showArrow=!0,this.selected=!1,this.updateState=()=>{null!==this.listSelector&&(this.selected=this.listSelector.value===this.value,this.showArrow=!this.selected,this.complete=this.selected)},this.onClick=()=>{this.listSelector.value=this.value}}connectedCallback(){this.listSelector=this.el.closest("rs-list-select"),null!==this.listSelector&&(this.updateState(),this.listSelector.addEventListener("rsChange",this.updateState))}disconnectedCallback(){null!==this.listSelector&&(this.listSelector.removeEventListener("rsChange",this.updateState),this.listSelector=null)}render(){const t=this.complete?(0,i.h)("rs-icon",{class:"rs-list-item__icon--circle-tick",name:"circle-tick",color:"primary-700",size:24}):"",e=this.showArrow?(0,i.h)("rs-icon",{class:"rs-list-item__icon--arrow-right",name:"chevron-right",color:"grey-700",size:15}):"";return(0,i.h)(i.H,{class:{"rs-list-item--error":this.error,"rs-list-item--selectable":this.selectable,"rs-list-item--selected":this.selected,"rs-list-item--complete":this.complete},onClick:this.onClick},(0,i.h)("div",{class:"rs-list-item__start"},(0,i.h)("slot",{name:"start"}),(0,i.h)("slot",null)),(0,i.h)("div",{class:"rs-list-item__end"},(0,i.h)("slot",{name:"end"}),t,e))}get el(){return(0,i.g)(this)}};r.style=':host{display:flex;align-items:center;justify-content:space-between;box-shadow:inset 0 0 0 1px var(--rs-color-grey-light);border-radius:0.4375rem;padding:1.25rem 1.5625rem;box-sizing:border-box;line-height:1.3125rem;max-height:3.875rem;height:3.875rem;transition:box-shadow 0.2s cubic-bezier(0, 0.55, 0.45, 1)}:host(.rs-list-item--error){box-shadow:inset 0 0 0 1px var(--rs-color-negative)}:host(.rs-list-item--selectable){cursor:pointer}:host(.rs-list-item--selected),:host(.rs-list-item--complete){box-shadow:inset 0 0 0 0.125rem var(--rs-color-primary)}:host(.rs-list-item--selectable:hover){box-shadow:inset 0 0 0 0.125rem var(--rs-color-grey-300)}:host(.rs-list-item--selectable) .rs-list-item__icon--arrow-right{transform:translateX(0);transition:transform 0.5s cubic-bezier(0, 0.55, 0.45, 1)}:host(.rs-list-item--selectable:hover) .rs-list-item__icon--arrow-right{transform:translateX(0.625rem)}:host(.rs-list-item--selectable.rs-list-item--selected:hover){box-shadow:inset 0 0 0 0.125rem var(--rs-color-primary)}.rs-list-item__start{display:flex;align-items:center;justify-content:start}::slotted([slot="start"]){margin-right:0.5rem}.rs-list-item__end{display:flex;align-items:center}.rs-list-item__end rs-icon{margin-left:0.9375rem}'}}]);
|
|
13
|
+
//# sourceMappingURL=482.index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"482.index.js","mappings":";;;;;;;;;;;kLAEA,MAEMA,EAAa,MACjBC,YAAYC,IACV,IAAAC,GAAiBC,KAAMF,GACvBE,KAAKC,aAAe,KAIpBD,KAAKE,OAAQ,EAIbF,KAAKG,YAAa,EAIlBH,KAAKI,UAAW,EAIhBJ,KAAKK,WAAY,EAIjBL,KAAKM,UAAW,EAIhBN,KAAKO,YAAc,KACS,OAAtBP,KAAKC,eACPD,KAAKM,SAAWN,KAAKC,aAAaO,QAAUR,KAAKQ,MACjDR,KAAKK,WAAaL,KAAKM,SACvBN,KAAKI,SAAWJ,KAAKM,WAGzBN,KAAKS,QAAU,KACbT,KAAKC,aAAaO,MAAQR,KAAKQ,OAGnCE,oBACEV,KAAKC,aAAeD,KAAKW,GAAGC,QAAQ,kBACV,OAAtBZ,KAAKC,eACPD,KAAKO,cACLP,KAAKC,aAAaY,iBAAiB,WAAYb,KAAKO,cAGxDO,uBAC4B,OAAtBd,KAAKC,eACPD,KAAKC,aAAac,oBAAoB,WAAYf,KAAKO,aACvDP,KAAKC,aAAe,MAGxBe,SACE,MAAMC,EAAejB,KAAKI,UAAY,IAAAc,GAAE,UAAW,CAAEC,MAAO,kCAAmCC,KAAM,cAAeC,MAAO,cAAeC,KAAM,KAAS,GACnJC,EAAiBvB,KAAKK,WAAa,IAAAa,GAAE,UAAW,CAAEC,MAAO,kCAAmCC,KAAM,gBAAiBC,MAAO,WAAYC,KAAM,KAAS,GAC3J,OAAQ,IAAAJ,GAAE,EAAAM,EAAM,CAAEL,MAAO,CACrB,sBAAuBnB,KAAKE,MAC5B,2BAA4BF,KAAKG,WACjC,yBAA0BH,KAAKM,SAC/B,yBAA0BN,KAAKI,UAC9BK,QAAST,KAAKS,UAAW,IAAAS,GAAE,MAAO,CAAEC,MAAO,wBAAyB,IAAAD,GAAE,OAAQ,CAAEE,KAAM,WAAY,IAAAF,GAAE,OAAQ,QAAQ,IAAAA,GAAE,MAAO,CAAEC,MAAO,sBAAuB,IAAAD,GAAE,OAAQ,CAAEE,KAAM,QAAUH,EAAcM,IAE9M,SAAW,OAAO,IAAAE,GAAWzB,QAE/BJ,EAAW8B,MAjEW","sources":["webpack://DomainChecker/./node_modules/@rocketspark/flint-ui/dist/esm/rs-list-item.entry.js"],"sourcesContent":["import { r as registerInstance, h, H as Host, g as getElement } from './index-d4fae449.js';\n\nconst rsListItemCss = \":host{display:flex;align-items:center;justify-content:space-between;box-shadow:inset 0 0 0 1px var(--rs-color-grey-light);border-radius:0.4375rem;padding:1.25rem 1.5625rem;box-sizing:border-box;line-height:1.3125rem;max-height:3.875rem;height:3.875rem;transition:box-shadow 0.2s cubic-bezier(0, 0.55, 0.45, 1)}:host(.rs-list-item--error){box-shadow:inset 0 0 0 1px var(--rs-color-negative)}:host(.rs-list-item--selectable){cursor:pointer}:host(.rs-list-item--selected),:host(.rs-list-item--complete){box-shadow:inset 0 0 0 0.125rem var(--rs-color-primary)}:host(.rs-list-item--selectable:hover){box-shadow:inset 0 0 0 0.125rem var(--rs-color-grey-300)}:host(.rs-list-item--selectable) .rs-list-item__icon--arrow-right{transform:translateX(0);transition:transform 0.5s cubic-bezier(0, 0.55, 0.45, 1)}:host(.rs-list-item--selectable:hover) .rs-list-item__icon--arrow-right{transform:translateX(0.625rem)}:host(.rs-list-item--selectable.rs-list-item--selected:hover){box-shadow:inset 0 0 0 0.125rem var(--rs-color-primary)}.rs-list-item__start{display:flex;align-items:center;justify-content:start}::slotted([slot=\\\"start\\\"]){margin-right:0.5rem}.rs-list-item__end{display:flex;align-items:center}.rs-list-item__end rs-icon{margin-left:0.9375rem}\";\n\nconst RsListItem = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.listSelector = null;\n /**\n * Error state\n */\n this.error = false;\n /**\n * Determines whether list item can be selected inside a list selector\n */\n this.selectable = false;\n /**\n * Displays a blue tick when list item is selected\n */\n this.complete = false;\n /**\n * Shows a right arrow icon to show that it's clickable\n */\n this.showArrow = true;\n /**\n * Determines if the item is selected or not inside a list selector\n */\n this.selected = false;\n /**\n * Updates checked state\n */\n this.updateState = () => {\n if (this.listSelector !== null) {\n this.selected = this.listSelector.value === this.value;\n this.showArrow = !this.selected;\n this.complete = this.selected;\n }\n };\n this.onClick = () => {\n this.listSelector.value = this.value;\n };\n }\n connectedCallback() {\n this.listSelector = this.el.closest('rs-list-select');\n if (this.listSelector !== null) {\n this.updateState();\n this.listSelector.addEventListener('rsChange', this.updateState);\n }\n }\n disconnectedCallback() {\n if (this.listSelector !== null) {\n this.listSelector.removeEventListener('rsChange', this.updateState);\n this.listSelector = null;\n }\n }\n render() {\n const completeIcon = this.complete ? (h(\"rs-icon\", { class: \"rs-list-item__icon--circle-tick\", name: \"circle-tick\", color: \"primary-700\", size: 24 })) : '';\n const rightArrowIcon = this.showArrow ? (h(\"rs-icon\", { class: \"rs-list-item__icon--arrow-right\", name: \"chevron-right\", color: \"grey-700\", size: 15 })) : '';\n return (h(Host, { class: {\n 'rs-list-item--error': this.error,\n 'rs-list-item--selectable': this.selectable,\n 'rs-list-item--selected': this.selected,\n 'rs-list-item--complete': this.complete,\n }, onClick: this.onClick }, h(\"div\", { class: \"rs-list-item__start\" }, h(\"slot\", { name: \"start\" }), h(\"slot\", null)), h(\"div\", { class: \"rs-list-item__end\" }, h(\"slot\", { name: \"end\" }), completeIcon, rightArrowIcon)));\n }\n get el() { return getElement(this); }\n};\nRsListItem.style = rsListItemCss;\n\nexport { RsListItem as rs_list_item };\n"],"names":["RsListItem","constructor","hostRef","r","this","listSelector","error","selectable","complete","showArrow","selected","updateState","value","onClick","connectedCallback","el","closest","addEventListener","disconnectedCallback","removeEventListener","render","completeIcon","h","class","name","color","size","rightArrowIcon","H","g","style"],"sourceRoot":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* @rocketspark/domain-checker v0.0.01
|
|
4
|
+
* https://github.com/rocketspark/domain-checker.git
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Lee Reichardt and project contributors.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the no license license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
"use strict";(self.webpackChunkDomainChecker=self.webpackChunkDomainChecker||[]).push([[525],{2525:function(t,e,l){l.r(e),l.d(e,{rs_label:function(){return a}});var s=l(492);const a=class{constructor(t){(0,s.r)(this,t),this.rsItem=(0,s.c)(this,"rsItem",7),this.color="grey",this.position="floating"}emitRsItem(){this.rsItem.emit({[`label-${this.position}`]:null!==this.position,"has-label":!0})}render(){const t=this.position;return this.emitRsItem(),(0,s.h)(s.H,{class:{[`label-${t}`]:null!==t},style:{color:void 0!==this.color?`var(--rs-color-${this.color})`:""}},(0,s.h)("slot",null))}get el(){return(0,s.g)(this)}};a.style="rs-label{display:block;font-family:Soleil, sans-serif;font-style:normal;font-weight:600;font-size:0.75rem;color:var(--rs-color-grey);line-height:0.8125rem;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;pointer-events:none;margin-bottom:0.3125rem}.item-has-focus rs-label{color:var(--rs-color-primary) !important}rs-label.label-floating{transform:translate3d(0, 2rem, 0);transform-origin:left top;transition:transform 0.25s ease-in-out, font-size 0.25s ease-in-out;font-size:0.875rem;font-weight:normal;padding-left:0.875rem}.item-has-focus rs-label.label-floating,.item-has-value rs-label.label-floating{transform:translate3d(0, 0, 0);font-size:0.75rem;font-weight:600}.item-has-max rs-label.label-fixed,.item-has-max rs-label.label-floating{position:absolute;top:0}.item-has-error rs-label{color:var(--rs-color-negative) !important}.item-input-has-start-slot rs-label.label-floating,.item-textarea-has-start-slot rs-label.label-floating{padding-left:2.375rem}.item-input-has-start-slot.item-has-focus rs-label.label-floating,.item-input-has-start-slot.item-has-value rs-label.label-floating,.item-textarea-has-start-slot.item-has-focus rs-label.label-floating,.item-textarea-has-start-slot.item-has-value rs-label.label-floating{transform:translate3d(-1.375rem, 0, 0);font-size:0.75rem}"}}]);
|
|
13
|
+
//# sourceMappingURL=525.index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"525.index.js","mappings":";;;;;;;;;;;8KAEA,MAEMA,EAAQ,MACZC,YAAYC,IACV,IAAAC,GAAiBC,KAAMF,GACvBE,KAAKC,QAAS,IAAAC,GAAYF,KAAM,SAAU,GAK1CA,KAAKG,MAAQ,OAKbH,KAAKI,SAAW,WAElBC,aACEL,KAAKC,OAAOK,KAAK,CACf,CAAC,SAASN,KAAKI,YAA+B,OAAlBJ,KAAKI,SACjC,aAAa,IAMjBG,SACE,MAAMH,EAAWJ,KAAKI,SAEtB,OADAJ,KAAKK,cACG,IAAAG,GAAE,EAAAC,EAAM,CAAEC,MAAO,CACrB,CAAC,SAASN,KAA0B,OAAbA,GACtBO,MAAO,CACRR,WAAsBS,IAAfZ,KAAKG,MAAsB,kBAAkBH,KAAKG,SAAW,MACjE,IAAAK,GAAE,OAAQ,OAEnB,SAAW,OAAO,IAAAK,GAAWb,QAE/BJ,EAAMe,MArCW","sources":["webpack://DomainChecker/./node_modules/@rocketspark/flint-ui/dist/esm/rs-label.entry.js"],"sourcesContent":["import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-d4fae449.js';\n\nconst labelCss = \"rs-label{display:block;font-family:Soleil, sans-serif;font-style:normal;font-weight:600;font-size:0.75rem;color:var(--rs-color-grey);line-height:0.8125rem;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;pointer-events:none;margin-bottom:0.3125rem}.item-has-focus rs-label{color:var(--rs-color-primary) !important}rs-label.label-floating{transform:translate3d(0, 2rem, 0);transform-origin:left top;transition:transform 0.25s ease-in-out, font-size 0.25s ease-in-out;font-size:0.875rem;font-weight:normal;padding-left:0.875rem}.item-has-focus rs-label.label-floating,.item-has-value rs-label.label-floating{transform:translate3d(0, 0, 0);font-size:0.75rem;font-weight:600}.item-has-max rs-label.label-fixed,.item-has-max rs-label.label-floating{position:absolute;top:0}.item-has-error rs-label{color:var(--rs-color-negative) !important}.item-input-has-start-slot rs-label.label-floating,.item-textarea-has-start-slot rs-label.label-floating{padding-left:2.375rem}.item-input-has-start-slot.item-has-focus rs-label.label-floating,.item-input-has-start-slot.item-has-value rs-label.label-floating,.item-textarea-has-start-slot.item-has-focus rs-label.label-floating,.item-textarea-has-start-slot.item-has-value rs-label.label-floating{transform:translate3d(-1.375rem, 0, 0);font-size:0.75rem}\";\n\nconst Label = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.rsItem = createEvent(this, \"rsItem\", 7);\n /**\n * (optional)\n * Possible values are: primary or grey.\n */\n this.color = 'grey';\n /**\n * Possible values are: floating or fixed.\n * This determines where and how the label behaves inside an item\n */\n this.position = 'floating';\n }\n emitRsItem() {\n this.rsItem.emit({\n [`label-${this.position}`]: this.position !== null,\n 'has-label': true\n });\n }\n /**\n * This renders the component\n */\n render() {\n const position = this.position;\n this.emitRsItem();\n return (h(Host, { class: {\n [`label-${position}`]: position !== null,\n }, style: {\n color: this.color !== undefined ? `var(--rs-color-${this.color})` : ''\n } }, h(\"slot\", null)));\n }\n get el() { return getElement(this); }\n};\nLabel.style = labelCss;\n\nexport { Label as rs_label };\n"],"names":["Label","constructor","hostRef","r","this","rsItem","c","color","position","emitRsItem","emit","render","h","H","class","style","undefined","g"],"sourceRoot":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* @rocketspark/domain-checker v0.0.01
|
|
4
|
+
* https://github.com/rocketspark/domain-checker.git
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Lee Reichardt and project contributors.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the no license license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
"use strict";(self.webpackChunkDomainChecker=self.webpackChunkDomainChecker||[]).push([[536],{8536:function(e,t,i){i.r(t),i.d(t,{rs_column_header:function(){return n},rs_side_drawer_header:function(){return s},rs_side_drawer_item:function(){return r},rs_side_drawer_item_content:function(){return c}});var o=i(492);const n=class{constructor(e){(0,o.r)(this,e),this.color="secondary"}render(){return(0,o.h)(o.H,{style:{color:void 0!==this.color?`var(--rs-color-${this.color})`:""}},(0,o.h)("slot",null))}};n.style=":host{display:block;font-family:soleil, sans-serif;font-weight:600;font-style:normal;line-height:1.4em;font-size:0.8125rem;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}";const s=class{constructor(e){(0,o.r)(this,e),this.rsCancel=(0,o.c)(this,"rsCancel",7),this.rsSave=(0,o.c)(this,"rsSave",7),this.disabled=!1,this.panelOpen=!1,this.isDirty=!1,this.save=()=>{this.disabled||this.rsSave.emit()},this.cancel=()=>{this.disabled||this.rsCancel.emit()}}render(){return(0,o.h)(o.H,null,(0,o.h)("rs-item",{class:"heading-container",flex:!0,"flex-direction":"column","justify-content":"center"},(0,o.h)("rs-header",{heading:"4"},(0,o.h)("slot",{name:"heading"})),(0,o.h)("rs-subtitle",{subtitle:"2",color:"grey",class:"subtitle"},(0,o.h)("slot",{name:"sub-heading"}))),(0,o.h)("div",{class:{"button-container":!0,"button-container--hidden":!this.isDirty}},(0,o.h)("rs-button",{loading:this.loading,class:"save",size:"small",color:"primary",onClick:this.save,disabled:this.disabled},"Save changes"),(0,o.h)("rs-button",{class:"cancel",size:"small",color:"grey-light",onClick:this.cancel,disabled:this.disabled},"Cancel")))}};s.style=":host{display:inline-flex;flex-direction:column;width:16.25rem;margin:1.5625rem;box-sizing:border-box}.heading-container{margin-bottom:1.875rem;margin-top:1.5625rem}.subtitle{margin-top:0.3125rem;text-transform:uppercase}.button-container{display:flex;height:2.25rem;transition:height 0.15s ease-out;overflow:hidden}.button-container--hidden{height:0}.save{flex-grow:1}.cancel{margin-left:0.625rem}";const r=class{constructor(e){(0,o.r)(this,e),this.icon="chevron-right"}render(){return(0,o.h)(o.H,null,(0,o.h)("div",{class:"container"},(0,o.h)("div",{class:"header"},(0,o.h)("rs-content",{body:1,color:"secondary"},this.heading),(0,o.h)("rs-icon",{name:this.icon,color:"grey"}))))}};function l(){const e=window.requestAnimationFrame||window.setImmediate||function(e){return setTimeout(e,0)};function t(e){Object.defineProperty(e,"data-simple-scrollbar",{value:new o(e),configurable:!0})}function i(e){Object.prototype.hasOwnProperty.call(e,"data-simple-scrollbar")&&(e["data-simple-scrollbar"].unBind(),delete e["data-simple-scrollbar"])}function o(t){for(this.target=t,this.content=t.firstElementChild,this.direction=window.getComputedStyle(this.target).direction,this.bar='<div class="ss-scroll">',this.mB=this.moveBar.bind(this),this.wrapper=document.createElement("div"),this.wrapper.setAttribute("class","ss-wrapper"),this.el=document.createElement("div"),this.el.setAttribute("class","ss-content"),"rtl"===this.direction&&this.el.classList.add("rtl"),this.wrapper.appendChild(this.el);this.target.firstChild;)this.el.appendChild(this.target.firstChild);this.target.appendChild(this.wrapper),this.target.insertAdjacentHTML("beforeend",this.bar),this.bar=this.target.lastChild,function(t,i){let o;function n(t){const n=t.pageY-o;o=t.pageY,e((function(){i.el.scrollTop+=n/i.scrollRatio}))}function s(){t.classList.remove("ss-grabbed"),document.body.classList.remove("ss-grabbed"),document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",s)}t.addEventListener("mousedown",(function(e){return o=e.pageY,t.classList.add("ss-grabbed"),document.body.classList.add("ss-grabbed"),document.addEventListener("mousemove",n),document.addEventListener("mouseup",s),!1}))}(this.bar,this),this.moveBar(),window.addEventListener("resize",this.mB),this.el.addEventListener("scroll",this.mB),this.el.addEventListener("mouseenter",this.mB),this.target.classList.add("ss-container");const i=window.getComputedStyle(t);"0px"===i.height&&"0px"!==i["max-height"]&&(t.style.height=i["max-height"]),this.unBind=function(){window.removeEventListener("resize",this.mB),this.el.removeEventListener("scroll",this.mB),this.el.removeEventListener("mouseenter",this.mB),this.target.classList.remove("ss-container"),this.target.insertBefore(this.content,this.wrapper),this.target.removeChild(this.wrapper),this.target.removeChild(this.bar),this.bar=null}}function n(e,t=!1,i=!1){const o=new CustomEvent("customScroll",{detail:{topScrollable:t,bottomScrollable:i}});null==e||e.dispatchEvent(o)}function s(){const e=document.querySelectorAll("*[ss-container]");for(let i=0;i<e.length;i++)t(e[i])}return o.prototype={moveBar:function(){const t=this.el.scrollHeight,i=this.el.clientHeight,o=this;this.scrollRatio=i/t;const s="rtl"===o.direction?o.target.clientWidth-o.bar.clientWidth+18:-1*(o.target.clientWidth-o.bar.clientWidth);e((function(){o.scrollRatio>=1?o.bar.classList.add("ss-hidden"):(o.bar.classList.remove("ss-hidden"),o.bar.style.cssText="height:"+Math.max(100*o.scrollRatio,10)+"%; top:"+o.el.scrollTop/t*100+"%;right:"+s+"px;");if(0===o.el.scrollTop&&o.scrollRatio<1)n(o.target,!1,!0);else{const e=o.el.scrollTop>0,t=o.el.scrollHeight-o.el.scrollTop>i;n(o.target,e,t)}}))}},document.addEventListener("DOMContentLoaded",s),o.initEl=t,o.initAll=s,o.unbindEl=i,o.unbindAll=function(){const e=document.querySelectorAll(".ss-container");for(let t=0;t<e.length;t++)i(e[t])},o}r.style=":host{display:block}.header{display:flex;align-items:center;justify-content:space-between}.container{background:var(--rs-color-white);box-shadow:0 1px 0.25rem rgba(var(--rs-color-grey-light-rgb), 0.5);border-radius:0.625rem;padding:1rem 1.25rem;cursor:pointer}";const c=class{constructor(e){(0,o.r)(this,e),this.closeMoreContent=(0,o.c)(this,"closeMoreContent",7),this.closeContent=(0,o.c)(this,"closeContent",7),this.itemOpen=!1,this.moreContentOpen=!1,this.contentLevel=1,this.openLevel=1,this.topScrollable=!1,this.bottomScrollable=!1,this.close=()=>{this.contentLevel>1?this.closeMoreContent.emit({level:this.contentLevel}):this.closeContent.emit()},this.isBackgroundLevel=()=>this.openLevel>this.contentLevel,this.isOpen=()=>this.openLevel>=this.contentLevel}watchItemOpen(e){e?(l().initEl(this.contentScroller),this.contentScroller.addEventListener("customScroll",(e=>{this.topScrollable=e.detail.topScrollable,this.bottomScrollable=e.detail.bottomScrollable}))):l().unbindEl(this.contentScroller)}render(){return(0,o.h)(o.H,{class:{"item-content--open":this.itemOpen}},(0,o.h)("div",{class:{"item-content":!0,"item-content--open":this.isOpen(),"item-content--level-2":this.contentLevel>1,"item-content--is-background":this.isBackgroundLevel(),"item-content--scrollable":this.topScrollable||this.bottomScrollable,"item-content--top-scrollable":this.topScrollable,"item-content--bottom-scrollable":this.bottomScrollable}},(0,o.h)("div",{class:{container:!0,"container--background-level":this.isBackgroundLevel()}},this.contentLevel>1?(0,o.h)("rs-icon",{name:"x",color:"grey",class:"close",onClick:this.closeMoreContent.emit}):"",(0,o.h)("div",{class:"header-container"},(0,o.h)("rs-header",{heading:"4"},this.heading),(0,o.h)("rs-subtitle",{subtitle:"2",color:"grey",class:"subtitle"},this.subHeading)),(0,o.h)("div",{class:"content-container",ref:e=>this.contentScroller=e},(0,o.h)("div",{class:"content-container__inner",style:{"padding-bottom":"20px"}},(0,o.h)("slot",null)))),(0,o.h)("div",{class:"close-container"},(0,o.h)("rs-button",{onClick:this.close,class:"close-item",color:"primary",expand:"block"},this.contentLevel>1?"Back":"Close"))))}static get watchers(){return{itemOpen:["watchItemOpen"]}}};c.style=".close{width:2rem;height:2rem;box-shadow:inset 0 0 0 1px var(--rs-color-grey-light);border-radius:2rem;justify-content:center;align-items:center;font-size:1rem;cursor:pointer;display:flex;position:absolute;top:1rem;right:1rem;transition:box-shadow 0.15s cubic-bezier(0, 0.55, 0.45, 1), opacity 0.15s ease-out;opacity:1;z-index:1}.close--hidden{opacity:0;pointer-events:none}.close:hover{box-shadow:inset 0 0 0 1px var(--rs-color-grey)}:host{display:block}.item-content{height:100%;position:absolute;width:100%;top:50%;opacity:0;transition:opacity 150ms cubic-bezier(0, 0.55, 0.45, 1) 200ms, top 500ms cubic-bezier(0, 0.55, 0.45, 1);pointer-events:none;display:flex;flex-direction:column}.item-content--open{top:3rem;opacity:100%;pointer-events:auto}.item-content--level-2{top:25%;transition:opacity 150ms cubic-bezier(0, 0.55, 0.45, 1), top 500ms cubic-bezier(0, 0.55, 0.45, 1)}.item-content--open.item-content--level-2{top:1.5625rem}.item-content--open.item-content--is-background.item-content--level-2{top:3rem}.subtitle{margin-top:0.3125rem;text-transform:uppercase}.container{height:100%;background-color:var(--rs-color-white);border-radius:0.9375rem 0.9375rem 0 0;box-shadow:0 0.3125rem 0.9375rem rgb(70 74 83 / 25%);box-sizing:border-box;padding-top:2.5rem;text-align:center;transform-origin:50% 0;transition:top 500ms cubic-bezier(0, 0.55, 0.45, 1), transform 500ms cubic-bezier(0, 0.55, 0.45, 1);min-height:0}.container--background-level{top:3rem;transform:scale(0.8) translateY(-2.8125rem)}.content-container{box-sizing:border-box;padding:1.5rem;text-align:left;height:100%}::slotted(* div){display:flex;flex-direction:column;gap:1.875rem}.item-content--scrollable .content-container__inner{padding-top:1.5rem;margin-bottom:1.5rem}.item-content--scrollable .content-container{margin-top:-1.5rem}.header-container{padding-top:2.5rem;padding-bottom:1.5rem;margin-top:-2.5rem;border-radius:0.9375rem 0.9375rem 0 0;transition:box-shadow 0.4s cubic-bezier(0, 0.55, 0.45, 1)}.item-content--top-scrollable .header-container{box-shadow:0 1px 0.9375rem rgb(70 74 83 / 25%)}.close-container{z-index:2;min-height:0;padding:2rem 1.5rem;background:var(--rs-color-white);flex-basis:6.625rem;transition:box-shadow 0.4s cubic-bezier(0, 0.55, 0.45, 1)}.item-content--bottom-scrollable .close-container{box-shadow:0 1px 0.9375rem rgb(70 74 83 / 25%)}.item-content--open.item-content--level-2 .close-container{flex-basis:4.875rem}.ss-container{height:99%}.ss-wrapper{overflow:hidden;width:100%;height:100%;position:relative;z-index:1;float:left}.ss-content{height:100%;width:calc(100% + 1.125rem);padding:0 1.125rem 0 0;position:relative;overflow-x:auto;overflow-y:scroll;box-sizing:border-box;-ms-overflow-style:none;scrollbar-width:none;}.ss-content::-webkit-scrollbar{display:none}.ss-content.rtl{width:calc(100% + 1.125rem);right:auto}.ss-scroll{position:relative;background:rgb(0 0 0 / 10%);width:0.5625rem;border-radius:0.25rem;top:0;z-index:2;cursor:pointer;opacity:0;transition:opacity 0.25s linear;margin-left:-1.875rem}.ss-hidden{display:none}.ss-container:hover .ss-scroll,.ss-container:active .ss-scroll{opacity:100%}.ss-grabbed{user-select:none}"}}]);
|
|
13
|
+
//# sourceMappingURL=536.index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"536.index.js","mappings":";;;;;;;;;;;2TAEA,MAEMA,EAAe,MACnBC,YAAYC,IACV,IAAAC,GAAiBC,KAAMF,GAIvBE,KAAKC,MAAQ,YAEfC,SACE,OAAQ,IAAAC,GAAE,EAAAC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,aAAe,EAC7C,8BAA+B/G,KAAKmH,oBACpC,2BAA4BnH,KAAKkF,eAAiBlF,KAAKmF,iBACvD,+BAAgCnF,KAAKkF,cACrC,kCAAmClF,KAAKmF,oBACrC,IAAAhF,GAAE,MAAO,CAAEc,MAAO,CACrB,WAAa,EACb,8BAA+BjB,KAAKmH,sBACjCnH,KAAK+G,aAAe,GACvB,IAAA5G,GAAE,UAAW,CAAEiB,KAAM,IAAKnB,MAAO,OAAQgB,MAAO,QAASO,QAASxB,KAAK2G,iBAAiB5F,OACxF,IAAI,IAAAZ,GAAE,MAAO,CAAEc,MAAO,qBAAsB,IAAAd,GAAE,YAAa,CAAEgB,QAAS,KAAOnB,KAAKmB,UAAU,IAAAhB,GAAE,cAAe,CAAEkB,SAAU,IAAKpB,MAAO,OAAQgB,MAAO,YAAcjB,KAAKyH,cAAc,IAAAtH,GAAE,MAAO,CAAEc,MAAO,oBAAqByG,IAAMvF,GAAMnC,KAAKuH,gBAAkBpF,IAAO,IAAAhC,GAAE,MAAO,CAAEc,MAAO,2BAA4BZ,MAAO,CAAE,iBAAkB,UAAY,IAAAF,GAAE,OAAQ,UAAU,IAAAA,GAAE,MAAO,CAAEc,MAAO,oBAAqB,IAAAd,GAAE,YAAa,CAAEqB,QAASxB,KAAKiH,MAAOhG,MAAO,aAAchB,MAAO,UAAW0H,OAAQ,SAAW3H,KAAK+G,aAAe,EAAI,OAAS,YAE7hB,sBAAwB,MAAO,CAC7B,SAAY,CAAC,oBAGjBL,EAAwBrG,MA5EW","sources":["webpack://DomainChecker/./node_modules/@rocketspark/flint-ui/dist/esm/rs-column-header_4.entry.js"],"sourcesContent":["import { r as registerInstance, h, H as Host, c as createEvent } from './index-d4fae449.js';\n\nconst columnHeaderCss = \":host{display:block;font-family:soleil, sans-serif;font-weight:600;font-style:normal;line-height:1.4em;font-size:0.8125rem;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}\";\n\nconst ColumnHeader = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n /**\n * Color of the column header text\n */\n this.color = 'secondary';\n }\n render() {\n return (h(Host, { style: {\n color: this.color !== undefined ? `var(--rs-color-${this.color})` : ''\n } }, h(\"slot\", null)));\n }\n};\nColumnHeader.style = columnHeaderCss;\n\nconst rsSideDrawerHeaderCss = \":host{display:inline-flex;flex-direction:column;width:16.25rem;margin:1.5625rem;box-sizing:border-box}.heading-container{margin-bottom:1.875rem;margin-top:1.5625rem}.subtitle{margin-top:0.3125rem;text-transform:uppercase}.button-container{display:flex;height:2.25rem;transition:height 0.15s ease-out;overflow:hidden}.button-container--hidden{height:0}.save{flex-grow:1}.cancel{margin-left:0.625rem}\";\n\nconst RsSideDrawerHeader = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.rsCancel = createEvent(this, \"rsCancel\", 7);\n this.rsSave = createEvent(this, \"rsSave\", 7);\n /**\n * If this is set to true, the save/cancel buttons are disabled\n */\n this.disabled = false;\n /**\n * True if there is a panel open as this will set the header to a different look\n */\n this.panelOpen = false;\n /**\n * This is used to denote whether to show the save/cancel button. Meaning there has been changes made\n */\n this.isDirty = false;\n this.save = () => {\n if (!this.disabled) {\n this.rsSave.emit();\n }\n };\n this.cancel = () => {\n if (!this.disabled) {\n this.rsCancel.emit();\n }\n };\n }\n render() {\n return (h(Host, null, h(\"rs-item\", { class: \"heading-container\", flex: true, \"flex-direction\": \"column\", \"justify-content\": \"center\" }, h(\"rs-header\", { heading: \"4\" }, h(\"slot\", { name: \"heading\" })), h(\"rs-subtitle\", { subtitle: \"2\", color: \"grey\", class: \"subtitle\" }, h(\"slot\", { name: \"sub-heading\" }))), h(\"div\", { class: {\n 'button-container': true,\n 'button-container--hidden': !this.isDirty,\n } }, h(\"rs-button\", { loading: this.loading, class: \"save\", size: \"small\", color: \"primary\", onClick: this.save, disabled: this.disabled }, \"Save changes\"), h(\"rs-button\", { class: \"cancel\", size: \"small\", color: \"grey-light\", onClick: this.cancel, disabled: this.disabled }, \"Cancel\"))));\n }\n};\nRsSideDrawerHeader.style = rsSideDrawerHeaderCss;\n\nconst rsSideDrawerItemCss = \":host{display:block}.header{display:flex;align-items:center;justify-content:space-between}.container{background:var(--rs-color-white);box-shadow:0 1px 0.25rem rgba(var(--rs-color-grey-light-rgb), 0.5);border-radius:0.625rem;padding:1rem 1.25rem;cursor:pointer}\";\n\nconst RsSideDrawerItem = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n /**\n * The icon to show to the right of the icon\n */\n this.icon = 'chevron-right';\n }\n render() {\n return (h(Host, null, h(\"div\", { class: 'container' }, h(\"div\", { class: 'header' }, h(\"rs-content\", { body: 1, color: \"secondary\" }, this.heading), h(\"rs-icon\", { name: this.icon, color: \"grey\" })))));\n }\n};\nRsSideDrawerItem.style = rsSideDrawerItemCss;\n\nfunction SimpleScrollbar () {\n const raf = window.requestAnimationFrame || window.setImmediate || function (c) {\n return setTimeout(c, 0);\n };\n function initEl(el) {\n Object.defineProperty(el, 'data-simple-scrollbar', { value: new SimpleScrollbar(el), configurable: true });\n }\n function unbindEl(el) {\n if (!Object.prototype.hasOwnProperty.call(el, 'data-simple-scrollbar'))\n return;\n el['data-simple-scrollbar'].unBind();\n //Remove the elements property\n delete el['data-simple-scrollbar'];\n }\n // Mouse drag handler\n function dragDealer(el, context) {\n let lastPageY;\n el.addEventListener('mousedown', function (e) {\n lastPageY = e.pageY;\n el.classList.add('ss-grabbed');\n document.body.classList.add('ss-grabbed');\n document.addEventListener('mousemove', drag);\n document.addEventListener('mouseup', stop);\n return false;\n });\n function drag(e) {\n const delta = e.pageY - lastPageY;\n lastPageY = e.pageY;\n raf(function () {\n context.el.scrollTop += delta / context.scrollRatio;\n });\n }\n function stop() {\n el.classList.remove('ss-grabbed');\n document.body.classList.remove('ss-grabbed');\n document.removeEventListener('mousemove', drag);\n document.removeEventListener('mouseup', stop);\n }\n }\n // Constructor\n function SimpleScrollbar(el) {\n this.target = el;\n this.content = el.firstElementChild;\n this.direction = window.getComputedStyle(this.target).direction;\n this.bar = '<div class=\"ss-scroll\">';\n //Create a reference to the function binding to remove the event listeners\n this.mB = this.moveBar.bind(this);\n this.wrapper = document.createElement('div');\n this.wrapper.setAttribute('class', 'ss-wrapper');\n this.el = document.createElement('div');\n this.el.setAttribute('class', 'ss-content');\n if (this.direction === 'rtl') {\n this.el.classList.add('rtl');\n }\n this.wrapper.appendChild(this.el);\n while (this.target.firstChild) {\n this.el.appendChild(this.target.firstChild);\n }\n this.target.appendChild(this.wrapper);\n this.target.insertAdjacentHTML('beforeend', this.bar);\n this.bar = this.target.lastChild;\n dragDealer(this.bar, this);\n this.moveBar();\n window.addEventListener('resize', this.mB);\n this.el.addEventListener('scroll', this.mB);\n this.el.addEventListener('mouseenter', this.mB);\n this.target.classList.add('ss-container');\n const css = window.getComputedStyle(el);\n if (css['height'] === '0px' && css['max-height'] !== '0px') {\n el.style.height = css['max-height'];\n }\n this.unBind = function () {\n //Remove event listeners\n window.removeEventListener('resize', this.mB);\n this.el.removeEventListener('scroll', this.mB);\n this.el.removeEventListener('mouseenter', this.mB);\n this.target.classList.remove('ss-container');\n //Unwrap the initial content and remove remaining wrappers\n this.target.insertBefore(this.content, this.wrapper);\n this.target.removeChild(this.wrapper);\n //Remove the bar including its drag-dealer event listener\n this.target.removeChild(this.bar);\n this.bar = null; //make way for the garbage collector\n };\n }\n SimpleScrollbar.prototype = {\n moveBar: function () {\n const totalHeight = this.el.scrollHeight;\n const ownHeight = this.el.clientHeight;\n const _this = this;\n this.scrollRatio = ownHeight / totalHeight;\n const isRtl = _this.direction === 'rtl';\n const right = isRtl ?\n (_this.target.clientWidth - _this.bar.clientWidth + 18) :\n (_this.target.clientWidth - _this.bar.clientWidth) * -1;\n raf(function () {\n // Hide scrollbar if no scrolling is possible\n if (_this.scrollRatio >= 1) {\n _this.bar.classList.add('ss-hidden');\n }\n else {\n _this.bar.classList.remove('ss-hidden');\n _this.bar.style.cssText = 'height:' + Math.max(_this.scrollRatio * 100, 10) + '%; top:' + (_this.el.scrollTop / totalHeight) * 100 + '%;right:' + right + 'px;';\n }\n const isScrollableAndNotScrolled = _this.el.scrollTop === 0 && _this.scrollRatio < 1;\n if (isScrollableAndNotScrolled) {\n dispatchCustomScrollEvent(_this.target, false, true);\n }\n else {\n const isTopScrollable = _this.el.scrollTop > 0;\n const isBottomScrollable = (_this.el.scrollHeight - _this.el.scrollTop) > ownHeight;\n dispatchCustomScrollEvent(_this.target, isTopScrollable, isBottomScrollable);\n }\n });\n }\n };\n function dispatchCustomScrollEvent(target, topScrollable = false, bottomScrollable = false) {\n const customScrollEvent = new CustomEvent('customScroll', {\n detail: {\n 'topScrollable': topScrollable,\n 'bottomScrollable': bottomScrollable\n }\n });\n target === null || target === void 0 ? void 0 : target.dispatchEvent(customScrollEvent);\n }\n function initAll() {\n const nodes = document.querySelectorAll('*[ss-container]');\n for (let i = 0; i < nodes.length; i++) {\n initEl(nodes[i]);\n }\n }\n function unbindAll() {\n const nodes = document.querySelectorAll('.ss-container');\n for (let i = 0; i < nodes.length; i++) {\n unbindEl(nodes[i]);\n }\n }\n document.addEventListener('DOMContentLoaded', initAll);\n SimpleScrollbar.initEl = initEl;\n SimpleScrollbar.initAll = initAll;\n SimpleScrollbar.unbindEl = unbindEl;\n SimpleScrollbar.unbindAll = unbindAll;\n return SimpleScrollbar;\n}\n\nconst rsSideDrawerItemContentCss = \".close{width:2rem;height:2rem;box-shadow:inset 0 0 0 1px var(--rs-color-grey-light);border-radius:2rem;justify-content:center;align-items:center;font-size:1rem;cursor:pointer;display:flex;position:absolute;top:1rem;right:1rem;transition:box-shadow 0.15s cubic-bezier(0, 0.55, 0.45, 1), opacity 0.15s ease-out;opacity:1;z-index:1}.close--hidden{opacity:0;pointer-events:none}.close:hover{box-shadow:inset 0 0 0 1px var(--rs-color-grey)}:host{display:block}.item-content{height:100%;position:absolute;width:100%;top:50%;opacity:0;transition:opacity 150ms cubic-bezier(0, 0.55, 0.45, 1) 200ms, top 500ms cubic-bezier(0, 0.55, 0.45, 1);pointer-events:none;display:flex;flex-direction:column}.item-content--open{top:3rem;opacity:100%;pointer-events:auto}.item-content--level-2{top:25%;transition:opacity 150ms cubic-bezier(0, 0.55, 0.45, 1), top 500ms cubic-bezier(0, 0.55, 0.45, 1)}.item-content--open.item-content--level-2{top:1.5625rem}.item-content--open.item-content--is-background.item-content--level-2{top:3rem}.subtitle{margin-top:0.3125rem;text-transform:uppercase}.container{height:100%;background-color:var(--rs-color-white);border-radius:0.9375rem 0.9375rem 0 0;box-shadow:0 0.3125rem 0.9375rem rgb(70 74 83 / 25%);box-sizing:border-box;padding-top:2.5rem;text-align:center;transform-origin:50% 0;transition:top 500ms cubic-bezier(0, 0.55, 0.45, 1), transform 500ms cubic-bezier(0, 0.55, 0.45, 1);min-height:0}.container--background-level{top:3rem;transform:scale(0.8) translateY(-2.8125rem)}.content-container{box-sizing:border-box;padding:1.5rem;text-align:left;height:100%}::slotted(* div){display:flex;flex-direction:column;gap:1.875rem}.item-content--scrollable .content-container__inner{padding-top:1.5rem;margin-bottom:1.5rem}.item-content--scrollable .content-container{margin-top:-1.5rem}.header-container{padding-top:2.5rem;padding-bottom:1.5rem;margin-top:-2.5rem;border-radius:0.9375rem 0.9375rem 0 0;transition:box-shadow 0.4s cubic-bezier(0, 0.55, 0.45, 1)}.item-content--top-scrollable .header-container{box-shadow:0 1px 0.9375rem rgb(70 74 83 / 25%)}.close-container{z-index:2;min-height:0;padding:2rem 1.5rem;background:var(--rs-color-white);flex-basis:6.625rem;transition:box-shadow 0.4s cubic-bezier(0, 0.55, 0.45, 1)}.item-content--bottom-scrollable .close-container{box-shadow:0 1px 0.9375rem rgb(70 74 83 / 25%)}.item-content--open.item-content--level-2 .close-container{flex-basis:4.875rem}.ss-container{height:99%}.ss-wrapper{overflow:hidden;width:100%;height:100%;position:relative;z-index:1;float:left}.ss-content{height:100%;width:calc(100% + 1.125rem);padding:0 1.125rem 0 0;position:relative;overflow-x:auto;overflow-y:scroll;box-sizing:border-box;-ms-overflow-style:none;scrollbar-width:none;}.ss-content::-webkit-scrollbar{display:none}.ss-content.rtl{width:calc(100% + 1.125rem);right:auto}.ss-scroll{position:relative;background:rgb(0 0 0 / 10%);width:0.5625rem;border-radius:0.25rem;top:0;z-index:2;cursor:pointer;opacity:0;transition:opacity 0.25s linear;margin-left:-1.875rem}.ss-hidden{display:none}.ss-container:hover .ss-scroll,.ss-container:active .ss-scroll{opacity:100%}.ss-grabbed{user-select:none}\";\n\nconst RsSideDrawerItemContent = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.closeMoreContent = createEvent(this, \"closeMoreContent\", 7);\n this.closeContent = createEvent(this, \"closeContent\", 7);\n /**\n * Boolean switch to denote whether the content should show in the side drawers\n */\n this.itemOpen = false;\n /**\n * If set to true, that means there is another layer open on top. Setting this to true helps with the styling\n */\n this.moreContentOpen = false;\n /**\n * What level of content this is for (i.e., first layer, more settings, etc)\n */\n this.contentLevel = 1;\n /**\n * The current open level. Whether it be the base level, or a more settings panel\n */\n this.openLevel = 1;\n this.topScrollable = false;\n this.bottomScrollable = false;\n this.close = () => {\n if (this.contentLevel > 1) {\n this.closeMoreContent.emit({\n level: this.contentLevel\n });\n }\n else {\n this.closeContent.emit();\n }\n };\n this.isBackgroundLevel = () => {\n return this.openLevel > this.contentLevel;\n };\n this.isOpen = () => {\n return this.openLevel >= this.contentLevel;\n };\n }\n watchItemOpen(openValue) {\n if (openValue) {\n SimpleScrollbar().initEl(this.contentScroller);\n this.contentScroller.addEventListener('customScroll', (event) => {\n this.topScrollable = event.detail.topScrollable;\n this.bottomScrollable = event.detail.bottomScrollable;\n });\n }\n else {\n SimpleScrollbar().unbindEl(this.contentScroller);\n }\n }\n render() {\n return (h(Host, { class: {\n 'item-content--open': this.itemOpen,\n } }, h(\"div\", { class: {\n 'item-content': true,\n 'item-content--open': this.isOpen(),\n 'item-content--level-2': this.contentLevel > 1,\n 'item-content--is-background': this.isBackgroundLevel(),\n 'item-content--scrollable': this.topScrollable || this.bottomScrollable,\n 'item-content--top-scrollable': this.topScrollable,\n 'item-content--bottom-scrollable': this.bottomScrollable,\n } }, h(\"div\", { class: {\n 'container': true,\n 'container--background-level': this.isBackgroundLevel(),\n } }, this.contentLevel > 1\n ? h(\"rs-icon\", { name: \"x\", color: \"grey\", class: 'close', onClick: this.closeMoreContent.emit })\n : '', h(\"div\", { class: \"header-container\" }, h(\"rs-header\", { heading: \"4\" }, this.heading), h(\"rs-subtitle\", { subtitle: \"2\", color: \"grey\", class: \"subtitle\" }, this.subHeading)), h(\"div\", { class: \"content-container\", ref: (el => this.contentScroller = el) }, h(\"div\", { class: \"content-container__inner\", style: { 'padding-bottom': '20px' } }, h(\"slot\", null)))), h(\"div\", { class: \"close-container\" }, h(\"rs-button\", { onClick: this.close, class: \"close-item\", color: \"primary\", expand: \"block\" }, this.contentLevel > 1 ? 'Back' : 'Close')))));\n }\n static get watchers() { return {\n \"itemOpen\": [\"watchItemOpen\"]\n }; }\n};\nRsSideDrawerItemContent.style = rsSideDrawerItemContentCss;\n\nexport { ColumnHeader as rs_column_header, RsSideDrawerHeader as rs_side_drawer_header, RsSideDrawerItem as rs_side_drawer_item, RsSideDrawerItemContent as rs_side_drawer_item_content };\n"],"names":["ColumnHeader","constructor","hostRef","r","this","color","render","h","H","style","undefined","RsSideDrawerHeader","rsCancel","c","rsSave","disabled","panelOpen","isDirty","save","emit","cancel","class","flex","heading","name","subtitle","loading","size","onClick","RsSideDrawerItem","icon","body","SimpleScrollbar","raf","window","requestAnimationFrame","setImmediate","setTimeout","initEl","el","Object","defineProperty","value","configurable","unbindEl","prototype","hasOwnProperty","call","unBind","target","content","firstElementChild","direction","getComputedStyle","bar","mB","moveBar","bind","wrapper","document","createElement","setAttribute","classList","add","appendChild","firstChild","insertAdjacentHTML","lastChild","context","lastPageY","drag","e","delta","pageY","scrollTop","scrollRatio","stop","remove","removeEventListener","addEventListener","dragDealer","css","height","insertBefore","removeChild","dispatchCustomScrollEvent","topScrollable","bottomScrollable","customScrollEvent","CustomEvent","detail","dispatchEvent","initAll","nodes","querySelectorAll","i","length","totalHeight","scrollHeight","ownHeight","clientHeight","_this","right","clientWidth","cssText","Math","max","isTopScrollable","isBottomScrollable","unbindAll","RsSideDrawerItemContent","closeMoreContent","closeContent","itemOpen","moreContentOpen","contentLevel","openLevel","close","level","isBackgroundLevel","isOpen","watchItemOpen","openValue","contentScroller","event","subHeading","ref","expand"],"sourceRoot":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* @rocketspark/domain-checker v0.0.01
|
|
4
|
+
* https://github.com/rocketspark/domain-checker.git
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Lee Reichardt and project contributors.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the no license license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
"use strict";(self.webpackChunkDomainChecker=self.webpackChunkDomainChecker||[]).push([[548],{1548:function(s,t,o){o.r(t),o.d(t,{rs_popup:function(){return i}});var e=o(492);const i=class{constructor(s){(0,e.r)(this,s),this.rsClose=(0,e.c)(this,"rsClose",7),this.rsOpen=(0,e.c)(this,"rsOpen",7),this.closeButton=!0,this.helpLink=!1,this.heading="",this.backdrop=!0,this.zIndex=1,this.width="724px",this.top="50%",this.left="50%",this.right="unset",this.bottom="unset",this.transform="translate(-50%, -50%)",this.position="fixed",this.doClosePopup=()=>{this.el.style.opacity="0",setTimeout((()=>{this.el.style.display="none"}),150)},this.closeHandler=()=>{this.doClosePopup(),this.rsClose.emit()},this.renderCloseButton=()=>{let s=null;return this.closeButton&&(s=(0,e.h)("rs-icon",{class:"rs-popup__close",name:"fine-x",color:"secondary",size:20,onClick:this.closeHandler})),s},this.renderHelpButton=()=>{let s=null;return this.helpLink&&"string"==typeof this.helpLink&&(s=(0,e.h)("a",{href:this.helpLink,target:"_blank",class:"rs-popup__help"},(0,e.h)("rs-icon",{class:"rs-popup__help-icon",name:"help",color:"secondary",size:22}))),s}}async close(){this.doClosePopup()}async open(){this.el.style.display="block",setTimeout((()=>{this.el.style.opacity="1"})),this.rsOpen.emit()}render(){return(0,e.h)(e.H,{style:{"z-index":this.zIndex.toString()}},this.backdrop?(0,e.h)("div",{class:"rs-popup__backdrop",onClick:this.closeHandler}):"",(0,e.h)("div",{class:"rs-popup__inner rs-component-shadow--popup",style:{position:this.position,top:this.top,right:this.right,bottom:this.bottom,left:this.left,transform:this.transform,width:this.width}},(0,e.h)("div",{class:"rs-popup__header"},(0,e.h)("rs-header",{heading:"4",color:"heading"},this.heading),(0,e.h)("rs-item",{class:"rs-popup__controls","align-items":"center"},this.renderHelpButton(),this.renderCloseButton())),(0,e.h)("div",{class:"rs-popup__body"},(0,e.h)("slot",null))))}get el(){return(0,e.g)(this)}};i.style=":host{display:none;opacity:0;transition:opacity 0.15s cubic-bezier(0, 0.55, 0.45, 1);z-index:1;position:fixed;top:0;left:0;bottom:0;right:0}:host .rs-popup__backdrop{display:block;width:100%;height:100%;position:fixed;top:0;left:0;background:var(--rs-color-grey-light);opacity:0.8}:host .rs-popup__inner{display:block;width:45.25rem;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);background-color:var(--rs-color-white);border-radius:0.625rem;box-shadow:var(--rs-shadow-popup);box-sizing:border-box}:host .rs-popup__header{display:flex;align-items:center;justify-content:space-between;padding:1.5625rem;box-sizing:border-box;border-bottom:1px solid var(--rs-color-light)}:host .rs-popup__close{cursor:pointer;margin-left:1.0625rem}:host .rs-popup__help{cursor:pointer}:host .rs-popup__body{position:relative;padding:1.5625rem}"}}]);
|
|
13
|
+
//# sourceMappingURL=548.index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"548.index.js","mappings":";;;;;;;;;;;8KAEA,MAEMA,EAAU,MACdC,YAAYC,IACV,IAAAC,GAAiBC,KAAMF,GACvBE,KAAKC,SAAU,IAAAC,GAAYF,KAAM,UAAW,GAC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QAAS9B,KAAKsB,eAAmB,IAAI,IAAAG,GAAE,MAAO,CAAEC,MAAO,6CAA8CR,MAAO,CACxK,SAAYlB,KAAKe,SACjB,IAAOf,KAAKU,IACZ,MAASV,KAAKY,MACd,OAAUZ,KAAKa,OACf,KAAQb,KAAKW,KACb,UAAaX,KAAKc,UAClB,MAASd,KAAKS,SACX,IAAAgB,GAAE,MAAO,CAAEC,MAAO,qBAAsB,IAAAD,GAAE,YAAa,CAAEnB,QAAS,IAAKsB,MAAO,WAAa5B,KAAKM,UAAU,IAAAmB,GAAE,UAAW,CAAEC,MAAO,qBAAsB,cAAe,UAAY1B,KAAK+B,mBAAoB/B,KAAKwB,uBAAuB,IAAAC,GAAE,MAAO,CAAEC,MAAO,mBAAoB,IAAAD,GAAE,OAAQ,SAE/R,SAAW,OAAO,IAAAa,GAAWtC,QAE/BJ,EAAQsB,MA/GW","sources":["webpack://DomainChecker/./node_modules/@rocketspark/flint-ui/dist/esm/rs-popup.entry.js"],"sourcesContent":["import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-d4fae449.js';\n\nconst rsPopupCss = \":host{display:none;opacity:0;transition:opacity 0.15s cubic-bezier(0, 0.55, 0.45, 1);z-index:1;position:fixed;top:0;left:0;bottom:0;right:0}:host .rs-popup__backdrop{display:block;width:100%;height:100%;position:fixed;top:0;left:0;background:var(--rs-color-grey-light);opacity:0.8}:host .rs-popup__inner{display:block;width:45.25rem;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);background-color:var(--rs-color-white);border-radius:0.625rem;box-shadow:var(--rs-shadow-popup);box-sizing:border-box}:host .rs-popup__header{display:flex;align-items:center;justify-content:space-between;padding:1.5625rem;box-sizing:border-box;border-bottom:1px solid var(--rs-color-light)}:host .rs-popup__close{cursor:pointer;margin-left:1.0625rem}:host .rs-popup__help{cursor:pointer}:host .rs-popup__body{position:relative;padding:1.5625rem}\";\n\nconst RsPopup = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.rsClose = createEvent(this, \"rsClose\", 7);\n this.rsOpen = createEvent(this, \"rsOpen\", 7);\n /**\n * If true, shows a close button at the top right corner of the popup\n */\n this.closeButton = true;\n /**\n * If true, shows a help icon at the top right corner of the popup\n */\n this.helpLink = false;\n /**\n * Heading text of the popup\n */\n this.heading = '';\n /**\n * If true, we show the backdrop. Otherwise, we hide it.\n */\n this.backdrop = true;\n /**\n * z-index CSS value\n */\n this.zIndex = 1;\n /**\n * width CSS value\n */\n this.width = '724px';\n /**\n * top CSS value\n */\n this.top = '50%';\n /**\n * left CSS value\n */\n this.left = '50%';\n /**\n * right CSS value\n */\n this.right = 'unset';\n /**\n * bottom CSS value\n */\n this.bottom = 'unset';\n /**\n * transform CSS value\n */\n this.transform = 'translate(-50%, -50%)';\n /**\n * position CSS value\n */\n this.position = 'fixed';\n this.doClosePopup = () => {\n this.el.style.opacity = '0';\n setTimeout(() => {\n this.el.style.display = 'none';\n }, 150);\n };\n this.closeHandler = () => {\n this.doClosePopup();\n this.rsClose.emit();\n };\n this.renderCloseButton = () => {\n let closeButton = null;\n if (this.closeButton) {\n closeButton = (h(\"rs-icon\", { class: \"rs-popup__close\", name: \"fine-x\", color: \"secondary\", size: 20, onClick: this.closeHandler }));\n }\n return closeButton;\n };\n this.renderHelpButton = () => {\n let helpButton = null;\n if (this.helpLink && typeof this.helpLink === 'string') {\n helpButton = (h(\"a\", { href: this.helpLink, target: \"_blank\", class: \"rs-popup__help\" }, h(\"rs-icon\", { class: \"rs-popup__help-icon\", name: \"help\", color: \"secondary\", size: 22 })));\n }\n return helpButton;\n };\n }\n /**\n * A method that can be called on the element to close the popup\n */\n async close() {\n this.doClosePopup();\n }\n /**\n * A method that can be called on the element to open the popup\n */\n async open() {\n this.el.style.display = 'block';\n setTimeout(() => {\n this.el.style.opacity = '1';\n });\n this.rsOpen.emit();\n }\n render() {\n return (h(Host, { style: {\n 'z-index': this.zIndex.toString()\n } }, this.backdrop ? (h(\"div\", { class: \"rs-popup__backdrop\", onClick: this.closeHandler })) : '', h(\"div\", { class: \"rs-popup__inner rs-component-shadow--popup\", style: {\n 'position': this.position,\n 'top': this.top,\n 'right': this.right,\n 'bottom': this.bottom,\n 'left': this.left,\n 'transform': this.transform,\n 'width': this.width\n } }, h(\"div\", { class: \"rs-popup__header\" }, h(\"rs-header\", { heading: \"4\", color: \"heading\" }, this.heading), h(\"rs-item\", { class: \"rs-popup__controls\", \"align-items\": \"center\" }, this.renderHelpButton(), this.renderCloseButton())), h(\"div\", { class: \"rs-popup__body\" }, h(\"slot\", null)))));\n }\n get el() { return getElement(this); }\n};\nRsPopup.style = rsPopupCss;\n\nexport { RsPopup as rs_popup };\n"],"names":["RsPopup","constructor","hostRef","r","this","rsClose","c","rsOpen","closeButton","helpLink","heading","backdrop","zIndex","width","top","left","right","bottom","transform","position","doClosePopup","el","style","opacity","setTimeout","display","closeHandler","emit","renderCloseButton","h","class","name","color","size","onClick","renderHelpButton","helpButton","href","target","render","H","toString","g"],"sourceRoot":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* @rocketspark/domain-checker v0.0.01
|
|
4
|
+
* https://github.com/rocketspark/domain-checker.git
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Lee Reichardt and project contributors.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the no license license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
"use strict";(self.webpackChunkDomainChecker=self.webpackChunkDomainChecker||[]).push([[565],{9565:function(t,e,i){i.r(e),i.d(e,{rs_multi_select_item:function(){return r}});var s=i(492);const r=class{constructor(t){(0,s.r)(this,t),this.selected=!1,this.featured=!1,this.value="",this.width="100%",this.error=!1,this.showStar=!1,this.getCircleTickIcon=()=>(0,s.h)("span",{class:{"multi-select-item__icon--tick-container":!0,"multi-select-item__icon--tick-container-show":this.selected}},(0,s.h)("rs-icon",{class:"multi-select-item__icon--tick",name:"circle-tick",color:"primary-300",size:18})),this.getStarIcon=()=>(0,s.h)("div",{class:{"multi-select-item__icon--star":!0,"multi-select-item__icon--star-show":this.showStar||this.featured,"multi-select-item__icon--star-featured":this.featured},innerHTML:'<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M0.540428 7.15015L0.5 7.24448V7.34711C0.5 7.35157 0.499996 7.3562 0.499992 7.36098C0.499906 7.46953 0.499756 7.65797 0.541209 7.84154C0.584229 8.03205 0.6894 8.2951 0.958339 8.46062L4.9385 11.2773L3.38064 16.012C3.2564 16.268 3.27391 16.5435 3.35288 16.7589C3.42334 16.9511 3.55937 17.1423 3.75881 17.2656C3.848 17.3552 3.95447 17.4227 4.08022 17.4614C4.20916 17.501 4.33666 17.5003 4.39316 17.5C4.39753 17.5 4.40147 17.5 4.40496 17.5C4.4084 17.5 4.41223 17.5 4.41641 17.5C4.51791 17.5006 4.83213 17.5023 5.07744 17.2375L8.94161 14.4382L13.0478 17.2574C13.1526 17.3534 13.2704 17.4249 13.4081 17.4642C13.5357 17.5007 13.6568 17.5002 13.7158 17.5C13.7199 17.5 13.7238 17.5 13.7273 17.5C13.7297 17.5 13.7324 17.5 13.7354 17.5C13.7845 17.5002 13.8997 17.5006 14.0272 17.4614C14.1457 17.4249 14.2516 17.3632 14.3479 17.2803C14.6058 17.1286 14.7068 16.8737 14.7472 16.7004C14.7896 16.5191 14.7894 16.3288 14.7893 16.2213C14.7893 16.2162 14.7893 16.2113 14.7893 16.2066V16.1205L14.7605 16.0394L13.0689 11.2721L17.0417 8.46062C17.3106 8.29509 17.4158 8.03204 17.4588 7.84153C17.5002 7.65798 17.5001 7.46955 17.5 7.36101C17.5 7.35622 17.5 7.35158 17.5 7.34711V7.24448L17.4596 7.15015C17.2562 6.67562 16.7959 6.51654 16.438 6.51654H11.5861L9.99137 1.24176C9.98071 1.13789 9.95029 1.03139 9.89167 0.930361C9.81604 0.800036 9.70971 0.706786 9.59727 0.643232C9.389 0.525513 9.14368 0.5 8.93388 0.5C8.75728 0.5 8.53929 0.536262 8.34988 0.665868C8.15949 0.796141 8.03329 0.998601 8.00858 1.24195L6.41394 6.51654H1.56198C1.20412 6.51654 0.743795 6.67562 0.540428 7.15015Z" stroke="#2C3035"/>\n</svg>\n',onClick:this.starItem,ref:t=>this.starIconElement=t}),this.getErrorIcon=()=>this.error?(0,s.h)("span",{class:"multi-select-item__icon--error"}):"",this.starItem=t=>{t.stopImmediatePropagation(),this.featured=!this.featured,this.featured?(this.selected=!0,this.pushItemToMultiSelectedItems(this.value),this.pushItemToMultiFeaturedItems(this.value)):(this.selected=!1,this.removeItemFromMultiSelectedItems(this.value),this.removeItemFromMultiFeaturedItems(this.value))},this.selectItem=()=>{this.selected=!this.selected,this.selected?this.pushItemToMultiSelectedItems(this.value):this.removeItemFromMultiSelectedItems(this.value)},this.onMouseOver=()=>{this.showStar=!0},this.onMouseLeave=()=>{this.showStar=!1},this.onMouseDown=()=>{this.selected&&this.featured&&(this.starIconElement.style.transform="scale(1.3)")},this.onMouseUp=()=>{this.selected&&this.featured&&(this.starIconElement.style.transform=null)}}componentWillLoad(){var t,e;null!==(this.multiSelect=this.el.closest("rs-multi-select"))&&(this.featured=null===(t=this.multiSelect.featuredItems)||void 0===t?void 0:t.includes(this.value),this.selected=(null===(e=this.multiSelect.selectedItems)||void 0===e?void 0:e.includes(this.value))||this.featured)}static noDuplicates(t){return"string"==typeof t&&(t=r.toArray(t)),null==t?void 0:t.filter(((t,e,i)=>i.indexOf(t)==e))}pushItemToMultiSelectedItems(t){let e=""===this.multiSelect.selectedItems?[]:r.toArray(this.multiSelect.selectedItems);null==e||e.push(t),e=r.noDuplicates(e),this.multiSelect.setAttribute("selected-items",e.toString())}removeItemFromMultiSelectedItems(t){let e=""===this.multiSelect.selectedItems?[]:r.toArray(this.multiSelect.selectedItems);e=null==e?void 0:e.filter((e=>e!==t)),e=r.noDuplicates(e),this.multiSelect.setAttribute("selected-items",e.toString())}pushItemToMultiFeaturedItems(t){let e=""===this.multiSelect.featuredItems?[]:r.toArray(this.multiSelect.featuredItems);null==e||e.push(t),e=r.noDuplicates(e),this.multiSelect.setAttribute("featured-items",e.toString())}removeItemFromMultiFeaturedItems(t){let e=""===this.multiSelect.featuredItems?[]:r.toArray(this.multiSelect.featuredItems);e=null==e?void 0:e.filter((e=>e!==t)),e=r.noDuplicates(e),this.multiSelect.setAttribute("featured-items",e.toString())}static toArray(t){return"string"==typeof t?null==t?void 0:t.split(",").map((t=>t.trim())):t}render(){return(0,s.h)(s.H,{class:{"multi-select-item--selected":this.selected,"multi-select-item--featured":this.featured},onMouseOver:this.onMouseOver,onMouseLeave:this.onMouseLeave,onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp},this.getStarIcon(),(0,s.h)("div",{class:"multi-select-item__content-container",style:{width:this.width},onClick:this.selectItem},this.getErrorIcon(),this.getCircleTickIcon(),(0,s.h)("slot",null)))}static get assetsDirs(){return["assets"]}get el(){return(0,s.g)(this)}};r.style=":host{display:block;position:relative}.multi-select-item__content-container{display:block;padding:0.5rem;box-sizing:border-box;border-radius:0.4375rem;box-shadow:inset 0 0 0 1px var(--rs-color-grey-light);transition:box-shadow 0.2s cubic-bezier(0, 0.55, 0.45, 1);position:relative;cursor:pointer;z-index:1}:host(:hover) .multi-select-item__content-container{box-shadow:inset 0 0 0 0.125rem var(--rs-color-grey-300)}:host(.multi-select-item--selected) .multi-select-item__content-container{box-shadow:inset 0 0 0 0.125rem var(--rs-color-primary)}:host(.multi-select-item--selected.multi-select-item--featured){cursor:not-allowed}:host(.multi-select-item--selected.multi-select-item--featured) .multi-select-item__content-container{pointer-events:none}.multi-select-item__icon--tick-container{position:absolute;right:0.9375rem;top:0.9375rem;opacity:0;transition:opacity 0.15s cubic-bezier(0, 0.55, 0.45, 1);z-index:2;background-color:var(--rs-color-white);padding:1.2px 1.5px 1.5px;display:flex;align-items:center;justify-content:center;border-radius:50%;box-sizing:border-box}.multi-select-item__icon--tick-container-show{opacity:1}.multi-select-item__icon--star{position:absolute;left:0.9375rem;top:0.9375rem;opacity:0;z-index:3;cursor:pointer;line-height:0;transform:none;transition:opacity 0.15s cubic-bezier(0, 0.55, 0.45, 1), transform 0.2s cubic-bezier(0, 0.55, 0.45, 1)}.multi-select-item__icon--star-show{opacity:1}.multi-select-item__icon--star svg{fill:rgb(255 255 255 / 0.7)}.multi-select-item__icon--star.multi-select-item__icon--star-featured svg{fill:var(--rs-color-highlight)}.multi-select-item__icon--star svg path{transition:stroke 0.15s cubic-bezier(0, 0.55, 0.45, 1);stroke:var(--rs-color-grey-700)}:host(.multi-select-item--selected) .multi-select-item__icon--star svg path,:host(.multi-select-item--featured) .multi-select-item__icon--star svg path{stroke:var(--rs-color-secondary-variant)}.multi-select-item__icon--error{position:absolute;right:1.25rem;top:1.25rem;opacity:1;width:0.5rem;height:0.5rem;background-color:var(--rs-color-negative);border-radius:50%;z-index:2}"}}]);
|
|
13
|
+
//# sourceMappingURL=565.index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"565.index.js","mappings":";;;;;;;;;;;0LAEA,MAOMA,EAAoB,MACxBC,YAAYC,IACV,IAAAC,GAAiBC,KAAMF,GAIvBE,KAAKC,UAAW,EAIhBD,KAAKE,UAAW,EAIhBF,KAAKG,MAAQ,GAIbH,KAAKI,MAAQ,OAIbJ,KAAKK,OAAQ,EAIbL,KAAKM,UAAW,EAChBN,KAAKO,kBAAoB,KACf,IAAAC,GAAE,OAAQ,CAAEC,MAAO,CACvB,2CAA2C,EAC3C,+CAAgDT,KAAKC,YAClD,IAAAO,GAAE,UAAW,CAAEC,MAAO,gCAAiCC,KAAM,cAAeC,MAAO,cAAeC,KAAM,MAEjHZ,KAAKa,YAAc,KACT,IAAAL,GAAE,MAAO,CAAEC,MAAO,CACtB,iCAAiC,EACjC,qCAAsCT,KAAKM,UAAYN,KAAKE,SAC5D,yCAA0CF,KAAKE,UAC9CY,UA7CE,+p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AqD,EAAM,CAAEpD,MAAO,CACrB,8BAA+BT,KAAKC,SACpC,8BAA+BD,KAAKE,UACnC0B,YAAa5B,KAAK4B,YAAaC,aAAc7B,KAAK6B,aAAcC,YAAa9B,KAAK8B,YAAaG,UAAWjC,KAAKiC,WAAajC,KAAKa,eAAe,IAAAL,GAAE,MAAO,CAAEC,MAAO,uCAAwCsB,MAAO,CAClN,MAAS/B,KAAKI,OACbW,QAASf,KAAK2B,YAAc3B,KAAKoB,eAAgBpB,KAAKO,qBAAqB,IAAAC,GAAE,OAAQ,QAE5F,wBAA0B,MAAO,CAAC,UAClC,SAAW,OAAO,IAAAsD,GAAW9D,QAE/BJ,EAAkBmC,MApJW","sources":["webpack://DomainChecker/./node_modules/@rocketspark/flint-ui/dist/esm/rs-multi-select-item.entry.js"],"sourcesContent":["import { r as registerInstance, h, H as Host, g as getElement } from './index-d4fae449.js';\n\nconst star = `<svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M0.540428 7.15015L0.5 7.24448V7.34711C0.5 7.35157 0.499996 7.3562 0.499992 7.36098C0.499906 7.46953 0.499756 7.65797 0.541209 7.84154C0.584229 8.03205 0.6894 8.2951 0.958339 8.46062L4.9385 11.2773L3.38064 16.012C3.2564 16.268 3.27391 16.5435 3.35288 16.7589C3.42334 16.9511 3.55937 17.1423 3.75881 17.2656C3.848 17.3552 3.95447 17.4227 4.08022 17.4614C4.20916 17.501 4.33666 17.5003 4.39316 17.5C4.39753 17.5 4.40147 17.5 4.40496 17.5C4.4084 17.5 4.41223 17.5 4.41641 17.5C4.51791 17.5006 4.83213 17.5023 5.07744 17.2375L8.94161 14.4382L13.0478 17.2574C13.1526 17.3534 13.2704 17.4249 13.4081 17.4642C13.5357 17.5007 13.6568 17.5002 13.7158 17.5C13.7199 17.5 13.7238 17.5 13.7273 17.5C13.7297 17.5 13.7324 17.5 13.7354 17.5C13.7845 17.5002 13.8997 17.5006 14.0272 17.4614C14.1457 17.4249 14.2516 17.3632 14.3479 17.2803C14.6058 17.1286 14.7068 16.8737 14.7472 16.7004C14.7896 16.5191 14.7894 16.3288 14.7893 16.2213C14.7893 16.2162 14.7893 16.2113 14.7893 16.2066V16.1205L14.7605 16.0394L13.0689 11.2721L17.0417 8.46062C17.3106 8.29509 17.4158 8.03204 17.4588 7.84153C17.5002 7.65798 17.5001 7.46955 17.5 7.36101C17.5 7.35622 17.5 7.35158 17.5 7.34711V7.24448L17.4596 7.15015C17.2562 6.67562 16.7959 6.51654 16.438 6.51654H11.5861L9.99137 1.24176C9.98071 1.13789 9.95029 1.03139 9.89167 0.930361C9.81604 0.800036 9.70971 0.706786 9.59727 0.643232C9.389 0.525513 9.14368 0.5 8.93388 0.5C8.75728 0.5 8.53929 0.536262 8.34988 0.665868C8.15949 0.796141 8.03329 0.998601 8.00858 1.24195L6.41394 6.51654H1.56198C1.20412 6.51654 0.743795 6.67562 0.540428 7.15015Z\" stroke=\"#2C3035\"/>\n</svg>\n`;\n\nconst rsMultiSelectItemCss = \":host{display:block;position:relative}.multi-select-item__content-container{display:block;padding:0.5rem;box-sizing:border-box;border-radius:0.4375rem;box-shadow:inset 0 0 0 1px var(--rs-color-grey-light);transition:box-shadow 0.2s cubic-bezier(0, 0.55, 0.45, 1);position:relative;cursor:pointer;z-index:1}:host(:hover) .multi-select-item__content-container{box-shadow:inset 0 0 0 0.125rem var(--rs-color-grey-300)}:host(.multi-select-item--selected) .multi-select-item__content-container{box-shadow:inset 0 0 0 0.125rem var(--rs-color-primary)}:host(.multi-select-item--selected.multi-select-item--featured){cursor:not-allowed}:host(.multi-select-item--selected.multi-select-item--featured) .multi-select-item__content-container{pointer-events:none}.multi-select-item__icon--tick-container{position:absolute;right:0.9375rem;top:0.9375rem;opacity:0;transition:opacity 0.15s cubic-bezier(0, 0.55, 0.45, 1);z-index:2;background-color:var(--rs-color-white);padding:1.2px 1.5px 1.5px;display:flex;align-items:center;justify-content:center;border-radius:50%;box-sizing:border-box}.multi-select-item__icon--tick-container-show{opacity:1}.multi-select-item__icon--star{position:absolute;left:0.9375rem;top:0.9375rem;opacity:0;z-index:3;cursor:pointer;line-height:0;transform:none;transition:opacity 0.15s cubic-bezier(0, 0.55, 0.45, 1), transform 0.2s cubic-bezier(0, 0.55, 0.45, 1)}.multi-select-item__icon--star-show{opacity:1}.multi-select-item__icon--star svg{fill:rgb(255 255 255 / 0.7)}.multi-select-item__icon--star.multi-select-item__icon--star-featured svg{fill:var(--rs-color-highlight)}.multi-select-item__icon--star svg path{transition:stroke 0.15s cubic-bezier(0, 0.55, 0.45, 1);stroke:var(--rs-color-grey-700)}:host(.multi-select-item--selected) .multi-select-item__icon--star svg path,:host(.multi-select-item--featured) .multi-select-item__icon--star svg path{stroke:var(--rs-color-secondary-variant)}.multi-select-item__icon--error{position:absolute;right:1.25rem;top:1.25rem;opacity:1;width:0.5rem;height:0.5rem;background-color:var(--rs-color-negative);border-radius:50%;z-index:2}\";\n\nconst RsMultiSelectItem = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n /**\n * Determines whether the item is selected or not\n */\n this.selected = false;\n /**\n * Determines whether the item is featured (starred) or not\n */\n this.featured = false;\n /**\n * Item value\n */\n this.value = '';\n /**\n * Width of the item\n */\n this.width = '100%';\n /**\n * Shows a red circle inside the box\n */\n this.error = false;\n /**\n * Determines whether to show the star on hover or not\n */\n this.showStar = false;\n this.getCircleTickIcon = () => {\n return (h(\"span\", { class: {\n 'multi-select-item__icon--tick-container': true,\n 'multi-select-item__icon--tick-container-show': this.selected\n } }, h(\"rs-icon\", { class: \"multi-select-item__icon--tick\", name: \"circle-tick\", color: \"primary-300\", size: 18 })));\n };\n this.getStarIcon = () => {\n return (h(\"div\", { class: {\n 'multi-select-item__icon--star': true,\n 'multi-select-item__icon--star-show': this.showStar || this.featured,\n 'multi-select-item__icon--star-featured': this.featured,\n }, innerHTML: star, onClick: this.starItem, ref: el => this.starIconElement = el }));\n };\n this.getErrorIcon = () => {\n return this.error ? (h(\"span\", { class: \"multi-select-item__icon--error\" })) : '';\n };\n this.starItem = (event) => {\n event.stopImmediatePropagation();\n this.featured = !this.featured;\n if (this.featured) {\n this.selected = true;\n this.pushItemToMultiSelectedItems(this.value);\n this.pushItemToMultiFeaturedItems(this.value);\n }\n else {\n this.selected = false;\n this.removeItemFromMultiSelectedItems(this.value);\n this.removeItemFromMultiFeaturedItems(this.value);\n }\n };\n this.selectItem = () => {\n this.selected = !this.selected;\n if (this.selected) {\n this.pushItemToMultiSelectedItems(this.value);\n }\n else {\n this.removeItemFromMultiSelectedItems(this.value);\n }\n };\n this.onMouseOver = () => {\n this.showStar = true;\n };\n this.onMouseLeave = () => {\n this.showStar = false;\n };\n this.onMouseDown = () => {\n if (this.selected && this.featured) {\n this.starIconElement.style.transform = 'scale(1.3)';\n }\n };\n this.onMouseUp = () => {\n if (this.selected && this.featured) {\n this.starIconElement.style.transform = null;\n }\n };\n }\n componentWillLoad() {\n var _a, _b;\n const multiSelect = this.multiSelect = this.el.closest('rs-multi-select');\n if (multiSelect !== null) {\n this.featured = (_a = this.multiSelect.featuredItems) === null || _a === void 0 ? void 0 : _a.includes(this.value);\n this.selected = ((_b = this.multiSelect.selectedItems) === null || _b === void 0 ? void 0 : _b.includes(this.value)) || this.featured;\n }\n }\n static noDuplicates(items) {\n if (typeof items === 'string') {\n items = RsMultiSelectItem.toArray(items);\n }\n return items === null || items === void 0 ? void 0 : items.filter((item, index, inputArray) => {\n return inputArray.indexOf(item) == index;\n });\n }\n pushItemToMultiSelectedItems(value) {\n let selectedItemsArray = this.multiSelect.selectedItems === '' ? [] : RsMultiSelectItem.toArray(this.multiSelect.selectedItems);\n selectedItemsArray === null || selectedItemsArray === void 0 ? void 0 : selectedItemsArray.push(value);\n selectedItemsArray = RsMultiSelectItem.noDuplicates(selectedItemsArray);\n this.multiSelect.setAttribute('selected-items', selectedItemsArray.toString());\n }\n removeItemFromMultiSelectedItems(value) {\n let selectedItemsArray = this.multiSelect.selectedItems === '' ? [] : RsMultiSelectItem.toArray(this.multiSelect.selectedItems);\n selectedItemsArray = selectedItemsArray === null || selectedItemsArray === void 0 ? void 0 : selectedItemsArray.filter(selectedItem => {\n return selectedItem !== value;\n });\n selectedItemsArray = RsMultiSelectItem.noDuplicates(selectedItemsArray);\n this.multiSelect.setAttribute('selected-items', selectedItemsArray.toString());\n }\n pushItemToMultiFeaturedItems(value) {\n let featuredItemsArray = this.multiSelect.featuredItems === '' ? [] : RsMultiSelectItem.toArray(this.multiSelect.featuredItems);\n featuredItemsArray === null || featuredItemsArray === void 0 ? void 0 : featuredItemsArray.push(value);\n featuredItemsArray = RsMultiSelectItem.noDuplicates(featuredItemsArray);\n this.multiSelect.setAttribute('featured-items', featuredItemsArray.toString());\n }\n removeItemFromMultiFeaturedItems(value) {\n let featuredItemsArray = this.multiSelect.featuredItems === '' ? [] : RsMultiSelectItem.toArray(this.multiSelect.featuredItems);\n featuredItemsArray = featuredItemsArray === null || featuredItemsArray === void 0 ? void 0 : featuredItemsArray.filter(featuredItem => {\n return featuredItem !== value;\n });\n featuredItemsArray = RsMultiSelectItem.noDuplicates(featuredItemsArray);\n this.multiSelect.setAttribute('featured-items', featuredItemsArray.toString());\n }\n static toArray(items) {\n if (typeof items === 'string') {\n return items === null || items === void 0 ? void 0 : items.split(',').map(item => {\n return item.trim();\n });\n }\n return items;\n }\n render() {\n return (h(Host, { class: {\n 'multi-select-item--selected': this.selected,\n 'multi-select-item--featured': this.featured,\n }, onMouseOver: this.onMouseOver, onMouseLeave: this.onMouseLeave, onMouseDown: this.onMouseDown, onMouseUp: this.onMouseUp }, this.getStarIcon(), h(\"div\", { class: \"multi-select-item__content-container\", style: {\n 'width': this.width\n }, onClick: this.selectItem }, this.getErrorIcon(), this.getCircleTickIcon(), h(\"slot\", null))));\n }\n static get assetsDirs() { return [\"assets\"]; }\n get el() { return getElement(this); }\n};\nRsMultiSelectItem.style = rsMultiSelectItemCss;\n\nexport { RsMultiSelectItem as rs_multi_select_item };\n"],"names":["RsMultiSelectItem","constructor","hostRef","r","this","selected","featured","value","width","error","showStar","getCircleTickIcon","h","class","name","color","size","getStarIcon","innerHTML","onClick","starItem","ref","el","starIconElement","getErrorIcon","event","stopImmediatePropagation","pushItemToMultiSelectedItems","pushItemToMultiFeaturedItems","removeItemFromMultiSelectedItems","removeItemFromMultiFeaturedItems","selectItem","onMouseOver","onMouseLeave","onMouseDown","style","transform","onMouseUp","componentWillLoad","_a","_b","multiSelect","closest","featuredItems","includes","selectedItems","items","toArray","filter","item","index","inputArray","indexOf","selectedItemsArray","push","noDuplicates","setAttribute","toString","selectedItem","featuredItemsArray","featuredItem","split","map","trim","render","H","g"],"sourceRoot":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* @rocketspark/domain-checker v0.0.01
|
|
4
|
+
* https://github.com/rocketspark/domain-checker.git
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Lee Reichardt and project contributors.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the no license license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
"use strict";(self.webpackChunkDomainChecker=self.webpackChunkDomainChecker||[]).push([[577],{7606:function(t,e,n){n.d(e,{i:function(){return s},s:function(){return r}});var i=n(492);const s=(t,e,n)=>{const s=(void 0!==t.target?t.target:n).tagName.toLowerCase().replace("rs-",""),r=t.detail,a={},o=e.get(s)||{};let l=!1;Object.keys(r).forEach((t=>{if(r[t]){const e=`item-${t}`;o[e]||(l=!0),a[e]=!0}})),l||Object.keys(a).length===Object.keys(o).length||(l=!0),l&&(e.set(s,a),(0,i.f)(n))},r=(t,e,n,i=!1)=>{!e&&!n||i||null!==t&&(t.style.display="block",setTimeout((function(){t.style.opacity="1"}),150))}},577:function(t,e,n){n.r(e),n.d(e,{rs_item:function(){return a}});var i=n(492),s=n(5924),r=n(7606);const a=class{constructor(t){(0,i.r)(this,t),this.itemStyles=new Map,this.disabled=!1,this.type="button",this.appearance="none",this.gap=0,this.padding=!1,this.flex=!1}rsItem(t){(0,r.i)(t,this.itemStyles,this.el)}componentDidRender(){(0,s.f)()||(this.item.style.setProperty("--fgp-gap-row",`${this.gap.toString()}px`),this.item.style.setProperty("--fgp-gap-column",`${this.gap.toString()}px`),this.item.style.setProperty("--fgp-gap",`${this.gap.toString()}px`))}isClickable(){return void 0!==this.href}render(){const{disabled:t,href:e,rel:n,target:r}=this,a={},o=this.isClickable()?void 0===e?"button":"a":"div",l="button"===o?{type:this.type}:{href:e,rel:n,target:r};return this.itemStyles.forEach((t=>{Object.assign(a,t)})),(0,i.h)(i.H,{class:Object.assign(Object.assign({},a),{"rs-item--padding":this.padding,"rs-item--flex":this.flex})},(0,i.h)(o,Object.assign({},l,{class:{"item-native":!0,"no-flex-gap-support":!(0,s.f)()},ref:t=>this.item=t,style:{"flex-direction":this.flexDirection,"align-items":this.alignItems,"justify-content":this.justifyContent,"align-content":this.alignContent,"justify-items":this.justifyItems,gap:`${this.gap}px`,"flex-wrap":this.flexWrap},disabled:t}),(0,i.h)("slot",{name:"start"}),(0,i.h)("slot",null),(0,i.h)("slot",{name:"end"})))}get el(){return(0,i.g)(this)}};a.style=":host{display:block;box-sizing:border-box;position:relative}.item-native{text-decoration:none;color:inherit}:host(.rs-item--padding){padding:0.5rem}:host(.rs-item--flex){width:100%}:host(.rs-item--flex) .item-native{display:flex;flex-direction:row;align-items:center}:host([appearance='outline']){box-shadow:inset 0 0 0 1px var(--rs-color-light);border-radius:0.5rem}:host([appearance='shadow']){box-shadow:0 1px 0.25rem rgba(195, 213, 226, 0.50041);border-radius:0.5rem}:host([appearance='none']){box-shadow:none;border-radius:0}::slotted([slot='start']){margin-right:0.4375rem}::slotted([slot='end']){margin-left:0.4375rem}:host([align-content='space-between']) .item-native ::slotted([slot='start']),:host([align-content='space-between']) .item-native ::slotted([slot='end']),:host([align-content='space-evenly']) .item-native ::slotted([slot='start']),:host([align-content='space-evenly']) .item-native ::slotted([slot='end']),:host([align-content='space-around']) .item-native ::slotted([slot='start']),:host([align-content='space-around']) .item-native ::slotted([slot='end']){margin:0}:host .item-native.no-flex-gap-support ::slotted(*){--fgp-margin-top:calc(var(--fgp-gap-row));--fgp-margin-left:calc(var(--fgp-gap-column));margin-top:var(--fgp-margin-top) !important;margin-left:var(--fgp-margin-left) !important}.no-flex-gap-support{--has-fgp:initial;--fgp-margin-top:calc(var(--fgp-gap-row, 0px) * -1);--fgp-margin-left:calc(var(--fgp-gap-column, 0px) * -1);display:flex;gap:var(--fgp-gap, 0px);margin-top:var(--fgp-margin-top, 0) !important;margin-left:var(--fgp-margin-left, 0) !important}"},5924:function(t,e,n){n.d(e,{S:function(){return o},a:function(){return a},f:function(){return i},o:function(){return r}});const i=()=>{const t=document.createElement("div");t.style.display="flex",t.style.flexDirection="column",t.style.rowGap="1px",t.appendChild(document.createElement("div")),t.appendChild(document.createElement("div")),document.body.appendChild(t);const e=1===t.scrollHeight;return t.parentNode.removeChild(t),e};function s(t,e,n,i,s={}){let r=e;Array.isArray(e)?r=Array.from(e):Array.isArray(e)||(r=[e]);let a=n;return Array.isArray(n)||(a=[n]),r.forEach((e=>{a.forEach((n=>{e[t](n,i,Object.assign({capture:!1},s))}))})),[e,n,i,s]}const r=s.bind(null,"addEventListener"),a=s.bind(null,"removeEventListener"),o=t=>{if(!t||"[object Function]"!==Object.prototype.toString.call(t))return;let e;window.addEventListener("scroll",(function(){window.clearTimeout(e),e=setTimeout((function(){t()}),66)}),!1)}}}]);
|
|
13
|
+
//# sourceMappingURL=577.index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"577.index.js","mappings":";;;;;;;;;;;uLAEA,MAAMA,EAAY,CAACC,EAAIC,EAAYC,KACjC,MACMC,QADmBC,IAAdJ,EAAGK,OAAuBL,EAAGK,OAASH,GAC9BC,QAAQG,cAAcC,QAAQ,MAAO,IAClDC,E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IC,EAAgBJ,EAChBK,MAAMC,QAAQN,GAChBI,EAAgBC,MAAME,KAAKP,GAEnBK,MAAMC,QAAQN,KACtBI,EAAgB,CAACJ,IAEnB,IAAIQ,EAAcP,EASlB,OARKI,MAAMC,QAAQL,KACjBO,EAAc,CAACP,IAEjBG,EAActE,SAAQ6B,IACpB6C,EAAY1E,SAAQhB,IAClB6C,EAAGoC,GAAQjF,EAAIoF,EAAItE,OAAO2C,OAAO,CAAEkC,SAAS,GAASN,UAGlD,CAACH,EAAUC,EAAQC,EAAIC,GAEhC,MAAMO,EAAKZ,EAAca,KAAK,KAAM,oBAC9BC,EAAMd,EAAca,KAAK,KAAM,uBAC/BE,EAAcC,IAElB,IAAKA,GAAyD,sBAA7ClF,OAAOmF,UAAUhD,SAASiD,KAAKF,GAC9C,OAGF,IAAIG,EAEJC,OAAOC,iBAAiB,UAAU,WAEhCD,OAAOE,aAAaH,GAEpBA,EAActE,YAAW,WAEvBmE,MACC,OACF","sources":["webpack://DomainChecker/./node_modules/@rocketspark/flint-ui/dist/esm/helpers-a2e2c8b3.js","webpack://DomainChecker/./node_modules/@rocketspark/flint-ui/dist/esm/rs-item.entry.js","webpack://DomainChecker/./node_modules/@rocketspark/flint-ui/dist/esm/utils-666cff40.js"],"sourcesContent":["import { f as forceUpdate } from './index-d4fae449.js';\n\nconst itemStyle = (ev, itemStyles, element) => {\n const el = ev.target !== undefined ? ev.target : element;\n const tagName = el.tagName.toLowerCase().replace('rs-', '');\n const updatedStyles = ev.detail;\n const newStyles = {};\n const childStyles = itemStyles.get(tagName) || {};\n let hasStyleChange = false;\n Object.keys(updatedStyles).forEach(key => {\n if (updatedStyles[key]) {\n const itemKey = `item-${key}`;\n if (!childStyles[itemKey]) {\n hasStyleChange = true;\n }\n newStyles[itemKey] = true;\n }\n });\n if (!hasStyleChange && Object.keys(newStyles).length !== Object.keys(childStyles).length) {\n hasStyleChange = true;\n }\n if (hasStyleChange) {\n itemStyles.set(tagName, newStyles);\n forceUpdate(element);\n }\n};\nconst showCharacterCounter = (maxLengthElement, hardLimit, softLimit, hideMax = false) => {\n // show only if soft limit or hard limit is set and if the element has been rendered\n if ((hardLimit || softLimit) && !hideMax) {\n if (maxLengthElement !== null) {\n maxLengthElement.style.display = 'block';\n setTimeout(function () {\n maxLengthElement.style.opacity = '1';\n }, 150);\n }\n }\n};\n\nexport { itemStyle as i, showCharacterCounter as s };\n","import { r as registerInstance, h, H as Host, g as getElement } from './index-d4fae449.js';\nimport { f as flexGapSupported } from './utils-666cff40.js';\nimport { i as itemStyle } from './helpers-a2e2c8b3.js';\n\nconst itemCss = \":host{display:block;box-sizing:border-box;position:relative}.item-native{text-decoration:none;color:inherit}:host(.rs-item--padding){padding:0.5rem}:host(.rs-item--flex){width:100%}:host(.rs-item--flex) .item-native{display:flex;flex-direction:row;align-items:center}:host([appearance='outline']){box-shadow:inset 0 0 0 1px var(--rs-color-light);border-radius:0.5rem}:host([appearance='shadow']){box-shadow:0 1px 0.25rem rgba(195, 213, 226, 0.50041);border-radius:0.5rem}:host([appearance='none']){box-shadow:none;border-radius:0}::slotted([slot='start']){margin-right:0.4375rem}::slotted([slot='end']){margin-left:0.4375rem}:host([align-content='space-between']) .item-native ::slotted([slot='start']),:host([align-content='space-between']) .item-native ::slotted([slot='end']),:host([align-content='space-evenly']) .item-native ::slotted([slot='start']),:host([align-content='space-evenly']) .item-native ::slotted([slot='end']),:host([align-content='space-around']) .item-native ::slotted([slot='start']),:host([align-content='space-around']) .item-native ::slotted([slot='end']){margin:0}:host .item-native.no-flex-gap-support ::slotted(*){--fgp-margin-top:calc(var(--fgp-gap-row));--fgp-margin-left:calc(var(--fgp-gap-column));margin-top:var(--fgp-margin-top) !important;margin-left:var(--fgp-margin-left) !important}.no-flex-gap-support{--has-fgp:initial;--fgp-margin-top:calc(var(--fgp-gap-row, 0px) * -1);--fgp-margin-left:calc(var(--fgp-gap-column, 0px) * -1);display:flex;gap:var(--fgp-gap, 0px);margin-top:var(--fgp-margin-top, 0) !important;margin-left:var(--fgp-margin-left, 0) !important}\";\n\nconst Item = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.itemStyles = new Map();\n /**\n * If `true`, the user cannot interact with the item.\n */\n this.disabled = false;\n /**\n * The type of the button. Only used when an `onclick` or `button` property is present.\n */\n this.type = 'button';\n /**\n * Possible values are: outline, shadow and none.\n * If outline, it adds border around the item\n */\n this.appearance = 'none';\n /**\n * gap CSS rule\n * Note: This doesn't work on Safari\n */\n this.gap = 0;\n /**\n * If true, we apply default padding of 8px inside the item.\n */\n this.padding = false;\n /**\n * If true, we display all the elements inside the item in a single row.\n */\n this.flex = false;\n }\n rsItem(ev) {\n itemStyle(ev, this.itemStyles, this.el);\n }\n componentDidRender() {\n if (!flexGapSupported()) {\n this.item.style.setProperty('--fgp-gap-row', `${this.gap.toString()}px`);\n this.item.style.setProperty('--fgp-gap-column', `${this.gap.toString()}px`);\n this.item.style.setProperty('--fgp-gap', `${this.gap.toString()}px`);\n }\n }\n // If the item has an href or button property it will render a native\n // anchor or button that is clickable\n isClickable() {\n return (this.href !== undefined);\n }\n /**\n * This renders the component\n */\n render() {\n const { disabled, href, rel, target } = this;\n const childStyles = {};\n const clickable = this.isClickable();\n const TagType = clickable ? (href === undefined ? 'button' : 'a') : 'div';\n const attrs = (TagType === 'button')\n ? { type: this.type }\n : {\n href,\n rel,\n target\n };\n this.itemStyles.forEach(value => {\n Object.assign(childStyles, value);\n });\n return (h(Host, { class: Object.assign(Object.assign({}, childStyles), { 'rs-item--padding': this.padding, 'rs-item--flex': this.flex }) }, h(TagType, Object.assign({}, attrs, { class: {\n 'item-native': true,\n 'no-flex-gap-support': !flexGapSupported()\n }, ref: el => this.item = el, style: {\n 'flex-direction': this.flexDirection,\n 'align-items': this.alignItems,\n 'justify-content': this.justifyContent,\n 'align-content': this.alignContent,\n 'justify-items': this.justifyItems,\n 'gap': `${this.gap}px`,\n 'flex-wrap': this.flexWrap\n }, disabled: disabled }), h(\"slot\", { name: \"start\" }), h(\"slot\", null), h(\"slot\", { name: \"end\" }))));\n }\n get el() { return getElement(this); }\n};\nItem.style = itemCss;\n\nexport { Item as rs_item };\n","const flexGapSupported = () => {\n // create flex container with row-gap set\n const flex = document.createElement('div');\n flex.style.display = 'flex';\n flex.style.flexDirection = 'column';\n flex.style.rowGap = '1px';\n // create two, elements inside it\n flex.appendChild(document.createElement('div'));\n flex.appendChild(document.createElement('div'));\n // append to the DOM (needed to obtain scrollHeight)\n document.body.appendChild(flex);\n const isSupported = flex.scrollHeight === 1; // flex container should be 1px high from the row-gap\n flex.parentNode.removeChild(flex);\n return isSupported;\n};\nfunction eventListener(method, elements, events, fn, options = {}) {\n let localElements = elements;\n if (Array.isArray(elements)) {\n localElements = Array.from(elements);\n }\n else if (!Array.isArray(elements)) {\n localElements = [elements];\n }\n let localEvents = events;\n if (!Array.isArray(events)) {\n localEvents = [events];\n }\n localElements.forEach(el => {\n localEvents.forEach(ev => {\n el[method](ev, fn, Object.assign({ capture: false }, options));\n });\n });\n return [elements, events, fn, options];\n}\nconst on = eventListener.bind(null, 'addEventListener');\nconst off = eventListener.bind(null, 'removeEventListener');\nconst ScrollStop = (callback) => {\n // Make sure a valid callback was provided\n if (!callback || Object.prototype.toString.call(callback) !== '[object Function]') {\n return;\n }\n // Setup scrolling variable\n let isScrolling;\n // Listen for scroll events\n window.addEventListener('scroll', function () {\n // Clear our timeout throughout the scroll\n window.clearTimeout(isScrolling);\n // Set a timeout to run after scrolling ends\n isScrolling = setTimeout(function () {\n // Run the callback\n callback();\n }, 66);\n }, false);\n};\n\nexport { ScrollStop as S, off as a, flexGapSupported as f, on as o };\n"],"names":["itemStyle","ev","itemStyles","element","tagName","undefined","target","toLowerCase","replace","updatedStyles","detail","newStyles","childStyles","get","hasStyleChange","Object","keys","forEach","key","itemKey","length","set","f","showCharacterCounter","maxLengthElement","hardLimit","softLimit","hideMax","style","display","setTimeout","opacity","Item","constructor","hostRef","r","this","Map","disabled","type","appearance","gap","padding","flex","rsItem","i","el","componentDidRender","item","setProperty","toString","isClickable","href","render","rel","TagType","attrs","value","assign","h","H","class","ref","flexDirection","alignItems","justifyContent","alignContent","justifyItems","flexWrap","name","g","flexGapSupported","document","createElement","rowGap","appendChild","body","isSupported","scrollHeight","parentNode","removeChild","eventListener","method","elements","events","fn","options","localElements","Array","isArray","from","localEvents","capture","on","bind","off","ScrollStop","callback","prototype","call","isScrolling","window","addEventListener","clearTimeout"],"sourceRoot":""}
|