sprof 0.2.1 → 0.2.3
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/{ExtractsList-D2rsuyBZ.js → ExtractsList-Dh6uyUJc.js} +11 -10
- package/dist/core/components/GeneralItem.vue.d.ts +4 -4
- package/dist/core/components/GridContainer.vue.d.ts +1 -1
- package/dist/core/components/Icons/Filter/IconDownload.vue.d.ts +1 -1
- package/dist/core/components/Icons/Filter/IconFilter.vue.d.ts +1 -1
- package/dist/core/components/Icons/Pagination/ArrowLeft.vue.d.ts +1 -1
- package/dist/core/components/Icons/Pagination/ArrowRight.vue.d.ts +1 -1
- package/dist/core/components/Icons/Pagination/DoubleArrowLeft.vue.d.ts +1 -1
- package/dist/core/components/Icons/Pagination/DoubleArrowRight.vue.d.ts +1 -1
- package/dist/core/components/Icons/Pagination/EllipsisSvg.vue.d.ts +1 -1
- package/dist/core/components/InfoItem.vue.d.ts +4 -4
- package/dist/core/components/PAutocomplete.vue.d.ts +1 -1
- package/dist/core/components/RemoteSearch.stories.d.ts +6 -6
- package/dist/core/components/RemoteSearch.vue.d.ts +3 -3
- package/dist/core/components/RightSliderContainer.vue.d.ts +2 -2
- package/dist/core/components/atoms/PButton/PButton.stories.d.ts +54 -18
- package/dist/core/components/atoms/PButton/PButton.vue.d.ts +14 -3
- package/dist/core/components/atoms/PCheckbox/PCheckBox.stories.d.ts +6 -6
- package/dist/core/components/atoms/PCheckbox/PCheckBox.vue.d.ts +3 -3
- package/dist/core/components/atoms/PDatePicker/PDatePicker.vue.d.ts +3 -3
- package/dist/core/components/atoms/PFlex/PFlex.stories.d.ts +18 -18
- package/dist/core/components/atoms/PFlex/PFlex.vue.d.ts +3 -3
- package/dist/core/components/atoms/PInput/PInput.stories.d.ts +180 -38
- package/dist/core/components/atoms/PInput/PInput.vue.d.ts +49 -9
- package/dist/core/components/atoms/PInputNumber/PInputNumber.stories.d.ts +3 -3
- package/dist/core/components/atoms/PInputNumber/PInputNumber.vue.d.ts +3 -3
- package/dist/core/components/atoms/PLabelField/PLabelField.stories.d.ts +36 -36
- package/dist/core/components/atoms/PLabelField/PLabelField.vue.d.ts +6 -6
- package/dist/core/components/atoms/PLeftSlider/PLeftSlider.stories.d.ts +18 -18
- package/dist/core/components/atoms/PLeftSlider/PLeftSlider.vue.d.ts +3 -3
- package/dist/core/components/atoms/PList/PList.stories.d.ts +8 -8
- package/dist/core/components/atoms/PList/PList.vue.d.ts +2 -2
- package/dist/core/components/atoms/PListItem/PListItem.stories.d.ts +12 -12
- package/dist/core/components/atoms/PListItem/PListItem.vue.d.ts +2 -2
- package/dist/core/components/atoms/PRadio/PRadio.stories.d.ts +4 -4
- package/dist/core/components/atoms/PRadio/PRadio.vue.d.ts +2 -2
- package/dist/core/components/atoms/PRightSlider/PRightSlider.stories.d.ts +18 -18
- package/dist/core/components/atoms/PRightSlider/PRightSlider.vue.d.ts +3 -3
- package/dist/core/components/atoms/PSelect/PSelect.stories.d.ts +154 -46
- package/dist/core/components/atoms/PSelect/PSelect.vue.d.ts +56 -9
- package/dist/core/components/atoms/PString/PString.stories.d.ts +12 -12
- package/dist/core/components/atoms/PString/PString.vue.d.ts +6 -6
- package/dist/core/components/atoms/PTextarea/PTextarea.stories.d.ts +14 -18
- package/dist/core/components/atoms/PTextarea/PTextarea.vue.d.ts +3 -5
- package/dist/core/components/atoms/PTooltip/PTooltip.stories.d.ts +12 -12
- package/dist/core/components/components.d.ts +1 -3
- package/dist/core/components/molecules/Collapse/CollapseItem.stories.d.ts +2 -2
- package/dist/core/components/molecules/Collapse/CollapseItem.vue.d.ts +1 -1
- package/dist/core/components/molecules/PAdd/PAdd.vue.d.ts +1 -1
- package/dist/core/components/molecules/PAdd/PContainer.vue.d.ts +1 -1
- package/dist/core/components/molecules/PAdd/PContainerStickyHead.vue.d.ts +1 -1
- package/dist/core/components/molecules/PDel/PDel.vue.d.ts +1 -1
- package/dist/core/components/molecules/PModal/PModal.vue.d.ts +3 -3
- package/dist/core/components/molecules/index.d.ts +1 -2
- package/dist/core/components/organisms/PAuthForm/PAuthForm.stories.d.ts +142 -47
- package/dist/core/components/organisms/PAuthForm/PAuthForm.vue.d.ts +71 -23
- package/dist/core/components/organisms/PAuthModal/PAuthModal.stories.d.ts +2 -2
- package/dist/core/components/organisms/PAuthModal/PAuthModal.vue.d.ts +1 -1
- package/dist/core/components/organisms/PTabs/PTabs.stories.d.ts +6 -6
- package/dist/core/components/organisms/PTabs/PTabs.vue.d.ts +1 -1
- package/dist/core/components/organisms/PUploaderFile/PUploaderFile.stories.d.ts +18 -18
- package/dist/core/components/organisms/PUploaderFile/PUploaderFile.vue.d.ts +2 -2
- package/dist/core/components/organisms/PUploaderImage/ImageCropper.vue.d.ts +2 -2
- package/dist/core/helpers/Message.d.ts +13 -2
- package/dist/core/ui/Dialog.d.ts +18 -3
- package/dist/core/ui/Dialog.test.d.ts +1 -0
- package/dist/core/ui/Notify.d.ts +19 -24
- package/dist/core/ui/Notify.test.d.ts +1 -0
- package/dist/index-BMNKrMSC.js +14018 -0
- package/dist/index.d.ts +6 -0
- package/dist/install.d.ts +25 -0
- package/dist/sprof.js +19 -3
- package/dist/sprof.umd.cjs +29 -14
- package/dist/style.css +1 -1
- package/dist/test-utils/quasar.d.ts +5 -0
- package/package.json +22 -6
- package/dist/core/components/MessageBody.vue.d.ts +0 -27
- package/dist/core/components/PDialog.vue.d.ts +0 -2
- package/dist/core/components/molecules/PNotify/PNotify.stories.d.ts +0 -242
- package/dist/core/components/molecules/PNotify/PNotify.vue.d.ts +0 -2
- package/dist/core/ui/index.d.ts +0 -110
- package/dist/index-CkqPv_mq.js +0 -7517
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { default as PF } from './core/index';
|
|
2
2
|
import * as PFM from './modules/index';
|
|
3
3
|
export { PF, PFM };
|
|
4
|
+
export { installSprof } from './install';
|
|
5
|
+
export { default as PCheckBox } from './core/components/atoms/PCheckbox/PCheckBox.vue';
|
|
6
|
+
export { default as PInput } from './core/components/atoms/PInput/PInput.vue';
|
|
7
|
+
export { default as PSelect } from './core/components/atoms/PSelect/PSelect.vue';
|
|
8
|
+
export type { AuthFormSettingsType } from './core/auth/index';
|
|
9
|
+
export { AuthButtonLogin, AuthButtonRefresh, AuthButtonRegister, AuthButtonRestore, AuthChunks, AuthFieldsIds, AuthFormSettings, AuthMethods, EmailField, LoginField, PasswordField, PasswordRepeatField, } from './core/auth/index';
|
|
4
10
|
/** @internal Used by unplugin-auto-import configuration */
|
|
5
11
|
export declare const pfName: readonly ["PF", "PFM"];
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { App } from 'vue';
|
|
2
|
+
export interface SprofInstallOptions {
|
|
3
|
+
/**
|
|
4
|
+
* Enable the Quasar plugins required by `PF.UI` (Notify, Dialog).
|
|
5
|
+
* Disable only if you already enable them yourself.
|
|
6
|
+
* @default true
|
|
7
|
+
*/
|
|
8
|
+
quasarPlugins?: boolean;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Installs sprof inside a Vue application:
|
|
12
|
+
*
|
|
13
|
+
* 1. enables the Quasar `Notify` + `Dialog` plugins (required by `PF.UI.Notify` / `PF.UI.Dialog`);
|
|
14
|
+
* 2. registers all sprof components globally (`PButton`, `PInput`, `PSelect`, ...).
|
|
15
|
+
*
|
|
16
|
+
* ```ts
|
|
17
|
+
* import { createApp } from 'vue';
|
|
18
|
+
* import { installSprof } from 'sprof';
|
|
19
|
+
*
|
|
20
|
+
* const app = createApp(App);
|
|
21
|
+
* installSprof(app);
|
|
22
|
+
* app.mount('#app');
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare function installSprof(app: App, options?: SprofInstallOptions): void;
|
package/dist/sprof.js
CHANGED
|
@@ -1,6 +1,22 @@
|
|
|
1
|
-
import { P as
|
|
1
|
+
import { A as t, a as e, b as o, c as u, d as h, e as i, f as n, g as d, E as l, L as r, h as A, P as F, i as P, j as p, k as f, l as g, m, n as B, p as R } from "./index-BMNKrMSC.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
t as AuthButtonLogin,
|
|
4
|
+
e as AuthButtonRefresh,
|
|
5
|
+
o as AuthButtonRegister,
|
|
6
|
+
u as AuthButtonRestore,
|
|
7
|
+
h as AuthChunks,
|
|
8
|
+
i as AuthFieldsIds,
|
|
9
|
+
n as AuthFormSettings,
|
|
10
|
+
d as AuthMethods,
|
|
11
|
+
l as EmailField,
|
|
12
|
+
r as LoginField,
|
|
13
|
+
A as PCheckBox,
|
|
14
|
+
F as PF,
|
|
4
15
|
P as PFM,
|
|
5
|
-
|
|
16
|
+
p as PInput,
|
|
17
|
+
f as PSelect,
|
|
18
|
+
g as PasswordField,
|
|
19
|
+
m as PasswordRepeatField,
|
|
20
|
+
B as installSprof,
|
|
21
|
+
R as pfName
|
|
6
22
|
};
|