quasar-ui-danx 0.3.21 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. package/.eslintrc.cjs +32 -30
  2. package/danx-local.sh +1 -1
  3. package/dist/danx.es.js +7490 -7520
  4. package/dist/danx.es.js.map +1 -1
  5. package/dist/danx.umd.js +5 -5
  6. package/dist/danx.umd.js.map +1 -1
  7. package/dist/style.css +1 -1
  8. package/package.json +1 -1
  9. package/src/components/ActionTable/ActionMenu.vue +1 -1
  10. package/src/components/ActionTable/ActionTable.vue +64 -45
  11. package/src/components/ActionTable/{ActionTableColumn.vue → Columns/ActionTableColumn.vue} +4 -3
  12. package/src/components/ActionTable/{ActionTableHeaderColumn.vue → Columns/ActionTableHeaderColumn.vue} +2 -2
  13. package/src/components/ActionTable/Columns/index.ts +2 -0
  14. package/src/components/ActionTable/Filters/CollapsableFiltersSidebar.vue +22 -21
  15. package/src/components/ActionTable/Form/Fields/DateRangeField.vue +3 -5
  16. package/src/components/ActionTable/Form/Fields/FileUploadButton.vue +33 -35
  17. package/src/components/ActionTable/Form/Fields/TextField.vue +36 -36
  18. package/src/components/ActionTable/Form/RenderedForm.vue +137 -112
  19. package/src/components/ActionTable/Form/form.d.ts +31 -0
  20. package/src/components/ActionTable/Layouts/ActionTableLayout.vue +88 -4
  21. package/src/components/ActionTable/TableSummaryRow.vue +4 -4
  22. package/src/components/ActionTable/Toolbars/ActionToolbar.vue +46 -0
  23. package/src/components/ActionTable/Toolbars/index.ts +1 -0
  24. package/src/components/ActionTable/index.ts +1 -2
  25. package/src/components/ActionTable/listControls.ts +512 -385
  26. package/src/components/ActionTable/listHelpers.ts +46 -44
  27. package/src/components/PanelsDrawer/PanelsDrawer.vue +37 -26
  28. package/src/components/PanelsDrawer/PanelsDrawerPanels.vue +1 -1
  29. package/src/components/PanelsDrawer/PanelsDrawerTabs.vue +1 -6
  30. package/src/components/Utility/Buttons/ExportButton.vue +1 -1
  31. package/src/components/Utility/Buttons/RefreshButton.vue +5 -5
  32. package/src/components/Utility/Controls/PreviousNextControls.vue +4 -4
  33. package/src/components/Utility/Layouts/CollapsableSidebar.vue +2 -8
  34. package/src/components/Utility/Popovers/PopoverMenu.vue +3 -3
  35. package/src/helpers/actions.ts +197 -187
  36. package/src/styles/general.scss +12 -11
  37. package/src/styles/quasar-reset.scss +59 -11
  38. package/src/styles/themes/danx/action-table.scss +19 -0
  39. package/src/styles/themes/danx/buttons.scss +13 -0
  40. package/src/styles/themes/danx/forms.scss +5 -0
  41. package/src/styles/themes/danx/index.scss +3 -0
  42. package/src/styles/themes/danx/panels.scss +19 -0
  43. package/src/styles/themes/danx/sidebar.scss +3 -0
  44. package/src/styles/themes/danx/toolbar.scss +3 -0
  45. package/types/index.d.ts +1 -0
  46. package/src/styles/actions.scss +0 -10
package/.eslintrc.cjs CHANGED
@@ -1,37 +1,39 @@
1
1
  module.exports = {
2
- root: true,
2
+ root: true,
3
3
 
4
- parser: "vue-eslint-parser",
5
- parserOptions: {
6
- ecmaVersion: "latest",
7
- sourceType: "module",
8
- parser: "@typescript-eslint/parser",
9
- project: "./tsconfig.json", // Specify it only for TypeScript files
10
- extraFileExtensions: [".vue"]
11
- },
4
+ parser: "vue-eslint-parser",
5
+ parserOptions: {
6
+ ecmaVersion: "latest",
7
+ sourceType: "module",
8
+ parser: "@typescript-eslint/parser",
9
+ project: "./tsconfig.json", // Specify it only for TypeScript files
10
+ extraFileExtensions: [".vue"]
11
+ },
12
12
 
13
- env: {
14
- node: true,
15
- browser: true,
16
- "vue/setup-compiler-macros": true
17
- },
13
+ env: {
14
+ node: true,
15
+ browser: true,
16
+ "vue/setup-compiler-macros": true
17
+ },
18
18
 
19
- extends: [
20
- "eslint:recommended",
21
- "plugin:vue/vue3-recommended", // Priority C: Recommended
22
- "plugin:@typescript-eslint/recommended"
23
- ],
19
+ extends: [
20
+ "eslint:recommended",
21
+ "plugin:vue/vue3-recommended", // Priority C: Recommended
22
+ "plugin:@typescript-eslint/recommended"
23
+ ],
24
24
 
25
- plugins: [
26
- "vue",
27
- "@typescript-eslint",
28
- "import"
29
- ],
25
+ plugins: [
26
+ "vue",
27
+ "@typescript-eslint",
28
+ "import"
29
+ ],
30
30
 
31
- rules: {
32
- "prefer-promise-reject-errors": "off",
33
- "no-debugger":
34
- process.env.NODE_ENV === "production" ? "error" : "off",
35
- "import/extensions": ["error", "never"]
36
- }
31
+ rules: {
32
+ "prefer-promise-reject-errors": "off",
33
+ "no-debugger":
34
+ process.env.NODE_ENV === "production" ? "error" : "off",
35
+ "import/extensions": ["error", "never"],
36
+ // allow any
37
+ "@typescript-eslint/no-explicit-any": "off"
38
+ }
37
39
  };
package/danx-local.sh CHANGED
@@ -4,7 +4,7 @@ set +x
4
4
 
5
5
  # Resolve path to quasar-ui-danx (can be up 1 or 2 directories)
6
6
  # shellcheck disable=SC2046
7
- DANX_PATH="$(realpath $(find ../.. -maxdepth 2 -type d -name "quasar-ui-danx" | head -n 1))/ui/src"
7
+ DANX_PATH="$(realpath $(find ../.. -maxdepth 2 -type d -name "quasar-ui-danx" | head -n 1))/ui"
8
8
  MODULE_PATH="$(pwd)/node_modules/quasar-ui-danx"
9
9
 
10
10
  # symlink ../quasar-ui-danx to node_modules/quasar-ui-danx if the directory exists