playbook_ui 16.2.0.pre.alpha.play284314643 → 16.2.0.pre.alpha.play284314650
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.
- checksums.yaml +4 -4
- data/dist/playbook-rails-react-bindings.js +1 -1
- data/lib/playbook/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8cb000fca3484843059f2931860f4a6b637eb926c4d1342fad44896c5dd59f0e
|
|
4
|
+
data.tar.gz: 22905440ea6c5d23f981a0d9176a02ac355fe6f96b2955398f1b9c128fb80c78
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c9aca337d39326590c916cd62015fdc02dea42c9c7454e60e3505ae71169a19827f07c46d1ed29582cddd255442bcb20ddf759b944761d523201d7e267327456
|
|
7
|
+
data.tar.gz: 8ba322dfe0e345300ec7efab9fa19c4660754b94768e1f5e7c14a8d79efa3298d338343eb501d5836a3712fd37c0ea64e9947e0e52347eae9cc7f4d7cce1c73c
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as ComponentRegistry}from"./chunks/componentRegistry-CDhxHiT8.js";import{T as TimePicker,P as PhoneNumberInput,a as Typeahead,R as RichTextEditor,b as Passphrase,M as MultiLevelSelect,D as DistributionBar}from"./chunks/_typeahead-COVN8XN7.js";import"react";import"react-dom";import"react/jsx-runtime";import"./chunks/globalProps-DyTB8IdV.js";import"./chunks/lib-9wz3x5jl.js";import"react-trix";import"trix";import"react-is";function mountComponents(root){ComponentRegistry.mountComponents(root||document)}function unmountComponents(){ComponentRegistry.unmountComponents()}
|
|
1
|
+
import{C as ComponentRegistry}from"./chunks/componentRegistry-CDhxHiT8.js";import{T as TimePicker,P as PhoneNumberInput,a as Typeahead,R as RichTextEditor,b as Passphrase,M as MultiLevelSelect,D as DistributionBar}from"./chunks/_typeahead-COVN8XN7.js";import"react";import"react-dom";import"react/jsx-runtime";import"./chunks/globalProps-DyTB8IdV.js";import"./chunks/lib-9wz3x5jl.js";import"react-trix";import"trix";import"react-is";function mountComponents(root){ComponentRegistry.mountComponents(root||document)}function unmountComponents(){ComponentRegistry.unmountComponents()}if(document.readyState==="loading"){document.addEventListener("DOMContentLoaded",(()=>mountComponents()))}else{mountComponents()}document.addEventListener("turbo:load",(()=>mountComponents()));document.addEventListener("turbo:render",(()=>mountComponents()));document.addEventListener("turbo:before-cache",unmountComponents);document.addEventListener("turbo:before-frame-render",(e=>{ComponentRegistry.unmountWithin(e.target)}),{capture:true});document.addEventListener("turbo:frame-render",(e=>{mountComponents(e.target)}));document.addEventListener("turbo:frame-load",(e=>{mountComponents(e.target)}));let mo;try{mo=new MutationObserver((muts=>{var _a,_b;for(const m of muts){for(const n of m.addedNodes){if(n.nodeType!==1)continue;const el=n;const hasNewPbMountPoint=((_a=el.matches)==null?void 0:_a.call(el,'[data-pb-react-component]:not([data-pb-react-mounted="true"])'))||((_b=el.querySelector)==null?void 0:_b.call(el,'[data-pb-react-component]:not([data-pb-react-mounted="true"])'));if(!hasNewPbMountPoint)continue;requestAnimationFrame((()=>mountComponents(el)));return}}}));mo.observe(document.documentElement,{childList:true,subtree:true})}catch(_){}ComponentRegistry.registerComponents({DistributionBar:DistributionBar,MultiLevelSelect:MultiLevelSelect,Passphrase:Passphrase,RichTextEditor:RichTextEditor,Typeahead:Typeahead,PhoneNumberInput:PhoneNumberInput,TimePicker:TimePicker});const mountPlaybookReactKits=()=>{ComponentRegistry.mountComponents()};const unmountPlaybookReactKits=()=>{ComponentRegistry.unmountComponents()};let mountTimeout=null;const debouncedMount=()=>{if(mountTimeout)clearTimeout(mountTimeout);mountTimeout=setTimeout((()=>{mountPlaybookReactKits();mountTimeout=null}),50)};const observer=new MutationObserver((mutations=>{const hasNewPbComponents=mutations.some((mutation=>Array.from(mutation.addedNodes).some((node=>{var _a,_b;if(node.nodeType!==1)return false;return((_a=node.hasAttribute)==null?void 0:_a.call(node,"data-pb-react-component"))||((_b=node.querySelector)==null?void 0:_b.call(node,"[data-pb-react-component]"))}))));if(hasNewPbComponents){debouncedMount()}}));observer.observe(document.body,{childList:true,subtree:true});export{mountPlaybookReactKits,unmountPlaybookReactKits};
|
data/lib/playbook/version.rb
CHANGED