vuesp-components 2.1.4 → 2.1.5

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 (58) hide show
  1. package/dist/components/block/index.d.ts +5 -1
  2. package/dist/components/block/index.d.ts.map +1 -1
  3. package/dist/components/block/scan/BlockScan.vue.d.ts +11 -0
  4. package/dist/components/block/scan/BlockScan.vue.d.ts.map +1 -0
  5. package/dist/components/block/scan/types.d.ts +9 -0
  6. package/dist/components/block/scan/types.d.ts.map +1 -0
  7. package/dist/components/block/service/BlockService.vue.d.ts +13 -0
  8. package/dist/components/block/service/BlockService.vue.d.ts.map +1 -0
  9. package/dist/components/block/service/types.d.ts +10 -0
  10. package/dist/components/block/service/types.d.ts.map +1 -0
  11. package/dist/components/block/status/BlockStatus.vue.d.ts +34 -0
  12. package/dist/components/block/status/BlockStatus.vue.d.ts.map +1 -0
  13. package/dist/components/block/status/types.d.ts +5 -0
  14. package/dist/components/block/status/types.d.ts.map +1 -0
  15. package/dist/components/block/update/BlockUpdate.vue.d.ts +24 -0
  16. package/dist/components/block/update/BlockUpdate.vue.d.ts.map +1 -0
  17. package/dist/components/block/update/types.d.ts +4 -0
  18. package/dist/components/block/update/types.d.ts.map +1 -0
  19. package/dist/components/index.d.ts +1 -0
  20. package/dist/components/index.d.ts.map +1 -1
  21. package/dist/components/script/editor/ScriptEditor.vue.d.ts +8 -0
  22. package/dist/components/script/editor/ScriptEditor.vue.d.ts.map +1 -0
  23. package/dist/components/script/editor/format.d.ts +3 -0
  24. package/dist/components/script/editor/format.d.ts.map +1 -0
  25. package/dist/components/script/editor/highlighters/index.d.ts +2 -0
  26. package/dist/components/script/editor/highlighters/index.d.ts.map +1 -0
  27. package/dist/components/script/editor/plugins/autoSemicolon.d.ts +3 -0
  28. package/dist/components/script/editor/plugins/autoSemicolon.d.ts.map +1 -0
  29. package/dist/components/script/editor/plugins/autocomplete.d.ts +4 -0
  30. package/dist/components/script/editor/plugins/autocomplete.d.ts.map +1 -0
  31. package/dist/components/script/editor/plugins/index.d.ts +3 -0
  32. package/dist/components/script/editor/plugins/index.d.ts.map +1 -0
  33. package/dist/components/script/editor/plugins/render/index.d.ts +7 -0
  34. package/dist/components/script/editor/plugins/render/index.d.ts.map +1 -0
  35. package/dist/components/script/editor/plugins/suggestions.d.ts +3 -0
  36. package/dist/components/script/editor/plugins/suggestions.d.ts.map +1 -0
  37. package/dist/components/script/editor/plugins/types.d.ts +24 -0
  38. package/dist/components/script/editor/plugins/types.d.ts.map +1 -0
  39. package/dist/components/script/editor/types.d.ts +9 -0
  40. package/dist/components/script/editor/types.d.ts.map +1 -0
  41. package/dist/components/script/index.d.ts +4 -0
  42. package/dist/components/script/index.d.ts.map +1 -0
  43. package/dist/components/script/types.d.ts +4 -0
  44. package/dist/components/script/types.d.ts.map +1 -0
  45. package/dist/components/script/viewDocs/ScriptViewDocs.vue.d.ts +13 -0
  46. package/dist/components/script/viewDocs/ScriptViewDocs.vue.d.ts.map +1 -0
  47. package/dist/components/script/viewDocs/types.d.ts +4 -0
  48. package/dist/components/script/viewDocs/types.d.ts.map +1 -0
  49. package/dist/components/types.d.ts +2 -0
  50. package/dist/components/types.d.ts.map +1 -0
  51. package/dist/composables/index.es.js +1 -1
  52. package/dist/index.d.ts.map +1 -1
  53. package/dist/index.es.js +2252 -1395
  54. package/dist/style.css +1 -1
  55. package/dist/types/components.d.ts +1 -0
  56. package/dist/types/components.d.ts.map +1 -1
  57. package/dist/{useSwipeDown-BHSNKbwG.js → useSwipeDown-DCYgiAUA.js} +105 -103
  58. package/package.json +3 -2
