jobsys-explore 4.6.21 → 4.7.0
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/.eslintignore +3 -3
- package/CHANGELOG.md +542 -542
- package/README.md +41 -41
- package/TODOs.md +8 -8
- package/business-components/survey/ExSurvey.jsx +193 -193
- package/business-components/survey/index.js +5 -5
- package/business-components/survey/index.less +36 -36
- package/components/button/ExButton.jsx +120 -120
- package/components/button/index.js +4 -4
- package/components/button/index.less +7 -7
- package/components/decorator/ExDecorator.jsx +31 -31
- package/components/decorator/index.js +5 -5
- package/components/decorator/index.less +76 -76
- package/components/form/ExAddress.jsx +195 -195
- package/components/form/ExCascader.jsx +171 -171
- package/components/form/ExCheckbox.jsx +59 -59
- package/components/form/ExDate.jsx +143 -143
- package/components/form/ExDatetime.jsx +166 -166
- package/components/form/ExField.jsx +138 -138
- package/components/form/ExFieldUploader.jsx +50 -50
- package/components/form/ExForm.jsx +544 -544
- package/components/form/ExMatrixCheckbox.jsx +99 -99
- package/components/form/ExMatrixRadio.jsx +86 -86
- package/components/form/ExMatrixScale.jsx +97 -97
- package/components/form/ExNumber.jsx +51 -51
- package/components/form/ExRadio.jsx +58 -58
- package/components/form/ExRate.jsx +51 -51
- package/components/form/ExSelect.jsx +251 -251
- package/components/form/ExSlider.jsx +55 -55
- package/components/form/ExSwitch.jsx +51 -51
- package/components/form/ExTime.jsx +99 -99
- package/components/form/FormItem.jsx +307 -307
- package/components/form/PickerWrapper.jsx +120 -120
- package/components/form/index.js +46 -46
- package/components/form/index.less +178 -178
- package/components/form/utils.js +62 -62
- package/components/grid/ExGrid.jsx +53 -53
- package/components/grid/index.js +4 -4
- package/components/grid/index.less +2 -2
- package/components/index.js +12 -12
- package/components/pagination/ExPagination.jsx +457 -440
- package/components/pagination/index.js +5 -5
- package/components/pagination/index.less +3 -3
- package/components/provider/ExProvider.jsx +173 -173
- package/components/qrcode/ExQrcode.jsx +86 -86
- package/components/qrcode/index.js +5 -5
- package/components/qrcode/index.less +8 -8
- package/components/result/ExResult.jsx +122 -122
- package/components/result/index.js +5 -5
- package/components/result/index.less +59 -59
- package/components/search/ExSearch.jsx +370 -326
- package/components/search/components/Expand.jsx +77 -77
- package/components/search/components/Field.jsx +27 -27
- package/components/search/components/Quick.jsx +57 -57
- package/components/search/components/index.js +5 -5
- package/components/search/index.js +5 -5
- package/components/search/index.less +118 -118
- package/components/search/utils.js +30 -30
- package/components/sector/ExSector.jsx +52 -52
- package/components/sector/README.md +26 -26
- package/components/sector/index.js +5 -5
- package/components/sector/index.less +122 -122
- package/components/theme/ExTheme.jsx +10 -10
- package/components/theme/index.js +4 -4
- package/components/theme/index.less +98 -98
- package/components/uploader/ExUploader.jsx +293 -293
- package/components/uploader/index.js +5 -5
- package/components/utils.js +187 -187
- package/directives/auth.js +113 -113
- package/directives/index.js +4 -4
- package/dist/cipher-98df1050.cjs.map +1 -1
- package/dist/cipher-f2ed5ee6.js.map +1 -1
- package/dist/directives.cjs.map +1 -1
- package/dist/directives.js.map +1 -1
- package/dist/hooks.cjs.map +1 -1
- package/dist/hooks.js.map +1 -1
- package/dist/jobsys-explore.cjs +6 -6
- package/dist/jobsys-explore.cjs.map +1 -1
- package/dist/jobsys-explore.js +464 -407
- package/dist/jobsys-explore.js.map +1 -1
- package/docgen.config.js +15 -15
- package/docs/.vuepress/.cache/deps/_metadata.json +52 -52
- package/docs/.vuepress/.cache/deps/lodash-es.js +8442 -8442
- package/docs/.vuepress/.cache/deps/lodash-es.js.map +7 -7
- package/docs/.vuepress/.temp/internal/clientConfigs.js +17 -17
- package/docs/.vuepress/.temp/internal/pagesComponents.js +24 -24
- package/docs/.vuepress/.temp/internal/pagesData.js +22 -22
- package/docs/.vuepress/.temp/internal/pagesRoutes.js +12 -12
- package/docs/.vuepress/.temp/internal/themeData.js +1 -1
- package/docs/.vuepress/.temp/pages/components/decorator/ExDecorator.html.js +1 -1
- package/docs/.vuepress/.temp/pages/components/decorator/ExDecorator.html.vue +37 -37
- package/docs/.vuepress/.temp/pages/components/sector/ExSector.html.js +1 -1
- package/docs/.vuepress/.temp/pages/components/sector/ExSector.html.vue +71 -71
- package/docs/.vuepress/.temp/styles/index.scss +1 -1
- package/docs/.vuepress/config.js +61 -61
- package/docs/.vuepress/dist/404.html +33 -33
- package/docs/.vuepress/dist/assets/404.html-a0ce2184.js +1 -1
- package/docs/.vuepress/dist/assets/ExButton.html-ad283101.js +1 -1
- package/docs/.vuepress/dist/assets/ExDecorator.html-42d09114.js +1 -1
- package/docs/.vuepress/dist/assets/ExDecorator.html-c82c5fe8.js +1 -1
- package/docs/.vuepress/dist/assets/ExForm.html-9e3f8000.js +1 -1
- package/docs/.vuepress/dist/assets/ExProvider.html-78fdc6cd.js +1 -1
- package/docs/.vuepress/dist/assets/ExSearch.html-103f6f34.js +1 -1
- package/docs/.vuepress/dist/assets/ExSector.html-a1e24c3a.js +7 -7
- package/docs/.vuepress/dist/assets/ExSector.html-cff3fefd.js +1 -1
- package/docs/.vuepress/dist/assets/ExUploader.html-8310e424.js +1 -1
- package/docs/.vuepress/dist/assets/app-29fe8d1e.js +10 -10
- package/docs/.vuepress/dist/assets/hooks.html-90ccbc1a.js +1 -1
- package/docs/.vuepress/dist/assets/index.html-85b79c97.js +43 -43
- package/docs/.vuepress/dist/assets/style-46d7e227.css +1 -1
- package/docs/.vuepress/dist/components/button/ExButton.html +33 -33
- package/docs/.vuepress/dist/components/decorator/ExDecorator.html +33 -33
- package/docs/.vuepress/dist/components/form/ExForm.html +33 -33
- package/docs/.vuepress/dist/components/provider/ExProvider.html +33 -33
- package/docs/.vuepress/dist/components/search/ExSearch.html +33 -33
- package/docs/.vuepress/dist/components/sector/ExSector.html +39 -39
- package/docs/.vuepress/dist/components/uploader/ExUploader.html +33 -33
- package/docs/.vuepress/dist/hooks.html +33 -33
- package/docs/.vuepress/dist/index.html +75 -75
- package/docs/.vuepress/styles/index.scss +7 -7
- package/docs/components/decorator/ExDecorator.md +14 -14
- package/docs/components/sector/ExSector.md +43 -43
- package/docs/index.md +82 -82
- package/hooks/cipher.js +44 -44
- package/hooks/datetime.js +69 -69
- package/hooks/form.js +188 -188
- package/hooks/utils.js +282 -282
- package/index.html +17 -17
- package/package.json +1 -1
- package/playground/App.vue +191 -191
- package/playground/TestButton.vue +61 -61
- package/playground/TestCascader.vue +2442 -2442
- package/playground/TestDecorator.vue +14 -14
- package/playground/TestForm.vue +429 -429
- package/playground/TestFormItem.vue +110 -110
- package/playground/TestGrid.vue +22 -22
- package/playground/TestPagination.vue +1250 -1248
- package/playground/TestQrcode.vue +7 -7
- package/playground/TestResult.vue +12 -12
- package/playground/TestSearch.vue +115 -115
- package/playground/TestSector.vue +15 -15
- package/playground/TestSurvey.vue +27 -27
- package/playground/TestUploader.vue +14 -14
- package/playground/main.js +22 -22
- package/utils/style.js +13 -13
- package/vite.config.js +54 -54
- package/.changeset/blue-spiders-roll.md +0 -5
- package/.changeset/cyan-monkeys-draw.md +0 -5
- package/.changeset/dry-feet-float.md +0 -5
- package/.changeset/empty-mice-share.md +0 -5
- package/.changeset/famous-yaks-doubt.md +0 -5
- package/.changeset/five-fans-type.md +0 -5
- package/.changeset/funny-hats-drop.md +0 -5
- package/.changeset/khaki-cobras-bathe.md +0 -5
- package/.changeset/khaki-forks-shave.md +0 -5
- package/.changeset/lazy-yaks-crash.md +0 -5
- package/.changeset/light-cycles-flow.md +0 -5
- package/.changeset/loud-mirrors-explain.md +0 -5
- package/.changeset/lovely-balloons-protect.md +0 -5
- package/.changeset/mean-pens-travel.md +0 -5
- package/.changeset/moody-doors-grow.md +0 -5
- package/.changeset/moody-laws-change.md +0 -5
- package/.changeset/nasty-goats-joke.md +0 -5
- package/.changeset/odd-forks-drop.md +0 -5
- package/.changeset/olive-windows-suffer.md +0 -5
- package/.changeset/popular-carpets-jog.md +0 -5
- package/.changeset/popular-planets-play.md +0 -5
- package/.changeset/rare-gorillas-boil.md +0 -5
- package/.changeset/rare-moose-teach.md +0 -5
- package/.changeset/sharp-tools-hope.md +0 -5
- package/.changeset/slimy-sloths-refuse.md +0 -5
- package/.changeset/slow-boats-search.md +0 -5
- package/.changeset/small-experts-bake.md +0 -5
- package/.changeset/smooth-horses-tie.md +0 -5
- package/.changeset/tame-feet-reply.md +0 -5
- package/.changeset/tidy-items-reflect.md +0 -5
- package/.changeset/weak-chicken-admire.md +0 -5
- package/.changeset/weak-rockets-compare.md +0 -5
- package/.changeset/wild-glasses-bathe.md +0 -5
- package/.changeset/wise-ears-turn.md +0 -5
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import clientConfig0 from 'D:/workspace/jcomponent/node_modules/.pnpm/@vuepress+plugin-active-header-links@2.0.0-beta.67/node_modules/@vuepress/plugin-active-header-links/lib/client/config.js'
|
|
2
|
-
import clientConfig1 from 'D:/workspace/jcomponent/node_modules/.pnpm/@vuepress+plugin-back-to-top@2.0.0-beta.67/node_modules/@vuepress/plugin-back-to-top/lib/client/config.js'
|
|
3
|
-
import clientConfig2 from 'D:/workspace/jcomponent/node_modules/.pnpm/@vuepress+plugin-external-link-icon@2.0.0-beta.67/node_modules/@vuepress/plugin-external-link-icon/lib/client/config.js'
|
|
4
|
-
import clientConfig3 from 'D:/workspace/jcomponent/node_modules/.pnpm/@vuepress+plugin-medium-zoom@2.0.0-beta.67/node_modules/@vuepress/plugin-medium-zoom/lib/client/config.js'
|
|
5
|
-
import clientConfig4 from 'D:/workspace/jcomponent/node_modules/.pnpm/@vuepress+plugin-nprogress@2.0.0-beta.67/node_modules/@vuepress/plugin-nprogress/lib/client/config.js'
|
|
6
|
-
import clientConfig5 from 'D:/workspace/jcomponent/node_modules/.pnpm/@vuepress+plugin-theme-data@2.0.0-beta.67/node_modules/@vuepress/plugin-theme-data/lib/client/config.js'
|
|
7
|
-
import clientConfig6 from 'D:/workspace/jcomponent/node_modules/.pnpm/@vuepress+theme-default@2.0.0-beta.67/node_modules/@vuepress/theme-default/lib/client/config.js'
|
|
8
|
-
|
|
9
|
-
export const clientConfigs = [
|
|
10
|
-
clientConfig0,
|
|
11
|
-
clientConfig1,
|
|
12
|
-
clientConfig2,
|
|
13
|
-
clientConfig3,
|
|
14
|
-
clientConfig4,
|
|
15
|
-
clientConfig5,
|
|
16
|
-
clientConfig6,
|
|
17
|
-
]
|
|
1
|
+
import clientConfig0 from 'D:/workspace/jcomponent/node_modules/.pnpm/@vuepress+plugin-active-header-links@2.0.0-beta.67/node_modules/@vuepress/plugin-active-header-links/lib/client/config.js'
|
|
2
|
+
import clientConfig1 from 'D:/workspace/jcomponent/node_modules/.pnpm/@vuepress+plugin-back-to-top@2.0.0-beta.67/node_modules/@vuepress/plugin-back-to-top/lib/client/config.js'
|
|
3
|
+
import clientConfig2 from 'D:/workspace/jcomponent/node_modules/.pnpm/@vuepress+plugin-external-link-icon@2.0.0-beta.67/node_modules/@vuepress/plugin-external-link-icon/lib/client/config.js'
|
|
4
|
+
import clientConfig3 from 'D:/workspace/jcomponent/node_modules/.pnpm/@vuepress+plugin-medium-zoom@2.0.0-beta.67/node_modules/@vuepress/plugin-medium-zoom/lib/client/config.js'
|
|
5
|
+
import clientConfig4 from 'D:/workspace/jcomponent/node_modules/.pnpm/@vuepress+plugin-nprogress@2.0.0-beta.67/node_modules/@vuepress/plugin-nprogress/lib/client/config.js'
|
|
6
|
+
import clientConfig5 from 'D:/workspace/jcomponent/node_modules/.pnpm/@vuepress+plugin-theme-data@2.0.0-beta.67/node_modules/@vuepress/plugin-theme-data/lib/client/config.js'
|
|
7
|
+
import clientConfig6 from 'D:/workspace/jcomponent/node_modules/.pnpm/@vuepress+theme-default@2.0.0-beta.67/node_modules/@vuepress/theme-default/lib/client/config.js'
|
|
8
|
+
|
|
9
|
+
export const clientConfigs = [
|
|
10
|
+
clientConfig0,
|
|
11
|
+
clientConfig1,
|
|
12
|
+
clientConfig2,
|
|
13
|
+
clientConfig3,
|
|
14
|
+
clientConfig4,
|
|
15
|
+
clientConfig5,
|
|
16
|
+
clientConfig6,
|
|
17
|
+
]
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { defineAsyncComponent } from 'vue'
|
|
2
|
-
|
|
3
|
-
export const pagesComponents = {
|
|
4
|
-
// path: /hooks.html
|
|
5
|
-
"v-456c2ee2": defineAsyncComponent(() => import(/* webpackChunkName: "v-456c2ee2" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/hooks.html.vue")),
|
|
6
|
-
// path: /
|
|
7
|
-
"v-8daa1a0e": defineAsyncComponent(() => import(/* webpackChunkName: "v-8daa1a0e" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/index.html.vue")),
|
|
8
|
-
// path: /components/button/ExButton.html
|
|
9
|
-
"v-fa9c6d92": defineAsyncComponent(() => import(/* webpackChunkName: "v-fa9c6d92" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/components/button/ExButton.html.vue")),
|
|
10
|
-
// path: /components/decorator/ExDecorator.html
|
|
11
|
-
"v-3cd00876": defineAsyncComponent(() => import(/* webpackChunkName: "v-3cd00876" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/components/decorator/ExDecorator.html.vue")),
|
|
12
|
-
// path: /components/provider/ExProvider.html
|
|
13
|
-
"v-47132697": defineAsyncComponent(() => import(/* webpackChunkName: "v-47132697" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/components/provider/ExProvider.html.vue")),
|
|
14
|
-
// path: /components/form/ExForm.html
|
|
15
|
-
"v-40e16512": defineAsyncComponent(() => import(/* webpackChunkName: "v-40e16512" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/components/form/ExForm.html.vue")),
|
|
16
|
-
// path: /components/sector/ExSector.html
|
|
17
|
-
"v-30695eb7": defineAsyncComponent(() => import(/* webpackChunkName: "v-30695eb7" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/components/sector/ExSector.html.vue")),
|
|
18
|
-
// path: /components/search/ExSearch.html
|
|
19
|
-
"v-6c62dc77": defineAsyncComponent(() => import(/* webpackChunkName: "v-6c62dc77" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/components/search/ExSearch.html.vue")),
|
|
20
|
-
// path: /components/uploader/ExUploader.html
|
|
21
|
-
"v-004152b7": defineAsyncComponent(() => import(/* webpackChunkName: "v-004152b7" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/components/uploader/ExUploader.html.vue")),
|
|
22
|
-
// path: /404.html
|
|
23
|
-
"v-3706649a": defineAsyncComponent(() => import(/* webpackChunkName: "v-3706649a" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/404.html.vue")),
|
|
24
|
-
}
|
|
1
|
+
import { defineAsyncComponent } from 'vue'
|
|
2
|
+
|
|
3
|
+
export const pagesComponents = {
|
|
4
|
+
// path: /hooks.html
|
|
5
|
+
"v-456c2ee2": defineAsyncComponent(() => import(/* webpackChunkName: "v-456c2ee2" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/hooks.html.vue")),
|
|
6
|
+
// path: /
|
|
7
|
+
"v-8daa1a0e": defineAsyncComponent(() => import(/* webpackChunkName: "v-8daa1a0e" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/index.html.vue")),
|
|
8
|
+
// path: /components/button/ExButton.html
|
|
9
|
+
"v-fa9c6d92": defineAsyncComponent(() => import(/* webpackChunkName: "v-fa9c6d92" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/components/button/ExButton.html.vue")),
|
|
10
|
+
// path: /components/decorator/ExDecorator.html
|
|
11
|
+
"v-3cd00876": defineAsyncComponent(() => import(/* webpackChunkName: "v-3cd00876" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/components/decorator/ExDecorator.html.vue")),
|
|
12
|
+
// path: /components/provider/ExProvider.html
|
|
13
|
+
"v-47132697": defineAsyncComponent(() => import(/* webpackChunkName: "v-47132697" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/components/provider/ExProvider.html.vue")),
|
|
14
|
+
// path: /components/form/ExForm.html
|
|
15
|
+
"v-40e16512": defineAsyncComponent(() => import(/* webpackChunkName: "v-40e16512" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/components/form/ExForm.html.vue")),
|
|
16
|
+
// path: /components/sector/ExSector.html
|
|
17
|
+
"v-30695eb7": defineAsyncComponent(() => import(/* webpackChunkName: "v-30695eb7" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/components/sector/ExSector.html.vue")),
|
|
18
|
+
// path: /components/search/ExSearch.html
|
|
19
|
+
"v-6c62dc77": defineAsyncComponent(() => import(/* webpackChunkName: "v-6c62dc77" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/components/search/ExSearch.html.vue")),
|
|
20
|
+
// path: /components/uploader/ExUploader.html
|
|
21
|
+
"v-004152b7": defineAsyncComponent(() => import(/* webpackChunkName: "v-004152b7" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/components/uploader/ExUploader.html.vue")),
|
|
22
|
+
// path: /404.html
|
|
23
|
+
"v-3706649a": defineAsyncComponent(() => import(/* webpackChunkName: "v-3706649a" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/404.html.vue")),
|
|
24
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export const pagesData = {
|
|
2
|
-
// path: /hooks.html
|
|
3
|
-
"v-456c2ee2": () => import(/* webpackChunkName: "v-456c2ee2" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/hooks.html.js").then(({ data }) => data),
|
|
4
|
-
// path: /
|
|
5
|
-
"v-8daa1a0e": () => import(/* webpackChunkName: "v-8daa1a0e" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/index.html.js").then(({ data }) => data),
|
|
6
|
-
// path: /components/button/ExButton.html
|
|
7
|
-
"v-fa9c6d92": () => import(/* webpackChunkName: "v-fa9c6d92" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/components/button/ExButton.html.js").then(({ data }) => data),
|
|
8
|
-
// path: /components/decorator/ExDecorator.html
|
|
9
|
-
"v-3cd00876": () => import(/* webpackChunkName: "v-3cd00876" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/components/decorator/ExDecorator.html.js").then(({ data }) => data),
|
|
10
|
-
// path: /components/provider/ExProvider.html
|
|
11
|
-
"v-47132697": () => import(/* webpackChunkName: "v-47132697" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/components/provider/ExProvider.html.js").then(({ data }) => data),
|
|
12
|
-
// path: /components/form/ExForm.html
|
|
13
|
-
"v-40e16512": () => import(/* webpackChunkName: "v-40e16512" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/components/form/ExForm.html.js").then(({ data }) => data),
|
|
14
|
-
// path: /components/sector/ExSector.html
|
|
15
|
-
"v-30695eb7": () => import(/* webpackChunkName: "v-30695eb7" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/components/sector/ExSector.html.js").then(({ data }) => data),
|
|
16
|
-
// path: /components/search/ExSearch.html
|
|
17
|
-
"v-6c62dc77": () => import(/* webpackChunkName: "v-6c62dc77" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/components/search/ExSearch.html.js").then(({ data }) => data),
|
|
18
|
-
// path: /components/uploader/ExUploader.html
|
|
19
|
-
"v-004152b7": () => import(/* webpackChunkName: "v-004152b7" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/components/uploader/ExUploader.html.js").then(({ data }) => data),
|
|
20
|
-
// path: /404.html
|
|
21
|
-
"v-3706649a": () => import(/* webpackChunkName: "v-3706649a" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/404.html.js").then(({ data }) => data),
|
|
22
|
-
}
|
|
1
|
+
export const pagesData = {
|
|
2
|
+
// path: /hooks.html
|
|
3
|
+
"v-456c2ee2": () => import(/* webpackChunkName: "v-456c2ee2" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/hooks.html.js").then(({ data }) => data),
|
|
4
|
+
// path: /
|
|
5
|
+
"v-8daa1a0e": () => import(/* webpackChunkName: "v-8daa1a0e" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/index.html.js").then(({ data }) => data),
|
|
6
|
+
// path: /components/button/ExButton.html
|
|
7
|
+
"v-fa9c6d92": () => import(/* webpackChunkName: "v-fa9c6d92" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/components/button/ExButton.html.js").then(({ data }) => data),
|
|
8
|
+
// path: /components/decorator/ExDecorator.html
|
|
9
|
+
"v-3cd00876": () => import(/* webpackChunkName: "v-3cd00876" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/components/decorator/ExDecorator.html.js").then(({ data }) => data),
|
|
10
|
+
// path: /components/provider/ExProvider.html
|
|
11
|
+
"v-47132697": () => import(/* webpackChunkName: "v-47132697" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/components/provider/ExProvider.html.js").then(({ data }) => data),
|
|
12
|
+
// path: /components/form/ExForm.html
|
|
13
|
+
"v-40e16512": () => import(/* webpackChunkName: "v-40e16512" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/components/form/ExForm.html.js").then(({ data }) => data),
|
|
14
|
+
// path: /components/sector/ExSector.html
|
|
15
|
+
"v-30695eb7": () => import(/* webpackChunkName: "v-30695eb7" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/components/sector/ExSector.html.js").then(({ data }) => data),
|
|
16
|
+
// path: /components/search/ExSearch.html
|
|
17
|
+
"v-6c62dc77": () => import(/* webpackChunkName: "v-6c62dc77" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/components/search/ExSearch.html.js").then(({ data }) => data),
|
|
18
|
+
// path: /components/uploader/ExUploader.html
|
|
19
|
+
"v-004152b7": () => import(/* webpackChunkName: "v-004152b7" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/components/uploader/ExUploader.html.js").then(({ data }) => data),
|
|
20
|
+
// path: /404.html
|
|
21
|
+
"v-3706649a": () => import(/* webpackChunkName: "v-3706649a" */"D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/.temp/pages/404.html.js").then(({ data }) => data),
|
|
22
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export const pagesRoutes = [
|
|
2
|
-
["v-456c2ee2","/hooks.html",{"title":""},[":md"]],
|
|
3
|
-
["v-8daa1a0e","/",{"title":"Explore-UI"},["/index.md"]],
|
|
4
|
-
["v-fa9c6d92","/components/button/ExButton.html",{"title":"ExButton"},[":md"]],
|
|
5
|
-
["v-3cd00876","/components/decorator/ExDecorator.html",{"title":"ExDecorator"},[":md"]],
|
|
6
|
-
["v-47132697","/components/provider/ExProvider.html",{"title":"ExProvider"},[":md"]],
|
|
7
|
-
["v-40e16512","/components/form/ExForm.html",{"title":"ExForm"},[":md"]],
|
|
8
|
-
["v-30695eb7","/components/sector/ExSector.html",{"title":"ExSector"},[":md"]],
|
|
9
|
-
["v-6c62dc77","/components/search/ExSearch.html",{"title":"ExSearch"},[":md"]],
|
|
10
|
-
["v-004152b7","/components/uploader/ExUploader.html",{"title":"ExUploader"},[":md"]],
|
|
11
|
-
["v-3706649a","/404.html",{"title":""},[]],
|
|
12
|
-
]
|
|
1
|
+
export const pagesRoutes = [
|
|
2
|
+
["v-456c2ee2","/hooks.html",{"title":""},[":md"]],
|
|
3
|
+
["v-8daa1a0e","/",{"title":"Explore-UI"},["/index.md"]],
|
|
4
|
+
["v-fa9c6d92","/components/button/ExButton.html",{"title":"ExButton"},[":md"]],
|
|
5
|
+
["v-3cd00876","/components/decorator/ExDecorator.html",{"title":"ExDecorator"},[":md"]],
|
|
6
|
+
["v-47132697","/components/provider/ExProvider.html",{"title":"ExProvider"},[":md"]],
|
|
7
|
+
["v-40e16512","/components/form/ExForm.html",{"title":"ExForm"},[":md"]],
|
|
8
|
+
["v-30695eb7","/components/sector/ExSector.html",{"title":"ExSector"},[":md"]],
|
|
9
|
+
["v-6c62dc77","/components/search/ExSearch.html",{"title":"ExSearch"},[":md"]],
|
|
10
|
+
["v-004152b7","/components/uploader/ExUploader.html",{"title":"ExUploader"},[":md"]],
|
|
11
|
+
["v-3706649a","/404.html",{"title":""},[]],
|
|
12
|
+
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const themeData = JSON.parse("{\"displayAllHeaders\":true,\"navbar\":[{\"text\":\"首页\",\"link\":\"/\"},{\"text\":\"组件\",\"children\":[{\"text\":\"ExButton\",\"link\":\"/components/button/ExButton\"},{\"text\":\"ExDecorator\",\"link\":\"/components/decorator/ExDecorator\"},{\"text\":\"ExForm\",\"link\":\"/components/form/ExForm\"},{\"text\":\"ExProvider\",\"link\":\"/components/provider/ExProvider\"},{\"text\":\"ExSearch\",\"link\":\"/components/search/ExSearch\"},{\"text\":\"ExSector\",\"link\":\"/components/sector/ExSector\"},{\"text\":\"ExUploader\",\"link\":\"/components/uploader/ExUploader\"}]},{\"text\":\"组合式 API\",\"link\":\"/hooks\"}],\"locales\":{\"/\":{\"selectLanguageName\":\"English\"}},\"colorMode\":\"auto\",\"colorModeSwitch\":true,\"logo\":null,\"repo\":null,\"selectLanguageText\":\"Languages\",\"selectLanguageAriaLabel\":\"Select language\",\"sidebar\":\"auto\",\"sidebarDepth\":2,\"editLink\":true,\"editLinkText\":\"Edit this page\",\"lastUpdated\":true,\"lastUpdatedText\":\"Last Updated\",\"contributors\":true,\"contributorsText\":\"Contributors\",\"notFound\":[\"There's nothing here.\",\"How did we get here?\",\"That's a Four-Oh-Four.\",\"Looks like we've got some broken links.\"],\"backToHome\":\"Take me home\",\"openInNewWindow\":\"open in new window\",\"toggleColorMode\":\"toggle color mode\",\"toggleSidebar\":\"toggle sidebar\"}")
|
|
1
|
+
export const themeData = JSON.parse("{\"displayAllHeaders\":true,\"navbar\":[{\"text\":\"首页\",\"link\":\"/\"},{\"text\":\"组件\",\"children\":[{\"text\":\"ExButton\",\"link\":\"/components/button/ExButton\"},{\"text\":\"ExDecorator\",\"link\":\"/components/decorator/ExDecorator\"},{\"text\":\"ExForm\",\"link\":\"/components/form/ExForm\"},{\"text\":\"ExProvider\",\"link\":\"/components/provider/ExProvider\"},{\"text\":\"ExSearch\",\"link\":\"/components/search/ExSearch\"},{\"text\":\"ExSector\",\"link\":\"/components/sector/ExSector\"},{\"text\":\"ExUploader\",\"link\":\"/components/uploader/ExUploader\"}]},{\"text\":\"组合式 API\",\"link\":\"/hooks\"}],\"locales\":{\"/\":{\"selectLanguageName\":\"English\"}},\"colorMode\":\"auto\",\"colorModeSwitch\":true,\"logo\":null,\"repo\":null,\"selectLanguageText\":\"Languages\",\"selectLanguageAriaLabel\":\"Select language\",\"sidebar\":\"auto\",\"sidebarDepth\":2,\"editLink\":true,\"editLinkText\":\"Edit this page\",\"lastUpdated\":true,\"lastUpdatedText\":\"Last Updated\",\"contributors\":true,\"contributorsText\":\"Contributors\",\"notFound\":[\"There's nothing here.\",\"How did we get here?\",\"That's a Four-Oh-Four.\",\"Looks like we've got some broken links.\"],\"backToHome\":\"Take me home\",\"openInNewWindow\":\"open in new window\",\"toggleColorMode\":\"toggle color mode\",\"toggleSidebar\":\"toggle sidebar\"}")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const data = JSON.parse("{\"key\":\"v-3cd00876\",\"path\":\"/components/decorator/ExDecorator.html\",\"title\":\"ExDecorator\",\"lang\":\"zh-CN\",\"frontmatter\":{},\"headers\":[{\"level\":2,\"title\":\"Props\",\"slug\":\"props\",\"link\":\"#props\",\"children\":[]}],\"git\":{\"updatedTime\":null,\"contributors\":[]},\"filePathRelative\":\"components/decorator/ExDecorator.md\"}")
|
|
1
|
+
export const data = JSON.parse("{\"key\":\"v-3cd00876\",\"path\":\"/components/decorator/ExDecorator.html\",\"title\":\"ExDecorator\",\"lang\":\"zh-CN\",\"frontmatter\":{},\"headers\":[{\"level\":2,\"title\":\"Props\",\"slug\":\"props\",\"link\":\"#props\",\"children\":[]}],\"git\":{\"updatedTime\":null,\"contributors\":[]},\"filePathRelative\":\"components/decorator/ExDecorator.md\"}")
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
<template><div><h1 id="exdecorator" tabindex="-1"><a class="header-anchor" href="#exdecorator" aria-hidden="true">#</a> ExDecorator</h1>
|
|
2
|
-
<blockquote>
|
|
3
|
-
<p>装饰组件</p>
|
|
4
|
-
</blockquote>
|
|
5
|
-
<p>Version: 1.0.0</p>
|
|
6
|
-
<h2 id="props" tabindex="-1"><a class="header-anchor" href="#props" aria-hidden="true">#</a> Props</h2>
|
|
7
|
-
<table>
|
|
8
|
-
<thead>
|
|
9
|
-
<tr>
|
|
10
|
-
<th>Prop name</th>
|
|
11
|
-
<th>Description</th>
|
|
12
|
-
<th>Type</th>
|
|
13
|
-
<th>Values</th>
|
|
14
|
-
<th>Default</th>
|
|
15
|
-
</tr>
|
|
16
|
-
</thead>
|
|
17
|
-
<tbody>
|
|
18
|
-
<tr>
|
|
19
|
-
<td>color</td>
|
|
20
|
-
<td>自定义颜色</td>
|
|
21
|
-
<td>string</td>
|
|
22
|
-
<td><code v-pre>green</code>, <code v-pre>blue</code>, <code v-pre>black</code>, <code v-pre>orange</code></td>
|
|
23
|
-
<td>"green"</td>
|
|
24
|
-
</tr>
|
|
25
|
-
<tr>
|
|
26
|
-
<td>height</td>
|
|
27
|
-
<td>高度</td>
|
|
28
|
-
<td>number|string</td>
|
|
29
|
-
<td>-</td>
|
|
30
|
-
<td>"auto"</td>
|
|
31
|
-
</tr>
|
|
32
|
-
</tbody>
|
|
33
|
-
</table>
|
|
34
|
-
<hr>
|
|
35
|
-
</div></template>
|
|
36
|
-
|
|
37
|
-
|
|
1
|
+
<template><div><h1 id="exdecorator" tabindex="-1"><a class="header-anchor" href="#exdecorator" aria-hidden="true">#</a> ExDecorator</h1>
|
|
2
|
+
<blockquote>
|
|
3
|
+
<p>装饰组件</p>
|
|
4
|
+
</blockquote>
|
|
5
|
+
<p>Version: 1.0.0</p>
|
|
6
|
+
<h2 id="props" tabindex="-1"><a class="header-anchor" href="#props" aria-hidden="true">#</a> Props</h2>
|
|
7
|
+
<table>
|
|
8
|
+
<thead>
|
|
9
|
+
<tr>
|
|
10
|
+
<th>Prop name</th>
|
|
11
|
+
<th>Description</th>
|
|
12
|
+
<th>Type</th>
|
|
13
|
+
<th>Values</th>
|
|
14
|
+
<th>Default</th>
|
|
15
|
+
</tr>
|
|
16
|
+
</thead>
|
|
17
|
+
<tbody>
|
|
18
|
+
<tr>
|
|
19
|
+
<td>color</td>
|
|
20
|
+
<td>自定义颜色</td>
|
|
21
|
+
<td>string</td>
|
|
22
|
+
<td><code v-pre>green</code>, <code v-pre>blue</code>, <code v-pre>black</code>, <code v-pre>orange</code></td>
|
|
23
|
+
<td>"green"</td>
|
|
24
|
+
</tr>
|
|
25
|
+
<tr>
|
|
26
|
+
<td>height</td>
|
|
27
|
+
<td>高度</td>
|
|
28
|
+
<td>number|string</td>
|
|
29
|
+
<td>-</td>
|
|
30
|
+
<td>"auto"</td>
|
|
31
|
+
</tr>
|
|
32
|
+
</tbody>
|
|
33
|
+
</table>
|
|
34
|
+
<hr>
|
|
35
|
+
</div></template>
|
|
36
|
+
|
|
37
|
+
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const data = JSON.parse("{\"key\":\"v-30695eb7\",\"path\":\"/components/sector/ExSector.html\",\"title\":\"ExSector\",\"lang\":\"zh-CN\",\"frontmatter\":{},\"headers\":[{\"level\":2,\"title\":\"Props\",\"slug\":\"props\",\"link\":\"#props\",\"children\":[]},{\"level\":2,\"title\":\"示例\",\"slug\":\"示例\",\"link\":\"#示例\",\"children\":[]}],\"git\":{\"updatedTime\":null,\"contributors\":[]},\"filePathRelative\":\"components/sector/ExSector.md\"}")
|
|
1
|
+
export const data = JSON.parse("{\"key\":\"v-30695eb7\",\"path\":\"/components/sector/ExSector.html\",\"title\":\"ExSector\",\"lang\":\"zh-CN\",\"frontmatter\":{},\"headers\":[{\"level\":2,\"title\":\"Props\",\"slug\":\"props\",\"link\":\"#props\",\"children\":[]},{\"level\":2,\"title\":\"示例\",\"slug\":\"示例\",\"link\":\"#示例\",\"children\":[]}],\"git\":{\"updatedTime\":null,\"contributors\":[]},\"filePathRelative\":\"components/sector/ExSector.md\"}")
|
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
<template><div><h1 id="exsector" tabindex="-1"><a class="header-anchor" href="#exsector" aria-hidden="true">#</a> ExSector</h1>
|
|
2
|
-
<blockquote>
|
|
3
|
-
<p>块状导航</p>
|
|
4
|
-
</blockquote>
|
|
5
|
-
<p>Version: 1.0.0</p>
|
|
6
|
-
<h2 id="props" tabindex="-1"><a class="header-anchor" href="#props" aria-hidden="true">#</a> Props</h2>
|
|
7
|
-
<table>
|
|
8
|
-
<thead>
|
|
9
|
-
<tr>
|
|
10
|
-
<th>Prop name</th>
|
|
11
|
-
<th>Description</th>
|
|
12
|
-
<th>Type</th>
|
|
13
|
-
<th>Values</th>
|
|
14
|
-
<th>Default</th>
|
|
15
|
-
</tr>
|
|
16
|
-
</thead>
|
|
17
|
-
<tbody>
|
|
18
|
-
<tr>
|
|
19
|
-
<td>color</td>
|
|
20
|
-
<td>自定义颜色</td>
|
|
21
|
-
<td>string</td>
|
|
22
|
-
<td><code v-pre>green</code>, <code v-pre>blue</code>, <code v-pre>orange</code>, <code v-pre>red</code></td>
|
|
23
|
-
<td>"green"</td>
|
|
24
|
-
</tr>
|
|
25
|
-
<tr>
|
|
26
|
-
<td>height</td>
|
|
27
|
-
<td>高度</td>
|
|
28
|
-
<td>number|string</td>
|
|
29
|
-
<td>-</td>
|
|
30
|
-
<td>"100px"</td>
|
|
31
|
-
</tr>
|
|
32
|
-
<tr>
|
|
33
|
-
<td>title</td>
|
|
34
|
-
<td>标题</td>
|
|
35
|
-
<td>string</td>
|
|
36
|
-
<td>-</td>
|
|
37
|
-
<td>""</td>
|
|
38
|
-
</tr>
|
|
39
|
-
<tr>
|
|
40
|
-
<td>subtitle</td>
|
|
41
|
-
<td>副标题</td>
|
|
42
|
-
<td>string</td>
|
|
43
|
-
<td>-</td>
|
|
44
|
-
<td>""</td>
|
|
45
|
-
</tr>
|
|
46
|
-
</tbody>
|
|
47
|
-
</table>
|
|
48
|
-
<hr>
|
|
49
|
-
<h2 id="示例" tabindex="-1"><a class="header-anchor" href="#示例" aria-hidden="true">#</a> 示例</h2>
|
|
50
|
-
<hr>
|
|
51
|
-
<div style="width:200px">
|
|
52
|
-
<ExSector title="普通的标题" subtitle="有描述" />
|
|
53
|
-
<ExSector title="有slot的写法" color="blue">
|
|
54
|
-
<template #subtitle>
|
|
55
|
-
<view style="color: red">红色</view>与蓝色
|
|
56
|
-
</template>
|
|
57
|
-
</ExSector>
|
|
58
|
-
</div>
|
|
59
|
-
<div class="language-vue line-numbers-mode" data-ext="vue"><pre v-pre class="language-vue"><code><span class="token tag"><span class="token tag"><span class="token punctuation"><</span>ExSector</span> <span class="token attr-name">title</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">"</span>普通的标题<span class="token punctuation">"</span></span> <span class="token attr-name">subtitle</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">"</span>有描述<span class="token punctuation">"</span></span> <span class="token punctuation">/></span></span>
|
|
60
|
-
<span class="token tag"><span class="token tag"><span class="token punctuation"><</span>ExSector</span> <span class="token attr-name">title</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">"</span>有slot的写法<span class="token punctuation">"</span></span> <span class="token attr-name">color</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">"</span>blue<span class="token punctuation">"</span></span><span class="token punctuation">></span></span>
|
|
61
|
-
<span class="token tag"><span class="token tag"><span class="token punctuation"><</span>template</span> <span class="token attr-name">#subtitle</span><span class="token punctuation">></span></span>
|
|
62
|
-
<span class="token tag"><span class="token tag"><span class="token punctuation"><</span>view</span> <span class="token special-attr"><span class="token attr-name">style</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">"</span><span class="token value css language-css"><span class="token property">color</span><span class="token punctuation">:</span> red</span><span class="token punctuation">"</span></span></span><span class="token punctuation">></span></span>红色<span class="token tag"><span class="token tag"><span class="token punctuation"></</span>view</span><span class="token punctuation">></span></span>与蓝色
|
|
63
|
-
<span class="token tag"><span class="token tag"><span class="token punctuation"></</span>template</span><span class="token punctuation">></span></span>
|
|
64
|
-
<span class="token tag"><span class="token tag"><span class="token punctuation"></</span>ExSector</span><span class="token punctuation">></span></span>
|
|
65
|
-
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div></div></template>
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
<script setup>
|
|
69
|
-
import { ref, h } from "vue";
|
|
70
|
-
import ExSector from "@components/sector/ExSector.jsx";
|
|
71
|
-
|
|
1
|
+
<template><div><h1 id="exsector" tabindex="-1"><a class="header-anchor" href="#exsector" aria-hidden="true">#</a> ExSector</h1>
|
|
2
|
+
<blockquote>
|
|
3
|
+
<p>块状导航</p>
|
|
4
|
+
</blockquote>
|
|
5
|
+
<p>Version: 1.0.0</p>
|
|
6
|
+
<h2 id="props" tabindex="-1"><a class="header-anchor" href="#props" aria-hidden="true">#</a> Props</h2>
|
|
7
|
+
<table>
|
|
8
|
+
<thead>
|
|
9
|
+
<tr>
|
|
10
|
+
<th>Prop name</th>
|
|
11
|
+
<th>Description</th>
|
|
12
|
+
<th>Type</th>
|
|
13
|
+
<th>Values</th>
|
|
14
|
+
<th>Default</th>
|
|
15
|
+
</tr>
|
|
16
|
+
</thead>
|
|
17
|
+
<tbody>
|
|
18
|
+
<tr>
|
|
19
|
+
<td>color</td>
|
|
20
|
+
<td>自定义颜色</td>
|
|
21
|
+
<td>string</td>
|
|
22
|
+
<td><code v-pre>green</code>, <code v-pre>blue</code>, <code v-pre>orange</code>, <code v-pre>red</code></td>
|
|
23
|
+
<td>"green"</td>
|
|
24
|
+
</tr>
|
|
25
|
+
<tr>
|
|
26
|
+
<td>height</td>
|
|
27
|
+
<td>高度</td>
|
|
28
|
+
<td>number|string</td>
|
|
29
|
+
<td>-</td>
|
|
30
|
+
<td>"100px"</td>
|
|
31
|
+
</tr>
|
|
32
|
+
<tr>
|
|
33
|
+
<td>title</td>
|
|
34
|
+
<td>标题</td>
|
|
35
|
+
<td>string</td>
|
|
36
|
+
<td>-</td>
|
|
37
|
+
<td>""</td>
|
|
38
|
+
</tr>
|
|
39
|
+
<tr>
|
|
40
|
+
<td>subtitle</td>
|
|
41
|
+
<td>副标题</td>
|
|
42
|
+
<td>string</td>
|
|
43
|
+
<td>-</td>
|
|
44
|
+
<td>""</td>
|
|
45
|
+
</tr>
|
|
46
|
+
</tbody>
|
|
47
|
+
</table>
|
|
48
|
+
<hr>
|
|
49
|
+
<h2 id="示例" tabindex="-1"><a class="header-anchor" href="#示例" aria-hidden="true">#</a> 示例</h2>
|
|
50
|
+
<hr>
|
|
51
|
+
<div style="width:200px">
|
|
52
|
+
<ExSector title="普通的标题" subtitle="有描述" />
|
|
53
|
+
<ExSector title="有slot的写法" color="blue">
|
|
54
|
+
<template #subtitle>
|
|
55
|
+
<view style="color: red">红色</view>与蓝色
|
|
56
|
+
</template>
|
|
57
|
+
</ExSector>
|
|
58
|
+
</div>
|
|
59
|
+
<div class="language-vue line-numbers-mode" data-ext="vue"><pre v-pre class="language-vue"><code><span class="token tag"><span class="token tag"><span class="token punctuation"><</span>ExSector</span> <span class="token attr-name">title</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">"</span>普通的标题<span class="token punctuation">"</span></span> <span class="token attr-name">subtitle</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">"</span>有描述<span class="token punctuation">"</span></span> <span class="token punctuation">/></span></span>
|
|
60
|
+
<span class="token tag"><span class="token tag"><span class="token punctuation"><</span>ExSector</span> <span class="token attr-name">title</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">"</span>有slot的写法<span class="token punctuation">"</span></span> <span class="token attr-name">color</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">"</span>blue<span class="token punctuation">"</span></span><span class="token punctuation">></span></span>
|
|
61
|
+
<span class="token tag"><span class="token tag"><span class="token punctuation"><</span>template</span> <span class="token attr-name">#subtitle</span><span class="token punctuation">></span></span>
|
|
62
|
+
<span class="token tag"><span class="token tag"><span class="token punctuation"><</span>view</span> <span class="token special-attr"><span class="token attr-name">style</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">"</span><span class="token value css language-css"><span class="token property">color</span><span class="token punctuation">:</span> red</span><span class="token punctuation">"</span></span></span><span class="token punctuation">></span></span>红色<span class="token tag"><span class="token tag"><span class="token punctuation"></</span>view</span><span class="token punctuation">></span></span>与蓝色
|
|
63
|
+
<span class="token tag"><span class="token tag"><span class="token punctuation"></</span>template</span><span class="token punctuation">></span></span>
|
|
64
|
+
<span class="token tag"><span class="token tag"><span class="token punctuation"></</span>ExSector</span><span class="token punctuation">></span></span>
|
|
65
|
+
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div></div></template>
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
<script setup>
|
|
69
|
+
import { ref, h } from "vue";
|
|
70
|
+
import ExSector from "@components/sector/ExSector.jsx";
|
|
71
|
+
|
|
72
72
|
</script>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@forward 'file:///D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/styles/index.scss';
|
|
1
|
+
@forward 'file:///D:/workspace/jcomponent/packages/explore-ui/docs/.vuepress/styles/index.scss';
|
package/docs/.vuepress/config.js
CHANGED
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
import { defaultTheme, defineUserConfig, viteBundler } from "vuepress"
|
|
2
|
-
import vueJsx from "@vitejs/plugin-vue-jsx"
|
|
3
|
-
import { resolve } from "path"
|
|
4
|
-
import { globbySync } from "globby"
|
|
5
|
-
import pixelToRem from "postcss-pxtorem"
|
|
6
|
-
|
|
7
|
-
const sidebarComponents = globbySync("components/**/*.md", { cwd: resolve(__dirname, "../") })
|
|
8
|
-
|
|
9
|
-
export default defineUserConfig({
|
|
10
|
-
base: "/docs/explore-ui/",
|
|
11
|
-
lang: "zh-CN",
|
|
12
|
-
title: "Explore Component",
|
|
13
|
-
description: "Enhanced Vue components based on Vant.",
|
|
14
|
-
bundler: viteBundler({
|
|
15
|
-
viteOptions: {
|
|
16
|
-
plugins: [vueJsx()],
|
|
17
|
-
resolve: {
|
|
18
|
-
alias: {
|
|
19
|
-
"@components": resolve(__dirname, "../../components"),
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
css: {
|
|
23
|
-
postcss: {
|
|
24
|
-
plugins: [
|
|
25
|
-
pixelToRem({
|
|
26
|
-
rootValue(file) {
|
|
27
|
-
if (file.file.includes("node_modules/@vuepress")) {
|
|
28
|
-
return 16
|
|
29
|
-
}
|
|
30
|
-
return 37.5
|
|
31
|
-
},
|
|
32
|
-
propList: ["*"],
|
|
33
|
-
}),
|
|
34
|
-
],
|
|
35
|
-
},
|
|
36
|
-
},
|
|
37
|
-
},
|
|
38
|
-
}),
|
|
39
|
-
theme: defaultTheme({
|
|
40
|
-
displayAllHeaders: true,
|
|
41
|
-
navbar: [
|
|
42
|
-
{ text: "首页", link: "/" },
|
|
43
|
-
{
|
|
44
|
-
text: "组件",
|
|
45
|
-
children: sidebarComponents.map((comp) => {
|
|
46
|
-
return {
|
|
47
|
-
text: comp
|
|
48
|
-
.replace(/^components\//, "")
|
|
49
|
-
.replace(/\.md$/, "")
|
|
50
|
-
.split("/")[1],
|
|
51
|
-
link: "/" + comp.replace(/\.md$/, ""),
|
|
52
|
-
}
|
|
53
|
-
}),
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
text: "组合式 API",
|
|
57
|
-
link: "/hooks",
|
|
58
|
-
},
|
|
59
|
-
],
|
|
60
|
-
}),
|
|
61
|
-
})
|
|
1
|
+
import { defaultTheme, defineUserConfig, viteBundler } from "vuepress"
|
|
2
|
+
import vueJsx from "@vitejs/plugin-vue-jsx"
|
|
3
|
+
import { resolve } from "path"
|
|
4
|
+
import { globbySync } from "globby"
|
|
5
|
+
import pixelToRem from "postcss-pxtorem"
|
|
6
|
+
|
|
7
|
+
const sidebarComponents = globbySync("components/**/*.md", { cwd: resolve(__dirname, "../") })
|
|
8
|
+
|
|
9
|
+
export default defineUserConfig({
|
|
10
|
+
base: "/docs/explore-ui/",
|
|
11
|
+
lang: "zh-CN",
|
|
12
|
+
title: "Explore Component",
|
|
13
|
+
description: "Enhanced Vue components based on Vant.",
|
|
14
|
+
bundler: viteBundler({
|
|
15
|
+
viteOptions: {
|
|
16
|
+
plugins: [vueJsx()],
|
|
17
|
+
resolve: {
|
|
18
|
+
alias: {
|
|
19
|
+
"@components": resolve(__dirname, "../../components"),
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
css: {
|
|
23
|
+
postcss: {
|
|
24
|
+
plugins: [
|
|
25
|
+
pixelToRem({
|
|
26
|
+
rootValue(file) {
|
|
27
|
+
if (file.file.includes("node_modules/@vuepress")) {
|
|
28
|
+
return 16
|
|
29
|
+
}
|
|
30
|
+
return 37.5
|
|
31
|
+
},
|
|
32
|
+
propList: ["*"],
|
|
33
|
+
}),
|
|
34
|
+
],
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
}),
|
|
39
|
+
theme: defaultTheme({
|
|
40
|
+
displayAllHeaders: true,
|
|
41
|
+
navbar: [
|
|
42
|
+
{ text: "首页", link: "/" },
|
|
43
|
+
{
|
|
44
|
+
text: "组件",
|
|
45
|
+
children: sidebarComponents.map((comp) => {
|
|
46
|
+
return {
|
|
47
|
+
text: comp
|
|
48
|
+
.replace(/^components\//, "")
|
|
49
|
+
.replace(/\.md$/, "")
|
|
50
|
+
.split("/")[1],
|
|
51
|
+
link: "/" + comp.replace(/\.md$/, ""),
|
|
52
|
+
}
|
|
53
|
+
}),
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
text: "组合式 API",
|
|
57
|
+
link: "/hooks",
|
|
58
|
+
},
|
|
59
|
+
],
|
|
60
|
+
}),
|
|
61
|
+
})
|