@3t-transform/threeteeui 0.1.43 → 0.1.45

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.
Files changed (147) hide show
  1. package/dist/cjs/_commonjsHelpers-537d719a.js +20 -0
  2. package/dist/cjs/{domsanitiser.options-975e3317.js → domsanitiser.options-b2d88e35.js} +16 -30
  3. package/dist/cjs/{index-457ca775.js → index-1a35850c.js} +62 -1
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/tttx-button.cjs.entry.js +24 -24
  6. package/dist/cjs/tttx-dialog-box.cjs.entry.js +81 -0
  7. package/dist/cjs/tttx-filter.cjs.entry.js +177 -177
  8. package/dist/cjs/tttx-form.cjs.entry.js +459 -458
  9. package/dist/cjs/tttx-icon.cjs.entry.js +11 -11
  10. package/dist/cjs/tttx-keyvalue-block.cjs.entry.js +59 -59
  11. package/dist/cjs/tttx-list.cjs.entry.js +33 -32
  12. package/dist/cjs/tttx-loading-spinner.cjs.entry.js +16 -16
  13. package/dist/cjs/tttx-qrcode.cjs.entry.js +37 -0
  14. package/dist/cjs/tttx-sorter.cjs.entry.js +102 -102
  15. package/dist/cjs/tttx-standalone-input.cjs.entry.js +79 -79
  16. package/dist/cjs/tttx-toolbar.cjs.entry.js +10 -10
  17. package/dist/cjs/tttx.cjs.js +2 -2
  18. package/dist/collection/collection-manifest.json +2 -0
  19. package/dist/collection/components/atoms/tttx-button/tttx-button.js +110 -110
  20. package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +14 -14
  21. package/dist/collection/components/atoms/tttx-icon/tttx-icon.js +62 -62
  22. package/dist/collection/components/atoms/tttx-icon/tttx-icon.stories.js +22 -22
  23. package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.js +109 -109
  24. package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.js +38 -38
  25. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.js +67 -67
  26. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.js +17 -17
  27. package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.css +0 -0
  28. package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.js +74 -0
  29. package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.stories.js +22 -0
  30. package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.css +146 -0
  31. package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.js +172 -0
  32. package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.stories.js +380 -0
  33. package/dist/collection/components/molecules/tttx-filter/tttx-filter.js +369 -369
  34. package/dist/collection/components/molecules/tttx-filter/tttx-filter.stories.js +72 -72
  35. package/dist/collection/components/molecules/tttx-form/lib/setErrorState.js +37 -37
  36. package/dist/collection/components/molecules/tttx-form/lib/validityCheck.js +61 -61
  37. package/dist/collection/components/molecules/tttx-form/tttx-form.js +479 -479
  38. package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +272 -272
  39. package/dist/collection/components/molecules/tttx-list/tttx-list.js +105 -105
  40. package/dist/collection/components/molecules/tttx-list/tttx-list.stories.js +43 -43
  41. package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.js +224 -224
  42. package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.stories.js +42 -42
  43. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.js +759 -759
  44. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.js +172 -172
  45. package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.js +44 -44
  46. package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.stories.js +14 -14
  47. package/dist/collection/components/palette.stories.js +7 -7
  48. package/dist/collection/docs/gettingstarted-developer.stories.js +5 -5
  49. package/dist/collection/icons.js +2838 -2838
  50. package/dist/collection/index.js +1 -1
  51. package/dist/collection/shared/domsanitiser.options.js +14 -14
  52. package/dist/components/_commonjsHelpers.js +17 -0
  53. package/dist/components/domsanitiser.options.js +13 -27
  54. package/dist/components/index.d.ts +2 -0
  55. package/dist/components/index.js +2 -0
  56. package/dist/components/tttx-button.js +1 -54
  57. package/dist/components/tttx-button2.js +56 -0
  58. package/dist/components/tttx-dialog-box.d.ts +11 -0
  59. package/dist/components/tttx-dialog-box.js +110 -0
  60. package/dist/components/tttx-filter.js +210 -210
  61. package/dist/components/tttx-form.js +475 -475
  62. package/dist/components/tttx-icon2.js +28 -28
  63. package/dist/components/tttx-keyvalue-block.js +76 -76
  64. package/dist/components/tttx-list.js +53 -53
  65. package/dist/components/tttx-loading-spinner.js +33 -33
  66. package/dist/components/tttx-qrcode.d.ts +11 -0
  67. package/dist/components/tttx-qrcode.js +53 -0
  68. package/dist/components/tttx-sorter.js +130 -130
  69. package/dist/components/tttx-standalone-input.js +130 -130
  70. package/dist/components/tttx-toolbar.js +26 -26
  71. package/dist/esm/_commonjsHelpers-9943807e.js +17 -0
  72. package/dist/esm/{domsanitiser.options-3c7ded83.js → domsanitiser.options-81611f82.js} +13 -27
  73. package/dist/esm/{index-d784fb3e.js → index-a848bfb4.js} +62 -1
  74. package/dist/esm/loader.js +3 -3
  75. package/dist/esm/polyfills/core-js.js +0 -0
  76. package/dist/esm/polyfills/dom.js +0 -0
  77. package/dist/esm/polyfills/es5-html-element.js +0 -0
  78. package/dist/esm/polyfills/index.js +0 -0
  79. package/dist/esm/polyfills/system.js +0 -0
  80. package/dist/esm/tttx-button.entry.js +24 -24
  81. package/dist/esm/tttx-dialog-box.entry.js +77 -0
  82. package/dist/esm/tttx-filter.entry.js +177 -177
  83. package/dist/esm/tttx-form.entry.js +459 -458
  84. package/dist/esm/tttx-icon.entry.js +11 -11
  85. package/dist/esm/tttx-keyvalue-block.entry.js +59 -59
  86. package/dist/esm/tttx-list.entry.js +33 -32
  87. package/dist/esm/tttx-loading-spinner.entry.js +16 -16
  88. package/dist/esm/tttx-qrcode.entry.js +33 -0
  89. package/dist/esm/tttx-sorter.entry.js +102 -102
  90. package/dist/esm/tttx-standalone-input.entry.js +79 -79
  91. package/dist/esm/tttx-toolbar.entry.js +10 -10
  92. package/dist/esm/tttx.js +3 -3
  93. package/dist/tttx/p-0b25ac9c.js +3 -0
  94. package/dist/tttx/p-112455b1.js +1 -0
  95. package/dist/tttx/{p-b720c4ad.entry.js → p-120a0732.entry.js} +1 -1
  96. package/dist/tttx/p-2d130f82.entry.js +1 -0
  97. package/dist/tttx/{p-aaf02902.entry.js → p-42349ae5.entry.js} +1 -1
  98. package/dist/tttx/{p-92cade7f.entry.js → p-623b9147.entry.js} +1 -1
  99. package/dist/tttx/{p-cac26a1b.entry.js → p-7428fc97.entry.js} +1 -1
  100. package/dist/tttx/{p-ab6ce9f6.entry.js → p-77fb8e0f.entry.js} +1 -1
  101. package/dist/tttx/p-83563ce9.entry.js +1 -0
  102. package/dist/tttx/p-a092cd71.entry.js +1 -0
  103. package/dist/tttx/p-ab4652a8.js +2 -0
  104. package/dist/tttx/p-af7ff3b3.entry.js +1 -0
  105. package/dist/tttx/{p-563605b2.entry.js → p-d0ca435d.entry.js} +1 -1
  106. package/dist/tttx/{p-798a098a.entry.js → p-d2b0ec0a.entry.js} +1 -1
  107. package/dist/tttx/{p-ec253eea.entry.js → p-e1efb888.entry.js} +1 -1
  108. package/dist/tttx/tttx.esm.js +1 -1
  109. package/dist/types/components/atoms/tttx-button/tttx-button.d.ts +10 -10
  110. package/dist/types/components/atoms/tttx-button/tttx-button.stories.d.ts +10 -10
  111. package/dist/types/components/atoms/tttx-icon/tttx-icon.d.ts +5 -5
  112. package/dist/types/components/atoms/tttx-icon/tttx-icon.stories.d.ts +20 -20
  113. package/dist/types/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.d.ts +7 -7
  114. package/dist/types/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.d.ts +9 -9
  115. package/dist/types/components/atoms/tttx-loading-spinner/tttx-loading-spinner.d.ts +6 -6
  116. package/dist/types/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.d.ts +17 -17
  117. package/dist/types/components/atoms/tttx-qrcode/tttx-qrcode.d.ts +6 -0
  118. package/dist/types/components/atoms/tttx-qrcode/tttx-qrcode.stories.d.ts +23 -0
  119. package/dist/types/components/molecules/tttx-dialog-box/interfaces.d.ts +25 -0
  120. package/dist/types/components/molecules/tttx-dialog-box/tttx-dialog-box.d.ts +18 -0
  121. package/dist/types/components/molecules/tttx-dialog-box/tttx-dialog-box.stories.d.ts +23 -0
  122. package/dist/types/components/molecules/tttx-filter/tttx-filter.d.ts +41 -41
  123. package/dist/types/components/molecules/tttx-form/lib/setErrorState.d.ts +13 -13
  124. package/dist/types/components/molecules/tttx-form/lib/validityCheck.d.ts +17 -17
  125. package/dist/types/components/molecules/tttx-form/tttx-form.d.ts +133 -133
  126. package/dist/types/components/molecules/tttx-list/tttx-list.d.ts +11 -11
  127. package/dist/types/components/molecules/tttx-sorter/tttx-sorter.d.ts +19 -19
  128. package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.d.ts +69 -69
  129. package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.d.ts +143 -143
  130. package/dist/types/components/molecules/tttx-toolbar/tttx-toolbar.d.ts +4 -4
  131. package/dist/types/components/molecules/tttx-toolbar/tttx-toolbar.stories.d.ts +13 -13
  132. package/dist/types/components/palette.stories.d.ts +6 -6
  133. package/dist/types/components.d.ts +41 -0
  134. package/dist/types/docs/gettingstarted-developer.stories.d.ts +5 -5
  135. package/dist/types/icons.d.ts +2 -2
  136. package/dist/types/index.d.ts +1 -1
  137. package/dist/types/shared/domsanitiser.options.d.ts +10 -10
  138. package/package.json +7 -5
  139. package/readme.md +19 -7
  140. package/dist/tttx/p-0ebffdfc.js +0 -2
  141. package/dist/tttx/p-1db3704e.entry.js +0 -1
  142. package/dist/tttx/p-350ddb03.js +0 -3
  143. package/dist/tttx/p-f702df4f.entry.js +0 -1
  144. package/dist/types/components/molecules/tttx-filter/tttx-filter.stories.d.ts +0 -70
  145. package/dist/types/components/molecules/tttx-form/tttx-form.stories.d.ts +0 -278
  146. package/dist/types/components/molecules/tttx-list/tttx-list.stories.d.ts +0 -14
  147. package/dist/types/components/molecules/tttx-sorter/tttx-sorter.stories.d.ts +0 -30
