el-plus 0.0.98 → 0.0.100

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.
@@ -1,4 +1,4 @@
1
- /*! ElPlus v0.0.98 */
1
+ /*! ElPlus v0.0.100 */
2
2
 
3
3
  import { useAttrs, getCurrentInstance, inject, provide, ref, nextTick, defineComponent, computed, createVNode, Fragment, withDirectives, resolveComponent, mergeProps, resolveDirective, useTemplateRef, reactive, onBeforeUpdate, createTextVNode, h, mergeModels, useModel, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createCommentVNode, withCtx, renderSlot, renderList, createBlock, vShow, toDisplayString, useSlots, watch, onMounted, createSlots, normalizeProps, guardReactiveProps, markRaw, Transition, shallowReactive, isVNode, render, createElementVNode, toRaw } from 'vue';
4
4
  import { buttonProps, useLocale as useLocale$1, ElLoading, ElMessage, ElMessageBox, formProps as formProps$1, formEmits as formEmits$1, ElTooltip, formItemProps as formItemProps$1, ElFormItem, ElForm, ElRow, ElCol, inputProps as inputProps$1, inputEmits as inputEmits$1, configProviderContextKey, ElConfigProvider, ElDialog, ElButton, ElTable, ElIcon, selectProps as selectProps$1, selectEmits as selectEmits$1, ElPageHeader, datePickerProps, linkProps as linkProps$1, ElSkeleton } from 'element-plus';
@@ -4505,7 +4505,7 @@ var components = [
4505
4505
  EpFooterInfo
4506
4506
  ];
4507
4507
 
4508
- var version = "0.0.98";
4508
+ var version = "0.0.100";
4509
4509
 
4510
4510
  var globalProperties = {
4511
4511
  install(app) {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, mergeModels, computed, useModel, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createVNode, createCommentVNode, mergeProps, withCtx, renderSlot, Fragment, renderList, withDirectives, createBlock, vShow, toDisplayString, reactive } from 'vue';
2
2
  import { createNameSpace } from '../../../utils/bem.mjs';
3
- import { expandFormPropsKeys, formEmits, formProps, formEmitsKeys } from './form.mjs';
3
+ import { formEmitsKeys, expandFormPropsKeys, formEmits, formProps } from './form.mjs';
4
4
  import { prepareEvents, prepareProps, prepareStyles, prepareClassNames } from '../../../utils/props.mjs';
5
5
  import { ElForm, ElRow, ElCol } from 'element-plus';
6
6
  import { useForm, useCollapse } from './hooks/use-form.mjs';
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, useSlots, useTemplateRef, resolveComponent, resolveDirective, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createVNode, createBlock, createCommentVNode, withCtx, withDirectives, mergeProps, createSlots, createTextVNode, toDisplayString, createElementVNode, Fragment, renderList, renderSlot, normalizeProps, guardReactiveProps } from 'vue';
2
2
  import { createNameSpace } from '../../../utils/bem.mjs';
3
- import { tableEmits, tableProps, tableEmitsKeys, expandTablePropsKeys } from './table.mjs';
3
+ import { tableEmits, tableProps, expandTablePropsKeys, tableEmitsKeys } from './table.mjs';
4
4
  import { prepareEvents, prepareProps, prepareStyles, prepareClassNames } from '../../../utils/props.mjs';
5
5
  import '../../form/index.mjs';
6
6
  import { EpCustomColumn } from '../../custom-column/index.mjs';
@@ -1,4 +1,4 @@
1
- var version = "0.0.98";
1
+ var version = "0.0.100";
2
2
 
3
3
  export { version };
4
4
  //# sourceMappingURL=package.json.mjs.map
@@ -1,18 +1,28 @@
1
1
  import type { NavigationConfig } from '@el-plus/utils'
2
2
  import type { AxiosStatic } from 'axios'
3
+ import type { App } from 'vue'
4
+ type HxtKey = string | { key: string; desc: string; isRouter?: boolean; isRenderDouble?: boolean }
5
+ type HxtFn = (key: HxtKey) => string
6
+ type HxType = any
3
7
 
4
8
  declare global {
9
+ const $hxt: HxtFn
10
+ const hx: HxType
5
11
  interface Window {
6
12
  $EP_SIGN?: string
7
- hx?: any
8
- $hxt?: (key: string) => string
13
+ hx?: HxType
14
+ $hxt?: HxtFn
9
15
  hxlang?: string
10
16
  openMenuSelect?: (navigationConfig: NavigationConfig) => void
11
17
  selectedRouterTags?: any[]
12
18
  closeTag?: (tag: any) => void
13
19
  currentRouterTagIndex?: number
14
20
  Vue: any
15
- hxLangPluginInstall: () => void
21
+ hxLangPluginInstall: (
22
+ app: App,
23
+ modules: string[],
24
+ options: { callback: () => Promise<void> }
25
+ ) => void;
16
26
  axios: AxiosStatic
17
27
  ElementUI: any
18
28
  ElementUIComponents: any
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var version = "0.0.98";
3
+ var version = "0.0.100";
4
4
 
5
5
  exports.version = version;
6
6
  //# sourceMappingURL=package.json.js.map
@@ -1,18 +1,28 @@
1
1
  import type { NavigationConfig } from '@el-plus/utils'
2
2
  import type { AxiosStatic } from 'axios'
3
+ import type { App } from 'vue'
4
+ type HxtKey = string | { key: string; desc: string; isRouter?: boolean; isRenderDouble?: boolean }
5
+ type HxtFn = (key: HxtKey) => string
6
+ type HxType = any
3
7
 
4
8
  declare global {
9
+ const $hxt: HxtFn
10
+ const hx: HxType
5
11
  interface Window {
6
12
  $EP_SIGN?: string
7
- hx?: any
8
- $hxt?: (key: string) => string
13
+ hx?: HxType
14
+ $hxt?: HxtFn
9
15
  hxlang?: string
10
16
  openMenuSelect?: (navigationConfig: NavigationConfig) => void
11
17
  selectedRouterTags?: any[]
12
18
  closeTag?: (tag: any) => void
13
19
  currentRouterTagIndex?: number
14
20
  Vue: any
15
- hxLangPluginInstall: () => void
21
+ hxLangPluginInstall: (
22
+ app: App,
23
+ modules: string[],
24
+ options: { callback: () => Promise<void> }
25
+ ) => void;
16
26
  axios: AxiosStatic
17
27
  ElementUI: any
18
28
  ElementUIComponents: any
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "el-plus",
3
- "version": "0.0.98",
3
+ "version": "0.0.100",
4
4
  "description": "pro base on element-plus",
5
5
  "module": "./es/index.mjs",
6
6
  "keywords": [