shared-ritm 1.3.36 → 1.3.38

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 (86) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/shared-ritm.es.js +9088 -8988
  3. package/dist/shared-ritm.umd.js +342 -342
  4. package/dist/types/api/services/PhotoService.d.ts +38 -51
  5. package/dist/types/api/services/RepairsService.d.ts +1 -1
  6. package/dist/types/api/services/VideoService.d.ts +2 -1
  7. package/dist/types/api/settings/ApiService.d.ts +1 -1
  8. package/dist/types/api/types/Api_Tasks.d.ts +1 -0
  9. package/dist/types/api/types/Api_Video.d.ts +5 -4
  10. package/dist/types/common/app-button/Button.stories.d.ts +13 -0
  11. package/dist/types/common/app-checkbox/Checkbox.stories.d.ts +8 -0
  12. package/dist/types/common/app-date-picker/DatePicker.stories.d.ts +7 -0
  13. package/dist/types/common/app-datepicker/Datepicker.stories.d.ts +10 -0
  14. package/dist/types/common/app-dialogs/Confirm.stories.d.ts +8 -0
  15. package/dist/types/common/app-dropdown/Dropdown.stories.d.ts +8 -0
  16. package/dist/types/common/app-file/File.stories.d.ts +8 -0
  17. package/dist/types/common/app-icon/Icon.stories.d.ts +7 -0
  18. package/dist/types/common/app-input/Input.stories.d.ts +9 -0
  19. package/dist/types/common/app-input-new/InputNew.stories.d.ts +12 -0
  20. package/dist/types/common/app-input-search/InputSearch.stories.d.ts +8 -0
  21. package/dist/types/common/app-loader/Loader.stories.d.ts +8 -0
  22. package/dist/types/common/app-select/Select.stories.d.ts +7 -0
  23. package/dist/types/common/app-table/components/ModalSelect.stories.d.ts +10 -0
  24. package/dist/types/common/app-toggle/Toggle.stories.d.ts +8 -0
  25. package/dist/types/configs/storybook.d.ts +1 -0
  26. package/dist/types/stories/Button.stories.d.ts +13 -0
  27. package/dist/types/stories/Checkbox.stories.d.ts +7 -0
  28. package/dist/types/stories/Confirm.stories.d.ts +8 -0
  29. package/dist/types/stories/DatePicker.stories.d.ts +8 -0
  30. package/dist/types/stories/Dropdown.stories.d.ts +8 -0
  31. package/dist/types/stories/File.stories.d.ts +8 -0
  32. package/dist/types/stories/Icon.stories.d.ts +7 -0
  33. package/dist/types/stories/Input.stories.d.ts +11 -0
  34. package/dist/types/stories/InputNew.stories.d.ts +12 -0
  35. package/dist/types/stories/InputSearch.stories.d.ts +10 -0
  36. package/dist/types/stories/Loader.stories.d.ts +8 -0
  37. package/dist/types/stories/Select.stories.d.ts +7 -0
  38. package/dist/types/stories/Toggle.stories.d.ts +8 -0
  39. package/package.json +64 -64
  40. package/src/App.vue +2461 -2461
  41. package/src/api/services/BrigadesService.ts +32 -32
  42. package/src/api/services/ControlsService.ts +96 -96
  43. package/src/api/services/EquipmentService.ts +29 -29
  44. package/src/api/services/InstrumentsService.ts +68 -68
  45. package/src/api/services/MetricsService.ts +123 -123
  46. package/src/api/services/ModulesService.ts +27 -27
  47. package/src/api/services/ProjectsService.ts +83 -83
  48. package/src/api/services/RepairsService.ts +111 -111
  49. package/src/api/services/ScheduleService.ts +69 -69
  50. package/src/api/services/SearchService.ts +22 -22
  51. package/src/api/services/UserService.ts +123 -123
  52. package/src/api/services/VideoService.ts +118 -113
  53. package/src/api/settings/ApiService.ts +124 -124
  54. package/src/api/types/Api_Auth.ts +105 -105
  55. package/src/api/types/Api_Brigades.ts +36 -36
  56. package/src/api/types/Api_Controls.ts +111 -111
  57. package/src/api/types/Api_Equipment.ts +3 -3
  58. package/src/api/types/Api_Instruments.ts +156 -156
  59. package/src/api/types/Api_Metrics.ts +5 -5
  60. package/src/api/types/Api_Modules.ts +21 -21
  61. package/src/api/types/Api_Projects.ts +62 -62
  62. package/src/api/types/Api_Repairs.ts +186 -186
  63. package/src/api/types/Api_Schedule.ts +64 -64
  64. package/src/api/types/Api_Search.ts +80 -80
  65. package/src/api/types/Api_Tasks.ts +1 -0
  66. package/src/api/types/Api_User.ts +146 -146
  67. package/src/api/types/Api_Video.ts +244 -241
  68. package/src/common/app-datepicker/AppDatepicker.vue +218 -218
  69. package/src/common/app-dropdown/AppDropdown.vue +37 -37
  70. package/src/common/app-input-new/AppInputNew.vue +179 -179
  71. package/src/common/app-layout/AppLayout.vue +84 -84
  72. package/src/common/app-modal/index.vue +96 -96
  73. package/src/common/app-sheet-new/AppSheetNew.vue +244 -244
  74. package/src/common/app-sidebar/AppSidebar.vue +174 -174
  75. package/src/common/app-sidebar/components/SidebarMenuItem.vue +149 -149
  76. package/src/common/app-table/AppTable.vue +313 -313
  77. package/src/common/app-table/AppTableLayout.vue +137 -137
  78. package/src/common/app-table/components/ModalSelect.vue +302 -298
  79. package/src/common/app-table/controllers/useBaseTable.ts +45 -45
  80. package/src/common/app-table/controllers/useTableModel.ts +102 -102
  81. package/src/icons/dialogs/SafetyIcon.vue +12 -12
  82. package/src/index.ts +131 -131
  83. package/src/styles/variables.sass +12 -12
  84. package/src/utils/files.ts +19 -19
  85. package/dist/types/api/services/ComentsServise.d.ts +0 -10
  86. package/dist/types/api/types/Api_Users.d.ts +0 -43
