ivue 1.5.2 → 1.5.3

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 (143) hide show
  1. package/package.json +4 -1
  2. package/.editorconfig +0 -9
  3. package/.eslintignore +0 -7
  4. package/.eslintrc.js +0 -120
  5. package/.github/workflows/ci.yml +0 -68
  6. package/.idea/codeStyles/Project.xml +0 -65
  7. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
  8. package/.idea/inspectionProfiles/Project_Default.xml +0 -6
  9. package/.idea/ivue.iml +0 -8
  10. package/.idea/modules.xml +0 -8
  11. package/.idea/php.xml +0 -19
  12. package/.idea/vcs.xml +0 -6
  13. package/.prettierrc +0 -5
  14. package/coverage/base.css +0 -224
  15. package/coverage/block-navigation.js +0 -87
  16. package/coverage/clover.xml +0 -191
  17. package/coverage/coverage-final.json +0 -3
  18. package/coverage/favicon.png +0 -0
  19. package/coverage/index.html +0 -131
  20. package/coverage/index.ts.html +0 -88
  21. package/coverage/ivue.ts.html +0 -1753
  22. package/coverage/prettify.css +0 -1
  23. package/coverage/prettify.js +0 -2
  24. package/coverage/sort-arrow-sprite.png +0 -0
  25. package/coverage/sorter.js +0 -196
  26. package/demo/App.vue +0 -11
  27. package/demo/main.ts +0 -6
  28. package/demo/vite.config.ts +0 -12
  29. package/dist/index.d.ts +0 -1
  30. package/dist/index.es.js +0 -89
  31. package/dist/index.umd.js +0 -1
  32. package/dist/ivue.d.ts +0 -247
  33. package/docs/.editorconfig +0 -9
  34. package/docs/.eslintignore +0 -7
  35. package/docs/.eslintrc.js +0 -120
  36. package/docs/.prettierrc +0 -5
  37. package/docs/docs/.vitepress/config.ts +0 -172
  38. package/docs/docs/.vitepress/dist/404.html +0 -21
  39. package/docs/docs/.vitepress/dist/api/ivue.html +0 -24
  40. package/docs/docs/.vitepress/dist/api/propsWithDefaults.html +0 -24
  41. package/docs/docs/.vitepress/dist/assets/api_ivue.md.DyFbv52x.js +0 -1
  42. package/docs/docs/.vitepress/dist/assets/api_ivue.md.DyFbv52x.lean.js +0 -1
  43. package/docs/docs/.vitepress/dist/assets/api_propsWithDefaults.md.C6C7ZBZl.js +0 -1
  44. package/docs/docs/.vitepress/dist/assets/api_propsWithDefaults.md.C6C7ZBZl.lean.js +0 -1
  45. package/docs/docs/.vitepress/dist/assets/app.BEuVrZlt.js +0 -1
  46. package/docs/docs/.vitepress/dist/assets/chunks/@localSearchIndexroot.BuKNEz2z.js +0 -1
  47. package/docs/docs/.vitepress/dist/assets/chunks/Button.vue_vue_type_script_setup_true_lang.Bynntqk6.js +0 -1
  48. package/docs/docs/.vitepress/dist/assets/chunks/VPLocalSearchBox.CrwYL8pk.js +0 -7
  49. package/docs/docs/.vitepress/dist/assets/chunks/framework.CvEKxEoK.js +0 -1
  50. package/docs/docs/.vitepress/dist/assets/chunks/index.es.DRFH_cBG.js +0 -1
  51. package/docs/docs/.vitepress/dist/assets/chunks/theme.CvibXqSO.js +0 -2
  52. package/docs/docs/.vitepress/dist/assets/index.md.mLYKdUe1.js +0 -1
  53. package/docs/docs/.vitepress/dist/assets/index.md.mLYKdUe1.lean.js +0 -1
  54. package/docs/docs/.vitepress/dist/assets/inter-italic-cyrillic-ext.r48I6akx.woff2 +0 -0
  55. package/docs/docs/.vitepress/dist/assets/inter-italic-cyrillic.By2_1cv3.woff2 +0 -0
  56. package/docs/docs/.vitepress/dist/assets/inter-italic-greek-ext.1u6EdAuj.woff2 +0 -0
  57. package/docs/docs/.vitepress/dist/assets/inter-italic-greek.DJ8dCoTZ.woff2 +0 -0
  58. package/docs/docs/.vitepress/dist/assets/inter-italic-latin-ext.CN1xVJS-.woff2 +0 -0
  59. package/docs/docs/.vitepress/dist/assets/inter-italic-latin.C2AdPX0b.woff2 +0 -0
  60. package/docs/docs/.vitepress/dist/assets/inter-italic-vietnamese.BSbpV94h.woff2 +0 -0
  61. package/docs/docs/.vitepress/dist/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2 +0 -0
  62. package/docs/docs/.vitepress/dist/assets/inter-roman-cyrillic.C5lxZ8CY.woff2 +0 -0
  63. package/docs/docs/.vitepress/dist/assets/inter-roman-greek-ext.CqjqNYQ-.woff2 +0 -0
  64. package/docs/docs/.vitepress/dist/assets/inter-roman-greek.BBVDIX6e.woff2 +0 -0
  65. package/docs/docs/.vitepress/dist/assets/inter-roman-latin-ext.4ZJIpNVo.woff2 +0 -0
  66. package/docs/docs/.vitepress/dist/assets/inter-roman-latin.Di8DUHzh.woff2 +0 -0
  67. package/docs/docs/.vitepress/dist/assets/inter-roman-vietnamese.BjW4sHH5.woff2 +0 -0
  68. package/docs/docs/.vitepress/dist/assets/pages_advanced-usage.md.Xwq8hk_w.js +0 -1
  69. package/docs/docs/.vitepress/dist/assets/pages_advanced-usage.md.Xwq8hk_w.lean.js +0 -1
  70. package/docs/docs/.vitepress/dist/assets/pages_api.md.Bo9Kusmf.js +0 -1
  71. package/docs/docs/.vitepress/dist/assets/pages_api.md.Bo9Kusmf.lean.js +0 -1
  72. package/docs/docs/.vitepress/dist/assets/pages_browse-code.md.DtJJKz-E.js +0 -556
  73. package/docs/docs/.vitepress/dist/assets/pages_browse-code.md.DtJJKz-E.lean.js +0 -1
  74. package/docs/docs/.vitepress/dist/assets/pages_getting-started.md.BEgX6PyX.js +0 -563
  75. package/docs/docs/.vitepress/dist/assets/pages_getting-started.md.BEgX6PyX.lean.js +0 -1
  76. package/docs/docs/.vitepress/dist/assets/pages_guidelines.md.D5gNjB3w.js +0 -112
  77. package/docs/docs/.vitepress/dist/assets/pages_guidelines.md.D5gNjB3w.lean.js +0 -112
  78. package/docs/docs/.vitepress/dist/assets/pages_how-it-works.md.YjizQt3g.js +0 -559
  79. package/docs/docs/.vitepress/dist/assets/pages_how-it-works.md.YjizQt3g.lean.js +0 -559
  80. package/docs/docs/.vitepress/dist/assets/pages_how-its-made.md.C02KZK0J.js +0 -1
  81. package/docs/docs/.vitepress/dist/assets/pages_how-its-made.md.C02KZK0J.lean.js +0 -1
  82. package/docs/docs/.vitepress/dist/assets/pages_introduction.md.B6foeVXQ.js +0 -1
  83. package/docs/docs/.vitepress/dist/assets/pages_introduction.md.B6foeVXQ.lean.js +0 -1
  84. package/docs/docs/.vitepress/dist/assets/pages_usage.md.BlTPXw5A.js +0 -591
  85. package/docs/docs/.vitepress/dist/assets/pages_usage.md.BlTPXw5A.lean.js +0 -591
  86. package/docs/docs/.vitepress/dist/assets/style.Dtxde_a0.css +0 -1
  87. package/docs/docs/.vitepress/dist/hashmap.json +0 -1
  88. package/docs/docs/.vitepress/dist/index.html +0 -25
  89. package/docs/docs/.vitepress/dist/pages/advanced-usage.html +0 -24
  90. package/docs/docs/.vitepress/dist/pages/api.html +0 -30
  91. package/docs/docs/.vitepress/dist/pages/browse-code.html +0 -579
  92. package/docs/docs/.vitepress/dist/pages/getting-started.html +0 -586
  93. package/docs/docs/.vitepress/dist/pages/guidelines.html +0 -136
  94. package/docs/docs/.vitepress/dist/pages/how-it-works.html +0 -582
  95. package/docs/docs/.vitepress/dist/pages/how-its-made.html +0 -24
  96. package/docs/docs/.vitepress/dist/pages/introduction.html +0 -25
  97. package/docs/docs/.vitepress/dist/pages/usage.html +0 -615
  98. package/docs/docs/.vitepress/theme/index.js +0 -5
  99. package/docs/docs/.vitepress/theme/main.css +0 -29
  100. package/docs/docs/api/ivue.md +0 -0
  101. package/docs/docs/api/propsWithDefaults.md +0 -0
  102. package/docs/docs/components/Button.vue +0 -13
  103. package/docs/docs/components/Component.vue +0 -20
  104. package/docs/docs/components/advanced-usage/ConvertLegacy.vue +0 -58
  105. package/docs/docs/components/guidelines/CounterExternalRefsDetailed.vue +0 -41
  106. package/docs/docs/components/usage/CounterBasic.vue +0 -18
  107. package/docs/docs/components/usage/CounterComposables.vue +0 -29
  108. package/docs/docs/components/usage/CounterComposablesDestructuring.vue +0 -55
  109. package/docs/docs/components/usage/CounterComposablesIvue.vue +0 -30
  110. package/docs/docs/components/usage/CounterComposablesIvueDestructuring.vue +0 -48
  111. package/docs/docs/components/usage/CounterComputeds.vue +0 -26
  112. package/docs/docs/components/usage/CounterComputedsDisabled.vue +0 -33
  113. package/docs/docs/components/usage/CounterDefineExpose.vue +0 -12
  114. package/docs/docs/components/usage/CounterDefineExposeAdvanced.vue +0 -24
  115. package/docs/docs/components/usage/CounterDefineExposeClass.ts +0 -11
  116. package/docs/docs/components/usage/CounterExternalRefs.vue +0 -27
  117. package/docs/docs/components/usage/CounterInsideComposables.vue +0 -28
  118. package/docs/docs/components/usage/CounterInternalRefs.vue +0 -27
  119. package/docs/docs/components/usage/CounterLifecycleHooks.vue +0 -24
  120. package/docs/docs/components/usage/CounterWatch.vue +0 -30
  121. package/docs/docs/components/usage/CounterWithProps.vue +0 -30
  122. package/docs/docs/components/usage/CounterWithPropsAndEmits.vue +0 -37
  123. package/docs/docs/components/usage/classes/CustomMouse.ts +0 -23
  124. package/docs/docs/components/usage/functions/useCustomMouse.ts +0 -25
  125. package/docs/docs/index.md +0 -53
  126. package/docs/docs/pages/advanced-usage.md +0 -12
  127. package/docs/docs/pages/api.md +0 -129
  128. package/docs/docs/pages/browse-code.md +0 -18
  129. package/docs/docs/pages/getting-started.md +0 -32
  130. package/docs/docs/pages/guidelines.md +0 -139
  131. package/docs/docs/pages/how-it-works.md +0 -65
  132. package/docs/docs/pages/how-its-made.md +0 -32
  133. package/docs/docs/pages/introduction.md +0 -83
  134. package/docs/docs/pages/usage.md +0 -402
  135. package/docs/package.json +0 -37
  136. package/docs/scripts/gh-pages-deploy.js +0 -34
  137. package/docs/vite-env.d.ts +0 -7
  138. package/docs/vite.config.ts +0 -20
  139. package/index.html +0 -14
  140. package/tsconfig.json +0 -25
  141. package/vite-env.d.ts +0 -7
  142. package/vite.config.ts +0 -50
  143. package/vitest.config.ts +0 -19
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ivue",
3
- "version": "1.5.2",
3
+ "version": "1.5.3",
4
4
  "description": "Infinite Vue – Class Based Architecture for Vue 3",
