shared-ritm 1.3.37 → 1.3.39

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 (65) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/shared-ritm.es.js +2189 -2166
  3. package/dist/shared-ritm.umd.js +273 -273
  4. package/dist/types/common/app-button/Button.stories.d.ts +13 -0
  5. package/dist/types/common/app-checkbox/Checkbox.stories.d.ts +8 -0
  6. package/dist/types/common/app-date-picker/DatePicker.stories.d.ts +7 -0
  7. package/dist/types/common/app-datepicker/Datepicker.stories.d.ts +10 -0
  8. package/dist/types/common/app-dialogs/Confirm.stories.d.ts +8 -0
  9. package/dist/types/common/app-dropdown/Dropdown.stories.d.ts +8 -0
  10. package/dist/types/common/app-file/File.stories.d.ts +8 -0
  11. package/dist/types/common/app-icon/Icon.stories.d.ts +7 -0
  12. package/dist/types/common/app-input/Input.stories.d.ts +9 -0
  13. package/dist/types/common/app-input-new/InputNew.stories.d.ts +12 -0
  14. package/dist/types/common/app-input-search/InputSearch.stories.d.ts +8 -0
  15. package/dist/types/common/app-loader/Loader.stories.d.ts +8 -0
  16. package/dist/types/common/app-select/Select.stories.d.ts +7 -0
  17. package/dist/types/common/app-table/components/ModalSelect.stories.d.ts +10 -0
  18. package/dist/types/common/app-toggle/Toggle.stories.d.ts +8 -0
  19. package/dist/types/configs/storybook.d.ts +1 -0
  20. package/package.json +70 -64
  21. package/src/App.vue +2461 -2461
  22. package/src/api/services/ControlsService.ts +96 -96
  23. package/src/api/services/EquipmentService.ts +29 -29
  24. package/src/api/services/GanttService.ts +23 -23
  25. package/src/api/services/MetricsService.ts +123 -123
  26. package/src/api/services/RepairsService.ts +111 -111
  27. package/src/api/services/TasksService.ts +157 -157
  28. package/src/api/services/UserService.ts +123 -123
  29. package/src/api/services/VideoService.ts +118 -118
  30. package/src/api/types/Api_Metrics.ts +5 -5
  31. package/src/api/types/Api_Repairs.ts +186 -186
  32. package/src/api/types/Api_Tasks.ts +376 -376
  33. package/src/api/types/Api_Video.ts +244 -244
  34. package/src/common/app-button/Button.stories.ts +369 -0
  35. package/src/common/app-checkbox/Checkbox.stories.ts +60 -0
  36. package/src/common/app-date-picker/DatePicker.stories.ts +66 -0
  37. package/src/common/app-datepicker/Datepicker.stories.ts +145 -0
  38. package/src/common/app-dialogs/AppConfirmDialog.vue +109 -109
  39. package/src/common/app-dialogs/Confirm.stories.ts +93 -0
  40. package/src/common/app-dropdown/Dropdown.stories.ts +94 -0
  41. package/src/common/app-file/File.stories.ts +104 -0
  42. package/src/common/app-icon/AppIcon.vue +108 -108
  43. package/src/common/app-icon/Icon.stories.ts +91 -0
  44. package/src/common/app-input/Input.stories.ts +160 -0
  45. package/src/common/app-input-new/InputNew.stories.ts +240 -0
  46. package/src/common/app-input-search/InputSearch.stories.ts +149 -0
  47. package/src/common/app-layout/components/AppLayoutHeader.vue +289 -273
  48. package/src/common/app-loader/Loader.stories.ts +114 -0
  49. package/src/common/app-select/AppSelect.vue +159 -159
  50. package/src/common/app-select/Select.stories.ts +155 -0
  51. package/src/common/app-sidebar/AppSidebar.vue +174 -174
  52. package/src/common/app-table/AppTable.vue +313 -313
  53. package/src/common/app-table/components/ModalSelect.stories.ts +323 -0
  54. package/src/common/app-table/components/ModalSelect.vue +302 -298
  55. package/src/common/app-table/components/TableModal.vue +367 -367
  56. package/src/common/app-table/controllers/useColumnSelector.ts +45 -45
  57. package/src/common/app-table/controllers/useTableModel.ts +97 -102
  58. package/src/common/app-toggle/Toggle.stories.ts +69 -0
  59. package/src/common/app-wrapper/AppWrapper.vue +31 -28
  60. package/src/configs/storybook.ts +14 -0
  61. package/src/index.ts +131 -131
  62. package/src/shared/styles/general.css +140 -124
  63. package/src/styles/variables.sass +12 -12
  64. package/src/utils/helpers.ts +59 -59
  65. package/dist/types/api/services/PhotoService.d.ts +0 -40