@@ -1,4 +1,8 @@
1
1
  import { default as BlockInfo } from './info/BlockInfo.vue';
2
+ import { default as BlockScan } from './scan/BlockScan.vue';
3
+ import { default as BlockService } from './service/BlockService.vue';
4
+ import { default as BlockStatus } from './status/BlockStatus.vue';
5
+ import { default as BlockUpdate } from './update/BlockUpdate.vue';
2
6
  import { default as BlockBreadcrumb } from './breadcrumb/BlockBreadcrumb.vue';
3
- export { BlockBreadcrumb, BlockInfo };
7
+ export { BlockBreadcrumb, BlockInfo, BlockScan, BlockService, BlockStatus, BlockUpdate };
4
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/block/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,uCAAuC,CAAC;AAC9D,OAAO,eAAe,MAAM,mDAAmD,CAAC;AAEhF,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/block/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,uCAAuC,CAAC;AAC9D,OAAO,SAAS,MAAM,uCAAuC,CAAC;AAC9D,OAAO,YAAY,MAAM,6CAA6C,CAAC;AACvE,OAAO,WAAW,MAAM,2CAA2C,CAAC;AACpE,OAAO,WAAW,MAAM,2CAA2C,CAAC;AACpE,OAAO,eAAe,MAAM,mDAAmD,CAAC;AAEhF,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,SAAS,EAAE,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { IMessageScan } from '../../../types';
2
+ import { IBlockScanProps } from './types';
3
+ declare const _default: import('vue').DefineComponent<IBlockScanProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
4
+ select: (event: IMessageScan) => any;
5
+ scan: (event: Event) => any;
6
+ }, string, import('vue').PublicProps, Readonly<IBlockScanProps> & Readonly<{
7
+ onSelect?: ((event: IMessageScan) => any) | undefined;
8
+ onScan?: ((event: Event) => any) | undefined;
9
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
10
+ export default _default;
11
+ //# sourceMappingURL=BlockScan.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BlockScan.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/block/scan/BlockScan.vue"],"names":[],"mappings":"AAyCA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,KAAK,EAAE,eAAe,EAAkB,MAAM,SAAS,CAAC;;;;;;;;AAwI/D,wBAQG"}
@@ -0,0 +1,9 @@
1
+ import { IMessageScan } from '../../../types';
2
+ export interface IBlockScanProps {
3
+ items: Partial<IMessageScan>[];
4
+ }
5
+ export interface IBlockScanEmit {
6
+ (e: 'scan', event: Event): void;
7
+ (e: 'select', event: IMessageScan): void;
8
+ }
9
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/block/scan/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,OAAO,CAAC,YAAY,CAAC,EAAE,CAAC;CAChC;AAED,MAAM,WAAW,cAAc;IAC7B,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IAChC,CAAC,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,YAAY,GAAG,IAAI,CAAC;CAC1C"}
@@ -0,0 +1,13 @@
1
+ import { IListItem } from '../../../types';
2
+ import { IBlockServiceProps } from './types';
3
+ declare const _default: import('vue').DefineComponent<IBlockServiceProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
4
+ reset: (event: Event) => any;
5
+ reboot: (event: Event) => any;
6
+ locale: (item: IListItem) => any;
7
+ }, string, import('vue').PublicProps, Readonly<IBlockServiceProps> & Readonly<{
8
+ onReset?: ((event: Event) => any) | undefined;
9
+ onReboot?: ((event: Event) => any) | undefined;
10
+ onLocale?: ((item: IListItem) => any) | undefined;
11
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
+ export default _default;
13
+ //# sourceMappingURL=BlockService.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BlockService.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/block/service/BlockService.vue"],"names":[],"mappings":"AAoCA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,KAAK,EAAE,kBAAkB,EAAqB,MAAM,SAAS,CAAC;;;;;;;;;;AAgJrE,wBAOG"}
@@ -0,0 +1,10 @@
1
+ import { IListItem } from '../../../types';
2
+ export interface IBlockServiceProps {
3
+ locale: string;
4
+ locales: IListItem[];
5
+ }
6
+ export interface IBlockServiceEmit {
7
+ (e: 'reboot' | 'reset', event: Event): void;
8
+ (e: 'locale', item: IListItem): void;
9
+ }
10
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/block/service/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,SAAS,EAAE,CAAC;CACtB;AAED,MAAM,WAAW,iBAAiB;IAChC,CAAC,CAAC,EAAE,QAAQ,GAAG,OAAO,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IAC5C,CAAC,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,GAAG,IAAI,CAAC;CACtC"}
@@ -0,0 +1,34 @@
1
+ import { IBlockStatusProps } from './types';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ name?(_: {
6
+ item: {
7
+ name: string;
8
+ value: string;
9
+ };
10
+ }): any;
11
+ name?(_: {
12
+ item: {
13
+ name: string;
14
+ value: string | undefined;
15
+ };
16
+ }): any;
17
+ default?(_: {
18
+ home: string | undefined;
19
+ repo: string | undefined;
20
+ }): any;
21
+ };
22
+ refs: {};
23
+ rootEl: HTMLDivElement;
24
+ };
25
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
26
+ declare const __VLS_component: import('vue').DefineComponent<IBlockStatusProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IBlockStatusProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
27
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
28
+ export default _default;
29
+ type __VLS_WithTemplateSlots<T, S> = T & {
30
+ new (): {
31
+ $slots: S;
32
+ };
33
+ };
34
+ //# sourceMappingURL=BlockStatus.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BlockStatus.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/block/status/BlockStatus.vue"],"names":[],"mappings":"AAgFA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AA6CjD,iBAAS,cAAc;WAsFT,OAAO,IAA6B;;;;;;;YAZxB,GAAG;;;;;;YACH,GAAG;;;;YACA,GAAG;;;;EAe/B;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,yTAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { IMessageInfo, IPackage } from '../../../types';
2
+ export interface IBlockStatusProps extends IMessageInfo {
3
+ pkg?: IPackage;
4
+ }
5
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/block/status/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEtD,MAAM,WAAW,iBAAkB,SAAQ,YAAY;IACrD,GAAG,CAAC,EAAE,QAAQ,CAAC;CAChB"}
@@ -0,0 +1,24 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ default?(_: {
5
+ file: string;
6
+ }): any;
7
+ };
8
+ refs: {};
9
+ rootEl: HTMLDivElement;
10
+ };
11
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
13
+ update: (value: string, formData: FormData) => any;
14
+ }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
15
+ onUpdate?: ((value: string, formData: FormData) => any) | undefined;
16
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
17
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
18
+ export default _default;
19
+ type __VLS_WithTemplateSlots<T, S> = T & {
20
+ new (): {
21
+ $slots: S;
22
+ };
23
+ };
24
+ //# sourceMappingURL=BlockUpdate.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BlockUpdate.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/block/update/BlockUpdate.vue"],"names":[],"mappings":"AAqGA,iBAAS,cAAc;WAoFT,OAAO,IAA6B;;;;YAVrB,GAAG;;;;EAe/B;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;4FAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,4 @@
1
+ export interface IBlockUpdateEmits {
2
+ (e: 'update', value: string, formData: FormData): void;
3
+ }
4
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/block/update/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,CAAC,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;CACxD"}
@@ -2,5 +2,6 @@ export * from './app';
2
2
  export * from './block';