5
5
  "type": "module",
6
6
  "exports": {
@@ -85,6 +85,9 @@
85
85
  "name": "Evgeny Kalashnikov",
86
86
  "email": "ekalashnikov@gmail.com"
87
87
  },
88
+ "files": [
89
+ "lib"
90
+ ],
88
91
  "license": "MIT",
89
92
  "dependencies": {}
90
93
  }
package/.editorconfig DELETED
@@ -1,9 +0,0 @@
1
- root = true
2
-
3
- [*]
4
- charset = utf-8
5
- indent_style = space
6
- indent_size = 2
7
- end_of_line = lf
8
- insert_final_newline = true
9
- trim_trailing_whitespace = true
package/.eslintignore DELETED
@@ -1,7 +0,0 @@
1
- /dist
2
- /src-capacitor
3
- /src-cordova
4
- /.quasar
5
- /node_modules
6
- .eslintrc.js
7
- /src-ssr
package/.eslintrc.js DELETED
@@ -1,120 +0,0 @@
1
- module.exports = {
2
- // https://eslint.org/docs/user-guide/configuring#configuration-cascading-and-hierarchy
3
- // This option interrupts the configuration hierarchy at this file
4
- // Remove this if you have an higher level ESLint config file (it usually happens into a monorepos)
5
- root: true,
6
- // https://eslint.vuejs.org/user-guide/#how-to-use-a-custom-parser
7
- // Must use parserOptions instead of "parser" to allow vue-eslint-parser to keep working
8
- // `parser: 'vue-eslint-parser'` is already included with any 'plugin:vue/**' config and should be omitted
9
- parserOptions: {
10
- parser: require.resolve('@typescript-eslint/parser'),
11
- extraFileExtensions: ['.vue'],
12
- },
13
- env: {
14
- browser: true,
15
- es2021: true,
16
- node: true,
17
- 'vue/setup-compiler-macros': true,
18
- },
19
- // Rules order is important, please avoid shuffling them
20
- extends: [
21
- 'plugin:@typescript-eslint/recommended',
22
- 'plugin:vue/vue3-recommended',
23
- 'prettier',
24
- 'plugin:storybook/recommended',
25
- ],
26
- plugins: [
27
- // required to apply rules which need type information
28
- '@typescript-eslint',
29
- // https://eslint.vuejs.org/user-guide/#why-doesn-t-it-work-on-vue-files
30
- // required to lint *.vue files
31
- 'vue',
32
-
33
- // https://github.com/typescript-eslint/typescript-eslint/issues/389#issuecomment-509292674
34
- // Prettier has not been included as plugin to avoid performance impact
35
- // add it as an extension for your IDE
36
-
37
- 'import',
38
- ],
39
-
40
- globals: {
41
- ga: 'readonly',
42
- // Google Analytics
43
- cordova: 'readonly',
44
- __statics: 'readonly',
45
- __QUASAR_SSR__: 'readonly',
46
- __QUASAR_SSR_SERVER__: 'readonly',
47
- __QUASAR_SSR_CLIENT__: 'readonly',
48
- __QUASAR_SSR_PWA__: 'readonly',
49
- process: 'readonly',
50
- Capacitor: 'readonly',
51
- chrome: 'readonly',
52
- },
53
- // add your custom rules here
54
- rules: {
55
- 'prefer-promise-reject-errors': 'off',
56
- quotes: [
57
- 'warn',
58
- 'single',
59
- {
60
- avoidEscape: true,
61
- },
62
- ],
63
- // this rule, if on, would require explicit return type on the `render` function
64
- '@typescript-eslint/explicit-function-return-type': 'off',
65
- // in plain CommonJS modules, you can't use `import foo = require('foo')` to pass this rule, so it has to be disabled
66
- '@typescript-eslint/no-var-requires': 'off',
67
-
68
- '@typescript-eslint/no-empty-function': 'off',
69
- // allow type any
70
- '@typescript-eslint/no-explicit-any': 'off',
71
- 'vue/no-v-html': 'off',
72
- // The core 'no-unused-vars' rules (in the eslint:recommended ruleset)
73
- // does not work with type definitions
74
- 'no-unused-vars': 'off',
75
- // allow debugger during development only
76
- 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
77
- 'sort-imports': [
78
- 'warn',
79
- {
80
- ignoreCase: false,
81
- // don"t want to sort import lines, use eslint-plugin-import instead
82
- ignoreDeclarationSort: true,
83
- ignoreMemberSort: false,
84
- memberSyntaxSortOrder: ['none', 'all', 'multiple', 'single'],
85
- allowSeparatedGroups: true,
86
- },
87
- ],
88
- 'import/no-duplicates': ['error'],
89
- 'import/order': [
90
- 'warn',
91
- {
92
- // https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/order.md
93
- groups: [['builtin', 'external', 'internal']],
94
- pathGroups: [
95
- {
96
- pattern: 'lib/**',
97
- group: 'internal',
98
- position: 'after',
99
- },
100
- ],
101
- pathGroupsExcludedImportTypes: ['builtin'],
102
- 'newlines-between': 'always',
103
- alphabetize: {
104
- order: 'asc',
105
- caseInsensitive: true,
106
- },
107
- },
108
- ],
109
- },
110
- overrides: [
111
- {
112
- files: ['test/cypress/**/*.{js,jsx,ts,tsx}', '**/*.cy.{js,jsx,ts,tsx}'],
113
- extends: [
114
- // Add Cypress-specific lint rules, globals and Cypress plugin
115
- // See https://github.com/cypress-io/eslint-plugin-cypress#rules
116
- 'plugin:cypress/recommended',
117
- ],
118
- },
119
- ],
120
- };
@@ -1,68 +0,0 @@
1
- name: ci
2
- on: [ push ]
3
-
4
- jobs:
5
- build:
6
- name: vitest
7
- runs-on: ubuntu-latest
8
- steps:
9
- - uses: actions/checkout@v3
10
-
11
- - name: Set Node.js 18.x
12
- uses: actions/setup-node@v3
13
- with:
14
- node-version: 18.x
15
-
16
- - name: yarn install
17
- uses: borales/actions-yarn@v4
18
- with:
19
- cmd: install # will run `yarn install` command
20
- # dir: 'ivue'
21
- - name: vitest ivue
22
- uses: borales/actions-yarn@v4
23
- with:
24
- cmd: test # will run `yarn test` command
25
- # dir: 'ivue'
26
- docs-deploy:
27
- name: deploy docs
28
- runs-on: ubuntu-latest
29
- steps:
30
- - uses: actions/checkout@v3
31
-
32
- - name: Set Node.js 18.x
33
- uses: actions/setup-node@v3
34
- with:
35
- node-version: 18.x
36
-
37
- - name: Setup git
38
- run: |
39
- git config user.name "Evgeny Kalashnikov" && git config user.email "ekalashnikov@gmail.com"
40
- - name: yarn install
41
- uses: borales/actions-yarn@v4
42
- with:
43
- cmd: install # will run `yarn install` command
44
- dir: 'docs'
45
- - name: deploy docs
46
- uses: borales/actions-yarn@v4
47
- with:
48
- cmd: deploy # will run `yarn deploy` command
49
- dir: 'docs'
50
- # docs-deploy:
51
- # name: Deploying to gh-pages
52
- # runs-on: ubuntu-latest
53
- # steps:
54
- # - name: Setup Node.js for use with actions
55
- # uses: actions/setup-node@v2
56
- # with:
57
- # version: 12.x
58
- # - name: Checkout branch
59
- # uses: actions/checkout@v2
60
- #
61
- # - name: Clean install dependencies
62
- # run: npm ci
63
- #
64
- # - name: Run deploy script
65
- # run: |
66
- # git config user.name "Evgeny Kalashnikov" && git config user.email "ekalashnikov@gmail.com"
67
- #
68
- # cmd: deploy
@@ -1,65 +0,0 @@
1
- <component name="ProjectCodeStyleConfiguration">
2
- <code_scheme name="Project" version="173">
3
- <HTMLCodeStyleSettings>
4
- <option name="HTML_SPACE_INSIDE_EMPTY_TAG" value="true" />
5
- </HTMLCodeStyleSettings>
6
- <JSCodeStyleSettings version="0">
7
- <option name="FORCE_SEMICOLON_STYLE" value="true" />
8
- <option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
9
- <option name="USE_DOUBLE_QUOTES" value="false" />
10
- <option name="FORCE_QUOTE_STYlE" value="true" />
11
- <option name="ENFORCE_TRAILING_COMMA" value="Remove" />
12
- <option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
13
- <option name="SPACES_WITHIN_IMPORTS" value="true" />
14
- <option name="BLANK_LINES_AROUND_FUNCTION" value="0" />
15
- </JSCodeStyleSettings>
16
- <TypeScriptCodeStyleSettings version="0">
17
- <option name="FORCE_SEMICOLON_STYLE" value="true" />
18
- <option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
19
- <option name="USE_DOUBLE_QUOTES" value="false" />
20
- <option name="FORCE_QUOTE_STYlE" value="true" />
21
- <option name="ENFORCE_TRAILING_COMMA" value="Remove" />
22
- <option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
23
- <option name="SPACES_WITHIN_IMPORTS" value="true" />
24
- <option name="BLANK_LINES_AROUND_FUNCTION" value="0" />
25
- </TypeScriptCodeStyleSettings>
26
- <VueCodeStyleSettings>
27
- <option name="INTERPOLATION_NEW_LINE_AFTER_START_DELIMITER" value="false" />
28
- <option name="INTERPOLATION_NEW_LINE_BEFORE_END_DELIMITER" value="false" />
29
- </VueCodeStyleSettings>
30
- <codeStyleSettings language="HTML">
31
- <option name="SOFT_MARGINS" value="80" />
32
- <indentOptions>
33
- <option name="INDENT_SIZE" value="2" />
34
- <option name="CONTINUATION_INDENT_SIZE" value="2" />
35
- <option name="TAB_SIZE" value="2" />
36
- </indentOptions>
37
- </codeStyleSettings>
38
- <codeStyleSettings language="JavaScript">
39
- <option name="BLANK_LINES_AROUND_METHOD" value="0" />
40
- <option name="SOFT_MARGINS" value="80" />
41
- <indentOptions>
42
- <option name="INDENT_SIZE" value="2" />
43
- <option name="CONTINUATION_INDENT_SIZE" value="2" />
44
- <option name="TAB_SIZE" value="2" />
45
- </indentOptions>
46
- </codeStyleSettings>
47
- <codeStyleSettings language="TypeScript">
48
- <option name="BLANK_LINES_AROUND_METHOD" value="0" />
49
- <option name="BLANK_LINES_AROUND_METHOD_IN_INTERFACE" value="0" />
50
- <option name="SPACE_BEFORE_METHOD_PARENTHESES" value="true" />
51
- <option name="SOFT_MARGINS" value="80" />
52
- <indentOptions>
53
- <option name="INDENT_SIZE" value="2" />
54
- <option name="CONTINUATION_INDENT_SIZE" value="2" />
55
- <option name="TAB_SIZE" value="2" />
56
- </indentOptions>
57
- </codeStyleSettings>
58
- <codeStyleSettings language="Vue">
59
- <option name="SOFT_MARGINS" value="80" />
60
- <indentOptions>
61
- <option name="CONTINUATION_INDENT_SIZE" value="2" />
62
- </indentOptions>
63
- </codeStyleSettings>
64
- </code_scheme>
65
- </component>
@@ -1,5 +0,0 @@
1
- <component name="ProjectCodeStyleConfiguration">
2
- <state>
3
- <option name="USE_PER_PROJECT_SETTINGS" value="true" />
4
- </state>
5
- </component>
@@ -1,6 +0,0 @@
1
- <component name="InspectionProjectProfileManager">
2
- <profile version="1.0">
3
- <option name="myName" value="Project Default" />
4
- <inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
5
- </profile>
6
- </component>
package/.idea/ivue.iml DELETED
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="WEB_MODULE" version="4">
3
- <component name="NewModuleRootManager">
4
- <content url="file://$MODULE_DIR$" />
5
- <orderEntry type="inheritedJdk" />
6
- <orderEntry type="sourceFolder" forTests="false" />
7
- </component>
8
- </module>
package/.idea/modules.xml DELETED
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectModuleManager">
4
- <modules>
5
- <module fileurl="file://$PROJECT_DIR$/.idea/ivue.iml" filepath="$PROJECT_DIR$/.idea/ivue.iml" />
6
- </modules>
7
- </component>
8
- </project>
package/.idea/php.xml DELETED
@@ -1,19 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="MessDetectorOptionsConfiguration">
4
- <option name="transferred" value="true" />
5
- </component>
6
- <component name="PHPCSFixerOptionsConfiguration">
7
- <option name="transferred" value="true" />
8
- </component>
9
- <component name="PHPCodeSnifferOptionsConfiguration">
10
- <option name="highlightLevel" value="WARNING" />
11
- <option name="transferred" value="true" />
12
- </component>
13
- <component name="PhpStanOptionsConfiguration">
14
- <option name="transferred" value="true" />
15
- </component>
16
- <component name="PsalmOptionsConfiguration">
17
- <option name="transferred" value="true" />
18
- </component>
19
- </project>
package/.idea/vcs.xml DELETED
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="VcsDirectoryMappings">
4
- <mapping directory="" vcs="Git" />
5
- </component>
6
- </project>
package/.prettierrc DELETED
@@ -1,5 +0,0 @@
1
- {
2
- "printWidth": 80,
3
- "singleQuote": true,
4
- "semi": true
5
- }
package/coverage/base.css DELETED
@@ -1,224 +0,0 @@
1
- body, html {
2
- margin:0; padding: 0;
3
- height: 100%;
4
- }
5
- body {
6
- font-family: Helvetica Neue, Helvetica, Arial;
7
- font-size: 14px;
8
- color:#333;
9
- }
10
- .small { font-size: 12px; }
11
- *, *:after, *:before {
12
- -webkit-box-sizing:border-box;
13
- -moz-box-sizing:border-box;
14
- box-sizing:border-box;
15
- }
16
- h1 { font-size: 20px; margin: 0;}
17
- h2 { font-size: 14px; }
18
- pre {
19
- font: 12px/1.4 Consolas, "Liberation Mono", Menlo, Courier, monospace;
20
- margin: 0;
21
- padding: 0;
22
- -moz-tab-size: 2;
23
- -o-tab-size: 2;
24
- tab-size: 2;
25
- }
26
- a { color:#0074D9; text-decoration:none; }
27
- a:hover { text-decoration:underline; }
28
- .strong { font-weight: bold; }
29
- .space-top1 { padding: 10px 0 0 0; }
30
- .pad2y { padding: 20px 0; }
31
- .pad1y { padding: 10px 0; }
32
- .pad2x { padding: 0 20px; }
33
- .pad2 { padding: 20px; }
34
- .pad1 { padding: 10px; }
35
- .space-left2 { padding-left:55px; }
36
- .space-right2 { padding-right:20px; }
37
- .center { text-align:center; }
38
- .clearfix { display:block; }
39
- .clearfix:after {
40
- content:'';
41
- display:block;
42
- height:0;
43
- clear:both;
44
- visibility:hidden;
45
- }
46
- .fl { float: left; }
47
- @media only screen and (max-width:640px) {
48
- .col3 { width:100%; max-width:100%; }
49
- .hide-mobile { display:none!important; }
50
- }
51
-
52
- .quiet {
53
- color: #7f7f7f;
54
- color: rgba(0,0,0,0.5);
55
- }
56
- .quiet a { opacity: 0.7; }
57
-
58
- .fraction {
59
- font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
60
- font-size: 10px;
61
- color: #555;
62
- background: #E8E8E8;
63
- padding: 4px 5px;
64
- border-radius: 3px;
65
- vertical-align: middle;
66
- }
67
-
68
- div.path a:link, div.path a:visited { color: #333; }
69
- table.coverage {
70
- border-collapse: collapse;
71
- margin: 10px 0 0 0;
72
- padding: 0;
73
- }
74
-
75
- table.coverage td {
76
- margin: 0;
77
- padding: 0;
78
- vertical-align: top;
79
- }
80
- table.coverage td.line-count {
81
- text-align: right;
82
- padding: 0 5px 0 20px;
83
- }
84
- table.coverage td.line-coverage {
85
- text-align: right;
86
- padding-right: 10px;
87
- min-width:20px;
88
- }
89
-
90
- table.coverage td span.cline-any {
91
- display: inline-block;
92
- padding: 0 5px;
93
- width: 100%;
94
- }
95
- .missing-if-branch {
96
- display: inline-block;
97
- margin-right: 5px;
98
- border-radius: 3px;
99
- position: relative;
100
- padding: 0 4px;
101
- background: #333;
102
- color: yellow;
103
- }
104
-
105
- .skip-if-branch {
106
- display: none;
107
- margin-right: 10px;
108
- position: relative;
109
- padding: 0 4px;
110
- background: #ccc;
111
- color: white;
112
- }
113
- .missing-if-branch .typ, .skip-if-branch .typ {
114
- color: inherit !important;
115
- }
116
- .coverage-summary {
117
- border-collapse: collapse;
118
- width: 100%;
119
- }
120
- .coverage-summary tr { border-bottom: 1px solid #bbb; }
121
- .keyline-all { border: 1px solid #ddd; }
122
- .coverage-summary td, .coverage-summary th { padding: 10px; }
123
- .coverage-summary tbody { border: 1px solid #bbb; }
124
- .coverage-summary td { border-right: 1px solid #bbb; }
125
- .coverage-summary td:last-child { border-right: none; }
126
- .coverage-summary th {
127
- text-align: left;
128
- font-weight: normal;
129
- white-space: nowrap;
130
- }
131
- .coverage-summary th.file { border-right: none !important; }
132
- .coverage-summary th.pct { }
133
- .coverage-summary th.pic,
134
- .coverage-summary th.abs,
135
- .coverage-summary td.pct,
136
- .coverage-summary td.abs { text-align: right; }
137
- .coverage-summary td.file { white-space: nowrap; }
138
- .coverage-summary td.pic { min-width: 120px !important; }
139
- .coverage-summary tfoot td { }
140
-
141
- .coverage-summary .sorter {
142
- height: 10px;
143
- width: 7px;
144
- display: inline-block;
145
- margin-left: 0.5em;
146
- background: url(sort-arrow-sprite.png) no-repeat scroll 0 0 transparent;
147
- }
148
- .coverage-summary .sorted .sorter {
149
- background-position: 0 -20px;
150
- }
151
- .coverage-summary .sorted-desc .sorter {
152
- background-position: 0 -10px;
153
- }
154
- .status-line { height: 10px; }
155
- /* yellow */
156
- .cbranch-no { background: yellow !important; color: #111; }
157
- /* dark red */
158
- .red.solid, .status-line.low, .low .cover-fill { background:#C21F39 }
159
- .low .chart { border:1px solid #C21F39 }
160
- .highlighted,
161
- .highlighted .cstat-no, .highlighted .fstat-no, .highlighted .cbranch-no{
162
- background: #C21F39 !important;
163
- }
164
- /* medium red */
165
- .cstat-no, .fstat-no, .cbranch-no, .cbranch-no { background:#F6C6CE }
166
- /* light red */
167
- .low, .cline-no { background:#FCE1E5 }
168
- /* light green */
169
- .high, .cline-yes { background:rgb(230,245,208) }
170
- /* medium green */
171
- .cstat-yes { background:rgb(161,215,106) }
172
- /* dark green */
173
- .status-line.high, .high .cover-fill { background:rgb(77,146,33) }
174
- .high .chart { border:1px solid rgb(77,146,33) }
175
- /* dark yellow (gold) */
176
- .status-line.medium, .medium .cover-fill { background: #f9cd0b; }
177
- .medium .chart { border:1px solid #f9cd0b; }
178
- /* light yellow */
179
- .medium { background: #fff4c2; }
180
-
181
- .cstat-skip { background: #ddd; color: #111; }
182
- .fstat-skip { background: #ddd; color: #111 !important; }
183
- .cbranch-skip { background: #ddd !important; color: #111; }
184
-
185
- span.cline-neutral { background: #eaeaea; }
186
-
187
- .coverage-summary td.empty {
188
- opacity: .5;
189
- padding-top: 4px;
190
- padding-bottom: 4px;
191
- line-height: 1;
192
- color: #888;
193
- }
194
-
195
- .cover-fill, .cover-empty {
196
- display:inline-block;
197
- height: 12px;
198
- }
199
- .chart {
200
- line-height: 0;
201
- }
202
- .cover-empty {
203
- background: white;
204
- }
205
- .cover-full {
206
- border-right: none !important;
207
- }
208
- pre.prettyprint {
209
- border: none !important;
210
- padding: 0 !important;
211
- margin: 0 !important;
212
- }
213
- .com { color: #999 !important; }
214
- .ignore-none { color: #999; font-weight: normal; }
215
-
216
- .wrapper {
217
- min-height: 100%;
218
- height: auto !important;
219
- height: 100%;
220
- margin: 0 auto -48px;
221
- }
222
- .footer, .push {
223
- height: 48px;
224
- }
@@ -1,87 +0,0 @@
1
- /* eslint-disable */
2
- var jumpToCode = (function init() {
3
- // Classes of code we would like to highlight in the file view
4
- var missingCoverageClasses = ['.cbranch-no', '.cstat-no', '.fstat-no'];
5
-
6
- // Elements to highlight in the file listing view
7
- var fileListingElements = ['td.pct.low'];
8
-
9
- // We don't want to select elements that are direct descendants of another match
10
- var notSelector = ':not(' + missingCoverageClasses.join('):not(') + ') > '; // becomes `:not(a):not(b) > `
11
-
12
- // Selecter that finds elements on the page to which we can jump
13
- var selector =
14
- fileListingElements.join(', ') +
15
- ', ' +
16
- notSelector +
17
- missingCoverageClasses.join(', ' + notSelector); // becomes `:not(a):not(b) > a, :not(a):not(b) > b`
18
-
19
- // The NodeList of matching elements
20
- var missingCoverageElements = document.querySelectorAll(selector);
21
-
22
- var currentIndex;
23
-
24
- function toggleClass(index) {
25
- missingCoverageElements
26
- .item(currentIndex)
27
- .classList.remove('highlighted');
28
- missingCoverageElements.item(index).classList.add('highlighted');
29
- }
30
-
31
- function makeCurrent(index) {
32
- toggleClass(index);
33
- currentIndex = index;
34
- missingCoverageElements.item(index).scrollIntoView({
35
- behavior: 'smooth',
36
- block: 'center',
37
- inline: 'center'
38
- });
39
- }
40
-
41
- function goToPrevious() {
42
- var nextIndex = 0;
43
- if (typeof currentIndex !== 'number' || currentIndex === 0) {
44
- nextIndex = missingCoverageElements.length - 1;
45
- } else if (missingCoverageElements.length > 1) {
46
- nextIndex = currentIndex - 1;
47
- }
48
-
49
- makeCurrent(nextIndex);
50
- }
51
-
52
- function goToNext() {
53
- var nextIndex = 0;
54
-
55
- if (
56
- typeof currentIndex === 'number' &&
57
- currentIndex < missingCoverageElements.length - 1
58
- ) {
59
- nextIndex = currentIndex + 1;
60
- }
61
-
62
- makeCurrent(nextIndex);
63
- }
64
-
65
- return function jump(event) {
66
- if (
67
- document.getElementById('fileSearch') === document.activeElement &&
68
- document.activeElement != null
69
- ) {
70
- // if we're currently focused on the search input, we don't want to navigate
71
- return;
72
- }
73
-
74
- switch (event.which) {
75
- case 78: // n
76
- case 74: // j
77
- goToNext();
78
- break;
79
- case 66: // b
80
- case 75: // k
81
- case 80: // p
82
- goToPrevious();
83
- break;
84
- }
85
- };
86
- })();
87
- window.addEventListener('keydown', jumpToCode);