@opendesign-plus-test/components 0.0.1-rc.233 → 0.0.1-rc.235

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 (24) hide show
  1. package/dist/components/search-result/OSearchResult.vue.d.ts +5 -0
  2. package/dist/components/search-result/OSearchResultHeader.vue.d.ts +4 -1
  3. package/dist/components/search-result/index.d.ts +26 -3
  4. package/dist/components.cjs.js +27 -27
  5. package/dist/components.css +1 -1
  6. package/dist/components.es.js +3983 -3964
  7. package/dist/treeshaking/_virtual/icon-email.mjs +8 -9
  8. package/dist/treeshaking/_virtual/icon-email2.mjs +9 -8
  9. package/dist/treeshaking/_virtual/icon-tips.mjs +2 -13
  10. package/dist/treeshaking/_virtual/icon-tips2.mjs +13 -2
  11. package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.mjs +1 -1
  12. package/dist/treeshaking/components/org/OOrgMembers.vue2.mjs +1 -1
  13. package/dist/treeshaking/components/search-result/OSearchResult.css +33 -33
  14. package/dist/treeshaking/components/search-result/OSearchResult.vue.d.ts +5 -0
  15. package/dist/treeshaking/components/search-result/OSearchResult.vue.mjs +1 -1
  16. package/dist/treeshaking/components/search-result/OSearchResult.vue2.mjs +49 -4
  17. package/dist/treeshaking/components/search-result/OSearchResultHeader.css +36 -27
  18. package/dist/treeshaking/components/search-result/OSearchResultHeader.vue.d.ts +4 -1
  19. package/dist/treeshaking/components/search-result/OSearchResultHeader.vue.mjs +1 -1
  20. package/dist/treeshaking/components/search-result/OSearchResultHeader.vue2.mjs +16 -14
  21. package/dist/treeshaking/components/search-result/index.d.ts +26 -3
  22. package/dist/treeshaking/components/user-center/OAccountSetting.vue2.mjs +1 -1
  23. package/dist/treeshaking/components/user-center/OUserInfo.vue2.mjs +1 -1
  24. package/package.json +1 -1
@@ -1,13 +1,12 @@
1
- import { defineComponent, useCssVars, useModel, ref, computed, openBlock, createElementBlock, createElementVNode, unref, createVNode, withCtx, renderSlot, mergeProps, toDisplayString, Fragment, renderList, createBlock, createCommentVNode, mergeModels } from "vue";
1
+ import { defineComponent, useCssVars, useModel, ref, computed, openBlock, createElementBlock, normalizeClass, createElementVNode, unref, createVNode, withCtx, renderSlot, mergeProps, toDisplayString, Fragment, renderList, createBlock, createCommentVNode, mergeModels } from "vue";
2
2
  import { OIcon, isArray, OTab, OTabPane } from "@opensig/opendesign";
3
3
  import IconArrowLeft from "../../_virtual/icon-arrow-left.mjs";
4
4
  import OSearchInput from "../search/OSearchInput.vue.mjs";
5
5
  import { useI18n } from "../../i18n/index.mjs";