3
3
  export * from './card';
4
4
  export * from './dashboard';
5
+ export * from './script';
5
6
  export * from './ui';
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { IScriptEditorProps } from './types';
2
+ declare const _default: import('vue').DefineComponent<IScriptEditorProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
3
+ update: (value: string) => any;
4
+ }, string, import('vue').PublicProps, Readonly<IScriptEditorProps> & Readonly<{
5
+ onUpdate?: ((value: string) => any) | undefined;
6
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
7
+ export default _default;
8
+ //# sourceMappingURL=ScriptEditor.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScriptEditor.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/script/editor/ScriptEditor.vue"],"names":[],"mappings":"AAuJA,OAAO,KAAK,EAAE,kBAAkB,EAAqB,MAAM,SAAS,CAAC;;;;;;AAuGrE,wBAQG"}
@@ -0,0 +1,3 @@
1
+ export declare const removeLBScript: (code: string) => string;
2
+ export declare const formatScript: (s: string) => string;
3
+ //# sourceMappingURL=format.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../../src/components/script/editor/format.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,GAAI,MAAM,MAAM,WA6B1C,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,GAAG,MAAM,WAKrC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const fullHighlighter: (value: string) => string;
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/script/editor/highlighters/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,eAAe,GAAI,OAAO,MAAM,WAuB5C,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Plugin } from 'yace';
2
+ export declare const autoSemicolon: () => Plugin;
3
+ //# sourceMappingURL=autoSemicolon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"autoSemicolon.d.ts","sourceRoot":"","sources":["../../../../../src/components/script/editor/plugins/autoSemicolon.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAEnC,eAAO,MAAM,aAAa,QAAO,MAqChC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { Plugin } from 'yace';
2
+ import { IAutocompleteOptions } from './types';
3
+ export declare const autocomplete: (options: IAutocompleteOptions) => Plugin;
4
+ //# sourceMappingURL=autocomplete.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"autocomplete.d.ts","sourceRoot":"","sources":["../../../../../src/components/script/editor/plugins/autocomplete.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAEnC,OAAO,KAAK,EAAe,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAgBjE,eAAO,MAAM,YAAY,GAAI,SAAS,oBAAoB,KAAG,MAyK5D,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './autoSemicolon';
2
+ export * from './autocomplete';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/script/editor/plugins/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { ISuggestion } from '../types';
2
+ export declare const renderMenu: (suggestions: ISuggestion[], selectedIndex: number, onSelect: (index: number) => void) => HTMLElement;
3
+ export declare const renderTooltip: (suggestion: ISuggestion, position: {
4
+ left: number;
5
+ top: number;
6
+ }) => HTMLElement;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/script/editor/plugins/render/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAS5C,eAAO,MAAM,UAAU,GAAI,aAAa,WAAW,EAAE,EAAE,eAAe,MAAM,EAAE,UAAU,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,KAAG,WA+BjH,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,YAAY,WAAW,EAAE,UAAU;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,KAAG,WAiChG,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { ISuggestion } from './types';
2
+ export declare const DEFAULT_SUGGESTIONS: ISuggestion[];
3
+ //# sourceMappingURL=suggestions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"suggestions.d.ts","sourceRoot":"","sources":["../../../../../src/components/script/editor/plugins/suggestions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,eAAO,MAAM,mBAAmB,EAAE,WAAW,EAsB5C,CAAC"}
@@ -0,0 +1,24 @@
1
+ export interface ISuggestion {
2
+ label: string;
3
+ type: 'keyword' | 'function' | 'variable' | 'event';
4
+ description?: string;
5
+ insertText?: string;
6
+ detail?: string;
7
+ cursorOffset?: number;
8
+ }
9
+ export interface IAutocompleteOptions {
10
+ customSuggestions?: ISuggestion[];
11
+ minPrefixLength?: number;
12
+ maxSuggestions?: number;
13
+ tabSize?: number;
14
+ tooltip?: {
15
+ enabled?: boolean;
16
+ };
17
+ i18n: (item: ISuggestion) => ISuggestion;
18
+ renderMenu: (suggestions: ISuggestion[], selectedIndex: number, onSelect: (index: number) => void) => HTMLElement;
19
+ renderTooltip: (suggestion: ISuggestion, position: {
20
+ left: number;
21
+ top: number;
22
+ }) => HTMLElement;
23
+ }
24
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/script/editor/plugins/types.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,SAAS,GAAG,UAAU,GAAG,UAAU,GAAG,OAAO,CAAC;IACpD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,oBAAoB;IACnC,iBAAiB,CAAC,EAAE,WAAW,EAAE,CAAC;IAClC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC;IAChC,IAAI,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,WAAW,CAAC;IACzC,UAAU,EAAE,CAAC,WAAW,EAAE,WAAW,EAAE,EAAE,aAAa,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,KAAK,WAAW,CAAC;IAClH,aAAa,EAAE,CAAC,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,KAAK,WAAW,CAAC;CAClG"}
@@ -0,0 +1,9 @@
1
+ import { ISuggestion } from './plugins/types';
2
+ export interface IScriptEditorProps {
3
+ value: string;
4
+ suggestions?: ISuggestion[];
5
+ }
6
+ export interface IScriptEditorEmit {
7
+ (e: 'update', value: string): void;
8
+ }
9
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/script/editor/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAEvE,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,WAAW,EAAE,CAAC;CAC7B;AAED,MAAM,WAAW,iBAAiB;IAChC,CAAC,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACpC"}
@@ -0,0 +1,4 @@
1
+ import { default as ScriptEditor } from './editor/ScriptEditor.vue';
2
+ import { default as ScriptViewDocs } from './viewDocs/ScriptViewDocs.vue';
3
+ export { ScriptEditor, ScriptViewDocs };
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/script/index.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,6CAA6C,CAAC;AACvE,OAAO,cAAc,MAAM,iDAAiD,CAAC;AAE7E,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from './editor/types';
2
+ export * from './viewDocs/types';
3
+ export * from './editor/plugins/types';
4
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/script/types.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC;AACjD,cAAc,oCAAoC,CAAC;AACnD,cAAc,0CAA0C,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { IScriptViewDocsProps } from './types';
2
+ interface MarkedLib {
3
+ parse: (markdown: string) => string;
4
+ setOptions: (options: Record<string, any>) => void;
5
+ }
6
+ declare global {
7
+ interface Window {
8
+ marked?: MarkedLib;
9
+ }
10
+ }
11
+ declare const _default: import('vue').DefineComponent<IScriptViewDocsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IScriptViewDocsProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
12
+ export default _default;
13
+ //# sourceMappingURL=ScriptViewDocs.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScriptViewDocs.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/script/viewDocs/ScriptViewDocs.vue"],"names":[],"mappings":"AAoJA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAepD,UAAU,SAAS;IACjB,KAAK,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAC;IACpC,UAAU,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,IAAI,CAAC;CACpD;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,MAAM,CAAC,EAAE,SAAS,CAAC;KACpB;CACF;;AA4KD,wBAOG"}
@@ -0,0 +1,4 @@
1
+ export interface IScriptViewDocsProps {
2
+ lang?: string;
3
+ }
4
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/script/viewDocs/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
@@ -0,0 +1,2 @@
1
+ export * from './script/types';
2
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/components/types.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { ref as z, reactive as y, watch as B, computed as k } from "vue";
2
- import { u as R, a as W } from "../useSwipeDown-BHSNKbwG.js";
2
+ import { u as R, a as W } from "../useSwipeDown-DCYgiAUA.js";
3
3
  function I(w) {
4
4
  const { validationSchema: l, initialValues: m = {} } = w, d = typeof l == "function", v = z(
5
5
  d ? l(m) : l
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,MAAM,EAAa,MAAM,KAAK,CAAC;AAS7C,OAAO,uBAAuB,CAAC;AAI/B,cAAc,eAAe,CAAC;wBASzB,MAAM;AAPX,wBAOY;AAEZ,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,MAAM,EAAa,MAAM,KAAK,CAAC;AAS7C,OAAO,uBAAuB,CAAC;AAmB/B,cAAc,eAAe,CAAC;wBASzB,MAAM;AAPX,wBAOY;AAEZ,cAAc,aAAa,CAAC"}