@data-fair/lib-vuetify 2.0.5 → 2.1.1
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/date-match-filter.vue.js.map +1 -0
- package/date-range-picker.vue.js.map +1 -0
- package/index.js.map +1 -0
- package/lang-switcher.vue.js.map +1 -0
- package/navigation-right.vue.js.map +1 -0
- package/owner-avatar.vue.js.map +1 -0
- package/owner-pick.vue.js.map +1 -0
- package/package.json +2 -1
- package/personal-menu.vue.js.map +1 -0
- package/scroll-to-top.vue +56 -0
- package/scroll-to-top.vue.d.ts +16 -0
- package/scroll-to-top.vue.js +96 -0
- package/scroll-to-top.vue.js.map +1 -0
- package/search-address.vue.js.map +1 -0
- package/search-field.vue.js.map +1 -0
- package/section-tabs.vue +94 -0
- package/section-tabs.vue.d.ts +39 -0
- package/section-tabs.vue.js +176 -0
- package/section-tabs.vue.js.map +1 -0
- package/theme-switcher.vue.js.map +1 -0
- package/themed-svg.vue +34 -0
- package/themed-svg.vue.d.ts +6 -0
- package/themed-svg.vue.js +40 -0
- package/themed-svg.vue.js.map +1 -0
- package/toc.vue +93 -0
- package/toc.vue.d.ts +30 -0
- package/toc.vue.js +143 -0
- package/toc.vue.js.map +1 -0
- package/tutorial-alert.vue.js.map +1 -0
- package/ui-notif-alert.vue.js.map +1 -0
- package/ui-notif.vue.js.map +1 -0
- package/user-avatar.vue.js.map +1 -0
- package/vite.d.ts +28 -27
- package/vite.js +55 -21
- package/vite.js.map +1 -0
package/vite.d.ts
CHANGED
|
@@ -1,28 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Re-export of {@link autoImports} from `@data-fair/lib-vue/vite.js`.
|
|
3
|
+
*
|
|
4
|
+
* Composables-only preset for {@link https://github.com/unplugin/unplugin-auto-import unplugin-auto-import}.
|
|
5
|
+
* Does not include components — use {@link componentsResolver} with
|
|
6
|
+
* {@link https://github.com/unplugin/unplugin-vue-components unplugin-vue-components} for that.
|
|
7
|
+
*/
|
|
8
|
+
export { autoImports } from '@data-fair/lib-vue/vite.js';
|
|
9
|
+
/**
|
|
10
|
+
* Resolver for {@link https://github.com/unplugin/unplugin-vue-components unplugin-vue-components}.
|
|
11
|
+
*
|
|
12
|
+
* Resolves `Df`-prefixed component names (e.g. `<DfPersonalMenu>` or `<df-personal-menu>`)
|
|
13
|
+
* to their corresponding `@data-fair/lib-vuetify/*.vue` module.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```ts
|
|
17
|
+
* // vite.config.ts
|
|
18
|
+
* import { componentsResolver } from '@data-fair/lib-vuetify/vite.js'
|
|
19
|
+
* import Components from 'unplugin-vue-components/vite'
|
|
20
|
+
*
|
|
21
|
+
* export default defineConfig({
|
|
22
|
+
* plugins: [
|
|
23
|
+
* Components({ resolvers: [componentsResolver] })
|
|
24
|
+
* ]
|
|
25
|
+
* })
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare const componentsResolver: (name: string) => string | undefined;
|
|
28
29
|
export declare const settingsPath: string;
|
package/vite.js
CHANGED
|
@@ -1,23 +1,57 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Re-export of {@link autoImports} from `@data-fair/lib-vue/vite.js`.
|
|
3
|
+
*
|
|
4
|
+
* Composables-only preset for {@link https://github.com/unplugin/unplugin-auto-import unplugin-auto-import}.
|
|
5
|
+
* Does not include components — use {@link componentsResolver} with
|
|
6
|
+
* {@link https://github.com/unplugin/unplugin-vue-components unplugin-vue-components} for that.
|
|
7
|
+
*/
|
|
8
|
+
export { autoImports } from '@data-fair/lib-vue/vite.js';
|
|
9
|
+
/**
|
|
10
|
+
* Map of PascalCase component names to their module paths.
|
|
11
|
+
* Used internally by {@link componentsResolver}.
|
|
12
|
+
*/
|
|
13
|
+
const components = {
|
|
14
|
+
DfDateMatchFilter: '@data-fair/lib-vuetify/date-match-filter.vue',
|
|
15
|
+
DfDateRangePicker: '@data-fair/lib-vuetify/date-range-picker.vue',
|
|
16
|
+
DfLangSwitcher: '@data-fair/lib-vuetify/lang-switcher.vue',
|
|
17
|
+
DfNavigationRight: '@data-fair/lib-vuetify/navigation-right.vue',
|
|
18
|
+
DfOwnerAvatar: '@data-fair/lib-vuetify/owner-avatar.vue',
|
|
19
|
+
DfOwnerPick: '@data-fair/lib-vuetify/owner-pick.vue',
|
|
20
|
+
DfPersonalMenu: '@data-fair/lib-vuetify/personal-menu.vue',
|
|
21
|
+
DfScrollToTop: '@data-fair/lib-vuetify/scroll-to-top.vue',
|
|
22
|
+
DfSearchAddress: '@data-fair/lib-vuetify/search-address.vue',
|
|
23
|
+
DfSearchField: '@data-fair/lib-vuetify/search-field.vue',
|
|
24
|
+
DfSectionTabs: '@data-fair/lib-vuetify/section-tabs.vue',
|
|
25
|
+
DfThemedSvg: '@data-fair/lib-vuetify/themed-svg.vue',
|
|
26
|
+
DfThemeSwitcher: '@data-fair/lib-vuetify/theme-switcher.vue',
|
|
27
|
+
DfToc: '@data-fair/lib-vuetify/toc.vue',
|
|
28
|
+
DfTutorialAlert: '@data-fair/lib-vuetify/tutorial-alert.vue',
|
|
29
|
+
DfUiNotifAlert: '@data-fair/lib-vuetify/ui-notif-alert.vue',
|
|
30
|
+
DfUiNotif: '@data-fair/lib-vuetify/ui-notif.vue',
|
|
31
|
+
DfUserAvatar: '@data-fair/lib-vuetify/user-avatar.vue'
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Resolver for {@link https://github.com/unplugin/unplugin-vue-components unplugin-vue-components}.
|
|
35
|
+
*
|
|
36
|
+
* Resolves `Df`-prefixed component names (e.g. `<DfPersonalMenu>` or `<df-personal-menu>`)
|
|
37
|
+
* to their corresponding `@data-fair/lib-vuetify/*.vue` module.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* ```ts
|
|
41
|
+
* // vite.config.ts
|
|
42
|
+
* import { componentsResolver } from '@data-fair/lib-vuetify/vite.js'
|
|
43
|
+
* import Components from 'unplugin-vue-components/vite'
|
|
44
|
+
*
|
|
45
|
+
* export default defineConfig({
|
|
46
|
+
* plugins: [
|
|
47
|
+
* Components({ resolvers: [componentsResolver] })
|
|
48
|
+
* ]
|
|
49
|
+
* })
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
export const componentsResolver = (name) => {
|
|
53
|
+
if (components[name])
|
|
54
|
+
return components[name];
|
|
55
|
+
};
|
|
22
56
|
export const settingsPath = new URL(import.meta.resolve('@data-fair/lib-vuetify/style/settings.scss')).pathname;
|
|
23
57
|
//# sourceMappingURL=vite.js.map
|
package/vite.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vite.js","sourceRoot":"","sources":["vite.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAExD;;;GAGG;AACH,MAAM,UAAU,GAA2B;IACzC,iBAAiB,EAAE,8CAA8C;IACjE,iBAAiB,EAAE,8CAA8C;IACjE,cAAc,EAAE,0CAA0C;IAC1D,iBAAiB,EAAE,6CAA6C;IAChE,aAAa,EAAE,yCAAyC;IACxD,WAAW,EAAE,uCAAuC;IACpD,cAAc,EAAE,0CAA0C;IAC1D,aAAa,EAAE,0CAA0C;IACzD,eAAe,EAAE,2CAA2C;IAC5D,aAAa,EAAE,yCAAyC;IACxD,aAAa,EAAE,yCAAyC;IACxD,WAAW,EAAE,uCAAuC;IACpD,eAAe,EAAE,2CAA2C;IAC5D,KAAK,EAAE,gCAAgC;IACvC,eAAe,EAAE,2CAA2C;IAC5D,cAAc,EAAE,2CAA2C;IAC3D,SAAS,EAAE,qCAAqC;IAChD,YAAY,EAAE,wCAAwC;CACvD,CAAA;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,IAAY,EAAE,EAAE;IACjD,IAAI,UAAU,CAAC,IAAI,CAAC;QAAE,OAAO,UAAU,CAAC,IAAI,CAAC,CAAA;AAC/C,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,4CAA4C,CAAC,CAAC,CAAC,QAAQ,CAAA"}
|