完全跑通1.0版本
This commit is contained in:
9
frontend/node_modules/element-plus/lib/components/row/index.d.ts
generated
vendored
Normal file
9
frontend/node_modules/element-plus/lib/components/row/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import { SFCWithInstall } from "../../utils/vue/typescript.js";
|
||||
import { RowAlign, RowInstance, RowJustify, RowProps, RowPropsPublic, rowProps } from "./src/row.js";
|
||||
import _default from "./src/row.vue.js";
|
||||
import { rowContextKey } from "./src/constants.js";
|
||||
|
||||
//#region ../../packages/components/row/index.d.ts
|
||||
declare const ElRow: SFCWithInstall<typeof _default>;
|
||||
//#endregion
|
||||
export { ElRow, ElRow as default, RowAlign, RowInstance, RowJustify, RowProps, RowPropsPublic, rowContextKey, rowProps };
|
||||
19
frontend/node_modules/element-plus/lib/components/row/index.js
generated
vendored
Normal file
19
frontend/node_modules/element-plus/lib/components/row/index.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
Object.defineProperties(exports, {
|
||||
__esModule: { value: true },
|
||||
[Symbol.toStringTag]: { value: "Module" }
|
||||
});
|
||||
const require_install = require("../../utils/vue/install.js");
|
||||
const require_row = require("./src/row.js");
|
||||
const require_constants = require("./src/constants.js");
|
||||
const require_row$1 = require("./src/row2.js");
|
||||
//#region ../../packages/components/row/index.ts
|
||||
const ElRow = require_install.withInstall(require_row$1.default);
|
||||
//#endregion
|
||||
exports.ElRow = ElRow;
|
||||
exports.default = ElRow;
|
||||
exports.RowAlign = require_row.RowAlign;
|
||||
exports.RowJustify = require_row.RowJustify;
|
||||
exports.rowContextKey = require_constants.rowContextKey;
|
||||
exports.rowProps = require_row.rowProps;
|
||||
|
||||
//# sourceMappingURL=index.js.map
|
||||
1
frontend/node_modules/element-plus/lib/components/row/index.js.map
generated
vendored
Normal file
1
frontend/node_modules/element-plus/lib/components/row/index.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.js","names":["withInstall","Row"],"sources":["../../../../../packages/components/row/index.ts"],"sourcesContent":["import { withInstall } from '@element-plus/utils'\nimport Row from './src/row.vue'\n\nimport type { SFCWithInstall } from '@element-plus/utils'\n\nexport const ElRow: SFCWithInstall<typeof Row> = withInstall(Row)\nexport default ElRow\n\nexport * from './src/row'\nexport * from './src/constants'\n"],"mappings":";;;;;;;;;AAKA,MAAa,QAAoCA,gBAAAA,YAAYC,cAAAA,QAAI"}
|
||||
9
frontend/node_modules/element-plus/lib/components/row/src/constants.d.ts
generated
vendored
Normal file
9
frontend/node_modules/element-plus/lib/components/row/src/constants.d.ts
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import { ComputedRef, InjectionKey } from "vue";
|
||||
|
||||
//#region ../../packages/components/row/src/constants.d.ts
|
||||
interface RowContext {
|
||||
gutter: ComputedRef<number>;
|
||||
}
|
||||
declare const rowContextKey: InjectionKey<RowContext>;
|
||||
//#endregion
|
||||
export { rowContextKey };
|
||||
7
frontend/node_modules/element-plus/lib/components/row/src/constants.js
generated
vendored
Normal file
7
frontend/node_modules/element-plus/lib/components/row/src/constants.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
||||
//#region ../../packages/components/row/src/constants.ts
|
||||
const rowContextKey = Symbol("rowContextKey");
|
||||
//#endregion
|
||||
exports.rowContextKey = rowContextKey;
|
||||
|
||||
//# sourceMappingURL=constants.js.map
|
||||
1
frontend/node_modules/element-plus/lib/components/row/src/constants.js.map
generated
vendored
Normal file
1
frontend/node_modules/element-plus/lib/components/row/src/constants.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"constants.js","names":[],"sources":["../../../../../../packages/components/row/src/constants.ts"],"sourcesContent":["import type { ComputedRef, InjectionKey } from 'vue'\n\ninterface RowContext {\n gutter: ComputedRef<number>\n}\n\nexport const rowContextKey: InjectionKey<RowContext> = Symbol('rowContextKey')\n"],"mappings":";;AAMA,MAAa,gBAA0C,OAAO,gBAAgB"}
|
||||
47
frontend/node_modules/element-plus/lib/components/row/src/row.d.ts
generated
vendored
Normal file
47
frontend/node_modules/element-plus/lib/components/row/src/row.d.ts
generated
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
import { EpPropFinalized, EpPropMergeType } from "../../../utils/vue/props/types.js";
|
||||
import _default from "./row.vue.js";
|
||||
import * as _$vue from "vue";
|
||||
import { ExtractPublicPropTypes } from "vue";
|
||||
|
||||
//#region ../../packages/components/row/src/row.d.ts
|
||||
declare const RowJustify: readonly ["start", "center", "end", "space-around", "space-between", "space-evenly"];
|
||||
declare const RowAlign: readonly ["top", "middle", "bottom"];
|
||||
interface RowProps {
|
||||
/**
|
||||
* @description custom element tag
|
||||
*/
|
||||
tag?: string;
|
||||
/**
|
||||
* @description grid spacing
|
||||
*/
|
||||
gutter?: number;
|
||||
/**
|
||||
* @description horizontal alignment of flex layout
|
||||
*/
|
||||
justify?: (typeof RowJustify)[number];
|
||||
/**
|
||||
* @description vertical alignment of flex layout
|
||||
*/
|
||||
align?: (typeof RowAlign)[number];
|
||||
}
|
||||
/**
|
||||
* @deprecated Removed after 3.0.0, Use `RowProps` instead.
|
||||
*/
|
||||
declare const rowProps: {
|
||||
readonly tag: EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>;
|
||||
readonly gutter: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
||||
readonly justify: EpPropFinalized<StringConstructor, "center" | "space-around" | "space-between" | "space-evenly" | "end" | "start", unknown, "start", boolean>;
|
||||
readonly align: {
|
||||
readonly type: _$vue.PropType<EpPropMergeType<StringConstructor, "top" | "bottom" | "middle", unknown>>;
|
||||
readonly required: false;
|
||||
readonly validator: ((val: unknown) => boolean) | undefined;
|
||||
__epPropKey: true;
|
||||
};
|
||||
};
|
||||
/**
|
||||
* @deprecated Removed after 3.0.0, Use `RowProps` instead.
|
||||
*/
|
||||
type RowPropsPublic = ExtractPublicPropTypes<typeof rowProps>;
|
||||
type RowInstance = InstanceType<typeof _default> & unknown;
|
||||
//#endregion
|
||||
export { RowAlign, RowInstance, RowJustify, RowProps, RowPropsPublic, rowProps };
|
||||
56
frontend/node_modules/element-plus/lib/components/row/src/row.js
generated
vendored
Normal file
56
frontend/node_modules/element-plus/lib/components/row/src/row.js
generated
vendored
Normal file
@@ -0,0 +1,56 @@
|
||||
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
||||
const require_runtime = require("../../../utils/vue/props/runtime.js");
|
||||
//#region ../../packages/components/row/src/row.ts
|
||||
const RowJustify = [
|
||||
"start",
|
||||
"center",
|
||||
"end",
|
||||
"space-around",
|
||||
"space-between",
|
||||
"space-evenly"
|
||||
];
|
||||
const RowAlign = [
|
||||
"top",
|
||||
"middle",
|
||||
"bottom"
|
||||
];
|
||||
/**
|
||||
* @deprecated Removed after 3.0.0, Use `RowProps` instead.
|
||||
*/
|
||||
const rowProps = require_runtime.buildProps({
|
||||
/**
|
||||
* @description custom element tag
|
||||
*/
|
||||
tag: {
|
||||
type: String,
|
||||
default: "div"
|
||||
},
|
||||
/**
|
||||
* @description grid spacing
|
||||
*/
|
||||
gutter: {
|
||||
type: Number,
|
||||
default: 0
|
||||
},
|
||||
/**
|
||||
* @description horizontal alignment of flex layout
|
||||
*/
|
||||
justify: {
|
||||
type: String,
|
||||
values: RowJustify,
|
||||
default: "start"
|
||||
},
|
||||
/**
|
||||
* @description vertical alignment of flex layout
|
||||
*/
|
||||
align: {
|
||||
type: String,
|
||||
values: RowAlign
|
||||
}
|
||||
});
|
||||
//#endregion
|
||||
exports.RowAlign = RowAlign;
|
||||
exports.RowJustify = RowJustify;
|
||||
exports.rowProps = rowProps;
|
||||
|
||||
//# sourceMappingURL=row.js.map
|
||||
1
frontend/node_modules/element-plus/lib/components/row/src/row.js.map
generated
vendored
Normal file
1
frontend/node_modules/element-plus/lib/components/row/src/row.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"row.js","names":["buildProps"],"sources":["../../../../../../packages/components/row/src/row.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\n\nimport type { ExtractPublicPropTypes } from 'vue'\nimport type Row from './row.vue'\n\nexport const RowJustify = [\n 'start',\n 'center',\n 'end',\n 'space-around',\n 'space-between',\n 'space-evenly',\n] as const\n\nexport const RowAlign = ['top', 'middle', 'bottom'] as const\n\nexport interface RowProps {\n /**\n * @description custom element tag\n */\n tag?: string\n /**\n * @description grid spacing\n */\n gutter?: number\n /**\n * @description horizontal alignment of flex layout\n */\n justify?: (typeof RowJustify)[number]\n /**\n * @description vertical alignment of flex layout\n */\n align?: (typeof RowAlign)[number]\n}\n\n/**\n * @deprecated Removed after 3.0.0, Use `RowProps` instead.\n */\nexport const rowProps = buildProps({\n /**\n * @description custom element tag\n */\n tag: {\n type: String,\n default: 'div',\n },\n /**\n * @description grid spacing\n */\n gutter: {\n type: Number,\n default: 0,\n },\n /**\n * @description horizontal alignment of flex layout\n */\n justify: {\n type: String,\n values: RowJustify,\n default: 'start',\n },\n /**\n * @description vertical alignment of flex layout\n */\n align: {\n type: String,\n values: RowAlign,\n },\n} as const)\n\n/**\n * @deprecated Removed after 3.0.0, Use `RowProps` instead.\n */\nexport type RowPropsPublic = ExtractPublicPropTypes<typeof rowProps>\nexport type RowInstance = InstanceType<typeof Row> & unknown\n"],"mappings":";;;AAKA,MAAa,aAAa;CACxB;CACA;CACA;CACA;CACA;CACA;CACD;AAED,MAAa,WAAW;CAAC;CAAO;CAAU;CAAS;;;;AAwBnD,MAAa,WAAWA,gBAAAA,WAAW;;;;CAIjC,KAAK;EACH,MAAM;EACN,SAAS;EACV;;;;CAID,QAAQ;EACN,MAAM;EACN,SAAS;EACV;;;;CAID,SAAS;EACP,MAAM;EACN,QAAQ;EACR,SAAS;EACV;;;;CAID,OAAO;EACL,MAAM;EACN,QAAQ;EACT;CACF,CAAU"}
|
||||
22
frontend/node_modules/element-plus/lib/components/row/src/row.vue.d.ts
generated
vendored
Normal file
22
frontend/node_modules/element-plus/lib/components/row/src/row.vue.d.ts
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
import { RowJustify, RowProps } from "./row.js";
|
||||
import * as _$vue from "vue";
|
||||
|
||||
//#region ../../packages/components/row/src/row.vue.d.ts
|
||||
declare var __VLS_8: {};
|
||||
type __VLS_Slots = {} & {
|
||||
default?: (props: typeof __VLS_8) => any;
|
||||
};
|
||||
declare const __VLS_base: _$vue.DefineComponent<RowProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<RowProps> & Readonly<{}>, {
|
||||
tag: string;
|
||||
justify: typeof RowJustify[number];
|
||||
gutter: number;
|
||||
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
||||
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
||||
declare const _default: typeof __VLS_export;
|
||||
type __VLS_WithSlots<T, S> = T & {
|
||||
new (): {
|
||||
$slots: S;
|
||||
};
|
||||
};
|
||||
//#endregion
|
||||
export { _default as default };
|
||||
40
frontend/node_modules/element-plus/lib/components/row/src/row.vue_vue_type_script_setup_true_lang.js
generated
vendored
Normal file
40
frontend/node_modules/element-plus/lib/components/row/src/row.vue_vue_type_script_setup_true_lang.js
generated
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
require("../../../_virtual/_rolldown/runtime.js");
|
||||
const require_index = require("../../../hooks/use-namespace/index.js");
|
||||
const require_row = require("./row.js");
|
||||
const require_constants = require("./constants.js");
|
||||
let vue = require("vue");
|
||||
//#region ../../packages/components/row/src/row.vue?vue&type=script&setup=true&lang.ts
|
||||
var row_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
||||
name: "ElRow",
|
||||
__name: "row",
|
||||
props: require_row.rowProps,
|
||||
setup(__props) {
|
||||
const props = __props;
|
||||
const ns = require_index.useNamespace("row");
|
||||
(0, vue.provide)(require_constants.rowContextKey, { gutter: (0, vue.computed)(() => props.gutter) });
|
||||
const style = (0, vue.computed)(() => {
|
||||
const styles = {};
|
||||
if (!props.gutter) return styles;
|
||||
styles.marginRight = styles.marginLeft = `-${props.gutter / 2}px`;
|
||||
return styles;
|
||||
});
|
||||
const rowKls = (0, vue.computed)(() => [
|
||||
ns.b(),
|
||||
ns.is(`justify-${props.justify}`, props.justify !== "start"),
|
||||
ns.is(`align-${props.align}`, !!props.align)
|
||||
]);
|
||||
return (_ctx, _cache) => {
|
||||
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.tag), {
|
||||
class: (0, vue.normalizeClass)(rowKls.value),
|
||||
style: (0, vue.normalizeStyle)(style.value)
|
||||
}, {
|
||||
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
|
||||
_: 3
|
||||
}, 8, ["class", "style"]);
|
||||
};
|
||||
}
|
||||
});
|
||||
//#endregion
|
||||
exports.default = row_vue_vue_type_script_setup_true_lang_default;
|
||||
|
||||
//# sourceMappingURL=row.vue_vue_type_script_setup_true_lang.js.map
|
||||
1
frontend/node_modules/element-plus/lib/components/row/src/row.vue_vue_type_script_setup_true_lang.js.map
generated
vendored
Normal file
1
frontend/node_modules/element-plus/lib/components/row/src/row.vue_vue_type_script_setup_true_lang.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"row.vue_vue_type_script_setup_true_lang.js","names":[],"sources":["../../../../../../packages/components/row/src/row.vue"],"sourcesContent":["<template>\n <component :is=\"tag\" :class=\"rowKls\" :style=\"style\">\n <slot />\n </component>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, provide } from 'vue'\nimport { useNamespace } from '@element-plus/hooks'\nimport { rowContextKey } from './constants'\n\nimport type { CSSProperties } from 'vue'\nimport type { RowProps } from './row'\n\ndefineOptions({\n name: 'ElRow',\n})\n\nconst props = withDefaults(defineProps<RowProps>(), {\n tag: 'div',\n gutter: 0,\n justify: 'start',\n})\n\nconst ns = useNamespace('row')\nconst gutter = computed(() => props.gutter)\n\nprovide(rowContextKey, {\n gutter,\n})\n\nconst style = computed(() => {\n const styles: CSSProperties = {}\n if (!props.gutter) {\n return styles\n }\n\n styles.marginRight = styles.marginLeft = `-${props.gutter / 2}px`\n return styles\n})\n\nconst rowKls = computed(() => [\n ns.b(),\n ns.is(`justify-${props.justify}`, props.justify !== 'start'),\n ns.is(`align-${props.align}`, !!props.align),\n])\n</script>\n"],"mappings":";;;;;;;;;;;EAkBA,MAAM,QAAQ;EAMd,MAAM,KAAK,cAAA,aAAa,MAAK;EAG7B,CAAA,GAAA,IAAA,SAAQ,kBAAA,eAAe,EACrB,SAAA,GAAA,IAAA,gBAH4B,MAAM,OAG5B,EACP,CAAA;EAED,MAAM,SAAA,GAAA,IAAA,gBAAuB;GAC3B,MAAM,SAAwB,EAAC;GAC/B,IAAI,CAAC,MAAM,QACT,OAAO;GAGT,OAAO,cAAc,OAAO,aAAa,IAAI,MAAM,SAAS,EAAE;GAC9D,OAAO;IACR;EAED,MAAM,UAAA,GAAA,IAAA,gBAAwB;GAC5B,GAAG,GAAG;GACN,GAAG,GAAG,WAAW,MAAM,WAAW,MAAM,YAAY,QAAQ;GAC5D,GAAG,GAAG,SAAS,MAAM,SAAS,CAAC,CAAC,MAAM,MAAM;GAC7C,CAAA;;sFA5CiB,QAAA,IAAG,EAAA;IAAG,QAAA,GAAA,IAAA,gBAAO,OAAA,MAAM;IAAG,QAAA,GAAA,IAAA,gBAAO,MAAA,MAAK;;oCACxC,EAAA,GAAA,IAAA,YAAA,KAAA,QAAA,UAAA,CAAA,CAAA"}
|
||||
10
frontend/node_modules/element-plus/lib/components/row/src/row2.js
generated
vendored
Normal file
10
frontend/node_modules/element-plus/lib/components/row/src/row2.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
Object.defineProperties(exports, {
|
||||
__esModule: { value: true },
|
||||
[Symbol.toStringTag]: { value: "Module" }
|
||||
});
|
||||
//#region ../../packages/components/row/src/row.vue
|
||||
var row_default = require("./row.vue_vue_type_script_setup_true_lang.js").default;
|
||||
//#endregion
|
||||
exports.default = row_default;
|
||||
|
||||
//# sourceMappingURL=row2.js.map
|
||||
1
frontend/node_modules/element-plus/lib/components/row/src/row2.js.map
generated
vendored
Normal file
1
frontend/node_modules/element-plus/lib/components/row/src/row2.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"row2.js","names":[],"sources":["../../../../../../packages/components/row/src/row.vue"],"sourcesContent":["<template>\n <component :is=\"tag\" :class=\"rowKls\" :style=\"style\">\n <slot />\n </component>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, provide } from 'vue'\nimport { useNamespace } from '@element-plus/hooks'\nimport { rowContextKey } from './constants'\n\nimport type { CSSProperties } from 'vue'\nimport type { RowProps } from './row'\n\ndefineOptions({\n name: 'ElRow',\n})\n\nconst props = withDefaults(defineProps<RowProps>(), {\n tag: 'div',\n gutter: 0,\n justify: 'start',\n})\n\nconst ns = useNamespace('row')\nconst gutter = computed(() => props.gutter)\n\nprovide(rowContextKey, {\n gutter,\n})\n\nconst style = computed(() => {\n const styles: CSSProperties = {}\n if (!props.gutter) {\n return styles\n }\n\n styles.marginRight = styles.marginLeft = `-${props.gutter / 2}px`\n return styles\n})\n\nconst rowKls = computed(() => [\n ns.b(),\n ns.is(`justify-${props.justify}`, props.justify !== 'start'),\n ns.is(`align-${props.align}`, !!props.align),\n])\n</script>\n"],"mappings":""}
|
||||
3
frontend/node_modules/element-plus/lib/components/row/style/css.js
generated
vendored
Normal file
3
frontend/node_modules/element-plus/lib/components/row/style/css.js
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
||||
require("../../base/style/css.js");
|
||||
require("element-plus/theme-chalk/el-row.css");
|
||||
3
frontend/node_modules/element-plus/lib/components/row/style/index.js
generated
vendored
Normal file
3
frontend/node_modules/element-plus/lib/components/row/style/index.js
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
||||
require("../../base/style/index.js");
|
||||
require("element-plus/theme-chalk/src/row.scss");
|
||||
Reference in New Issue
Block a user