@@ -1,3 +0,0 @@
1
- "undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var e,t,n=(e=function(e){
2
- /*! @license DOMPurify 3.0.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.3/LICENSE */
3
- e.exports=function(){const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescriptor:i}=Object;let{freeze:r,seal:a,create:l}=Object,{apply:s,construct:c}="undefined"!=typeof Reflect&&Reflect;s||(s=function(e,t,n){return e.apply(t,n)}),r||(r=function(e){return e}),a||(a=function(e){return e}),c||(c=function(e,t){return new e(...t)});const u=T(Array.prototype.forEach),f=T(Array.prototype.pop),p=T(Array.prototype.push),m=T(String.prototype.toLowerCase),d=T(String.prototype.toString),g=T(String.prototype.match),h=T(String.prototype.replace),y=T(String.prototype.indexOf),b=T(String.prototype.trim),w=T(RegExp.prototype.test),x=(v=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return c(v,t)});var v;function T(e){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return s(e,t,o)}}function k(e,o,i){var r;i=null!==(r=i)&&void 0!==r?r:m,t&&t(e,null);let a=o.length;for(;a--;){let t=o[a];if("string"==typeof t){const e=i(t);e!==t&&(n(o)||(o[a]=e),t=e)}e[t]=!0}return e}function A(t){const n=l(null);for(const[o,i]of e(t))n[o]=i;return n}function E(e,t){for(;null!==e;){const n=i(e,t);if(n){if(n.get)return T(n.get);if("function"==typeof n.value)return T(n.value)}e=o(e)}return function(e){return console.warn("fallback value for",e),null}}const S=r(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),R=r(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),_=r(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),D=r(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),L=r(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),z=r(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),O=r(["#text"]),I=r(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),M=r(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),N=r(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),F=r(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),P=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),C=a(/<%[\w\W]*|[\w\W]*%>/gm),j=a(/\${[\w\W]*}/gm),B=a(/^data-[\-\w.\u00B7-\uFFFF]/),U=a(/^aria-[\-\w]+$/),W=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),H=a(/^(?:\w+script|data):/i),q=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Y=a(/^html$/i);var G=Object.freeze({__proto__:null,MUSTACHE_EXPR:P,ERB_EXPR:C,TMPLIT_EXPR:j,DATA_ATTR:B,ARIA_ATTR:U,IS_ALLOWED_URI:W,IS_SCRIPT_OR_DATA:H,ATTR_WHITESPACE:q,DOCTYPE_NAME:Y});const X=()=>"undefined"==typeof window?null:window,$=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}};var V=function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:X();const o=e=>t(e);if(o.version="3.0.3",o.removed=[],!n||!n.document||9!==n.document.nodeType)return o.isSupported=!1,o;const i=n.document,a=i.currentScript;let{document:l}=n;const{DocumentFragment:s,HTMLTemplateElement:c,Node:v,Element:T,NodeFilter:P,NamedNodeMap:C=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:j,DOMParser:B,trustedTypes:U}=n,H=T.prototype,q=E(H,"cloneNode"),V=E(H,"nextSibling"),J=E(H,"childNodes"),K=E(H,"parentNode");if("function"==typeof c){const e=l.createElement("template");e.content&&e.content.ownerDocument&&(l=e.content.ownerDocument)}let Q,Z="";const{implementation:ee,createNodeIterator:te,createDocumentFragment:ne,getElementsByTagName:oe}=l,{importNode:ie}=i;let re={};o.isSupported="function"==typeof e&&"function"==typeof K&&ee&&void 0!==ee.createHTMLDocument;const{MUSTACHE_EXPR:ae,ERB_EXPR:le,TMPLIT_EXPR:se,DATA_ATTR:ce,ARIA_ATTR:ue,IS_SCRIPT_OR_DATA:fe,ATTR_WHITESPACE:pe}=G;let{IS_ALLOWED_URI:me}=G,de=null;const ge=k({},[...S,...R,..._,...L,...O]);let he=null;const ye=k({},[...I,...M,...N,...F]);let be=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),we=null,xe=null,ve=!0,Te=!0,ke=!1,Ae=!0,Ee=!1,Se=!1,Re=!1,_e=!1,De=!1,Le=!1,ze=!1,Oe=!0,Ie=!1;const Me="user-content-";let Ne=!0,Fe=!1,Pe={},Ce=null;const je=k({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Be=null;const Ue=k({},["audio","video","img","source","image","track"]);let We=null;const He=k({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),qe="http://www.w3.org/1998/Math/MathML",Ye="http://www.w3.org/2000/svg",Ge="http://www.w3.org/1999/xhtml";let Xe=Ge,$e=!1,Ve=null;const Je=k({},[qe,Ye,Ge],d);let Ke;const Qe=["application/xhtml+xml","text/html"],Ze="text/html";let et,tt=null;const nt=l.createElement("form"),ot=function(e){return e instanceof RegExp||e instanceof Function},it=function(e){if(!tt||tt!==e){if(e&&"object"==typeof e||(e={}),e=A(e),Ke=Ke=-1===Qe.indexOf(e.PARSER_MEDIA_TYPE)?Ze:e.PARSER_MEDIA_TYPE,et="application/xhtml+xml"===Ke?d:m,de="ALLOWED_TAGS"in e?k({},e.ALLOWED_TAGS,et):ge,he="ALLOWED_ATTR"in e?k({},e.ALLOWED_ATTR,et):ye,Ve="ALLOWED_NAMESPACES"in e?k({},e.ALLOWED_NAMESPACES,d):Je,We="ADD_URI_SAFE_ATTR"in e?k(A(He),e.ADD_URI_SAFE_ATTR,et):He,Be="ADD_DATA_URI_TAGS"in e?k(A(Ue),e.ADD_DATA_URI_TAGS,et):Ue,Ce="FORBID_CONTENTS"in e?k({},e.FORBID_CONTENTS,et):je,we="FORBID_TAGS"in e?k({},e.FORBID_TAGS,et):{},xe="FORBID_ATTR"in e?k({},e.FORBID_ATTR,et):{},Pe="USE_PROFILES"in e&&e.USE_PROFILES,ve=!1!==e.ALLOW_ARIA_ATTR,Te=!1!==e.ALLOW_DATA_ATTR,ke=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ae=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Ee=e.SAFE_FOR_TEMPLATES||!1,Se=e.WHOLE_DOCUMENT||!1,De=e.RETURN_DOM||!1,Le=e.RETURN_DOM_FRAGMENT||!1,ze=e.RETURN_TRUSTED_TYPE||!1,_e=e.FORCE_BODY||!1,Oe=!1!==e.SANITIZE_DOM,Ie=e.SANITIZE_NAMED_PROPS||!1,Ne=!1!==e.KEEP_CONTENT,Fe=e.IN_PLACE||!1,me=e.ALLOWED_URI_REGEXP||W,Xe=e.NAMESPACE||Ge,be=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ot(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(be.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ot(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(be.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(be.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ee&&(Te=!1),Le&&(De=!0),Pe&&(de=k({},[...O]),he=[],!0===Pe.html&&(k(de,S),k(he,I)),!0===Pe.svg&&(k(de,R),k(he,M),k(he,F)),!0===Pe.svgFilters&&(k(de,_),k(he,M),k(he,F)),!0===Pe.mathMl&&(k(de,L),k(he,N),k(he,F))),e.ADD_TAGS&&(de===ge&&(de=A(de)),k(de,e.ADD_TAGS,et)),e.ADD_ATTR&&(he===ye&&(he=A(he)),k(he,e.ADD_ATTR,et)),e.ADD_URI_SAFE_ATTR&&k(We,e.ADD_URI_SAFE_ATTR,et),e.FORBID_CONTENTS&&(Ce===je&&(Ce=A(Ce)),k(Ce,e.FORBID_CONTENTS,et)),Ne&&(de["#text"]=!0),Se&&k(de,["html","head","body"]),de.table&&(k(de,["tbody"]),delete we.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw x('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw x('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');Q=e.TRUSTED_TYPES_POLICY,Z=Q.createHTML("")}else void 0===Q&&(Q=$(U,a)),null!==Q&&"string"==typeof Z&&(Z=Q.createHTML(""));r&&r(e),tt=e}},rt=k({},["mi","mo","mn","ms","mtext"]),at=k({},["foreignobject","desc","title","annotation-xml"]),lt=k({},["title","style","font","a","script"]),st=k({},R);k(st,_),k(st,D);const ct=k({},L);k(ct,z);const ut=function(e){let t=K(e);t&&t.tagName||(t={namespaceURI:Xe,tagName:"template"});const n=m(e.tagName),o=m(t.tagName);return!!Ve[e.namespaceURI]&&(e.namespaceURI===Ye?t.namespaceURI===Ge?"svg"===n:t.namespaceURI===qe?"svg"===n&&("annotation-xml"===o||rt[o]):Boolean(st[n]):e.namespaceURI===qe?t.namespaceURI===Ge?"math"===n:t.namespaceURI===Ye?"math"===n&&at[o]:Boolean(ct[n]):e.namespaceURI===Ge?!(t.namespaceURI===Ye&&!at[o])&&!(t.namespaceURI===qe&&!rt[o])&&!ct[n]&&(lt[n]||!st[n]):!("application/xhtml+xml"!==Ke||!Ve[e.namespaceURI]))},ft=function(e){p(o.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.remove()}},pt=function(e,t){try{p(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!he[e])if(De||Le)try{ft(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},mt=function(e){let t,n;if(_e)e="<remove></remove>"+e;else{const t=g(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Ke&&Xe===Ge&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=Q?Q.createHTML(e):e;if(Xe===Ge)try{t=(new B).parseFromString(o,Ke)}catch(e){}if(!t||!t.documentElement){t=ee.createDocument(Xe,"template",null);try{t.documentElement.innerHTML=$e?Z:o}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(l.createTextNode(n),i.childNodes[0]||null),Xe===Ge?oe.call(t,Se?"html":"body")[0]:Se?t.documentElement:i},dt=function(e){return te.call(e.ownerDocument||e,e,P.SHOW_ELEMENT|P.SHOW_COMMENT|P.SHOW_TEXT,null,!1)},gt=function(e){return e instanceof j&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof C)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},ht=function(e){return"object"==typeof v?e instanceof v:e&&"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},yt=function(e,t,n){re[e]&&u(re[e],(e=>{e.call(o,t,n,tt)}))},bt=function(e){let t;if(yt("beforeSanitizeElements",e,null),gt(e))return ft(e),!0;const n=et(e.nodeName);if(yt("uponSanitizeElement",e,{tagName:n,allowedTags:de}),e.hasChildNodes()&&!ht(e.firstElementChild)&&(!ht(e.content)||!ht(e.content.firstElementChild))&&w(/<[/\w]/g,e.innerHTML)&&w(/<[/\w]/g,e.textContent))return ft(e),!0;if(!de[n]||we[n]){if(!we[n]&&xt(n)){if(be.tagNameCheck instanceof RegExp&&w(be.tagNameCheck,n))return!1;if(be.tagNameCheck instanceof Function&&be.tagNameCheck(n))return!1}if(Ne&&!Ce[n]){const t=K(e)||e.parentNode,n=J(e)||e.childNodes;if(n&&t)for(let o=n.length-1;o>=0;--o)t.insertBefore(q(n[o],!0),V(e))}return ft(e),!0}return e instanceof T&&!ut(e)?(ft(e),!0):"noscript"!==n&&"noembed"!==n||!w(/<\/no(script|embed)/i,e.innerHTML)?(Ee&&3===e.nodeType&&(t=e.textContent,t=h(t,ae," "),t=h(t,le," "),t=h(t,se," "),e.textContent!==t&&(p(o.removed,{element:e.cloneNode()}),e.textContent=t)),yt("afterSanitizeElements",e,null),!1):(ft(e),!0)},wt=function(e,t,n){if(Oe&&("id"===t||"name"===t)&&(n in l||n in nt))return!1;if(Te&&!xe[t]&&w(ce,t));else if(ve&&w(ue,t));else if(!he[t]||xe[t]){if(!(xt(e)&&(be.tagNameCheck instanceof RegExp&&w(be.tagNameCheck,e)||be.tagNameCheck instanceof Function&&be.tagNameCheck(e))&&(be.attributeNameCheck instanceof RegExp&&w(be.attributeNameCheck,t)||be.attributeNameCheck instanceof Function&&be.attributeNameCheck(t))||"is"===t&&be.allowCustomizedBuiltInElements&&(be.tagNameCheck instanceof RegExp&&w(be.tagNameCheck,n)||be.tagNameCheck instanceof Function&&be.tagNameCheck(n))))return!1}else if(We[t]);else if(w(me,h(n,pe,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==y(n,"data:")||!Be[e])if(ke&&!w(fe,h(n,pe,"")));else if(n)return!1;return!0},xt=function(e){return e.indexOf("-")>0},vt=function(e){let t,n,i,r;yt("beforeSanitizeAttributes",e,null);const{attributes:a}=e;if(!a)return;const l={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:he};for(r=a.length;r--;){t=a[r];const{name:s,namespaceURI:c}=t;if(n="value"===s?t.value:b(t.value),i=et(s),l.attrName=i,l.attrValue=n,l.keepAttr=!0,l.forceKeepAttr=void 0,yt("uponSanitizeAttribute",e,l),n=l.attrValue,l.forceKeepAttr)continue;if(pt(s,e),!l.keepAttr)continue;if(!Ae&&w(/\/>/i,n)){pt(s,e);continue}Ee&&(n=h(n,ae," "),n=h(n,le," "),n=h(n,se," "));const u=et(e.nodeName);if(wt(u,i,n)){if(!Ie||"id"!==i&&"name"!==i||(pt(s,e),n=Me+n),Q&&"object"==typeof U&&"function"==typeof U.getAttributeType)if(c);else switch(U.getAttributeType(u,i)){case"TrustedHTML":n=Q.createHTML(n);break;case"TrustedScriptURL":n=Q.createScriptURL(n)}try{c?e.setAttributeNS(c,s,n):e.setAttribute(s,n),f(o.removed)}catch(e){}}}yt("afterSanitizeAttributes",e,null)},Tt=function e(t){let n;const o=dt(t);for(yt("beforeSanitizeShadowDOM",t,null);n=o.nextNode();)yt("uponSanitizeShadowNode",n,null),bt(n)||(n.content instanceof s&&e(n.content),vt(n));yt("afterSanitizeShadowDOM",t,null)};return o.sanitize=function(e){let t,n,r,a,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if($e=!e,$e&&(e="\x3c!--\x3e"),"string"!=typeof e&&!ht(e)){if("function"!=typeof e.toString)throw x("toString is not a function");if("string"!=typeof(e=e.toString()))throw x("dirty is not a string, aborting")}if(!o.isSupported)return e;if(Re||it(l),o.removed=[],"string"==typeof e&&(Fe=!1),Fe){if(e.nodeName){const t=et(e.nodeName);if(!de[t]||we[t])throw x("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof v)t=mt("\x3c!----\x3e"),n=t.ownerDocument.importNode(e,!0),1===n.nodeType&&"BODY"===n.nodeName||"HTML"===n.nodeName?t=n:t.appendChild(n);else{if(!De&&!Ee&&!Se&&-1===e.indexOf("<"))return Q&&ze?Q.createHTML(e):e;if(t=mt(e),!t)return De?null:ze?Z:""}t&&_e&&ft(t.firstChild);const c=dt(Fe?e:t);for(;r=c.nextNode();)bt(r)||(r.content instanceof s&&Tt(r.content),vt(r));if(Fe)return e;if(De){if(Le)for(a=ne.call(t.ownerDocument);t.firstChild;)a.appendChild(t.firstChild);else a=t;return(he.shadowroot||he.shadowrootmod)&&(a=ie.call(i,a,!0)),a}let u=Se?t.outerHTML:t.innerHTML;return Se&&de["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&w(Y,t.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+t.ownerDocument.doctype.name+">\n"+u),Ee&&(u=h(u,ae," "),u=h(u,le," "),u=h(u,se," ")),Q&&ze?Q.createHTML(u):u},o.setConfig=function(e){it(e),Re=!0},o.clearConfig=function(){tt=null,Re=!1},o.isValidAttribute=function(e,t,n){tt||it({});const o=et(e),i=et(t);return wt(o,i,n)},o.addHook=function(e,t){"function"==typeof t&&(re[e]=re[e]||[],p(re[e],t))},o.removeHook=function(e){if(re[e])return f(re[e])},o.removeHooks=function(e){re[e]&&(re[e]=[])},o.removeAllHooks=function(){re={}},o}();return V}()},e(t={path:undefined,exports:{},require:function(){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}}),t.exports);const o={CUSTOM_ELEMENT_HANDLING:{tagNameCheck:function(e){return RegExp(/^tttx-/).exec(e)},attributeNameCheck:function(){return!0},allowCustomizedBuiltInElements:!1}};export{o as d,n as p}
@@ -1 +0,0 @@
1
- import{r as e,c as i,h as t,H as o}from"./p-0ebffdfc.js";import{p as n,d as r}from"./p-350ddb03.js";function a(e,i,t){const o=e.parentElement.querySelector(".errorBubble");if(i){e.classList.add("invalid"),o.classList.add("visible");const i=document.createElement("span");i.className="material-symbols-rounded",i.textContent="warning",o.innerHTML="",o.append(i),o.append(t)}else o.classList.remove("visible"),e.classList.remove("invalid"),o.innerHTML=""}const l=class{constructor(t){e(this,t),this.dataSubmitted=i(this,"dataSubmitted",7),this.dataChanged=i(this,"dataChanged",7),this.template=document.createElement("template"),this.formschema=void 0,this.data=void 0}onFormSchemaChange(e){if(!this.data&&this.form&&this._formSchema){const e=new FormData(this.form);this._data=Object.fromEntries(Object.keys(this._formSchema.properties).map((i=>[i,e.get(i)])))}this._formSchema="string"==typeof e?JSON.parse(e):e}onDataChange(e){this._data="string"==typeof e?JSON.parse(e):e}fieldChanged(e){this.dataChanged.emit({name:e.target.name,value:e.target.value})}async submit(){this.submitButton.click()}doSubmit(e){e.preventDefault();const i=new FormData(e.target);this.dataSubmitted.emit(i)}componentWillLoad(){this.onFormSchemaChange(this.formschema),this.data&&this.onDataChange(this.data)}componentWillRender(){this.template=document.createElement("template"),this.populateFormFromSchema()}createSelect(e,i){const t=document.createElement("select");return t.setAttribute("name",e),i.options.forEach((e=>{this.appendOption(t,e)})),this._data&&this._data[e]&&t.classList.remove("placeholder"),t}appendOption(e,i){const t=document.createElement("option");t.setAttribute("value",i.value),i.placeholder&&(t.setAttribute("disabled",""),t.setAttribute("selected",""),t.setAttribute("hidden",""),e.classList.add("placeholder")),i.label&&(t.innerHTML=n.sanitize(i.label,r)),e.appendChild(t)}createInput(e,i){var t;const o=document.createElement("input");return o.name=e,o.type=i.type,o.placeholder=null!==(t=i.placeholder)&&void 0!==t?t:"",o.autocomplete="off",o.autocapitalize="off",i.readonly&&(o.readOnly=!0),o}applyValidation(e,i){var t,o;i.required&&(e.setAttribute("required",""),e.setAttribute("data-required",null!==(t=i.required.message)&&void 0!==t?t:"")),i.pattern&&(e.setAttribute("pattern",i.pattern.pattern),e.setAttribute("data-pattern",null!==(o=i.pattern.message)&&void 0!==o?o:"")),i.badInput&&e.setAttribute("data-badinput",i.badInput.message),i.minmax&&(e.setAttribute("min",i.minmax.min),e.setAttribute("max",i.minmax.max),e.setAttribute("data-range",i.minmax.message)),i.maxlength&&e.setAttribute("maxlength",i.maxlength)}createErrorBubble(){const e=document.createElement("div");return e.className="errorBubble",e}appendCheckboxInput(e,i,t){if(e.label){const e=document.createElement("br");t.appendChild(e)}if(t.appendChild(i),!e.inlineLabel)return;const o=document.createElement("span");o.className="inlineLabel",o.textContent=e.inlineLabel,t.appendChild(o)}createLabel(e,i,t){const o=document.createElement("label");if(o.className="inputBlock",o.innerText=e.label,!e.validation){const e=document.createElement("span");e.className="optional",e.innerHTML="&nbsp;(optional)",o.appendChild(e)}return e.readonly&&o.classList.add("readonly"),"checkbox"===e.type?(o.className+=" inlineBlock",this.appendCheckboxInput(e,i,o)):o.appendChild(i),o.appendChild(t),o}populateFormFromSchema(){if(!this._formSchema)return;const e=this._formSchema.properties;Object.keys(e).forEach((i=>{const t=e[i].form,o="select"===t.type?this.createSelect(i,t):this.createInput(i,t);t.validation&&this.applyValidation(o,t.validation);const n=this.createErrorBubble(),r=this.createLabel(t,o,n);this.template.content.append(r)}))}componentDidRender(){if(!this._formSchema)return;const e=this.template.content.cloneNode(!0),i=this._formSchema.properties;Object.keys(i).forEach((t=>{var o;const n=e.querySelector(`[name=${t}]`);if(n.oninvalid=this.validityCheckWrapper.bind(this),n.onblur=this.validityCheckWrapper.bind(this),n.onkeyup=this.fieldChanged.bind(this),n.onchange=this.fieldChanged.bind(this),this._data&&null!=this._data[t]&&(n.value=this._data[t]),null===(o=i[t].form.validation)||void 0===o?void 0:o.invalid){const e=i[t].form.validation.invalid.message;n.setCustomValidity(e),a(n,!0,e)}"select"===i[t].form.type&&n.classList.contains("placeholder")&&n.addEventListener("change",(()=>{n.classList.remove("placeholder")}))})),this.fieldset.replaceChildren(e)}validityCheckWrapper(e){const{target:i,hasError:t,errorMessage:o}=function(e){var i,t,o,n;e.preventDefault();const r=e.target;let a=!0,l="";switch(!0){case r.validity.valueMissing:l=null!==(i=r.dataset.required)&&void 0!==i?i:"This field is required";break;case r.validity.patternMismatch:l=null!==(t=r.dataset.pattern)&&void 0!==t?t:"Incorrect format";break;case r.validity.badInput:l=null!==(o=r.dataset.badinput)&&void 0!==o?o:"Wrong input type";break;case r.validity.rangeOverflow||r.validity.rangeUnderflow:l=null!==(n=r.dataset.range)&&void 0!==n?n:"Invalid value";break;case r.validity.customError:l=r.validationMessage;break;default:a=!1}return{target:r,hasError:a,errorMessage:l}}(e);a(i,t,o)}render(){return t(o,null,t("form",{ref:e=>this.form=e,onSubmit:this.doSubmit.bind(this)},t("fieldset",{ref:e=>this.fieldset=e}),t("input",{type:"submit",ref:e=>this.submitButton=e,style:{display:"none"}})))}static get watchers(){return{formschema:["onFormSchemaChange"],data:["onDataChange"]}}};l.style='.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}.material-symbols-rounded{font-family:"Material Symbols Rounded", sans-serif;font-weight:normal;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;color:#9e9e9e}.icon-left,.icon-right{flex-basis:24px}.icon-left span,.icon-right span{font-size:24px;line-height:24px;text-align:center;display:block;width:24px;height:24px;margin-top:4px}.icon-left span{margin-left:4px}.icon-right span{margin-right:4px}.icon-right{margin-top:5px}.icon-left{margin-top:5px;margin-left:4px}.iconleft .input{padding-left:4px}.iconright .input{padding-right:4px}.input-icon{position:absolute;margin-top:9px;margin-left:4px}.errormsg{display:flex;justify-content:center;align-items:center;float:left;margin-bottom:16px;box-sizing:border-box;background-color:transparent;height:26px;font-size:14px;line-height:16px;border-radius:none;z-index:2;color:#dc0000}.errormsg .validationicon{width:16px;height:16px;font-size:16px;line-height:19px;margin-right:4px;vertical-align:middle;color:#dc0000}.danger{color:#dc0000}.optional{color:#757575;font-weight:normal}label.inputBlock{display:block;position:relative;line-height:21px}label.inputInline{display:flex;white-space:nowrap;align-items:center}label.inputInline .input-container{margin:0 4px;width:100%;display:flex;align-items:center;gap:4px;position:relative}label{font-weight:500;font-size:16px;line-height:19px;margin-bottom:16px}input:not([type=submit]){font-family:"Roboto", serif;box-sizing:border-box;width:100%;height:36px;padding:0 16px;font-size:16px;line-height:19px;border:1px solid #d5d5d5;border-radius:4px;margin-top:4px}input[type=date]{background:white;display:block;min-width:calc(100% - 18px);line-height:37px}@media (max-width: 600px){input[type=date]{padding-top:6px}}input.invalid:invalid,input.standalone.invalid{border:1px solid #dc0000}.input-icon~input{padding:0 32px}input~.errorBubble{position:relative;font-size:14px;line-height:16px;font-weight:normal;width:100%;font-family:"Roboto", sans-serif;color:#dc0000;display:flex;align-content:center;align-items:center;justify-items:center;margin-top:4px}input~.errorBubble:not(.visible){display:none}input~.errorBubble span{color:#dc0000;font-size:16px;margin-right:4px}input.invalid:invalid~.errorBubble{position:relative;font-size:14px;font-weight:normal;width:100%;font-family:"Roboto", sans-serif;color:#dc0000}input:focus{border-color:#1479c6}input:focus-visible{outline:none}.secondarylabel{color:#757575;font-size:14px;line-height:16px;font-weight:normal;display:flex;margin-top:4px}label.inputBlock.readonly{pointer-events:none;user-select:none;color:gray}input[readonly]{cursor:default;pointer-events:none;user-select:none;color:gray}button{cursor:pointer}.button{font-family:Roboto, serif;box-sizing:border-box;height:36px;min-width:36px;padding:0;margin:0;background:transparent;color:#212121;border:1px solid #c8c8c8;border-radius:4px;text-transform:uppercase;display:flex;justify-content:left;align-items:center;font-size:14px;font-weight:400}.button-content{display:block;padding:0 16px}.icon-left,.icon-right{margin-top:4px}.iconleft{padding-left:8px}.iconleft .button-content{padding-left:4px}.iconright{padding-right:8px}.iconright .button-content{padding-right:4px}.notext{padding:0 6px}.button:hover{background:rgba(17, 17, 17, 0.1);border:1px solid #D5D5D5}.button:active{background:rgba(17, 17, 17, 0.2);border:1px solid #D5D5D5}.primary{background:#1479c6;border:1px solid #1479c6;color:white}.primary:hover{background:#146EB3;border:1px solid #146EB3}.primary:active{background:#1464A2;border:1px solid #1464A2}.borderless{background:transparent;border:none;color:#212121}.borderless:hover{background:rgba(17, 17, 17, 0.1);border:none}.borderless:active{background:rgba(17, 17, 17, 0.2);border:none}.danger{background:#DC0000;border:1px solid #DC0000;color:white}.danger:hover{background:#C60000;border:1px solid #C60000}.danger:active{background:#B00000;border:1px solid #B00000}.disabled{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}.disabled:hover{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}.disabled:active{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}:host{display:block}fieldset{margin:0;padding:0;border:none}label.inputBlock.inlineBlock{display:inline-block}.inlineLabel{font-weight:400;display:inline-block;vertical-align:top;padding-top:4px}input[type=checkbox]{width:18px;height:18px}input~label{font-weight:400}select{font-family:"Roboto", serif;box-sizing:border-box;width:100%;height:36px;padding:0 16px;font-size:16px;border:1px solid #d5d5d5;border-radius:4px;margin-top:4px}.placeholder{color:#9e9e9e}.placeholder option{color:initial}select.invalid:invalid{border:1px solid #dc0000}select~.errorBubble{position:relative;font-size:14px;font-weight:normal;width:100%;font-family:"Roboto", sans-serif;color:#dc0000;display:flex;align-content:center;align-items:center;justify-items:center}select~.errorBubble:not(.visible){visibility:hidden}select~.errorBubble span{color:#dc0000;font-size:16px;margin-right:4px;height:16px}select.invalid:invalid~.errorBubble{position:relative;font-size:14px;font-weight:normal;width:100%;font-family:"Roboto", sans-serif;color:#dc0000;visibility:visible}select:focus{border-color:#1479c6}select:focus-visible{outline:none}.button{padding:0 16px}.footer{display:flex;gap:16px;flex-direction:row-reverse}';export{l as tttx_form}
@@ -1,70 +0,0 @@
1
- declare const _default: {
2
- title: string;
3
- component: string;
4
- argTypes: {
5
- filterOptions: {
6
- control: {
7
- type: string;
8
- };
9
- };
10
- filterButtonStyle: {
11
- table: {
12
- defaultValue: {
13
- summary: string;
14
- };
15
- };
16
- control: {
17
- type: string;
18
- };
19
- options: string[];
20
- };
21
- showSearchField: {
22
- table: {
23
- defaultValue: {
24
- summary: boolean;
25
- };
26
- };
27
- control: {
28
- type: string;
29
- };
30
- };
31
- showSelectAll: {
32
- table: {
33
- defaultValue: {
34
- summary: boolean;
35
- };
36
- };
37
- control: {
38
- type: string;
39
- };
40
- };
41
- showOptionIcons: {
42
- table: {
43
- defaultValue: {
44
- summary: boolean;
45
- };
46
- };
47
- control: {
48
- type: string;
49
- };
50
- };
51
- filterHeader: {
52
- control: {
53
- type: string;
54
- };
55
- };
56
- };
57
- parameters: {
58
- actions: {
59
- handles: string[];
60
- };
61
- };
62
- decorators: import("@storybook/types").Addon_DecoratorFunction<unknown>[];
63
- };
64
- export default _default;
65
- export declare const Default: any;
66
- export declare const CustomFilterOptions: any;
67
- export declare const DefaultFilterOptions: any;
68
- export declare const EverythingDefaultFilterOptions: any;
69
- export declare const ListFilterWithoutSearchField: any;
70
- export declare const TableIconWithoutOptionIconsOrSelectAll: any;
@@ -1,278 +0,0 @@
1
- declare const _default: {
2
- title: string;
3
- component: string;
4
- parameters: {
5
- actions: {
6
- handles: string[];
7
- };
8
- };
9
- decorators: import("@storybook/types").Addon_DecoratorFunction<unknown>[];
10
- };
11
- export default _default;
12
- export declare const SingleFormItem: {
13
- (args: any): string;
14
- args: {
15
- formSchema: {
16
- properties: {
17
- input: {
18
- type: string;
19
- format: string;
20
- form: {
21
- type: string;
22
- label: string;
23
- validation: {
24
- required: {
25
- message: string;
26
- };
27
- };
28
- };
29
- };
30
- };
31
- };
32
- };
33
- };
34
- export declare const ExampleFormFromJSON: {
35
- (args: any): string;
36
- args: {
37
- formSchema: {
38
- properties: {
39
- title: {
40
- type: string;
41
- format: string;
42
- form: {
43
- type: string;
44
- placeholder: string;
45
- label: string;
46
- };
47
- };
48
- forename: {
49
- type: string;
50
- format: string;
51
- form: {
52
- type: string;
53
- placeholder: string;
54
- label: string;
55
- validation: {
56
- required: {
57
- message: string;
58
- };
59
- };
60
- };
61
- };
62
- surname: {
63
- type: string;
64
- format: string;
65
- form: {
66
- type: string;
67
- placeholder: string;
68
- label: string;
69
- validation: {
70
- required: {
71
- message: string;
72
- };
73
- };
74
- };
75
- };
76
- postcode: {
77
- type: string;
78
- format: string;
79
- form: {
80
- type: string;
81
- placeholder: string;
82
- label: string;
83
- validation: {
84
- required: {
85
- message: string;
86
- };
87
- pattern: {
88
- pattern: string;
89
- message: string;
90
- };
91
- maxlength: number;
92
- };
93
- };
94
- };
95
- age: {
96
- type: string;
97
- format: string;
98
- form: {
99
- type: string;
100
- placeholder: string;
101
- label: string;
102
- validation: {
103
- required: {
104
- message: string;
105
- };
106
- badInput: {
107
- message: string;
108
- };
109
- };
110
- };
111
- };
112
- dob: {
113
- type: string;
114
- format: string;
115
- form: {
116
- type: string;
117
- placeholder: string;
118
- label: string;
119
- validation: {
120
- required: {
121
- message: string;
122
- };
123
- minmax: {
124
- min: string;
125
- max: string;
126
- message: string;
127
- };
128
- };
129
- };
130
- };
131
- dropdown: {
132
- form: {
133
- type: string;
134
- blankDefault: boolean;
135
- label: string;
136
- options: ({
137
- label: string;
138
- value: string;
139
- placeholder: boolean;
140
- } | {
141
- label: string;
142
- value: string;
143
- placeholder?: undefined;
144
- })[];
145
- validation: {
146
- required: {
147
- message: string;
148
- };
149
- };
150
- };
151
- };
152
- permissions: {
153
- form: {
154
- type: string;
155
- label: string;
156
- inlineLabel: string;
157
- validation: {
158
- required: {
159
- message: string;
160
- };
161
- };
162
- };
163
- };
164
- };
165
- };
166
- };
167
- };
168
- export declare const PrePopulateForm: {
169
- (args: any): string;
170
- args: {
171
- data: {
172
- title: string;
173
- forename: string;
174
- surname: string;
175
- postcode: string;
176
- age: string;
177
- dob: string;
178
- };
179
- formSchema: {
180
- properties: {
181
- title: {
182
- type: string;
183
- format: string;
184
- form: {
185
- type: string;
186
- placeholder: string;
187
- label: string;
188
- };
189
- };
190
- forename: {
191
- type: string;
192
- format: string;
193
- form: {
194
- type: string;
195
- placeholder: string;
196
- label: string;
197
- validation: {
198
- required: {
199
- message: string;
200
- };
201
- };
202
- };
203
- };
204
- surname: {
205
- type: string;
206
- format: string;
207
- form: {
208
- type: string;
209
- placeholder: string;
210
- label: string;
211
- validation: {
212
- required: {
213
- message: string;
214
- };
215
- };
216
- };
217
- };
218
- postcode: {
219
- type: string;
220
- format: string;
221
- form: {
222
- type: string;
223
- placeholder: string;
224
- label: string;
225
- validation: {
226
- required: {
227
- message: string;
228
- };
229
- pattern: {
230
- pattern: string;
231
- message: string;
232
- };
233
- maxlength: number;
234
- };
235
- };
236
- };
237
- age: {
238
- type: string;
239
- format: string;
240
- form: {
241
- type: string;
242
- placeholder: string;
243
- label: string;
244
- readonly: boolean;
245
- validation: {
246
- required: {
247
- message: string;
248
- };
249
- badInput: {
250
- message: string;
251
- };
252
- };
253
- };
254
- };
255
- dob: {
256
- type: string;
257
- format: string;
258
- form: {
259
- type: string;
260
- placeholder: string;
261
- label: string;
262
- readonly: boolean;
263
- validation: {
264
- required: {
265
- message: string;
266
- };
267
- minmax: {
268
- min: string;
269
- max: string;
270
- message: string;
271
- };
272
- };
273
- };
274
- };
275
- };
276
- };
277
- };
278
- };
@@ -1,14 +0,0 @@
1
- declare const _default: {
2
- title: string;
3
- component: string;
4
- parameters: {
5
- actions: {
6
- handles: string[];
7
- };
8
- };
9
- decorators: import("@storybook/types").Addon_DecoratorFunction<unknown>[];
10
- };
11
- export default _default;
12
- export declare const BasicStringList: any;
13
- export declare const BasicObjectList: any;
14
- export declare const BasicClickableList: any;
@@ -1,30 +0,0 @@
1
- declare const _default: {
2
- title: string;
3
- component: string;
4
- argTypes: {
5
- fieldOptionsData: {
6
- control: {
7
- type: string;
8
- };
9
- };
10
- defaultOption: {
11
- control: {
12
- type: string;
13
- };
14
- };
15
- sorterKey: {
16
- control: {
17
- type: string;
18
- };
19
- };
20
- };
21
- parameters: {
22
- actions: {
23
- handles: string[];
24
- };
25
- };
26
- decorators: import("@storybook/types").Addon_DecoratorFunction<unknown>[];
27
- };
28
- export default _default;
29
- export declare const BasicSorter: any;
30
- export declare const AnotherSorter: any;