@jetlinks-web/components 2.0.4 → 2.0.6

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.
Files changed (102) hide show
  1. package/es/AMap/Map.js +3 -0
  2. package/es/AMap/index.js +3 -0
  3. package/es/BadgeStatus/Badge.js +3 -0
  4. package/es/BadgeStatus/index.js +3 -0
  5. package/es/CardSelect/CardSelect.js +4 -2
  6. package/es/CardSelect/index.js +3 -0
  7. package/es/CheckButton/CheckButton.js +4 -2
  8. package/es/CheckButton/index.js +3 -0
  9. package/es/CheckButton/style/index.css +37 -0
  10. package/es/CheckButton/style/index.less +40 -0
  11. package/es/ConfigProvider/index.js +3 -0
  12. package/es/Echarts/Echarts.js +3 -0
  13. package/es/Echarts/index.js +3 -0
  14. package/es/Ellipsis/Ellipsis.js +23 -15
  15. package/es/Ellipsis/index.js +3 -0
  16. package/es/Ellipsis/style/index.css +17 -0
  17. package/es/Ellipsis/style/index.less +20 -0
  18. package/es/Empty/Empty.js +3 -0
  19. package/es/Empty/index.js +3 -0
  20. package/es/FullPage/FullPage.js +4 -1
  21. package/es/FullPage/index.js +3 -0
  22. package/es/Icon/index.js +3 -0
  23. package/es/MonacoEditor/Monaco.js +4 -2
  24. package/es/MonacoEditor/index.js +3 -0
  25. package/es/PermissionButton/index.js +4 -1
  26. package/es/ProLayout/Basic/BasicLayout.js +142 -43
  27. package/es/ProLayout/PageContainer/index.js +2 -2
  28. package/es/ProLayout/SiderMenu/BaseMenu.js +2 -3
  29. package/es/ProLayout/SiderMenu/SiderMenu.js +35 -8
  30. package/es/ProLayout/SiderMenu/index.less +226 -212
  31. package/es/ProLayout/defaultSettings.js +38 -1
  32. package/es/ProLayout/index.js +5 -1
  33. package/es/ProLayout/style/default.less +4 -4
  34. package/es/ProTable/index.js +4 -1
  35. package/es/ProTable/style/index.css +5 -1
  36. package/es/Scrollbar/index.js +3 -0
  37. package/es/Search/Advanced/SaveHistory.js +1 -1
  38. package/es/Search/Advanced/index.js +3 -0
  39. package/es/Search/Item.js +1 -1
  40. package/es/Search/Search.js +4 -1
  41. package/es/Search/index.js +3 -0
  42. package/es/ValueItem/ValueItem.js +3 -0
  43. package/es/ValueItem/index.js +3 -0
  44. package/es/components.js +17 -0
  45. package/es/index.js +13 -22
  46. package/es/style/index.css +719 -0
  47. package/es/style/index.less +6 -0
  48. package/es/style/variable.css +4 -0
  49. package/es/style/variable.less +4 -2
  50. package/es/style.js +2 -0
  51. package/lib/AMap/Map.js +3 -0
  52. package/lib/AMap/index.js +3 -0
  53. package/lib/BadgeStatus/Badge.js +3 -0
  54. package/lib/BadgeStatus/index.js +3 -0
  55. package/lib/CardSelect/CardSelect.js +4 -2
  56. package/lib/CardSelect/index.js +3 -0
  57. package/lib/CheckButton/CheckButton.js +4 -2
  58. package/lib/CheckButton/index.js +3 -0
  59. package/lib/CheckButton/style/index.css +37 -0
  60. package/lib/CheckButton/style/index.less +40 -0
  61. package/lib/ConfigProvider/index.js +3 -0
  62. package/lib/Echarts/Echarts.js +3 -0
  63. package/lib/Echarts/index.js +3 -0
  64. package/lib/Ellipsis/Ellipsis.js +23 -15
  65. package/lib/Ellipsis/index.js +3 -0
  66. package/lib/Ellipsis/style/index.css +17 -0
  67. package/lib/Ellipsis/style/index.less +20 -0
  68. package/lib/Empty/Empty.js +3 -0
  69. package/lib/Empty/index.js +3 -0
  70. package/lib/FullPage/FullPage.js +4 -1
  71. package/lib/FullPage/index.js +3 -0
  72. package/lib/Icon/index.js +3 -0
  73. package/lib/MonacoEditor/Monaco.js +4 -2
  74. package/lib/MonacoEditor/index.js +3 -0
  75. package/lib/PermissionButton/index.js +4 -1
  76. package/lib/ProLayout/Basic/BasicLayout.js +140 -41
  77. package/lib/ProLayout/PageContainer/index.js +2 -2
  78. package/lib/ProLayout/SiderMenu/BaseMenu.js +2 -3
  79. package/lib/ProLayout/SiderMenu/SiderMenu.js +32 -5
  80. package/lib/ProLayout/SiderMenu/index.less +226 -212
  81. package/lib/ProLayout/defaultSettings.js +40 -2
  82. package/lib/ProLayout/index.js +10 -0
  83. package/lib/ProLayout/style/default.less +4 -4
  84. package/lib/ProTable/index.js +4 -1
  85. package/lib/ProTable/style/index.css +5 -1
  86. package/lib/Scrollbar/index.js +3 -0
  87. package/lib/Search/Advanced/SaveHistory.js +1 -1
  88. package/lib/Search/Advanced/index.js +3 -0
  89. package/lib/Search/Item.js +1 -1
  90. package/lib/Search/Search.js +4 -1
  91. package/lib/Search/index.js +3 -0
  92. package/lib/ValueItem/ValueItem.js +3 -0
  93. package/lib/ValueItem/index.js +3 -0
  94. package/lib/components.js +134 -0
  95. package/lib/index.js +18 -138
  96. package/lib/style/components.less +2 -0
  97. package/lib/style/index.css +719 -0
  98. package/lib/style/index.less +6 -0
  99. package/lib/style/variable.css +4 -0
  100. package/lib/style/variable.less +4 -2
  101. package/lib/style.js +2 -0
  102. package/package.json +8 -10
