ex4nicegui 0.8.9__py3-none-any.whl → 0.9.0__py3-none-any.whl

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 (50) hide show
  1. ex4nicegui/__init__.py +2 -0
  2. ex4nicegui/bi/dataSource.py +1 -2
  3. ex4nicegui/bi/elements/ui_aggrid.py +1 -2
  4. ex4nicegui/layout/rxFlex/index.py +0 -1
  5. ex4nicegui/reactive/EChartsComponent/ECharts.js +1 -1
  6. ex4nicegui/reactive/EChartsComponent/ECharts.py +22 -5
  7. ex4nicegui/reactive/__init__.py +2 -3
  8. ex4nicegui/reactive/_vmodel.py +150 -0
  9. ex4nicegui/reactive/base.py +2 -3
  10. ex4nicegui/reactive/deferredTask.py +2 -5
  11. ex4nicegui/reactive/mermaid/mermaid.js +1 -1
  12. ex4nicegui/reactive/mermaid/mermaid.py +0 -5
  13. ex4nicegui/reactive/vfor.py +1 -0
  14. ex4nicegui/toolbox/core/vue_use.py +1 -1
  15. ex4nicegui/utils/clientScope.py +5 -8
  16. ex4nicegui/utils/proxy/descriptor.py +0 -1
  17. ex4nicegui/utils/signals.py +2 -1
  18. {ex4nicegui-0.8.9.dist-info → ex4nicegui-0.9.0.dist-info}/METADATA +11 -21
  19. {ex4nicegui-0.8.9.dist-info → ex4nicegui-0.9.0.dist-info}/RECORD +46 -74
  20. {ex4nicegui-0.8.9.dist-info → ex4nicegui-0.9.0.dist-info}/WHEEL +1 -1
  21. ex4nicegui/gsap/__init__.py +0 -23
  22. ex4nicegui/gsap/gsap.py +0 -145
  23. ex4nicegui/gsap/timeline.js +0 -56
  24. ex4nicegui/gsap/timeline.py +0 -78
  25. ex4nicegui/gsap/wrapGsap.js +0 -48
  26. ex4nicegui/libs/gsap/.DS_Store +0 -0
  27. ex4nicegui/libs/gsap/CSSPlugin.js +0 -1577
  28. ex4nicegui/libs/gsap/CSSRulePlugin.js +0 -134
  29. ex4nicegui/libs/gsap/CustomEase.js +0 -371
  30. ex4nicegui/libs/gsap/Draggable.js +0 -2699
  31. ex4nicegui/libs/gsap/EasePack.js +0 -212
  32. ex4nicegui/libs/gsap/EaselPlugin.js +0 -341
  33. ex4nicegui/libs/gsap/Flip.js +0 -1518
  34. ex4nicegui/libs/gsap/MotionPathPlugin.js +0 -368
  35. ex4nicegui/libs/gsap/Observer.js +0 -686
  36. ex4nicegui/libs/gsap/PixiPlugin.js +0 -461
  37. ex4nicegui/libs/gsap/ScrollToPlugin.js +0 -273
  38. ex4nicegui/libs/gsap/ScrollTrigger.js +0 -2658
  39. ex4nicegui/libs/gsap/TextPlugin.js +0 -166
  40. ex4nicegui/libs/gsap/__init__.py +0 -0
  41. ex4nicegui/libs/gsap/all.js +0 -31
  42. ex4nicegui/libs/gsap/gsap-core.js +0 -4487
  43. ex4nicegui/libs/gsap/gsap.mjs +0 -6
  44. ex4nicegui/libs/gsap/utils/__init__.py +0 -0
  45. ex4nicegui/libs/gsap/utils/matrix.js +0 -420
  46. ex4nicegui/libs/gsap/utils/paths.js +0 -1487
  47. ex4nicegui/libs/gsap/utils/strings.js +0 -107
  48. ex4nicegui/reactive/local_file_picker.py +0 -208
  49. ex4nicegui/reactive/vmodel.py +0 -237
  50. {ex4nicegui-0.8.9.dist-info → ex4nicegui-0.9.0.dist-info/licenses}/LICENSE +0 -0
