@htmlbricks/hb-input-checkbox 0.7.3 → 0.7.5
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/package.json +4 -3
- package/release/release.js +1 -1
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@htmlbricks/hb-input-checkbox",
|
|
3
3
|
"displayName": "Svelte-Bootstrap Checkbox Input WebComponent",
|
|
4
4
|
"description": "Svelte-Bootstrap Checkbox Input WebComponent",
|
|
5
|
-
"version": "0.7.
|
|
5
|
+
"version": "0.7.5",
|
|
6
6
|
"main": "release/release.js",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
@@ -27,11 +27,12 @@
|
|
|
27
27
|
"prepublish": "npm run build:release"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@htmlbricks/hb-jsutils": "^0.7.
|
|
30
|
+
"@htmlbricks/hb-jsutils": "^0.7.5",
|
|
31
31
|
"@rollup/plugin-alias": "^3.1.2",
|
|
32
32
|
"@rollup/plugin-commonjs": "^18.0.0",
|
|
33
33
|
"@rollup/plugin-json": "^4.1.0",
|
|
34
34
|
"@rollup/plugin-node-resolve": "^11.2.1",
|
|
35
|
+
"@rollup/plugin-replace": "^4.0.0",
|
|
35
36
|
"@rollup/plugin-typescript": "^8.2.1",
|
|
36
37
|
"@tsconfig/svelte": "^1.0.10",
|
|
37
38
|
"@types/node": "^16.7.1",
|
|
@@ -70,5 +71,5 @@
|
|
|
70
71
|
"webcomponents"
|
|
71
72
|
],
|
|
72
73
|
"contributors": [],
|
|
73
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "5c10098a7760e88b44796b37487d93ac412157d9"
|
|
74
75
|
}
|
package/release/release.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var release=function(){"use strict";function e(){}function t(e){return e()}function n(){return Object.create(null)}function o(e){e.forEach(t)}function i(e){return"function"==typeof e}function r(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function a(e,t){e.appendChild(t)}function s(e,t,n){e.insertBefore(t,n||null)}function c(e){e.parentNode.removeChild(e)}function d(e){return document.createElement(e)}function l(e){return document.createTextNode(e)}function u(){return l(" ")}function f(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function b(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function m(e){const t={};for(const n of e)t[n.name]=n.value;return t}let h;function p(e){h=e}function g(){if(!h)throw new Error("Function called outside component initialization");return h}function y(){const e=g();return(t,n)=>{const o=e.$$.callbacks[t];if(o){const i=function(e,t,n=!1){const o=document.createEvent("CustomEvent");return o.initCustomEvent(e,n,!1,t),o}(t,n);o.slice().forEach((t=>{t.call(e,i)}))}}}const k=[],$=[],v=[],w=[],x=Promise.resolve();let E=!1;function _(e){v.push(e)}const C=new Set;let S=0;function M(){const e=h;do{for(;S<k.length;){const e=k[S];S++,p(e),T(e.$$)}for(p(null),k.length=0,S=0;$.length;)$.pop()();for(let e=0;e<v.length;e+=1){const t=v[e];C.has(t)||(C.add(t),t())}v.length=0}while(k.length);for(;w.length;)w.pop()();E=!1,C.clear(),p(e)}function T(e){if(null!==e.fragment){e.update(),o(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(_)}}const j=new Set;function N(e,t){-1===e.$$.dirty[0]&&(k.push(e),E||(E=!0,x.then(M)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function z(r,a,s,d,l,u,f,b=[-1]){const m=h;p(r);const g=r.$$={fragment:null,ctx:null,props:u,update:e,not_equal:l,bound:n(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(a.context||(m?m.$$.context:[])),callbacks:n(),dirty:b,skip_bound:!1,root:a.target||m.$$.root};f&&f(g.root);let y=!1;if(g.ctx=s?s(r,a.props||{},((e,t,...n)=>{const o=n.length?n[0]:t;return g.ctx&&l(g.ctx[e],g.ctx[e]=o)&&(!g.skip_bound&&g.bound[e]&&g.bound[e](o),y&&N(r,e)),t})):[],g.update(),y=!0,o(g.before_update),g.fragment=!!d&&d(g.ctx),a.target){if(a.hydrate){const e=function(e){return Array.from(e.childNodes)}(a.target);g.fragment&&g.fragment.l(e),e.forEach(c)}else g.fragment&&g.fragment.c();a.intro&&((k=r.$$.fragment)&&k.i&&(j.delete(k),k.i($))),function(e,n,r,a){const{fragment:s,on_mount:c,on_destroy:d,after_update:l}=e.$$;s&&s.m(n,r),a||_((()=>{const n=c.map(t).filter(i);d?d.push(...n):o(n),e.$$.on_mount=[]})),l.forEach(_)}(r,a.target,a.anchor,a.customElement),M()}var k,$;p(m)}let A;function L(e){let t,n,o=e[1].validationTip+"";return{c(){t=d("div"),n=l(o),f(t,"part","invalid-feedback"),f(t,"class","invalid-feedback mb-1")},m(e,o){s(e,t,o),a(t,n)},p(e,t){2&t&&o!==(o=e[1].validationTip+"")&&b(n,o)},d(e){e&&c(t)}}}function O(t){let n,o,i,r,m,h,p,g,y,k,$,v,w,x=t[1]?.label+"",E=t[1]?.validationTip&&"yes"===t[0]&&L(t);return{c(){n=d("div"),o=d("input"),h=u(),p=d("label"),g=l(x),k=u(),E&&E.c(),$=l(""),this.c=e,f(o,"type","checkbox"),f(o,"class","form-check-input"),f(o,"id",i=t[1]?.id),o.required=r=t[1]?.required,o.readOnly=m=t[1]?.readonly,f(p,"for",y=t[1]?.id),f(p,"class","form-check-label"),f(n,"class","form-check")},m(e,i){var r,c,d,l;s(e,n,i),a(n,o),o.checked=t[2],a(n,h),a(n,p),a(p,g),s(e,k,i),E&&E.m(e,i),s(e,$,i),v||(r=o,c="change",d=t[5],r.addEventListener(c,d,l),w=()=>r.removeEventListener(c,d,l),v=!0)},p(e,[t]){2&t&&i!==(i=e[1]?.id)&&f(o,"id",i),2&t&&r!==(r=e[1]?.required)&&(o.required=r),2&t&&m!==(m=e[1]?.readonly)&&(o.readOnly=m),4&t&&(o.checked=e[2]),2&t&&x!==(x=e[1]?.label+"")&&b(g,x),2&t&&y!==(y=e[1]?.id)&&f(p,"for",y),e[1]?.validationTip&&"yes"===e[0]?E?E.p(e,t):(E=L(e),E.c(),E.m($.parentNode,$)):E&&(E.d(1),E=null)},i:e,o:e,d(e){e&&c(n),e&&c(k),E&&E.d(e),e&&c($),v=!1,w()}}}function R(e,t,n){let o,{setvalue:i}=t,{setvalid:r}=t,{showvalidation:a}=t,{schemaentry:s}=t;const c=g(),d=y();function l(e,t){d(e,t),c.dispatchEvent&&c.dispatchEvent(new CustomEvent(e,{detail:t}))}return e.$$set=e=>{"setvalue"in e&&n(3,i=e.setvalue),"setvalid"in e&&n(4,r=e.setvalid),"showvalidation"in e&&n(0,a=e.showvalidation),"schemaentry"in e&&n(1,s=e.schemaentry)},e.$$.update=()=>{31&e.$$.dirty&&(a||n(0,a="no"),s&&"string"==typeof s&&n(1,s=JSON.parse(s)),n(3,i=!(!i&&"no"===i)),n(4,r=!(!r&&"no"===r)),n(2,o=null!=o?o:!!(null==s?void 0:s.value)),setTimeout((()=>{i&&l("setValue",{value:o,id:null==s?void 0:s.id}),r&&l("setValid",!0)}),0))},[a,s,o,i,r,function(){o=this.checked,n(2,o),n(0,a),n(1,s),n(3,i),n(4,r)}]}"function"==typeof HTMLElement&&(A=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(i);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){o(this.$$.on_disconnect)}$destroy(){!function(e,t){const n=e.$$;null!==n.fragment&&(o(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}(this,1),this.$destroy=e}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});class q extends A{constructor(e){super(),this.shadowRoot.innerHTML="<style>@import url(\"https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap\");:host{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#07689f;--bs-secondary:#c9d6df;--bs-success:#11d3bc;--bs-info:#a2d5f2;--bs-warning:#ff7e67;--bs-danger:#f67280;--bs-light:#fafafa;--bs-dark:#4e4e4e;--bs-primary-rgb:7, 104, 159;--bs-secondary-rgb:201, 214, 223;--bs-success-rgb:17, 211, 188;--bs-info-rgb:162, 213, 242;--bs-warning-rgb:255, 126, 103;--bs-danger-rgb:246, 114, 128;--bs-light-rgb:250, 250, 250;--bs-dark-rgb:78, 78, 78;--bs-white-rgb:255, 255, 255;--bs-black-rgb:0, 0, 0;--bs-body-color-rgb:33, 37, 41;--bs-body-bg-rgb:255, 255, 255;--bs-font-sans-serif:system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", \"Liberation Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";--bs-font-monospace:SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-bg:#fff}*,*::before,*::after{box-sizing:border-box}@media(prefers-reduced-motion: no-preference){:host{scroll-behavior:smooth}}@media(min-width: 1200px){}@media(min-width: 1200px){}@media(min-width: 1200px){}@media(min-width: 1200px){}label{display:inline-block}input{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}::-moz-focus-inner{padding:0;border-style:none}@media(min-width: 1200px){}::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-text,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::file-selector-button{font:inherit}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}@media(prefers-reduced-motion: reduce){}@media(prefers-reduced-motion: reduce){}@media(prefers-reduced-motion: reduce){}@media(prefers-reduced-motion: reduce){}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:0.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-input{width:1em;height:1em;margin-top:0.25em;vertical-align:top;background-color:#fff;background-repeat:no-repeat;background-position:center;background-size:contain;border:1px solid rgba(0, 0, 0, 0.25);appearance:none;color-adjust:exact}.form-check-input[type=checkbox]{border-radius:0.25em}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#83b4cf;outline:0;box-shadow:0 0 0 0.25rem rgba(7, 104, 159, 0.25)}.form-check-input:checked{background-color:#07689f;border-color:#07689f}.form-check-input:checked[type=checkbox]{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e\")}.form-check-input[type=checkbox]:indeterminate{background-color:#07689f;border-color:#07689f;background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e\")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:0.5}.form-check-input:disabled~.form-check-label{opacity:0.5}@media(prefers-reduced-motion: reduce){}@media(prefers-reduced-motion: reduce){}@media(prefers-reduced-motion: reduce){}@media(prefers-reduced-motion: reduce){}.invalid-feedback{display:none;width:100%;margin-top:0.25rem;font-size:0.875em;color:#f67280}@media(prefers-reduced-motion: reduce){}@keyframes placeholder-glow{50%{opacity:0.2}}@keyframes placeholder-wave{100%{mask-position:-200% 0%}}@media(min-width: 576px){}@media(min-width: 768px){}@media(min-width: 992px){}@media(min-width: 1200px){}@media(min-width: 1400px){}:host{font-family:\"Roboto\", sans-serif}</style>",z(this,{target:this.shadowRoot,props:m(this.attributes),customElement:!0},R,O,r,{setvalue:3,setvalid:4,showvalidation:0,schemaentry:1},null),e&&(e.target&&s(e.target,this,e.anchor),e.props&&(this.$set(e.props),M()))}static get observedAttributes(){return["setvalue","setvalid","showvalidation","schemaentry"]}get setvalue(){return this.$$.ctx[3]}set setvalue(e){this.$$set({setvalue:e}),M()}get setvalid(){return this.$$.ctx[4]}set setvalid(e){this.$$set({setvalid:e}),M()}get showvalidation(){return this.$$.ctx[0]}set showvalidation(e){this.$$set({showvalidation:e}),M()}get schemaentry(){return this.$$.ctx[1]}set schemaentry(e){this.$$set({schemaentry:e}),M()}}return customElements.define("hb-input-checkbox",q),q}();
|
|
1
|
+
var release=function(){"use strict";function e(){}function t(e){return e()}function n(){return Object.create(null)}function o(e){e.forEach(t)}function r(e){return"function"==typeof e}function i(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function a(e,t){e.appendChild(t)}function s(e,t,n){e.insertBefore(t,n||null)}function c(e){e.parentNode.removeChild(e)}function d(e){return document.createElement(e)}function l(e){return document.createTextNode(e)}function f(){return l(" ")}function u(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function b(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function m(e){const t={};for(const n of e)t[n.name]=n.value;return t}let h;function p(e){h=e}function g(){if(!h)throw new Error("Function called outside component initialization");return h}function y(){const e=g();return(t,n)=>{const o=e.$$.callbacks[t];if(o){const r=function(e,t,n=!1){const o=document.createEvent("CustomEvent");return o.initCustomEvent(e,n,!1,t),o}(t,n);o.slice().forEach((t=>{t.call(e,r)}))}}}const v=[],k=[],w=[],$=[],x=Promise.resolve();let E=!1;function _(e){w.push(e)}const C=new Set;let S=0;function M(){const e=h;do{for(;S<v.length;){const e=v[S];S++,p(e),T(e.$$)}for(p(null),v.length=0,S=0;k.length;)k.pop()();for(let e=0;e<w.length;e+=1){const t=w[e];C.has(t)||(C.add(t),t())}w.length=0}while(v.length);for(;$.length;)$.pop()();E=!1,C.clear(),p(e)}function T(e){if(null!==e.fragment){e.update(),o(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(_)}}const j=new Set;function N(e,t){-1===e.$$.dirty[0]&&(v.push(e),E||(E=!0,x.then(M)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function z(i,a,s,d,l,f,u,b=[-1]){const m=h;p(i);const g=i.$$={fragment:null,ctx:null,props:f,update:e,not_equal:l,bound:n(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(a.context||(m?m.$$.context:[])),callbacks:n(),dirty:b,skip_bound:!1,root:a.target||m.$$.root};u&&u(g.root);let y=!1;if(g.ctx=s?s(i,a.props||{},((e,t,...n)=>{const o=n.length?n[0]:t;return g.ctx&&l(g.ctx[e],g.ctx[e]=o)&&(!g.skip_bound&&g.bound[e]&&g.bound[e](o),y&&N(i,e)),t})):[],g.update(),y=!0,o(g.before_update),g.fragment=!!d&&d(g.ctx),a.target){if(a.hydrate){const e=function(e){return Array.from(e.childNodes)}(a.target);g.fragment&&g.fragment.l(e),e.forEach(c)}else g.fragment&&g.fragment.c();a.intro&&((v=i.$$.fragment)&&v.i&&(j.delete(v),v.i(k))),function(e,n,i,a){const{fragment:s,on_mount:c,on_destroy:d,after_update:l}=e.$$;s&&s.m(n,i),a||_((()=>{const n=c.map(t).filter(r);d?d.push(...n):o(n),e.$$.on_mount=[]})),l.forEach(_)}(i,a.target,a.anchor,a.customElement),M()}var v,k;p(m)}let A;function L(e){let t,n,o=e[1].validationTip+"";return{c(){t=d("div"),n=l(o),u(t,"part","invalid-feedback"),u(t,"class","invalid-feedback mb-1")},m(e,o){s(e,t,o),a(t,n)},p(e,t){2&t&&o!==(o=e[1].validationTip+"")&&b(n,o)},d(e){e&&c(t)}}}function O(t){let n,o,r,i,m,h,p,g,y,v,k,w,$,x=t[1]?.label+"",E=t[1]?.validationTip&&"yes"===t[0]&&L(t);return{c(){n=d("div"),o=d("input"),h=f(),p=d("label"),g=l(x),v=f(),E&&E.c(),k=l(""),this.c=e,u(o,"type","checkbox"),u(o,"class","form-check-input"),u(o,"id",r=t[1]?.id),o.required=i=t[1]?.required,o.readOnly=m=t[1]?.readonly,u(p,"for",y=t[1]?.id),u(p,"class","form-check-label"),u(n,"class","form-check")},m(e,r){var i,c,d,l;s(e,n,r),a(n,o),o.checked=t[2],a(n,h),a(n,p),a(p,g),s(e,v,r),E&&E.m(e,r),s(e,k,r),w||(i=o,c="change",d=t[5],i.addEventListener(c,d,l),$=()=>i.removeEventListener(c,d,l),w=!0)},p(e,[t]){2&t&&r!==(r=e[1]?.id)&&u(o,"id",r),2&t&&i!==(i=e[1]?.required)&&(o.required=i),2&t&&m!==(m=e[1]?.readonly)&&(o.readOnly=m),4&t&&(o.checked=e[2]),2&t&&x!==(x=e[1]?.label+"")&&b(g,x),2&t&&y!==(y=e[1]?.id)&&u(p,"for",y),e[1]?.validationTip&&"yes"===e[0]?E?E.p(e,t):(E=L(e),E.c(),E.m(k.parentNode,k)):E&&(E.d(1),E=null)},i:e,o:e,d(e){e&&c(n),e&&c(v),E&&E.d(e),e&&c(k),w=!1,$()}}}function R(e,t,n){let o,{setvalue:r}=t,{setvalid:i}=t,{showvalidation:a}=t,{schemaentry:s}=t;const c=g(),d=y();function l(e,t){d(e,t),c.dispatchEvent&&c.dispatchEvent(new CustomEvent(e,{detail:t}))}return e.$$set=e=>{"setvalue"in e&&n(3,r=e.setvalue),"setvalid"in e&&n(4,i=e.setvalid),"showvalidation"in e&&n(0,a=e.showvalidation),"schemaentry"in e&&n(1,s=e.schemaentry)},e.$$.update=()=>{31&e.$$.dirty&&(a||n(0,a="no"),s&&"string"==typeof s&&n(1,s=JSON.parse(s)),n(3,r=!(!r&&"no"===r)),n(4,i=!(!i&&"no"===i)),n(2,o=null!=o?o:!!(null==s?void 0:s.value)),setTimeout((()=>{r&&l("setValue",{value:o,id:null==s?void 0:s.id}),i&&l("setValid",!0)}),0))},[a,s,o,r,i,function(){o=this.checked,n(2,o),n(0,a),n(1,s),n(3,r),n(4,i)}]}"function"==typeof HTMLElement&&(A=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(r);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){o(this.$$.on_disconnect)}$destroy(){!function(e,t){const n=e.$$;null!==n.fragment&&(o(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}(this,1),this.$destroy=e}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});class q extends A{constructor(e){super(),this.shadowRoot.innerHTML="<style>@import url(\"https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap\");:host{--bs-blue:var(--bs-primary,#07689f);--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:var(--bs-danger,#f67280);--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:var(--bs-warning,#ffc107);--bs-teal:#20c997;--bs-cyan:var(--bs-info,#a2d5f2);--bs-white:#fff;--bs-gray:var(--bs-secondary,#c9d6df);--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:var(--bs-secondary,#c9d6df);--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:var(--bs-primary,#07689f);--bs-secondary:var(--bs-secondary,#c9d6df);--bs-success:var(--bs-warning,#ffc107);--bs-info:var(--bs-info,#a2d5f2);--bs-warning:#ffc107;--bs-danger:var(--bs-danger,#f67280);--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13, 110, 253;--bs-secondary-rgb:108, 117, 125;--bs-success-rgb:25, 135, 84;--bs-info-rgb:13, 202, 240;--bs-warning-rgb:255, 193, 7;--bs-danger-rgb:220, 53, 69;--bs-light-rgb:248, 249, 250;--bs-dark-rgb:33, 37, 41;--bs-white-rgb:255, 255, 255;--bs-black-rgb:0, 0, 0;--bs-body-color-rgb:33, 37, 41;--bs-body-bg-rgb:255, 255, 255;--bs-font-sans-serif:system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", \"Liberation Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";--bs-font-monospace:SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-bg:#fff}*,*::before,*::after{box-sizing:border-box}@media(prefers-reduced-motion: no-preference){:host{scroll-behavior:smooth}}@media(min-width: 1200px){}@media(min-width: 1200px){}@media(min-width: 1200px){}@media(min-width: 1200px){}label{display:inline-block}input{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}::-moz-focus-inner{padding:0;border-style:none}@media(min-width: 1200px){}::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-text,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::file-selector-button{font:inherit}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}@media(prefers-reduced-motion: reduce){}@media(prefers-reduced-motion: reduce){}@media(prefers-reduced-motion: reduce){}@media(prefers-reduced-motion: reduce){}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:0.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-input{width:1em;height:1em;margin-top:0.25em;vertical-align:top;background-color:#fff;background-repeat:no-repeat;background-position:center;background-size:contain;border:1px solid rgba(0, 0, 0, 0.25);appearance:none;color-adjust:exact}.form-check-input[type=checkbox]{border-radius:0.25em}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 0.25rem rgba(13, 110, 253, 0.25)}.form-check-input:checked{background-color:var(--bs-primary,#07689f);border-color:var(--bs-primary,#07689f)}.form-check-input:checked[type=checkbox]{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e\")}.form-check-input[type=checkbox]:indeterminate{background-color:var(--bs-primary,#07689f);border-color:var(--bs-primary,#07689f);background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e\")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:0.5}.form-check-input:disabled~.form-check-label{opacity:0.5}@media(prefers-reduced-motion: reduce){}@media(prefers-reduced-motion: reduce){}@media(prefers-reduced-motion: reduce){}@media(prefers-reduced-motion: reduce){}.invalid-feedback{display:none;width:100%;margin-top:0.25rem;font-size:0.875em;color:var(--bs-danger,#f67280)}@media(prefers-reduced-motion: reduce){}@keyframes placeholder-glow{50%{opacity:0.2}}@keyframes placeholder-wave{100%{mask-position:-200% 0%}}@media(min-width: 576px){}@media(min-width: 768px){}@media(min-width: 992px){}@media(min-width: 1200px){}@media(min-width: 1400px){}:host{font-family:\"Roboto\", sans-serif}</style>",z(this,{target:this.shadowRoot,props:m(this.attributes),customElement:!0},R,O,i,{setvalue:3,setvalid:4,showvalidation:0,schemaentry:1},null),e&&(e.target&&s(e.target,this,e.anchor),e.props&&(this.$set(e.props),M()))}static get observedAttributes(){return["setvalue","setvalid","showvalidation","schemaentry"]}get setvalue(){return this.$$.ctx[3]}set setvalue(e){this.$$set({setvalue:e}),M()}get setvalid(){return this.$$.ctx[4]}set setvalid(e){this.$$set({setvalid:e}),M()}get showvalidation(){return this.$$.ctx[0]}set showvalidation(e){this.$$set({showvalidation:e}),M()}get schemaentry(){return this.$$.ctx[1]}set schemaentry(e){this.$$set({schemaentry:e}),M()}}return customElements.define("hb-input-checkbox",q),q}();
|
|
2
2
|
//# sourceMappingURL=release.js.map
|