@fast-crud/editor-code 1.25.13

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 (39) hide show
  1. package/.eslintrc.js +79 -0
  2. package/.prettierrc +5 -0
  3. package/CHANGELOG.md +945 -0
  4. package/dist/d/editor/components/fs-editor-code/validators.d.ts +10 -0
  5. package/dist/d/editor/components/fs-editor-code/worker/index.d.ts +9 -0
  6. package/dist/d/editor/components/fs-editor-code/worker/yaml.worker.d.ts +1 -0
  7. package/dist/d/editor/components/fs-editor-code/workers.d.ts +9 -0
  8. package/dist/d/editor/exports.d.ts +3 -0
  9. package/dist/d/editor/index.d.ts +4 -0
  10. package/dist/d/editor/index.umd.d.ts +4 -0
  11. package/dist/d/editor/type/index.d.ts +4 -0
  12. package/dist/d/editor/type/types.d.ts +12 -0
  13. package/dist/d/index.d.ts +1 -0
  14. package/dist/d/index.umd.d.ts +1 -0
  15. package/dist/editor-code.mjs +9 -0
  16. package/dist/editor-code.mjs.map +1 -0
  17. package/dist/editor-code.umd.js +2 -0
  18. package/dist/editor-code.umd.js.map +1 -0
  19. package/dist/index-4cfdb04c.mjs +132 -0
  20. package/dist/index-4cfdb04c.mjs.map +1 -0
  21. package/dist/index-c2ddaf47.mjs +97 -0
  22. package/dist/index-c2ddaf47.mjs.map +1 -0
  23. package/dist/style.css +1 -0
  24. package/index.d.ts +1 -0
  25. package/index.js +1 -0
  26. package/package.json +84 -0
  27. package/src/editor/components/fs-editor-code/async-import.ts +19 -0
  28. package/src/editor/components/fs-editor-code/index.vue +240 -0
  29. package/src/editor/components/fs-editor-code/validators.ts +37 -0
  30. package/src/editor/components/fs-editor-code/worker/index.ts +64 -0
  31. package/src/editor/components/fs-editor-code/worker/yaml.worker.ts +1 -0
  32. package/src/editor/components/fs-editor-code/workers.ts +45 -0
  33. package/src/editor/exports.ts +3 -0
  34. package/src/editor/index.umd.ts +17 -0
  35. package/src/editor/type/types.ts +7 -0
  36. package/src/index.umd.ts +1 -0
  37. package/src/style.css +1 -0
  38. package/tsconfig.json +49 -0
  39. package/vite.config.js +125 -0
package/.eslintrc.js ADDED
@@ -0,0 +1,79 @@
1
+ module.exports = {
2
+ root: true,
3
+ env: {
4
+ browser: true,
5
+ node: true,
6
+ es6: true
7
+ },
8
+ parser: "vue-eslint-parser",
9
+ parserOptions: {
10
+ parser: "@typescript-eslint/parser",
11
+ ecmaVersion: 2020,
12
+ sourceType: "module",
13
+ jsxPragma: "React",
14
+ ecmaFeatures: {
15
+ jsx: true,
16
+ tsx: true
17
+ }
18
+ },
19
+ extends: [
20
+ "plugin:vue/vue3-recommended",
21
+ "plugin:@typescript-eslint/recommended",
22
+ "plugin:prettier/recommended",
23
+ "prettier"
24
+ ],
25
+ rules: {
26
+ "@typescript-eslint/no-unused-vars": "off",
27
+ "@typescript-eslint/ban-ts-ignore": "off",
28
+ "@typescript-eslint/explicit-function-return-type": "off",
29
+ "@typescript-eslint/no-explicit-any": "off",
30
+ "@typescript-eslint/no-implicitly-any": "off",
31
+ "@typescript-eslint/no-var-requires": "off",
32
+ "@typescript-eslint/no-empty-function": "off",
33
+ "@typescript-eslint/no-use-before-define": "off",
34
+ "@typescript-eslint/ban-ts-comment": "off",
35
+ "@typescript-eslint/ban-types": "off",
36
+ "@typescript-eslint/no-non-null-assertion": "off",
37
+ "@typescript-eslint/explicit-module-boundary-types": "off"
38
+
39
+ // "@typescript-eslint/no-unused-vars": [
40
+ // "error",
41
+ // {
42
+ // argsIgnorePattern: "^h$",
43
+ // varsIgnorePattern: "^h$"
44
+ // }
45
+ // ],
46
+ // "vue/custom-event-name-casing": "off",
47
+ // "no-use-before-define": "off",
48
+ // "no-unused-vars": [
49
+ // "error",
50
+ // {
51
+ // argsIgnorePattern: "^h$",
52
+ // varsIgnorePattern: "^h$"
53
+ // }
54
+ // ],
55
+ // "space-before-function-paren": "off",
56
+ //
57
+ // "vue/attributes-order": "off",
58
+ // "vue/one-component-per-file": "off",
59
+ // "vue/html-closing-bracket-newline": "off",
60
+ // "vue/max-attributes-per-line": "off",
61
+ // "vue/multiline-html-element-content-newline": "off",
62
+ // "vue/singleline-html-element-content-newline": "off",
63
+ // "vue/attribute-hyphenation": "off",
64
+ // // 'vue/html-self-closing': 'off',
65
+ // "vue/require-default-prop": "off",
66
+ // "vue/html-self-closing": [
67
+ // "error",
68
+ // {
69
+ // html: {
70
+ // void: "always",
71
+ // normal: "never",
72
+ // component: "always"
73
+ // },
74
+ // svg: "always",
75
+ // math: "always"
76
+ // }
77
+ // ]
78
+ }
79
+ };
package/.prettierrc ADDED
@@ -0,0 +1,5 @@
1
+ {
2
+
3
+ "trailingComma": "none",
4
+ "printWidth": 120
5
+ }