@univerjs/uniscript 0.1.0-alpha.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +20 -0
  3. package/lib/cjs/index.js +863 -0
  4. package/lib/cjs/locale/en-US.js +36 -0
  5. package/lib/cjs/locale/zh-CN.js +26 -0
  6. package/lib/esm/index.js +855 -0
  7. package/lib/esm/locale/en-US.js +15 -0
  8. package/lib/esm/locale/zh-CN.js +5 -0
  9. package/lib/index.css +9 -0
  10. package/lib/types/commands/operations/panel.operation.d.ts +4 -0
  11. package/lib/types/commands/operations/panel.operation.d.ts.map +1 -0
  12. package/lib/types/controllers/menu.d.ts +3 -0
  13. package/lib/types/controllers/menu.d.ts.map +1 -0
  14. package/lib/types/controllers/uniscript.controller.d.ts +6 -0
  15. package/lib/types/controllers/uniscript.controller.d.ts.map +1 -0
  16. package/lib/types/facade/facade.d.ts +11 -0
  17. package/lib/types/facade/facade.d.ts.map +1 -0
  18. package/lib/types/facade/sheet/f-range.d.ts +18 -0
  19. package/lib/types/facade/sheet/f-range.d.ts.map +1 -0
  20. package/lib/types/facade/sheet/f-selection.d.ts +13 -0
  21. package/lib/types/facade/sheet/f-selection.d.ts.map +1 -0
  22. package/lib/types/facade/sheet/f-workbook.d.ts +10 -0
  23. package/lib/types/facade/sheet/f-workbook.d.ts.map +1 -0
  24. package/lib/types/facade/sheet/f-worksheet.d.ts +15 -0
  25. package/lib/types/facade/sheet/f-worksheet.d.ts.map +1 -0
  26. package/lib/types/index.d.ts +2 -0
  27. package/lib/types/index.d.ts.map +1 -0
  28. package/lib/types/locale/en-US.d.ts +13 -0
  29. package/lib/types/locale/en-US.d.ts.map +1 -0
  30. package/lib/types/locale/index.d.ts +3 -0
  31. package/lib/types/locale/index.d.ts.map +1 -0
  32. package/lib/types/locale/zh-CN.d.ts +3 -0
  33. package/lib/types/locale/zh-CN.d.ts.map +1 -0
  34. package/lib/types/models/model.d.ts +1 -0
  35. package/lib/types/models/model.d.ts.map +1 -0
  36. package/lib/types/plugin.d.ts +14 -0
  37. package/lib/types/plugin.d.ts.map +1 -0
  38. package/lib/types/services/command/batch-command.service.d.ts +10 -0
  39. package/lib/types/services/command/batch-command.service.d.ts.map +1 -0
  40. package/lib/types/services/script-editor.service.d.ts +13 -0
  41. package/lib/types/services/script-editor.service.d.ts.map +1 -0
  42. package/lib/types/services/script-execution.service.d.ts +12 -0
  43. package/lib/types/services/script-execution.service.d.ts.map +1 -0
  44. package/lib/types/services/script-panel.service.d.ts +10 -0
  45. package/lib/types/services/script-panel.service.d.ts.map +1 -0
  46. package/lib/types/views/components/ScriptEditorPanel.d.ts +3 -0
  47. package/lib/types/views/components/ScriptEditorPanel.d.ts.map +1 -0
  48. package/lib/types/views/parts/render.part.d.ts +1 -0
  49. package/lib/types/views/parts/render.part.d.ts.map +1 -0
  50. package/package.json +66 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020-present, DreamNum
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,20 @@
1
+ # @univerjs/uniscript
2
+
3
+ [![npm version](https://img.shields.io/npm/v/@univerjs/uniscript)](https://npmjs.org/packages/@univerjs/uniscript)
4
+ [![license](https://img.shields.io/npm/l/@univerjs/uniscript)](https://img.shields.io/npm/l/@univerjs/uniscript)
5
+
6
+ ## Introduction
7
+
8
+ > Univer uniscript package. This package add scripting feature to univer.
9
+
10
+ ## Usage
11
+
12
+ ### Installation
13
+
14
+ ```shell
15
+ npm i @univerjs/uniscript
16
+ ```
17
+
18
+ ### API
19
+
20
+ Check [Univer](https://github.com/dream-num/univer/)