@@ -0,0 +1,13 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import AppButton from '@/common/app-button/AppButton.vue';
3
+ declare const meta: Meta<typeof AppButton>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof AppButton>;
6
+ export declare const Primary: Story;
7
+ export declare const Size: Story;
8
+ export declare const Icon: Story;
9
+ export declare const Badge: Story;
10
+ export declare const Align: Story;
11
+ export declare const Spacing: Story;
12
+ export declare const Rounding: Story;
13
+ export declare const Other: Story;
@@ -0,0 +1,8 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import AppCheckbox from '@/common/app-checkbox/AppCheckbox.vue';
3
+ declare const meta: Meta<typeof AppCheckbox>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof AppCheckbox>;
6
+ export declare const Default: Story;
7
+ export declare const States: Story;
8
+ export declare const WithBinding: Story;
@@ -0,0 +1,7 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import DatePicker from '@/common/app-date-picker/AppDatePicker.vue';
3
+ declare const meta: Meta<typeof DatePicker>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof DatePicker>;
6
+ export declare const Default: Story;
7
+ export declare const States: Story;
@@ -0,0 +1,10 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import AppDatepicker from './AppDatepicker.vue';
3
+ declare const meta: Meta<typeof AppDatepicker>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof AppDatepicker>;
6
+ export declare const Default: Story;
7
+ export declare const DateTimeModes: Story;
8
+ export declare const DateRestrictions: Story;
9
+ export declare const States: Story;
10
+ export declare const TimeFormat: Story;
@@ -0,0 +1,8 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import AppDialog from '@/common/app-dialogs/AppConfirmDialog.vue';
3
+ declare const meta: Meta<typeof AppDialog>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof AppDialog>;
6
+ export declare const Edit: Story;
7
+ export declare const Delete: Story;
8
+ export declare const CustomMessage: Story;
@@ -0,0 +1,8 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import AppDropdown from '@/common/app-dropdown/AppDropdown.vue';
3
+ declare const meta: Meta<typeof AppDropdown>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof AppDropdown>;
6
+ export declare const Default: Story;
7
+ export declare const WithSlots: Story;
8
+ export declare const ContentSize: Story;
@@ -0,0 +1,8 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import AppFile from '@/common/app-file/AppFile.vue';
3
+ declare const meta: Meta<typeof AppFile>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof AppFile>;
6
+ export declare const SingleFile: Story;
7
+ export declare const MultipleFiles: Story;
8
+ export declare const Disabled: Story;
@@ -0,0 +1,7 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import AppIcon from '@/common/app-icon/AppIcon.vue';
3
+ declare const meta: Meta<typeof AppIcon>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof AppIcon>;
6
+ export declare const Default: Story;
7
+ export declare const Sizes: Story;
@@ -0,0 +1,9 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import AppInput from '@/common/app-input/AppInput.vue';
3
+ declare const meta: Meta<typeof AppInput>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof AppInput>;
6
+ export declare const Default: Story;
7
+ export declare const InputTypes: Story;
8
+ export declare const States: Story;
9
+ export declare const Sizes: Story;
@@ -0,0 +1,12 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import AppInputNew from '@/common/app-input-new/AppInputNew.vue';
3
+ declare const meta: Meta<typeof AppInputNew>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof AppInputNew>;
6
+ export declare const Default: Story;
7
+ export declare const InputTypes: Story;
8
+ export declare const Features: Story;
9
+ export declare const States: Story;
10
+ export declare const WithLabel: Story;
11
+ export declare const Password: Story;
12
+ export declare const WithAppendSlot: Story;
@@ -0,0 +1,8 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import AppInputSearch from '@/common/app-input-search/AppInputSearch.vue';
3
+ declare const meta: Meta<typeof AppInputSearch>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof AppInputSearch>;
6
+ export declare const Default: Story;
7
+ export declare const InputTypes: Story;
8
+ export declare const Styles: Story;
@@ -0,0 +1,8 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import AppLoader from '@/common/app-loader/index.vue';
3
+ declare const meta: Meta<typeof AppLoader>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof AppLoader>;
6
+ export declare const GlobalLoader: Story;
7
+ export declare const Size: Story;
8
+ export declare const Thickness: Story;
@@ -0,0 +1,7 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import AppSelect from '@/common/app-select/AppSelect.vue';
3
+ declare const meta: Meta<typeof AppSelect>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof AppSelect>;
6
+ export declare const Default: Story;
7
+ export declare const States: Story;
@@ -0,0 +1,10 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import ModalSelect from './ModalSelect.vue';
3
+ declare const meta: Meta<typeof ModalSelect>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof ModalSelect>;
6
+ export declare const Default: Story;
7
+ export declare const Modes: Story;
8
+ export declare const SearchAndCreate: Story;
9
+ export declare const States: Story;
10
+ export declare const WithSlots: Story;
@@ -0,0 +1,8 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import AppToggle from '@/common/app-toggle/AppToggle.vue';
3
+ declare const meta: Meta<typeof AppToggle>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof AppToggle>;
6
+ export declare const Default: Story;
7
+ export declare const States: Story;
8
+ export declare const WithBinding: Story;
@@ -0,0 +1 @@
1
+ export declare const quasarColorOpts: string[];
package/package.json CHANGED
@@ -1,64 +1,70 @@
1
- {
2
- "name": "shared-ritm",
3
- "version": "1.3.37",
4
- "private": false,
5
- "files": [
6
- "dist",
7
- "src"
8
- ],
9
- "main": "dist/shared-ritm.umd.js",
10
- "type": "module",
11
- "module": "./dist/shared-ritm.es.js",
12
- "types": "./dist/types/index.d.ts",
13
- "exports": {
14
- ".": {
15
- "import": "./dist/shared-ritm.es.js",
16
- "require": "./dist/shared-ritm.umd.js",
17
- "default": "./dist/shared-ritm.es.js",
18
- "types": "./dist/types/index.d.ts"
19
- },
20
- "./style": "./dist/index.css"
21
- },
22
- "scripts": {
23
- "dev": "vite",
24
- "build": "vite build && tsc --emitDeclarationOnly",
25
- "typecheck": "vue-tsc --noEmit",
26
- "lint": "eslint --fix",
27
- "format": "prettier -w -u .",
28
- "yalc:push": "vite build && npx yalc push"
29
- },
30
- "dependencies": {
31
- "@quasar/extras": "^1.16.17",
32
- "@vueuse/core": "^10.1.2",
33
- "face-api.js": "^0.22.2",
34
- "axios": "^1.7.7",
35
- "vue-router": "^4.0.3"
36
- },
37
- "peerDependencies": {
38
- "quasar": "^2.18.1",
39
- "vue": "^3.5.12"
40
- },
41
- "devDependencies": {
42
- "@quasar/vite-plugin": "^1.9.0",
43
- "@rollup/pluginutils": "^5.1.3",
44
- "@types/node": "^22.7.9",
45
- "@typescript-eslint/eslint-plugin": "^4.25.0",
46
- "@typescript-eslint/parser": "^4.25.0",
47
- "@vitejs/plugin-vue": "^5.1.4",
48
- "@vue/compiler-sfc": "^3.0.5",
49
- "@vue/eslint-config-prettier": "^6.0.0",
50
- "@vue/eslint-config-typescript": "^7.0.0",
51
- "eslint": "^7.27.0",
52
- "eslint-plugin-prettier": "^3.4.0",
53
- "eslint-plugin-vue": "^7.10.0",
54
- "install": "^0.13.0",
55
- "npm": "^11.4.0",
56
- "prettier": "^2.3.0",
57
- "rollup-plugin-visualizer": "^5.14.0",
58
- "sass": "^1.80.4",
59
- "typescript": "^5.6.3",
60
- "vite": "^5.4.9",
61
- "vite-plugin-css-modules": "^0.0.1",
62
- "vue-tsc": "^2.1.6"
63
- }
64
- }
1
+ {
2
+ "name": "shared-ritm",
3
+ "version": "1.3.39",
4
+ "private": false,
5
+ "files": [
6
+ "dist",
7
+ "src"
8
+ ],
9
+ "main": "dist/shared-ritm.umd.js",
10
+ "type": "module",
11
+ "module": "./dist/shared-ritm.es.js",
12
+ "types": "./dist/types/index.d.ts",
13
+ "exports": {
14
+ ".": {
15
+ "types": "./dist/types/index.d.ts",
16
+ "import": "./dist/shared-ritm.es.js",
17
+ "require": "./dist/shared-ritm.umd.js",
18
+ "default": "./dist/shared-ritm.es.js"
19
+ },
20
+ "./style": "./dist/index.css"
21
+ },
22
+ "scripts": {
23
+ "dev": "vite",
24
+ "build": "vite build && tsc --emitDeclarationOnly",
25
+ "typecheck": "vue-tsc --noEmit",
26
+ "lint": "eslint --fix",
27
+ "format": "prettier -w -u .",
28
+ "storybook": "storybook dev -p 6006",
29
+ "build-storybook": "storybook build"
30
+ },
31
+ "dependencies": {
32
+ "@quasar/extras": "^1.17.0",
33
+ "@vueuse/core": "^10.11.1",
34
+ "face-api.js": "^0.22.2",
35
+ "axios": "^1.13.2",
36
+ "vue-router": "^4.6.3"
37
+ },
38
+ "peerDependencies": {
39
+ "quasar": "^2.18.1",
40
+ "vue": "^3.5.12"
41
+ },
42
+ "devDependencies": {
43
+ "@quasar/vite-plugin": "^1.10.0",
44
+ "@rollup/pluginutils": "^5.3.0",
45
+ "@storybook/addon-docs": "^10.0.8",
46
+ "@storybook/vue3": "^10.0.8",
47
+ "@storybook/vue3-vite": "^10.0.8",
48
+ "@types/node": "^22.19.1",
49
+ "@vitejs/plugin-vue": "^5.2.4",
50
+ "@vue/compiler-sfc": "^3.5.24",
51
+ "install": "^0.13.0",
52
+ "npm": "^11.6.2",
53
+ "prettier": "^3.3.3",
54
+ "rollup-plugin-visualizer": "^5.14.0",
55
+ "sass": "^1.94.1",
56
+ "storybook": "^10.0.8",
57
+ "typescript": "^5.9.3",
58
+ "vite": "^5.4.21",
59
+ "vite-plugin-css-modules": "^0.0.1",
60
+ "vue-tsc": "^2.2.12",
61
+ "@typescript-eslint/eslint-plugin": "^7.13.1",
62
+ "@typescript-eslint/parser": "^7.13.1",
63
+ "eslint": "^8.57.0",
64
+ "eslint-plugin-prettier": "^5.2.1",
65
+ "eslint-plugin-storybook": "^0.12.0",
66
+ "eslint-plugin-vue": "^9.26.0",
67
+ "@vue/eslint-config-prettier": "^9.0.0",
68
+ "@vue/eslint-config-typescript": "^12.0.0"
69
+ }
70
+ }