smoothly 0.3.31 → 0.3.33
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/dist/cjs/{Trigger-3443997e.js → Listenable-c8d2f8ef.js} +55 -0
- package/dist/cjs/{getLanguage-aa9af88b.js → getLanguage-430ecf04.js} +7 -0
- package/dist/cjs/{index-7b75b331.js → index-879bbabb.js} +19 -19
- package/dist/cjs/{index-3fb97927.js → index-de46f836.js} +7 -1
- package/dist/cjs/index.cjs.js +7 -6
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/smoothly-accordion_53.cjs.entry.js +136 -13
- package/dist/cjs/smoothly-country.cjs.entry.js +4 -2
- package/dist/cjs/smoothly-google-font.cjs.entry.js +2 -1
- package/dist/cjs/smoothly-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-reorder.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +7 -4
- package/dist/cjs/smoothly-trigger-source.cjs.entry.js +5 -4
- package/dist/cjs/smoothly.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/accordion/index.js +1 -0
- package/dist/collection/components/accordion-item/index.js +5 -0
- package/dist/collection/components/app/index.js +3 -0
- package/dist/collection/components/app-demo/index.js +3 -0
- package/dist/collection/components/backtotop/index.js +1 -0
- package/dist/collection/components/button/index.js +5 -0
- package/dist/collection/components/calendar/index.js +8 -1
- package/dist/collection/components/checkbox/index.js +4 -0
- package/dist/collection/components/country/index.js +2 -0
- package/dist/collection/components/dialog/index.js +2 -0
- package/dist/collection/components/display/index.js +7 -0
- package/dist/collection/components/display-amount/index.js +2 -0
- package/dist/collection/components/display-date-time/index.js +3 -0
- package/dist/collection/components/frame/index.js +5 -0
- package/dist/collection/components/google-font/index.js +3 -0
- package/dist/collection/components/icon/index.js +4 -0
- package/dist/collection/components/input/index.js +6 -0
- package/dist/collection/components/input-date/index.js +8 -0
- package/dist/collection/components/input-date-range/index.js +6 -0
- package/dist/collection/components/input-month/index.js +3 -0
- package/dist/collection/components/item/index.js +5 -0
- package/dist/collection/components/menu-options/index.js +3 -0
- package/dist/collection/components/notification/index.js +2 -1
- package/dist/collection/components/option/index.js +5 -0
- package/dist/collection/components/picker/index.js +6 -0
- package/dist/collection/components/quiet/index.js +3 -0
- package/dist/collection/components/radio/index.js +6 -0
- package/dist/collection/components/radio-button/index.js +3 -0
- package/dist/collection/components/radio-button/item/index.js +5 -0
- package/dist/collection/components/room/index.js +6 -0
- package/dist/collection/components/select/index.js +5 -0
- package/dist/collection/components/selector/index.js +3 -1
- package/dist/collection/components/skeleton/index.js +4 -0
- package/dist/collection/components/spinner/index.js +1 -0
- package/dist/collection/components/submit/index.js +5 -0
- package/dist/collection/components/svg/index.js +3 -0
- package/dist/collection/components/tab/index.js +4 -0
- package/dist/collection/components/tab-switch/index.js +3 -0
- package/dist/collection/components/table/expandable/cell/index.js +1 -0
- package/dist/collection/components/table/expandable/row/index.js +1 -0
- package/dist/collection/components/table/header/index.js +3 -0
- package/dist/collection/components/trigger/index.js +5 -0
- package/dist/collection/components/trigger-sink/index.js +5 -0
- package/dist/collection/components/trigger-source/index.js +3 -0
- package/dist/collection/components/tuple/index.js +3 -0
- package/dist/collection/components/urlencoded/index.js +3 -0
- package/dist/collection/index.js +1 -1
- package/dist/collection/model/Listenable.js +29 -16
- package/dist/collection/model/Notice.js +18 -18
- package/dist/collection/model/index.js +1 -0
- package/dist/custom-elements/index.js +213 -22
- package/dist/esm/{Trigger-327e506e.js → Listenable-55a1f6af.js} +55 -1
- package/dist/esm/{getLanguage-3dbe8ccd.js → getLanguage-cccb8418.js} +7 -0
- package/dist/esm/{index-fcf8bdd3.js → index-d3421c35.js} +7 -1
- package/dist/esm/{index-3b463176.js → index-d7a4e405.js} +19 -19
- package/dist/esm/index.js +4 -4
- package/dist/esm/loader.js +2 -2
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/smoothly-accordion_53.entry.js +130 -7
- package/dist/esm/smoothly-country.entry.js +4 -2
- package/dist/esm/smoothly-google-font.entry.js +2 -1
- package/dist/esm/smoothly-radio-group.entry.js +1 -1
- package/dist/esm/smoothly-reorder.entry.js +1 -1
- package/dist/esm/smoothly-trigger-sink.entry.js +5 -2
- package/dist/esm/smoothly-trigger-source.entry.js +3 -2
- package/dist/esm/smoothly.js +2 -2
- package/dist/smoothly/index.esm.js +1 -1
- package/dist/smoothly/p-156763cd.js +1 -0
- package/dist/smoothly/{p-af90d05a.js → p-4a0b35b7.js} +0 -0
- package/dist/smoothly/p-4a78c705.entry.js +1 -0
- package/dist/smoothly/p-4fecfc5d.entry.js +1 -0
- package/dist/smoothly/p-5b6351f6.js +1 -0
- package/dist/smoothly/{p-f67259c5.entry.js → p-5d41e3ca.entry.js} +1 -1
- package/dist/smoothly/{p-6acd7162.entry.js → p-6630d923.entry.js} +1 -1
- package/dist/smoothly/{p-a1c137fc.entry.js → p-7db49a38.entry.js} +1 -1
- package/dist/smoothly/{p-e5191036.js → p-94e08cee.js} +1 -1
- package/dist/smoothly/p-96e8781a.entry.js +1 -0
- package/dist/smoothly/p-e0f4957d.entry.js +1 -0
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/dist/types/components/submit/Data.d.ts +1 -1
- package/dist/types/components.d.ts +12 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/model/Autocomplete.d.ts +1 -1
- package/dist/types/model/Color.d.ts +1 -1
- package/dist/types/model/Expand.d.ts +1 -1
- package/dist/types/model/Fill.d.ts +1 -1
- package/dist/types/model/GoogleFont.d.ts +1 -1
- package/dist/types/model/Listenable.d.ts +9 -5
- package/dist/types/model/Option.d.ts +1 -1
- package/dist/types/model/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +44 -3
- package/dist/types/utilities/Cosmetic/Color/CommaRgb.d.ts +1 -1
- package/dist/types/utilities/Cosmetic/Color/Hex.d.ts +1 -1
- package/dist/types/utilities/Cosmetic/Color/Hsl.d.ts +1 -1
- package/dist/types/utilities/Cosmetic/Color/Name.d.ts +1 -1
- package/dist/types/utilities/Cosmetic/Color/Rgb.d.ts +1 -1
- package/dist/types/utilities/Cosmetic/Color/index.d.ts +1 -1
- package/dist/types/utilities/Cosmetic/index.d.ts +1 -1
- package/package.json +93 -66
- package/dist/smoothly/p-0833f25c.entry.js +0 -1
- package/dist/smoothly/p-2bf8c660.entry.js +0 -1
- package/dist/smoothly/p-3bd18eea.entry.js +0 -1
- package/dist/smoothly/p-41e29ef7.js +0 -1
- package/dist/smoothly/p-9fd866e2.entry.js +0 -1
- package/dist/smoothly/p-b1c579b3.js +0 -1
|
@@ -60,7 +60,6 @@ const isComplexType = (o) => {
|
|
|
60
60
|
*
|
|
61
61
|
* Modified for Stencil's compiler and vdom
|
|
62
62
|
*/
|
|
63
|
-
// const stack: any[] = [];
|
|
64
63
|
// export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, child?: d.ChildType): d.VNode;
|
|
65
64
|
// export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;
|
|
66
65
|
const h = (nodeName, vnodeData, ...children) => {
|
|
@@ -151,6 +150,13 @@ const newVNode = (tag, text) => {
|
|
|
151
150
|
};
|
|
152
151
|
const Host = {};
|
|
153
152
|
const isHost = (node) => node && node.$tag$ === Host;
|
|
153
|
+
/**
|
|
154
|
+
* Implementation of {@link d.FunctionalUtilities} for Stencil's VDom.
|
|
155
|
+
*
|
|
156
|
+
* Note that these functions convert from {@link d.VNode} to
|
|
157
|
+
* {@link d.ChildNode} to give functional component developers a friendly
|
|
158
|
+
* interface.
|
|
159
|
+
*/
|
|
154
160
|
const vdomFnUtils = {
|
|
155
161
|
forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
|
|
156
162
|
map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getRenderingRef, f as forceUpdate, h } from './index-
|
|
1
|
+
import { g as getRenderingRef, f as forceUpdate, h } from './index-d3421c35.js';
|
|
2
2
|
|
|
3
3
|
const appendToMap = (map, propName, value) => {
|
|
4
4
|
const items = map.get(propName);
|
|
@@ -397,6 +397,24 @@ function resolve(url) {
|
|
|
397
397
|
}
|
|
398
398
|
|
|
399
399
|
class Notice {
|
|
400
|
+
get state() {
|
|
401
|
+
return this.stateValue;
|
|
402
|
+
}
|
|
403
|
+
set state(value) {
|
|
404
|
+
if (this.stateValue != value) {
|
|
405
|
+
this.stateValue = value;
|
|
406
|
+
this.emit();
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
get message() {
|
|
410
|
+
return this.messageValue;
|
|
411
|
+
}
|
|
412
|
+
set message(value) {
|
|
413
|
+
if (this.messageValue != value) {
|
|
414
|
+
this.messageValue = value;
|
|
415
|
+
this.emit();
|
|
416
|
+
}
|
|
417
|
+
}
|
|
400
418
|
constructor(stateValue, messageValue, task) {
|
|
401
419
|
this.stateValue = stateValue;
|
|
402
420
|
this.messageValue = messageValue;
|
|
@@ -416,24 +434,6 @@ class Notice {
|
|
|
416
434
|
break;
|
|
417
435
|
}
|
|
418
436
|
}
|
|
419
|
-
get state() {
|
|
420
|
-
return this.stateValue;
|
|
421
|
-
}
|
|
422
|
-
set state(value) {
|
|
423
|
-
if (this.stateValue != value) {
|
|
424
|
-
this.stateValue = value;
|
|
425
|
-
this.emit();
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
get message() {
|
|
429
|
-
return this.messageValue;
|
|
430
|
-
}
|
|
431
|
-
set message(value) {
|
|
432
|
-
if (this.messageValue != value) {
|
|
433
|
-
this.messageValue = value;
|
|
434
|
-
this.emit();
|
|
435
|
-
}
|
|
436
|
-
}
|
|
437
437
|
listen(listener) {
|
|
438
438
|
this.listeners.push(listener);
|
|
439
439
|
}
|
package/dist/esm/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { A as App, C as Cosmetic, N as Notice, r as redirect } from './index-
|
|
2
|
-
import { I as Identifier } from './
|
|
3
|
-
export { M as Message, T as Trigger } from './
|
|
1
|
+
export { A as App, C as Cosmetic, N as Notice, r as redirect } from './index-d7a4e405.js';
|
|
2
|
+
import { I as Identifier } from './Listenable-55a1f6af.js';
|
|
3
|
+
export { L as Listenable, M as Message, T as Trigger } from './Listenable-55a1f6af.js';
|
|
4
4
|
export { G as GoogleFont } from './GoogleFont-8474516b.js';
|
|
5
|
-
import './index-
|
|
5
|
+
import './index-d3421c35.js';
|
|
6
6
|
|
|
7
7
|
class ClientIdentifier {
|
|
8
8
|
constructor() { }
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-d3421c35.js';
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
|
-
Stencil Client Patch Esm v2.
|
|
4
|
+
Stencil Client Patch Esm v2.21.0 | MIT Licensed | https://stenciljs.com
|
|
5
5
|
*/
|
|
6
6
|
const patchEsm = () => {
|
|
7
7
|
return promiseResolve();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)},StyleNode=function(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function parse(e){return parseCss(lex(e=clean(e)),e)}function clean(e){return e.replace(RX.comments,"").replace(RX.port,"")}function lex(e){var t=new StyleNode;t.start=0,t.end=e.length;for(var r=t,n=0,s=e.length;n<s;n++)if(e[n]===OPEN_BRACE){r.rules||(r.rules=[]);var o=r,a=o.rules[o.rules.length-1]||null;(r=new StyleNode).start=n+1,r.parent=o,r.previous=a,o.rules.push(r)}else e[n]===CLOSE_BRACE&&(r.end=n+1,r=r.parent||t);return t}function parseCss(e,t){var r=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=r.trim(),e.parent){var n=e.previous?e.previous.end:e.parent.start;r=(r=(r=_expandUnicodeEscapes(r=t.substring(n,e.start-1))).replace(RX.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var s=e.parsedSelector=e.selector=r.trim();e.atRule=0===s.indexOf(AT_START),e.atRule?0===s.indexOf(MEDIA_START)?e.type=types.MEDIA_RULE:s.match(RX.keyframesRule)&&(e.type=types.KEYFRAMES_RULE,e.keyframesName=e.selector.split(RX.multipleSpaces).pop()):0===s.indexOf(VAR_START)?e.type=types.MIXIN_RULE:e.type=types.STYLE_RULE}var o=e.rules;if(o)for(var a=0,i=o.length,l=void 0;a<i&&(l=o[a]);a++)parseCss(l,t);return e}function _expandUnicodeEscapes(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e}))}var types={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},OPEN_BRACE="{",CLOSE_BRACE="}",RX={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},VAR_START="--",MEDIA_START="@media",AT_START="@",VAR_USAGE_START=/\bvar\(/,VAR_ASSIGN_START=/\B--[\w-]+\s*:/,COMMENTS=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,TRAILING_LINES=/^[\t ]+\n/gm;function findRegex(e,t,r){e.lastIndex=0;var n=t.substring(r).match(e);if(n){var s=r+n.index;return{start:s,end:s+n[0].length}}return null}function resolveVar(e,t,r){return e[t]?e[t]:r?executeTemplate(r,e):""}function findVarEndIndex(e,t){for(var r=0,n=t;n<e.length;n++){var s=e[n];if("("===s)r++;else if(")"===s&&--r<=0)return n+1}return n}function parseVar(e,t){var r=findRegex(VAR_USAGE_START,e,t);if(!r)return null;var n=findVarEndIndex(e,r.start),s=e.substring(r.end,n-1).split(","),o=s[0],a=s.slice(1);return{start:r.start,end:n,propName:o.trim(),fallback:a.length>0?a.join(",").trim():void 0}}function compileVar(e,t,r){var n=parseVar(e,r);if(!n)return t.push(e.substring(r,e.length)),e.length;var s=n.propName,o=null!=n.fallback?compileTemplate(n.fallback):void 0;return t.push(e.substring(r,n.start),(function(e){return resolveVar(e,s,o)})),n.end}function executeTemplate(e,t){for(var r="",n=0;n<e.length;n++){var s=e[n];r+="string"==typeof s?s:s(t)}return r}function findEndValue(e,t){for(var r=!1,n=!1,s=t;s<e.length;s++){var o=e[s];if(r)n&&'"'===o&&(r=!1),n||"'"!==o||(r=!1);else if('"'===o)r=!0,n=!0;else if("'"===o)r=!0,n=!1;else{if(";"===o)return s+1;if("}"===o)return s}}return s}function removeCustomAssigns(e){for(var t="",r=0;;){var n=findRegex(VAR_ASSIGN_START,e,r),s=n?n.start:e.length;if(t+=e.substring(r,s),!n)break;r=findEndValue(e,s)}return t}function compileTemplate(e){var t=0;e=removeCustomAssigns(e=e.replace(COMMENTS,"")).replace(TRAILING_LINES,"");for(var r=[];t<e.length;)t=compileVar(e,r,t);return r}function resolveValues(e){var t={};e.forEach((function(e){e.declarations.forEach((function(e){t[e.prop]=e.value}))}));for(var r={},n=Object.entries(t),s=function(e){var t=!1;if(n.forEach((function(e){var n=e[0],s=executeTemplate(e[1],r);s!==r[n]&&(r[n]=s,t=!0)})),!t)return"break"},o=0;o<10;o++){if("break"===s())break}return r}function getSelectors(e,t){if(void 0===t&&(t=0),!e.rules)return[];var r=[];return e.rules.filter((function(e){return e.type===types.STYLE_RULE})).forEach((function(e){var n=getDeclarations(e.cssText);n.length>0&&e.parsedSelector.split(",").forEach((function(e){e=e.trim(),r.push({selector:e,declarations:n,specificity:computeSpecificity(),nu:t})})),t++})),r}function computeSpecificity(e){return 1}var IMPORTANT="!important",FIND_DECLARATIONS=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gm;function getDeclarations(e){for(var t,r=[];t=FIND_DECLARATIONS.exec(e.trim());){var n=normalizeValue(t[2]),s=n.value,o=n.important;r.push({prop:t[1].trim(),value:compileTemplate(s),important:o})}return r}function normalizeValue(e){var t=(e=e.replace(/\s+/gim," ").trim()).endsWith(IMPORTANT);return t&&(e=e.slice(0,e.length-IMPORTANT.length).trim()),{value:e,important:t}}function getActiveSelectors(e,t,r){var n=[],s=getScopesForElement(t,e);return r.forEach((function(e){return n.push(e)})),s.forEach((function(e){return n.push(e)})),sortSelectors(getSelectorsForScopes(n).filter((function(t){return matches(e,t.selector)})))}function getScopesForElement(e,t){for(var r=[];t;){var n=e.get(t);n&&r.push(n),t=t.parentElement}return r}function getSelectorsForScopes(e){var t=[];return e.forEach((function(e){t.push.apply(t,e.selectors)})),t}function sortSelectors(e){return e.sort((function(e,t){return e.specificity===t.specificity?e.nu-t.nu:e.specificity-t.specificity})),e}function matches(e,t){return":root"===t||"html"===t||e.matches(t)}function parseCSS(e){var t=parse(e),r=compileTemplate(e);return{original:e,template:r,selectors:getSelectors(t),usesCssVars:r.length>1}}function addGlobalStyle(e,t){if(e.some((function(e){return e.styleEl===t})))return!1;var r=parseCSS(t.textContent);return r.styleEl=t,e.push(r),!0}function updateGlobalScopes(e){var t=resolveValues(getSelectorsForScopes(e));e.forEach((function(e){e.usesCssVars&&(e.styleEl.textContent=executeTemplate(e.template,t))}))}function reScope(e,t){var r=e.template.map((function(r){return"string"==typeof r?replaceScope(r,e.scopeId,t):r})),n=e.selectors.map((function(r){return __assign(__assign({},r),{selector:replaceScope(r.selector,e.scopeId,t)})}));return __assign(__assign({},e),{template:r,selectors:n,scopeId:t})}function replaceScope(e,t,r){return e=replaceAll(e,"\\.".concat(t),".".concat(r))}function replaceAll(e,t,r){return e.replace(new RegExp(t,"g"),r)}function loadDocument(e,t){return loadDocumentStyles(e,t),loadDocumentLinks(e,t).then((function(){updateGlobalScopes(t)}))}function startWatcher(e,t){"undefined"!=typeof MutationObserver&&new MutationObserver((function(){loadDocumentStyles(e,t)&&updateGlobalScopes(t)})).observe(document.head,{childList:!0})}function loadDocumentLinks(e,t){for(var r=[],n=e.querySelectorAll('link[rel="stylesheet"][href]:not([data-no-shim])'),s=0;s<n.length;s++)r.push(addGlobalLink(e,t,n[s]));return Promise.all(r)}function loadDocumentStyles(e,t){return Array.from(e.querySelectorAll("style:not([data-styles]):not([data-no-shim])")).map((function(e){return addGlobalStyle(t,e)})).some(Boolean)}function addGlobalLink(e,t,r){var n=r.href;return fetch(n).then((function(e){return e.text()})).then((function(s){if(hasCssVariables(s)&&r.parentNode){hasRelativeUrls(s)&&(s=fixRelativeUrls(s,n));var o=e.createElement("style");o.setAttribute("data-styles",""),o.textContent=s,addGlobalStyle(t,o),r.parentNode.insertBefore(o,r),r.remove()}})).catch((function(e){console.error(e)}))}var CSS_VARIABLE_REGEXP=/[\s;{]--[-a-zA-Z0-9]+\s*:/m;function hasCssVariables(e){return e.indexOf("var(")>-1||CSS_VARIABLE_REGEXP.test(e)}var CSS_URL_REGEXP=/url[\s]*\([\s]*['"]?(?!(?:https?|data)\:|\/)([^\'\"\)]*)[\s]*['"]?\)[\s]*/gim;function hasRelativeUrls(e){return CSS_URL_REGEXP.lastIndex=0,CSS_URL_REGEXP.test(e)}function fixRelativeUrls(e,t){var r=t.replace(/[^/]*$/,"");return e.replace(CSS_URL_REGEXP,(function(e,t){var n=r+t;return e.replace(t,n)}))}var CustomStyle=function(){function e(e,t){this.win=e,this.doc=t,this.count=0,this.hostStyleMap=new WeakMap,this.hostScopeMap=new WeakMap,this.globalScopes=[],this.scopesMap=new Map,this.didInit=!1}return e.prototype.i=function(){var e=this;return this.didInit||!this.win.requestAnimationFrame?Promise.resolve():(this.didInit=!0,new Promise((function(t){e.win.requestAnimationFrame((function(){startWatcher(e.doc,e.globalScopes),loadDocument(e.doc,e.globalScopes).then((function(){return t()}))}))})))},e.prototype.addLink=function(e){var t=this;return addGlobalLink(this.doc,this.globalScopes,e).then((function(){t.updateGlobal()}))},e.prototype.addGlobalStyle=function(e){addGlobalStyle(this.globalScopes,e)&&this.updateGlobal()},e.prototype.createHostStyle=function(e,t,r,n){if(this.hostScopeMap.has(e))throw new Error("host style already created");var s=this.registerHostTemplate(r,t,n),o=this.doc.createElement("style");return o.setAttribute("data-no-shim",""),s.usesCssVars?n?(o["s-sc"]=t="".concat(s.scopeId,"-").concat(this.count),o.textContent="/*needs update*/",this.hostStyleMap.set(e,o),this.hostScopeMap.set(e,reScope(s,t)),this.count++):(s.styleEl=o,s.usesCssVars||(o.textContent=executeTemplate(s.template,{})),this.globalScopes.push(s),this.updateGlobal(),this.hostScopeMap.set(e,s)):o.textContent=r,o},e.prototype.removeHost=function(e){var t=this.hostStyleMap.get(e);t&&t.remove(),this.hostStyleMap.delete(e),this.hostScopeMap.delete(e)},e.prototype.updateHost=function(e){var t=this.hostScopeMap.get(e);if(t&&t.usesCssVars&&t.isScoped){var r=this.hostStyleMap.get(e);if(r){var n=resolveValues(getActiveSelectors(e,this.hostScopeMap,this.globalScopes));r.textContent=executeTemplate(t.template,n)}}},e.prototype.updateGlobal=function(){updateGlobalScopes(this.globalScopes)},e.prototype.registerHostTemplate=function(e,t,r){var n=this.scopesMap.get(t);return n||((n=parseCSS(e)).scopeId=t,n.isScoped=r,this.scopesMap.set(t,n)),n},e}();!function(e){!e||e.__cssshim||e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")||(e.__cssshim=new CustomStyle(e,e.document))}("undefined"!=typeof window&&window);
|
|
1
|
+
var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e},__assign.apply(this,arguments)},StyleNode=function(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function parse(e){return parseCss(lex(e=clean(e)),e)}function clean(e){return e.replace(RX.comments,"").replace(RX.port,"")}function lex(e){var t=new StyleNode;t.start=0,t.end=e.length;for(var r=t,n=0,s=e.length;n<s;n++)if(e[n]===OPEN_BRACE){r.rules||(r.rules=[]);var o=r,a=o.rules[o.rules.length-1]||null;(r=new StyleNode).start=n+1,r.parent=o,r.previous=a,o.rules.push(r)}else e[n]===CLOSE_BRACE&&(r.end=n+1,r=r.parent||t);return t}function parseCss(e,t){var r=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=r.trim(),e.parent){var n=e.previous?e.previous.end:e.parent.start;r=(r=(r=_expandUnicodeEscapes(r=t.substring(n,e.start-1))).replace(RX.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var s=e.parsedSelector=e.selector=r.trim();e.atRule=0===s.indexOf(AT_START),e.atRule?0===s.indexOf(MEDIA_START)?e.type=types.MEDIA_RULE:s.match(RX.keyframesRule)&&(e.type=types.KEYFRAMES_RULE,e.keyframesName=e.selector.split(RX.multipleSpaces).pop()):0===s.indexOf(VAR_START)?e.type=types.MIXIN_RULE:e.type=types.STYLE_RULE}var o=e.rules;if(o)for(var a=0,i=o.length,l=void 0;a<i&&(l=o[a]);a++)parseCss(l,t);return e}function _expandUnicodeEscapes(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e}))}var types={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},OPEN_BRACE="{",CLOSE_BRACE="}",RX={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},VAR_START="--",MEDIA_START="@media",AT_START="@",VAR_USAGE_START=/\bvar\(/,VAR_ASSIGN_START=/\B--[\w-]+\s*:/,COMMENTS=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,TRAILING_LINES=/^[\t ]+\n/gm;function findRegex(e,t,r){e.lastIndex=0;var n=t.substring(r).match(e);if(n){var s=r+n.index;return{start:s,end:s+n[0].length}}return null}function resolveVar(e,t,r){return e[t]?e[t]:r?executeTemplate(r,e):""}function findVarEndIndex(e,t){for(var r=0,n=t;n<e.length;n++){var s=e[n];if("("===s)r++;else if(")"===s&&--r<=0)return n+1}return n}function parseVar(e,t){var r=findRegex(VAR_USAGE_START,e,t);if(!r)return null;var n=findVarEndIndex(e,r.start),s=e.substring(r.end,n-1).split(","),o=s[0],a=s.slice(1);return{start:r.start,end:n,propName:o.trim(),fallback:a.length>0?a.join(",").trim():void 0}}function compileVar(e,t,r){var n=parseVar(e,r);if(!n)return t.push(e.substring(r,e.length)),e.length;var s=n.propName,o=null!=n.fallback?compileTemplate(n.fallback):void 0;return t.push(e.substring(r,n.start),(function(e){return resolveVar(e,s,o)})),n.end}function executeTemplate(e,t){for(var r="",n=0;n<e.length;n++){var s=e[n];r+="string"==typeof s?s:s(t)}return r}function findEndValue(e,t){for(var r=!1,n=!1,s=t;s<e.length;s++){var o=e[s];if(r)n&&'"'===o&&(r=!1),n||"'"!==o||(r=!1);else if('"'===o)r=!0,n=!0;else if("'"===o)r=!0,n=!1;else{if(";"===o)return s+1;if("}"===o)return s}}return s}function removeCustomAssigns(e){for(var t="",r=0;;){var n=findRegex(VAR_ASSIGN_START,e,r),s=n?n.start:e.length;if(t+=e.substring(r,s),!n)break;r=findEndValue(e,s)}return t}function compileTemplate(e){var t=0;e=removeCustomAssigns(e=e.replace(COMMENTS,"")).replace(TRAILING_LINES,"");for(var r=[];t<e.length;)t=compileVar(e,r,t);return r}function resolveValues(e){var t={};e.forEach((function(e){e.declarations.forEach((function(e){t[e.prop]=e.value}))}));for(var r={},n=Object.entries(t),s=function(e){var t=!1;if(n.forEach((function(e){var n=e[0],s=executeTemplate(e[1],r);s!==r[n]&&(r[n]=s,t=!0)})),!t)return"break"},o=0;o<10;o++){if("break"===s())break}return r}function getSelectors(e,t){if(void 0===t&&(t=0),!e.rules)return[];var r=[];return e.rules.filter((function(e){return e.type===types.STYLE_RULE})).forEach((function(e){var n=getDeclarations(e.cssText);n.length>0&&e.parsedSelector.split(",").forEach((function(e){e=e.trim(),r.push({selector:e,declarations:n,specificity:computeSpecificity(),nu:t})})),t++})),r}function computeSpecificity(e){return 1}var IMPORTANT="!important",FIND_DECLARATIONS=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gm;function getDeclarations(e){for(var t,r=[];t=FIND_DECLARATIONS.exec(e.trim());){var n=normalizeValue(t[2]),s=n.value,o=n.important;r.push({prop:t[1].trim(),value:compileTemplate(s),important:o})}return r}function normalizeValue(e){var t=(e=e.replace(/\s+/gim," ").trim()).endsWith(IMPORTANT);return t&&(e=e.slice(0,e.length-IMPORTANT.length).trim()),{value:e,important:t}}function getActiveSelectors(e,t,r){var n=[],s=getScopesForElement(t,e);return r.forEach((function(e){return n.push(e)})),s.forEach((function(e){return n.push(e)})),sortSelectors(getSelectorsForScopes(n).filter((function(t){return matches(e,t.selector)})))}function getScopesForElement(e,t){for(var r=[];t;){var n=e.get(t);n&&r.push(n),t=t.parentElement}return r}function getSelectorsForScopes(e){var t=[];return e.forEach((function(e){t.push.apply(t,e.selectors)})),t}function sortSelectors(e){return e.sort((function(e,t){return e.specificity===t.specificity?e.nu-t.nu:e.specificity-t.specificity})),e}function matches(e,t){return":root"===t||"html"===t||e.matches(t)}function parseCSS(e){var t=parse(e),r=compileTemplate(e);return{original:e,template:r,selectors:getSelectors(t),usesCssVars:r.length>1}}function addGlobalStyle(e,t){if(e.some((function(e){return e.styleEl===t})))return!1;var r=parseCSS(t.textContent);return r.styleEl=t,e.push(r),!0}function updateGlobalScopes(e){var t=resolveValues(getSelectorsForScopes(e));e.forEach((function(e){e.usesCssVars&&(e.styleEl.textContent=executeTemplate(e.template,t))}))}function reScope(e,t){var r=e.template.map((function(r){return"string"==typeof r?replaceScope(r,e.scopeId,t):r})),n=e.selectors.map((function(r){return __assign(__assign({},r),{selector:replaceScope(r.selector,e.scopeId,t)})}));return __assign(__assign({},e),{template:r,selectors:n,scopeId:t})}function replaceScope(e,t,r){return e=replaceAll(e,"\\.".concat(t),".".concat(r))}function replaceAll(e,t,r){return e.replace(new RegExp(t,"g"),r)}function loadDocument(e,t){return loadDocumentStyles(e,t),loadDocumentLinks(e,t).then((function(){updateGlobalScopes(t)}))}function startWatcher(e,t){"undefined"!=typeof MutationObserver&&new MutationObserver((function(){loadDocumentStyles(e,t)&&updateGlobalScopes(t)})).observe(document.head,{childList:!0})}function loadDocumentLinks(e,t){for(var r=[],n=e.querySelectorAll('link[rel="stylesheet"][href]:not([data-no-shim])'),s=0;s<n.length;s++)r.push(addGlobalLink(e,t,n[s]));return Promise.all(r)}function loadDocumentStyles(e,t){return Array.from(e.querySelectorAll("style:not([data-styles]):not([data-no-shim])")).map((function(e){return addGlobalStyle(t,e)})).some(Boolean)}function addGlobalLink(e,t,r){var n=r.href;return fetch(n).then((function(e){return e.text()})).then((function(s){if(hasCssVariables(s)&&r.parentNode){hasRelativeUrls(s)&&(s=fixRelativeUrls(s,n));var o=e.createElement("style");o.setAttribute("data-styles",""),o.textContent=s,addGlobalStyle(t,o),r.parentNode.insertBefore(o,r),r.remove()}})).catch((function(e){console.error(e)}))}var CSS_VARIABLE_REGEXP=/[\s;{]--[-a-zA-Z0-9]+\s*:/m;function hasCssVariables(e){return e.indexOf("var(")>-1||CSS_VARIABLE_REGEXP.test(e)}var CSS_URL_REGEXP=/url[\s]*\([\s]*['"]?(?!(?:https?|data)\:|\/)([^\'\"\)]*)[\s]*['"]?\)[\s]*/gim;function hasRelativeUrls(e){return CSS_URL_REGEXP.lastIndex=0,CSS_URL_REGEXP.test(e)}function fixRelativeUrls(e,t){var r=t.replace(/[^/]*$/,"");return e.replace(CSS_URL_REGEXP,(function(e,t){var n=r+t;return e.replace(t,n)}))}var CustomStyle=function(){function e(e,t){this.win=e,this.doc=t,this.count=0,this.hostStyleMap=new WeakMap,this.hostScopeMap=new WeakMap,this.globalScopes=[],this.scopesMap=new Map,this.didInit=!1}return e.prototype.i=function(){var e=this;return this.didInit||!this.win.requestAnimationFrame?Promise.resolve():(this.didInit=!0,new Promise((function(t){e.win.requestAnimationFrame((function(){startWatcher(e.doc,e.globalScopes),loadDocument(e.doc,e.globalScopes).then((function(){return t()}))}))})))},e.prototype.addLink=function(e){var t=this;return addGlobalLink(this.doc,this.globalScopes,e).then((function(){t.updateGlobal()}))},e.prototype.addGlobalStyle=function(e){addGlobalStyle(this.globalScopes,e)&&this.updateGlobal()},e.prototype.createHostStyle=function(e,t,r,n){if(this.hostScopeMap.has(e))throw new Error("host style already created");var s=this.registerHostTemplate(r,t,n),o=this.doc.createElement("style");return o.setAttribute("data-no-shim",""),s.usesCssVars?n?(o["s-sc"]=t="".concat(s.scopeId,"-").concat(this.count),o.textContent="/*needs update*/",this.hostStyleMap.set(e,o),this.hostScopeMap.set(e,reScope(s,t)),this.count++):(s.styleEl=o,s.usesCssVars||(o.textContent=executeTemplate(s.template,{})),this.globalScopes.push(s),this.updateGlobal(),this.hostScopeMap.set(e,s)):o.textContent=r,o},e.prototype.removeHost=function(e){var t=this.hostStyleMap.get(e);t&&t.remove(),this.hostStyleMap.delete(e),this.hostScopeMap.delete(e)},e.prototype.updateHost=function(e){var t=this.hostScopeMap.get(e);if(t&&t.usesCssVars&&t.isScoped){var r=this.hostStyleMap.get(e);if(r){var n=resolveValues(getActiveSelectors(e,this.hostScopeMap,this.globalScopes));r.textContent=executeTemplate(t.template,n)}}},e.prototype.updateGlobal=function(){updateGlobalScopes(this.globalScopes)},e.prototype.registerHostTemplate=function(e,t,r){var n=this.scopesMap.get(t);return n||((n=parseCSS(e)).scopeId=t,n.isScoped=r,this.scopesMap.set(t,n)),n},e}();!function(e){!e||e.__cssshim||e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")||(e.__cssshim=new CustomStyle(e,e.document))}("undefined"!=typeof window&&window);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, h, a as getElement, c as createEvent, H as Host } from './index-
|
|
2
|
-
import { r as redirect, A as App, N as Notice } from './index-
|
|
3
|
-
import { T as Trigger, M as Message } from './
|
|
1
|
+
import { r as registerInstance, h, a as getElement, c as createEvent, H as Host } from './index-d3421c35.js';
|
|
2
|
+
import { r as redirect, A as App, N as Notice } from './index-d7a4e405.js';
|
|
3
|
+
import { T as Trigger, M as Message } from './Listenable-55a1f6af.js';
|
|
4
4
|
import './GoogleFont-8474516b.js';
|
|
5
|
-
import { D as Date$1, L as Language, g as getLanguage, a as DateTime, b as Locale, c as Language$1, C as Currency, d as DateRange } from './getLanguage-
|
|
5
|
+
import { D as Date$1, L as Language, g as getLanguage, a as DateTime, b as Locale, c as Language$1, C as Currency, d as DateRange } from './getLanguage-cccb8418.js';
|
|
6
6
|
|
|
7
7
|
const styleCss$J = "smoothly-accordion-item.sc-smoothly-accordion{border:1px solid rgb(var(--smoothly-dark-color));border-bottom:none}smoothly-accordion-item.sc-smoothly-accordion:first-of-type{border-top-left-radius:4px;border-top-right-radius:4px;margin-top:0.4em}smoothly-accordion-item.sc-smoothly-accordion:last-of-type{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:1px solid rgb(var(--smoothly-dark-color));margin-bottom:0.6em}smoothly-accordion-item[open].sc-smoothly-accordion{border-color:rgb(var(--smoothly-primary-color));border-bottom:1px solid rgb(var(--smoothly-primary-color))}smoothly-accordion-item[open].sc-smoothly-accordion+smoothly-accordion-item.sc-smoothly-accordion{border-top:none}";
|
|
8
8
|
|
|
@@ -10,6 +10,7 @@ const SmoothlyAccordion = class {
|
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
registerInstance(this, hostRef);
|
|
12
12
|
this.items = [];
|
|
13
|
+
this.value = undefined;
|
|
13
14
|
}
|
|
14
15
|
valueChanged(value) {
|
|
15
16
|
this.updateItems();
|
|
@@ -61,6 +62,9 @@ const SmoothlyAccordionItem = class {
|
|
|
61
62
|
this.smoothlyAccordionItemDidUnload = createEvent(this, "smoothlyAccordionItemDidUnload", 7);
|
|
62
63
|
this.smoothlyOpen = createEvent(this, "smoothlyOpen", 7);
|
|
63
64
|
this.smoothlyClose = createEvent(this, "smoothlyClose", 7);
|
|
65
|
+
this.name = undefined;
|
|
66
|
+
this.brand = undefined;
|
|
67
|
+
this.open = undefined;
|
|
64
68
|
}
|
|
65
69
|
openChanged(isChecked) {
|
|
66
70
|
this.open = isChecked;
|
|
@@ -104,6 +108,7 @@ const styleCss$H = "smoothly-app{display:block;scrollbar-width:none}smoothly-app
|
|
|
104
108
|
const SmoothlyApp = class {
|
|
105
109
|
constructor(hostRef) {
|
|
106
110
|
registerInstance(this, hostRef);
|
|
111
|
+
this.color = undefined;
|
|
107
112
|
}
|
|
108
113
|
render() {
|
|
109
114
|
return (h("smoothly-notifier", null, h("slot", null)));
|
|
@@ -114,6 +119,7 @@ SmoothlyApp.style = styleCss$H;
|
|
|
114
119
|
const SmoothlyAppDemo = class {
|
|
115
120
|
constructor(hostRef) {
|
|
116
121
|
registerInstance(this, hostRef);
|
|
122
|
+
this.baseUrl = undefined;
|
|
117
123
|
}
|
|
118
124
|
render() {
|
|
119
125
|
return (h(App, { label: "Smoothly Demo" }, h("a", { slot: "nav-start", href: "display" }, "Display"), h("a", { slot: "nav-start", href: "https://google.com" }, "External"), h("smoothly-room", { path: "" }, h("smoothly-input", { type: "text" }, "Default"), h("div", { style: { padding: "1em", maxWidth: "12em" } }, h("smoothly-button", { fill: "solid", color: "danger", link: "https://google.com" }, "open"), h("smoothly-button", { fill: "solid", color: "danger", link: "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf", download: true }, "download"), h("smoothly-button", { fill: "solid", color: "danger", onClick: () => alert("clicked") }, "action"), h("smoothly-button", { disabled: true, fill: "solid", color: "danger", onClick: () => alert("clicked") }, "action"), h("smoothly-button", { type: "link", fill: "clear", color: "danger", onClick: () => alert("clicked") }, "action link"))), h("smoothly-room", { path: "input", label: "Input" }, h("smoothly-input-demo", null)), h("smoothly-room", { path: "dialog", label: "Dialog" }, h("smoothly-dialog-demo", null)), h("smoothly-room", { path: "display", label: "Display", icon: "eye-outline" }, h("smoothly-display-demo", null)), h("smoothly-room", { path: "table", label: "Table" }, h("smoothly-table-demo", null)), h("smoothly-room", { path: "select", label: "Select" }, h("smoothly-select-demo", null)), h("smoothly-room", { path: "icon", label: "Icon" }, h("smoothly-icon-demo", null)), h("smoothly-room", { path: "/redirect", label: "Redirect" }, h("smoothly-button", { style: { "max-width": "300px" }, onClick: () => {
|
|
@@ -144,6 +150,7 @@ const SmoothlyBacktotop = class {
|
|
|
144
150
|
this.opacity = "0.5";
|
|
145
151
|
this.bottom = "1rem";
|
|
146
152
|
this.right = "1rem";
|
|
153
|
+
this.visible = undefined;
|
|
147
154
|
}
|
|
148
155
|
componentWillLoad() {
|
|
149
156
|
window.addEventListener("scroll", () => {
|
|
@@ -171,8 +178,13 @@ const styleCss$F = "[type=link].sc-smoothly-button-h{display:inline;border:none}
|
|
|
171
178
|
const SmoothlyButton = class {
|
|
172
179
|
constructor(hostRef) {
|
|
173
180
|
registerInstance(this, hostRef);
|
|
181
|
+
this.color = undefined;
|
|
182
|
+
this.expand = undefined;
|
|
183
|
+
this.fill = undefined;
|
|
174
184
|
this.disabled = false;
|
|
175
185
|
this.type = "button";
|
|
186
|
+
this.link = undefined;
|
|
187
|
+
this.download = undefined;
|
|
176
188
|
}
|
|
177
189
|
render() {
|
|
178
190
|
let result;
|
|
@@ -257,8 +269,15 @@ const Calendar = class {
|
|
|
257
269
|
this.endChanged = createEvent(this, "endChanged", 7);
|
|
258
270
|
this.dateSet = createEvent(this, "dateSet", 7);
|
|
259
271
|
this.dateRangeSet = createEvent(this, "dateRangeSet", 7);
|
|
260
|
-
this.value = Date$1.now();
|
|
261
272
|
this.clickCounter = 0;
|
|
273
|
+
this.month = undefined;
|
|
274
|
+
this.value = Date$1.now();
|
|
275
|
+
this.start = undefined;
|
|
276
|
+
this.end = undefined;
|
|
277
|
+
this.max = undefined;
|
|
278
|
+
this.min = undefined;
|
|
279
|
+
this.doubleInput = undefined;
|
|
280
|
+
this.firstSelected = undefined;
|
|
262
281
|
}
|
|
263
282
|
onStart(next) {
|
|
264
283
|
this.startChanged.emit(next);
|
|
@@ -380,6 +399,10 @@ const SmoothlyCheckbox = class {
|
|
|
380
399
|
this.checked = createEvent(this, "checked", 7);
|
|
381
400
|
this.selectAll = false;
|
|
382
401
|
this.size = "small";
|
|
402
|
+
this.intermediate = undefined;
|
|
403
|
+
this.selected = undefined;
|
|
404
|
+
this.disabled = undefined;
|
|
405
|
+
this.t = undefined;
|
|
383
406
|
}
|
|
384
407
|
componentWillLoad() {
|
|
385
408
|
this.t = create(this.element);
|
|
@@ -406,8 +429,10 @@ const styleCss$C = ".sc-smoothly-dialog-h{display:block;position:fixed;left:0;to
|
|
|
406
429
|
const SmoothlyDialog = class {
|
|
407
430
|
constructor(hostRef) {
|
|
408
431
|
registerInstance(this, hostRef);
|
|
432
|
+
this.color = undefined;
|
|
409
433
|
this.open = true;
|
|
410
434
|
this.closable = false;
|
|
435
|
+
this.header = undefined;
|
|
411
436
|
}
|
|
412
437
|
TriggerListener(event) {
|
|
413
438
|
if (Trigger.is(event.detail) && event.detail.name == "close")
|
|
@@ -20654,6 +20679,11 @@ const styleCss$B = ".sc-smoothly-display-h{display:block}[hidden].sc-smoothly-di
|
|
|
20654
20679
|
const SmoothlyDisplay = class {
|
|
20655
20680
|
constructor(hostRef) {
|
|
20656
20681
|
registerInstance(this, hostRef);
|
|
20682
|
+
this.type = undefined;
|
|
20683
|
+
this.value = undefined;
|
|
20684
|
+
this.currency = undefined;
|
|
20685
|
+
this.country = undefined;
|
|
20686
|
+
this.format = undefined;
|
|
20657
20687
|
}
|
|
20658
20688
|
render() {
|
|
20659
20689
|
var _a, _b;
|
|
@@ -20698,6 +20728,8 @@ const styleCss$A = ".sc-smoothly-display-amount-h{display:block}[hidden].sc-smoo
|
|
|
20698
20728
|
const SmoothlyDisplayAmount = class {
|
|
20699
20729
|
constructor(hostRef) {
|
|
20700
20730
|
registerInstance(this, hostRef);
|
|
20731
|
+
this.amount = undefined;
|
|
20732
|
+
this.currency = undefined;
|
|
20701
20733
|
this.toInteger = false;
|
|
20702
20734
|
}
|
|
20703
20735
|
format(amount) {
|
|
@@ -20749,6 +20781,7 @@ const styleCss$z = ".sc-smoothly-display-date-time-h{display:block}[hidden].sc-s
|
|
|
20749
20781
|
const SmoothlyDisplayDateTime = class {
|
|
20750
20782
|
constructor(hostRef) {
|
|
20751
20783
|
registerInstance(this, hostRef);
|
|
20784
|
+
this.datetime = undefined;
|
|
20752
20785
|
}
|
|
20753
20786
|
componentWillLoad() {
|
|
20754
20787
|
console.warn('Component <smoothly-display-date-time> is deprecated, use <smoothly-display type="date-time">.');
|
|
@@ -20783,6 +20816,9 @@ const SmoothlyFrame = class {
|
|
|
20783
20816
|
registerInstance(this, hostRef);
|
|
20784
20817
|
this.trigger = createEvent(this, "trigger", 7);
|
|
20785
20818
|
this.message = createEvent(this, "message", 7);
|
|
20819
|
+
this.url = undefined;
|
|
20820
|
+
this.name = undefined;
|
|
20821
|
+
this.origin = undefined;
|
|
20786
20822
|
}
|
|
20787
20823
|
get contentWindow() {
|
|
20788
20824
|
const iframe = this.element && this.element.firstElementChild ? this.element.firstElementChild : undefined;
|
|
@@ -20822,8 +20858,12 @@ const styleCss$x = "[size].sc-smoothly-icon-h{background:none}.sc-smoothly-icon-
|
|
|
20822
20858
|
const SmoothlyIcon = class {
|
|
20823
20859
|
constructor(hostRef) {
|
|
20824
20860
|
registerInstance(this, hostRef);
|
|
20861
|
+
this.color = undefined;
|
|
20825
20862
|
this.fill = "solid";
|
|
20863
|
+
this.name = undefined;
|
|
20826
20864
|
this.size = "medium";
|
|
20865
|
+
this.toolTip = undefined;
|
|
20866
|
+
this.document = undefined;
|
|
20827
20867
|
}
|
|
20828
20868
|
async loadDocument() {
|
|
20829
20869
|
if (this.name)
|
|
@@ -21355,14 +21395,20 @@ const SmoothlyInput = class {
|
|
|
21355
21395
|
this.smoothlyChange = createEvent(this, "smoothlyChange", 7);
|
|
21356
21396
|
this.smoothlyInput = createEvent(this, "smoothlyInput", 7);
|
|
21357
21397
|
this.keepFocusOnReRender = false;
|
|
21398
|
+
this.name = undefined;
|
|
21399
|
+
this.value = undefined;
|
|
21358
21400
|
this.type = "text";
|
|
21359
21401
|
this.required = false;
|
|
21360
21402
|
this.minLength = 0;
|
|
21361
21403
|
this.showLabel = true;
|
|
21362
21404
|
this.maxLength = Number.POSITIVE_INFINITY;
|
|
21363
21405
|
this.autocomplete = true;
|
|
21406
|
+
this.pattern = undefined;
|
|
21407
|
+
this.placeholder = undefined;
|
|
21364
21408
|
this.disabled = false;
|
|
21365
21409
|
this.readonly = false;
|
|
21410
|
+
this.currency = undefined;
|
|
21411
|
+
this.initialValue = undefined;
|
|
21366
21412
|
}
|
|
21367
21413
|
get formatter() {
|
|
21368
21414
|
let result;
|
|
@@ -21559,6 +21605,12 @@ const InputDate = class {
|
|
|
21559
21605
|
constructor(hostRef) {
|
|
21560
21606
|
registerInstance(this, hostRef);
|
|
21561
21607
|
this.valueChanged = createEvent(this, "valueChanged", 7);
|
|
21608
|
+
this.name = undefined;
|
|
21609
|
+
this.value = undefined;
|
|
21610
|
+
this.open = undefined;
|
|
21611
|
+
this.max = undefined;
|
|
21612
|
+
this.min = undefined;
|
|
21613
|
+
this.disabled = undefined;
|
|
21562
21614
|
}
|
|
21563
21615
|
onStart(next) {
|
|
21564
21616
|
this.valueChanged.emit(next);
|
|
@@ -21595,6 +21647,12 @@ const InputDateRange = class {
|
|
|
21595
21647
|
registerInstance(this, hostRef);
|
|
21596
21648
|
this.valueChanged = createEvent(this, "valueChanged", 7);
|
|
21597
21649
|
this.dateRangeSelected = createEvent(this, "dateRangeSelected", 7);
|
|
21650
|
+
this.value = undefined;
|
|
21651
|
+
this.start = undefined;
|
|
21652
|
+
this.end = undefined;
|
|
21653
|
+
this.max = undefined;
|
|
21654
|
+
this.min = undefined;
|
|
21655
|
+
this.open = undefined;
|
|
21598
21656
|
this.showLabel = true;
|
|
21599
21657
|
this.labelStart = "from";
|
|
21600
21658
|
this.labelEnd = "to";
|
|
@@ -21649,6 +21707,7 @@ const MonthSelector = class {
|
|
|
21649
21707
|
constructor(hostRef) {
|
|
21650
21708
|
registerInstance(this, hostRef);
|
|
21651
21709
|
this.valueChanged = createEvent(this, "valueChanged", 7);
|
|
21710
|
+
this.value = undefined;
|
|
21652
21711
|
}
|
|
21653
21712
|
onValueChanged(next) {
|
|
21654
21713
|
this.valueChanged.emit(next);
|
|
@@ -21680,6 +21739,9 @@ const Item = class {
|
|
|
21680
21739
|
constructor(hostRef) {
|
|
21681
21740
|
registerInstance(this, hostRef);
|
|
21682
21741
|
this.itemSelected = createEvent(this, "itemSelected", 7);
|
|
21742
|
+
this.value = undefined;
|
|
21743
|
+
this.selected = undefined;
|
|
21744
|
+
this.marked = undefined;
|
|
21683
21745
|
}
|
|
21684
21746
|
onSelectedChanged(value, old) {
|
|
21685
21747
|
if (value && !old)
|
|
@@ -21719,10 +21781,13 @@ const SmoothlyMenuOptions = class {
|
|
|
21719
21781
|
this.optionElements = [];
|
|
21720
21782
|
this.filteredOptions = [];
|
|
21721
21783
|
this.highlightIndex = 0;
|
|
21784
|
+
this.keyword = undefined;
|
|
21722
21785
|
this.toggle = false;
|
|
21723
21786
|
this.emptyMenuLabel = "No Options";
|
|
21724
21787
|
this.newOptionLabel = "Add:";
|
|
21788
|
+
this.maxMenuHeight = undefined;
|
|
21725
21789
|
this.order = false;
|
|
21790
|
+
this.optionStyle = undefined;
|
|
21726
21791
|
this.options = [];
|
|
21727
21792
|
this.resetHighlightOnOptionsChange = true;
|
|
21728
21793
|
this.mutable = false;
|
|
@@ -21827,7 +21892,6 @@ const Notification = class {
|
|
|
21827
21892
|
constructor(hostRef) {
|
|
21828
21893
|
registerInstance(this, hostRef);
|
|
21829
21894
|
this.remove = createEvent(this, "remove", 7);
|
|
21830
|
-
this.tick = {};
|
|
21831
21895
|
this.listener = notice => {
|
|
21832
21896
|
console.log("changed: ", notice);
|
|
21833
21897
|
if (notice.state == "closed")
|
|
@@ -21835,6 +21899,8 @@ const Notification = class {
|
|
|
21835
21899
|
else
|
|
21836
21900
|
this.tick = {};
|
|
21837
21901
|
};
|
|
21902
|
+
this.notice = undefined;
|
|
21903
|
+
this.tick = {};
|
|
21838
21904
|
}
|
|
21839
21905
|
get color() {
|
|
21840
21906
|
let result;
|
|
@@ -21912,8 +21978,13 @@ const SmoothlyOption = class {
|
|
|
21912
21978
|
this.optionSelect = createEvent(this, "optionSelect", 7);
|
|
21913
21979
|
this.optionUnselect = createEvent(this, "optionUnselect", 7);
|
|
21914
21980
|
this.optionAdd = createEvent(this, "optionAdd", 7);
|
|
21981
|
+
this.aliases = undefined;
|
|
21915
21982
|
this.dataHighlight = false;
|
|
21983
|
+
this.name = undefined;
|
|
21984
|
+
this.value = undefined;
|
|
21916
21985
|
this.divider = false;
|
|
21986
|
+
this.checkbox = undefined;
|
|
21987
|
+
this.new = undefined;
|
|
21917
21988
|
this.toggle = false;
|
|
21918
21989
|
this.checked = false;
|
|
21919
21990
|
}
|
|
@@ -21947,13 +22018,19 @@ const SmoothlyPicker = class {
|
|
|
21947
22018
|
this.menuClose = createEvent(this, "menuClose", 7);
|
|
21948
22019
|
this.notice = createEvent(this, "notice", 7);
|
|
21949
22020
|
this.keepFocusOnReRender = false;
|
|
22021
|
+
this.isOpen = undefined;
|
|
22022
|
+
this.empty = undefined;
|
|
21950
22023
|
this.disabled = false;
|
|
21951
22024
|
this.readonly = false;
|
|
21952
22025
|
this.maxMenuHeight = "inherit";
|
|
22026
|
+
this.maxHeight = undefined;
|
|
21953
22027
|
this.emptyMenuLabel = "No Options";
|
|
21954
22028
|
this.multiple = false;
|
|
21955
22029
|
this.mutable = false;
|
|
22030
|
+
this.optionStyle = undefined;
|
|
21956
22031
|
this.options = [];
|
|
22032
|
+
this.labelSetting = undefined;
|
|
22033
|
+
this.label = undefined;
|
|
21957
22034
|
this.selections = [];
|
|
21958
22035
|
this.selectNoneName = "Select None";
|
|
21959
22036
|
this.selectAllName = "Select All";
|
|
@@ -22155,6 +22232,7 @@ const styleCss$k = ".sc-smoothly-quiet-h{opacity:0.5}";
|
|
|
22155
22232
|
const SmoothlyQuiet = class {
|
|
22156
22233
|
constructor(hostRef) {
|
|
22157
22234
|
registerInstance(this, hostRef);
|
|
22235
|
+
this.color = undefined;
|
|
22158
22236
|
}
|
|
22159
22237
|
render() {
|
|
22160
22238
|
return (h(Host, { color: this.color }, h("slot", null)));
|
|
@@ -22168,6 +22246,10 @@ const SmoothlyRadio = class {
|
|
|
22168
22246
|
constructor(hostRef) {
|
|
22169
22247
|
registerInstance(this, hostRef);
|
|
22170
22248
|
this.smoothlySelected = createEvent(this, "smoothlySelected", 7);
|
|
22249
|
+
this.name = undefined;
|
|
22250
|
+
this.value = undefined;
|
|
22251
|
+
this.checked = undefined;
|
|
22252
|
+
this.tabIndex = undefined;
|
|
22171
22253
|
}
|
|
22172
22254
|
async onInput(e) {
|
|
22173
22255
|
if (e.target && e.target.value && (this.checked = e.target.checked))
|
|
@@ -22189,6 +22271,9 @@ const SmoothlyRadioButton = class {
|
|
|
22189
22271
|
constructor(hostRef) {
|
|
22190
22272
|
registerInstance(this, hostRef);
|
|
22191
22273
|
this.radioButtonSelected = createEvent(this, "radioButtonSelected", 7);
|
|
22274
|
+
this.name = undefined;
|
|
22275
|
+
this.value = undefined;
|
|
22276
|
+
this.deselectable = undefined;
|
|
22192
22277
|
this.decoration = "radio";
|
|
22193
22278
|
}
|
|
22194
22279
|
radioSelectHandler(event) {
|
|
@@ -22215,6 +22300,9 @@ const SmoothlyRadioButtonItem = class {
|
|
|
22215
22300
|
constructor(hostRef) {
|
|
22216
22301
|
registerInstance(this, hostRef);
|
|
22217
22302
|
this.radioItemSelectInternal = createEvent(this, "radioItemSelectInternal", 7);
|
|
22303
|
+
this.value = undefined;
|
|
22304
|
+
this.selected = undefined;
|
|
22305
|
+
this.color = undefined;
|
|
22218
22306
|
}
|
|
22219
22307
|
componentWillLoad() {
|
|
22220
22308
|
this.selected && this.select(this.selected);
|
|
@@ -22235,6 +22323,10 @@ SmoothlyRadioButtonItem.style = styleCss$h;
|
|
|
22235
22323
|
const SmoothlyRoom = class {
|
|
22236
22324
|
constructor(hostRef) {
|
|
22237
22325
|
registerInstance(this, hostRef);
|
|
22326
|
+
this.label = undefined;
|
|
22327
|
+
this.icon = undefined;
|
|
22328
|
+
this.path = undefined;
|
|
22329
|
+
this.to = undefined;
|
|
22238
22330
|
}
|
|
22239
22331
|
render() {
|
|
22240
22332
|
return h("slot", null);
|
|
@@ -22247,6 +22339,9 @@ const SmoothlySelect = class {
|
|
|
22247
22339
|
constructor(hostRef) {
|
|
22248
22340
|
registerInstance(this, hostRef);
|
|
22249
22341
|
this.selectionChanged = createEvent(this, "selectionChanged", 7);
|
|
22342
|
+
this.identifier = undefined;
|
|
22343
|
+
this.background = undefined;
|
|
22344
|
+
this.value = undefined;
|
|
22250
22345
|
}
|
|
22251
22346
|
optionSelected() {
|
|
22252
22347
|
if (this.selectElement)
|
|
@@ -22361,8 +22456,10 @@ const Selector = class {
|
|
|
22361
22456
|
constructor(hostRef) {
|
|
22362
22457
|
registerInstance(this, hostRef);
|
|
22363
22458
|
this.selected = createEvent(this, "selected", 7);
|
|
22364
|
-
this.opened = false;
|
|
22365
22459
|
this.items = [];
|
|
22460
|
+
this.initialPrompt = undefined;
|
|
22461
|
+
this.opened = false;
|
|
22462
|
+
this.selectedElement = undefined;
|
|
22366
22463
|
this.missing = false;
|
|
22367
22464
|
this.filter = "";
|
|
22368
22465
|
}
|
|
@@ -22490,6 +22587,10 @@ const SmoothlySkeleton = class {
|
|
|
22490
22587
|
constructor(hostRef) {
|
|
22491
22588
|
registerInstance(this, hostRef);
|
|
22492
22589
|
this.widths = ["8rem", "9rem", "10rem"];
|
|
22590
|
+
this.width = undefined;
|
|
22591
|
+
this.color = undefined;
|
|
22592
|
+
this.period = undefined;
|
|
22593
|
+
this.distance = undefined;
|
|
22493
22594
|
this.align = "left";
|
|
22494
22595
|
}
|
|
22495
22596
|
componentWillLoad() {
|
|
@@ -22509,6 +22610,7 @@ const styleCss$c = ".sc-smoothly-spinner-h:not([active]){display:none}[hidden].s
|
|
|
22509
22610
|
const SmoothlySpinner = class {
|
|
22510
22611
|
constructor(hostRef) {
|
|
22511
22612
|
registerInstance(this, hostRef);
|
|
22613
|
+
this.active = undefined;
|
|
22512
22614
|
this.size = "large";
|
|
22513
22615
|
}
|
|
22514
22616
|
render() {
|
|
@@ -22540,7 +22642,12 @@ const SmoothlySubmit = class {
|
|
|
22540
22642
|
constructor(hostRef) {
|
|
22541
22643
|
registerInstance(this, hostRef);
|
|
22542
22644
|
this.submitEvent = createEvent(this, "submit", 7);
|
|
22645
|
+
this.processing = undefined;
|
|
22646
|
+
this.color = undefined;
|
|
22647
|
+
this.expand = undefined;
|
|
22648
|
+
this.fill = undefined;
|
|
22543
22649
|
this.disabled = false;
|
|
22650
|
+
this.prevent = undefined;
|
|
22544
22651
|
}
|
|
22545
22652
|
get form() {
|
|
22546
22653
|
return (this.button && this.button.form) || undefined;
|
|
@@ -22598,6 +22705,9 @@ const SmoothlySvg = class {
|
|
|
22598
22705
|
small: { height: "10rem", width: "10rem" },
|
|
22599
22706
|
tiny: { height: "5rem", width: "5rem" },
|
|
22600
22707
|
};
|
|
22708
|
+
this.url = undefined;
|
|
22709
|
+
this.size = undefined;
|
|
22710
|
+
this.color = undefined;
|
|
22601
22711
|
}
|
|
22602
22712
|
render() {
|
|
22603
22713
|
const height = this.size
|
|
@@ -22627,6 +22737,8 @@ const SmoothlyTab = class {
|
|
|
22627
22737
|
constructor(hostRef) {
|
|
22628
22738
|
registerInstance(this, hostRef);
|
|
22629
22739
|
this.expansionOpen = createEvent(this, "expansionOpen", 7);
|
|
22740
|
+
this.label = undefined;
|
|
22741
|
+
this.open = undefined;
|
|
22630
22742
|
}
|
|
22631
22743
|
openChanged() {
|
|
22632
22744
|
if (this.expansionElement) {
|
|
@@ -22656,6 +22768,7 @@ const styleCss$8 = ".sc-smoothly-tab-switch-h{display:flex;flex-direction:row;ju
|
|
|
22656
22768
|
const SmoothlyTabSwitch = class {
|
|
22657
22769
|
constructor(hostRef) {
|
|
22658
22770
|
registerInstance(this, hostRef);
|
|
22771
|
+
this.selectedElement = undefined;
|
|
22659
22772
|
}
|
|
22660
22773
|
openChanged(event) {
|
|
22661
22774
|
event.stopPropagation();
|
|
@@ -22762,6 +22875,7 @@ const TableExpandableCell = class {
|
|
|
22762
22875
|
this.allowSpotlight = true;
|
|
22763
22876
|
this.spotlight = true;
|
|
22764
22877
|
this.align = "left";
|
|
22878
|
+
this.open = undefined;
|
|
22765
22879
|
}
|
|
22766
22880
|
openChanged(value) {
|
|
22767
22881
|
if (this.expansionElement)
|
|
@@ -22815,6 +22929,7 @@ const TableExpandableRow = class {
|
|
|
22815
22929
|
this.allowSpotlight = true;
|
|
22816
22930
|
this.spotlight = true;
|
|
22817
22931
|
this.align = "left";
|
|
22932
|
+
this.open = undefined;
|
|
22818
22933
|
}
|
|
22819
22934
|
openChanged() {
|
|
22820
22935
|
if (this.expansionElement)
|
|
@@ -22858,6 +22973,7 @@ const styleCss$2 = ".sc-smoothly-table-header-h{display:table-cell;line-height:2
|
|
|
22858
22973
|
const TableHeader = class {
|
|
22859
22974
|
constructor(hostRef) {
|
|
22860
22975
|
registerInstance(this, hostRef);
|
|
22976
|
+
this.name = undefined;
|
|
22861
22977
|
}
|
|
22862
22978
|
render() {
|
|
22863
22979
|
return (h(Host, null, h("slot", null)));
|
|
@@ -22896,8 +23012,13 @@ const SmoothlyTrigger = class {
|
|
|
22896
23012
|
constructor(hostRef) {
|
|
22897
23013
|
registerInstance(this, hostRef);
|
|
22898
23014
|
this.trigger = createEvent(this, "trigger", 7);
|
|
23015
|
+
this.color = undefined;
|
|
23016
|
+
this.expand = undefined;
|
|
23017
|
+
this.fill = undefined;
|
|
22899
23018
|
this.disabled = false;
|
|
22900
23019
|
this.type = "button";
|
|
23020
|
+
this.name = undefined;
|
|
23021
|
+
this.value = undefined;
|
|
22901
23022
|
}
|
|
22902
23023
|
onClick(e) {
|
|
22903
23024
|
this.trigger.emit({ name: this.name, value: this.value });
|
|
@@ -22922,6 +23043,7 @@ SmoothlyTrigger.style = styleCss;
|
|
|
22922
23043
|
const SmoothlyTuple = class {
|
|
22923
23044
|
constructor(hostRef) {
|
|
22924
23045
|
registerInstance(this, hostRef);
|
|
23046
|
+
this.tuple = undefined;
|
|
22925
23047
|
}
|
|
22926
23048
|
render() {
|
|
22927
23049
|
return [h("b", null, this.tuple[0]), ": ", this.tuple[1], h("br", null)];
|
|
@@ -22931,6 +23053,7 @@ const SmoothlyTuple = class {
|
|
|
22931
23053
|
const Urlencoded = class {
|
|
22932
23054
|
constructor(hostRef) {
|
|
22933
23055
|
registerInstance(this, hostRef);
|
|
23056
|
+
this.data = undefined;
|
|
22934
23057
|
}
|
|
22935
23058
|
render() {
|
|
22936
23059
|
return this.data
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
2
|
-
import { A as Alpha2, g as getLanguage } from './getLanguage-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-d3421c35.js';
|
|
2
|
+
import { A as Alpha2, g as getLanguage } from './getLanguage-cccb8418.js';
|
|
3
3
|
|
|
4
4
|
function from$K(country) {
|
|
5
5
|
return names$J[country] || from$K(Alpha2.from(country));
|
|
@@ -11926,7 +11926,9 @@ function from(language, country) {
|
|
|
11926
11926
|
const SmoothlyCountry = class {
|
|
11927
11927
|
constructor(hostRef) {
|
|
11928
11928
|
registerInstance(this, hostRef);
|
|
11929
|
+
this.value = undefined;
|
|
11929
11930
|
this.text = "alpha2";
|
|
11931
|
+
this.language = undefined;
|
|
11930
11932
|
}
|
|
11931
11933
|
componentWillLoad() {
|
|
11932
11934
|
this.language = getLanguage(this.element);
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-d3421c35.js';
|
|
2
2
|
import { G as GoogleFont } from './GoogleFont-8474516b.js';
|
|
3
3
|
|
|
4
4
|
const SmoothlyGoogleFont = class {
|
|
5
5
|
constructor(hostRef) {
|
|
6
6
|
registerInstance(this, hostRef);
|
|
7
|
+
this.value = undefined;
|
|
7
8
|
}
|
|
8
9
|
render() {
|
|
9
10
|
return GoogleFont.is(this.value) ? h("style", null, GoogleFont.styleImportString(this.value)) : "";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-d3421c35.js';
|
|
2
2
|
|
|
3
3
|
const styleCss = "smoothly-radio-group{display:flex;position:relative;color:none !important;background:none !important;margin:0.5em 0}smoothly-radio-group[hidden]{display:none}smoothly-radio-group[orientation=vertical] *:not(:first-of-type)>input[type=radio]~label{border-top:none}smoothly-radio-group:not([orientation=vertical]) *:not(:first-of-type)>input[type=radio]~label{border-left:none}smoothly-radio-group[orientation=vertical]{flex-direction:column}smoothly-radio-group[orientation=vertical] :first-of-type>input[type=radio]~label{border-radius:4px 4px 0 0}smoothly-radio-group[orientation=vertical] :last-of-type>input[type=radio]~label{border-radius:0 0 4px 4px}smoothly-radio-group:not([orientation=vertical]){flex-direction:row}smoothly-radio-group:not([orientation=vertical]) :first-of-type>input[type=radio]~label{border-radius:4px 0 0 4px}smoothly-radio-group:not([orientation=vertical]) :last-of-type>input[type=radio]~label{border-radius:0 4px 4px 0}";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, a as getElement } from './index-d3421c35.js';
|
|
2
2
|
|
|
3
3
|
const styleCss = "smoothly-reorder>*{cursor:move;transition:transform 0.3s}smoothly-reorder>*.dragging{transition:none;box-shadow:0 0 10px rgba(var(--smoothly-dark-color));z-index:1;user-select:none}";
|
|
4
4
|
|