@fangzhongya/fang-ui 0.1.42 → 0.1.43

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.
@@ -87,7 +87,6 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
87
87
  const onChangeSlider = () => {
88
88
  if (audioRef.value) {
89
89
  const v = slider.value * duration.value / 100;
90
- console.log("v", v);
91
90
  audioRef.value.currentTime = v;
92
91
  }
93
92
  isMouse.value = true;
@@ -85,7 +85,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
85
85
  const onChangeSlider = () => {
86
86
  if (audioRef.value) {
87
87
  const v = slider.value * duration.value / 100;
88
- console.log("v", v);
89
88
  audioRef.value.currentTime = v;
90
89
  }
91
90
  isMouse.value = true;
@@ -83,7 +83,6 @@ function comHandle(props2, obj) {
83
83
  param.data = obj;
84
84
  }
85
85
  param.url = props2.ajax;
86
- console.log("param", param);
87
86
  axios.request(param).then((res) => {
88
87
  let list = res.data || {};
89
88
  if (props2.onRequestAfter) {
@@ -81,7 +81,6 @@ function comHandle(props2, obj) {
81
81
  param.data = obj;
82
82
  }
83
83
  param.url = props2.ajax;
84
- console.log("param", param);
85
84
  axios.request(param).then((res) => {
86
85
  let list = res.data || {};
87
86
  if (props2.onRequestAfter) {
@@ -202,9 +202,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
202
202
  }
203
203
  vue.onMounted(() => {
204
204
  if (globalThis) {
205
- console.log("onMounted");
206
205
  globalThis.addEventListener("click", () => {
207
- console.log("click");
208
206
  isfocus.value = false;
209
207
  });
210
208
  }
@@ -200,9 +200,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
200
200
  }
201
201
  onMounted(() => {
202
202
  if (globalThis) {
203
- console.log("onMounted");
204
203
  globalThis.addEventListener("click", () => {
205
- console.log("click");
206
204
  isfocus.value = false;
207
205
  });
208
206
  }
@@ -19,7 +19,6 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
19
19
  const emit = __emit;
20
20
  const domRef = vue.ref();
21
21
  const { isFullscreen, toggle } = index$3.useFullscreen();
22
- console.log("isFullscreen", isFullscreen);
23
22
  const onClick = () => {
24
23
  if (props.isBody) {
25
24
  toggle();
@@ -17,7 +17,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
17
17
  const emit = __emit;
18
18
  const domRef = ref();
19
19
  const { isFullscreen, toggle } = useFullscreen();
20
- console.log("isFullscreen", isFullscreen);
21
20
  const onClick = () => {
22
21
  if (props.isBody) {
23
22
  toggle();
@@ -417,7 +417,6 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
417
417
  }
418
418
  };
419
419
  const handleOperation = (type, data2, operationName) => {
420
- console.log(operationName, data2);
421
420
  const operationConfig = type === "add" ? props.config.add : props.config.edit;
422
421
  const ajax = operationConfig == null ? void 0 : operationConfig.ajax;
423
422
  if (ajax) {
@@ -415,7 +415,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
415
415
  }
416
416
  };
417
417
  const handleOperation = (type, data, operationName) => {
418
- console.log(operationName, data);
419
418
  const operationConfig = type === "add" ? props.config.add : props.config.edit;
420
419
  const ajax = operationConfig == null ? void 0 : operationConfig.ajax;
421
420
  if (ajax) {
@@ -67,7 +67,6 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
67
67
  for (let k in inactive.value) {
68
68
  obj["inactive-" + k] = inactive.value[k];
69
69
  }
70
- console.log("obj", obj);
71
70
  return obj;
72
71
  });
73
72
  const value = vue.computed({
@@ -65,7 +65,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
65
65
  for (let k in inactive.value) {
66
66
  obj["inactive-" + k] = inactive.value[k];
67
67
  }
68
- console.log("obj", obj);
69
68
  return obj;
70
69
  });
71
70
  const value = computed({
@@ -262,7 +262,6 @@ const useInit = (props2, emit, refTable, getLocale, defaultConfig = {}) => {
262
262
  });
263
263
  function setCrossPage() {
264
264
  const v = data.current;
265
- console.log("v", v);
266
265
  crossPageData.value[v] = refTable.value.getSelections();
267
266
  console.log("crossPageData", crossPageData);
268
267
  }
@@ -260,7 +260,6 @@ const useInit = (props2, emit, refTable, getLocale, defaultConfig = {}) => {
260
260
  });
261
261
  function setCrossPage() {
262
262
  const v = data.current;
263
- console.log("v", v);
264
263
  crossPageData.value[v] = refTable.value.getSelections();
265
264
  console.log("crossPageData", crossPageData);
266
265
  }
@@ -121,7 +121,6 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
121
121
  const onChangeSlider = () => {
122
122
  if (videoRef.value) {
123
123
  const v = slider.value * duration.value / 100;
124
- console.log("v", v);
125
124
  videoRef.value.currentTime = v;
126
125
  }
127
126
  isMouse.value = true;
@@ -119,7 +119,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
119
119
  const onChangeSlider = () => {
120
120
  if (videoRef.value) {
121
121
  const v = slider.value * duration.value / 100;
122
- console.log("v", v);
123
122
  videoRef.value.currentTime = v;
124
123
  }
125
124
  isMouse.value = true;
@@ -44,7 +44,6 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
44
44
  vue.watch(
45
45
  () => props.modelValue,
46
46
  () => {
47
- console.log("props.modelValue", props.modelValue);
48
47
  if (props.modelValue) {
49
48
  isClose.value = false;
50
49
  isMin.value = false;
@@ -121,7 +120,6 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
121
120
  setCss.setCss(refBox.value, "display", "block");
122
121
  }
123
122
  }
124
- console.log("isClose", isClose);
125
123
  }
126
124
  function setMax() {
127
125
  if (refBody.value) {
@@ -42,7 +42,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
42
42
  watch(
43
43
  () => props.modelValue,
44
44
  () => {
45
- console.log("props.modelValue", props.modelValue);
46
45
  if (props.modelValue) {
47
46
  isClose.value = false;
48
47
  isMin.value = false;
@@ -119,7 +118,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
119
118
  setCss(refBox.value, "display", "block");
120
119
  }
121
120
  }
122
- console.log("isClose", isClose);
123
121
  }
124
122
  function setMax() {
125
123
  if (refBody.value) {
@@ -5,7 +5,6 @@ function useFullscreen() {
5
5
  const isFullscreen = vue.ref(false);
6
6
  const target = vue.ref(null);
7
7
  const onFullscreenChange = () => {
8
- console.log("onFullscreenChange");
9
8
  if (!document.fullscreenElement && //@ts-ignore
10
9
  !document.mozFullScreenElement && //@ts-ignore
11
10
  !document.webkitFullscreenElement && //@ts-ignore
@@ -3,7 +3,6 @@ function useFullscreen() {
3
3
  const isFullscreen = ref(false);
4
4
  const target = ref(null);
5
5
  const onFullscreenChange = () => {
6
- console.log("onFullscreenChange");
7
6
  if (!document.fullscreenElement && //@ts-ignore
8
7
  !document.mozFullScreenElement && //@ts-ignore
9
8
  !document.webkitFullscreenElement && //@ts-ignore
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "prefix": "fang-ui",
3
3
  "info": {},
4
- "lastModified": 1764415547531,
4
+ "lastModified": 1764416820549,
5
5
  "icons": {
6
6
  "bar": {
7
7
  "body": " <path fill=\"currentColor\" d=\"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z\" ></path> "
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fangzhongya/fang-ui",
3
3
  "private": false,
4
- "version": "0.1.42",
4
+ "version": "0.1.43",
5
5
  "type": "module",
6
6
  "description ": "fang-ui",
7
7
  "keywords": [
@@ -50,13 +50,13 @@
50
50
  "vue": "^3.5.25",
51
51
  "vue-tsc": "^3.1.5",
52
52
  "vxe-table": "4.6.20",
53
+ "@fang-ui/directives": "0.0.1-0",
53
54
  "@fang-ui/components": "0.0.1-0",
54
- "@fang-ui/locale": "0.0.1-0",
55
55
  "@fang-ui/hooks": "0.0.1-0",
56
- "@fang-ui/directives": "0.0.1-0",
56
+ "@fang-ui/locale": "0.0.1-0",
57
57
  "@fang-ui/icons": "0.0.1-0",
58
- "@fang-ui/types": "0.0.1-0",
59
58
  "@fang-ui/theme": "0.0.1-0",
59
+ "@fang-ui/types": "0.0.1-0",
60
60
  "@fang-ui/utils": "0.0.1-0"
61
61
  },
62
62
  "main": "./dist/index.cjs",
File without changes