@@ -1,53 +1,40 @@
1
- import * as faceapi from 'face-api.js'
1
+ import * as faceapi from 'face-api.js';
2
2
  declare class PhotoService {
3
- getVideoStreamConfig(
4
- width: number,
5
- height: number,
6
- ): {
7
- audio: boolean
8
- video: {
9
- width: {
10
- min: number
11
- ideal: number
12
- }
13
- height: {
14
- min: number
15
- ideal: number
16
- }
17
- facingMode: string
18
- }
19
- }
20
- getContourCoordinate(
21
- width: number,
22
- height: number,
23
- ): {
24
- x: number
25
- y: number
26
- width: number
27
- height: number
28
- }
29
- getBoxData(box: any): {
30
- x: any
31
- y: any
32
- width: any
33
- height: any
34
- } | null
35
- setStylesForCanvas(canvasContainer: any): void
36
- checkFaceInclusion(frame: any, face: any): boolean
37
- getFaceDetections(videoRef: any): Promise<
38
- faceapi.WithFaceExpressions<
39
- faceapi.WithFaceLandmarks<
40
- {
41
- detection: faceapi.FaceDetection
42
- },
43
- faceapi.FaceLandmarks68
44
- >
45
- >[]
46
- >
47
- getCanvas(videoRef: any): HTMLCanvasElement
48
- getResizedAndDetection(canvas: any, detections: any, ctx: any, videoWidth: number, videoHeight: number): void
49
- getFaceSnapshot(inputImage: any, box: any): Promise<string | null>
50
- initModels(): Promise<void>
3
+ getVideoStreamConfig(width: number, height: number): {
4
+ audio: boolean;
5
+ video: {
6
+ width: {
7
+ min: number;
8
+ ideal: number;
9
+ };
10
+ height: {
11
+ min: number;
12
+ ideal: number;
13
+ };
14
+ facingMode: string;
15
+ };
16
+ };
17
+ getContourCoordinate(width: number, height: number): {
18
+ x: number;
19
+ y: number;
20
+ width: number;
21
+ height: number;
22
+ };
23
+ getBoxData(box: any): {
24
+ x: any;
25
+ y: any;
26
+ width: any;
27
+ height: any;
28
+ } | null;
29
+ setStylesForCanvas(canvasContainer: any): void;
30
+ checkFaceInclusion(frame: any, face: any): boolean;
31
+ getFaceDetections(videoRef: any): Promise<faceapi.WithFaceExpressions<faceapi.WithFaceLandmarks<{
32
+ detection: faceapi.FaceDetection;
33
+ }, faceapi.FaceLandmarks68>>[]>;
34
+ getCanvas(videoRef: any): HTMLCanvasElement;
35
+ getResizedAndDetection(canvas: any, detections: any, ctx: any, videoWidth: number, videoHeight: number): void;
36
+ getFaceSnapshot(inputImage: any, box: any): Promise<string | null>;
37
+ initModels(): Promise<void>;
51
38
  }
