doc: 添加文档
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
|
||||
.Canvas_svg__2w1z4{border:1px solid #f8f8ff;box-shadow:0 0 10px #f8f8ff;font-size:16px}.Canvas_svg__2w1z4 text{-webkit-user-select:none;-ms-user-select:none;user-select:none}.PopoverOnSvg_popover__3bN4H{position:absolute;border-radius:4px;box-shadow:0 1px 8px rgba(0,0,0,.15);background-color:#fff;min-width:32px}.dark.PopoverOnSvg_popover__3bN4H{background-color:#000;color:#fff}.PopoverOnSvg_arrow__22-aj{display:block;position:absolute;z-index:-1;border:8px solid #fff;background-color:#fff;width:8px;height:8px}.dark.PopoverOnSvg_arrow__22-aj{border-color:#000;background-color:#000}.left.PopoverOnSvg_arrow__22-aj{right:-12px;-webkit-transform:translate(-50%,-50%) rotate(135deg);transform:translate(-50%,-50%) rotate(135deg);box-shadow:-2px -2px 6px -2px rgba(0,0,0,.06)}.right.PopoverOnSvg_arrow__22-aj{left:4px;-webkit-transform:translate(-50%,-50%) rotate(-45deg);transform:translate(-50%,-50%) rotate(-45deg);box-shadow:-2px -2px 6px -2px rgba(0,0,0,.06)}.top.PopoverOnSvg_arrow__22-aj{bottom:-12px;box-shadow:3px 3px 7px -2px rgba(0,0,0,.07)}.bottom.PopoverOnSvg_arrow__22-aj,.top.PopoverOnSvg_arrow__22-aj{-webkit-transform:translate(-50%,-50%) rotate(45deg);transform:translate(-50%,-50%) rotate(45deg)}.bottom.PopoverOnSvg_arrow__22-aj{top:4px;box-shadow:-3px -3px 8px -2px rgba(0,0,0,.07)}.PopoverOnSvg_content__1rAgR{padding:4px 8px}.PopoverOnSvg_header__URzxW{border-bottom:1px solid rgba(0,0,0,.08);padding:4px 8px;line-height:22px}.dark.PopoverOnSvg_header__URzxW{border-bottom:1px solid hsla(0,0%,100%,.35)}.EditableContent_buttonGroup__2qXGn{margin:8px 0 4px;width:300px;max-width:100%;text-align:right}.EditableContent_button__6qyvP{margin-right:8px}.EditableContent_menu__2ah_9{max-height:320px;overflow:auto}.EditableContent_menuItem__3P1Eu:hover{background-color:#f5f5f5;color:#000!important;-webkit-user-select:none;-ms-user-select:none;user-select:none}.selected.EditableContent_menuItem__3P1Eu{background-color:#f5f5f5}.HelpModal_list__syZn2{padding:0;list-style:none}.HelpModal_listItem__34m_q{display:inline-block;margin-top:8px;margin-right:16px;min-width:260px}.HelpModal_kbd__RCRud{display:inline-block;margin-right:8px;border-radius:4px;background-color:#d3d3d3;padding:4px;width:120px;text-align:center}.Notation_selectedNotation__3wsjJ{color:coral}.Editor_headerWrapper__2rEBR{margin-bottom:16px;border-bottom:1px solid #f5f5f5;width:100%}.Editor_header__2Qcr4{margin:auto;padding:8px 0}.Editor_container__3rhfS{display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:#fff;min-width:100%;height:100%}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,"Courier New",monospace}
|
||||
/*# sourceMappingURL=main.886a1ecf.chunk.css.map */
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack://src/view/Canvas/index.module.css","webpack://src/component/PopoverOnSvg/index.module.css","webpack://src/component/EditableContent/index.module.css","webpack://src/view/HelpModal/index.module.css","webpack://src/view/Notation/index.module.css","webpack://src/view/Editor/index.module.css","webpack://src/index.css"],"names":[],"mappings":"AAAA,mBACE,wBAA4B,CAC5B,2BAAmC,CACnC,cACF,CACA,wBACE,wBAAiB,CAAjB,oBAAiB,CAAjB,gBACF,CCPA,6BACE,iBAAkB,CAClB,iBAAkB,CAClB,oCAAyC,CACzC,qBAAuB,CACvB,cACF,CACA,kCACE,qBAAuB,CACvB,UACF,CACA,2BACE,aAAc,CACd,iBAAkB,CAClB,UAAW,CACX,qBAAuB,CACvB,qBAAuB,CACvB,SAAU,CACV,UACF,CACA,gCACE,iBAAmB,CACnB,qBACF,CACA,gCACE,WAAY,CACZ,qDAA+C,CAA/C,6CAA+C,CAC/C,6CACF,CACA,iCACE,QAAS,CACT,qDAA+C,CAA/C,6CAA+C,CAC/C,6CACF,CACA,+BACE,YAAa,CAEb,2CACF,CACA,iEAHE,oDAA8C,CAA9C,4CAOF,CAJA,kCACE,OAAQ,CAER,6CACF,CACA,6BACE,eACF,CACA,4BACE,uCAA4C,CAC5C,eAAgB,CAChB,gBACF,CACA,iCACE,2CACF,CCtDA,oCACE,gBAAmB,CACnB,WAAY,CACZ,cAAe,CACf,gBACF,CACA,+BACE,gBACF,CACA,6BACE,gBAAiB,CACjB,aACF,CACA,uCACE,wBAA4B,CAC5B,oBAAuB,CACvB,wBAAiB,CAAjB,oBAAiB,CAAjB,gBACF,CACA,0CACE,wBACF,CCpBA,uBACA,SAAU,CACV,eACA,CACA,2BACE,oBAAqB,CACrB,cAAe,CACf,iBAAkB,CAClB,eACF,CACA,sBACE,oBAAqB,CACrB,gBAAiB,CACjB,iBAAkB,CAClB,wBAA2B,CAC3B,WAAY,CACZ,WAAY,CACZ,iBACF,CClBA,kCACE,WACF,CCFA,6BACE,kBAAmB,CACnB,+BAAmC,CACnC,UACF,CACA,sBACG,WAAY,CACZ,aACH,CACA,yBACE,YAAa,CACb,qBAAsB,CACtB,kBAAmB,CACnB,sBAAuB,CACvB,qBAAuB,CACvB,cAAe,CACf,WACF,CCjBA,KACE,QAAS,CACT,mJAEY,CACZ,kCAAmC,CACnC,iCACF,CAEA,KACE,yEAEF","file":"main.886a1ecf.chunk.css","sourcesContent":[".svg {\n border: 1px solid ghostwhite;\n box-shadow: ghostwhite 0px 0px 10px;\n font-size: 16px;\n}\n.svg :global(text) {\n user-select: none;\n}",".popover {\n position: absolute;\n border-radius: 4px;\n box-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);\n background-color: white;\n min-width: 32px;\n}\n:global(.dark).popover {\n background-color: black;\n color: white;\n}\n.arrow {\n display: block;\n position: absolute;\n z-index: -1;\n border: 8px solid white;\n background-color: white;\n width: 8px;\n height: 8px;\n}\n:global(.dark).arrow {\n border-color: black;\n background-color: black;\n}\n:global(.left).arrow {\n right: -12px;\n transform: translate(-50%, -50%) rotate(135deg);\n box-shadow: -2px -2px 6px -2px rgba(0, 0, 0, 0.06);\n}\n:global(.right).arrow {\n left: 4px;\n transform: translate(-50%, -50%) rotate(-45deg);\n box-shadow: -2px -2px 6px -2px rgba(0, 0, 0, 0.06);\n}\n:global(.top).arrow {\n bottom: -12px;\n transform: translate(-50%, -50%) rotate(45deg);\n box-shadow: 3px 3px 7px -2px rgba(0, 0, 0, 0.07);\n}\n:global(.bottom).arrow {\n top: 4px;\n transform: translate(-50%, -50%) rotate(45deg);\n box-shadow: -3px -3px 8px -2px rgba(0, 0, 0, 0.07);\n}\n.content {\n padding: 4px 8px;\n}\n.header {\n border-bottom: 1px solid rgba(0, 0, 0, 0.08);\n padding: 4px 8px;\n line-height: 22px;\n}\n:global(.dark).header {\n border-bottom: 1px solid rgba(255, 255, 255, 0.35);\n}\n",".buttonGroup {\n margin: 8px 0 4px 0;\n width: 300px;\n max-width: 100%;\n text-align: right;\n}\n.button {\n margin-right: 8px;\n}\n.menu {\n max-height: 320px;\n overflow: auto;\n}\n.menuItem:hover {\n background-color: whitesmoke;\n color: black !important;\n user-select: none;\n}\n:global(.selected).menuItem {\n background-color: whitesmoke;\n}",".list {\npadding: 0;\nlist-style: none;\n}\n.listItem {\n display: inline-block;\n margin-top: 8px;\n margin-right: 16px;\n min-width: 260px;\n}\n.kbd {\n display: inline-block;\n margin-right: 8px;\n border-radius: 4px;\n background-color: lightgray;\n padding: 4px;\n width: 120px;\n text-align: center;\n}\n",".selectedNotation {\n color: coral;\n}",".headerWrapper {\n margin-bottom: 16px;\n border-bottom: 1px solid whitesmoke;\n width: 100%;\n}\n.header {\n margin: auto;\n padding: 8px 0;\n}\n.container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n background-color: white;\n min-width: 100%;\n height: 100%;\n}\n","body {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',\n 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',\n monospace;\n}\n"]}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
object-assign
|
||||
(c) Sindre Sorhus
|
||||
@license MIT
|
||||
*/
|
||||
|
||||
/*!
|
||||
Copyright (c) 2018 Jed Watson.
|
||||
Licensed under the MIT License (MIT), see
|
||||
http://jedwatson.github.io/classnames
|
||||
*/
|
||||
|
||||
/** @license React v0.20.2
|
||||
* scheduler.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/** @license React v16.13.1
|
||||
* react-is.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/** @license React v17.0.2
|
||||
* react-dom.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/** @license React v17.0.2
|
||||
* react-jsx-runtime.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/** @license React v17.0.2
|
||||
* react.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
|
||||
(this["webpackJsonpnumerical-notation-editor"]=this["webpackJsonpnumerical-notation-editor"]||[]).push([[3],{253:function(t,e,n){"use strict";n.r(e),n.d(e,"getCLS",(function(){return p})),n.d(e,"getFCP",(function(){return S})),n.d(e,"getFID",(function(){return F})),n.d(e,"getLCP",(function(){return k})),n.d(e,"getTTFB",(function(){return C}));var i,a,r,o,u=function(t,e){return{name:t,value:void 0===e?-1:e,delta:0,entries:[],id:"v1-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12)}},c=function(t,e){try{if(PerformanceObserver.supportedEntryTypes.includes(t)){if("first-input"===t&&!("PerformanceEventTiming"in self))return;var n=new PerformanceObserver((function(t){return t.getEntries().map(e)}));return n.observe({type:t,buffered:!0}),n}}catch(t){}},f=function(t,e){var n=function n(i){"pagehide"!==i.type&&"hidden"!==document.visibilityState||(t(i),e&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},s=function(t){addEventListener("pageshow",(function(e){e.persisted&&t(e)}),!0)},m="function"==typeof WeakSet?new WeakSet:new Set,d=function(t,e,n){var i;return function(){e.value>=0&&(n||m.has(e)||"hidden"===document.visibilityState)&&(e.delta=e.value-(i||0),(e.delta||void 0===i)&&(i=e.value,t(e)))}},p=function(t,e){var n,i=u("CLS",0),a=function(t){t.hadRecentInput||(i.value+=t.value,i.entries.push(t),n())},r=c("layout-shift",a);r&&(n=d(t,i,e),f((function(){r.takeRecords().map(a),n()})),s((function(){i=u("CLS",0),n=d(t,i,e)})))},v=-1,l=function(){return"hidden"===document.visibilityState?0:1/0},h=function(){f((function(t){var e=t.timeStamp;v=e}),!0)},g=function(){return v<0&&(v=l(),h(),s((function(){setTimeout((function(){v=l(),h()}),0)}))),{get timeStamp(){return v}}},S=function(t,e){var n,i=g(),a=u("FCP"),r=function(t){"first-contentful-paint"===t.name&&(f&&f.disconnect(),t.startTime<i.timeStamp&&(a.value=t.startTime,a.entries.push(t),m.add(a),n()))},o=performance.getEntriesByName("first-contentful-paint")[0],f=o?null:c("paint",r);(o||f)&&(n=d(t,a,e),o&&r(o),s((function(i){a=u("FCP"),n=d(t,a,e),requestAnimationFrame((function(){requestAnimationFrame((function(){a.value=performance.now()-i.timeStamp,m.add(a),n()}))}))})))},y={passive:!0,capture:!0},E=new Date,w=function(t,e){i||(i=e,a=t,r=new Date,b(removeEventListener),L())},L=function(){if(a>=0&&a<r-E){var t={entryType:"first-input",name:i.type,target:i.target,cancelable:i.cancelable,startTime:i.timeStamp,processingStart:i.timeStamp+a};o.forEach((function(e){e(t)})),o=[]}},T=function(t){if(t.cancelable){var e=(t.timeStamp>1e12?new Date:performance.now())-t.timeStamp;"pointerdown"==t.type?function(t,e){var n=function(){w(t,e),a()},i=function(){a()},a=function(){removeEventListener("pointerup",n,y),removeEventListener("pointercancel",i,y)};addEventListener("pointerup",n,y),addEventListener("pointercancel",i,y)}(e,t):w(e,t)}},b=function(t){["mousedown","keydown","touchstart","pointerdown"].forEach((function(e){return t(e,T,y)}))},F=function(t,e){var n,r=g(),p=u("FID"),v=function(t){t.startTime<r.timeStamp&&(p.value=t.processingStart-t.startTime,p.entries.push(t),m.add(p),n())},l=c("first-input",v);n=d(t,p,e),l&&f((function(){l.takeRecords().map(v),l.disconnect()}),!0),l&&s((function(){var r;p=u("FID"),n=d(t,p,e),o=[],a=-1,i=null,b(addEventListener),r=v,o.push(r),L()}))},k=function(t,e){var n,i=g(),a=u("LCP"),r=function(t){var e=t.startTime;e<i.timeStamp&&(a.value=e,a.entries.push(t)),n()},o=c("largest-contentful-paint",r);if(o){n=d(t,a,e);var p=function(){m.has(a)||(o.takeRecords().map(r),o.disconnect(),m.add(a),n())};["keydown","click"].forEach((function(t){addEventListener(t,p,{once:!0,capture:!0})})),f(p,!0),s((function(i){a=u("LCP"),n=d(t,a,e),requestAnimationFrame((function(){requestAnimationFrame((function(){a.value=performance.now()-i.timeStamp,m.add(a),n()}))}))}))}},C=function(t){var e,n=u("TTFB");e=function(){try{var e=performance.getEntriesByType("navigation")[0]||function(){var t=performance.timing,e={entryType:"navigation",startTime:0};for(var n in t)"navigationStart"!==n&&"toJSON"!==n&&(e[n]=Math.max(t[n]-t.navigationStart,0));return e}();if(n.value=n.delta=e.responseStart,n.value<0)return;n.entries=[e],t(n)}catch(t){}},"complete"===document.readyState?setTimeout(e,0):addEventListener("pageshow",e)}}}]);
|
||||
//# sourceMappingURL=3.c09cd1f8.chunk.js.map
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":[],"names":[],"mappings":"","file":"static/js/4.95ad59a7.chunk.js","sourceRoot":""}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
|
||||
!function(e){function t(t){for(var n,i,a=t[0],c=t[1],l=t[2],s=0,p=[];s<a.length;s++)i=a[s],Object.prototype.hasOwnProperty.call(o,i)&&o[i]&&p.push(o[i][0]),o[i]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(f&&f(t);p.length;)p.shift()();return u.push.apply(u,l||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,a=1;a<r.length;a++){var c=r[a];0!==o[c]&&(n=!1)}n&&(u.splice(t--,1),e=i(i.s=r[0]))}return e}var n={},o={1:0},u=[];function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(e){var t=[],r=o[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=o[e]=[t,n]}));t.push(r[2]=n);var u,a=document.createElement("script");a.charset="utf-8",a.timeout=120,i.nc&&a.setAttribute("nonce",i.nc),a.src=function(e){return i.p+"static/js/"+({}[e]||e)+"."+{3:"c09cd1f8",4:"95ad59a7"}[e]+".chunk.js"}(e);var c=new Error;u=function(t){a.onerror=a.onload=null,clearTimeout(l);var r=o[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),u=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+n+": "+u+")",c.name="ChunkLoadError",c.type=n,c.request=u,r[1](c)}o[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:a})}),12e4);a.onerror=a.onload=u,document.head.appendChild(a)}return Promise.all(t)},i.m=e,i.c=n,i.d=function(e,t,r){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)i.d(r,n,function(t){return e[t]}.bind(null,n));return r},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="./",i.oe=function(e){throw console.error(e),e};var a=this["webpackJsonpnumerical-notation-editor"]=this["webpackJsonpnumerical-notation-editor"]||[],c=a.push.bind(a);a.push=t,a=a.slice();for(var l=0;l<a.length;l++)t(a[l]);var f=c;r()}([]);
|
||||
//# sourceMappingURL=runtime-main.9a7f4847.js.map
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user