sibujs 4.14.0 → 4.14.1
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.
- package/dist/browser.cjs +1 -1
- package/dist/browser.js +4 -4
- package/dist/build.cjs +1 -1
- package/dist/build.js +12 -12
- package/dist/cdn.dev.global.js +1 -1
- package/dist/cdn.full.dev.global.js +1 -1
- package/dist/cdn.full.global.js +1 -1
- package/dist/cdn.global.js +1 -1
- package/dist/{chunk-HQIAL7F2.js → chunk-3T7TWMSD.js} +1 -1
- package/dist/{chunk-RVR5NPFL.js → chunk-4XCWNGRY.js} +1 -1
- package/dist/{chunk-F67F77IA.js → chunk-55TAOW5M.js} +1 -1
- package/dist/{chunk-SVULV7O4.js → chunk-B2NLNZ3E.js} +4 -4
- package/dist/{chunk-4FJSAUKB.js → chunk-FCWOMATN.js} +1 -1
- package/dist/{chunk-AE32RGWX.js → chunk-FFXZ6ELZ.js} +2 -2
- package/dist/{chunk-GVAMIU6K.js → chunk-KTJC7QPA.js} +2 -2
- package/dist/{chunk-VM2U5LEL.js → chunk-L2IPKGUJ.js} +6 -6
- package/dist/{chunk-MIRKTVH4.js → chunk-LAHX7XFG.js} +1 -1
- package/dist/{chunk-TLS4NVIB.js → chunk-LJ2LR5P4.js} +4 -4
- package/dist/{chunk-2TTRW2TE.js → chunk-LUZXFMKH.js} +4 -4
- package/dist/{chunk-QS6GMWDD.js → chunk-LZKKMDQF.js} +10 -10
- package/dist/{chunk-Y4LUM2XS.js → chunk-NIHGSXOX.js} +3 -3
- package/dist/{chunk-BNXRWZZV.js → chunk-OLMZF4RU.js} +5 -5
- package/dist/{chunk-CCKUNHVU.js → chunk-OPRQW4LI.js} +1 -1
- package/dist/{chunk-UUIKJJIK.js → chunk-RBRITLFL.js} +3 -3
- package/dist/{chunk-BOYKGGVD.js → chunk-TOV4PN3P.js} +2 -2
- package/dist/{chunk-JTFQ7IL4.js → chunk-TS6JDK7Y.js} +5 -5
- package/dist/{chunk-A454RAEK.js → chunk-TZNR6E6D.js} +2 -2
- package/dist/{chunk-4TQDTWWN.js → chunk-VIAVYBNQ.js} +3 -3
- package/dist/{chunk-BKZ5N6NK.js → chunk-WFMMSMA5.js} +3 -3
- package/dist/{chunk-CNPT6NKV.js → chunk-YIXMS546.js} +43 -1
- package/dist/{chunk-7ILEHTVX.js → chunk-YPLQQTWS.js} +1 -1
- package/dist/{chunk-CJ7KS3DF.js → chunk-ZKI4SDZ2.js} +2 -2
- package/dist/{chunk-N7A6FKWW.js → chunk-ZYK4NZZA.js} +2 -2
- package/dist/data.cjs +1 -1
- package/dist/data.js +5 -5
- package/dist/devtools.cjs +1 -1
- package/dist/devtools.js +4 -4
- package/dist/ecosystem.cjs +1 -1
- package/dist/ecosystem.js +7 -7
- package/dist/extras.cjs +46 -4
- package/dist/extras.js +22 -22
- package/dist/index.cjs +1 -1
- package/dist/index.js +12 -12
- package/dist/motion.cjs +1 -1
- package/dist/motion.js +3 -3
- package/dist/patterns.cjs +1 -1
- package/dist/patterns.js +5 -5
- package/dist/performance.cjs +1 -1
- package/dist/performance.js +6 -6
- package/dist/plugins.cjs +46 -4
- package/dist/plugins.js +11 -11
- package/dist/{ssr-NECEU4X4.js → ssr-HHU3DAD2.js} +3 -3
- package/dist/ssr-dom.cjs +43 -1
- package/dist/ssr-dom.d.cts +2 -0
- package/dist/ssr-dom.d.ts +2 -0
- package/dist/ssr-dom.js +1 -1
- package/dist/ssr.cjs +44 -2
- package/dist/ssr.js +11 -11
- package/dist/testing.cjs +44 -2
- package/dist/testing.js +9 -9
- package/dist/ui.cjs +1 -1
- package/dist/ui.js +7 -7
- package/dist/widgets.cjs +1 -1
- package/dist/widgets.js +6 -6
- package/package.json +1 -1
|
@@ -135,45 +135,45 @@ import {
|
|
|
135
135
|
use,
|
|
136
136
|
var_,
|
|
137
137
|
video
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-YPLQQTWS.js";
|
|
139
139
|
import {
|
|
140
140
|
trustHTML
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-TOV4PN3P.js";
|
|
142
142
|
import {
|
|
143
143
|
watch
|
|
144
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-4XCWNGRY.js";
|
|
145
145
|
import {
|
|
146
146
|
__resetIdCounter,
|
|
147
147
|
createId,
|
|
148
148
|
domBinding
|
|
149
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-OPRQW4LI.js";
|
|
150
150
|
import {
|
|
151
151
|
SVG_NS,
|
|
152
152
|
bindChildNode,
|
|
153
153
|
captureFocusWithin,
|
|
154
154
|
restoreFocusWithin,
|
|
155
155
|
tagFactory
|
|
156
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-ZKI4SDZ2.js";
|
|
157
157
|
import {
|
|
158
158
|
bindAttribute,
|
|
159
159
|
bindDynamic,
|
|
160
160
|
requireDocument,
|
|
161
161
|
setSafeAttribute,
|
|
162
162
|
setTrustedAttribute
|
|
163
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-3T7TWMSD.js";
|
|
164
164
|
import {
|
|
165
165
|
isCodeTextElement
|
|
166
166
|
} from "./chunk-RVWJGWCL.js";
|
|
167
167
|
import {
|
|
168
168
|
derived
|
|
169
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-ZYK4NZZA.js";
|
|
170
170
|
import {
|
|
171
171
|
globalSingleton
|
|
172
172
|
} from "./chunk-7ZHH77QA.js";
|
|
173
173
|
import {
|
|
174
174
|
effect,
|
|
175
175
|
on
|
|
176
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-FFXZ6ELZ.js";
|
|
177
177
|
import {
|
|
178
178
|
currentBoundary,
|
|
179
179
|
disableSSR,
|
|
@@ -198,7 +198,7 @@ import {
|
|
|
198
198
|
external,
|
|
199
199
|
isBatching,
|
|
200
200
|
signal
|
|
201
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-FCWOMATN.js";
|
|
202
202
|
import {
|
|
203
203
|
bindOwnerScope,
|
|
204
204
|
getOwnerScope,
|
|
@@ -213,7 +213,7 @@ import {
|
|
|
213
213
|
suspendTracking,
|
|
214
214
|
track,
|
|
215
215
|
untracked
|
|
216
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-LAHX7XFG.js";
|
|
217
217
|
import {
|
|
218
218
|
MAX_DRAIN_TEARDOWNS,
|
|
219
219
|
checkLeaks,
|
|
@@ -3,18 +3,18 @@ import {
|
|
|
3
3
|
} from "./chunk-7ZHH77QA.js";
|
|
4
4
|
import {
|
|
5
5
|
effect
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FFXZ6ELZ.js";
|
|
7
7
|
import {
|
|
8
8
|
stripHtml
|
|
9
9
|
} from "./chunk-B3HOT4TK.js";
|
|
10
10
|
import {
|
|
11
11
|
signal
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FCWOMATN.js";
|
|
13
13
|
import {
|
|
14
14
|
forEachSubscriber,
|
|
15
15
|
getSubscriberCount,
|
|
16
16
|
getSubscriberDeps
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-LAHX7XFG.js";
|
|
18
18
|
import {
|
|
19
19
|
dispose
|
|
20
20
|
} from "./chunk-S37PZD6I.js";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
div,
|
|
8
8
|
span
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YPLQQTWS.js";
|
|
10
10
|
import {
|
|
11
11
|
STATIC_VALUE_RESOLVER,
|
|
12
12
|
planHeadElementEntry,
|
|
@@ -14,13 +14,13 @@ import {
|
|
|
14
14
|
recordServerHead,
|
|
15
15
|
serializeHeadEntry,
|
|
16
16
|
serializePlannedHeadEntry
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-TOV4PN3P.js";
|
|
18
18
|
import {
|
|
19
19
|
globalSingleton
|
|
20
20
|
} from "./chunk-7ZHH77QA.js";
|
|
21
21
|
import {
|
|
22
22
|
effect
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-FFXZ6ELZ.js";
|
|
24
24
|
import {
|
|
25
25
|
sanitizeUrl
|
|
26
26
|
} from "./chunk-B3HOT4TK.js";
|
|
@@ -30,10 +30,10 @@ import {
|
|
|
30
30
|
import {
|
|
31
31
|
batch,
|
|
32
32
|
signal
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-FCWOMATN.js";
|
|
34
34
|
import {
|
|
35
35
|
bindOwnerScope
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-LAHX7XFG.js";
|
|
37
37
|
import {
|
|
38
38
|
registerDisposer,
|
|
39
39
|
replaceChildrenSafely,
|
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
} from "./chunk-7ZHH77QA.js";
|
|
7
7
|
import {
|
|
8
8
|
effect
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FFXZ6ELZ.js";
|
|
10
10
|
import {
|
|
11
11
|
sanitizeUrl
|
|
12
12
|
} from "./chunk-B3HOT4TK.js";
|
|
13
13
|
import {
|
|
14
14
|
signal
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-FCWOMATN.js";
|
|
16
16
|
import {
|
|
17
17
|
bindOwnerScope
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-LAHX7XFG.js";
|
|
19
19
|
import {
|
|
20
20
|
dispose,
|
|
21
21
|
registerDisposer,
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
ensureServerDom,
|
|
3
3
|
explainServerError,
|
|
4
4
|
watchBrowserApis
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-YIXMS546.js";
|
|
6
6
|
import {
|
|
7
7
|
embedSerializationTail,
|
|
8
8
|
embedSerializedAttribute,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
} from "./chunk-UYTYNCMZ.js";
|
|
41
41
|
import {
|
|
42
42
|
untracked
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-LAHX7XFG.js";
|
|
44
44
|
import {
|
|
45
45
|
dispose,
|
|
46
46
|
replaceChildrenSafely
|
|
@@ -3,17 +3,17 @@ import {
|
|
|
3
3
|
} from "./chunk-N5TBYXHW.js";
|
|
4
4
|
import {
|
|
5
5
|
domBinding
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OPRQW4LI.js";
|
|
7
7
|
import {
|
|
8
8
|
bindAttribute,
|
|
9
9
|
setSafeAttribute
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3T7TWMSD.js";
|
|
11
11
|
import {
|
|
12
12
|
isBlockedElement
|
|
13
13
|
} from "./chunk-RVWJGWCL.js";
|
|
14
14
|
import {
|
|
15
15
|
derived
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZYK4NZZA.js";
|
|
17
17
|
import {
|
|
18
18
|
globalSingleton
|
|
19
19
|
} from "./chunk-7ZHH77QA.js";
|
|
@@ -26,11 +26,11 @@ import {
|
|
|
26
26
|
} from "./chunk-5HZXGZ6T.js";
|
|
27
27
|
import {
|
|
28
28
|
signal
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-FCWOMATN.js";
|
|
30
30
|
import {
|
|
31
31
|
reactiveBinding,
|
|
32
32
|
track
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-LAHX7XFG.js";
|
|
34
34
|
import {
|
|
35
35
|
dispose,
|
|
36
36
|
disposeNodeOwn,
|
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
} from "./chunk-7ZHH77QA.js";
|
|
10
10
|
import {
|
|
11
11
|
effect
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FFXZ6ELZ.js";
|
|
13
13
|
import {
|
|
14
14
|
sanitizeUrl
|
|
15
15
|
} from "./chunk-B3HOT4TK.js";
|
|
16
16
|
import {
|
|
17
17
|
batch,
|
|
18
18
|
signal
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-FCWOMATN.js";
|
|
20
20
|
import {
|
|
21
21
|
reportError
|
|
22
22
|
} from "./chunk-S37PZD6I.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderToString
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TOV4PN3P.js";
|
|
4
4
|
import {
|
|
5
5
|
globalSingleton
|
|
6
6
|
} from "./chunk-7ZHH77QA.js";
|
|
@@ -171,7 +171,7 @@ var CDN_ENTRY_POINTS = {
|
|
|
171
171
|
};
|
|
172
172
|
var packageInfo = {
|
|
173
173
|
name: "sibujs",
|
|
174
|
-
version: true ? "4.14.
|
|
174
|
+
version: true ? "4.14.1" : "dev",
|
|
175
175
|
entryPoints: MODULE_ENTRY_POINTS,
|
|
176
176
|
/**
|
|
177
177
|
* Generate the package.json `exports` map. Module entries resolve to the
|
|
@@ -316,7 +316,7 @@ var env = {
|
|
|
316
316
|
};
|
|
317
317
|
|
|
318
318
|
// src/plugins/versioning.ts
|
|
319
|
-
var VERSION = true ? "4.14.
|
|
319
|
+
var VERSION = true ? "4.14.1" : "dev";
|
|
320
320
|
var NUM = "(?:0|[1-9]\\d*)";
|
|
321
321
|
var PRE_ID = `(?:${NUM}|\\d*[a-zA-Z-][0-9a-zA-Z-]*)`;
|
|
322
322
|
var BUILD_ID = "[0-9a-zA-Z-]+";
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
} from "./chunk-62BDYGAG.js";
|
|
5
5
|
import {
|
|
6
6
|
derived
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZYK4NZZA.js";
|
|
8
8
|
import {
|
|
9
9
|
effect
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FFXZ6ELZ.js";
|
|
11
11
|
import {
|
|
12
12
|
batch,
|
|
13
13
|
signal
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FCWOMATN.js";
|
|
15
15
|
import {
|
|
16
16
|
reportError
|
|
17
17
|
} from "./chunk-S37PZD6I.js";
|
|
@@ -635,9 +635,15 @@ var ServerAttr = class {
|
|
|
635
635
|
get nodeValue() {
|
|
636
636
|
return this._value;
|
|
637
637
|
}
|
|
638
|
+
set nodeValue(v) {
|
|
639
|
+
this.value = v;
|
|
640
|
+
}
|
|
638
641
|
get textContent() {
|
|
639
642
|
return this._value;
|
|
640
643
|
}
|
|
644
|
+
set textContent(v) {
|
|
645
|
+
this.value = v;
|
|
646
|
+
}
|
|
641
647
|
};
|
|
642
648
|
var ServerNamedNodeMap = class extends Array {
|
|
643
649
|
static get [Symbol.species]() {
|
|
@@ -1185,6 +1191,10 @@ var ServerInputElement = class extends ServerHTMLElement {
|
|
|
1185
1191
|
get defaultChecked() {
|
|
1186
1192
|
return this.hasAttribute("checked");
|
|
1187
1193
|
}
|
|
1194
|
+
/** Reflects to the `checked` attribute; `checked` follows it until written (dirty checkedness). */
|
|
1195
|
+
set defaultChecked(v) {
|
|
1196
|
+
this.toggleAttribute("checked", !!v);
|
|
1197
|
+
}
|
|
1188
1198
|
get type() {
|
|
1189
1199
|
return (this.getAttribute("type") ?? "text").toLowerCase();
|
|
1190
1200
|
}
|
|
@@ -1242,8 +1252,10 @@ reflectDisabled(ServerTextAreaElement.prototype);
|
|
|
1242
1252
|
var ServerOptionElement = class extends ServerHTMLElement {
|
|
1243
1253
|
constructor() {
|
|
1244
1254
|
super(...arguments);
|
|
1245
|
-
/** @internal */
|
|
1255
|
+
/** Selectedness; `null` while it follows the `selected` attribute. @internal */
|
|
1246
1256
|
this._selected = null;
|
|
1257
|
+
/** Set by a `selected` write: the attribute no longer decides selectedness. @internal */
|
|
1258
|
+
this._dirty = false;
|
|
1247
1259
|
}
|
|
1248
1260
|
get value() {
|
|
1249
1261
|
return this.getAttribute("value") ?? this.text;
|
|
@@ -1260,18 +1272,48 @@ var ServerOptionElement = class extends ServerHTMLElement {
|
|
|
1260
1272
|
get label() {
|
|
1261
1273
|
return this.getAttribute("label") ?? this.text;
|
|
1262
1274
|
}
|
|
1275
|
+
set label(v) {
|
|
1276
|
+
this.setAttribute("label", v);
|
|
1277
|
+
}
|
|
1263
1278
|
get selected() {
|
|
1264
1279
|
return this._selected ?? this.hasAttribute("selected");
|
|
1265
1280
|
}
|
|
1266
1281
|
set selected(v) {
|
|
1267
1282
|
this._selected = !!v;
|
|
1283
|
+
this._dirty = true;
|
|
1284
|
+
const select = singleSelectOf(this);
|
|
1285
|
+
if (select && v) {
|
|
1286
|
+
for (const o of select.options) if (o !== this) o._selected = false;
|
|
1287
|
+
}
|
|
1268
1288
|
}
|
|
1269
1289
|
get defaultSelected() {
|
|
1270
1290
|
return this.hasAttribute("selected");
|
|
1271
1291
|
}
|
|
1292
|
+
/** Reflects to the `selected` attribute; `selected` follows it unless written. */
|
|
1293
|
+
set defaultSelected(v) {
|
|
1294
|
+
this.toggleAttribute("selected", !!v);
|
|
1295
|
+
if (this._dirty) return;
|
|
1296
|
+
this._selected = null;
|
|
1297
|
+
const select = singleSelectOf(this);
|
|
1298
|
+
if (!select) return;
|
|
1299
|
+
let last = null;
|
|
1300
|
+
for (const o of select.options) if (o.selected) last = o;
|
|
1301
|
+
for (const o of select.options) if (o !== last && o.selected) o._selected = false;
|
|
1302
|
+
}
|
|
1272
1303
|
};
|
|
1304
|
+
function singleSelectOf(option) {
|
|
1305
|
+
let parent = option.parentNode;
|
|
1306
|
+
if (parent instanceof ServerElement && parent.localName === "optgroup") parent = parent.parentNode;
|
|
1307
|
+
return parent instanceof ServerSelectElement && !parent.hasAttribute("multiple") ? parent : null;
|
|
1308
|
+
}
|
|
1273
1309
|
reflectDisabled(ServerOptionElement.prototype);
|
|
1274
1310
|
var ServerSelectElement = class extends ServerHTMLElement {
|
|
1311
|
+
get multiple() {
|
|
1312
|
+
return this.hasAttribute("multiple");
|
|
1313
|
+
}
|
|
1314
|
+
set multiple(v) {
|
|
1315
|
+
this.toggleAttribute("multiple", !!v);
|
|
1316
|
+
}
|
|
1275
1317
|
get options() {
|
|
1276
1318
|
return this.querySelectorAll("option");
|
|
1277
1319
|
}
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
bindAttribute,
|
|
3
3
|
noDocument,
|
|
4
4
|
setSafeAttribute
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-3T7TWMSD.js";
|
|
6
6
|
import {
|
|
7
7
|
isBlockedElement
|
|
8
8
|
} from "./chunk-RVWJGWCL.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-B3HOT4TK.js";
|
|
14
14
|
import {
|
|
15
15
|
reactiveBinding
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-LAHX7XFG.js";
|
|
17
17
|
import {
|
|
18
18
|
dispose,
|
|
19
19
|
registerDisposer,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
emitDevtools
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FCWOMATN.js";
|
|
4
4
|
import {
|
|
5
5
|
cleanup,
|
|
6
6
|
isTrackingSuspended,
|
|
7
7
|
recordDependency,
|
|
8
8
|
retrack,
|
|
9
9
|
track
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LAHX7XFG.js";
|
|
11
11
|
import {
|
|
12
12
|
devAssert
|
|
13
13
|
} from "./chunk-NT3ZYB5S.js";
|
package/dist/data.cjs
CHANGED
|
@@ -775,7 +775,7 @@ function forEachSubscriber(signal2, visit) {
|
|
|
775
775
|
}
|
|
776
776
|
|
|
777
777
|
// src/reactivity/track.ts
|
|
778
|
-
var _runtimeVersion = true ? "4.14.
|
|
778
|
+
var _runtimeVersion = true ? "4.14.1" : "dev";
|
|
779
779
|
var REGISTRY_KEY = /* @__PURE__ */ Symbol.for("sibujs.reactive.v1");
|
|
780
780
|
function resolveReactiveApi() {
|
|
781
781
|
const g = globalThis;
|
package/dist/data.js
CHANGED
|
@@ -23,16 +23,16 @@ import {
|
|
|
23
23
|
withLoader,
|
|
24
24
|
withRetry,
|
|
25
25
|
withholdTransfer
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-B2NLNZ3E.js";
|
|
27
27
|
import "./chunk-3HZOSMPX.js";
|
|
28
28
|
import "./chunk-62BDYGAG.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-ZYK4NZZA.js";
|
|
30
30
|
import "./chunk-7ZHH77QA.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-FFXZ6ELZ.js";
|
|
32
32
|
import "./chunk-B3HOT4TK.js";
|
|
33
33
|
import "./chunk-UYTYNCMZ.js";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-FCWOMATN.js";
|
|
35
|
+
import "./chunk-LAHX7XFG.js";
|
|
36
36
|
import "./chunk-S37PZD6I.js";
|
|
37
37
|
import "./chunk-NT3ZYB5S.js";
|
|
38
38
|
import "./chunk-R5U7XKVJ.js";
|
package/dist/devtools.cjs
CHANGED
|
@@ -932,7 +932,7 @@ function forEachSubscriber(signal2, visit) {
|
|
|
932
932
|
}
|
|
933
933
|
|
|
934
934
|
// src/reactivity/track.ts
|
|
935
|
-
var _runtimeVersion = true ? "4.14.
|
|
935
|
+
var _runtimeVersion = true ? "4.14.1" : "dev";
|
|
936
936
|
var REGISTRY_KEY = /* @__PURE__ */ Symbol.for("sibujs.reactive.v1");
|
|
937
937
|
function resolveReactiveApi() {
|
|
938
938
|
const g = globalThis;
|
package/dist/devtools.js
CHANGED
|
@@ -35,13 +35,13 @@ import {
|
|
|
35
35
|
trackCleanup,
|
|
36
36
|
walkDependencyGraph,
|
|
37
37
|
withErrorTracking
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-NIHGSXOX.js";
|
|
39
39
|
import "./chunk-7ZHH77QA.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-FFXZ6ELZ.js";
|
|
41
41
|
import "./chunk-B3HOT4TK.js";
|
|
42
42
|
import "./chunk-UYTYNCMZ.js";
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-FCWOMATN.js";
|
|
44
|
+
import "./chunk-LAHX7XFG.js";
|
|
45
45
|
import "./chunk-S37PZD6I.js";
|
|
46
46
|
import {
|
|
47
47
|
isDev
|
package/dist/ecosystem.cjs
CHANGED
|
@@ -829,7 +829,7 @@ function forEachSubscriber(signal2, visit) {
|
|
|
829
829
|
}
|
|
830
830
|
|
|
831
831
|
// src/reactivity/track.ts
|
|
832
|
-
var _runtimeVersion = true ? "4.14.
|
|
832
|
+
var _runtimeVersion = true ? "4.14.1" : "dev";
|
|
833
833
|
var REGISTRY_KEY = /* @__PURE__ */ Symbol.for("sibujs.reactive.v1");
|
|
834
834
|
function resolveReactiveApi() {
|
|
835
835
|
const g = globalThis;
|
package/dist/ecosystem.js
CHANGED
|
@@ -7,19 +7,19 @@ import {
|
|
|
7
7
|
mobXAdapter,
|
|
8
8
|
reduxAdapter,
|
|
9
9
|
zustandAdapter
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LUZXFMKH.js";
|
|
11
11
|
import "./chunk-3HEX6QJQ.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-ZKI4SDZ2.js";
|
|
13
|
+
import "./chunk-3T7TWMSD.js";
|
|
14
14
|
import "./chunk-RVWJGWCL.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-ZYK4NZZA.js";
|
|
16
16
|
import "./chunk-7ZHH77QA.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-FFXZ6ELZ.js";
|
|
18
18
|
import "./chunk-B3HOT4TK.js";
|
|
19
19
|
import "./chunk-UYTYNCMZ.js";
|
|
20
20
|
import "./chunk-5HZXGZ6T.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-FCWOMATN.js";
|
|
22
|
+
import "./chunk-LAHX7XFG.js";
|
|
23
23
|
import "./chunk-S37PZD6I.js";
|
|
24
24
|
import "./chunk-NT3ZYB5S.js";
|
|
25
25
|
import "./chunk-R5U7XKVJ.js";
|
package/dist/extras.cjs
CHANGED
|
@@ -1286,7 +1286,7 @@ function forEachSubscriber(signal2, visit) {
|
|
|
1286
1286
|
}
|
|
1287
1287
|
|
|
1288
1288
|
// src/reactivity/track.ts
|
|
1289
|
-
var _runtimeVersion = true ? "4.14.
|
|
1289
|
+
var _runtimeVersion = true ? "4.14.1" : "dev";
|
|
1290
1290
|
var REGISTRY_KEY = /* @__PURE__ */ Symbol.for("sibujs.reactive.v1");
|
|
1291
1291
|
function resolveReactiveApi() {
|
|
1292
1292
|
const g2 = globalThis;
|
|
@@ -10000,9 +10000,15 @@ var ServerAttr = class {
|
|
|
10000
10000
|
get nodeValue() {
|
|
10001
10001
|
return this._value;
|
|
10002
10002
|
}
|
|
10003
|
+
set nodeValue(v) {
|
|
10004
|
+
this.value = v;
|
|
10005
|
+
}
|
|
10003
10006
|
get textContent() {
|
|
10004
10007
|
return this._value;
|
|
10005
10008
|
}
|
|
10009
|
+
set textContent(v) {
|
|
10010
|
+
this.value = v;
|
|
10011
|
+
}
|
|
10006
10012
|
};
|
|
10007
10013
|
var ServerNamedNodeMap = class extends Array {
|
|
10008
10014
|
static get [Symbol.species]() {
|
|
@@ -10550,6 +10556,10 @@ var ServerInputElement = class extends ServerHTMLElement {
|
|
|
10550
10556
|
get defaultChecked() {
|
|
10551
10557
|
return this.hasAttribute("checked");
|
|
10552
10558
|
}
|
|
10559
|
+
/** Reflects to the `checked` attribute; `checked` follows it until written (dirty checkedness). */
|
|
10560
|
+
set defaultChecked(v) {
|
|
10561
|
+
this.toggleAttribute("checked", !!v);
|
|
10562
|
+
}
|
|
10553
10563
|
get type() {
|
|
10554
10564
|
return (this.getAttribute("type") ?? "text").toLowerCase();
|
|
10555
10565
|
}
|
|
@@ -10607,8 +10617,10 @@ reflectDisabled(ServerTextAreaElement.prototype);
|
|
|
10607
10617
|
var ServerOptionElement = class extends ServerHTMLElement {
|
|
10608
10618
|
constructor() {
|
|
10609
10619
|
super(...arguments);
|
|
10610
|
-
/** @internal */
|
|
10620
|
+
/** Selectedness; `null` while it follows the `selected` attribute. @internal */
|
|
10611
10621
|
this._selected = null;
|
|
10622
|
+
/** Set by a `selected` write: the attribute no longer decides selectedness. @internal */
|
|
10623
|
+
this._dirty = false;
|
|
10612
10624
|
}
|
|
10613
10625
|
get value() {
|
|
10614
10626
|
return this.getAttribute("value") ?? this.text;
|
|
@@ -10625,18 +10637,48 @@ var ServerOptionElement = class extends ServerHTMLElement {
|
|
|
10625
10637
|
get label() {
|
|
10626
10638
|
return this.getAttribute("label") ?? this.text;
|
|
10627
10639
|
}
|
|
10640
|
+
set label(v) {
|
|
10641
|
+
this.setAttribute("label", v);
|
|
10642
|
+
}
|
|
10628
10643
|
get selected() {
|
|
10629
10644
|
return this._selected ?? this.hasAttribute("selected");
|
|
10630
10645
|
}
|
|
10631
10646
|
set selected(v) {
|
|
10632
10647
|
this._selected = !!v;
|
|
10648
|
+
this._dirty = true;
|
|
10649
|
+
const select3 = singleSelectOf(this);
|
|
10650
|
+
if (select3 && v) {
|
|
10651
|
+
for (const o of select3.options) if (o !== this) o._selected = false;
|
|
10652
|
+
}
|
|
10633
10653
|
}
|
|
10634
10654
|
get defaultSelected() {
|
|
10635
10655
|
return this.hasAttribute("selected");
|
|
10636
10656
|
}
|
|
10657
|
+
/** Reflects to the `selected` attribute; `selected` follows it unless written. */
|
|
10658
|
+
set defaultSelected(v) {
|
|
10659
|
+
this.toggleAttribute("selected", !!v);
|
|
10660
|
+
if (this._dirty) return;
|
|
10661
|
+
this._selected = null;
|
|
10662
|
+
const select3 = singleSelectOf(this);
|
|
10663
|
+
if (!select3) return;
|
|
10664
|
+
let last = null;
|
|
10665
|
+
for (const o of select3.options) if (o.selected) last = o;
|
|
10666
|
+
for (const o of select3.options) if (o !== last && o.selected) o._selected = false;
|
|
10667
|
+
}
|
|
10637
10668
|
};
|
|
10669
|
+
function singleSelectOf(option2) {
|
|
10670
|
+
let parent = option2.parentNode;
|
|
10671
|
+
if (parent instanceof ServerElement && parent.localName === "optgroup") parent = parent.parentNode;
|
|
10672
|
+
return parent instanceof ServerSelectElement && !parent.hasAttribute("multiple") ? parent : null;
|
|
10673
|
+
}
|
|
10638
10674
|
reflectDisabled(ServerOptionElement.prototype);
|
|
10639
10675
|
var ServerSelectElement = class extends ServerHTMLElement {
|
|
10676
|
+
get multiple() {
|
|
10677
|
+
return this.hasAttribute("multiple");
|
|
10678
|
+
}
|
|
10679
|
+
set multiple(v) {
|
|
10680
|
+
this.toggleAttribute("multiple", !!v);
|
|
10681
|
+
}
|
|
10640
10682
|
get options() {
|
|
10641
10683
|
return this.querySelectorAll("option");
|
|
10642
10684
|
}
|
|
@@ -15563,7 +15605,7 @@ var CDN_ENTRY_POINTS = {
|
|
|
15563
15605
|
};
|
|
15564
15606
|
var packageInfo = {
|
|
15565
15607
|
name: "sibujs",
|
|
15566
|
-
version: true ? "4.14.
|
|
15608
|
+
version: true ? "4.14.1" : "dev",
|
|
15567
15609
|
entryPoints: MODULE_ENTRY_POINTS,
|
|
15568
15610
|
/**
|
|
15569
15611
|
* Generate the package.json `exports` map. Module entries resolve to the
|
|
@@ -15708,7 +15750,7 @@ var env = {
|
|
|
15708
15750
|
};
|
|
15709
15751
|
|
|
15710
15752
|
// src/plugins/versioning.ts
|
|
15711
|
-
var VERSION = true ? "4.14.
|
|
15753
|
+
var VERSION = true ? "4.14.1" : "dev";
|
|
15712
15754
|
var NUM = "(?:0|[1-9]\\d*)";
|
|
15713
15755
|
var PRE_ID = `(?:${NUM}|\\d*[a-zA-Z-][0-9a-zA-Z-]*)`;
|
|
15714
15756
|
var BUILD_ID = "[0-9a-zA-Z-]+";
|