g-ui-web 0.8.23 → 0.8.24

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.
@@ -12,6 +12,10 @@ declare const GBox: ({
12
12
  type: BooleanConstructor;
13
13
  default: boolean;
14
14
  };
15
+ placement: {
16
+ type: StringConstructor;
17
+ default: string;
18
+ };
15
19
  title: {
16
20
  type: StringConstructor;
17
21
  default: string;
@@ -57,6 +61,7 @@ declare const GBox: ({
57
61
  title: string;
58
62
  dbOptions: Record<string, any>;
59
63
  border: boolean;
64
+ placement: string;
60
65
  local: boolean;
61
66
  tag: boolean;
62
67
  arrow: boolean;
@@ -83,6 +88,10 @@ declare const GBox: ({
83
88
  type: BooleanConstructor;
84
89
  default: boolean;
85
90
  };
91
+ placement: {
92
+ type: StringConstructor;
93
+ default: string;
94
+ };
86
95
  title: {
87
96
  type: StringConstructor;
88
97
  default: string;
@@ -126,6 +135,7 @@ declare const GBox: ({
126
135
  title: string;
127
136
  dbOptions: Record<string, any>;
128
137
  border: boolean;
138
+ placement: string;
129
139
  local: boolean;
130
140
  tag: boolean;
131
141
  arrow: boolean;
@@ -149,6 +159,10 @@ declare const GBox: ({
149
159
  type: BooleanConstructor;
150
160
  default: boolean;
151
161
  };
162
+ placement: {
163
+ type: StringConstructor;
164
+ default: string;
165
+ };
152
166
  title: {
153
167
  type: StringConstructor;
154
168
  default: string;
@@ -194,6 +208,7 @@ declare const GBox: ({
194
208
  title: string;
195
209
  dbOptions: Record<string, any>;
196
210
  border: boolean;
211
+ placement: string;
197
212
  local: boolean;
198
213
  tag: boolean;
199
214
  arrow: boolean;
@@ -25,6 +25,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
25
25
  type: BooleanConstructor;
26
26
  default: boolean;
27
27
  };
28
+ placement: {
29
+ type: StringConstructor;
30
+ default: string;
31
+ };
28
32
  title: {
29
33
  type: StringConstructor;
30
34
  default: string;
@@ -75,6 +79,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
75
79
  type: BooleanConstructor;
76
80
  default: boolean;
77
81
  };
82
+ placement: {
83
+ type: StringConstructor;
84
+ default: string;
85
+ };
78
86
  title: {
79
87
  type: StringConstructor;
80
88
  default: string;
@@ -115,6 +123,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
115
123
  title: string;
116
124
  dbOptions: Record<string, any>;
117
125
  border: boolean;
126
+ placement: string;
118
127
  local: boolean;
119
128
  tag: boolean;
120
129
  arrow: boolean;
package/lib/g-ui-web.js CHANGED
@@ -98829,6 +98829,10 @@ const S2t = /* @__PURE__ */ ru(C2t), E2t = /* @__PURE__ */ H({
98829
98829
  type: Boolean,
98830
98830
  default: !1
98831
98831
  },
98832
+ placement: {
98833
+ type: String,
98834
+ default: "right"
98835
+ },
98832
98836
  // title相关
98833
98837
  title: {
98834
98838
  type: String,
@@ -98870,7 +98874,7 @@ const S2t = /* @__PURE__ */ ru(C2t), E2t = /* @__PURE__ */ H({
98870
98874
  setup(e, { expose: t, emit: n }) {
98871
98875
  var p;
98872
98876
  Yh((h) => ({
98873
- "3af39458": i.value
98877
+ "1434c3ec": i.value
98874
98878
  }));
98875
98879
  const r = z(null), a = e, o = I(() => {
98876
98880
  if (a.bg)
@@ -98911,6 +98915,15 @@ const S2t = /* @__PURE__ */ ru(C2t), E2t = /* @__PURE__ */ H({
98911
98915
  class: K(["g-svg", s.value])
98912
98916
  }, null, 2),
98913
98917
  $("div", Abt, Be(e.title), 1),
98918
+ e.arrow && e.placement == "left" ? (D(), Me(m, {
98919
+ key: 0,
98920
+ class: "g-arrow g-arrow-left"
98921
+ }, {
98922
+ default: ve(() => [
98923
+ he(g)
98924
+ ]),
98925
+ _: 1
98926
+ })) : fe("", !0),
98914
98927
  $("div", {
98915
98928
  onClick: v[0] || (v[0] = (b) => h.$emit("click", b))
98916
98929
  }, [
@@ -98922,7 +98935,7 @@ const S2t = /* @__PURE__ */ ru(C2t), E2t = /* @__PURE__ */ H({
98922
98935
  onClick: v[1] || (v[1] = (b) => h.$emit("click", b))
98923
98936
  }, [
98924
98937
  we(h.$slots, "right"),
98925
- e.arrow ? (D(), Me(m, {
98938
+ e.arrow && e.placement == "right" ? (D(), Me(m, {
98926
98939
  key: 0,
98927
98940
  class: "g-arrow"
98928
98941
  }, {
Binary file