quasar-ui-danx 0.3.22 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. package/.eslintrc.cjs +32 -30
  2. package/danx-local.sh +1 -1
  3. package/dist/danx.es.js +7413 -7461
  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 +67 -47
  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 +23 -21
  15. package/src/components/ActionTable/Form/Fields/DateRangeField.vue +3 -5
  16. package/src/components/ActionTable/Form/Fields/NumberField.vue +60 -59
  17. package/src/components/ActionTable/Form/Fields/SelectField.vue +135 -135
  18. package/src/components/ActionTable/Form/Fields/TextField.vue +36 -36
  19. package/src/components/ActionTable/Form/RenderedForm.vue +133 -112
  20. package/src/components/ActionTable/Form/form.d.ts +31 -0
  21. package/src/components/ActionTable/Layouts/ActionTableLayout.vue +93 -4
  22. package/src/components/ActionTable/TableSummaryRow.vue +4 -4
  23. package/src/components/ActionTable/Toolbars/ActionToolbar.vue +46 -0
  24. package/src/components/ActionTable/Toolbars/index.ts +1 -0
  25. package/src/components/ActionTable/index.ts +1 -2
  26. package/src/components/ActionTable/listControls.ts +512 -385
  27. package/src/components/ActionTable/listHelpers.ts +46 -44
  28. package/src/components/ActionTable/tableColumns.ts +66 -66
  29. package/src/components/PanelsDrawer/PanelsDrawer.vue +37 -26
  30. package/src/components/PanelsDrawer/PanelsDrawerPanels.vue +1 -1
  31. package/src/components/PanelsDrawer/PanelsDrawerTabs.vue +1 -6
  32. package/src/components/Utility/Buttons/ExportButton.vue +1 -1
  33. package/src/components/Utility/Buttons/RefreshButton.vue +5 -5
  34. package/src/components/Utility/Controls/PreviousNextControls.vue +4 -4
  35. package/src/components/Utility/Dialogs/ConfirmDialog.vue +69 -115
  36. package/src/components/Utility/Dialogs/DialogLayout.vue +95 -0
  37. package/src/components/Utility/Dialogs/InfoDialog.vue +40 -80
  38. package/src/components/Utility/Layouts/CollapsableSidebar.vue +2 -8
  39. package/src/components/Utility/Popovers/PopoverMenu.vue +3 -3
  40. package/src/components/Utility/Tools/RenderVnode.vue +21 -12
  41. package/src/helpers/actions.ts +198 -188
  42. package/src/styles/general.scss +12 -11
  43. package/src/styles/quasar-reset.scss +81 -22
  44. package/src/styles/themes/danx/action-table.scss +19 -0
  45. package/src/styles/themes/danx/buttons.scss +13 -0
  46. package/src/styles/themes/danx/dialogs.scss +43 -0
  47. package/src/styles/themes/danx/forms.scss +23 -0
  48. package/src/styles/themes/danx/index.scss +7 -0
  49. package/src/styles/themes/danx/panels.scss +19 -0
  50. package/src/styles/themes/danx/sidebar.scss +3 -0
  51. package/src/styles/themes/danx/toolbar.scss +3 -0
  52. package/types/index.d.ts +1 -0
  53. 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