bms-shared-components 1.1.22 → 1.1.25

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.
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Подключите в приложении один раз, чтобы в шаблонах (.vue) подсвечивались пропсы
3
+ * глобально зарегистрированных компонентов (после app.use(install) или app.component).
4
+ *
5
+ * В корне проекта, например в src/vite-env.d.ts или src/types/vue-shim.d.ts:
6
+ * /// <reference types="bms-shared-components/global" />
7
+ *
8
+ * Либо в tsconfig.json: "compilerOptions": { "types": [..., "bms-shared-components/global"] }
9
+ */
10
+ import "vue";
11
+
12
+ export {};
13
+
14
+ declare module "vue" {
15
+ export interface GlobalComponents {
16
+ FullLoader: (typeof import("bms-shared-components"))["FullLoader"];
17
+ ConstructorReportsQueue: (typeof import("bms-shared-components"))["ConstructorReportsQueue"];
18
+ ConstructorReports: (typeof import("bms-shared-components"))["ConstructorReports"];
19
+ PatientInfoComponent: (typeof import("bms-shared-components"))["PatientInfoComponent"];
20
+ NewBenefitList: (typeof import("bms-shared-components"))["NewBenefitList"];
21
+ BenefitForm: (typeof import("bms-shared-components"))["BenefitForm"];
22
+ ApplicationForm: (typeof import("bms-shared-components"))["ApplicationForm"];
23
+ ApiUseBenefit: (typeof import("bms-shared-components"))["ApiUseBenefit"];
24
+ ScanWriteOffMedicalDevicesFormMDLP: (typeof import("bms-shared-components"))["ScanWriteOffMedicalDevicesFormMDLP"];
25
+ IsOkay: (typeof import("bms-shared-components"))["IsOkay"];
26
+ TableAccordion: (typeof import("bms-shared-components"))["TableAccordion"];
27
+ TablePresetPicker: (typeof import("bms-shared-components"))["TablePresetPicker"];
28
+ TheTable: (typeof import("bms-shared-components"))["TheTable"];
29
+ ReSimpleTable: (typeof import("bms-shared-components"))["ReSimpleTable"];
30
+ }
31
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bms-shared-components",
3
- "version": "1.1.22",
3
+ "version": "1.1.25",
4
4
  "description": "Shared Vue 3 components library",
5
5
  "type": "module",
6
6
  "main": "./dist/bms-shared-components.umd.cjs",
@@ -12,10 +12,14 @@
12
12
  "import": "./dist/bms-shared-components.js",
13
13
  "require": "./dist/bms-shared-components.umd.cjs"
14
14
  },
15
- "./style.css": "./dist/bms-shared-components.css"
15
+ "./style.css": "./dist/bms-shared-components.css",
16
+ "./global": {
17
+ "types": "./global-components.d.ts"
18
+ }
16
19
  },
17
20
  "files": [
18
- "dist"
21
+ "dist",
22
+ "global-components.d.ts"
19
23
  ],
20
24
  "scripts": {
21
25
  "dev": "vite --mode development",