pro-design-vue 1.0.0-rc.0 → 1.0.0-rc.1
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/dist/index.full.js +2 -2
- package/dist/index.full.min.js +1 -1
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +1 -1
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +2 -2
- package/es/components/form/src/utils/parseValueToMoment.mjs +1 -1
- package/es/components/form/src/utils/parseValueToMoment.mjs.map +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/form/src/utils/parseValueToMoment.js +1 -1
- package/lib/components/form/src/utils/parseValueToMoment.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +1 -1
package/dist/index.full.mjs
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/*! Pro Design Vue v1.0.0-rc.
|
1
|
+
/*! Pro Design Vue v1.0.0-rc.1 */
|
2
2
|
|
3
3
|
import { Modal, ConfigProvider, App, Button as Button$1, Tooltip, Popconfirm, Dropdown, Menu, Slider, Drawer, Input, InputNumber, Form as Form$1, Space, Textarea, Select, TreeSelect, Checkbox as Checkbox$1, CheckboxGroup, RadioGroup, Radio as Radio$1, Cascader, Switch, Rate, DatePicker, RangePicker, TimePicker, TimeRangePicker, Upload, theme as theme$1, FormItemRest, Spin, message, Row as Row$1, Col, FormItem as FormItem$3, Steps, Popover, MenuItem, SubMenu, Empty, Badge, Pagination, InputSearch, Tree, Card, Tabs, TabPane } from 'ant-design-vue';
|
4
4
|
import { inject, ref, getCurrentInstance, nextTick, h, reactive, defineComponent, createVNode, isVNode, Fragment, cloneVNode, provide, computed, renderSlot, createPropsRestProxy, createBlock, openBlock, unref, normalizeProps, guardReactiveProps, withCtx, shallowRef, shallowReadonly, toValue, getCurrentScope, onScopeDispose, watch, onMounted, hasInjectionContext, isRef, toRefs as toRefs$1, customRef, toRef as toRef$1, readonly, watchEffect, toRaw, createElementBlock, createCommentVNode, resolveDynamicComponent, mergeProps, createElementVNode, normalizeStyle, toDisplayString, normalizeClass, createSlots, useAttrs, useTemplateRef, defineAsyncComponent, Teleport, onUnmounted, Comment as Comment$1, useSlots, useModel, withModifiers, mergeModels, renderList, camelize, isReactive, onActivated, onDeactivated, onBeforeUnmount, triggerRef, resolveDirective, withDirectives, vShow, render as render$1, resolveComponent, createTextVNode, vModelText } from 'vue';
|
@@ -13,7 +13,7 @@ const ELEMENT_ID_MAIN_CONTENT = `__pro_main_content`;
|
|
13
13
|
const SCROLL_FIXED_CLASS = `_scroll__fixed_`;
|
14
14
|
const DEFAULT_NAMESPACE = "pro";
|
15
15
|
|
16
|
-
const version$1 = "1.0.0-rc.
|
16
|
+
const version$1 = "1.0.0-rc.1";
|
17
17
|
|
18
18
|
const makeInstaller = (components = []) => {
|
19
19
|
const install = (app) => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"parseValueToMoment.mjs","sources":["../../../../../../../packages/components/form/src/utils/parseValueToMoment.ts"],"sourcesContent":["/*\n * @Author: shen\n * @Date: 2023-09-01 09:30:50\n * @LastEditors: shen\n * @LastEditTime: 2025-
|
1
|
+
{"version":3,"file":"parseValueToMoment.mjs","sources":["../../../../../../../packages/components/form/src/utils/parseValueToMoment.ts"],"sourcesContent":["/*\n * @Author: shen\n * @Date: 2023-09-01 09:30:50\n * @LastEditors: shen\n * @LastEditTime: 2025-09-12 11:19:37\n * @Description:\n */\nimport { isNil } from '@pro-design-vue/utils'\nimport dayjs from 'dayjs'\nimport customParseFormat from 'dayjs/plugin/customParseFormat.js'\n\ndayjs.extend(customParseFormat)\n\ntype DateValue = dayjs.Dayjs | dayjs.Dayjs[] | string | string[] | number | number[]\n\n/**\n * 一个比较hack的moment判断工具\n * @param value\n * @returns\n */\nconst isMoment = (value: any) => !!value?._isAMomentObject\n\nconst parseValueToDay = (\n value: DateValue,\n formatter?: string,\n): dayjs.Dayjs | dayjs.Dayjs[] | null | undefined => {\n if (isNil(value) || dayjs.isDayjs(value) || isMoment(value)) {\n if (isMoment(value)) {\n return dayjs(value as dayjs.Dayjs)\n }\n return value as dayjs.Dayjs | null | undefined\n }\n if (Array.isArray(value)) {\n return (value as any[]).map((v) => parseValueToDay(v, formatter) as dayjs.Dayjs)\n }\n if (typeof value === 'number') return dayjs(value)\n return dayjs(value, formatter)\n}\n\nexport default parseValueToDay\n"],"names":[],"mappings":";;;;AAWA,KAAA,CAAM,OAAO,iBAAiB,CAAA;AAS9B,MAAM,QAAA,GAAW,CAAC,KAAA,KAAe,CAAC,EAAC,KAAA,IAAA,IAAA,GAAA,MAAA,GAAA,KAAA,CAAO,gBAAA,CAAA;AAE1C,MAAM,eAAA,GAAkB,CACtB,KAAA,EACA,SAAA,KACmD;AACnD,EAAA,IAAI,KAAA,CAAM,KAAK,CAAA,IAAK,KAAA,CAAM,QAAQ,KAAK,CAAA,IAAK,QAAA,CAAS,KAAK,CAAA,EAAG;AAC3D,IAAA,IAAI,QAAA,CAAS,KAAK,CAAA,EAAG;AACnB,MAAA,OAAO,MAAM,KAAoB,CAAA;AAAA,IACnC;AACA,IAAA,OAAO,KAAA;AAAA,EACT;AACA,EAAA,IAAI,KAAA,CAAM,OAAA,CAAQ,KAAK,CAAA,EAAG;AACxB,IAAA,OAAQ,MAAgB,GAAA,CAAI,CAAC,MAAM,eAAA,CAAgB,CAAA,EAAG,SAAS,CAAgB,CAAA;AAAA,EACjF;AACA,EAAA,IAAI,OAAO,KAAA,KAAU,QAAA,EAAU,OAAO,MAAM,KAAK,CAAA;AACjD,EAAA,OAAO,KAAA,CAAM,OAAO,SAAS,CAAA;AAC/B;;;;"}
|
package/es/version.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const version = "1.0.0-rc.
|
1
|
+
export declare const version = "1.0.0-rc.1";
|
package/es/version.mjs
CHANGED
package/es/version.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"version.mjs","sources":["../../../packages/pro-design-vue/version.ts"],"sourcesContent":["export const version = '1.0.0-rc.
|
1
|
+
{"version":3,"file":"version.mjs","sources":["../../../packages/pro-design-vue/version.ts"],"sourcesContent":["export const version = '1.0.0-rc.1'\n"],"names":[],"mappings":"AAAO,MAAM,OAAA,GAAU;;;;"}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
var dayjs = require('dayjs');
|
6
|
-
var customParseFormat = require('dayjs/plugin/customParseFormat');
|
6
|
+
var customParseFormat = require('dayjs/plugin/customParseFormat.js');
|
7
7
|
var validate = require('../../../../utils/validate.js');
|
8
8
|
|
9
9
|
dayjs.extend(customParseFormat);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"parseValueToMoment.js","sources":["../../../../../../../packages/components/form/src/utils/parseValueToMoment.ts"],"sourcesContent":["/*\n * @Author: shen\n * @Date: 2023-09-01 09:30:50\n * @LastEditors: shen\n * @LastEditTime: 2025-
|
1
|
+
{"version":3,"file":"parseValueToMoment.js","sources":["../../../../../../../packages/components/form/src/utils/parseValueToMoment.ts"],"sourcesContent":["/*\n * @Author: shen\n * @Date: 2023-09-01 09:30:50\n * @LastEditors: shen\n * @LastEditTime: 2025-09-12 11:19:37\n * @Description:\n */\nimport { isNil } from '@pro-design-vue/utils'\nimport dayjs from 'dayjs'\nimport customParseFormat from 'dayjs/plugin/customParseFormat.js'\n\ndayjs.extend(customParseFormat)\n\ntype DateValue = dayjs.Dayjs | dayjs.Dayjs[] | string | string[] | number | number[]\n\n/**\n * 一个比较hack的moment判断工具\n * @param value\n * @returns\n */\nconst isMoment = (value: any) => !!value?._isAMomentObject\n\nconst parseValueToDay = (\n value: DateValue,\n formatter?: string,\n): dayjs.Dayjs | dayjs.Dayjs[] | null | undefined => {\n if (isNil(value) || dayjs.isDayjs(value) || isMoment(value)) {\n if (isMoment(value)) {\n return dayjs(value as dayjs.Dayjs)\n }\n return value as dayjs.Dayjs | null | undefined\n }\n if (Array.isArray(value)) {\n return (value as any[]).map((v) => parseValueToDay(v, formatter) as dayjs.Dayjs)\n }\n if (typeof value === 'number') return dayjs(value)\n return dayjs(value, formatter)\n}\n\nexport default parseValueToDay\n"],"names":["isNil"],"mappings":";;;;;;;;AAWA,KAAA,CAAM,OAAO,iBAAiB,CAAA;AAS9B,MAAM,QAAA,GAAW,CAAC,KAAA,KAAe,CAAC,EAAC,KAAA,IAAA,IAAA,GAAA,MAAA,GAAA,KAAA,CAAO,gBAAA,CAAA;AAE1C,MAAM,eAAA,GAAkB,CACtB,KAAA,EACA,SAAA,KACmD;AACnD,EAAA,IAAIA,cAAA,CAAM,KAAK,CAAA,IAAK,KAAA,CAAM,QAAQ,KAAK,CAAA,IAAK,QAAA,CAAS,KAAK,CAAA,EAAG;AAC3D,IAAA,IAAI,QAAA,CAAS,KAAK,CAAA,EAAG;AACnB,MAAA,OAAO,MAAM,KAAoB,CAAA;AAAA,IACnC;AACA,IAAA,OAAO,KAAA;AAAA,EACT;AACA,EAAA,IAAI,KAAA,CAAM,OAAA,CAAQ,KAAK,CAAA,EAAG;AACxB,IAAA,OAAQ,MAAgB,GAAA,CAAI,CAAC,MAAM,eAAA,CAAgB,CAAA,EAAG,SAAS,CAAgB,CAAA;AAAA,EACjF;AACA,EAAA,IAAI,OAAO,KAAA,KAAU,QAAA,EAAU,OAAO,MAAM,KAAK,CAAA;AACjD,EAAA,OAAO,KAAA,CAAM,OAAO,SAAS,CAAA;AAC/B;;;;"}
|
package/lib/version.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const version = "1.0.0-rc.
|
1
|
+
export declare const version = "1.0.0-rc.1";
|
package/lib/version.js
CHANGED
package/lib/version.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"version.js","sources":["../../../packages/pro-design-vue/version.ts"],"sourcesContent":["export const version = '1.0.0-rc.
|
1
|
+
{"version":3,"file":"version.js","sources":["../../../packages/pro-design-vue/version.ts"],"sourcesContent":["export const version = '1.0.0-rc.1'\n"],"names":[],"mappings":";;AAAO,MAAM,OAAA,GAAU;;;;"}
|