6
- const _hoisted_1 = { class: "o-search-result-header" };
7
- const _hoisted_2 = { class: "o-search-result-header-content" };
8
- const _hoisted_3 = { class: "o-search-result-header-input-row" };
9
- const _hoisted_4 = ["aria-label"];
10
- const _hoisted_5 = {
6
+ const _hoisted_1 = { class: "o-search-result-header-content" };
7
+ const _hoisted_2 = { class: "o-search-result-header-input-row" };
8
+ const _hoisted_3 = ["aria-label"];
9
+ const _hoisted_4 = {
11
10
  key: 0,
12
11
  class: "o-search-result-header-tab-wrap"
13
12
  };
@@ -16,7 +15,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
16
15
  props: /* @__PURE__ */ mergeModels({
17
16
  bg: {},
18
17
  tabs: {},
19
- inputProps: {}
18
+ inputProps: {},
19
+ responsive: { type: Boolean, default: false }
20
20
  }, {
21
21
  "searchInput": {},
22
22
  "searchInputModifiers": {},
@@ -26,7 +26,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
26
26
  emits: /* @__PURE__ */ mergeModels(["back", "search"], ["update:searchInput", "update:tab"]),
27
27
  setup(__props, { emit: __emit }) {
28
28
  useCssVars((_ctx) => ({
29
- "v1bb9af50": bgStyle.value
29
+ "v6c29f598": bgStyle.value
30
30
  }));
31
31
  const props = __props;
32
32
  const emit = __emit;
@@ -40,9 +40,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
40
40
  };
41
41
  const bgStyle = computed(() => props.bg ? `url(${props.bg})` : "none");
42
42
  return (_ctx, _cache) => {
43
- return openBlock(), createElementBlock("div", _hoisted_1, [
44
- createElementVNode("div", _hoisted_2, [
45
- createElementVNode("div", _hoisted_3, [
43
+ return openBlock(), createElementBlock("div", {
44
+ class: normalizeClass(["o-search-result-header", { "is-responsive": __props.responsive }])
45
+ }, [
46
+ createElementVNode("div", _hoisted_1, [
47
+ createElementVNode("div", _hoisted_2, [
46
48
  createElementVNode("button", {
47
49
  type: "button",
48
50
  class: "o-search-result-header-back",
@@ -55,7 +57,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
55
57
  ]),
56
58
  _: 1
57
59
  })
58
- ], 8, _hoisted_4),
60
+ ], 8, _hoisted_3),
59
61
  renderSlot(_ctx.$slots, "input", {}, () => [
60
62
  createVNode(OSearchInput, mergeProps({
61
63
  ref_key: "searchInputRef",
@@ -73,7 +75,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
73
75
  }, toDisplayString(unref(t)("search")), 1)
74
76
  ]),
75
77
  renderSlot(_ctx.$slots, "tab", {}, () => [
76
- unref(isArray)(__props.tabs) && __props.tabs.length ? (openBlock(), createElementBlock("div", _hoisted_5, [
78
+ unref(isArray)(__props.tabs) && __props.tabs.length ? (openBlock(), createElementBlock("div", _hoisted_4, [
77
79
  createVNode(unref(OTab), {
78
80
  modelValue: tabVal.value,
79
81
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => tabVal.value = $event),
@@ -95,7 +97,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
95
97
  ])) : createCommentVNode("", true)
96
98
  ], true)
97
99
  ])
98
- ]);
100
+ ], 2);
99
101
  };
100
102
  }
101
103
  });
@@ -16,10 +16,13 @@ declare const OSearchResult: {
16
16
  feedbackText: string;
17
17
  }) => Promise<boolean>;
18
18
  noMore: boolean;
19
+ scrollContainer?: string | HTMLElement;
20
+ bottomOffset?: number;
19
21
  }> & Readonly<{
20
22
  "onUpdate:pageSize"?: ((value: number) => any) | undefined;
21
23
  "onUpdate:page"?: ((value: number) => any) | undefined;
22
24
  "onClick-relative-search-item"?: ((item: import('../../index').OSearchRelativeItemT) => any) | undefined;
25
+ "onReach-bottom"?: (() => any) | undefined;
23
26
  "onUpdate:version"?: ((value: import('@opensig/opendesign').SelectValueT) => any) | undefined;
24
27
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
25
28
  "update:pageSize": (value: number) => any;
@@ -27,9 +30,11 @@ declare const OSearchResult: {
27
30
  "update:version": (value: import('@opensig/opendesign').SelectValueT) => any;
28
31
  } & {
29
32
  "click-relative-search-item": (item: import('../../index').OSearchRelativeItemT) => any;
33
+ "reach-bottom": () => any;
30
34
  }, import('vue').PublicProps, {
31
35
  total: number;
32
36
  pageSizes: number[];
37
+ bottomOffset: number;
33
38
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
34
39
  P: {};
35
40
  B: {};
@@ -53,14 +58,18 @@ declare const OSearchResult: {
53
58
  feedbackText: string;
54
59
  }) => Promise<boolean>;
55
60
  noMore: boolean;
61
+ scrollContainer?: string | HTMLElement;
62
+ bottomOffset?: number;
56
63
  }> & Readonly<{
57
64
  "onUpdate:pageSize"?: ((value: number) => any) | undefined;
58
65
  "onUpdate:page"?: ((value: number) => any) | undefined;
59
66
  "onClick-relative-search-item"?: ((item: import('../../index').OSearchRelativeItemT) => any) | undefined;
67
+ "onReach-bottom"?: (() => any) | undefined;
60
68
  "onUpdate:version"?: ((value: import('@opensig/opendesign').SelectValueT) => any) | undefined;
61
69
  }>, {}, {}, {}, {}, {
62
70
  total: number;
63
71
  pageSizes: number[];
72
+ bottomOffset: number;
64
73
  }>;
65
74
  __isFragment?: never;
66
75
  __isTeleport?: never;
@@ -81,10 +90,13 @@ declare const OSearchResult: {
81
90
  feedbackText: string;
82
91
  }) => Promise<boolean>;
83
92
  noMore: boolean;
93
+ scrollContainer?: string | HTMLElement;
94
+ bottomOffset?: number;
84
95
  }> & Readonly<{
85
96
  "onUpdate:pageSize"?: ((value: number) => any) | undefined;
86
97
  "onUpdate:page"?: ((value: number) => any) | undefined;
87
98
  "onClick-relative-search-item"?: ((item: import('../../index').OSearchRelativeItemT) => any) | undefined;
99
+ "onReach-bottom"?: (() => any) | undefined;
88
100
  "onUpdate:version"?: ((value: import('@opensig/opendesign').SelectValueT) => any) | undefined;
89
101
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
90
102
  "update:pageSize": (value: number) => any;
@@ -92,9 +104,11 @@ declare const OSearchResult: {
92
104
  "update:version": (value: import('@opensig/opendesign').SelectValueT) => any;
93
105
  } & {
94
106
  "click-relative-search-item": (item: import('../../index').OSearchRelativeItemT) => any;
107
+ "reach-bottom": () => any;
95
108
  }, string, {
96
109
  total: number;
97
110
  pageSizes: number[];
111
+ bottomOffset: number;
98
112
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
99
113
  $slots: {
100
114
  'content-header'?(_: {}): any;
@@ -115,6 +129,7 @@ declare const OSearchResultHeader: {
115
129
  bg?: string;
116
130
  tabs?: import('../../index').OSearchItemT[];
117
131
  inputProps?: import('../search/OSearchInput.vue').OSearchInputPropsT;
132
+ responsive?: boolean;
118
133
  }> & Readonly<{
119
134
  onSearch?: ((payload: import('../../index').OSearchPayload) => any) | undefined;
120
135
  onBack?: (() => any) | undefined;
@@ -125,7 +140,9 @@ declare const OSearchResultHeader: {
125
140
  back: () => any;
126
141
  "update:searchInput": (value: string) => any;
127
142
  "update:tab": (value: string | number) => any;
128
- }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
143
+ }, import('vue').PublicProps, {
144
+ responsive: boolean;
145
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
129
146
  searchInputRef: ({
130
147
  $: import('vue').ComponentInternalInstance;
131
148
  $data: {};
@@ -767,12 +784,15 @@ declare const OSearchResultHeader: {
767
784
  bg?: string;
768
785
  tabs?: import('../../index').OSearchItemT[];
769
786
  inputProps?: import('../search/OSearchInput.vue').OSearchInputPropsT;
787
+ responsive?: boolean;
770
788
  }> & Readonly<{
771
789
  onSearch?: ((payload: import('../../index').OSearchPayload) => any) | undefined;
772
790
  onBack?: (() => any) | undefined;
773
791
  "onUpdate:searchInput"?: ((value: string) => any) | undefined;
774
792
  "onUpdate:tab"?: ((value: string | number) => any) | undefined;
775
- }>, {}, {}, {}, {}, {}>;
793
+ }>, {}, {}, {}, {}, {
794
+ responsive: boolean;
795
+ }>;
776
796
  __isFragment?: never;
777
797
  __isTeleport?: never;
778
798
  __isSuspense?: never;
@@ -783,6 +803,7 @@ declare const OSearchResultHeader: {
783
803
  bg?: string;
784
804
  tabs?: import('../../index').OSearchItemT[];
785
805
  inputProps?: import('../search/OSearchInput.vue').OSearchInputPropsT;
806
+ responsive?: boolean;
786
807
  }> & Readonly<{
787
808
  onSearch?: ((payload: import('../../index').OSearchPayload) => any) | undefined;
788
809
  onBack?: (() => any) | undefined;
@@ -793,7 +814,9 @@ declare const OSearchResultHeader: {
793
814
  back: () => any;
794
815
  "update:searchInput": (value: string) => any;
795
816
  "update:tab": (value: string | number) => any;
796
- }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
817
+ }, string, {
818
+ responsive: boolean;
819
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
797
820
  $slots: {
798
821
  input?(_: {}): any;
799
822
  tab?(_: {}): any;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, computed, onMounted, watch, openBlock, createElementBlock, Fragment, createElementVNode, toDisplayString, unref, createCommentVNode, normalizeClass, createVNode, withCtx, renderList, createBlock, resolveDynamicComponent, createTextVNode } from "vue";
2
- import IconMail from "../../_virtual/icon-email.mjs";
2
+ import IconMail from "../../_virtual/icon-email2.mjs";
3
3
  import IconPhone from "../../_virtual/icon-phone.mjs";
4
4
  import { useMessage, OSkeleton, OIcon, OLink, OSkeletonText } from "@opensig/opendesign";
5
5
  import { useI18n } from "../../i18n/index.mjs";
@@ -7,7 +7,7 @@ import { getCompanyRules, getNicknammeRules, formValidator } from "./utils/rules
7
7
  import { rolesMap } from "./rolesMap.mjs";
8
8
  import defaultAvater from "../../assets/user-center/images/default-user-photo.png.mjs";
9
9
  import IconEdit from "../../_virtual/icon-edit-new.mjs";
10
- import IconTips from "../../_virtual/icon-tips.mjs";
10
+ import IconTips from "../../_virtual/icon-tips2.mjs";
11
11
  import LeftArrowLight from "../../assets/user-center/images/left-arrow-light.svg.mjs";
12
12
  import LeftArrowDark from "../../assets/user-center/images/left-arrow-dark.svg.mjs";
13
13
  import OUploadAvatar from "./internal/OUploadAvatar.vue.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opendesign-plus-test/components",
3
- "version": "0.0.1-rc.233",
3
+ "version": "0.0.1-rc.235",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",