52
- export default function usePhotoService(): PhotoService
53
- export {}
39
+ export default function usePhotoService(): PhotoService;
40
+ export {};
@@ -17,7 +17,7 @@ declare class RepairsService extends ApiService {
17
17
  restoreRepair(id: string): Promise<any>;
18
18
  updateRepair(payload: Api_Update_Repair, id: string): Promise<void>;
19
19
  copyRepair(id: string): Promise<any>;
20
- deleteRepair(id: string): Promise<import("axios").AxiosResponse<any, any>>;
20
+ deleteRepair(id: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
21
21
  fetchIntersection(id: string): Promise<Api_Repair_Intersection[]>;
22
22
  }
23
23
  export default function useRepairsService(): RepairsService;
@@ -1,6 +1,6 @@
1
1
  import ApiService from '../settings/ApiService';
2
2
  import { ResponseApi } from '@/api/types/Api_Service';
3
- import { Api_Video_Combination, Api_Video_Source_By_Repair, Api_Video_Source_Create, Api_Video_Source_Search, Api_Video_Training_Status, Api_Work_Zone, Api_Work_Zone_Search } from '@/api/types/Api_Video';
3
+ import { Api_Video_Combination, Api_Video_Source_By_Repair, Api_Video_Source_Create, Api_Video_Source_Economics, Api_Video_Source_Search, Api_Video_Training_Status, Api_Work_Zone, Api_Work_Zone_Search } from '@/api/types/Api_Video';
4
4
  declare class VideoService extends ApiService {
5
5
  startVideoAnalytics(): Promise<boolean>;
6
6
  reloadVideoAnalytics(ids: string[]): Promise<any>;
@@ -18,6 +18,7 @@ declare class VideoService extends ApiService {
18
18
  status: number;
19
19
  }>;
20
20
  fetchVideoSources(params?: any): Promise<ResponseApi<Api_Video_Source_Search[]>>;
21
+ fetchVideoSourceEconomics(params?: any): Promise<ResponseApi<Api_Video_Source_Economics>>;
21
22
  createVideoSource(body: Api_Video_Source_Create): Promise<Api_Video_Source_Search>;
22
23
  editVideoSource(id: string, body: Partial<Api_Video_Source_Create>): Promise<Api_Video_Source_Search>;
23
24
  deleteVideoSource(id: string): Promise<void>;
@@ -10,7 +10,7 @@ export default class ApiService {
10
10
  logout(): void;
11
11
  private handleError;
12
12
  protected get<T>(url: string, options?: AxiosRequestConfig): Promise<T>;
13
- protected delete<T>(url: string, options?: AxiosRequestConfig): Promise<AxiosResponse<T, any>>;
13
+ protected delete<T>(url: string, options?: AxiosRequestConfig): Promise<AxiosResponse<T, any, {}>>;
14
14
  protected post<T1, T2>(url: string, payload: T1, options?: AxiosRequestConfig): Promise<any>;
15
15
  protected patch<T1, T2>(url: string, payload: T1, options?: AxiosRequestConfig): Promise<T2>;
16
16
  protected put<T1, T2>(url: string, payload: T1, options?: AxiosRequestConfig): Promise<T2>;
@@ -220,6 +220,7 @@ export type Api_Tasks_Task_Dto = {
220
220
  instrument_types: Api_Task_Instrument_From_Warehouse[];
221
221
  quality_metrics: Api_Task_QualityMetric_Dto[];
222
222
  video_source: Api_Task_VideoSource_Dto;
223
+ transfer_to_work_on_video_analytics: boolean;
223
224
  };
224
225
  export type Api_Tasks_Task_Edit_Request_Dto = {
225
226
  name: string;
@@ -184,13 +184,14 @@ export type Api_Video_Combination = {
184
184
  origin_data: Api_Video_Combination_Origin;
185
185
  };
186
186
  export type Api_Video_Source_Work_Zone_Task = Pick<Api_Tasks_Task_Dto, 'id' | 'fact_end_date' | 'fact_start_date' | 'deadline' | 'expired' | 'name' | 'plan_date' | 'responsible' | 'status' | 'time_to_complete_sec'> & {
187
- power_output_MWh: number | null;
188
- cost_per_MWh: number | null;
189
187
  project_id: string;
190
188
  };
191
189
  export type Api_Video_Source_Work_Zone = Pick<Api_Work_Zone_Search, 'id' | 'detect_face' | 'detect_helmet' | 'detect_mask' | 'detect_work_time' | 'detect_work_zone' | 'is_parent' | 'name' | 'x0' | 'x1' | 'y0' | 'y1' | 'video_source_id' | 'parent_id' | 'type' | 'title'> & {
192
- power_output_MWh: number | null;
193
- cost_per_MWh: number | null;
194
190
  points: unknown[];
195
191
  tasks: Api_Video_Source_Work_Zone_Task[];
196
192
  };
193
+ export type Api_Video_Source_Economics_Zone = {
194
+ id: string;
195
+ power_output_MWh: number | null;
196
+ };
197
+ export type Api_Video_Source_Economics = Record<string, Api_Video_Source_Economics_Zone[]>;
@@ -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[];
@@ -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,7 @@
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;
@@ -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 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;
8
+ export declare const DateRestrictions: 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,11 @@
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;
10
+ export declare const Password: Story;
11
+ export declare const WithMask: 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,10 @@
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 States: Story;
9
+ export declare const SizesAndStyles: Story;
10
+ export declare const WithMask: 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,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;
package/package.json CHANGED
@@ -1,64 +1,64 @@
1
- {
2
- "name": "shared-ritm",
3
- "version": "1.3.36",
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.38",
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
+ }