mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-21 14:13:36 +08:00
chore:更换到主分支
This commit is contained in:
33
node_modules/@vue/shared/dist/shared.cjs.js
generated
vendored
33
node_modules/@vue/shared/dist/shared.cjs.js
generated
vendored
@@ -18,12 +18,9 @@ function makeMap(str, expectsLowerCase) {
|
||||
return expectsLowerCase ? val => !!map[val.toLowerCase()] : val => !!map[val];
|
||||
}
|
||||
|
||||
// Patch flags are optimization hints generated by the compiler.
|
||||
// when a block with dynamicChildren is encountered during diff, the algorithm
|
||||
// enters "optimized mode". In this mode, we know that the vdom is produced by
|
||||
// a render function generated by the compiler, so the algorithm only needs to
|
||||
// handle updates explicitly marked by these patch flags.
|
||||
// dev only flag -> name mapping
|
||||
/**
|
||||
* dev only flag -> name mapping
|
||||
*/
|
||||
const PatchFlagNames = {
|
||||
[1 /* TEXT */]: `TEXT`,
|
||||
[2 /* CLASS */]: `CLASS`,
|
||||
@@ -34,15 +31,25 @@ const PatchFlagNames = {
|
||||
[64 /* STABLE_FRAGMENT */]: `STABLE_FRAGMENT`,
|
||||
[128 /* KEYED_FRAGMENT */]: `KEYED_FRAGMENT`,
|
||||
[256 /* UNKEYED_FRAGMENT */]: `UNKEYED_FRAGMENT`,
|
||||
[1024 /* DYNAMIC_SLOTS */]: `DYNAMIC_SLOTS`,
|
||||
[512 /* NEED_PATCH */]: `NEED_PATCH`,
|
||||
[1024 /* DYNAMIC_SLOTS */]: `DYNAMIC_SLOTS`,
|
||||
[2048 /* DEV_ROOT_FRAGMENT */]: `DEV_ROOT_FRAGMENT`,
|
||||
[-1 /* HOISTED */]: `HOISTED`,
|
||||
[-2 /* BAIL */]: `BAIL`
|
||||
};
|
||||
|
||||
/**
|
||||
* Dev only
|
||||
*/
|
||||
const slotFlagsText = {
|
||||
[1 /* STABLE */]: 'STABLE',
|
||||
[2 /* DYNAMIC */]: 'DYNAMIC',
|
||||
[3 /* FORWARDED */]: 'FORWARDED'
|
||||
};
|
||||
|
||||
const GLOBALS_WHITE_LISTED = 'Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,' +
|
||||
'decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,' +
|
||||
'Object,Boolean,String,RegExp,Map,Set,JSON,Intl';
|
||||
'Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt';
|
||||
const isGloballyWhitelisted = /*#__PURE__*/ makeMap(GLOBALS_WHITE_LISTED);
|
||||
|
||||
const range = 2;
|
||||
@@ -204,7 +211,10 @@ function normalizeClass(value) {
|
||||
}
|
||||
else if (isArray(value)) {
|
||||
for (let i = 0; i < value.length; i++) {
|
||||
res += normalizeClass(value[i]) + ' ';
|
||||
const normalized = normalizeClass(value[i]);
|
||||
if (normalized) {
|
||||
res += normalized + ' ';
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (isObject(value)) {
|
||||
@@ -381,9 +391,9 @@ const babelParserDefaultPlugins = [
|
||||
'optionalChaining',
|
||||
'nullishCoalescingOperator'
|
||||
];
|
||||
const EMPTY_OBJ = Object.freeze({})
|
||||
const EMPTY_OBJ = Object.freeze({})
|
||||
;
|
||||
const EMPTY_ARR = Object.freeze([]) ;
|
||||
const EMPTY_ARR = Object.freeze([]) ;
|
||||
const NOOP = () => { };
|
||||
/**
|
||||
* Always return false.
|
||||
@@ -539,6 +549,7 @@ exports.objectToString = objectToString;
|
||||
exports.parseStringStyle = parseStringStyle;
|
||||
exports.propsToAttrMap = propsToAttrMap;
|
||||
exports.remove = remove;
|
||||
exports.slotFlagsText = slotFlagsText;
|
||||
exports.stringifyStyle = stringifyStyle;
|
||||
exports.toDisplayString = toDisplayString;
|
||||
exports.toHandlerKey = toHandlerKey;
|
||||
|
||||
33
node_modules/@vue/shared/dist/shared.cjs.prod.js
generated
vendored
33
node_modules/@vue/shared/dist/shared.cjs.prod.js
generated
vendored
@@ -18,12 +18,9 @@ function makeMap(str, expectsLowerCase) {
|
||||
return expectsLowerCase ? val => !!map[val.toLowerCase()] : val => !!map[val];
|
||||
}
|
||||
|
||||
// Patch flags are optimization hints generated by the compiler.
|
||||
// when a block with dynamicChildren is encountered during diff, the algorithm
|
||||
// enters "optimized mode". In this mode, we know that the vdom is produced by
|
||||
// a render function generated by the compiler, so the algorithm only needs to
|
||||
// handle updates explicitly marked by these patch flags.
|
||||
// dev only flag -> name mapping
|
||||
/**
|
||||
* dev only flag -> name mapping
|
||||
*/
|
||||
const PatchFlagNames = {
|
||||
[1 /* TEXT */]: `TEXT`,
|
||||
[2 /* CLASS */]: `CLASS`,
|
||||
@@ -34,15 +31,25 @@ const PatchFlagNames = {
|
||||
[64 /* STABLE_FRAGMENT */]: `STABLE_FRAGMENT`,
|
||||
[128 /* KEYED_FRAGMENT */]: `KEYED_FRAGMENT`,
|
||||
[256 /* UNKEYED_FRAGMENT */]: `UNKEYED_FRAGMENT`,
|
||||
[1024 /* DYNAMIC_SLOTS */]: `DYNAMIC_SLOTS`,
|
||||
[512 /* NEED_PATCH */]: `NEED_PATCH`,
|
||||
[1024 /* DYNAMIC_SLOTS */]: `DYNAMIC_SLOTS`,
|
||||
[2048 /* DEV_ROOT_FRAGMENT */]: `DEV_ROOT_FRAGMENT`,
|
||||
[-1 /* HOISTED */]: `HOISTED`,
|
||||
[-2 /* BAIL */]: `BAIL`
|
||||
};
|
||||
|
||||
/**
|
||||
* Dev only
|
||||
*/
|
||||
const slotFlagsText = {
|
||||
[1 /* STABLE */]: 'STABLE',
|
||||
[2 /* DYNAMIC */]: 'DYNAMIC',
|
||||
[3 /* FORWARDED */]: 'FORWARDED'
|
||||
};
|
||||
|
||||
const GLOBALS_WHITE_LISTED = 'Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,' +
|
||||
'decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,' +
|
||||
'Object,Boolean,String,RegExp,Map,Set,JSON,Intl';
|
||||
'Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt';
|
||||
const isGloballyWhitelisted = /*#__PURE__*/ makeMap(GLOBALS_WHITE_LISTED);
|
||||
|
||||
const range = 2;
|
||||
@@ -204,7 +211,10 @@ function normalizeClass(value) {
|
||||
}
|
||||
else if (isArray(value)) {
|
||||
for (let i = 0; i < value.length; i++) {
|
||||
res += normalizeClass(value[i]) + ' ';
|
||||
const normalized = normalizeClass(value[i]);
|
||||
if (normalized) {
|
||||
res += normalized + ' ';
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (isObject(value)) {
|
||||
@@ -381,8 +391,8 @@ const babelParserDefaultPlugins = [
|
||||
'optionalChaining',
|
||||
'nullishCoalescingOperator'
|
||||
];
|
||||
const EMPTY_OBJ = {};
|
||||
const EMPTY_ARR = [];
|
||||
const EMPTY_OBJ = {};
|
||||
const EMPTY_ARR = [];
|
||||
const NOOP = () => { };
|
||||
/**
|
||||
* Always return false.
|
||||
@@ -538,6 +548,7 @@ exports.objectToString = objectToString;
|
||||
exports.parseStringStyle = parseStringStyle;
|
||||
exports.propsToAttrMap = propsToAttrMap;
|
||||
exports.remove = remove;
|
||||
exports.slotFlagsText = slotFlagsText;
|
||||
exports.stringifyStyle = stringifyStyle;
|
||||
exports.toDisplayString = toDisplayString;
|
||||
exports.toHandlerKey = toHandlerKey;
|
||||
|
||||
104
node_modules/@vue/shared/dist/shared.d.ts
generated
vendored
104
node_modules/@vue/shared/dist/shared.d.ts
generated
vendored
@@ -139,23 +139,118 @@ export declare const objectToString: () => string;
|
||||
|
||||
export declare function parseStringStyle(cssText: string): NormalizedStyle;
|
||||
|
||||
/**
|
||||
* dev only flag -> name mapping
|
||||
*/
|
||||
export declare const PatchFlagNames: {
|
||||
[x: number]: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Patch flags are optimization hints generated by the compiler.
|
||||
* when a block with dynamicChildren is encountered during diff, the algorithm
|
||||
* enters "optimized mode". In this mode, we know that the vdom is produced by
|
||||
* a render function generated by the compiler, so the algorithm only needs to
|
||||
* handle updates explicitly marked by these patch flags.
|
||||
*
|
||||
* Patch flags can be combined using the | bitwise operator and can be checked
|
||||
* using the & operator, e.g.
|
||||
*
|
||||
* ```js
|
||||
* const flag = TEXT | CLASS
|
||||
* if (flag & TEXT) { ... }
|
||||
* ```
|
||||
*
|
||||
* Check the `patchElement` function in '../../runtime-core/src/renderer.ts' to see how the
|
||||
* flags are handled during diff.
|
||||
*/
|
||||
export declare const enum PatchFlags {
|
||||
/**
|
||||
* Indicates an element with dynamic textContent (children fast path)
|
||||
*/
|
||||
TEXT = 1,
|
||||
/**
|
||||
* Indicates an element with dynamic class binding.
|
||||
*/
|
||||
CLASS = 2,
|
||||
/**
|
||||
* Indicates an element with dynamic style
|
||||
* The compiler pre-compiles static string styles into static objects
|
||||
* + detects and hoists inline static objects
|
||||
* e.g. style="color: red" and :style="{ color: 'red' }" both get hoisted as
|
||||
* const style = { color: 'red' }
|
||||
* render() { return e('div', { style }) }
|
||||
*/
|
||||
STYLE = 4,
|
||||
/**
|
||||
* Indicates an element that has non-class/style dynamic props.
|
||||
* Can also be on a component that has any dynamic props (includes
|
||||
* class/style). when this flag is present, the vnode also has a dynamicProps
|
||||
* array that contains the keys of the props that may change so the runtime
|
||||
* can diff them faster (without having to worry about removed props)
|
||||
*/
|
||||
PROPS = 8,
|
||||
/**
|
||||
* Indicates an element with props with dynamic keys. When keys change, a full
|
||||
* diff is always needed to remove the old key. This flag is mutually
|
||||
* exclusive with CLASS, STYLE and PROPS.
|
||||
*/
|
||||
FULL_PROPS = 16,
|
||||
/**
|
||||
* Indicates an element with event listeners (which need to be attached
|
||||
* during hydration)
|
||||
*/
|
||||
HYDRATE_EVENTS = 32,
|
||||
/**
|
||||
* Indicates a fragment whose children order doesn't change.
|
||||
*/
|
||||
STABLE_FRAGMENT = 64,
|
||||
/**
|
||||
* Indicates a fragment with keyed or partially keyed children
|
||||
*/
|
||||
KEYED_FRAGMENT = 128,
|
||||
/**
|
||||
* Indicates a fragment with unkeyed children.
|
||||
*/
|
||||
UNKEYED_FRAGMENT = 256,
|
||||
/**
|
||||
* Indicates an element that only needs non-props patching, e.g. ref or
|
||||
* directives (onVnodeXXX hooks). since every patched vnode checks for refs
|
||||
* and onVnodeXXX hooks, it simply marks the vnode so that a parent block
|
||||
* will track it.
|
||||
*/
|
||||
NEED_PATCH = 512,
|
||||
/**
|
||||
* Indicates a component with dynamic slots (e.g. slot that references a v-for
|
||||
* iterated value, or dynamic slot names).
|
||||
* Components with this flag are always force updated.
|
||||
*/
|
||||
DYNAMIC_SLOTS = 1024,
|
||||
/**
|
||||
* Indicates a fragment that was created only because the user has placed
|
||||
* comments at the root level of a template. This is a dev-only flag since
|
||||
* comments are stripped in production.
|
||||
*/
|
||||
DEV_ROOT_FRAGMENT = 2048,
|
||||
/**
|
||||
* SPECIAL FLAGS -------------------------------------------------------------
|
||||
* Special flags are negative integers. They are never matched against using
|
||||
* bitwise operators (bitwise matching should only happen in branches where
|
||||
* patchFlag > 0), and are mutually exclusive. When checking for a special
|
||||
* flag, simply check patchFlag === FLAG.
|
||||
*/
|
||||
/**
|
||||
* Indicates a hoisted static vnode. This is a hint for hydration to skip
|
||||
* the entire sub tree since static content never needs to be updated.
|
||||
*/
|
||||
HOISTED = -1,
|
||||
/**
|
||||
* A special flag that indicates that the diffing algorithm should bail out
|
||||
* of optimized mode. For example, on block fragments created by renderSlot()
|
||||
* when encountering non-compiler generated slots (i.e. manually written
|
||||
* render functions, which should always be fully diffed)
|
||||
* OR manually cloneVNodes
|
||||
*/
|
||||
BAIL = -2
|
||||
}
|
||||
|
||||
@@ -199,6 +294,15 @@ export declare const enum SlotFlags {
|
||||
FORWARDED = 3
|
||||
}
|
||||
|
||||
/**
|
||||
* Dev only
|
||||
*/
|
||||
export declare const slotFlagsText: {
|
||||
1: string;
|
||||
2: string;
|
||||
3: string;
|
||||
};
|
||||
|
||||
export declare function stringifyStyle(styles: NormalizedStyle | undefined): string;
|
||||
|
||||
/**
|
||||
|
||||
30
node_modules/@vue/shared/dist/shared.esm-bundler.js
generated
vendored
30
node_modules/@vue/shared/dist/shared.esm-bundler.js
generated
vendored
@@ -14,12 +14,9 @@ function makeMap(str, expectsLowerCase) {
|
||||
return expectsLowerCase ? val => !!map[val.toLowerCase()] : val => !!map[val];
|
||||
}
|
||||
|
||||
// Patch flags are optimization hints generated by the compiler.
|
||||
// when a block with dynamicChildren is encountered during diff, the algorithm
|
||||
// enters "optimized mode". In this mode, we know that the vdom is produced by
|
||||
// a render function generated by the compiler, so the algorithm only needs to
|
||||
// handle updates explicitly marked by these patch flags.
|
||||
// dev only flag -> name mapping
|
||||
/**
|
||||
* dev only flag -> name mapping
|
||||
*/
|
||||
const PatchFlagNames = {
|
||||
[1 /* TEXT */]: `TEXT`,
|
||||
[2 /* CLASS */]: `CLASS`,
|
||||
@@ -30,15 +27,25 @@ const PatchFlagNames = {
|
||||
[64 /* STABLE_FRAGMENT */]: `STABLE_FRAGMENT`,
|
||||
[128 /* KEYED_FRAGMENT */]: `KEYED_FRAGMENT`,
|
||||
[256 /* UNKEYED_FRAGMENT */]: `UNKEYED_FRAGMENT`,
|
||||
[1024 /* DYNAMIC_SLOTS */]: `DYNAMIC_SLOTS`,
|
||||
[512 /* NEED_PATCH */]: `NEED_PATCH`,
|
||||
[1024 /* DYNAMIC_SLOTS */]: `DYNAMIC_SLOTS`,
|
||||
[2048 /* DEV_ROOT_FRAGMENT */]: `DEV_ROOT_FRAGMENT`,
|
||||
[-1 /* HOISTED */]: `HOISTED`,
|
||||
[-2 /* BAIL */]: `BAIL`
|
||||
};
|
||||
|
||||
/**
|
||||
* Dev only
|
||||
*/
|
||||
const slotFlagsText = {
|
||||
[1 /* STABLE */]: 'STABLE',
|
||||
[2 /* DYNAMIC */]: 'DYNAMIC',
|
||||
[3 /* FORWARDED */]: 'FORWARDED'
|
||||
};
|
||||
|
||||
const GLOBALS_WHITE_LISTED = 'Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,' +
|
||||
'decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,' +
|
||||
'Object,Boolean,String,RegExp,Map,Set,JSON,Intl';
|
||||
'Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt';
|
||||
const isGloballyWhitelisted = /*#__PURE__*/ makeMap(GLOBALS_WHITE_LISTED);
|
||||
|
||||
const range = 2;
|
||||
@@ -200,7 +207,10 @@ function normalizeClass(value) {
|
||||
}
|
||||
else if (isArray(value)) {
|
||||
for (let i = 0; i < value.length; i++) {
|
||||
res += normalizeClass(value[i]) + ' ';
|
||||
const normalized = normalizeClass(value[i]);
|
||||
if (normalized) {
|
||||
res += normalized + ' ';
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (isObject(value)) {
|
||||
@@ -486,4 +496,4 @@ const getGlobalThis = () => {
|
||||
: {}));
|
||||
};
|
||||
|
||||
export { EMPTY_ARR, EMPTY_OBJ, NO, NOOP, PatchFlagNames, babelParserDefaultPlugins, camelize, capitalize, def, escapeHtml, escapeHtmlComment, extend, generateCodeFrame, getGlobalThis, hasChanged, hasOwn, hyphenate, invokeArrayFns, isArray, isBooleanAttr, isDate, isFunction, isGloballyWhitelisted, isHTMLTag, isIntegerKey, isKnownAttr, isMap, isModelListener, isNoUnitNumericStyleProp, isObject, isOn, isPlainObject, isPromise, isReservedProp, isSSRSafeAttrName, isSVGTag, isSet, isSpecialBooleanAttr, isString, isSymbol, isVoidTag, looseEqual, looseIndexOf, makeMap, normalizeClass, normalizeStyle, objectToString, parseStringStyle, propsToAttrMap, remove, stringifyStyle, toDisplayString, toHandlerKey, toNumber, toRawType, toTypeString };
|
||||
export { EMPTY_ARR, EMPTY_OBJ, NO, NOOP, PatchFlagNames, babelParserDefaultPlugins, camelize, capitalize, def, escapeHtml, escapeHtmlComment, extend, generateCodeFrame, getGlobalThis, hasChanged, hasOwn, hyphenate, invokeArrayFns, isArray, isBooleanAttr, isDate, isFunction, isGloballyWhitelisted, isHTMLTag, isIntegerKey, isKnownAttr, isMap, isModelListener, isNoUnitNumericStyleProp, isObject, isOn, isPlainObject, isPromise, isReservedProp, isSSRSafeAttrName, isSVGTag, isSet, isSpecialBooleanAttr, isString, isSymbol, isVoidTag, looseEqual, looseIndexOf, makeMap, normalizeClass, normalizeStyle, objectToString, parseStringStyle, propsToAttrMap, remove, slotFlagsText, stringifyStyle, toDisplayString, toHandlerKey, toNumber, toRawType, toTypeString };
|
||||
|
||||
22
node_modules/@vue/shared/package.json
generated
vendored
22
node_modules/@vue/shared/package.json
generated
vendored
@@ -1,27 +1,26 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"@vue/shared@3.0.2",
|
||||
"@vue/shared@3.0.6",
|
||||
"J:\\Github\\CURD-TS"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "@vue/shared@3.0.2",
|
||||
"_id": "@vue/shared@3.0.2",
|
||||
"_from": "@vue/shared@3.0.6",
|
||||
"_id": "@vue/shared@3.0.6",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-QZvYWi69vU9Clj6YxaGxA0Uhdtk=",
|
||||
"_integrity": "sha1-1lV2Qw/ErTg9x8gpEYeY5RaReNQ=",
|
||||
"_location": "/@vue/shared",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "@vue/shared@3.0.2",
|
||||
"raw": "@vue/shared@3.0.6",
|
||||
"name": "@vue/shared",
|
||||
"escapedName": "@vue%2fshared",
|
||||
"scope": "@vue",
|
||||
"rawSpec": "3.0.2",
|
||||
"rawSpec": "3.0.6",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "3.0.2"
|
||||
"fetchSpec": "3.0.6"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/@vue/compiler-core",
|
||||
@@ -31,11 +30,10 @@
|
||||
"/@vue/reactivity",
|
||||
"/@vue/runtime-core",
|
||||
"/@vue/runtime-dom",
|
||||
"/@vue/server-renderer",
|
||||
"/vue"
|
||||
],
|
||||
"_resolved": "http://192.168.250.101:4873/@vue%2fshared/-/shared-3.0.2.tgz",
|
||||
"_spec": "3.0.2",
|
||||
"_resolved": "http://192.168.250.101:4873/@vue%2fshared/-/shared-3.0.6.tgz",
|
||||
"_spec": "3.0.6",
|
||||
"_where": "J:\\Github\\CURD-TS",
|
||||
"author": {
|
||||
"name": "Evan You"
|
||||
@@ -68,5 +66,5 @@
|
||||
"directory": "packages/shared"
|
||||
},
|
||||
"types": "dist/shared.d.ts",
|
||||
"version": "3.0.2"
|
||||
"version": "3.0.6"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user