sprof 0.8.11 → 0.8.13
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.
- package/dist/core/brand/quasar.d.ts +11 -2
- package/dist/sprof.js +3004 -3002
- package/dist/sprof.umd.cjs +7 -7
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
*
|
|
19
19
|
* ```ts
|
|
20
20
|
* // quasar.config.ts клиента
|
|
21
|
-
* import {
|
|
21
|
+
* import { quasarBrandRdkb } from 'sprof';
|
|
22
22
|
* // ...
|
|
23
|
-
* framework: { config: { brand:
|
|
23
|
+
* framework: { config: { brand: quasarBrandRdkb } }
|
|
24
24
|
* ```
|
|
25
25
|
*/
|
|
26
26
|
export interface QuasarBrand {
|
|
@@ -33,6 +33,15 @@ export interface QuasarBrand {
|
|
|
33
33
|
warning: string;
|
|
34
34
|
dark: string;
|
|
35
35
|
['dark-page']: string;
|
|
36
|
+
/**
|
|
37
|
+
* ⚠️ ИНДЕКСНАЯ СИГНАТУРА ОБЯЗАТЕЛЬНА. Quasar типизирует `framework.config.brand`
|
|
38
|
+
* как `{ [customColors: string]: string | undefined; … }` — то есть допускает
|
|
39
|
+
* свои дополнительные цвета. Без этой строки `quasarBrandRdkb` НЕ присваивается
|
|
40
|
+
* этому типу (`Index signature for type 'string' is missing in type
|
|
41
|
+
* 'QuasarBrand'`), и `vue-tsc` в каждом клиенте падает на `quasar.config.ts`.
|
|
42
|
+
* Найдено 24.09 при бампе клиентов на sprof 0.8.12 (типы стали видны).
|
|
43
|
+
*/
|
|
44
|
+
[customColor: string]: string;
|
|
36
45
|
}
|
|
37
46
|
/**
|
|
38
47
|
* Бренд Quasar для админки РДКБ.
|