init
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
xu<>1<0B>0<10><><EFBFBD>Gf<47><66><EFBFBD><EFBFBD> .B<><16>"rmbL.<2E><><EFBFBD><>I':<3A>w<EFBFBD>w߫<77><DFAB>![g<0B><><EFBFBD>H<>d<05><>>@<40>?<3F><0E>)?`<60>ґ<19><12><>E<1E>
|
||||
9<>hR{!۔<12>U,<2C><><EFBFBD><EFBFBD><EFBFBD>0z%<25>e<EFBFBD><1D><><EFBFBD>
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
.layui-avatar{font-size:14px;font-variant:tabular-nums;border-radius:var(--global-border-radius);box-sizing:border-box;color:#fff;list-style:none;position:relative;display:inline-block;background:#eeeeee;overflow:hidden;white-space:nowrap;text-align:center;width:32px;height:32px;line-height:32px;vertical-align:middle}.layui-avatar.layui-avatar-radius{border-radius:50%}.layui-avatar.layui-avatar-sm{height:30px;width:30px}.layui-avatar.layui-avatar-lg{height:36px;width:36px}.layui-avatar.layui-avatar-xs{height:28px;width:28px}.layui-avatar-list .layui-avatar{margin-left:-10px;display:inline-block}.layui-avatar>img{width:100%;height:100%;display:block;object-fit:cover}
|
||||
@@ -0,0 +1,26 @@
|
||||
/**
|
||||
* 获取年份列表
|
||||
*/
|
||||
declare const getYears: () => number[];
|
||||
/**
|
||||
* 获取当前日期
|
||||
*/
|
||||
declare const getDate: (val?: string) => Date;
|
||||
/**
|
||||
* 获取当前年份
|
||||
*/
|
||||
declare const getYear: (val?: string) => number;
|
||||
/**
|
||||
* 获取当前月份
|
||||
*/
|
||||
declare const getMonth: (val?: string) => number;
|
||||
declare const getDay: (val?: string) => number;
|
||||
/**
|
||||
* 获取月份天数
|
||||
*
|
||||
* @param year
|
||||
* @param month
|
||||
*/
|
||||
declare const getDayLength: (year: number, month: number) => number;
|
||||
declare const setDateList: (year: number, month: number) => any[];
|
||||
export { getDayLength, getYears, getDate, getMonth, getYear, getDay, setDateList, };
|
||||
@@ -0,0 +1,55 @@
|
||||
import { defineConfig } from "vite";
|
||||
import { name } from "./package.json";
|
||||
import { babel } from "@rollup/plugin-babel";
|
||||
import vue from "@vitejs/plugin-vue";
|
||||
import path from "path";
|
||||
|
||||
const camelize = (name: string) =>
|
||||
name.replace(/(^|-)(\w)/g, (a, b, c) => c.toUpperCase());
|
||||
|
||||
export default defineConfig({
|
||||
resolve: {
|
||||
alias: {
|
||||
"/@src": path.resolve(__dirname, "src"),
|
||||
},
|
||||
},
|
||||
plugins: [vue()],
|
||||
build: {
|
||||
target: "es2015",
|
||||
outDir: path.resolve(__dirname, "lib"),
|
||||
lib: {
|
||||
entry: path.resolve(__dirname, "src/index.ts"),
|
||||
name: camelize(name),
|
||||
},
|
||||
terserOptions: {
|
||||
compress: {
|
||||
drop_console: true,
|
||||
drop_debugger: true,
|
||||
pure_funcs: ["console.log"],
|
||||
},
|
||||
output: {
|
||||
comments: true,
|
||||
},
|
||||
},
|
||||
rollupOptions: {
|
||||
output: {
|
||||
exports: "named",
|
||||
globals: (id: string) => {
|
||||
const name = id.replace(/^@/, "").split("/")[0];
|
||||
return camelize(name);
|
||||
},
|
||||
assetFileNames: "index.css",
|
||||
},
|
||||
plugins: [
|
||||
babel({
|
||||
babelHelpers: "runtime",
|
||||
exclude: "node_modules/**",
|
||||
extensions: [".js", ".jsx", ".ts", ".tsx", ".vue"],
|
||||
presets: ["@babel/preset-env", "@babel/preset-typescript"],
|
||||
plugins: [["@babel/plugin-transform-runtime"]],
|
||||
}),
|
||||
],
|
||||
external: ["vue"],
|
||||
},
|
||||
},
|
||||
});
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
:root{--field-border-color: var(--global-neutral-color-3);--field-border-radius: var(--global-border-radius)}.layui-field{margin-bottom:10px;padding:0;border-width:1px;border-color:var(--field-border-color);border-style:solid}.layui-field legend{margin-left:20px;padding:0 10px;font-size:20px;font-weight:300}.layui-field-title{margin:10px 0 20px;border-width:1px 0 0}.layui-field-box{padding:15px}.layui-field-title .layui-field-box{padding:10px 0}
|
||||
Binary file not shown.
@@ -0,0 +1,6 @@
|
||||
0000000000000000000000000000000000000000 c892ebfd44ae4d5b71f5d8c122acb3cc6c77f6a1 Theluyuan <1162963624@qq.com> 1668472111 +0800 update by push
|
||||
c892ebfd44ae4d5b71f5d8c122acb3cc6c77f6a1 6c5ea36d6e5d3ab005020d9fc308b19d0e756fe6 Theluyuan <1162963624@qq.com> 1668472771 +0800 update by push
|
||||
6c5ea36d6e5d3ab005020d9fc308b19d0e756fe6 f08bdde36bcb88f47041cc4bad491b3cac196bb0 Theluyuan <1162963624@qq.com> 1668474568 +0800 update by push
|
||||
f08bdde36bcb88f47041cc4bad491b3cac196bb0 616a277edb4259f869bb55dedbfe6871d3fc0dd3 Theluyuan <1162963624@qq.com> 1668474855 +0800 update by push
|
||||
616a277edb4259f869bb55dedbfe6871d3fc0dd3 f0450921d8bc9ec46a3529fc6a4736699b39624f Theluyuan <1162963624@qq.com> 1668475433 +0800 update by push
|
||||
f0450921d8bc9ec46a3529fc6a4736699b39624f 4b0c6aafd57d16ef1458a65066138a290dc2eb50 Theluyuan <1162963624@qq.com> 1668475642 +0800 update by push
|
||||
Reference in New Issue
Block a user