reflex_behaviors 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/README.md +1 -1
- data/app/assets/builds/reflex_behaviors.js +44 -47
- data/app/assets/builds/reflex_behaviors.js.map +4 -4
- data/app/javascript/devtools/dependencies/index.js +48 -0
- data/app/javascript/devtools/elements/supervisor_element.js +8 -10
- data/app/javascript/devtools/elements/tooltip_element.js +27 -41
- data/app/javascript/devtools/supervisor.js +22 -5
- data/app/javascript/devtools/toggle.js +165 -81
- data/app/javascript/elements/reflex_element.js +0 -10
- data/app/javascript/utils/dom.js +62 -0
- data/lib/reflex_behaviors/version.rb +1 -1
- data/package.json +1 -1
- data/tags +1109 -1073
- data/yarn.lock +135 -135
- metadata +4 -3
- data/app/javascript/devtools/dom.js +0 -36
data/yarn.lock
CHANGED
@@ -54,15 +54,115 @@
|
|
54
54
|
dependencies:
|
55
55
|
regenerator-runtime "^0.13.11"
|
56
56
|
|
57
|
-
"@esbuild/android-
|
58
|
-
version "0.
|
59
|
-
resolved "https://registry.yarnpkg.com/@esbuild/android-
|
60
|
-
integrity sha512-
|
61
|
-
|
62
|
-
"@esbuild/
|
63
|
-
version "0.
|
64
|
-
resolved "https://registry.yarnpkg.com/@esbuild/
|
65
|
-
integrity sha512-
|
57
|
+
"@esbuild/android-arm64@0.16.2":
|
58
|
+
version "0.16.2"
|
59
|
+
resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.16.2.tgz#cdc8e99494d80a6ebfc7abc41914c4a8b98314ae"
|
60
|
+
integrity sha512-3CjbygjFHmtxDW59FOUM1T28G+aVqzbM+cNNinMgRUq+bmAstJdqmJL/KqpUwuCRTri4BgHJRWQbHOQFLwIpxw==
|
61
|
+
|
62
|
+
"@esbuild/android-arm@0.16.2":
|
63
|
+
version "0.16.2"
|
64
|
+
resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.16.2.tgz#585ac1f25abce4c7b996f0a84f33f0ae6df043cb"
|
65
|
+
integrity sha512-t8zq/Ad8njye3tYkbdBYAEGBExCyqFuPnKmKgLBF9+nIwAS/V3FYck6BjAx813JCGXkNsR1iriS8jQFwydT+FA==
|
66
|
+
|
67
|
+
"@esbuild/android-x64@0.16.2":
|
68
|
+
version "0.16.2"
|
69
|
+
resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.16.2.tgz#544d96e13f9551365b360d1139bed3c1da5cd575"
|
70
|
+
integrity sha512-J5pzzVs9gHRQff8vUBhGMRQU1avwD9IVTSfzhdnKRqlxq0hsdcgZxH95Ckj/q2KJ4nMPYfDBSRXrrvQ4PyMpFA==
|
71
|
+
|
72
|
+
"@esbuild/darwin-arm64@0.16.2":
|
73
|
+
version "0.16.2"
|
74
|
+
resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.16.2.tgz#f417bc18cb80cfaa95aecb8ddc9e6a74be26c92c"
|
75
|
+
integrity sha512-XmjlYmR1UTEdMT2X3TxnA0hG8zOi3q/BzqNN6/PDBxw/UxE9gdj7LGwiQus5HHZM03vSvjRO7WJ7qaJBGBWnpQ==
|
76
|
+
|
77
|
+
"@esbuild/darwin-x64@0.16.2":
|
78
|
+
version "0.16.2"
|
79
|
+
resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.16.2.tgz#d2695c66fd8a4e17a2f7d2c9f2bd6babf1c9c161"
|
80
|
+
integrity sha512-nq5cXgzbXHhBqZEPpuXrf2+BV6QWUM8vAyT/ElJrdIkoGOHwNQJEqZHl3KOWK+1V3KXEXgJhh7DsLixIc677ZQ==
|
81
|
+
|
82
|
+
"@esbuild/freebsd-arm64@0.16.2":
|
83
|
+
version "0.16.2"
|
84
|
+
resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.16.2.tgz#3abbf2a113dbcb77f253f031c412a27874a31b71"
|
85
|
+
integrity sha512-1QuZr7GnoipDYMFJDucqXmVvJZidZuHbvw5QLzBehYq67GR1Jub9pSo6O0Rt4LtKnu3TF2K/bjgzPJAGFY6W4Q==
|
86
|
+
|
87
|
+
"@esbuild/freebsd-x64@0.16.2":
|
88
|
+
version "0.16.2"
|
89
|
+
resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.16.2.tgz#7e68876fbe0e6e8fc9f45f880a2b393e61f54bf3"
|
90
|
+
integrity sha512-uvbv99Wg2T489bqUz4gYVb2IpSSZZP/uTkaZpaLN+h3x58FmsLT4o7bF1Refd2JIKuONxSobljlk5/K/RD9SsQ==
|
91
|
+
|
92
|
+
"@esbuild/linux-arm64@0.16.2":
|
93
|
+
version "0.16.2"
|
94
|
+
resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.16.2.tgz#2d186a0f336a4022b38c0994404ad4541b850d46"
|
95
|
+
integrity sha512-S7EwMhEUMzYfd9KTHJX7Y3bKz7/9sZDRJPp10EOQ3Qqp10WvX2G42Q2c7rfymnm9aM5ZWs+W8WgbLFAUnjC3Wg==
|
96
|
+
|
97
|
+
"@esbuild/linux-arm@0.16.2":
|
98
|
+
version "0.16.2"
|
99
|
+
resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.16.2.tgz#3a816b6349655ac5e80117947543028d8eedeaf8"
|
100
|
+
integrity sha512-8n2UozHygOGXzgysim6GifKjv+lW4fs3mlfaoKerwBIOT9OBCo1Q4AjvbtU3F+2AGyo8eavxnj6Xxx0DRTOwiw==
|
101
|
+
|
102
|
+
"@esbuild/linux-ia32@0.16.2":
|
103
|
+
version "0.16.2"
|
104
|
+
resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.16.2.tgz#6ec937d2c4a17db5c6bb0b898e86c42df97422f4"
|
105
|
+
integrity sha512-TRz3MDvv65zXZ4NTJYi1yyVj17Qrsm8y6J8r4qIdd2qszRLPHmte4LAazPa7g+To6QfM2kL3gHmVhwV6GcYz0g==
|
106
|
+
|
107
|
+
"@esbuild/linux-loong64@0.16.2":
|
108
|
+
version "0.16.2"
|
109
|
+
resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.16.2.tgz#6f611b6e03f5404b5e3d45040f0d743071b1229b"
|
110
|
+
integrity sha512-yhHJCvPQjh/8wLEk336QzXMHYnMKJdzLcNAnXwVawSvsLqyzTYrGshrO1YMhzs5cWgR75DFNnhcAFgEtleAZOw==
|
111
|
+
|
112
|
+
"@esbuild/linux-mips64el@0.16.2":
|
113
|
+
version "0.16.2"
|
114
|
+
resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.16.2.tgz#5c76d385d68189336b78dfc933a77d13465eee5c"
|
115
|
+
integrity sha512-YwMpV41qIKRHASV4MaaA/PKk9CoZ4QyVyPXhUtLTO9kPWtWECRI4MTBrGIb9kGUpL6I+jiT4fAZn8YpWSGBkQg==
|
116
|
+
|
117
|
+
"@esbuild/linux-ppc64@0.16.2":
|
118
|
+
version "0.16.2"
|
119
|
+
resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.16.2.tgz#db567dd114122bcb034910d79000ea9cca9db897"
|
120
|
+
integrity sha512-s4YuINcRxCA9TElEf2iBdG6oZWdNu2Eb6R9TbRBcZOTdcgdBKIinaVyEiQ8H6nmCafWCuuJT8u66zds2ET3t1Q==
|
121
|
+
|
122
|
+
"@esbuild/linux-riscv64@0.16.2":
|
123
|
+
version "0.16.2"
|
124
|
+
resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.16.2.tgz#72e1fd9cc9972e662fcef9138636bd1259c3cd3a"
|
125
|
+
integrity sha512-oacL6QGqVRhBCbBlFxODYfcCkB6tPmfanaWnsuHNI7m9LVkBuuDKpsC3XWOwkEQiLIJcvhhZKOkkgw49KxS1Dw==
|
126
|
+
|
127
|
+
"@esbuild/linux-s390x@0.16.2":
|
128
|
+
version "0.16.2"
|
129
|
+
resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.16.2.tgz#b0fd46338d0b4906cfc7e9c4b1850960432f2f7a"
|
130
|
+
integrity sha512-5ifr0lshZbLI457Qe6y3MsDYv1cSOJ8awgi0HT14cS59WliT7bDkrr3kmDw/LqGOAPyDvDD+U8s2cFBSENetuA==
|
131
|
+
|
132
|
+
"@esbuild/linux-x64@0.16.2":
|
133
|
+
version "0.16.2"
|
134
|
+
resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.16.2.tgz#f323afb5e3f433093078dbfa261e8148970ada20"
|
135
|
+
integrity sha512-TA/ORYlP6h2pfB/dzrPTMFWd1MaUYy7kwblWdzwkUtsTAJAKJlZwBhkKftSaUNNU5wtXNJ9+ucMDf7vBPbDjlw==
|
136
|
+
|
137
|
+
"@esbuild/netbsd-x64@0.16.2":
|
138
|
+
version "0.16.2"
|
139
|
+
resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.16.2.tgz#fa5c5ad79bbadfbd741423ee4ab22d2b0c55143f"
|
140
|
+
integrity sha512-oBH2Aj4fL9FLlkIi2wYGckydKHVKmYrqiqt91i6kFE1mF7B05YYttrlOHAf3JzWIJQWyvzvsmoA/XFPf1sTgBw==
|
141
|
+
|
142
|
+
"@esbuild/openbsd-x64@0.16.2":
|
143
|
+
version "0.16.2"
|
144
|
+
resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.16.2.tgz#a20232bdb2ed8731294bed401cbf0e10dada4540"
|
145
|
+
integrity sha512-eKOpYr7CiF9GZxu18iOQGfzQ4htO6KGhXriW2raJvRO0G27Lu7ArAI/kW71yTPaFqlf9gCmCGaTPr2tmiUePVg==
|
146
|
+
|
147
|
+
"@esbuild/sunos-x64@0.16.2":
|
148
|
+
version "0.16.2"
|
149
|
+
resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.16.2.tgz#d57d9b3121b028dcee8d7ec556b514a0545872c9"
|
150
|
+
integrity sha512-1HsQLVnjhlscekE8H5Xj49xPvd0c74eoZEjh+OUnr+x7vCXdTVdFDgao9QM0H9zfioxJN1ZH7534LwxEaAWaIA==
|
151
|
+
|
152
|
+
"@esbuild/win32-arm64@0.16.2":
|
153
|
+
version "0.16.2"
|
154
|
+
resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.16.2.tgz#a548cff2e5bcd5cdfe1431320b9fee81440d26f1"
|
155
|
+
integrity sha512-G9AWjsnVxGQj8z0WgaDwTKgXzwc9zLPYDFoLE4oAGI/TQnft0eQjc+CKiWRyoa+a/c3XIFGXoWnW+17kbibSfA==
|
156
|
+
|
157
|
+
"@esbuild/win32-ia32@0.16.2":
|
158
|
+
version "0.16.2"
|
159
|
+
resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.16.2.tgz#8f96eb33303344ec70460a44d3189b673e29cf5b"
|
160
|
+
integrity sha512-UJqmfPsiSX/wP1kY5JMordRqNU2r8n8ieXmNimp4r35sQEX3bjnSkPJ2E8BM8W8ecmEL+oDjYjulkTT3zSPa1g==
|
161
|
+
|
162
|
+
"@esbuild/win32-x64@0.16.2":
|
163
|
+
version "0.16.2"
|
164
|
+
resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.16.2.tgz#01350ef54fb4b2a0b423072d30deceaa5c1c529e"
|
165
|
+
integrity sha512-1+PQiGAbbGlIXXlp9i/5JRpodCsozGTjffaD4W1LgeoynWef38VD8NNC8yG366NYXHHHLR1pN6MQZ9r2na/S1A==
|
66
166
|
|
67
167
|
"@eslint/eslintrc@^1.3.3":
|
68
168
|
version "1.3.3"
|
@@ -691,133 +791,33 @@ error-ex@^1.3.1:
|
|
691
791
|
dependencies:
|
692
792
|
is-arrayish "^0.2.1"
|
693
793
|
|
694
|
-
esbuild
|
695
|
-
version "0.
|
696
|
-
resolved "https://registry.yarnpkg.com/esbuild
|
697
|
-
integrity sha512-
|
698
|
-
|
699
|
-
esbuild-android-arm64@0.15.18:
|
700
|
-
version "0.15.18"
|
701
|
-
resolved "https://registry.yarnpkg.com/esbuild-android-arm64/-/esbuild-android-arm64-0.15.18.tgz#9cc0ec60581d6ad267568f29cf4895ffdd9f2f04"
|
702
|
-
integrity sha512-G4xu89B8FCzav9XU8EjsXacCKSG2FT7wW9J6hOc18soEHJdtWu03L3TQDGf0geNxfLTtxENKBzMSq9LlbjS8OQ==
|
703
|
-
|
704
|
-
esbuild-darwin-64@0.15.18:
|
705
|
-
version "0.15.18"
|
706
|
-
resolved "https://registry.yarnpkg.com/esbuild-darwin-64/-/esbuild-darwin-64-0.15.18.tgz#428e1730ea819d500808f220fbc5207aea6d4410"
|
707
|
-
integrity sha512-2WAvs95uPnVJPuYKP0Eqx+Dl/jaYseZEUUT1sjg97TJa4oBtbAKnPnl3b5M9l51/nbx7+QAEtuummJZW0sBEmg==
|
708
|
-
|
709
|
-
esbuild-darwin-arm64@0.15.18:
|
710
|
-
version "0.15.18"
|
711
|
-
resolved "https://registry.yarnpkg.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.18.tgz#b6dfc7799115a2917f35970bfbc93ae50256b337"
|
712
|
-
integrity sha512-tKPSxcTJ5OmNb1btVikATJ8NftlyNlc8BVNtyT/UAr62JFOhwHlnoPrhYWz09akBLHI9nElFVfWSTSRsrZiDUA==
|
713
|
-
|
714
|
-
esbuild-freebsd-64@0.15.18:
|
715
|
-
version "0.15.18"
|
716
|
-
resolved "https://registry.yarnpkg.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.18.tgz#4e190d9c2d1e67164619ae30a438be87d5eedaf2"
|
717
|
-
integrity sha512-TT3uBUxkteAjR1QbsmvSsjpKjOX6UkCstr8nMr+q7zi3NuZ1oIpa8U41Y8I8dJH2fJgdC3Dj3CXO5biLQpfdZA==
|
718
|
-
|
719
|
-
esbuild-freebsd-arm64@0.15.18:
|
720
|
-
version "0.15.18"
|
721
|
-
resolved "https://registry.yarnpkg.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.18.tgz#18a4c0344ee23bd5a6d06d18c76e2fd6d3f91635"
|
722
|
-
integrity sha512-R/oVr+X3Tkh+S0+tL41wRMbdWtpWB8hEAMsOXDumSSa6qJR89U0S/PpLXrGF7Wk/JykfpWNokERUpCeHDl47wA==
|
723
|
-
|
724
|
-
esbuild-linux-32@0.15.18:
|
725
|
-
version "0.15.18"
|
726
|
-
resolved "https://registry.yarnpkg.com/esbuild-linux-32/-/esbuild-linux-32-0.15.18.tgz#9a329731ee079b12262b793fb84eea762e82e0ce"
|
727
|
-
integrity sha512-lphF3HiCSYtaa9p1DtXndiQEeQDKPl9eN/XNoBf2amEghugNuqXNZA/ZovthNE2aa4EN43WroO0B85xVSjYkbg==
|
728
|
-
|
729
|
-
esbuild-linux-64@0.15.18:
|
730
|
-
version "0.15.18"
|
731
|
-
resolved "https://registry.yarnpkg.com/esbuild-linux-64/-/esbuild-linux-64-0.15.18.tgz#532738075397b994467b514e524aeb520c191b6c"
|
732
|
-
integrity sha512-hNSeP97IviD7oxLKFuii5sDPJ+QHeiFTFLoLm7NZQligur8poNOWGIgpQ7Qf8Balb69hptMZzyOBIPtY09GZYw==
|
733
|
-
|
734
|
-
esbuild-linux-arm64@0.15.18:
|
735
|
-
version "0.15.18"
|
736
|
-
resolved "https://registry.yarnpkg.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.18.tgz#5372e7993ac2da8f06b2ba313710d722b7a86e5d"
|
737
|
-
integrity sha512-54qr8kg/6ilcxd+0V3h9rjT4qmjc0CccMVWrjOEM/pEcUzt8X62HfBSeZfT2ECpM7104mk4yfQXkosY8Quptug==
|
738
|
-
|
739
|
-
esbuild-linux-arm@0.15.18:
|
740
|
-
version "0.15.18"
|
741
|
-
resolved "https://registry.yarnpkg.com/esbuild-linux-arm/-/esbuild-linux-arm-0.15.18.tgz#e734aaf259a2e3d109d4886c9e81ec0f2fd9a9cc"
|
742
|
-
integrity sha512-UH779gstRblS4aoS2qpMl3wjg7U0j+ygu3GjIeTonCcN79ZvpPee12Qun3vcdxX+37O5LFxz39XeW2I9bybMVA==
|
743
|
-
|
744
|
-
esbuild-linux-mips64le@0.15.18:
|
745
|
-
version "0.15.18"
|
746
|
-
resolved "https://registry.yarnpkg.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.18.tgz#c0487c14a9371a84eb08fab0e1d7b045a77105eb"
|
747
|
-
integrity sha512-Mk6Ppwzzz3YbMl/ZZL2P0q1tnYqh/trYZ1VfNP47C31yT0K8t9s7Z077QrDA/guU60tGNp2GOwCQnp+DYv7bxQ==
|
748
|
-
|
749
|
-
esbuild-linux-ppc64le@0.15.18:
|
750
|
-
version "0.15.18"
|
751
|
-
resolved "https://registry.yarnpkg.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.18.tgz#af048ad94eed0ce32f6d5a873f7abe9115012507"
|
752
|
-
integrity sha512-b0XkN4pL9WUulPTa/VKHx2wLCgvIAbgwABGnKMY19WhKZPT+8BxhZdqz6EgkqCLld7X5qiCY2F/bfpUUlnFZ9w==
|
753
|
-
|
754
|
-
esbuild-linux-riscv64@0.15.18:
|
755
|
-
version "0.15.18"
|
756
|
-
resolved "https://registry.yarnpkg.com/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.18.tgz#423ed4e5927bd77f842bd566972178f424d455e6"
|
757
|
-
integrity sha512-ba2COaoF5wL6VLZWn04k+ACZjZ6NYniMSQStodFKH/Pu6RxzQqzsmjR1t9QC89VYJxBeyVPTaHuBMCejl3O/xg==
|
758
|
-
|
759
|
-
esbuild-linux-s390x@0.15.18:
|
760
|
-
version "0.15.18"
|
761
|
-
resolved "https://registry.yarnpkg.com/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.18.tgz#21d21eaa962a183bfb76312e5a01cc5ae48ce8eb"
|
762
|
-
integrity sha512-VbpGuXEl5FCs1wDVp93O8UIzl3ZrglgnSQ+Hu79g7hZu6te6/YHgVJxCM2SqfIila0J3k0csfnf8VD2W7u2kzQ==
|
763
|
-
|
764
|
-
esbuild-netbsd-64@0.15.18:
|
765
|
-
version "0.15.18"
|
766
|
-
resolved "https://registry.yarnpkg.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.18.tgz#ae75682f60d08560b1fe9482bfe0173e5110b998"
|
767
|
-
integrity sha512-98ukeCdvdX7wr1vUYQzKo4kQ0N2p27H7I11maINv73fVEXt2kyh4K4m9f35U1K43Xc2QGXlzAw0K9yoU7JUjOg==
|
768
|
-
|
769
|
-
esbuild-openbsd-64@0.15.18:
|
770
|
-
version "0.15.18"
|
771
|
-
resolved "https://registry.yarnpkg.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.18.tgz#79591a90aa3b03e4863f93beec0d2bab2853d0a8"
|
772
|
-
integrity sha512-yK5NCcH31Uae076AyQAXeJzt/vxIo9+omZRKj1pauhk3ITuADzuOx5N2fdHrAKPxN+zH3w96uFKlY7yIn490xQ==
|
773
|
-
|
774
|
-
esbuild-sunos-64@0.15.18:
|
775
|
-
version "0.15.18"
|
776
|
-
resolved "https://registry.yarnpkg.com/esbuild-sunos-64/-/esbuild-sunos-64-0.15.18.tgz#fd528aa5da5374b7e1e93d36ef9b07c3dfed2971"
|
777
|
-
integrity sha512-On22LLFlBeLNj/YF3FT+cXcyKPEI263nflYlAhz5crxtp3yRG1Ugfr7ITyxmCmjm4vbN/dGrb/B7w7U8yJR9yw==
|
778
|
-
|
779
|
-
esbuild-windows-32@0.15.18:
|
780
|
-
version "0.15.18"
|
781
|
-
resolved "https://registry.yarnpkg.com/esbuild-windows-32/-/esbuild-windows-32-0.15.18.tgz#0e92b66ecdf5435a76813c4bc5ccda0696f4efc3"
|
782
|
-
integrity sha512-o+eyLu2MjVny/nt+E0uPnBxYuJHBvho8vWsC2lV61A7wwTWC3jkN2w36jtA+yv1UgYkHRihPuQsL23hsCYGcOQ==
|
783
|
-
|
784
|
-
esbuild-windows-64@0.15.18:
|
785
|
-
version "0.15.18"
|
786
|
-
resolved "https://registry.yarnpkg.com/esbuild-windows-64/-/esbuild-windows-64-0.15.18.tgz#0fc761d785414284fc408e7914226d33f82420d0"
|
787
|
-
integrity sha512-qinug1iTTaIIrCorAUjR0fcBk24fjzEedFYhhispP8Oc7SFvs+XeW3YpAKiKp8dRpizl4YYAhxMjlftAMJiaUw==
|
788
|
-
|
789
|
-
esbuild-windows-arm64@0.15.18:
|
790
|
-
version "0.15.18"
|
791
|
-
resolved "https://registry.yarnpkg.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.18.tgz#5b5bdc56d341d0922ee94965c89ee120a6a86eb7"
|
792
|
-
integrity sha512-q9bsYzegpZcLziq0zgUi5KqGVtfhjxGbnksaBFYmWLxeV/S1fK4OLdq2DFYnXcLMjlZw2L0jLsk1eGoB522WXQ==
|
793
|
-
|
794
|
-
esbuild@^0.15.7:
|
795
|
-
version "0.15.18"
|
796
|
-
resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.15.18.tgz#ea894adaf3fbc036d32320a00d4d6e4978a2f36d"
|
797
|
-
integrity sha512-x/R72SmW3sSFRm5zrrIjAhCeQSAWoni3CmHEqfQrZIQTM3lVCdehdwuIqaOtfC2slvpdlLa62GYoN8SxT23m6Q==
|
794
|
+
esbuild@^0.16.1:
|
795
|
+
version "0.16.2"
|
796
|
+
resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.16.2.tgz#5d864a37c12a8b19340ead348b2cd51b096bbde8"
|
797
|
+
integrity sha512-Rv/CJquZKE00irDLDpk9jmWmtxx1NW+MGpBbNNouaDY0oBwk806uJ51WpLaJBQUxhZqLauX2rrNol5lVQceHJw==
|
798
798
|
optionalDependencies:
|
799
|
-
"@esbuild/android-arm" "0.
|
800
|
-
"@esbuild/
|
801
|
-
esbuild
|
802
|
-
esbuild-
|
803
|
-
esbuild
|
804
|
-
esbuild-
|
805
|
-
esbuild
|
806
|
-
esbuild-
|
807
|
-
esbuild
|
808
|
-
esbuild
|
809
|
-
esbuild
|
810
|
-
esbuild
|
811
|
-
esbuild
|
812
|
-
esbuild
|
813
|
-
esbuild
|
814
|
-
esbuild
|
815
|
-
esbuild
|
816
|
-
esbuild
|
817
|
-
esbuild
|
818
|
-
esbuild-
|
819
|
-
esbuild-
|
820
|
-
esbuild-
|
799
|
+
"@esbuild/android-arm" "0.16.2"
|
800
|
+
"@esbuild/android-arm64" "0.16.2"
|
801
|
+
"@esbuild/android-x64" "0.16.2"
|
802
|
+
"@esbuild/darwin-arm64" "0.16.2"
|
803
|
+
"@esbuild/darwin-x64" "0.16.2"
|
804
|
+
"@esbuild/freebsd-arm64" "0.16.2"
|
805
|
+
"@esbuild/freebsd-x64" "0.16.2"
|
806
|
+
"@esbuild/linux-arm" "0.16.2"
|
807
|
+
"@esbuild/linux-arm64" "0.16.2"
|
808
|
+
"@esbuild/linux-ia32" "0.16.2"
|
809
|
+
"@esbuild/linux-loong64" "0.16.2"
|
810
|
+
"@esbuild/linux-mips64el" "0.16.2"
|
811
|
+
"@esbuild/linux-ppc64" "0.16.2"
|
812
|
+
"@esbuild/linux-riscv64" "0.16.2"
|
813
|
+
"@esbuild/linux-s390x" "0.16.2"
|
814
|
+
"@esbuild/linux-x64" "0.16.2"
|
815
|
+
"@esbuild/netbsd-x64" "0.16.2"
|
816
|
+
"@esbuild/openbsd-x64" "0.16.2"
|
817
|
+
"@esbuild/sunos-x64" "0.16.2"
|
818
|
+
"@esbuild/win32-arm64" "0.16.2"
|
819
|
+
"@esbuild/win32-ia32" "0.16.2"
|
820
|
+
"@esbuild/win32-x64" "0.16.2"
|
821
821
|
|
822
822
|
escape-string-regexp@2.0.0:
|
823
823
|
version "2.0.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: reflex_behaviors
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nate Hopkins (hopsoft)
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-12-
|
11
|
+
date: 2022-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -153,7 +153,7 @@ files:
|
|
153
153
|
- app/assets/builds/reflex_behaviors.js
|
154
154
|
- app/assets/builds/reflex_behaviors.js.map
|
155
155
|
- app/helpers/reflex_behaviors/application_helper.rb
|
156
|
-
- app/javascript/devtools/
|
156
|
+
- app/javascript/devtools/dependencies/index.js
|
157
157
|
- app/javascript/devtools/elements/devtool_element.js
|
158
158
|
- app/javascript/devtools/elements/supervisor_element.js
|
159
159
|
- app/javascript/devtools/elements/tooltip_element.js
|
@@ -165,6 +165,7 @@ files:
|
|
165
165
|
- app/javascript/elements/toggle_target_element.js
|
166
166
|
- app/javascript/elements/toggle_trigger_element.js
|
167
167
|
- app/javascript/index.js
|
168
|
+
- app/javascript/utils/dom.js
|
168
169
|
- app/reflexes/reflex_behaviors/application_reflex.rb
|
169
170
|
- app/reflexes/reflex_behaviors/toggle_reflex.rb
|
170
171
|
- bin/loc
|
@@ -1,36 +0,0 @@
|
|
1
|
-
export function template (html) {
|
2
|
-
let template = document.createElement('template')
|
3
|
-
template.innerHTML = html
|
4
|
-
return template
|
5
|
-
}
|
6
|
-
|
7
|
-
export function appendHTML (html, parent) {
|
8
|
-
parent = parent || document.body
|
9
|
-
return parent.appendChild(template(html).content.cloneNode(true))
|
10
|
-
}
|
11
|
-
|
12
|
-
export function addHighlight (element, options = {}) {
|
13
|
-
if (!element) return
|
14
|
-
let { color, offset, width } = options
|
15
|
-
color = color || 'red'
|
16
|
-
offset = offset || '0px'
|
17
|
-
width = width || '3px'
|
18
|
-
const { outline, outlineOffset } = element.style
|
19
|
-
element.originalStyles = element.originalStyles || {
|
20
|
-
outline,
|
21
|
-
outlineOffset
|
22
|
-
}
|
23
|
-
element.style.outline = `dotted ${width} ${color}`
|
24
|
-
element.style.outlineOffset = offset
|
25
|
-
element.dataset.reflexBehaviorsHighlight = true
|
26
|
-
}
|
27
|
-
|
28
|
-
export function removeHighlight (element) {
|
29
|
-
if (!element) return
|
30
|
-
if (element.originalStyles) {
|
31
|
-
for (const [key, value] of Object.entries(element.originalStyles))
|
32
|
-
value ? (element.style[key] = value) : (element.style[key] = '')
|
33
|
-
delete element.originalStyles
|
34
|
-
}
|
35
|
-
delete element.dataset.reflexBehaviorsHighlight
|
36
|
-
}
|