@@ -1,166 +0,0 @@
1
- /*!
2
- * TextPlugin 3.12.5
3
- * https://gsap.com
4
- *
5
- * @license Copyright 2008-2024, GreenSock. All rights reserved.
6
- * Subject to the terms at https://gsap.com/standard-license or for
7
- * Club GSAP members, the agreement issued with that membership.
8
- * @author: Jack Doyle, jack@greensock.com
9
- */
10
-
11
- /* eslint-disable */
12
- import { emojiSafeSplit, getText, splitInnerHTML } from "./utils/strings.js";
13
-
14
- var gsap,
15
- _tempDiv,
16
- _getGSAP = function _getGSAP() {
17
- return gsap || typeof window !== "undefined" && (gsap = window.gsap) && gsap.registerPlugin && gsap;
18
- };
19
-
20
- export var TextPlugin = {
21
- version: "3.12.5",
22
- name: "text",
23
- init: function init(target, value, tween) {
24
- typeof value !== "object" && (value = {
25
- value: value
26
- });
27
-
28
- var i = target.nodeName.toUpperCase(),
29
- data = this,
30
- _value = value,
31
- newClass = _value.newClass,
32
- oldClass = _value.oldClass,
33
- preserveSpaces = _value.preserveSpaces,
34
- rtl = _value.rtl,
35
- delimiter = data.delimiter = value.delimiter || "",
36
- fillChar = data.fillChar = value.fillChar || (value.padSpace ? " " : ""),
37
- _short,
38
- text,
39
- original,
40
- j,
41
- condensedText,
42
- condensedOriginal,
43
- aggregate,
44
- s;
45
-
46
- data.svg = target.getBBox && (i === "TEXT" || i === "TSPAN");
47
-
48
- if (!("innerHTML" in target) && !data.svg) {
49
- return false;
50
- }
51
-
52
- data.target = target;
53
-
54
- if (!("value" in value)) {
55
- data.text = data.original = [""];
56
- return;
57
- }
58
-
59
- original = splitInnerHTML(target, delimiter, false, preserveSpaces);
60
- _tempDiv || (_tempDiv = document.createElement("div"));
61
- _tempDiv.innerHTML = value.value;
62
- text = splitInnerHTML(_tempDiv, delimiter, false, preserveSpaces);
63
- data.from = tween._from;
64
-
65
- if ((data.from || rtl) && !(rtl && data.from)) {
66
- // right-to-left or "from()" tweens should invert things (but if it's BOTH .from() and rtl, inverting twice equals not inverting at all :)
67
- i = original;
68
- original = text;
69
- text = i;
70
- }
71
-
72
- data.hasClass = !!(newClass || oldClass);
73
- data.newClass = rtl ? oldClass : newClass;
74
- data.oldClass = rtl ? newClass : oldClass;
75
- i = original.length - text.length;
76
- _short = i < 0 ? original : text;
77
-
78
- if (i < 0) {
79
- i = -i;
80
- }
81
-
82
- while (--i > -1) {
83
- _short.push(fillChar);
84
- }
85
-
86
- if (value.type === "diff") {
87
- j = 0;
88
- condensedText = [];
89
- condensedOriginal = [];
90
- aggregate = "";
91
-
92
- for (i = 0; i < text.length; i++) {
93
- s = text[i];
94
-
95
- if (s === original[i]) {
96
- aggregate += s;
97
- } else {
98
- condensedText[j] = aggregate + s;
99
- condensedOriginal[j++] = aggregate + original[i];
100
- aggregate = "";
101
- }
102
- }
103
-
104
- text = condensedText;
105
- original = condensedOriginal;
106
-
107
- if (aggregate) {
108
- text.push(aggregate);
109
- original.push(aggregate);
110
- }
111
- }
112
-
113
- value.speed && tween.duration(Math.min(0.05 / value.speed * _short.length, value.maxDuration || 9999));
114
- data.rtl = rtl;
115
- data.original = original;
116
- data.text = text;
117
-
118
- data._props.push("text");
119
- },
120
- render: function render(ratio, data) {
121
- if (ratio > 1) {
122
- ratio = 1;
123
- } else if (ratio < 0) {
124
- ratio = 0;
125
- }
126
-
127
- if (data.from) {
128
- ratio = 1 - ratio;
129
- }
130
-
131
- var text = data.text,
132
- hasClass = data.hasClass,
133
- newClass = data.newClass,
134
- oldClass = data.oldClass,
135
- delimiter = data.delimiter,
136
- target = data.target,
137
- fillChar = data.fillChar,
138
- original = data.original,
139
- rtl = data.rtl,
140
- l = text.length,
141
- i = (rtl ? 1 - ratio : ratio) * l + 0.5 | 0,
142
- applyNew,
143
- applyOld,
144
- str;
145
-
146
- if (hasClass && ratio) {
147
- applyNew = newClass && i;
148
- applyOld = oldClass && i !== l;
149
- str = (applyNew ? "<span class='" + newClass + "'>" : "") + text.slice(0, i).join(delimiter) + (applyNew ? "</span>" : "") + (applyOld ? "<span class='" + oldClass + "'>" : "") + delimiter + original.slice(i).join(delimiter) + (applyOld ? "</span>" : "");
150
- } else {
151
- str = text.slice(0, i).join(delimiter) + delimiter + original.slice(i).join(delimiter);
152
- }
153
-
154
- if (data.svg) {
155
- //SVG text elements don't have an "innerHTML" in Microsoft browsers.
156
- target.textContent = str;
157
- } else {
158
- target.innerHTML = fillChar === "&nbsp;" && ~str.indexOf(" ") ? str.split(" ").join("&nbsp;&nbsp;") : str;
159
- }
160
- }
161
- };
162
- TextPlugin.splitInnerHTML = splitInnerHTML;
163
- TextPlugin.emojiSafeSplit = emojiSafeSplit;
164
- TextPlugin.getText = getText;
165
- _getGSAP() && gsap.registerPlugin(TextPlugin);
166
- export { TextPlugin as default };
File without changes
@@ -1,31 +0,0 @@
1
- import gsap from "./gsap-core.js";
2
- import CSSPlugin from "./CSSPlugin.js";
3
- var gsapWithCSS = gsap.registerPlugin(CSSPlugin) || gsap,
4
- // to protect from tree shaking
5
- TweenMaxWithCSS = gsapWithCSS.core.Tween;
6
- export { gsapWithCSS as gsap, gsapWithCSS as default, TweenMaxWithCSS as TweenMax, CSSPlugin };
7
- export { TweenLite, TimelineMax, TimelineLite, Power0, Power1, Power2, Power3, Power4, Linear, Quad, Cubic, Quart, Quint, Strong, Elastic, Back, SteppedEase, Bounce, Sine, Expo, Circ, wrap, wrapYoyo, distribute, random, snap, normalize, getUnit, clamp, splitColor, toArray, mapRange, pipe, unitize, interpolate, shuffle, selector } from "./gsap-core.js";
8
- export * from "./CustomEase.js";
9
- export * from "./Draggable.js";
10
- export * from "./CSSRulePlugin.js";
11
- export * from "./EaselPlugin.js";
12
- export * from "./EasePack.js";
13
- export * from "./Flip.js";
14
- export * from "./MotionPathPlugin.js";
15
- export * from "./Observer.js";
16
- export * from "./PixiPlugin.js";
17
- export * from "./ScrollToPlugin.js";
18
- export * from "./ScrollTrigger.js";
19
- export * from "./TextPlugin.js"; //BONUS EXPORTS
20
- // export * from "./DrawSVGPlugin.js";
21
- // export * from "./Physics2DPlugin.js";
22
- // export * from "./PhysicsPropsPlugin.js";
23
- // export * from "./ScrambleTextPlugin.js";
24
- // export * from "./CustomBounce.js";
25
- // export * from "./CustomWiggle.js";
26
- // export * from "./GSDevTools.js";
27
- // export * from "./InertiaPlugin.js";
28
- // export * from "./MorphSVGPlugin.js";
29
- // export * from "./MotionPathHelper.js";
30
- // export * from "./ScrollSmoother.js";
31
- // export * from "./SplitText.js";