@next-core/brick-playground 1.15.57 → 1.16.0

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.
@@ -0,0 +1,2 @@
1
+ (()=>{var r,e,t={88:(r,e,t)=>{"use strict";var o=t(695),n=t(845);(0,o.p)(class{spellCheck(r){return(0,n.n)(r)}})},375:()=>{}},o={};function n(r){var e=o[r];if(void 0!==e)return e.exports;var i=o[r]={exports:{}};return t[r](i,i.exports,n),i.exports}n.m=t,n.x=()=>{var r=n.O(void 0,[96],(()=>n(88)));return n.O(r)},r=[],n.O=(e,t,o,i)=>{if(!t){var a=1/0;for(s=0;s<r.length;s++){for(var[t,o,i]=r[s],c=!0,p=0;p<t.length;p++)(!1&i||a>=i)&&Object.keys(n.O).every((r=>n.O[r](t[p])))?t.splice(p--,1):(c=!1,i<a&&(a=i));if(c){r.splice(s--,1);var l=o();void 0!==l&&(e=l)}}return e}i=i||0;for(var s=r.length;s>0&&r[s-1][2]>i;s--)r[s]=r[s-1];r[s]=[t,o,i]},n.d=(r,e)=>{for(var t in e)n.o(e,t)&&!n.o(r,t)&&Object.defineProperty(r,t,{enumerable:!0,get:e[t]})},n.f={},n.e=r=>Promise.all(Object.keys(n.f).reduce(((e,t)=>(n.f[t](r,e),e)),[])),n.u=r=>"vendors.fbc0f69e.js",n.miniCssF=r=>{},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(r){if("object"==typeof window)return window}}(),n.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e),n.r=r=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},n.j=978,(()=>{var r;n.g.importScripts&&(r=n.g.location+"");var e=n.g.document;if(!r&&e&&(e.currentScript&&"SCRIPT"===e.currentScript.tagName.toUpperCase()&&(r=e.currentScript.src),!r)){var t=e.getElementsByTagName("script");if(t.length)for(var o=t.length-1;o>-1&&(!r||!/^http(s?):/.test(r));)r=t[o--].src}if(!r)throw new Error("Automatic publicPath is not supported in this browser");r=r.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=r})(),(()=>{var r={978:1};n.f.i=(e,t)=>{r[e]||importScripts(n.p+n.u(e))};var e=globalThis.webpackChunk_next_core_brick_playground=globalThis.webpackChunk_next_core_brick_playground||[],t=e.push.bind(e);e.push=e=>{var[o,i,a]=e;for(var c in i)n.o(i,c)&&(n.m[c]=i[c]);for(a&&a(n);o.length;)r[o.pop()]=1;t(e)}})(),e=n.x,n.x=()=>n.e(96).then(e),n.x()})();
2
+ //# sourceMappingURL=978.af891826.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"978.af891826.js","mappings":"UAAIA,ECAAC,E,oDCcJC,EAAAA,EAAAA,GANA,MACEC,UAAAA,CAAWC,GACT,OAAOD,EAAAA,EAAAA,GAAWC,EACpB,G,cCVEC,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaE,QAGrB,IAAIC,EAASN,EAAyBE,GAAY,CAGjDG,QAAS,CAAC,GAOX,OAHAE,EAAoBL,GAAUI,EAAQA,EAAOD,QAASJ,GAG/CK,EAAOD,OACf,CAGAJ,EAAoBO,EAAID,EAGxBN,EAAoBQ,EAAI,KAGvB,IAAIC,EAAsBT,EAAoBU,OAAEP,EAAW,CAAC,KAAK,IAAOH,EAAoB,MAE5F,OADsBA,EAAoBU,EAAED,EAClB,EHjCvBf,EAAW,GACfM,EAAoBU,EAAI,CAACC,EAAQC,EAAUC,EAAIC,KAC9C,IAAGF,EAAH,CAMA,IAAIG,EAAeC,IACnB,IAASC,EAAI,EAAGA,EAAIvB,EAASwB,OAAQD,IAAK,CAGzC,IAFA,IAAKL,EAAUC,EAAIC,GAAYpB,EAASuB,GACpCE,GAAY,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Y1E,IAIhD,IADG2E,GAASA,EAAQ5E,GACdY,EAASM,QACdmD,EAAgBzD,EAASiE,OAAS,EACnCN,EAA2BG,EAAK,C,KZnB7B/E,EAAOK,EAAoBQ,EAC/BR,EAAoBQ,EAAI,IAChBR,EAAoBkC,EAAE,IAAI4C,KAAKnF,GaDbK,EAAoBQ,G","sources":["webpack:///webpack/runtime/chunk loaded","webpack:///webpack/runtime/startup chunk dependencies","webpack:///./src/spellCheck.worker.ts","webpack:///webpack/bootstrap","webpack:///webpack/runtime/define property getters","webpack:///webpack/runtime/ensure chunk","webpack:///webpack/runtime/get javascript chunk filename","webpack:///webpack/runtime/get mini-css chunk filename","webpack:///webpack/runtime/global","webpack:///webpack/runtime/hasOwnProperty shorthand","webpack:///webpack/runtime/make namespace object","webpack:///webpack/runtime/runtimeId","webpack:///webpack/runtime/publicPath","webpack:///webpack/runtime/importScripts chunk loading","webpack:///webpack/startup"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","var next = __webpack_require__.x;\n__webpack_require__.x = () => {\n\treturn __webpack_require__.e(96).then(next);\n};","// istanbul ignore file\nimport { expose } from \"comlink\";\nimport {\n spellCheck,\n type SpellCheckRequest,\n type SpellCheckResponse,\n} from \"@next-shared/spell-check\";\n\nclass SpellCheckWorker {\n spellCheck(req: SpellCheckRequest): SpellCheckResponse {\n return spellCheck(req);\n }\n}\n\nexpose(SpellCheckWorker);\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// the startup function\n__webpack_require__.x = () => {\n\t// Load entry module and return exports\n\t// This entry module depends on other loaded chunks and execution need to be delayed\n\tvar __webpack_exports__ = __webpack_require__.O(undefined, [96], () => (__webpack_require__(88)))\n\t__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n\treturn __webpack_exports__;\n};\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks and sibling chunks for the entrypoint\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + \"vendors\" + \".\" + \"fbc0f69e\" + \".js\";\n};","// This function allow to reference async chunks and sibling chunks for the entrypoint\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn undefined;\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.j = 978;","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\n\t\tscriptUrl = document.currentScript.src;\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) {\n\t\t\tvar i = scripts.length - 1;\n\t\t\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\n\t\t}\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/^blob:/, \"\").replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","// no baseURI\n\n// object to store loaded chunks\n// \"1\" means \"already loaded\"\nvar installedChunks = {\n\t978: 1\n};\n\n// importScripts chunk loading\nvar installChunk = (data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\tfor(var moduleId in moreModules) {\n\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t}\n\t}\n\tif(runtime) runtime(__webpack_require__);\n\twhile(chunkIds.length)\n\t\tinstalledChunks[chunkIds.pop()] = 1;\n\tparentChunkLoadingFunction(data);\n};\n__webpack_require__.f.i = (chunkId, promises) => {\n\t// \"1\" is the signal for \"already loaded\"\n\tif(!installedChunks[chunkId]) {\n\t\tif(true) { // all chunks have JS\n\t\t\timportScripts(__webpack_require__.p + __webpack_require__.u(chunkId));\n\t\t}\n\t}\n};\n\nvar chunkLoadingGlobal = globalThis[\"webpackChunk_next_core_brick_playground\"] = globalThis[\"webpackChunk_next_core_brick_playground\"] || [];\nvar parentChunkLoadingFunction = chunkLoadingGlobal.push.bind(chunkLoadingGlobal);\nchunkLoadingGlobal.push = installChunk;\n\n// no HMR\n\n// no HMR manifest","// run startup\nvar __webpack_exports__ = __webpack_require__.x();\n"],"names":["deferred","next","expose","spellCheck","req","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","m","x","__webpack_exports__","O","result","chunkIds","fn","priority","notFulfilled","Infinity","i","length","fulfilled","j","Object","keys","every","key","splice","r","d","definition","o","defineProperty","enumerable","get","f","e","chunkId","Promise","all","reduce","promises","u","miniCssF","g","globalThis","this","Function","window","obj","prop","prototype","hasOwnProperty","call","Symbol","toStringTag","value","scriptUrl","importScripts","location","document","currentScript","tagName","toUpperCase","src","scripts","getElementsByTagName","test","Error","replace","p","installedChunks","chunkLoadingGlobal","parentChunkLoadingFunction","push","bind","data","moreModules","runtime","pop","then"],"sourceRoot":""}
package/dist/index.html CHANGED
@@ -1 +1 @@
1
- <!doctype html><html lang="zh-CN" data-theme="dark"><head><meta charset="utf-8"><title>Brick Playground</title><script>window.EXAMPLES_FILE="./examples.hash.json"</script><script defer="defer" src="main.50acf25a.js"></script><link href="main.ccf6707e.css" rel="stylesheet"></head><body data-loading><div class="brick-playground"><div class="brick-playground-column yaml" id="brick-playground-editor-column"><div class="brick-playground-toolbar"><div class="brick-playground-toolbar-column"><select id="brick-playground-select-type"><option checked="checked">YAML</option><option>HTML</option></select></div><div class="brick-playground-toolbar-column">Example: <select id="brick-playground-select-example"><option value>- local -</option></select> <button id="brick-playground-button-collapse" title="Hide source code">❮</button></div></div><div class="brick-playground-editor" data-mode="html" id="brick-playground-html-editor"></div><div class="brick-playground-editor" data-mode="yaml" id="brick-playground-yaml-editor"></div></div><div class="brick-playground-divider"></div><div class="brick-playground-column"><div class="brick-playground-toolbar"><div class="brick-playground-toolbar-column"><button id="brick-playground-button-expand" title="Show source code">❯</button> <span>Preview</span></div><div class="brick-playground-toolbar-column shrink"><button id="brick-playground-button-run">Refresh</button></div><div class="brick-playground-toolbar-column"><span id="brick-playground-share-result"></span> <button id="brick-playground-button-share">Share</button> <select id="brick-playground-select-ui-version"><option value="8.2" checked="checked">UI 8.2</option><option value="8.0">UI 8.0</option></select> <select id="brick-playground-select-language"><option value="" checked="checked">Lang: auto</option><option value="zh">中文</option><option value="en">English</option></select> <select id="brick-playground-select-theme"><option checked="checked">Dark</option><option>Light</option></select></div></div><div class="brick-playground-preview" id="brick-playground-preview"></div></div></div></body></html>
1
+ <!doctype html><html lang="zh-CN" data-theme="dark"><head><meta charset="utf-8"><title>Brick Playground</title><script>window.EXAMPLES_FILE="./examples.hash.json"</script><script defer="defer" src="main.f53ba928.js"></script><link href="main.ccf6707e.css" rel="stylesheet"></head><body data-loading><div class="brick-playground"><div class="brick-playground-column yaml" id="brick-playground-editor-column"><div class="brick-playground-toolbar"><div class="brick-playground-toolbar-column"><select id="brick-playground-select-type"><option checked="checked">YAML</option><option>HTML</option></select></div><div class="brick-playground-toolbar-column">Example: <select id="brick-playground-select-example"><option value>- local -</option></select> <button id="brick-playground-button-collapse" title="Hide source code">❮</button></div></div><div class="brick-playground-editor" data-mode="html" id="brick-playground-html-editor"></div><div class="brick-playground-editor" data-mode="yaml" id="brick-playground-yaml-editor"></div></div><div class="brick-playground-divider"></div><div class="brick-playground-column"><div class="brick-playground-toolbar"><div class="brick-playground-toolbar-column"><button id="brick-playground-button-expand" title="Show source code">❯</button> <span>Preview</span></div><div class="brick-playground-toolbar-column shrink"><button id="brick-playground-button-run">Refresh</button></div><div class="brick-playground-toolbar-column"><span id="brick-playground-share-result"></span> <button id="brick-playground-button-share">Share</button> <select id="brick-playground-select-ui-version"><option value="8.2" checked="checked">UI 8.2</option><option value="8.0">UI 8.0</option></select> <select id="brick-playground-select-language"><option value="" checked="checked">Lang: auto</option><option value="zh">中文</option><option value="en">English</option></select> <select id="brick-playground-select-theme"><option checked="checked">Dark</option><option>Light</option></select></div></div><div class="brick-playground-preview" id="brick-playground-preview"></div></div></div></body></html>