flame-plus 0.1.29 → 0.1.31

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.
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "flame-plus",
3
3
  "type": "module",
4
- "version": "0.1.29",
4
+ "version": "0.1.31",
5
5
  "description": "基于 element-plus 的组件库",
6
- "main": "./dist/flame-plus.es.js",
7
- "module": "./dist/flame-plus.es.js",
6
+ "main": "./flameDist/flame-plus.es.js",
7
+ "module": "./flameDist/flame-plus.es.js",
8
8
  "exports": {
9
9
  ".": {
10
- "import": "./dist/flame-plus.es.js",
11
- "require": "./dist/flame-plus.umd.js"
10
+ "import": "./flameDist/flame-plus.es.js",
11
+ "require": "./flameDist/flame-plus.umd.js"
12
12
  }
13
13
  },
14
14
  "private": false,
package/src/App.vue CHANGED
@@ -4,7 +4,7 @@
4
4
  </template>
5
5
 
6
6
  <script lang="ts" setup>
7
- import {flmButton} from '../dist/flame-plus.es'
7
+ import {flmButton} from '../flameDist/flame-plus.es'
8
8
  </script>
9
9
 
10
10
  <style lang="scss"></style>
@@ -1,3 +1,4 @@
1
+ import 'element-plus/dist/index.css'
1
2
  // 基础组件
2
3
  import flmButton from './components/base/flmButton/flmButton.vue' // 按钮
3
4
  import flmCascader from './components/base/flmCascader/flmCascader.vue' // 级联选择器
@@ -18,13 +19,11 @@ import flmTimePicker from './components/base/flmTimePicker/flmTimePicker.vue'
18
19
  import flmTimeSelect from './components/base/flmTimeSelect/flmTimeSelect.vue' // 时间选择
19
20
  import flmTransfer from './components/base/flmTransfer/flmTransfer.vue' // 穿梭框
20
21
  import flmDialog from './components/base/flmDialog/flmDialog.vue' // 弹窗
21
-
22
22
  // 复合组件
23
23
  import flmForm from './components/complex/flmForm/flmForm.vue' // 表单
24
24
  import flmTable from './components/complex/flmTable/flmTable.vue' // 表格
25
25
  import flmToolbar from './components/complex/flmToolbar/flmToolbar.vue' // 操作栏
26
26
  import flmSearch from './components/complex/flmSearch/flmSearch.vue' // 搜索
27
-
28
27
  // 页面组件
29
28
  import flmReportPage from './components/page/flmReportPage/flmReportPage.vue' // 报表页面
30
29
  import flmExportPage from './components/page/flmExportPage/flmExportPage.vue' // 导出页面
package/vite.config.js CHANGED
@@ -11,24 +11,27 @@ export default defineConfig({
11
11
  name: 'flame-plus', // 起个名字,安装、引入用
12
12
  fileName: (format) => `flame-plus.${format}.js` // 打包后的文件名
13
13
  },
14
+ cssCodeSplit: false,
15
+ outDir: 'flameDist',
14
16
  sourcemap: true, // 输出.map文件
15
17
  rollupOptions: {
16
- external: ['vue', 'ant-design-vue'], // 确保外部化处理那些你不想打包进库的依赖
17
- output: { // 在 UMD 构建模式下为这些外部化的依赖提供一个全局变量
18
+ external: ['vue', 'element-plus'], // 确保外部化处理那些你不想打包进库的依赖
19
+ output: {
20
+ // 在 UMD 构建模式下为这些外部化的依赖提供一个全局变量
18
21
  globals: {
19
22
  vue: 'Vue',
20
- 'ant-design-vue': 'ant-design-vue'
23
+ 'element-plus': 'element-plus'
21
24
  }
22
25
  }
23
26
  }
24
27
  },
25
28
  plugins: [vue(), vueJsx()],
26
- css: {
27
- preprocessorOptions: {
28
- less: {
29
- javascriptEnabled: true,
30
- additionalData: '@import "./src/packages/index.less";',
31
- }
32
- }
33
- }
29
+ // css: {
30
+ // preprocessorOptions: {
31
+ // less: {
32
+ // javascriptEnabled: true,
33
+ // additionalData: '@import "./src/packages/index.less";',
34
+ // }
35
+ // }
36
+ // }
34
37
  })