@topvisor/ui 0.0.35 → 0.0.36
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/{src/components/forms/inputDate/datepicker.css → .chunks/datepicker-1e725859.amd.js} +3 -2
- package/.chunks/datepicker-1e725859.amd.js.map +1 -0
- package/.chunks/datepicker-ad465c48.es.js +275 -0
- package/.chunks/datepicker-ad465c48.es.js.map +1 -0
- package/.chunks/forms-2891e074.amd.js +3 -0
- package/.chunks/forms-2891e074.amd.js.map +1 -0
- package/.chunks/forms-db4cb24d.es.js +946 -0
- package/.chunks/forms-db4cb24d.es.js.map +1 -0
- package/.chunks/popup-0f540839.es.js +700 -0
- package/.chunks/popup-0f540839.es.js.map +1 -0
- package/.chunks/popup-e49a9bab.amd.js +341 -0
- package/.chunks/popup-e49a9bab.amd.js.map +1 -0
- package/README.md +63 -30
- package/common/common.amd.js +2 -0
- package/common/common.amd.js.map +1 -0
- package/common/common.js +2 -0
- package/common/common.js.map +1 -0
- package/core/core.amd.js +2 -0
- package/core/core.amd.js.map +1 -0
- package/core/core.js +6 -0
- package/core/core.js.map +1 -0
- package/core.css +1 -0
- package/dark.css +1 -0
- package/forms/forms.amd.js +2 -0
- package/forms/forms.amd.js.map +1 -0
- package/forms/forms.js +15 -0
- package/forms/forms.js.map +1 -0
- package/forms/helpers.amd.js +2 -0
- package/forms/helpers.amd.js.map +1 -0
- package/forms/helpers.js +9 -0
- package/forms/helpers.js.map +1 -0
- package/forms.css +1 -0
- package/formsExt/formsExt.amd.js +3 -0
- package/formsExt/formsExt.amd.js.map +1 -0
- package/formsExt/formsExt.js +207 -0
- package/formsExt/formsExt.js.map +1 -0
- package/formsExt.css +1 -0
- package/light.css +1 -0
- package/package.json +1 -50
- package/popup/popup.amd.js +3 -0
- package/popup/popup.amd.js.map +1 -0
- package/popup/popup.js +144 -0
- package/popup/popup.js.map +1 -0
- package/popup/worker.amd.js +2 -0
- package/popup/worker.amd.js.map +1 -0
- package/popup/worker.js +154 -0
- package/popup/worker.js.map +1 -0
- package/popup.css +1 -0
- package/tabs/tabs.amd.js +3 -0
- package/tabs/tabs.amd.js.map +1 -0
- package/tabs/tabs.js +97 -0
- package/tabs/tabs.js.map +1 -0
- package/tabs.css +1 -0
- package/utils/date.amd.js +2 -0
- package/utils/date.amd.js.map +1 -0
- package/utils/date.js +6 -0
- package/utils/date.js.map +1 -0
- package/utils/device.amd.js +2 -0
- package/utils/device.amd.js.map +1 -0
- package/utils/device.js +6 -0
- package/utils/device.js.map +1 -0
- package/utils/dom.amd.js +2 -0
- package/utils/dom.amd.js.map +1 -0
- package/utils/dom.js +64 -0
- package/utils/dom.js.map +1 -0
- package/.storybook/TopTheme.js +0 -82
- package/.storybook/TopThemeManager.js +0 -44
- package/.storybook/main.ts +0 -43
- package/.storybook/manager.ts +0 -28
- package/.storybook/preview-head.html +0 -16
- package/.storybook/preview.ts +0 -48
- package/.storybook/vue/coreDecorator.ts +0 -19
- package/.storybook/vue/vModelDecorator.ts +0 -27
- package/.vscode/extensions.json +0 -11
- package/.vscode/keybindings.example.json +0 -121
- package/.vscode/settings.json +0 -46
- package/Dockerfile +0 -3
- package/NPM.md +0 -25
- package/PUBLISH.md +0 -18
- package/STORYBOOK.md +0 -27
- package/USE_IN_PROJECT.md +0 -29
- package/build/afterBuild.sh +0 -12
- package/build/cssModules.ts +0 -39
- package/build/plugin/amdFix.ts +0 -46
- package/build/rollup.config.ts +0 -18
- package/nbproject/project.properties +0 -11
- package/nbproject/project.xml +0 -9
- package/public/README.md +0 -63
- package/src/components/common/common.ts +0 -1
- package/src/components/common/icon/icon.ts +0 -4
- package/src/components/common/icon/icon.vue +0 -15
- package/src/components/component.ts +0 -133
- package/src/components/forms/button/button.stories.ts +0 -112
- package/src/components/forms/button/button.ts +0 -51
- package/src/components/forms/button/button.vue +0 -75
- package/src/components/forms/button/stories/README.md +0 -35
- package/src/components/forms/button/stories/overview.vue +0 -33
- package/src/components/forms/button/style/button.css +0 -124
- package/src/components/forms/button/style/style-outline.css +0 -42
- package/src/components/forms/button/style/style-soft.css +0 -31
- package/src/components/forms/button/style/style-transparent.css +0 -35
- package/src/components/forms/checkbox/checkbox.stories.ts +0 -33
- package/src/components/forms/checkbox/checkbox.ts +0 -23
- package/src/components/forms/checkbox/checkbox.vue +0 -135
- package/src/components/forms/checkbox/stories/overview.vue +0 -171
- package/src/components/forms/controlLabel/controlLabel.stories.ts +0 -38
- package/src/components/forms/controlLabel/controlLabel.ts +0 -4
- package/src/components/forms/controlLabel/controlLabel.vue +0 -48
- package/src/components/forms/forms.ts +0 -10
- package/src/components/forms/helpers.ts +0 -10
- package/src/components/forms/hint/hint.stories.ts +0 -46
- package/src/components/forms/hint/hint.ts +0 -8
- package/src/components/forms/hint/hint.vue +0 -32
- package/src/components/forms/input/input.stories.ts +0 -31
- package/src/components/forms/input/input.ts +0 -34
- package/src/components/forms/input/input.vue +0 -170
- package/src/components/forms/input/stories/overview.vue +0 -61
- package/src/components/forms/inputDate/datepicker.ts +0 -101
- package/src/components/forms/inputDate/inputDate.stories.ts +0 -41
- package/src/components/forms/inputDate/inputDate.ts +0 -4
- package/src/components/forms/inputDate/inputDate.vue +0 -127
- package/src/components/forms/inputDate/stories/overview.vue +0 -35
- package/src/components/forms/radio/radio.stories.ts +0 -34
- package/src/components/forms/radio/radio.ts +0 -15
- package/src/components/forms/radio/radio.vue +0 -107
- package/src/components/forms/radio/stories/overview.vue +0 -79
- package/src/components/forms/select/select.stories.ts +0 -34
- package/src/components/forms/select/select.ts +0 -36
- package/src/components/forms/select/select.vue +0 -253
- package/src/components/forms/select/stories/exampleOptions.ts +0 -71
- package/src/components/forms/select/stories/overview.vue +0 -60
- package/src/components/forms/switcher/stories/overview.vue +0 -139
- package/src/components/forms/switcher/switcher.stories.ts +0 -33
- package/src/components/forms/switcher/switcher.ts +0 -22
- package/src/components/forms/switcher/switcher.vue +0 -113
- package/src/components/forms/textarea/stories/overview.vue +0 -62
- package/src/components/forms/textarea/textarea.stories.ts +0 -33
- package/src/components/forms/textarea/textarea.ts +0 -38
- package/src/components/forms/textarea/textarea.vue +0 -119
- package/src/components/formsExt/editArea/editArea.stories.ts +0 -72
- package/src/components/formsExt/editArea/editArea.ts +0 -25
- package/src/components/formsExt/editArea/editArea.vue +0 -172
- package/src/components/formsExt/editArea/stories/README.md +0 -17
- package/src/components/formsExt/editArea/stories/overview.vue +0 -66
- package/src/components/formsExt/editInput/editInput.stories.ts +0 -36
- package/src/components/formsExt/editInput/editInput.ts +0 -20
- package/src/components/formsExt/editInput/editInput.vue +0 -57
- package/src/components/formsExt/editInput/stories/overview.vue +0 -54
- package/src/components/formsExt/formsExt.ts +0 -3
- package/src/components/formsExt/radioGroup/radioGroup.stories.ts +0 -51
- package/src/components/formsExt/radioGroup/radioGroup.ts +0 -28
- package/src/components/formsExt/radioGroup/radioGroup.vue +0 -143
- package/src/components/formsExt/radioGroup/stories/overview.vue +0 -78
- package/src/components/formsExt/radioGroup/styles/top-scrollBar.css +0 -52
- package/src/components/helper.js +0 -10
- package/src/components/helpersStories.ts +0 -151
- package/src/components/popup/lib/popup.globalEvents.js +0 -205
- package/src/components/popup/lib/popup.js +0 -702
- package/src/components/popup/lib/worker.globalEvents.js +0 -78
- package/src/components/popup/lib/worker.js +0 -232
- package/src/components/popup/popup/listItem.vue +0 -42
- package/src/components/popup/popup/opener.vue +0 -74
- package/src/components/popup/popup/popup.stories.ts +0 -68
- package/src/components/popup/popup/popup.ts +0 -93
- package/src/components/popup/popup/popup.vue +0 -95
- package/src/components/popup/popup/stories/README.md +0 -34
- package/src/components/popup/popup/stories/listItems.vue +0 -44
- package/src/components/popup/popup/stories/listSubItems.vue +0 -52
- package/src/components/popup/popup/stories/overview.vue +0 -208
- package/src/components/popup/popup/style/popup.css +0 -243
- package/src/components/popup/popup/style/popup.m.css +0 -71
- package/src/components/popup/popup/style/popup.pc.css +0 -28
- package/src/components/popup/popup.ts +0 -3
- package/src/components/popup/worker.ts +0 -1
- package/src/components/tabs/tabs/content.vue +0 -24
- package/src/components/tabs/tabs/stories/README.md +0 -10
- package/src/components/tabs/tabs/tab.vue +0 -52
- package/src/components/tabs/tabs/tabs.stories.ts +0 -171
- package/src/components/tabs/tabs/tabs.ts +0 -22
- package/src/components/tabs/tabs/tabs.vue +0 -64
- package/src/components/tabs/tabs.ts +0 -3
- package/src/core/base/Colors.stories.ts +0 -15
- package/src/core/base/Layout.stories.ts +0 -15
- package/src/core/base/Properties.stories.ts +0 -15
- package/src/core/base/base.mdx +0 -21
- package/src/core/core/core.ts +0 -144
- package/src/core/core/events.ts +0 -54
- package/src/core/core/options.ts +0 -15
- package/src/core/core/state.ts +0 -44
- package/src/core/directives/tooltip.ts +0 -55
- package/src/core/theme/Colors.stories.ts +0 -15
- package/src/core/theme/Properties.stories.ts +0 -15
- package/src/core/theme/theme.mdx +0 -15
- package/src/core/utils/date.ts +0 -164
- package/src/core/utils/device.ts +0 -48
- package/src/core/utils/dom.ts +0 -185
- package/src/core//320/235/320/260/320/261/320/276/321/200 /320/270/320/272/320/276/320/275/320/276/320/272/gallery.vue" +0 -72
- package/src/core//320/235/320/260/320/261/320/276/321/200 /320/270/320/272/320/276/320/275/320/276/320/272//320/235/320/260/320/261/320/276/321/200 /320/270/320/272/320/276/320/275/320/276/320/272.mdx" +0 -31
- package/src/core//320/235/320/260/320/261/320/276/321/200 /320/270/320/272/320/276/320/275/320/276/320/272//320/235/320/260/320/261/320/276/321/200 /320/270/320/272/320/276/320/275/320/276/320/272.stories.ts" +0 -14
- package/src/docs/CSS/FAQ.mdx +0 -43
- package/src/docs/CSS//320/236/320/261/321/211/320/270/320/265 /320/274/320/276/320/264/320/270/321/204/320/270/320/272/320/260/321/202/320/276/321/200/321/213.mdx" +0 -156
- package/src/docs/CSS//320/237/320/265/321/200/320/265/320/274/320/265/320/275/320/275/321/213/320/265.mdx +0 -47
- package/src/docs/CSS//320/237/321/200/320/265/320/264/320/277/321/200/320/276/321/206/320/265/321/201/321/201/320/276/321/200/321/213.mdx +0 -15
- package/src/docs/CSS//320/240/320/265/320/272/320/276/320/274/320/265/320/275/320/264/320/260/321/206/320/270/320/270 /320/221/320/255/320/234.mdx" +0 -49
- package/src/docs/CSS//320/241/321/202/320/270/320/273/320/270.md +0 -53
- package/src/docs/CSS//320/241/321/202/320/270/320/273/320/270.mdx +0 -4
- package/src/docs/CSS//320/247/321/202/320/276 /321/202/320/260/320/272/320/276/320/265 css /320/274/320/276/320/264/321/203/320/273/321/214.mdx" +0 -53
- package/src/docs/ROADMAP.md +0 -17
- package/src/docs/Roadmap.mdx +0 -4
- package/src/docs//320/222/320/262/320/265/320/264/320/265/320/275/320/270/320/265 /320/262 Storybook.mdx" +0 -323
- package/src/docs//320/232/320/276/320/274/320/277/320/276/320/275/320/265/320/275/321/202/321/213.mdx +0 -20
- package/src/docs//320/237/320/276/320/273/320/265/320/267/320/275/320/260/321/217 /320/270/320/275/321/204/320/276/321/200/320/274/320/260/321/206/320/270/321/217.mdx" +0 -8
- package/src/docs//320/241/321/202/320/260/320/275/320/264/320/260/321/200/321/202/321/213 /320/272/320/276/320/264/320/260/IDE.mdx" +0 -42
- package/src/docs//320/241/321/202/320/260/320/275/320/264/320/260/321/200/321/202/321/213 /320/272/320/276/320/264/320/260//320/233/320/270/320/275/321/202/320/265/321/200.mdx" +0 -72
- package/src/docs//320/241/321/202/320/260/320/275/320/264/320/260/321/200/321/202/321/213 /320/272/320/276/320/264/320/260//320/241/321/202/320/260/320/275/320/264/320/260/321/200/321/202/321/213 /320/272/320/276/320/264/320/260.mdx" +0 -29
- package/src/globals.d.ts +0 -1
- package/src/resources/styles/core/colors.css +0 -204
- package/src/resources/styles/core/components.css +0 -70
- package/src/resources/styles/core/core.ts +0 -10
- package/src/resources/styles/core/forms/clear.css +0 -19
- package/src/resources/styles/core/forms/controls.css +0 -20
- package/src/resources/styles/core/forms/focusable.css +0 -26
- package/src/resources/styles/core/forms/forms.css +0 -100
- package/src/resources/styles/core/icon.css +0 -58
- package/src/resources/styles/core/layout.css +0 -40
- package/src/resources/styles/core/modifiers/as.css +0 -9
- package/src/resources/styles/core/modifiers/ellipsis.css +0 -18
- package/src/resources/styles/core/modifiers/modifiers.css +0 -81
- package/src/resources/styles/core/modifiers/only.css +0 -19
- package/src/resources/styles/core/select.css +0 -16
- package/src/resources/styles/jquery-ui.min.css +0 -6
- package/src/resources/styles/storybook.css +0 -11
- package/src/resources/styles/themes/dark/theme.css +0 -139
- package/src/resources/styles/themes/dark.ts +0 -1
- package/src/resources/styles/themes/light/theme.css +0 -139
- package/src/resources/styles/themes/light.ts +0 -1
- package/src/storybook/components/color.vue +0 -45
- package/src/storybook/components/colors.vue +0 -34
- package/src/storybook/components/icomoon.ts +0 -38
- package/src/storybook/components/properties.vue +0 -82
- package/src/storybook/resources/accessibility.png +0 -0
- package/src/storybook/resources/accessibility.svg +0 -5
- package/src/storybook/resources/addon-library.png +0 -0
- package/src/storybook/resources/assets.png +0 -0
- package/src/storybook/resources/context.png +0 -0
- package/src/storybook/resources/discord.svg +0 -15
- package/src/storybook/resources/docs.png +0 -0
- package/src/storybook/resources/figma-plugin.png +0 -0
- package/src/storybook/resources/github.svg +0 -3
- package/src/storybook/resources/share.png +0 -0
- package/src/storybook/resources/styling.png +0 -0
- package/src/storybook/resources/testing.png +0 -0
- package/src/storybook/resources/theming.png +0 -0
- package/src/storybook/resources/tutorials.svg +0 -12
- package/src/storybook/resources/youtube.svg +0 -4
- package/src//320/224/320/276/320/261/321/200/320/276 /320/277/320/276/320/266/320/260/320/273/320/276/320/262/320/260/321/202/321/214.mdx" +0 -3
- package/tsconfig.json +0 -62
- package/vite.config.ts +0 -91
- /package/{src/resources/icomoon → icomoon}/demo-files/demo.css +0 -0
- /package/{src/resources/icomoon → icomoon}/demo-files/demo.js +0 -0
- /package/{src/resources/icomoon → icomoon}/demo.html +0 -0
- /package/{src/resources/icomoon → icomoon}/fonts/Topvisor-2.svg +0 -0
- /package/{src/resources/icomoon → icomoon}/fonts/Topvisor-2.ttf +0 -0
- /package/{src/resources/icomoon → icomoon}/fonts/Topvisor-2.woff +0 -0
- /package/{src/resources/icomoon → icomoon}/selection.json +0 -0
- /package/{src/resources/icomoon → icomoon}/style.css +0 -0
package/tsconfig.json
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
// As long as you are using a build tool, we recommend you to author and ship in ES modules.
|
|
4
|
-
// Even if you are targeting Node.js, because
|
|
5
|
-
// - `CommonJS` is too outdated
|
|
6
|
-
// - the ecosystem hasn't fully caught up with `Node16`/`NodeNext`
|
|
7
|
-
// This recommendation includes environments like Vitest, Vite Config File, Vite SSR, etc.
|
|
8
|
-
"module": "ESNext",
|
|
9
|
-
|
|
10
|
-
// We expect users to use bundlers.
|
|
11
|
-
// So here we enable some resolution features that are only available in bundlers.
|
|
12
|
-
"moduleResolution": "bundler",
|
|
13
|
-
"resolveJsonModule": true,
|
|
14
|
-
|
|
15
|
-
// `allowImportingTsExtensions` can only be used when `noEmit` or `emitDeclarationOnly` is set.
|
|
16
|
-
// But `noEmit` may cause problems with solution-style tsconfigs:
|
|
17
|
-
// <https://github.com/microsoft/TypeScript/issues/49844>
|
|
18
|
-
// And `emitDeclarationOnly` is not always wanted.
|
|
19
|
-
// Considering it's not likely to be commonly used in Vue codebases, we don't enable it here.
|
|
20
|
-
// Required in Vue projects
|
|
21
|
-
"jsx": "preserve",
|
|
22
|
-
"jsxImportSource": "vue",
|
|
23
|
-
|
|
24
|
-
// `"noImplicitThis": true` is part of `strict`
|
|
25
|
-
// Added again here in case some users decide to disable `strict`.
|
|
26
|
-
// This enables stricter inference for data properties on `this`.
|
|
27
|
-
"noImplicitThis": true,
|
|
28
|
-
"strict": true,
|
|
29
|
-
|
|
30
|
-
// <https://devblogs.microsoft.com/typescript/announcing-typescript-5-0/#verbatimmodulesyntax>
|
|
31
|
-
// Any imports or exports without a type modifier are left around. This is important for `<script setup>`.
|
|
32
|
-
// Anything that uses the type modifier is dropped entirely.
|
|
33
|
-
"verbatimModuleSyntax": true,
|
|
34
|
-
|
|
35
|
-
// A few notes:
|
|
36
|
-
// - Vue 3 supports ES2016+
|
|
37
|
-
// - For Vite, the actual compilation target is determined by the
|
|
38
|
-
// `build.target` option in the Vite config.
|
|
39
|
-
// So don't change the `target` field here. It has to be
|
|
40
|
-
// at least `ES2020` for dynamic `import()`s and `import.meta` to work correctly.
|
|
41
|
-
// - If you are not using Vite, feel free to overwrite the `target` field.
|
|
42
|
-
"target": "ESNext",
|
|
43
|
-
|
|
44
|
-
// For spec compilance.
|
|
45
|
-
// `true` by default if the `target` is `ES2020` or higher.
|
|
46
|
-
// Explicitly set it to `true` here in case some users want to overwrite the `target`.
|
|
47
|
-
"useDefineForClassFields": true,
|
|
48
|
-
|
|
49
|
-
// Recommended
|
|
50
|
-
"esModuleInterop": true,
|
|
51
|
-
"forceConsistentCasingInFileNames": true,
|
|
52
|
-
|
|
53
|
-
// See <https://github.com/vuejs/vue-cli/pull/5688>
|
|
54
|
-
"skipLibCheck": true,
|
|
55
|
-
"baseUrl": ".",
|
|
56
|
-
"paths": {
|
|
57
|
-
"@/*": [
|
|
58
|
-
"src/*"
|
|
59
|
-
],
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
package/vite.config.ts
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { basename, dirname, resolve } from 'path';
|
|
2
|
-
import glob from 'glob';
|
|
3
|
-
import type { UserConfig } from 'vite';
|
|
4
|
-
import { defineConfig } from 'vite';
|
|
5
|
-
import vue from '@vitejs/plugin-vue';
|
|
6
|
-
import cssModules from './build/cssModules';
|
|
7
|
-
import rollupOptions from './build/rollup.config';
|
|
8
|
-
import amdFix from './build/plugin/amdFix';
|
|
9
|
-
|
|
10
|
-
const config = {
|
|
11
|
-
plugins: [
|
|
12
|
-
vue(),
|
|
13
|
-
amdFix(),
|
|
14
|
-
],
|
|
15
|
-
css: {
|
|
16
|
-
modules: cssModules,
|
|
17
|
-
},
|
|
18
|
-
resolve: {
|
|
19
|
-
alias: [
|
|
20
|
-
{
|
|
21
|
-
find: '@',
|
|
22
|
-
replacement: resolve(__dirname, './src'),
|
|
23
|
-
},
|
|
24
|
-
],
|
|
25
|
-
},
|
|
26
|
-
publicDir: 'public',
|
|
27
|
-
build: {
|
|
28
|
-
lib: {
|
|
29
|
-
entry: {} as Record<string, string>,
|
|
30
|
-
name: 'lib',
|
|
31
|
-
formats: [
|
|
32
|
-
// css компонентов необходимо загружать отдельно или настроить плагин для подключения css в js
|
|
33
|
-
'es',
|
|
34
|
-
|
|
35
|
-
// fix requirejs: этого значения нет в интерфейсе, используется вместо umd формата, который не поддерживает Multiple entry points
|
|
36
|
-
// css компонентов автоматически вставляются в js
|
|
37
|
-
'amd',
|
|
38
|
-
],
|
|
39
|
-
},
|
|
40
|
-
// outDir: 'dist',
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* по умолчанию vite использует es2020
|
|
44
|
-
* - es2022 - минимальная версия с поддержкой safari15
|
|
45
|
-
* - safari15 - требуется для приватных методов класса
|
|
46
|
-
* - firefox90 - требуется для приватных методов класса
|
|
47
|
-
*/
|
|
48
|
-
target: ['es2022', 'edge88', 'firefox90', 'chrome87', 'safari15'],
|
|
49
|
-
minify: true,
|
|
50
|
-
sourcemap: true,
|
|
51
|
-
manifest: false,
|
|
52
|
-
emptyOutDir: true,
|
|
53
|
-
cssCodeSplit: true,
|
|
54
|
-
assetsInlineLimit: 0,
|
|
55
|
-
rollupOptions,
|
|
56
|
-
},
|
|
57
|
-
} satisfies UserConfig;
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* Добавить entry, точки входа сборки
|
|
61
|
-
* @param entryPathes - пути к .ts файлам, задающим правила export
|
|
62
|
-
* @param onlyCSS - после сборки оставить только css файлы
|
|
63
|
-
*/
|
|
64
|
-
function appendPathesToEntry (entryPathes: string[], distDir?: string): void {
|
|
65
|
-
entryPathes.forEach(entryPath => {
|
|
66
|
-
let dirName = basename(dirname(entryPath)).replace('.ts', '');
|
|
67
|
-
let name = basename(entryPath).replace('.ts', '');
|
|
68
|
-
|
|
69
|
-
name = dirName + '/' + name;
|
|
70
|
-
|
|
71
|
-
if (distDir) {
|
|
72
|
-
name = distDir + '/' + name;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
config.build.lib.entry[name] = entryPath;
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
const corePathes = glob.sync('./src/core/core/core.ts');
|
|
80
|
-
appendPathesToEntry(corePathes);
|
|
81
|
-
|
|
82
|
-
const utilsPathes = glob.sync('./src/core/utils/*.ts');
|
|
83
|
-
appendPathesToEntry(utilsPathes);
|
|
84
|
-
|
|
85
|
-
const componentsLibsPathes = glob.sync('./src/components/*/*.ts');
|
|
86
|
-
appendPathesToEntry(componentsLibsPathes);
|
|
87
|
-
|
|
88
|
-
const cssCorePathes = glob.sync('./src/resources/**/*.ts');
|
|
89
|
-
appendPathesToEntry(cssCorePathes, 'for-delete');
|
|
90
|
-
|
|
91
|
-
export default defineConfig(config);
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|