package/es/Search/Item.js CHANGED
@@ -78,7 +78,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
78
78
  } */
79
79
  import { defineComponent as _defineComponent } from 'vue';
80
80
  import { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementBlock as _createElementBlock, createVNode as _createVNode, Fragment as _Fragment, normalizeStyle as _normalizeStyle, mergeProps as _mergeProps, resolveDynamicComponent as _resolveDynamicComponent, withCtx as _withCtx, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
81
- const _withScopeId = n => (_pushScopeId("data-v-1712901448379"), n = n(), _popScopeId(), n);
81
+ const _withScopeId = n => (_pushScopeId("data-v-1713333270915"), n = n(), _popScopeId(), n);
82
82
  const _hoisted_1 = { class: "JSearch-item" };
83
83
  const _hoisted_2 = {
84
84
  key: 0,
@@ -36,7 +36,7 @@
36
36
  } */
37
37
  import { defineComponent as _defineComponent } from 'vue';
38
38
  import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createVNode as _createVNode, unref as _unref, withCtx as _withCtx, createBlock as _createBlock, renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
39
- const _withScopeId = n => (_pushScopeId("data-v-1712901448538"), n = n(), _popScopeId(), n);
39
+ const _withScopeId = n => (_pushScopeId("data-v-1713333271190"), n = n(), _popScopeId(), n);
40
40
  const _hoisted_1 = { class: "JSearch-content simple" };
41
41
  const _hoisted_2 = { class: "JSearch-items" };
42
42
  import { Button, Row, Col, Form, FormItemRest, } from 'ant-design-vue';
@@ -46,6 +46,9 @@ import { termsParamsFormat } from './util';
46
46
  import SearchItem from './Item.js';
47
47
  import { optionsMapKey } from './setting';
48
48
  const __sfc_main__ = _defineComponent({
49
+ ...{
50
+ name: 'JSearch',
51
+ },
49
52
  props: {
50
53
  columns: {
51
54
  type: Array,
@@ -1,4 +1,7 @@
1
1
  import AdvancedSearch from './Advanced/index.js';
2
2
  import Search from './Search.js';
3
+ Search.install = function (app) {
4
+ app.component(Search.name, Search);
5
+ };
3
6
  export { AdvancedSearch };
4
7
  export default Search;
@@ -58,6 +58,9 @@ import { componentsType } from './util';
58
58
  import { MonacoEditor } from '../../';
59
59
  import { Select, DatePicker, TimePicker, Input, InputNumber, InputPassword, Upload, Modal, } from 'ant-design-vue';
60
60
  const __sfc_main__ = _defineComponent({
61
+ ...{
62
+ name: 'JValueItem',
63
+ },
61
64
  props: {
62
65
  // 组件双向绑定的值
63
66
  modelValue: {
@@ -1,2 +1,5 @@
1
1
  import ValueItem from './ValueItem.js';
2
+ ValueItem.install = function (app) {
3
+ app.component(ValueItem.name, ValueItem);
4
+ };
2
5
  export default ValueItem;
@@ -0,0 +1,17 @@
1
+ import './AMap';
2
+ export { default as BadgeStatus } from './BadgeStatus';
3
+ export { default as CardSelect } from './CardSelect';
4
+ export { default as CheckButton } from './CheckButton';
5
+ export { default as ConfigProvider } from './ConfigProvider';
6
+ export { default as Echarts } from './Echarts';
7
+ export { default as Ellipsis } from './Ellipsis';
8
+ export { default as Empty } from './Empty';
9
+ export { default as FullPage } from './FullPage';
10
+ export { default as AIcon } from './Icon';
11
+ export { default as MonacoEditor } from './MonacoEditor';
12
+ export { default as PermissionButton } from './PermissionButton';
13
+ export { default as ProLayout, PageContainer } from './ProLayout';
14
+ export { default as ProTable } from './ProTable';
15
+ export { default as Scrollbar } from './Scrollbar';
16
+ export { default as Search, AdvancedSearch } from './Search';
17
+ export { default as ValueItem } from './ValueItem';
package/es/index.js CHANGED
@@ -1,24 +1,15 @@
1
- import InitAMap from './AMap';
2
- import BadgeStatus from './BadgeStatus';
3
- import CardSelect from './CardSelect';
4
- import CheckButton from './CheckButton';
5
- import ConfigProvider from './ConfigProvider';
6
- import Echarts from './Echarts';
7
- import Ellipsis from './Ellipsis';
8
- import Empty from './Empty';
9
- import FullPage from './FullPage';
10
- import AIcon from './Icon';
11
- import MonacoEditor from './MonacoEditor';
12
- import PermissionButton from './PermissionButton';
13
- import ProLayout, { PageContainer } from './ProLayout';
14
- import ProTable from './ProTable';
15
- import Scrollbar from './Scrollbar';
16
- import Search, { AdvancedSearch } from './Search';
17
- import ValueItem from './ValueItem';
18
- export * from './style';
19
- export { BadgeStatus, CardSelect, CheckButton, Echarts, Ellipsis, Empty, FullPage, AIcon, MonacoEditor, PermissionButton, ValueItem, ProTable, Scrollbar, Search, AdvancedSearch, ConfigProvider };
1
+ /*eslint import/namespace: ['error', { allowComputed: true }]*/
2
+ import * as components from './components';
3
+ export * from './components';
4
+ export var install = function install(app) {
5
+ Object.keys(components).forEach(function (key) {
6
+ var component = components[key];
7
+ if (component.install) {
8
+ app.use(component);
9
+ }
10
+ });
11
+ return app;
12
+ };
20
13
  export default {
21
- install: function install(app) {
22
- app.component('JAMap', InitAMap).component('JBadgeStatus', BadgeStatus).component('JCardSelect', CardSelect).component('JCheckButton', CheckButton).component('JConfigProvider', ConfigProvider).component('JEcharts', Echarts).component('JEllipsis', Ellipsis).component('JEmpty', Empty).component('JFullPage', FullPage).component('AIcon', AIcon).component('JMonacoEditor', MonacoEditor).component('JPermissionButton', PermissionButton).component('JProLayout', ProLayout).component('JPageContainer', PageContainer).component('JProTable', ProTable).component('JScrollbar', Scrollbar).component('JSearch', Search).component('JAdvancedSearch', AdvancedSearch).component('JValueItem', ValueItem);
23
- }
14
+ install: install
24
15
  };