@rocketspark/domain-checker 0.0.19 → 0.0.21
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/.nvmrc +1 -0
- package/build/141.index.js +13 -0
- package/build/141.index.js.map +1 -0
- package/build/147.index.js +13 -0
- package/build/147.index.js.map +1 -0
- package/build/167.index.js +13 -0
- package/build/167.index.js.map +1 -0
- package/build/17.index.js +13 -0
- package/build/17.index.js.map +1 -0
- package/build/194.index.js +13 -0
- package/build/194.index.js.map +1 -0
- package/build/208.index.js +13 -0
- package/build/208.index.js.map +1 -0
- package/build/237.index.js +13 -0
- package/build/237.index.js.map +1 -0
- package/build/245.index.js +13 -0
- package/build/245.index.js.map +1 -0
- package/build/278.index.js +13 -0
- package/build/278.index.js.map +1 -0
- package/build/386.index.js +13 -0
- package/build/386.index.js.map +1 -0
- package/build/404.index.js +13 -0
- package/build/404.index.js.map +1 -0
- package/build/420.index.js +13 -0
- package/build/420.index.js.map +1 -0
- package/build/514.index.js +13 -0
- package/build/514.index.js.map +1 -0
- package/build/524.index.js +13 -0
- package/build/524.index.js.map +1 -0
- package/build/540.index.js +13 -0
- package/build/540.index.js.map +1 -0
- package/build/542.index.js +13 -0
- package/build/542.index.js.map +1 -0
- package/build/551.index.js +13 -0
- package/build/551.index.js.map +1 -0
- package/build/567.index.js +13 -0
- package/build/567.index.js.map +1 -0
- package/build/571.index.js +13 -0
- package/build/571.index.js.map +1 -0
- package/build/{903.index.js → 572.index.js} +3 -3
- package/build/572.index.js.map +1 -0
- package/build/584.index.js +13 -0
- package/build/584.index.js.map +1 -0
- package/build/588.index.js +13 -0
- package/build/588.index.js.map +1 -0
- package/build/598.index.js +13 -0
- package/build/598.index.js.map +1 -0
- package/build/60.index.js +13 -0
- package/build/60.index.js.map +1 -0
- package/build/616.index.js +13 -0
- package/build/616.index.js.map +1 -0
- package/build/631.index.js +13 -0
- package/build/631.index.js.map +1 -0
- package/build/643.index.js +13 -0
- package/build/643.index.js.map +1 -0
- package/build/{190.index.js → 654.index.js} +3 -3
- package/build/654.index.js.map +1 -0
- package/build/66.index.js +2 -2
- package/build/66.index.js.map +1 -1
- package/build/697.index.js +13 -0
- package/build/697.index.js.map +1 -0
- package/build/714.index.js +13 -0
- package/build/714.index.js.map +1 -0
- package/build/795.index.js +13 -0
- package/build/795.index.js.map +1 -0
- package/build/8.index.js +13 -0
- package/build/8.index.js.map +1 -0
- package/build/808.index.js +13 -0
- package/build/808.index.js.map +1 -0
- package/build/810.index.js +13 -0
- package/build/810.index.js.map +1 -0
- package/build/833.index.js +13 -0
- package/build/833.index.js.map +1 -0
- package/build/835.index.js +13 -0
- package/build/835.index.js.map +1 -0
- package/build/847.index.js +13 -0
- package/build/847.index.js.map +1 -0
- package/build/853.index.js +13 -0
- package/build/853.index.js.map +1 -0
- package/build/861.index.js +13 -0
- package/build/861.index.js.map +1 -0
- package/build/871.index.js +13 -0
- package/build/871.index.js.map +1 -0
- package/build/890.index.js +13 -0
- package/build/890.index.js.map +1 -0
- package/build/899.index.js +13 -0
- package/build/899.index.js.map +1 -0
- package/build/{698.index.js → 938.index.js} +3 -3
- package/build/938.index.js.map +1 -0
- package/build/964.index.js +13 -0
- package/build/964.index.js.map +1 -0
- package/build/970.index.js +13 -0
- package/build/970.index.js.map +1 -0
- package/build/993.index.js +13 -0
- package/build/993.index.js.map +1 -0
- package/build/css/index.css +3 -2
- package/build/css/index.css.map +1 -1
- package/build/index.js +3 -2
- package/build/index.js.map +1 -1
- package/build/types/Components/PopupContainer.d.ts +0 -1
- package/build/types/Components/SearchAlternativeRow.d.ts +3 -3
- package/build/types/Components/SearchStatus.d.ts +1 -1
- package/build/types/Helpers/Fetch.d.ts +3 -0
- package/build/types/Interfaces/class-names.d.ts +1 -0
- package/build/types/Interfaces/locale.d.ts +1 -1
- package/package.json +5 -8
- package/tsconfig.json +3 -3
- package/webpack.config.demo.js +10 -8
- package/build/130.index.js +0 -13
- package/build/130.index.js.map +0 -1
- package/build/145.index.js +0 -13
- package/build/145.index.js.map +0 -1
- package/build/171.index.js +0 -13
- package/build/171.index.js.map +0 -1
- package/build/190.index.js.map +0 -1
- package/build/228.index.js +0 -13
- package/build/228.index.js.map +0 -1
- package/build/23.index.js +0 -13
- package/build/23.index.js.map +0 -1
- package/build/253.index.js +0 -13
- package/build/253.index.js.map +0 -1
- package/build/269.index.js +0 -13
- package/build/269.index.js.map +0 -1
- package/build/307.index.js +0 -13
- package/build/307.index.js.map +0 -1
- package/build/314.index.js +0 -13
- package/build/314.index.js.map +0 -1
- package/build/330.index.js +0 -13
- package/build/330.index.js.map +0 -1
- package/build/346.index.js +0 -13
- package/build/346.index.js.map +0 -1
- package/build/385.index.js +0 -13
- package/build/385.index.js.map +0 -1
- package/build/431.index.js +0 -13
- package/build/431.index.js.map +0 -1
- package/build/447.index.js +0 -13
- package/build/447.index.js.map +0 -1
- package/build/482.index.js +0 -13
- package/build/482.index.js.map +0 -1
- package/build/525.index.js +0 -13
- package/build/525.index.js.map +0 -1
- package/build/536.index.js +0 -13
- package/build/536.index.js.map +0 -1
- package/build/548.index.js +0 -13
- package/build/548.index.js.map +0 -1
- package/build/565.index.js +0 -13
- package/build/565.index.js.map +0 -1
- package/build/577.index.js +0 -13
- package/build/577.index.js.map +0 -1
- package/build/655.index.js +0 -13
- package/build/655.index.js.map +0 -1
- package/build/669.index.js +0 -13
- package/build/669.index.js.map +0 -1
- package/build/677.index.js +0 -13
- package/build/677.index.js.map +0 -1
- package/build/678.index.js +0 -13
- package/build/678.index.js.map +0 -1
- package/build/69.index.js +0 -13
- package/build/69.index.js.map +0 -1
- package/build/690.index.js +0 -13
- package/build/690.index.js.map +0 -1
- package/build/694.index.js +0 -13
- package/build/694.index.js.map +0 -1
- package/build/698.index.js.map +0 -1
- package/build/716.index.js +0 -13
- package/build/716.index.js.map +0 -1
- package/build/717.index.js +0 -13
- package/build/717.index.js.map +0 -1
- package/build/724.index.js +0 -13
- package/build/724.index.js.map +0 -1
- package/build/738.index.js +0 -13
- package/build/738.index.js.map +0 -1
- package/build/799.index.js +0 -13
- package/build/799.index.js.map +0 -1
- package/build/82.index.js +0 -13
- package/build/82.index.js.map +0 -1
- package/build/858.index.js +0 -13
- package/build/858.index.js.map +0 -1
- package/build/882.index.js +0 -13
- package/build/882.index.js.map +0 -1
- package/build/895.index.js +0 -13
- package/build/895.index.js.map +0 -1
- package/build/903.index.js.map +0 -1
- package/build/911.index.js +0 -13
- package/build/911.index.js.map +0 -1
- package/build/912.index.js +0 -13
- package/build/912.index.js.map +0 -1
- package/build/927.index.js +0 -13
- package/build/927.index.js.map +0 -1
- package/build/953.index.js +0 -13
- package/build/953.index.js.map +0 -1
- package/build/955.index.js +0 -13
- package/build/955.index.js.map +0 -1
- package/build/994.index.js +0 -13
- package/build/994.index.js.map +0 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* @rocketspark/domain-checker v0.0.21
|
|
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([[542],{2542:function(e,t,n){n.r(t),n.d(t,{rs_incrementer:function(){return r}});var i=n(7915);const r=class{constructor(e){(0,i.r)(this,e),this.rsChange=(0,i.c)(this,"rsChange",7),this.customOptionsArray=[],this.customOptionIndex=0,this.onDecrementHandler=e=>{if(e.stopPropagation(),this.customOptions){if(this.customOptionsArray.length>0){let e=this.customOptionIndex-1;this.handleOutOfRangeIndex(e),e=this.validateCustomOptionIndex(this.customOptionIndex-1),this.customOptionIndex=e,this.value=this.customOptionsArray[e]}}else this.value=Number.parseFloat(this.value),this.value=Number.parseFloat((this.value-this.step).toFixed(this.decimalPlaces))},this.onIncrementHandler=e=>{if(e.stopPropagation(),this.customOptions){if(this.customOptionsArray.length>0){let e=this.customOptionIndex+1;this.handleOutOfRangeIndex(e),e=this.validateCustomOptionIndex(this.customOptionIndex+1),this.customOptionIndex=e,this.value=this.customOptionsArray[e]}}else this.value=Number.parseFloat(this.value),this.value=Number.parseFloat((this.value+this.step).toFixed(this.decimalPlaces))},this.onClickHandler=()=>{this.dropdown&&!this.isDropdownVisible?this.showDropdown():this.hideDropdown()},this.onOptionClickHandler=e=>{const t=parseFloat(e.target.dataset.value);this.value=parseFloat(t.toFixed(this.decimalPlaces))},this.isDropdownVisible=!1,this.step=1,this.value=1,this.min=0,this.max=100,this.suffix="",this.dropdown=!1,this.decimalPlaces=0,this.dropdownStep=0,this.customOptions=!1}valueChanged(e){if(this.value=e,this.dropdown&&this.customOptions&&(this.customOptionIndex=this.customOptionsArray.indexOf(this.value)),!this.customOptions){const e=r.validateMin(this.min),t=r.validateMax(this.max);this.value<e?this.value=e:this.value>t&&(this.value=t),this.value===e?this.decrementButton.classList.add("number-incrementer__control--disable"):this.value===t?this.incrementButton.classList.add("number-incrementer__control--disable"):(this.incrementButton.classList.remove("number-incrementer__control--disable"),this.decrementButton.classList.remove("number-incrementer__control--disable"))}this.rsChange.emit({value:this.value})}async showDropdown(){this.dropdown&&(this.setDropdownHeight(),this.isDropdownVisible=!0)}async hideDropdown(){this.dropdown&&(this.isDropdownVisible=!1)}async toggleDropdown(){this.onClickHandler()}rsOptionClickHandler(e){this.value=e.detail.value}validateCustomOptionIndex(e){return e<0&&(e=0),e>this.customOptionsArray.length-1&&(e=this.customOptionsArray.length-1),e}static validateMin(e){return isNaN(e)?0:Number(e)}static validateMax(e){return isNaN(e)?100:Number(e)}handleOutOfRangeIndex(e){e<=0?this.decrementButton.classList.add("number-incrementer__control--disable"):this.decrementButton.classList.remove("number-incrementer__control--disable"),e>=this.customOptionsArray.length-1?this.incrementButton.classList.add("number-incrementer__control--disable"):this.incrementButton.classList.remove("number-incrementer__control--disable")}setDropdownHeight(){if(this.dropdown){const e=this.el.getBoundingClientRect(),t=e.top+e.height;let n=window.innerHeight-t-5;n<50&&(n=50),n<300&&(this.dropdownList.style.height=n+"px")}}componentDidLoad(){if(document.addEventListener("click",(e=>{null==e.target.closest(".number-incrementer")&&this.isDropdownVisible&&this.hideDropdown()})),this.dropdown&&this.customOptions){document.querySelectorAll("rs-incrementer-option").forEach((e=>{this.customOptionsArray.push(e.dataset.value)})),this.customOptionsArray.length>0&&(this.customOptionIndex=this.customOptionsArray.indexOf(this.value),this.handleOutOfRangeIndex(this.customOptionIndex))}}componentWillRender(){const e=this.step%1;if(0===this.decimalPlaces&&0!==e&&(this.decimalPlaces=1),this.dropdownStep=0===this.dropdownStep?this.step:this.dropdownStep,this.dropdown){let e=[];const t=r.validateMin(this.min),n=r.validateMax(this.max);for(let i=t;i<=n;i+=this.dropdownStep)i=Number(i.toFixed(this.decimalPlaces)),e.push(i);e=e.filter(((t,n)=>e.indexOf(t)===n));let s=e.map((e=>(0,i.h)("span",{class:"number-incrementer__dropdown-item",onClick:this.onOptionClickHandler,"data-value":e},e+this.suffix)));this.customOptions&&(s=(0,i.h)("slot",null)),this.dropdownHtml=(0,i.h)("div",{class:{"number-incrementer__dropdown-container":!0,"number-incrementer__dropdown-container--active":this.isDropdownVisible},style:{display:this.isDropdownVisible?"block":"none",opacity:this.isDropdownVisible?"1":"0","pointer-events":this.isDropdownVisible?"auto":"none"}},(0,i.h)("div",{class:"number-incrementer__dropdown-list",ref:e=>this.dropdownList=e},s))}}render(){return(0,i.h)(i.H,{class:{"number-incrementer":!0,"number-incrementer--dropdown":this.dropdown},onClick:this.onClickHandler},(0,i.h)("div",{class:"number-incrementer__container"},(0,i.h)("span",{class:"number-incrementer__control number-incrementer__control--decrement",ref:e=>this.decrementButton=e,onClick:this.onDecrementHandler},(0,i.h)("rs-icon",{name:"minus",color:"secondary"})),(0,i.h)("span",{class:"number-incrementer__value"},this.value+this.suffix),(0,i.h)("span",{class:"number-incrementer__control number-incrementer__control--increment",ref:e=>this.incrementButton=e,onClick:this.onIncrementHandler},(0,i.h)("rs-icon",{name:"plus",color:"secondary"}))),this.dropdownHtml)}get el(){return(0,i.g)(this)}static get watchers(){return{value:["valueChanged"]}}};r.style=".sc-rs-incrementer-h{display:block;width:100%;height:32px;min-width:114px;box-sizing:border-box;font-family:Soleil, sans-serif;color:var(--rs-color-secondary);position:relative}.number-incrementer--dropdown.sc-rs-incrementer-h{cursor:pointer}.number-incrementer__container.sc-rs-incrementer{border:1px solid var(--rs-color-select-border);border-radius:4px;background-color:rgba(216, 216, 216, 0);padding:5px;display:flex;align-items:center;justify-content:space-between;user-select:none}.number-incrementer__control.sc-rs-incrementer{width:20px;height:20px;background-color:var(--rs-color-select-secondary);border-radius:50%;font-size:16px;font-weight:500;line-height:20px;cursor:pointer;display:flex;align-items:center;justify-content:center}.number-incrementer__control--disable.sc-rs-incrementer{opacity:0.5;cursor:not-allowed}.number-incrementer__control.sc-rs-incrementer rs-icon.sc-rs-incrementer{font-size:8px}.number-incrementer__value.sc-rs-incrementer{font-size:14px;font-family:'Soleil', sans-serif;color:var(--rs-color-black);flex-grow:1;text-align:center}.number-incrementer--dropdown.sc-rs-incrementer-h .number-incrementer__value.sc-rs-incrementer{cursor:pointer}.number-incrementer__dropdown-container.sc-rs-incrementer{z-index:9;position:absolute;width:100%;background-color:var(--rs-color-white);border:1px solid var(--rs-color-select-border);top:100%;margin-top:-3px;box-sizing:border-box;border-bottom-left-radius:3px;border-bottom-right-radius:3px;overflow:hidden;word-break:break-all;opacity:0;pointer-events:none;transition:opacity 0.15s ease-out 0.05s}.number-incrementer__dropdown-list.sc-rs-incrementer{position:relative;max-height:300px;overflow:auto;-webkit-overflow-scrolling:touch;will-change:scroll-position}.number-incrementer__dropdown-item.sc-rs-incrementer{display:block;position:relative;padding:10px;font-family:'Soleil', sans-serif;cursor:pointer;font-size:12px}.number-incrementer__dropdown-item.sc-rs-incrementer:h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O,kCAAmC,IAAAD,GAAE,OAAQ,CAAEC,MAAO,qEAAsEG,IAAK/B,GAAMjD,KAAKqC,gBAAkBY,EAAI6B,QAAS9E,KAAKK,qBAAsB,IAAAuE,GAAE,UAAW,CAAEO,KAAM,QAASC,MAAO,gBAAiB,IAAAR,GAAE,OAAQ,CAAEC,MAAO,6BAA+B7E,KAAKa,MAAQb,KAAK8B,SAAS,IAAA8C,GAAE,OAAQ,CAAEC,MAAO,qEAAsEG,IAAK/B,GAAMjD,KAAKwC,gBAAkBS,EAAI6B,QAAS9E,KAAKmB,qBAAsB,IAAAyD,GAAE,UAAW,CAAEO,KAAM,OAAQC,MAAO,gBAAkBpF,KAAK+E,aAChmB,CACA,MAAI9B,GAAO,OAAO,IAAAoC,GAAWrF,KAAO,CACpC,mBAAWsF,GAAa,MAAO,CAC7B,MAAS,CAAC,gBACT,GAEL1F,EAAY8D,MA3RW,49D","sources":["webpack://DomainChecker/./node_modules/@rocketspark/flint-ui/dist/esm/rs-incrementer.entry.js"],"sourcesContent":["import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-3d0f28ab.js';\n\nconst incrementerCss = \".sc-rs-incrementer-h{display:block;width:100%;height:32px;min-width:114px;box-sizing:border-box;font-family:Soleil, sans-serif;color:var(--rs-color-secondary);position:relative}.number-incrementer--dropdown.sc-rs-incrementer-h{cursor:pointer}.number-incrementer__container.sc-rs-incrementer{border:1px solid var(--rs-color-select-border);border-radius:4px;background-color:rgba(216, 216, 216, 0);padding:5px;display:flex;align-items:center;justify-content:space-between;user-select:none}.number-incrementer__control.sc-rs-incrementer{width:20px;height:20px;background-color:var(--rs-color-select-secondary);border-radius:50%;font-size:16px;font-weight:500;line-height:20px;cursor:pointer;display:flex;align-items:center;justify-content:center}.number-incrementer__control--disable.sc-rs-incrementer{opacity:0.5;cursor:not-allowed}.number-incrementer__control.sc-rs-incrementer rs-icon.sc-rs-incrementer{font-size:8px}.number-incrementer__value.sc-rs-incrementer{font-size:14px;font-family:'Soleil', sans-serif;color:var(--rs-color-black);flex-grow:1;text-align:center}.number-incrementer--dropdown.sc-rs-incrementer-h .number-incrementer__value.sc-rs-incrementer{cursor:pointer}.number-incrementer__dropdown-container.sc-rs-incrementer{z-index:9;position:absolute;width:100%;background-color:var(--rs-color-white);border:1px solid var(--rs-color-select-border);top:100%;margin-top:-3px;box-sizing:border-box;border-bottom-left-radius:3px;border-bottom-right-radius:3px;overflow:hidden;word-break:break-all;opacity:0;pointer-events:none;transition:opacity 0.15s ease-out 0.05s}.number-incrementer__dropdown-list.sc-rs-incrementer{position:relative;max-height:300px;overflow:auto;-webkit-overflow-scrolling:touch;will-change:scroll-position}.number-incrementer__dropdown-item.sc-rs-incrementer{display:block;position:relative;padding:10px;font-family:'Soleil', sans-serif;cursor:pointer;font-size:12px}.number-incrementer__dropdown-item.sc-rs-incrementer:hover{background-color:var(--rs-color-select-background)}\";\n\nconst Incrementer = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.rsChange = createEvent(this, \"rsChange\", 7);\n this.customOptionsArray = [];\n this.customOptionIndex = 0;\n /**\n * Decrements the 'value'\n * @param event\n */\n this.onDecrementHandler = (event) => {\n event.stopPropagation();\n if (!this.customOptions) {\n this.value = Number.parseFloat(this.value); // makes sure that the value is a number so we can do calculations\n this.value = Number.parseFloat((this.value - this.step).toFixed(this.decimalPlaces));\n }\n else {\n if (this.customOptionsArray.length > 0) {\n let index = this.customOptionIndex - 1;\n this.handleOutOfRangeIndex(index);\n index = this.validateCustomOptionIndex(this.customOptionIndex - 1);\n this.customOptionIndex = index;\n this.value = this.customOptionsArray[index];\n }\n }\n };\n /**\n * Increments the 'value'\n * @param event\n */\n this.onIncrementHandler = (event) => {\n event.stopPropagation();\n if (!this.customOptions) {\n this.value = Number.parseFloat(this.value); // makes sure that the value is a number so we can do calculations\n this.value = Number.parseFloat((this.value + this.step).toFixed(this.decimalPlaces));\n }\n else {\n if (this.customOptionsArray.length > 0) {\n let index = this.customOptionIndex + 1;\n this.handleOutOfRangeIndex(index);\n index = this.validateCustomOptionIndex(this.customOptionIndex + 1);\n this.customOptionIndex = index;\n this.value = this.customOptionsArray[index];\n }\n }\n // this.value = this.value + this.step;\n };\n /**\n * A handler for when the incrementer is clicked.\n * Hides/Shows the dropdown.\n */\n this.onClickHandler = () => {\n if (this.dropdown && !this.isDropdownVisible) {\n this.showDropdown();\n }\n else {\n this.hideDropdown();\n }\n };\n /**\n * A handler for when a dropdown options is clicked.\n * Sets the value to the value selected by the user.\n * @param event\n */\n this.onOptionClickHandler = event => {\n const value = parseFloat(event.target.dataset.value);\n this.value = parseFloat(value.toFixed(this.decimalPlaces));\n };\n this.isDropdownVisible = false;\n this.step = 1;\n this.value = 1;\n this.min = 0;\n this.max = 100;\n this.suffix = '';\n this.dropdown = false;\n this.decimalPlaces = 0;\n this.dropdownStep = 0;\n this.customOptions = false;\n }\n /**\n * Watch for any changes on the `value` property.\n */\n valueChanged(newValue) {\n this.value = newValue;\n if (this.dropdown && this.customOptions) {\n // update the index\n this.customOptionIndex = this.customOptionsArray.indexOf(this.value);\n }\n if (!this.customOptions) {\n const min = Incrementer.validateMin(this.min);\n const max = Incrementer.validateMax(this.max);\n // makes sure that the value is within the set min and max\n if (this.value < min) {\n this.value = min;\n }\n else if (this.value > max) {\n this.value = max;\n }\n // disable control when value is equal to min or max\n if (this.value === min) {\n this.decrementButton.classList.add('number-incrementer__control--disable');\n }\n else if (this.value === max) {\n this.incrementButton.classList.add('number-incrementer__control--disable');\n }\n else {\n this.incrementButton.classList.remove('number-incrementer__control--disable');\n this.decrementButton.classList.remove('number-incrementer__control--disable');\n }\n }\n this.rsChange.emit({ value: this.value }); // emit change in input\n }\n /**\n * A function that can be called on the element to show the dropdown\n */\n async showDropdown() {\n if (this.dropdown) {\n this.setDropdownHeight();\n this.isDropdownVisible = true;\n }\n }\n /**\n * A function that can be called on the element to hide the dropdown\n */\n async hideDropdown() {\n if (this.dropdown) {\n this.isDropdownVisible = false;\n }\n }\n /**\n * A function that can be called on the element to toggle the dropdown\n */\n async toggleDropdown() {\n this.onClickHandler();\n }\n rsOptionClickHandler(event) {\n this.value = event.detail.value;\n }\n /**\n * Makes sure that the selected index is not out of range\n *\n * @param index\n * @private\n */\n validateCustomOptionIndex(index) {\n if (index < 0) {\n index = 0;\n }\n if (index > (this.customOptionsArray.length - 1)) {\n index = this.customOptionsArray.length - 1;\n }\n return index;\n }\n /**\n * Makes sure that the min is type 'number'. Returns default value of 0 if NaN\n *\n * @param min\n * @private\n */\n static validateMin(min) {\n return isNaN(min) ? 0 : Number(min);\n }\n /**\n * Makes sure that the max is type 'number'. Returns default value of 100 if NaN\n *\n * @param max\n * @private\n */\n static validateMax(max) {\n return isNaN(max) ? 100 : Number(max);\n }\n /**\n * When the selected is out of range, we disable the control\n *\n * @param index\n * @private\n */\n handleOutOfRangeIndex(index) {\n if (index <= 0) {\n this.decrementButton.classList.add('number-incrementer__control--disable');\n }\n else {\n this.decrementButton.classList.remove('number-incrementer__control--disable');\n }\n if (index >= (this.customOptionsArray.length - 1)) {\n this.incrementButton.classList.add('number-incrementer__control--disable');\n }\n else {\n this.incrementButton.classList.remove('number-incrementer__control--disable');\n }\n }\n /**\n * Adjusts the height of the dropdown\n * @private\n */\n setDropdownHeight() {\n if (this.dropdown) {\n const position = this.el.getBoundingClientRect();\n const bottom = position.top + position.height;\n let dropdownHeight = window.innerHeight - bottom - 5; // This is just an additional subtraction to make sure it doesn't butt up against the bottom of the window\n if (dropdownHeight < 50) {\n dropdownHeight = 50;\n }\n if (dropdownHeight < 300) {\n this.dropdownList.style.height = dropdownHeight + 'px';\n }\n }\n }\n /**\n * This gets called once after the component has been rendered.\n */\n componentDidLoad() {\n // If the dropdown is visible and user clicks outside the incrementer, we hide the dropdown\n document.addEventListener('click', (event) => {\n if (event.target.closest('.number-incrementer') == null) {\n if (this.isDropdownVisible) {\n this.hideDropdown();\n }\n }\n });\n // get all the custom options\n if (this.dropdown && this.customOptions) {\n const customOptionElements = document.querySelectorAll('rs-incrementer-option');\n customOptionElements.forEach(customOptionElement => {\n // get the value and store it in an array\n this.customOptionsArray.push(customOptionElement.dataset.value);\n });\n if (this.customOptionsArray.length > 0) {\n this.customOptionIndex = this.customOptionsArray.indexOf(this.value); // update index\n this.handleOutOfRangeIndex(this.customOptionIndex);\n }\n }\n }\n componentWillRender() {\n const stepCheck = this.step % 1;\n if (this.decimalPlaces === 0 && stepCheck !== 0) {\n this.decimalPlaces = 1;\n }\n this.dropdownStep = this.dropdownStep === 0 ? this.step : this.dropdownStep;\n // If dropdown is enabled,\n if (this.dropdown) {\n // get all the options\n let options = [];\n // makes sure min and max are numbers before we do something with them\n const min = Incrementer.validateMin(this.min);\n const max = Incrementer.validateMax(this.max);\n for (let i = min; i <= max; i += this.dropdownStep) {\n i = Number(i.toFixed(this.decimalPlaces));\n options.push(i);\n }\n options = options.filter((item, index) => options.indexOf(item) === index);\n // render the options\n let dropdownOptions = options.map((option => h(\"span\", { class: \"number-incrementer__dropdown-item\", onClick: this.onOptionClickHandler, \"data-value\": option }, option + this.suffix)));\n if (this.customOptions) {\n dropdownOptions = (h(\"slot\", null)); // if we want custom options, we create a slot for rs-incrementer-option\n }\n // render dropdown\n this.dropdownHtml = (h(\"div\", { class: {\n 'number-incrementer__dropdown-container': true,\n 'number-incrementer__dropdown-container--active': this.isDropdownVisible\n }, style: {\n 'display': this.isDropdownVisible ? 'block' : 'none',\n 'opacity': this.isDropdownVisible ? '1' : '0',\n 'pointer-events': this.isDropdownVisible ? 'auto' : 'none',\n } }, h(\"div\", { class: \"number-incrementer__dropdown-list\", ref: el => this.dropdownList = el }, dropdownOptions)));\n }\n }\n /**\n * Renders the component\n */\n render() {\n return (h(Host, { class: {\n 'number-incrementer': true,\n 'number-incrementer--dropdown': this.dropdown,\n }, onClick: this.onClickHandler }, h(\"div\", { class: \"number-incrementer__container\" }, h(\"span\", { class: \"number-incrementer__control number-incrementer__control--decrement\", ref: el => this.decrementButton = el, onClick: this.onDecrementHandler }, h(\"rs-icon\", { name: \"minus\", color: \"secondary\" })), h(\"span\", { class: \"number-incrementer__value\" }, this.value + this.suffix), h(\"span\", { class: \"number-incrementer__control number-incrementer__control--increment\", ref: el => this.incrementButton = el, onClick: this.onIncrementHandler }, h(\"rs-icon\", { name: \"plus\", color: \"secondary\" }))), this.dropdownHtml));\n }\n get el() { return getElement(this); }\n static get watchers() { return {\n \"value\": [\"valueChanged\"]\n }; }\n};\nIncrementer.style = incrementerCss;\n\nexport { Incrementer as rs_incrementer };\n\n//# sourceMappingURL=rs-incrementer.entry.js.map"],"names":["Incrementer","constructor","hostRef","r","this","rsChange","c","customOptionsArray","customOptionIndex","onDecrementHandler","event","stopPropagation","customOptions","length","index","handleOutOfRangeIndex","validateCustomOptionIndex","value","Number","parseFloat","step","toFixed","decimalPlaces","onIncrementHandler","onClickHandler","dropdown","isDropdownVisible","showDropdown","hideDropdown","onOptionClickHandler","target","dataset","min","max","suffix","dropdownStep","valueChanged","newValue","indexOf","validateMin","validateMax","decrementButton","classList","add","incrementButton","remove","emit","setDropdownHeight","toggleDropdown","rsOptionClickHandler","detail","isNaN","position","el","getBoundingClientRect","bottom","top","height","dropdownHeight","window","innerHeight","dropdownList","style","componentDidLoad","document","addEventListener","closest","querySelectorAll","forEach","customOptionElement","push","componentWillRender","stepCheck","options","i","filter","item","dropdownOptions","map","option","h","class","onClick","dropdownHtml","ref","render","H","name","color","g","watchers"],"sourceRoot":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* @rocketspark/domain-checker v0.0.21
|
|
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([[551],{5551:function(e,t,n){n.r(t),n.d(t,{rs_checkbox:function(){return o}});var i=n(7915);const o=class{constructor(e){(0,i.r)(this,e),this.rsChange=(0,i.c)(this,"rsChange",7),this.onChange=e=>{const t=e.target;void 0!==t&&(this.checked=t.checked,this.rsChange.emit({value:this.checked}))},this.disabled=!1,this.checked=!1}render(){return(0,i.h)(i.H,null,(0,i.h)("input",{onChange:this.onChange,type:"checkbox",id:"checkbox",disabled:this.disabled,checked:this.checked}),(0,i.h)("label",{htmlFor:"checkbox"},(0,i.h)("rs-content",{body:2,color:"grey",display:"inline-block"},(0,i.h)("slot",null))))}};o.style=':host{display:block}input{display:none;cursor:pointer;width:20px;height:20px}input+label{position:relative;cursor:pointer;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;user-select:none;font-size:0}label rs-content{line-height:1.5em}input+label rs-content{margin-left:26px}input+label::before,input+label::after{width:20px;height:20px;content:" ";display:inline-block;border-radius:3px;cursor:pointer;transition:background 0.15s ease-out, opacity 0.15s ease-out, border 0.15s ease-out;position:absolute;left:0;text-align:center;top:1px}input+label::before{background:var(--rs-color-white);box-shadow:inset 0 0 0 1px var(--rs-color-grey)}input+label::after{opacity:0;font-size:14px;display:flex;align-items:center;justify-content:center}input:checked+label::before{background:var(--rs-color-primary);box-shadow:inset 0 0 0 1px var(--rs-color-primary)}input:checked+label::after{content:"\\e901";color:#fff;opacity:1;font-family:rs-icons !important;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}input[disabled],input[disabled]+label,input[disabled]+label::before,input[disabled]+label::after,input[disabled]:checked+label,input[disabled]:checked+label::before,input[disabled]:checked+label::after{filter:grayscale(1);cursor:not-allowed}'}}]);
|
|
13
|
+
//# sourceMappingURL=551.index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"551.index.js","mappings":";;;;;;;;;;;kLAEA,MAEMA,EAAa,MACjB,WAAAC,CAAYC,IACV,IAAAC,GAAiBC,KAAMF,GACvBE,KAAKC,UAAW,IAAAC,GAAYF,KAAM,WAAY,GAC9CA,KAAKG,SAAYC,IACf,MAAMC,EAAWD,EAAGE,YACHC,IAAbF,IACFL,KAAKQ,QAAUH,EAASG,QACxBR,KAAKC,SAASQ,KAAK,CAAEC,MAAOV,KAAKQ,UACnC,EAEFR,KAAKW,UAAW,EAChBX,KAAKQ,SAAU,CACjB,CACA,MAAAI,GACE,OAAQ,IAAAC,GAAE,EAAAC,EAAM,MAAM,IAAAD,GAAE,QAAS,CAAEV,SAAUH,KAAKG,SAAUY,KAAM,WAAYC,GAAI,WAAYL,SAAUX,KAAKW,SAAUH,QAASR,KAAKQ,WAAY,IAAAK,GAAE,QAAS,CAAEI,QAAS,aAAc,IAAAJ,GAAE,aAAc,CAAEK,KAAM,EAAGC,MAAO,OAAQC,QAAS,iBAAkB,IAAAP,GAAE,OAAQ,QACtQ,GAEFjB,EAAWyB,MApBS,i3C","sources":["webpack://DomainChecker/./node_modules/@rocketspark/flint-ui/dist/esm/rs-checkbox.entry.js"],"sourcesContent":["import { r as registerInstance, c as createEvent, h, H as Host } from './index-3d0f28ab.js';\n\nconst checkboxCss = \":host{display:block}input{display:none;cursor:pointer;width:20px;height:20px}input+label{position:relative;cursor:pointer;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;user-select:none;font-size:0}label rs-content{line-height:1.5em}input+label rs-content{margin-left:26px}input+label::before,input+label::after{width:20px;height:20px;content:\\\" \\\";display:inline-block;border-radius:3px;cursor:pointer;transition:background 0.15s ease-out, opacity 0.15s ease-out, border 0.15s ease-out;position:absolute;left:0;text-align:center;top:1px}input+label::before{background:var(--rs-color-white);box-shadow:inset 0 0 0 1px var(--rs-color-grey)}input+label::after{opacity:0;font-size:14px;display:flex;align-items:center;justify-content:center}input:checked+label::before{background:var(--rs-color-primary);box-shadow:inset 0 0 0 1px var(--rs-color-primary)}input:checked+label::after{content:\\\"\\\\e901\\\";color:#fff;opacity:1;font-family:rs-icons !important;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}input[disabled],input[disabled]+label,input[disabled]+label::before,input[disabled]+label::after,input[disabled]:checked+label,input[disabled]:checked+label::before,input[disabled]:checked+label::after{filter:grayscale(1);cursor:not-allowed}\";\n\nconst RsCheckbox = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.rsChange = createEvent(this, \"rsChange\", 7);\n this.onChange = (ev) => {\n const checkbox = ev.target;\n if (checkbox !== undefined) {\n this.checked = checkbox.checked;\n this.rsChange.emit({ value: this.checked });\n }\n };\n this.disabled = false;\n this.checked = false;\n }\n render() {\n return (h(Host, null, h(\"input\", { onChange: this.onChange, type: \"checkbox\", id: \"checkbox\", disabled: this.disabled, checked: this.checked }), h(\"label\", { htmlFor: 'checkbox' }, h(\"rs-content\", { body: 2, color: 'grey', display: 'inline-block' }, h(\"slot\", null)))));\n }\n};\nRsCheckbox.style = checkboxCss;\n\nexport { RsCheckbox as rs_checkbox };\n\n//# sourceMappingURL=rs-checkbox.entry.js.map"],"names":["RsCheckbox","constructor","hostRef","r","this","rsChange","c","onChange","ev","checkbox","target","undefined","checked","emit","value","disabled","render","h","H","type","id","htmlFor","body","color","display","style"],"sourceRoot":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* @rocketspark/domain-checker v0.0.21
|
|
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([[567],{1567:function(t,e,i){i.r(e),i.d(e,{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(7915);const n=class{constructor(t){(0,o.r)(this,t),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:13px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}";const s=class{constructor(t){(0,o.r)(this,t),this.rsCancel=(0,o.c)(this,"rsCancel",7),this.rsSave=(0,o.c)(this,"rsSave",7),this.save=()=>{this.disabled||this.rsSave.emit()},this.cancel=()=>{this.disabled||this.rsCancel.emit()},this.loading=void 0,this.disabled=!1,this.panelOpen=!1,this.isDirty=!1}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:260px;margin:25px;box-sizing:border-box}.heading-container{margin-bottom:30px;margin-top:25px}.subtitle{margin-top:5px;text-transform:uppercase}.button-container{display:flex;height:36px;transition:height 0.15s ease-out;overflow:hidden}.button-container--hidden{height:0}.save{flex-grow:1}.cancel{margin-left:10px}";const r=class{constructor(t){(0,o.r)(this,t),this.heading=void 0,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 t=window.requestAnimationFrame||window.setImmediate||function(t){return setTimeout(t,0)};function e(t){Object.defineProperty(t,"data-simple-scrollbar",{value:new o(t),configurable:!0})}function i(t){Object.prototype.hasOwnProperty.call(t,"data-simple-scrollbar")&&(t["data-simple-scrollbar"].unBind(),delete t["data-simple-scrollbar"])}function o(e){for(this.target=e,this.content=e.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(e,i){let o;function n(e){const n=e.pageY-o;o=e.pageY,t((function(){i.el.scrollTop+=n/i.scrollRatio}))}function s(){e.classList.remove("ss-grabbed"),document.body.classList.remove("ss-grabbed"),document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",s)}e.addEventListener("mousedown",(function(t){return o=t.pageY,e.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(e);"0px"===i.height&&"0px"!==i["max-height"]&&(e.style.height=i["max-height"]);const o=new ResizeObserver(this.mB);null==o||o.observe(this.el.querySelector(".content-container__inner")),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,null==o||o.disconnect()}}function n(t,e=!1,i=!1){const o=new CustomEvent("customScroll",{detail:{topScrollable:e,bottomScrollable:i}});null==t||t.dispatchEvent(o)}function s(){const t=document.querySelectorAll("*[ss-container]");for(let i=0;i<t.length;i++)e(t[i])}return o.prototype={moveBar:function(){const e=this.el.scrollHeight,i=this.el.clientHeight,o=this;this.scrollRatio=i/e;const s="rtl"===o.direction?o.target.clientWidth-o.bar.clientWidth+18:-1*(o.target.clientWidth-o.bar.clientWidth);t((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/e*100+"%;right:"+s+"px;");if(0===o.el.scrollTop&&o.scrollRatio<1)n(o.target,!1,!0);else{const t=o.el.scrollTop>0,e=o.el.scrollHeight-o.el.scrollTop>i;n(o.target,t,e)}}))}},document.addEventListener("DOMContentLoaded",s),o.initEl=e,o.initAll=s,o.unbindEl=i,o.unbindAll=function(){const t=document.querySelectorAll(".ss-container");for(let e=0;e<t.length;e++)i(t[e])},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 4px rgba(var(--rs-color-grey-light-rgb), 0.5);border-radius:10px;padding:16px 20px;cursor:pointer}";const c=class{constructor(t){(0,o.r)(this,t),this.closeMoreContent=(0,o.c)(this,"closeMoreContent",7),this.closeContent=(0,o.c)(this,"closeContent",7),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,this.itemOpen=!1,this.heading=void 0,this.subHeading=void 0,this.moreContentOpen=!1,this.contentLevel=1,this.openLevel=1,this.topScrollable=!1,this.bottomScrollable=!1}watchItemOpen(t){t?(l().initEl(this.contentScroller),this.contentScroller.addEventListener("customScroll",(t=>{this.topScrollable=t.detail.topScrollable,this.bottomScrollable=t.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:t=>this.contentScroller=t},(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:32px;height:32px;box-shadow:inset 0 0 0 1px var(--rs-color-grey-light);border-radius:32px;justify-content:center;align-items:center;font-size:16px;cursor:pointer;display:flex;position:absolute;top:16px;right:16px;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:48px;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:25px}.item-content--open.item-content--is-background.item-content--level-2{top:48px}.subtitle{margin-top:5px;text-transform:uppercase}.container{height:100%;background-color:var(--rs-color-white);border-radius:15px 15px 0 0;box-shadow:0 5px 15px rgb(70 74 83 / 25%);box-sizing:border-box;padding-top:40px;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:48px;transform:scale(0.8) translateY(-45px)}.content-container{box-sizing:border-box;padding:24px;text-align:left;height:100%}::slotted(* div){display:flex;flex-direction:column;gap:30px}.item-content--scrollable .content-container__inner{padding-top:24px;margin-bottom:24px}.item-content--scrollable .content-container{margin-top:-24px}.header-container{padding-top:40px;padding-bottom:24px;margin-top:-40px;border-radius:15px 15px 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 15px rgb(70 74 83 / 25%)}.close-container{z-index:2;min-height:0;padding:32px 24px;background:var(--rs-color-white);flex-basis:106px;transition:box-shadow 0.4s cubic-bezier(0, 0.55, 0.45, 1)}.item-content--bottom-scrollable .close-container{box-shadow:0 1px 15px rgb(70 74 83 / 25%)}.item-content--open.item-content--level-2 .close-container{flex-basis:78px}.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% + 18px);padding:0 18px 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% + 18px);right:auto}.ss-scroll{position:relative;background:rgb(0 0 0 / 10%);width:9px;border-radius:4px;top:0;z-index:2;cursor:pointer;opacity:0;transition:opacity 0.25s linear;margin-left:-30px}.ss-hidden{display:none}.ss-container:hover .ss-scroll,.ss-container:active .ss-scroll{opacity:100%}.ss-grabbed{user-select:none}"}}]);
|
|
13
|
+
//# sourceMappingURL=567.index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"567.index.js","mappings":";;;;;;;;;;;4TAEA,MAEMA,EAAe,MACnB,WAAAC,CAAYC,IACV,IAAAC,GAAiBC,KAAMF,GACvBE,KAAKC,MAAQ,WACf,CACA,MAAAC,GACE,OAAQ,IAAAC,GAAE,EAAAC,EAAM,CAAEC,MAAO,CACrBJ,WAAsBK,IAAfN,KAAKC,MAAsB,kBAAkBD,KAAKC,SAAW,MACjE,IAAAE,GAAE,OAAQ,MACnB,GAEFP,EAAaS,MAbW,8LAexB,MAEME,EAAqB,MACzB,WAAAV,CAAYC,IACV,IAAAC,GAAiBC,KAAMF,GACvBE,KAAKQ,UAAW,IAAAC,GAAYT,KAAM,WAAY,GAC9CA,KAAKU,QAAS,IAAAD,GAAYT,KAAM,SAAU,GAC1CA,KAAKW,KAAO,KACLX,KAAKY,UACRZ,KAAKU,OAAOG,MACd,EAEFb,KAAKc,OAAS,KACPd,KAAKY,UACRZ,KAAKQ,SAASK,MAChB,EAEFb,KAAKe,aAAUT,EACfN,KAAKY,UAAW,EAChBZ,KAAKgB,WAAY,EACjBhB,KAAKiB,SAAU,CACjB,CACA,MAAAf,GACE,OAAQ,IAAAC,GAAE,EAAAC,EAAM,MAAM,IAAAD,GAAE,UAAW,CAAEe,MAAO,oBAAqBC,MAAM,EAAM,iBAAkB,SAAU,kBAAmB,WAAY,IAAAhB,GAAE,YAAa,CAAEiB,QAAS,MAAO,IAAAjB,GAAE,OAAQ,CAAEkB,KAAM,cAAe,IAAAlB,GAAE,cAAe,CAAEmB,SAAU,IAAKrB,MAAO,OAAQiB,MAAO,aAAc,IAAAf,GAAE,OAAQ,CAAEkB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Ae,CAAEmB,SAAU,IAAKrB,MAAO,OAAQiB,MAAO,YAAclB,KAAKyH,cAAc,IAAAtH,GAAE,MAAO,CAAEe,MAAO,oBAAqB6G,IAAM5F,GAAMnC,KAAK6H,gBAAkB1F,IAAO,IAAAhC,GAAE,MAAO,CAAEe,MAAO,2BAA4Bb,MAAO,CAAE,iBAAkB,UAAY,IAAAF,GAAE,OAAQ,UAAU,IAAAA,GAAE,MAAO,CAAEe,MAAO,oBAAqB,IAAAf,GAAE,YAAa,CAAEqB,QAASxB,KAAKkH,MAAOhG,MAAO,aAAcjB,MAAO,UAAW+H,OAAQ,SAAWhI,KAAKmH,aAAe,EAAI,OAAS,WAC7hB,CACA,mBAAWc,GAAa,MAAO,CAC7B,SAAY,CAAC,iBACZ,GAELlB,EAAwB1G,MAlEW,89F","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-3d0f28ab.js';\n\nconst columnHeaderCss = \":host{display:block;font-family:soleil, sans-serif;font-weight:600;font-style:normal;line-height:1.4em;font-size:13px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}\";\n\nconst ColumnHeader = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\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:260px;margin:25px;box-sizing:border-box}.heading-container{margin-bottom:30px;margin-top:25px}.subtitle{margin-top:5px;text-transform:uppercase}.button-container{display:flex;height:36px;transition:height 0.15s ease-out;overflow:hidden}.button-container--hidden{height:0}.save{flex-grow:1}.cancel{margin-left:10px}\";\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 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 this.loading = undefined;\n this.disabled = false;\n this.panelOpen = false;\n this.isDirty = false;\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 4px rgba(var(--rs-color-grey-light-rgb), 0.5);border-radius:10px;padding:16px 20px;cursor:pointer}\";\n\nconst RsSideDrawerItem = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.heading = undefined;\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 const resizeObserver = new ResizeObserver(this.mB);\n resizeObserver === null || resizeObserver === void 0 ? void 0 : resizeObserver.observe(this.el.querySelector('.content-container__inner'));\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 resizeObserver === null || resizeObserver === void 0 ? void 0 : resizeObserver.disconnect();\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:32px;height:32px;box-shadow:inset 0 0 0 1px var(--rs-color-grey-light);border-radius:32px;justify-content:center;align-items:center;font-size:16px;cursor:pointer;display:flex;position:absolute;top:16px;right:16px;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:48px;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:25px}.item-content--open.item-content--is-background.item-content--level-2{top:48px}.subtitle{margin-top:5px;text-transform:uppercase}.container{height:100%;background-color:var(--rs-color-white);border-radius:15px 15px 0 0;box-shadow:0 5px 15px rgb(70 74 83 / 25%);box-sizing:border-box;padding-top:40px;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:48px;transform:scale(0.8) translateY(-45px)}.content-container{box-sizing:border-box;padding:24px;text-align:left;height:100%}::slotted(* div){display:flex;flex-direction:column;gap:30px}.item-content--scrollable .content-container__inner{padding-top:24px;margin-bottom:24px}.item-content--scrollable .content-container{margin-top:-24px}.header-container{padding-top:40px;padding-bottom:24px;margin-top:-40px;border-radius:15px 15px 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 15px rgb(70 74 83 / 25%)}.close-container{z-index:2;min-height:0;padding:32px 24px;background:var(--rs-color-white);flex-basis:106px;transition:box-shadow 0.4s cubic-bezier(0, 0.55, 0.45, 1)}.item-content--bottom-scrollable .close-container{box-shadow:0 1px 15px rgb(70 74 83 / 25%)}.item-content--open.item-content--level-2 .close-container{flex-basis:78px}.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% + 18px);padding:0 18px 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% + 18px);right:auto}.ss-scroll{position:relative;background:rgb(0 0 0 / 10%);width:9px;border-radius:4px;top:0;z-index:2;cursor:pointer;opacity:0;transition:opacity 0.25s linear;margin-left:-30px}.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 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 this.itemOpen = false;\n this.heading = undefined;\n this.subHeading = undefined;\n this.moreContentOpen = false;\n this.contentLevel = 1;\n this.openLevel = 1;\n this.topScrollable = false;\n this.bottomScrollable = false;\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\n//# sourceMappingURL=rs-column-header_4.entry.js.map"],"names":["ColumnHeader","constructor","hostRef","r","this","color","render","h","H","style","undefined","RsSideDrawerHeader","rsCancel","c","rsSave","save","disabled","emit","cancel","loading","panelOpen","isDirty","class","flex","heading","name","subtitle","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","resizeObserver","ResizeObserver","observe","querySelector","insertBefore","removeChild","disconnect","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","close","contentLevel","level","isBackgroundLevel","openLevel","isOpen","itemOpen","subHeading","moreContentOpen","watchItemOpen","openValue","contentScroller","event","ref","expand","watchers"],"sourceRoot":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* @rocketspark/domain-checker v0.0.21
|
|
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([[571],{6571:function(s,e,i){i.r(e),i.d(e,{rs_sidebar_incrementer:function(){return n}});var t=i(7915);const n=class{constructor(s){(0,t.r)(this,s),this.heading=void 0,this.step=1,this.value=1,this.min=0,this.max=100,this.suffix="",this.dropdown=!1,this.decimalPlaces=0,this.dropdownStep=0}render(){const s=void 0!==this.heading?(0,t.h)("rs-header",{style:{"margin-bottom":"10px"},heading:"5"},this.heading):"";return(0,t.h)(t.H,null,s,(0,t.h)("rs-incrementer",{step:this.step,value:this.value,min:this.min,max:this.max,suffix:this.suffix,dropdown:this.dropdown,"decimal-places":this.decimalPlaces,"dropdown-step":this.dropdownStep}))}};n.style="rs-sidebar-incrementer{display:block}"}}]);
|
|
13
|
+
//# sourceMappingURL=571.index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"571.index.js","mappings":";;;;;;;;;;;6LAEA,MAEMA,EAAuB,MAC3B,WAAAC,CAAYC,IACV,IAAAC,GAAiBC,KAAMF,GACvBE,KAAKC,aAAUC,EACfF,KAAKG,KAAO,EACZH,KAAKI,MAAQ,EACbJ,KAAKK,IAAM,EACXL,KAAKM,IAAM,IACXN,KAAKO,OAAS,GACdP,KAAKQ,UAAW,EAChBR,KAAKS,cAAgB,EACrBT,KAAKU,aAAe,CACtB,CACA,MAAAC,GACE,MAAMC,OAAkCV,IAAjBF,KAAKC,SAAyB,IAAAY,GAAE,YAAa,CAAEC,MAAO,CAAE,gBAAiB,QAAUb,QAAS,KAAOD,KAAKC,SAAY,GAC3I,OAAQ,IAAAY,GAAE,EAAAE,EAAM,KAAMH,GAAgB,IAAAC,GAAE,iBAAkB,CAAEV,KAAMH,KAAKG,KAAMC,MAAOJ,KAAKI,MAAOC,IAAKL,KAAKK,IAAKC,IAAKN,KAAKM,IAAKC,OAAQP,KAAKO,OAAQC,SAAUR,KAAKQ,SAAU,iBAAkBR,KAAKS,cAAe,gBAAiBT,KAAKU,eAC1O,GAEFd,EAAqBkB,MApBS,uC","sources":["webpack://DomainChecker/./node_modules/@rocketspark/flint-ui/dist/esm/rs-sidebar-incrementer.entry.js"],"sourcesContent":["import { r as registerInstance, h, H as Host } from './index-3d0f28ab.js';\n\nconst sidebarIncrementerCss = \"rs-sidebar-incrementer{display:block}\";\n\nconst RsSidebarIncrementer = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.heading = undefined;\n this.step = 1;\n this.value = 1;\n this.min = 0;\n this.max = 100;\n this.suffix = '';\n this.dropdown = false;\n this.decimalPlaces = 0;\n this.dropdownStep = 0;\n }\n render() {\n const headingElement = this.heading !== undefined ? (h(\"rs-header\", { style: { 'margin-bottom': '10px' }, heading: \"5\" }, this.heading)) : '';\n return (h(Host, null, headingElement, h(\"rs-incrementer\", { step: this.step, value: this.value, min: this.min, max: this.max, suffix: this.suffix, dropdown: this.dropdown, \"decimal-places\": this.decimalPlaces, \"dropdown-step\": this.dropdownStep })));\n }\n};\nRsSidebarIncrementer.style = sidebarIncrementerCss;\n\nexport { RsSidebarIncrementer as rs_sidebar_incrementer };\n\n//# sourceMappingURL=rs-sidebar-incrementer.entry.js.map"],"names":["RsSidebarIncrementer","constructor","hostRef","r","this","heading","undefined","step","value","min","max","suffix","dropdown","decimalPlaces","dropdownStep","render","headingElement","h","style","H"],"sourceRoot":""}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* @rocketspark/domain-checker v0.0.
|
|
3
|
+
* @rocketspark/domain-checker v0.0.21
|
|
4
4
|
* https://github.com/rocketspark/domain-checker.git
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) Lee Reichardt and project contributors.
|
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
* LICENSE file in the root directory of this source tree.
|
|
10
10
|
*
|
|
11
11
|
*/
|
|
12
|
-
"use strict";(self.webpackChunkDomainChecker=self.webpackChunkDomainChecker||[]).push([[
|
|
13
|
-
//# sourceMappingURL=
|
|
12
|
+
"use strict";(self.webpackChunkDomainChecker=self.webpackChunkDomainChecker||[]).push([[572],{572:function(e,t,s){s.r(t),s.d(t,{rs_card:function(){return o}});var l=s(7915);const o=class{constructor(e){(0,l.r)(this,e),this.rsStyle=(0,l.c)(this,"rsStyle",7),this.disabled=!1,this.collapsed=!1,this.collapsible=!1,this.type="task"}collapseChanged(){this.emitStyle()}emitStyle(){this.rsStyle.emit({"card-collapsed":this.collapsed})}async toggle(){this.toggleContentHandler()}async close(){this.closeCardHandler()}async open(){this.openCardHandler()}toggleContentHandler(){null!==this.el.shadowRoot.querySelector(".card-content")&&(this.collapsed?this.openCardHandler():this.closeCardHandler())}closeCardHandler(){const e=this.el.shadowRoot.querySelector(".card-content");null!==e&&(this.collapsed=!0,e.style.maxHeight=`${e.scrollHeight}px`,setTimeout((function(){e.style.maxHeight=null})))}openCardHandler(){const e=this.el.shadowRoot.querySelector(".card-content");null!==e&&(this.collapsed=!1,e.style.maxHeight=`${e.scrollHeight}px`,setTimeout((function(){e.style.maxHeight="none"}),400))}componentDidLoad(){const e=this.el.shadowRoot.querySelector(".card-content");null!==e&&0==this.collapsed&&(e.style.maxHeight="unset")}render(){return(0,l.h)(l.H,{class:{"rs-component-shadow--task":"task"===this.type,collapsed:this.collapsed,collapsible:this.collapsible}},(0,l.h)("div",{class:"card-header"},(0,l.h)("slot",{name:"header"})),(0,l.h)("div",{class:"card-content"},(0,l.h)("slot",null)))}get el(){return(0,l.g)(this)}static get watchers(){return{collapsed:["collapseChanged"]}}};o.style=":host{display:block;width:100%;border-radius:10px;height:auto;cursor:default}:host(.collapsible) .card-header{cursor:pointer}:host .card-content{display:block;max-height:0;overflow:hidden;transition:max-height 0.4s ease-in-out}"}}]);
|
|
13
|
+
//# sourceMappingURL=572.index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"572.index.js","mappings":";;;;;;;;;;;6KAEA,MAEMA,EAAS,MACb,WAAAC,CAAYC,IACV,IAAAC,GAAiBC,KAAMF,GACvBE,KAAKC,SAAU,IAAAC,GAAYF,KAAM,UAAW,GAC5CA,KAAK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AAO,OAAO,IAAAc,GAAW9B,KAAO,CACpC,mBAAW+B,GAAa,MAAO,CAC7B,UAAa,CAAC,mBACb,GAELnC,EAAOwB,MA3GW,qO","sources":["webpack://DomainChecker/./node_modules/@rocketspark/flint-ui/dist/esm/rs-card.entry.js"],"sourcesContent":["import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-3d0f28ab.js';\n\nconst rsCardCss = \":host{display:block;width:100%;border-radius:10px;height:auto;cursor:default}:host(.collapsible) .card-header{cursor:pointer}:host .card-content{display:block;max-height:0;overflow:hidden;transition:max-height 0.4s ease-in-out}\";\n\nconst RsCard = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.rsStyle = createEvent(this, \"rsStyle\", 7);\n this.disabled = false;\n this.collapsed = false;\n this.collapsible = false;\n this.type = 'task';\n }\n /**\n * Watch for any changes on the `collapsed` property.\n */\n collapseChanged() {\n this.emitStyle(); // disabled changed, emit change in styling\n }\n /**\n * Emits `rsStyle` event when the styles of the card change.\n */\n emitStyle() {\n this.rsStyle.emit({\n 'card-collapsed': this.collapsed\n });\n }\n /**\n * A function that can be called directly from the element for toggling the card.\n */\n async toggle() {\n this.toggleContentHandler();\n }\n /**\n * A function that can be called directly from the element for hiding card.\n */\n async close() {\n this.closeCardHandler();\n }\n /**\n * A function that can be called directly from the element for showing card.\n */\n async open() {\n this.openCardHandler();\n }\n /**\n * Expands the card when the user clicks on it.\n */\n toggleContentHandler() {\n const content = this.el.shadowRoot.querySelector('.card-content');\n if (content !== null) {\n if (this.collapsed) {\n this.openCardHandler();\n }\n else {\n this.closeCardHandler();\n }\n }\n }\n /**\n * An internal function for hiding the card component\n */\n closeCardHandler() {\n const content = this.el.shadowRoot.querySelector('.card-content');\n if (content !== null) {\n this.collapsed = true;\n content.style.maxHeight = `${content.scrollHeight}px`;\n setTimeout(function () {\n content.style.maxHeight = null;\n });\n }\n }\n /**\n * An internal function for hiding the card component\n */\n openCardHandler() {\n const content = this.el.shadowRoot.querySelector('.card-content');\n if (content !== null) {\n this.collapsed = false;\n content.style.maxHeight = `${content.scrollHeight}px`;\n setTimeout(function () {\n content.style.maxHeight = 'none';\n }, 400);\n }\n }\n /**\n * Runs after all the child components have been loaded & rendered\n */\n componentDidLoad() {\n const content = this.el.shadowRoot.querySelector('.card-content');\n if (content !== null && this.collapsed == false) {\n content.style.maxHeight = 'unset';\n }\n }\n /**\n * This renders the component.\n */\n render() {\n return (h(Host, { class: {\n 'rs-component-shadow--task': this.type === 'task',\n 'collapsed': this.collapsed,\n 'collapsible': this.collapsible\n } }, h(\"div\", { class: \"card-header\" }, h(\"slot\", { name: \"header\" })), h(\"div\", { class: \"card-content\" }, h(\"slot\", null))));\n }\n get el() { return getElement(this); }\n static get watchers() { return {\n \"collapsed\": [\"collapseChanged\"]\n }; }\n};\nRsCard.style = rsCardCss;\n\nexport { RsCard as rs_card };\n\n//# sourceMappingURL=rs-card.entry.js.map"],"names":["RsCard","constructor","hostRef","r","this","rsStyle","c","disabled","collapsed","collapsible","type","collapseChanged","emitStyle","emit","toggle","toggleContentHandler","close","closeCardHandler","open","openCardHandler","el","shadowRoot","querySelector","content","style","maxHeight","scrollHeight","setTimeout","componentDidLoad","render","h","H","class","name","g","watchers"],"sourceRoot":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* @rocketspark/domain-checker v0.0.21
|
|
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([[584],{9584:function(s,r,e){e.r(r),e.d(r,{rs_progress_step:function(){return o}});var t=e(7915);const o=class{constructor(s){(0,t.r)(this,s),this.progress=1,this.steps=3,this.color="positive"}progressChanged(){this.removeActiveClasses();const s=this.el.shadowRoot.querySelector(".rs-progress-step__inner");if(null!==s){s.querySelectorAll(".rs-progress-step__step").forEach((s=>{const r=s.dataset.step;parseInt(r)<=this.progress&&s.classList.add("active")}))}}removeActiveClasses(){const s=this.el.shadowRoot.querySelector(".rs-progress-step__inner");if(null!==s){s.querySelectorAll(".rs-progress-step__step").forEach((s=>{s.classList.remove("active")}))}}render(){const s=this.steps;let r=[];if(s>0)for(let e=1;e<=s;e++){const s=(0,t.h)("span",{class:{active:e<=this.progress,"rs-progress-step__step":!0,[`rs-progress-step__step-${e}`]:!0},"data-step":e});r.push(s)}return(0,t.h)(t.H,null,(0,t.h)("div",{class:"rs-progress-step__inner"},r,(0,t.h)("slot",null)))}get el(){return(0,t.g)(this)}static get watchers(){return{progress:["progressChanged"]}}};o.style=":host{display:block}:host .rs-progress-step__inner{display:flex;flex-flow:row wrap;align-items:center}:host .rs-progress-step__step{display:block;background-color:var(--rs-color-light);height:4px;width:49px;margin-right:3px;border-radius:3px}:host .rs-progress-step__step:last-child{margin-right:0}:host .rs-progress-step__step.active{background-color:var(--rs-color-positive)}:host([color='positive']) .rs-progress-step__step.active{background-color:var(--rs-color-positive)}:host([color='primary']) .rs-progress-step__step.active{background-color:var(--rs-color-primary)}:host([color='neutral']) .rs-progress-step__step.active{background-color:var(--rs-color-neutral)}:host([color='highlight']) .rs-progress-step__step.active{background-color:var(--rs-color-highlight)}:host([color='negative']) .rs-progress-step__step.active{background-color:var(--rs-color-negative)}"}}]);
|
|
13
|
+
//# sourceMappingURL=584.index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"584.index.js","mappings":";;;;;;;;;;;uLAEA,MAEMA,EAAe,MACnB,WAAAC,CAAYC,IACV,IAAAC,GAAiBC,KAAMF,GACvBE,KAAKC,SAAW,EAChBD,KAAKE,MAAQ,EACbF,KAAKG,MAAQ,UACf,CAIA,eAAAC,GAEEJ,KAAKK,sBACL,MAAMC,EAAgBN,KAAKO,GAAGC,WAAWC,cAAc,4BACvD,GAAsB,OAAlBH,EAAwB,CACZA,EAAcI,iBAAiB,2BACvCC,SAASC,IACb,MAAMC,EAAQD,EAAKE,QAAQF,KACvBG,SAASF,IAAUb,KAAKC,UAC1BW,EAAKI,UAAUC,IAAI,SACrB,GAEJ,CACF,CAIA,mBAAAZ,GACE,MAAMC,EAAgBN,KAAKO,GAAGC,WAAWC,cAAc,4BACvD,GAAsB,OAAlBH,EAAwB,CACZA,EAAcI,iBAAiB,2BACvCC,SAASC,IACbA,EAAKI,UAAUE,OAAO,SAAS,GAEnC,CACF,CAIA,MAAAC,GACE,MAAMjB,EAAQF,KAAKE,MACnB,IAAIkB,EAAY,GAChB,GAAIlB,EAAQ,EAEV,IAAK,IAAImB,EAAI,EAAGA,GAAKnB,EAAOmB,IAAK,CAC/B,MAAMT,GAAQ,IAAAU,GAAE,OAAQ,CAAEC,MAAO,CAC7B,OAAUF,GAAKrB,KAAKC,SACpB,0BAA0B,EAC1B,CAAC,0BAA0BoB,MAAM,GAChC,YAAaA,IAClBD,EAAUI,KAAKZ,EACjB,CAEF,OAAQ,IAAAU,GAAE,EAAAG,EAAM,MAAM,IAAAH,GAAE,MAAO,CAAEC,MAAO,2BAA6BH,GAAW,IAAAE,GAAE,OAAQ,OAC5F,CACA,MAAIf,GAAO,OAAO,IAAAmB,GAAW1B,KAAO,CACpC,mBAAW2B,GAAa,MAAO,CAC7B,SAAY,CAAC,mBACZ,GAEL/B,EAAagC,MA9DW,w2B","sources":["webpack://DomainChecker/./node_modules/@rocketspark/flint-ui/dist/esm/rs-progress-step.entry.js"],"sourcesContent":["import { r as registerInstance, h, H as Host, g as getElement } from './index-3d0f28ab.js';\n\nconst progressStepCss = \":host{display:block}:host .rs-progress-step__inner{display:flex;flex-flow:row wrap;align-items:center}:host .rs-progress-step__step{display:block;background-color:var(--rs-color-light);height:4px;width:49px;margin-right:3px;border-radius:3px}:host .rs-progress-step__step:last-child{margin-right:0}:host .rs-progress-step__step.active{background-color:var(--rs-color-positive)}:host([color='positive']) .rs-progress-step__step.active{background-color:var(--rs-color-positive)}:host([color='primary']) .rs-progress-step__step.active{background-color:var(--rs-color-primary)}:host([color='neutral']) .rs-progress-step__step.active{background-color:var(--rs-color-neutral)}:host([color='highlight']) .rs-progress-step__step.active{background-color:var(--rs-color-highlight)}:host([color='negative']) .rs-progress-step__step.active{background-color:var(--rs-color-negative)}\";\n\nconst ProgressStep = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.progress = 1;\n this.steps = 3;\n this.color = 'positive';\n }\n /**\n * Watch for any changes on `progress` property.\n */\n progressChanged() {\n // reset active class\n this.removeActiveClasses();\n const progressInner = this.el.shadowRoot.querySelector('.rs-progress-step__inner');\n if (progressInner !== null) {\n const steps = progressInner.querySelectorAll('.rs-progress-step__step');\n steps.forEach((step) => {\n const index = step.dataset.step;\n if (parseInt(index) <= this.progress) {\n step.classList.add('active');\n }\n });\n }\n }\n /**\n * Resets the active classes.\n */\n removeActiveClasses() {\n const progressInner = this.el.shadowRoot.querySelector('.rs-progress-step__inner');\n if (progressInner !== null) {\n const steps = progressInner.querySelectorAll('.rs-progress-step__step');\n steps.forEach((step) => {\n step.classList.remove('active');\n });\n }\n }\n /**\n * This renders the component.\n */\n render() {\n const steps = this.steps;\n let stepsHtml = [];\n if (steps > 0) {\n // Render the steps\n for (let i = 1; i <= steps; i++) {\n const step = (h(\"span\", { class: {\n 'active': i <= this.progress,\n 'rs-progress-step__step': true,\n [`rs-progress-step__step-${i}`]: true\n }, \"data-step\": i }));\n stepsHtml.push(step);\n }\n }\n return (h(Host, null, h(\"div\", { class: \"rs-progress-step__inner\" }, stepsHtml, h(\"slot\", null))));\n }\n get el() { return getElement(this); }\n static get watchers() { return {\n \"progress\": [\"progressChanged\"]\n }; }\n};\nProgressStep.style = progressStepCss;\n\nexport { ProgressStep as rs_progress_step };\n\n//# sourceMappingURL=rs-progress-step.entry.js.map"],"names":["ProgressStep","constructor","hostRef","r","this","progress","steps","color","progressChanged","removeActiveClasses","progressInner","el","shadowRoot","querySelector","querySelectorAll","forEach","step","index","dataset","parseInt","classList","add","remove","render","stepsHtml","i","h","class","push","H","g","watchers","style"],"sourceRoot":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* @rocketspark/domain-checker v0.0.21
|
|
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([[588],{6588:function(t,s,e){e.r(s),e.d(s,{rs_flint_popup:function(){return o}});var p=e(7915);const o=class{constructor(t){(0,p.r)(this,t),this.rsClose=(0,p.c)(this,"rsClose",7),this.rsOpen=(0,p.c)(this,"rsOpen",7),this.closePopup=()=>{this.close()},this.runPreviousStep=()=>{this.previousStep()},this.type=void 0,this.closeIcon=!0,this.backIcon=!1,this.steps=3,this.progress=1,this.stepActive=1}async open(){this.el.style.display="block",setTimeout((()=>{this.el.style.opacity="1"})),this.rsOpen.emit()}async close(){this.el.style.opacity="0",setTimeout((()=>{this.el.style.display="none"}),150),this.rsClose.emit()}async previousStep(){"step"===this.type&&this.showContent(this.stepActive-=1)}async nextStep(){if("step"===this.type){const t=this.el.querySelector(".rs-flint-popup__back");null!=t&&(t.style.visibility="visible"),this.showContent(this.stepActive+=1)}}renderCloseButton(){let t=null;return this.closeIcon&&(t=(0,p.h)("rs-icon",{name:"x",color:"grey",onClick:this.closePopup,class:"rs-flint-popup__close"})),t}renderBackButton(){let t=null;return(this.backIcon||"step"==this.type)&&(t=(0,p.h)("rs-icon",{name:"arrow-left",color:"grey",class:"rs-flint-popup__back",onClick:this.runPreviousStep})),t}showContent(t){if(1==t){const t=this.el.querySelector(".rs-flint-popup__back");null!=t&&(t.style.visibility="hidden")}const s=this.el.querySelector(".rs-flint-popup__body").querySelectorAll("rs-flint-popup-content");t>s.length&&(this.stepActive=1,this.close()),t<1&&(this.stepActive=1);const e=s[this.stepActive-1];s.forEach((t=>{e!==t&&(t.style.opacity="0",setTimeout((()=>{t.style.display="none"}),150))})),null!=e&&(e.style.display="block",setTimeout((()=>{e.style.opacity="1"})));const p=this.el.querySelector(".rs-flint-popup__progress-step");null!=p&&p.setAttribute("progress",this.stepActive.toString())}componentDidLoad(){const t=this.el.querySelector(".rs-flint-popup__body").querySelectorAll("rs-flint-popup-content");if("step"===this.type){let s=0;t.forEach((t=>{s++,t.setAttribute("order",s.toString()),t.setAttribute("parent-type",this.type)})),this.showContent(this.stepActive)}}render(){const t=this.renderCloseButton(),s=this.renderBackButton();let e=null;return"step"==this.type&&(e=(0,p.h)("rs-progress-step",{steps:this.steps,class:"rs-flint-popup__progress-step",progress:this.progress})),(0,p.h)(p.H,null,(0,p.h)("div",{class:"rs-flint-popup__backdrop",onClick:this.closePopup}),(0,p.h)("div",{class:"rs-flint-popup__inner rs-component-shadow--popup"},(0,p.h)("div",{class:"rs-flint-popup__header"},s,(0,p.h)("slot",{name:"title"}),e,t),(0,p.h)("div",{class:"rs-flint-popup__body"},(0,p.h)("slot",null))))}get el(){return(0,p.g)(this)}};o.style=".sc-rs-flint-popup-h{display:none;opacity:0;transition:opacity 0.15s cubic-bezier(0, 0.55, 0.45, 1)}.sc-rs-flint-popup-h .rs-flint-popup__body.sc-rs-flint-popup{position:relative}.sc-rs-flint-popup-h .rs-flint-popup__backdrop.sc-rs-flint-popup{display:block;width:100%;height:100%;position:fixed;top:0;left:0;background:var(--rs-color-grey-light);opacity:0.8}.sc-rs-flint-popup-h .rs-flint-popup__inner.sc-rs-flint-popup{display:block;width:644px;height:400px;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);background-color:var(--rs-color-white);border-radius:10px;box-shadow:none;box-sizing:border-box}.sc-rs-flint-popup-h .rs-flint-popup__header.sc-rs-flint-popup{display:flex;align-items:center;justify-content:space-between;padding:30px;box-sizing:border-box}.sc-rs-flint-popup-h .rs-flint-popup__close.sc-rs-flint-popup,.sc-rs-flint-popup-h .rs-flint-popup__back.sc-rs-flint-popup{cursor:pointer;color:var(--rs-color-grey);font-size:16px}.sc-rs-flint-popup-h .rs-flint-popup__close.sc-rs-flint-popup{margin-left:auto}[type='step'].sc-rs-flint-popup-h .rs-flint-popup__close.sc-rs-flint-popup{margin-left:0}"}}]);
|
|
13
|
+
//# sourceMappingURL=588.index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"588.index.js","mappings":";;;;;;;;;;;qLAEA,MAEMA,EAAe,MACnB,WAAAC,CAAYC,IACV,IAAAC,GAAiBC,KAAMF,GACvBE,KAAKC,SAAU,IAAAC,GAAYF,KAAM,UAAW,GAC5CA,KAAKG,QAAS,IAAAD,GAAYF,KAAM,SAAU,GAC1CA,KAAKI,WAAa,KAChBJ,KAAKK,OAAO,EAEdL,KAAKM,gBAAkB,KACrBN,KAAKO,cAAc,EAErBP,KAAKQ,UAAOC,EACZT,KAAKU,WAAY,EACjBV,KAAKW,UAAW,EAChBX,KAAKY,MAAQ,EACbZ,KAAKa,SAAW,EAChBb,KAAKc,WAAa,CACpB,CAIA,UAAMC,GACJf,KAAKgB,GAAGC,MAAMC,QAAU,QACxBC,YAAW,KACTnB,KAAKgB,GAAGC,MAAMG,QAAU,GAAG,IAE7BpB,KAAKG,OAAOkB,MACd,CAKA,WAAMhB,GACJL,KAAKgB,GAAGC,MAAMG,QAAU,IACxBD,YAAW,KACTnB,KAAKgB,GAAGC,MAAMC,QAAU,MAAM,GAC7B,KACHlB,KAAKC,QAAQoB,MACf,CAKA,kBAAMd,GACc,SAAdP,KAAKQ,MACPR,KAAKsB,YAAYtB,KAAKc,YAAc,EAExC,CAIA,cAAMS,GACJ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0BAChD,GAAkB,SAAdpC,KAAKQ,KAAiB,CACxB,IAAIqC,EAAQ,EACZV,EAAaI,SAAQC,IACnBK,IACAL,EAAYE,aAAa,QAASG,EAAMF,YACxCH,EAAYE,aAAa,cAAe1C,KAAKQ,KAAK,IAGpDR,KAAKsB,YAAYtB,KAAKc,WACxB,CACF,CAIA,MAAAgC,GAEE,MAAMlB,EAAc5B,KAAK2B,oBACnBH,EAAaxB,KAAKkC,mBAExB,IAAIO,EAAe,KAInB,MAHiB,QAAbzC,KAAKQ,OACPiC,GAAgB,IAAAZ,GAAE,mBAAoB,CAAEjB,MAAOZ,KAAKY,MAAOqB,MAAO,gCAAiCpB,SAAUb,KAAKa,aAE5G,IAAAgB,GAAE,EAAAkB,EAAM,MAAM,IAAAlB,GAAE,MAAO,CAAEI,MAAO,2BAA4BD,QAAShC,KAAKI,cAAe,IAAAyB,GAAE,MAAO,CAAEI,MAAO,qDAAsD,IAAAJ,GAAE,MAAO,CAAEI,MAAO,0BAA4BT,GAAY,IAAAK,GAAE,OAAQ,CAAEC,KAAM,UAAYW,EAAcb,IAAc,IAAAC,GAAE,MAAO,CAAEI,MAAO,yBAA0B,IAAAJ,GAAE,OAAQ,QACrV,CACA,MAAIb,GAAO,OAAO,IAAAgC,GAAWhD,KAAO,GAEtCJ,EAAaqB,MApKW,0mC","sources":["webpack://DomainChecker/./node_modules/@rocketspark/flint-ui/dist/esm/rs-flint-popup.entry.js"],"sourcesContent":["import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-3d0f28ab.js';\n\nconst rsFlintPopupCss = \".sc-rs-flint-popup-h{display:none;opacity:0;transition:opacity 0.15s cubic-bezier(0, 0.55, 0.45, 1)}.sc-rs-flint-popup-h .rs-flint-popup__body.sc-rs-flint-popup{position:relative}.sc-rs-flint-popup-h .rs-flint-popup__backdrop.sc-rs-flint-popup{display:block;width:100%;height:100%;position:fixed;top:0;left:0;background:var(--rs-color-grey-light);opacity:0.8}.sc-rs-flint-popup-h .rs-flint-popup__inner.sc-rs-flint-popup{display:block;width:644px;height:400px;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);background-color:var(--rs-color-white);border-radius:10px;box-shadow:none;box-sizing:border-box}.sc-rs-flint-popup-h .rs-flint-popup__header.sc-rs-flint-popup{display:flex;align-items:center;justify-content:space-between;padding:30px;box-sizing:border-box}.sc-rs-flint-popup-h .rs-flint-popup__close.sc-rs-flint-popup,.sc-rs-flint-popup-h .rs-flint-popup__back.sc-rs-flint-popup{cursor:pointer;color:var(--rs-color-grey);font-size:16px}.sc-rs-flint-popup-h .rs-flint-popup__close.sc-rs-flint-popup{margin-left:auto}[type='step'].sc-rs-flint-popup-h .rs-flint-popup__close.sc-rs-flint-popup{margin-left:0}\";\n\nconst RsFlintPopup = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.rsClose = createEvent(this, \"rsClose\", 7);\n this.rsOpen = createEvent(this, \"rsOpen\", 7);\n this.closePopup = () => {\n this.close();\n };\n this.runPreviousStep = () => {\n this.previousStep();\n };\n this.type = undefined;\n this.closeIcon = true;\n this.backIcon = false;\n this.steps = 3;\n this.progress = 1;\n this.stepActive = 1;\n }\n /**\n * Function that can be called directly from the element for opening 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 /**\n * Function that can be called directly from the element for closing the popup.\n * Only for step-based popups.\n */\n async close() {\n this.el.style.opacity = '0';\n setTimeout(() => {\n this.el.style.display = 'none';\n }, 150);\n this.rsClose.emit();\n }\n /**\n * Function that can be called directly from the element for showing the previous step.\n * Only for step-based popups.\n */\n async previousStep() {\n if (this.type === 'step') {\n this.showContent(this.stepActive -= 1);\n }\n }\n /**\n * Function that can be called directly from the element for showing the next step.\n */\n async nextStep() {\n if (this.type === 'step') {\n // show back button if the user moved onto the next step\n const backButton = this.el.querySelector('.rs-flint-popup__back');\n if (backButton !== null && backButton !== undefined) {\n backButton.style.visibility = 'visible';\n }\n this.showContent(this.stepActive += 1);\n }\n }\n /**\n * Function for rendering the close button in the popup.\n */\n renderCloseButton() {\n let closeButton = null;\n if (this.closeIcon) {\n closeButton = (h(\"rs-icon\", { name: \"x\", color: \"grey\", onClick: this.closePopup, class: \"rs-flint-popup__close\" }));\n }\n return closeButton;\n }\n /**\n * Function for rendering the back button in the popup.\n * Will only get rendered if the user set the `closeIcon` property to true or if it's a step-based popup\n */\n renderBackButton() {\n let backButton = null;\n if ((this.backIcon || this.type == 'step')) {\n backButton = (h(\"rs-icon\", { name: \"arrow-left\", color: \"grey\", class: \"rs-flint-popup__back\", onClick: this.runPreviousStep }));\n }\n return backButton;\n }\n /**\n * Function for showing the content.\n * @param stepActive - current step that is active\n */\n showContent(stepActive) {\n // if the current step is the first step, we hide the back button\n if (stepActive == 1) {\n // hide the back button at the start\n const backButton = this.el.querySelector('.rs-flint-popup__back');\n if (backButton !== null && backButton !== undefined) {\n backButton.style.visibility = 'hidden';\n }\n }\n const popupBody = this.el.querySelector('.rs-flint-popup__body');\n const stepContents = popupBody.querySelectorAll('rs-flint-popup-content');\n // if it's the last step and you click next then the popup will be closed\n if (stepActive > stepContents.length) {\n this.stepActive = 1;\n this.close();\n }\n // If it's the first step and you click previous, the popup will show the first step content\n if (stepActive < 1) {\n this.stepActive = 1;\n }\n const currentStep = stepContents[this.stepActive - 1];\n // reset active class\n stepContents.forEach((stepContent) => {\n if (currentStep !== stepContent) {\n stepContent.style.opacity = '0';\n setTimeout(() => {\n stepContent.style.display = 'none';\n }, 150);\n }\n });\n // current step\n if (currentStep !== null && currentStep !== undefined) {\n currentStep.style.display = 'block';\n setTimeout(() => {\n currentStep.style.opacity = '1';\n });\n }\n // change the progress bar\n const stepProgress = this.el.querySelector('.rs-flint-popup__progress-step');\n if (stepProgress !== null && stepProgress !== undefined) {\n stepProgress.setAttribute('progress', (this.stepActive).toString());\n }\n }\n /**\n * This gets called once after the component is first connected to the DOM.\n */\n componentDidLoad() {\n const popupBody = this.el.querySelector('.rs-flint-popup__body');\n const stepContents = popupBody.querySelectorAll('rs-flint-popup-content');\n if (this.type === 'step') {\n let count = 0;\n stepContents.forEach(stepContent => {\n count++;\n stepContent.setAttribute('order', count.toString());\n stepContent.setAttribute('parent-type', this.type);\n });\n // show the first step\n this.showContent(this.stepActive);\n }\n }\n /**\n * This renders the component.\n */\n render() {\n // Render close button/back button if set to true\n const closeButton = this.renderCloseButton();\n const backButton = this.renderBackButton();\n // only show progress bar if it's a step-based popup\n let stepProgress = null;\n if (this.type == 'step') {\n stepProgress = (h(\"rs-progress-step\", { steps: this.steps, class: \"rs-flint-popup__progress-step\", progress: this.progress }));\n }\n return (h(Host, null, h(\"div\", { class: \"rs-flint-popup__backdrop\", onClick: this.closePopup }), h(\"div\", { class: \"rs-flint-popup__inner rs-component-shadow--popup\" }, h(\"div\", { class: \"rs-flint-popup__header\" }, backButton, h(\"slot\", { name: \"title\" }), stepProgress, closeButton), h(\"div\", { class: \"rs-flint-popup__body\" }, h(\"slot\", null)))));\n }\n get el() { return getElement(this); }\n};\nRsFlintPopup.style = rsFlintPopupCss;\n\nexport { RsFlintPopup as rs_flint_popup };\n\n//# sourceMappingURL=rs-flint-popup.entry.js.map"],"names":["RsFlintPopup","constructor","hostRef","r","this","rsClose","c","rsOpen","closePopup","close","runPreviousStep","previousStep","type","undefined","closeIcon","backIcon","steps","progress","stepActive","open","el","style","display","setTimeout","opacity","emit","showContent","nextStep","backButton","querySelector","visibility","renderCloseButton","closeButton","h","name","color","onClick","class","renderBackButton","stepContents","querySelectorAll","length","currentStep","forEach","stepContent","stepProgress","setAttribute","toString","componentDidLoad","count","render","H","g"],"sourceRoot":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* @rocketspark/domain-checker v0.0.21
|
|
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([[598],{3598:function(r,e,a){a.r(e),a.d(e,{rs_alert:function(){return o}});var t=a(7915);const o=class{constructor(r){(0,t.r)(this,r),this.alertClassNames=()=>{let r="alert";return"error"===this.type&&(r+=" alert--error"),"info"===this.type&&(r+=" alert--info"),r},this.actionLink=void 0,this.type="error"}render(){return(0,t.h)(t.H,null,(0,t.h)("div",{class:this.alertClassNames()},(0,t.h)("div",{class:"alert__message"},"error"===this.type?(0,t.h)("rs-icon",{name:"warning",color:"negative",size:18}):"",(0,t.h)("rs-content",{color:"heading",body:2},(0,t.h)("slot",null))),void 0!==this.actionLink&&""!==this.actionLink?(0,t.h)("div",{class:"alert__action"},(0,t.h)("a",{href:"/dashboard/account_details/update_card/",class:"action__link"},(0,t.h)("slot",{name:"action"}),(0,t.h)("rs-icon",{name:"arrow-right",size:18}))):""))}};o.style=":host{display:block}.alert{padding:13px 16px;border:1px solid;border-radius:6px;width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;box-sizing:border-box}.alert--error{border-color:var(--rs-color-negative);background-color:rgb(241 101 100 / 0.1)}.alert--info{border-color:var(--rs-color-primary-300);background-color:rgb(124 161 255 / 0.1)}.alert__message{display:flex;align-items:center;gap:16px}.alert__action{font-size:14px;font-weight:600}.action__link{text-decoration:none;display:flex;align-items:center;gap:8px;color:var(--rs-color-secondary);font-family:soleil, sans-serif;white-space:nowrap}"}}]);
|
|
13
|
+
//# sourceMappingURL=598.index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"598.index.js","mappings":";;;;;;;;;;;+KAEA,MAEMA,EAAU,MACd,WAAAC,CAAYC,IACV,IAAAC,GAAiBC,KAAMF,GACvBE,KAAKC,gBAAkB,KACrB,IAAIC,EAAa,QAOjB,MANkB,UAAdF,KAAKG,OACPD,GAAc,iBAEE,SAAdF,KAAKG,OACPD,GAAc,gBAETA,CAAU,EAEnBF,KAAKI,gBAAaC,EAClBL,KAAKG,KAAO,OACd,CACA,MAAAG,GACE,OAAQ,IAAAC,GAAE,EAAAC,EAAM,MAAM,IAAAD,GAAE,MAAO,CAAEE,MAAOT,KAAKC,oBAAqB,IAAAM,GAAE,MAAO,CAAEE,MAAO,kBAAmC,UAAdT,KAAKG,MAAqB,IAAAI,GAAE,UAAW,CAAEG,KAAM,UAAWC,MAAO,WAAYC,KAAM,KAAS,IAAI,IAAAL,GAAE,aAAc,CAAEI,MAAO,UAAWE,KAAM,IAAK,IAAAN,GAAE,OAAQ,aAA6BF,IAApBL,KAAKI,YAAgD,KAApBJ,KAAKI,YAC/S,IAAAG,GAAE,MAAO,CAAEE,MAAO,kBAAmB,IAAAF,GAAE,IAAK,CAAEO,KAAM,0CAA2CL,MAAO,iBAAkB,IAAAF,GAAE,OAAQ,CAAEG,KAAM,YAAa,IAAAH,GAAE,UAAW,CAAEG,KAAM,cAAeE,KAAM,OAC/L,IACN,GAEFhB,EAAQmB,MAxBW,wnB","sources":["webpack://DomainChecker/./node_modules/@rocketspark/flint-ui/dist/esm/rs-alert.entry.js"],"sourcesContent":["import { r as registerInstance, h, H as Host } from './index-3d0f28ab.js';\n\nconst rsAlertCss = \":host{display:block}.alert{padding:13px 16px;border:1px solid;border-radius:6px;width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;box-sizing:border-box}.alert--error{border-color:var(--rs-color-negative);background-color:rgb(241 101 100 / 0.1)}.alert--info{border-color:var(--rs-color-primary-300);background-color:rgb(124 161 255 / 0.1)}.alert__message{display:flex;align-items:center;gap:16px}.alert__action{font-size:14px;font-weight:600}.action__link{text-decoration:none;display:flex;align-items:center;gap:8px;color:var(--rs-color-secondary);font-family:soleil, sans-serif;white-space:nowrap}\";\n\nconst RsAlert = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.alertClassNames = () => {\n let classNames = 'alert';\n if (this.type === 'error') {\n classNames += ' alert--error';\n }\n if (this.type === 'info') {\n classNames += ' alert--info';\n }\n return classNames;\n };\n this.actionLink = undefined;\n this.type = 'error';\n }\n render() {\n return (h(Host, null, h(\"div\", { class: this.alertClassNames() }, h(\"div\", { class: \"alert__message\" }, (this.type === 'error') ? (h(\"rs-icon\", { name: \"warning\", color: \"negative\", size: 18 })) : '', h(\"rs-content\", { color: \"heading\", body: 2 }, h(\"slot\", null))), this.actionLink !== undefined && this.actionLink !== '' ?\n h(\"div\", { class: \"alert__action\" }, h(\"a\", { href: \"/dashboard/account_details/update_card/\", class: \"action__link\" }, h(\"slot\", { name: 'action' }), h(\"rs-icon\", { name: \"arrow-right\", size: 18 })))\n : '')));\n }\n};\nRsAlert.style = rsAlertCss;\n\nexport { RsAlert as rs_alert };\n\n//# sourceMappingURL=rs-alert.entry.js.map"],"names":["RsAlert","constructor","hostRef","r","this","alertClassNames","classNames","type","actionLink","undefined","render","h","H","class","name","color","size","body","href","style"],"sourceRoot":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* @rocketspark/domain-checker v0.0.21
|
|
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([[60],{4060:function(t,o,r){r.r(o),r.d(o,{rs_tool_tip:function(){return e}});var i=r(7915);const e=class{constructor(t){(0,i.r)(this,t),this.arrow="top",this.arrowDirection="top"}arrowChange(){this.arrowDirection=this.arrow}render(){return(0,i.h)("host",{class:`rs-tooltip rs-tooltip--${this.arrowDirection}`},(0,i.h)("div",{class:"rs-tooltip__caption__container"},(0,i.h)("slot",null)))}static get watchers(){return{arrow:["arrowChange"]}}};e.style=':host{position:absolute;z-index:1000;padding:14px 10px;font-size:14px;font-weight:200;color:#fff;background-color:var(--rs-color-heading);border-radius:3px;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:20px;letter-spacing:0;text-align:left;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;max-width:240px}:host(.rs-tooltip--active){opacity:1}.rs-tooltip::after{content:"";height:0;width:0;position:absolute;pointer-events:none;border-color:transparent;border-width:12px;border-style:solid}.rs-tooltip--top::after{top:100%;left:50%;margin-left:-12px;border-top-color:var(--rs-color-heading)}.rs-tooltip--right::after{right:100%;top:50%;margin-top:-12px;border-right-color:var(--rs-color-heading)}.rs-tooltip--bottom::after{bottom:100%;left:50%;margin-left:-12px;border-bottom-color:var(--rs-color-heading)}.rs-tooltip--left::after{left:100%;top:50%;margin-top:-12px;border-left-color:var(--rs-color-heading)}::slotted(.rs-tooltip__heading){font-family:soleil, sans-serif !important;font-size:14px !important;font-style:normal !important;line-height:20px !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:14px !important;font-style:normal !important;font-weight:400 !important;line-height:20px !important;letter-spacing:0 !important;text-align:left !important;margin:8px 0 0 !important;padding:0 !important}'}}]);
|
|
13
|
+
//# sourceMappingURL=60.index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"60.index.js","mappings":";;;;;;;;;;;iLAEA,MAEMA,EAAY,MAChB,WAAAC,CAAYC,IACV,IAAAC,GAAiBC,KAAMF,GACvBE,KAAKC,MAAQ,MACbD,KAAKE,eAAiB,KACxB,CACA,WAAAC,GACEH,KAAKE,eAAiBF,KAAKC,KAC7B,CACA,MAAAG,GACE,OAAQ,IAAAC,GAAE,OAAQ,CAAEC,MAAO,0BAA0BN,KAAKE,mBAAoB,IAAAG,GAAE,MAAO,CAAEC,MAAO,mCAAoC,IAAAD,GAAE,OAAQ,OAChJ,CACA,mBAAWE,GAAa,MAAO,CAC7B,MAAS,CAAC,eACT,GAELX,EAAUY,MAlBW,qkD","sources":["webpack://DomainChecker/./node_modules/@rocketspark/flint-ui/dist/esm/rs-tool-tip.entry.js"],"sourcesContent":["import { r as registerInstance, h } from './index-3d0f28ab.js';\n\nconst rsToolTipCss = \":host{position:absolute;z-index:1000;padding:14px 10px;font-size:14px;font-weight:200;color:#fff;background-color:var(--rs-color-heading);border-radius:3px;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:20px;letter-spacing:0;text-align:left;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;max-width:240px}:host(.rs-tooltip--active){opacity:1}.rs-tooltip::after{content:\\\"\\\";height:0;width:0;position:absolute;pointer-events:none;border-color:transparent;border-width:12px;border-style:solid}.rs-tooltip--top::after{top:100%;left:50%;margin-left:-12px;border-top-color:var(--rs-color-heading)}.rs-tooltip--right::after{right:100%;top:50%;margin-top:-12px;border-right-color:var(--rs-color-heading)}.rs-tooltip--bottom::after{bottom:100%;left:50%;margin-left:-12px;border-bottom-color:var(--rs-color-heading)}.rs-tooltip--left::after{left:100%;top:50%;margin-top:-12px;border-left-color:var(--rs-color-heading)}::slotted(.rs-tooltip__heading){font-family:soleil, sans-serif !important;font-size:14px !important;font-style:normal !important;line-height:20px !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:14px !important;font-style:normal !important;font-weight:400 !important;line-height:20px !important;letter-spacing:0 !important;text-align:left !important;margin:8px 0 0 !important;padding:0 !important}\";\n\nconst RsToolTip = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\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\n//# sourceMappingURL=rs-tool-tip.entry.js.map"],"names":["RsToolTip","constructor","hostRef","r","this","arrow","arrowDirection","arrowChange","render","h","class","watchers","style"],"sourceRoot":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* @rocketspark/domain-checker v0.0.21
|
|
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([[616],{8616:function(t,e,s){s.r(e),s.d(e,{rs_list_item:function(){return r}});var i=s(7915);const r=class{constructor(t){(0,i.r)(this,t),this.listSelector=null,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},this.heading=void 0,this.error=!1,this.value=void 0,this.selectable=!1,this.complete=!1,this.showArrow=!0,this.selected=!1}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:7px;padding:20px 25px;box-sizing:border-box;line-height:21px;max-height:62px;height:62px;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 2px var(--rs-color-primary)}:host(.rs-list-item--selectable:hover){box-shadow:inset 0 0 0 2px 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(10px)}:host(.rs-list-item--selectable.rs-list-item--selected:hover){box-shadow:inset 0 0 0 2px var(--rs-color-primary)}.rs-list-item__start{display:flex;align-items:center;justify-content:start}::slotted([slot="start"]){margin-right:8px}.rs-list-item__end{display:flex;align-items:center}.rs-list-item__end rs-icon{margin-left:15px}'}}]);
|
|
13
|
+
//# sourceMappingURL=616.index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"616.index.js","mappings":";;;;;;;;;;;mLAEA,MAEMA,EAAa,MACjB,WAAAC,CAAYC,IACV,IAAAC,GA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E,OAAQ,CAAEE,KAAM,QAAUH,EAAcM,GAC9M,CACA,MAAIZ,GAAO,OAAO,IAAAc,GAAW3B,KAAO,GAEtCJ,EAAWgC,MApDW,qqC","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-3d0f28ab.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:7px;padding:20px 25px;box-sizing:border-box;line-height:21px;max-height:62px;height:62px;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 2px var(--rs-color-primary)}:host(.rs-list-item--selectable:hover){box-shadow:inset 0 0 0 2px 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(10px)}:host(.rs-list-item--selectable.rs-list-item--selected:hover){box-shadow:inset 0 0 0 2px var(--rs-color-primary)}.rs-list-item__start{display:flex;align-items:center;justify-content:start}::slotted([slot=\\\"start\\\"]){margin-right:8px}.rs-list-item__end{display:flex;align-items:center}.rs-list-item__end rs-icon{margin-left:15px}\";\n\nconst RsListItem = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.listSelector = null;\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 this.heading = undefined;\n this.error = false;\n this.value = undefined;\n this.selectable = false;\n this.complete = false;\n this.showArrow = true;\n this.selected = false;\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\n//# sourceMappingURL=rs-list-item.entry.js.map"],"names":["RsListItem","constructor","hostRef","r","this","listSelector","updateState","selected","value","showArrow","complete","onClick","heading","undefined","error","selectable","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.21
|
|
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([[631],{8631:function(e,t,s){s.r(t),s.d(t,{rs_list_select:function(){return r}});var l=s(7915);const r=class{constructor(e){(0,l.r)(this,e),this.rsChange=(0,l.c)(this,"rsChange",7),this.value=void 0}valueChanged(e){this.rsChange.emit({value:e})}componentDidLoad(){this.el.querySelectorAll("rs-list-item").forEach((e=>{e.selectable=!0}))}render(){return(0,l.h)(l.H,null,(0,l.h)("slot",null))}get el(){return(0,l.g)(this)}static get watchers(){return{value:["valueChanged"]}}};r.style=":host{display:block}::slotted(rs-list-item:not(last-child)){margin-bottom:8px}"}}]);
|
|
13
|
+
//# sourceMappingURL=631.index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"631.index.js","mappings":";;;;;;;;;;;qLAEA,MAEMA,EAAe,MACnB,WAAAC,CAAYC,IACV,IAAAC,GAAiBC,KAAMF,GACvBE,KAAKC,UAAW,IAAAC,GAAYF,KAAM,WAAY,GAC9CA,KAAKG,WAAQC,CACf,CAIA,YAAAC,CAAaF,GACXH,KAAKC,SAASK,KAAK,CAAEH,SACvB,CACA,gBAAAI,GACoBP,KAAKQ,GAAGC,iBAAiB,gBACjCC,SAASC,IACjBA,EAASC,YAAa,CAAI,GAE9B,CACA,MAAAC,GACE,OAAQ,IAAAC,GAAE,EAAAC,EAAM,MAAM,IAAAD,GAAE,OAAQ,MAClC,CACA,MAAIN,GAAO,OAAO,IAAAQ,GAAWhB,KAAO,CACpC,mBAAWiB,GAAa,MAAO,CAC7B,MAAS,CAAC,gBACT,GAELrB,EAAasB,MA5BW,gF","sources":["webpack://DomainChecker/./node_modules/@rocketspark/flint-ui/dist/esm/rs-list-select.entry.js"],"sourcesContent":["import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-3d0f28ab.js';\n\nconst rsListSelectCss = \":host{display:block}::slotted(rs-list-item:not(last-child)){margin-bottom:8px}\";\n\nconst RsListSelect = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.rsChange = createEvent(this, \"rsChange\", 7);\n this.value = undefined;\n }\n /**\n * Watch for any changes on the `value` property.\n */\n valueChanged(value) {\n this.rsChange.emit({ value });\n }\n componentDidLoad() {\n const listItems = this.el.querySelectorAll('rs-list-item'); // Get all the radio items\n listItems.forEach((listItem) => {\n listItem.selectable = true;\n });\n }\n render() {\n return (h(Host, null, h(\"slot\", null)));\n }\n get el() { return getElement(this); }\n static get watchers() { return {\n \"value\": [\"valueChanged\"]\n }; }\n};\nRsListSelect.style = rsListSelectCss;\n\nexport { RsListSelect as rs_list_select };\n\n//# sourceMappingURL=rs-list-select.entry.js.map"],"names":["RsListSelect","constructor","hostRef","r","this","rsChange","c","value","undefined","valueChanged","emit","componentDidLoad","el","querySelectorAll","forEach","listItem","selectable","render","h","H","g","watchers","style"],"sourceRoot":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* @rocketspark/domain-checker v0.0.21
|
|
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([[643],{6643:function(t,i,e){e.r(i),e.d(i,{rs_radio:function(){return o}});var r=e(7915);const o=class{constructor(t){(0,r.r)(this,t),this.rsStyle=(0,r.c)(this,"rsStyle",7),this.radioGroup=null,this.runWatch=!0,this.updateState=()=>{null!==this.radioGroup&&(this.checked=this.radioGroup.value===this.value)},this.handleClick=()=>{!1!==this.editable&&this.setSelected()},this.setSelected=(t=!this.checked)=>{if(!this.disabled)if(null!==this.radioGroup){const t=this.radioGroup.value,i=this.value;i!==t?this.radioGroup.value=i:this.radioGroup.allowDeselect&&(this.radioGroup.value=void 0)}else this.runWatch=!1,this.checked=t},this.checked=!1,this.color=void 0,this.name=void 0,this.disabled=!1,this.value=void 0,this.button="default",this.justifyContent=void 0,this.textAlign=void 0,this.editable=!0}isCheckedChange(){this.emitStyle(),null===this.radioGroup&&this.runWatch&&(this.runWatch=!0,this.setSelected(this.checked))}disabledChanged(){this.emitStyle()}connectedCallback(){const t=this.radioGroup=this.el.closest("rs-radio-group");null!==t&&(this.updateState(),t.addEventListener("rsChange",this.updateState))}disconnectedCallback(){const t=this.radioGroup;null!==t&&(t.removeEventListener("rsChange",this.updateState),this.radioGroup=null)}componentWillLoad(){this.emitStyle()}emitStyle(){this.rsStyle.emit({radio:!0,"radio-checked":this.checked,"interactive-disabled":this.disabled})}render(){const{disabled:t,checked:i,color:e}=this,o=["primary","secondary","secondary-variant","positive","positive-variant","white","light","grey-light","grey","black","heading","negative","neutral","highlight"].includes(e);return(0,r.h)(r.H,{role:"radio",class:{nativeElement:!0,"radio-checked":i,"radio-disabled":t,"radio-button":"vertical"===this.button||"horizontal"===this.button,"radio-button--vertical":"vertical"===this.button,"radio-button--horizontal":"horizontal"===this.button},style:{"justify-content":this.justifyContent},onClick:this.handleClick,disabled:t},(0,r.h)("slot",{name:"start"}),(0,r.h)("div",{class:"rs-radio__circle-container"},(0,r.h)("div",{class:"rs-radio__circle-inner",style:{"background-color":o?`var(--rs-color-${e})`:e}})),(0,r.h)("slot",{name:"end"}))}get el(){return(0,r.g)(this)}static get watchers(){return{checked:["isCheckedChange"],disabled:["disabledChanged"]}}};o.style=':host{display:flex;align-items:center;box-sizing:border-box}.rs-radio__circle-container{display:flex;align-items:center;justify-content:center;width:23PX;height:23PX;box-shadow:inset 0 0 0 1PX var(--rs-color-grey-light);border-radius:50%;cursor:pointer;max-width:23PX;max-height:23PX;min-width:23PX;min-height:23PX;box-sizing:border-box}.rs-radio__circle-inner{background-color:var(--rs-color-black);width:13PX;height:13PX;border-radius:50%;transform:scale3d(0, 0, 0);transition:transform 0.2s ease-out;max-width:13PX;max-height:13PX;min-width:13PX;min-height:13PX}:host(.radio-checked) .rs-radio__circle-inner{transform:scale3d(1, 1, 1)}:host(.radio-disabled){cursor:not-allowed;opacity:0.5}::slotted([slot=\'start\']){margin-right:11px}::slotted([slot=\'end\']){margin-left:11px}:host([button="vertical"]) ::slotted([slot="start"]){margin-right:0;margin-bottom:11px}:host([button="vertical"]) ::slotted([slot="end"]){margin-left:0;margin-top:11px}:host(.radio-button.radio-checked){box-shadow:inset 0 0 0 2px var(--rs-color-primary)}:host(.radio-button){display:flex;padding:15px;box-shadow:inset 0 0 0 1px var(--rs-color-grey-light);border-radius:6px;cursor:pointer;transition:box-shadow 0.4s ease-out}:host(.radio-button:hover){box-shadow:inset 0 0 0 2px var(--rs-color-primary)}:host(.radio-button--vertical){flex-direction:column;align-items:center;justify-content:center;text-align:center}:host(.radio-button--horizontal){flex-direction:row;align-items:center;justify-content:start;text-align:left}'}}]);
|
|
13
|
+
//# sourceMappingURL=643.index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"643.index.js","mappings":";;;;;;;;;;;+KAEA,MAEMA,EAAQ,MACZ,WAAAC,CAAYC,IACV,IAAAC,GAAiBC,KAAMF,GACvBE,KAAKC,SAAU,IAAAC,GAAYF,KAAM,UAAW,GAC5CA,KAAKG,WAAa,KAClBH,KAAKI,UAAW,EAIhBJ,KAAKK,YAAc,KACO,OAApBL,KAAKG,aAGTH,KAAKM,QAAUN,KAAKG,WAAWI,QAAUP,KAAKO,MAAK,EAErDP,KAAKQ,YAAc,MACK,IAAlBR,KAAKS,UAGTT,KAAKU,aAAa,EAEpBV,KAAKU,YAAc,CAACC,GAASX,KAAKM,WAChC,IAAIN,KAAKY,SAGT,GAAwB,OAApBZ,KAAKG,WAAqB,CAC5B,MAAMU,EAAeb,KAAKG,WAAWI,MAC/BO,EAAWd,KAAKO,MAClBO,IAAaD,EACf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Z,KAAKmB,QAAyC,eAAhBnB,KAAKmB,OACnD,yBAA0C,aAAhBnB,KAAKmB,OAC/B,2BAA4C,eAAhBnB,KAAKmB,QAChCqB,MAAO,CACR,kBAAmBxC,KAAKoB,gBACvBqB,QAASzC,KAAKQ,YAAaI,SAAUA,IAAY,IAAAwB,GAAE,OAAQ,CAAElB,KAAM,WAAY,IAAAkB,GAAE,MAAO,CAAEG,MAAO,+BAAgC,IAAAH,GAAE,MAAO,CAAEG,MAAO,yBAA0BC,MAAO,CACrL,mBAAoBN,EAAoB,kBAAkBjB,KAAWA,OAChE,IAAAmB,GAAE,OAAQ,CAAElB,KAAM,QAC7B,CACA,MAAIQ,GAAO,OAAO,IAAAgB,GAAW1C,KAAO,CACpC,mBAAW2C,GAAa,MAAO,CAC7B,QAAW,CAAC,mBACZ,SAAY,CAAC,mBACZ,GAEL/C,EAAM4C,MA1HW,m+C","sources":["webpack://DomainChecker/./node_modules/@rocketspark/flint-ui/dist/esm/rs-radio.entry.js"],"sourcesContent":["import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-3d0f28ab.js';\n\nconst radioCss = \":host{display:flex;align-items:center;box-sizing:border-box}.rs-radio__circle-container{display:flex;align-items:center;justify-content:center;width:23PX;height:23PX;box-shadow:inset 0 0 0 1PX var(--rs-color-grey-light);border-radius:50%;cursor:pointer;max-width:23PX;max-height:23PX;min-width:23PX;min-height:23PX;box-sizing:border-box}.rs-radio__circle-inner{background-color:var(--rs-color-black);width:13PX;height:13PX;border-radius:50%;transform:scale3d(0, 0, 0);transition:transform 0.2s ease-out;max-width:13PX;max-height:13PX;min-width:13PX;min-height:13PX}:host(.radio-checked) .rs-radio__circle-inner{transform:scale3d(1, 1, 1)}:host(.radio-disabled){cursor:not-allowed;opacity:0.5}::slotted([slot='start']){margin-right:11px}::slotted([slot='end']){margin-left:11px}:host([button=\\\"vertical\\\"]) ::slotted([slot=\\\"start\\\"]){margin-right:0;margin-bottom:11px}:host([button=\\\"vertical\\\"]) ::slotted([slot=\\\"end\\\"]){margin-left:0;margin-top:11px}:host(.radio-button.radio-checked){box-shadow:inset 0 0 0 2px var(--rs-color-primary)}:host(.radio-button){display:flex;padding:15px;box-shadow:inset 0 0 0 1px var(--rs-color-grey-light);border-radius:6px;cursor:pointer;transition:box-shadow 0.4s ease-out}:host(.radio-button:hover){box-shadow:inset 0 0 0 2px var(--rs-color-primary)}:host(.radio-button--vertical){flex-direction:column;align-items:center;justify-content:center;text-align:center}:host(.radio-button--horizontal){flex-direction:row;align-items:center;justify-content:start;text-align:left}\";\n\nconst Radio = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.rsStyle = createEvent(this, \"rsStyle\", 7);\n this.radioGroup = null;\n this.runWatch = true;\n /**\n * Updates checked state\n */\n this.updateState = () => {\n if (this.radioGroup === null) {\n return;\n }\n this.checked = this.radioGroup.value === this.value;\n };\n this.handleClick = () => {\n if (this.editable === false) {\n return;\n }\n this.setSelected();\n };\n this.setSelected = (state = !this.checked) => {\n if (this.disabled) {\n return;\n }\n if (this.radioGroup !== null) {\n const currentValue = this.radioGroup.value;\n const newValue = this.value;\n if (newValue !== currentValue) {\n this.radioGroup.value = newValue;\n }\n else if (this.radioGroup.allowDeselect) {\n this.radioGroup.value = undefined;\n }\n }\n else {\n this.runWatch = false;\n this.checked = state;\n }\n };\n this.checked = false;\n this.color = undefined;\n this.name = undefined;\n this.disabled = false;\n this.value = undefined;\n this.button = 'default';\n this.justifyContent = undefined;\n this.textAlign = undefined;\n this.editable = true;\n }\n /**\n * Watch for any changes on the `checked` property.\n */\n isCheckedChange() {\n this.emitStyle();\n if (this.radioGroup === null && this.runWatch) {\n this.runWatch = true;\n this.setSelected(this.checked);\n }\n }\n /**\n * Watch for any changes on the `disabled` property.\n */\n disabledChanged() {\n this.emitStyle(); // disabled changed, emit change in styling\n }\n /**\n * As soon as the component is attached to the DOM,\n * we make sure that a default radio is selected.\n */\n connectedCallback() {\n const radioGroup = this.radioGroup = this.el.closest('rs-radio-group');\n if (radioGroup !== null) {\n this.updateState();\n radioGroup.addEventListener('rsChange', this.updateState);\n }\n }\n disconnectedCallback() {\n const radioGroup = this.radioGroup;\n if (radioGroup !== null) {\n radioGroup.removeEventListener('rsChange', this.updateState);\n this.radioGroup = null;\n }\n }\n componentWillLoad() {\n this.emitStyle();\n }\n /**\n * Emits `rsStyle` event when the styles of the radio change\n */\n emitStyle() {\n this.rsStyle.emit({\n 'radio': true,\n 'radio-checked': this.checked,\n 'interactive-disabled': this.disabled\n });\n }\n render() {\n const { disabled, checked, color } = this;\n const predefinedColors = ['primary', 'secondary', 'secondary-variant', 'positive', 'positive-variant', 'white', 'light', 'grey-light', 'grey', 'black', 'heading', 'negative', 'neutral', 'highlight'];\n const colorIsPredefined = predefinedColors.includes(color);\n return (h(Host, { role: \"radio\", class: {\n 'nativeElement': true,\n 'radio-checked': checked,\n 'radio-disabled': disabled,\n 'radio-button': this.button === 'vertical' || this.button === 'horizontal',\n 'radio-button--vertical': this.button === 'vertical',\n 'radio-button--horizontal': this.button === 'horizontal'\n }, style: {\n 'justify-content': this.justifyContent\n }, onClick: this.handleClick, disabled: disabled }, h(\"slot\", { name: \"start\" }), h(\"div\", { class: \"rs-radio__circle-container\" }, h(\"div\", { class: \"rs-radio__circle-inner\", style: {\n 'background-color': colorIsPredefined ? `var(--rs-color-${color})` : color\n } })), h(\"slot\", { name: \"end\" })));\n }\n get el() { return getElement(this); }\n static get watchers() { return {\n \"checked\": [\"isCheckedChange\"],\n \"disabled\": [\"disabledChanged\"]\n }; }\n};\nRadio.style = radioCss;\n\nexport { Radio as rs_radio };\n\n//# sourceMappingURL=rs-radio.entry.js.map"],"names":["Radio","constructor","hostRef","r","this","rsStyle","c","radioGroup","runWatch","updateState","checked","value","handleClick","editable","setSelected","state","disabled","currentValue","newValue","allowDeselect","undefined","color","name","button","justifyContent","textAlign","isCheckedChange","emitStyle","disabledChanged","connectedCallback","el","closest","addEventListener","disconnectedCallback","removeEventListener","componentWillLoad","emit","render","colorIsPredefined","includes","h","H","role","class","style","onClick","g","watchers"],"sourceRoot":""}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* @rocketspark/domain-checker v0.0.
|
|
3
|
+
* @rocketspark/domain-checker v0.0.21
|
|
4
4
|
* https://github.com/rocketspark/domain-checker.git
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) Lee Reichardt and project contributors.
|
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
* LICENSE file in the root directory of this source tree.
|
|
10
10
|
*
|
|
11
11
|
*/
|
|
12
|
-
"use strict";(self.webpackChunkDomainChecker=self.webpackChunkDomainChecker||[]).push([[
|
|
13
|
-
//# sourceMappingURL=
|
|
12
|
+
"use strict";(self.webpackChunkDomainChecker=self.webpackChunkDomainChecker||[]).push([[654],{2654:function(r,e,n){n.r(e),n.d(e,{rs_grid:function(){return t}});var s=n(7915);const t=class{constructor(r){(0,s.r)(this,r)}render(){return(0,s.h)(s.H,null,(0,s.h)("slot",null))}};t.style=":host{display:block;flex:1}"}}]);
|
|
13
|
+
//# sourceMappingURL=654.index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"654.index.js","mappings":";;;;;;;;;;;8KAEA,MAEMA,EAAS,MACb,WAAAC,CAAYC,IACV,IAAAC,GAAiBC,KAAMF,EACzB,CACA,MAAAG,GACE,OAAQ,IAAAC,GAAE,EAAAC,EAAM,MAAM,IAAAD,GAAE,OAAQ,MAClC,GAEFN,EAAOQ,MAVS,6B","sources":["webpack://DomainChecker/./node_modules/@rocketspark/flint-ui/dist/esm/rs-grid.entry.js"],"sourcesContent":["import { r as registerInstance, h, H as Host } from './index-3d0f28ab.js';\n\nconst gridCss = \":host{display:block;flex:1}\";\n\nconst RsGrid = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n }\n render() {\n return (h(Host, null, h(\"slot\", null)));\n }\n};\nRsGrid.style = gridCss;\n\nexport { RsGrid as rs_grid };\n\n//# sourceMappingURL=rs-grid.entry.js.map"],"names":["RsGrid","constructor","hostRef","r","this","render","h","H","style"],"sourceRoot":""}
|
package/build/66.index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* @rocketspark/domain-checker v0.0.
|
|
3
|
+
* @rocketspark/domain-checker v0.0.21
|
|
4
4
|
* https://github.com/rocketspark/domain-checker.git
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) Lee Reichardt and project contributors.
|
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
* LICENSE file in the root directory of this source tree.
|
|
10
10
|
*
|
|
11
11
|
*/
|
|
12
|
-
"use strict";(self.webpackChunkDomainChecker=self.webpackChunkDomainChecker||[]).push([[66],{
|
|
12
|
+
"use strict";(self.webpackChunkDomainChecker=self.webpackChunkDomainChecker||[]).push([[66],{66:function(s,e,t){t.r(e),t.d(e,{rs_progress_circle:function(){return i}});var r=t(7915);const i=class{constructor(s){(0,r.r)(this,s),this.dimensions={small:28,default:43,large:111},this.strokeWidth={small:2,default:4,large:4},this.activeStrokeWidth={small:4,default:6,large:8},this.progress=0,this.size="default"}getProgressValue(){return this.progress>100?100:this.progress<0?0:this.progress}progressValueClass(){return{"progress-value--0":this.progress<=30,"progress-value--30":this.progress>30&&this.progress<80,"progress-value--80":this.progress>=80,"progress-circle":!0}}getSize(){return this.dimensions[this.size]}getActiveStrokeWidth(){return this.activeStrokeWidth[this.size]}getStrokeWidth(){return this.strokeWidth[this.size]}getRadius(){return this.getSize()/2-this.getActiveStrokeWidth()/2}getStrokeDashArray(){return Math.PI*(2*this.getRadius())}getStrokeDashOffset(){return(100-this.getProgressValue())/100*this.getStrokeDashArray()}render(){return(0,r.h)(r.H,{class:`size--${this.size}`,style:{width:`${this.getSize()}px`,height:`${this.getSize()}px`}},(0,r.h)("svg",{width:this.getSize(),height:this.getSize(),viewBox:`0 0 ${this.getSize()} ${this.getSize()}`,fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("circle",{class:"progress-bar",opacity:"0.5",cx:"50%",cy:"50%",r:this.getRadius(),style:{"stroke-width":`${this.getStrokeWidth()}`}}),(0,r.h)("circle",{class:Object.assign({},this.progressValueClass()),cx:"50%",cy:"50%",r:this.getRadius(),style:{opacity:""+(this.getProgressValue()<1?"0":"1"),"stroke-dasharray":`${this.getStrokeDashArray()}`,"stroke-width":`${this.getActiveStrokeWidth()}px`,"stroke-dashoffset":`${this.getStrokeDashOffset()}`,"stroke-linecap":"round","transform-origin":`${this.getSize()/2}px ${this.getSize()/2}px`,transform:"rotate(-90deg)"}})))}};i.style=":host{display:block}.progress-bar{stroke:var(--rs-color-grey-light)}.progress-value--0{stroke:var(--rs-color-negative)}.progress-value--30{stroke:var(--rs-color-neutral)}.progress-value--80{stroke:var(--rs-color-positive)}.progress-circle{transition:stroke-dasharray 0.15s ease-out, stroke 0.15s ease-out, opacity 0.15s ease-out}"}}]);
|
|
13
13
|
//# sourceMappingURL=66.index.js.map
|