tutuca 0.9.72 → 0.9.73

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.
@@ -1,160 +1,6 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropNames = Object.getOwnPropertyNames;
3
- var __hasOwnProp = Object.prototype.hasOwnProperty;
4
- function __accessProp(key) {
5
- return this[key];
6
- }
7
- var __reExport = (target, mod, secondTarget) => {
8
- var keys = __getOwnPropNames(mod);
9
- for (let key of keys)
10
- if (!__hasOwnProp.call(target, key) && key !== "default")
11
- __defProp(target, key, {
12
- get: __accessProp.bind(mod, key),
13
- enumerable: true
14
- });
15
- if (secondTarget) {
16
- for (let key of keys)
17
- if (!__hasOwnProp.call(secondTarget, key) && key !== "default")
18
- __defProp(secondTarget, key, {
19
- get: __accessProp.bind(mod, key),
20
- enumerable: true
21
- });
22
- return secondTarget;
23
- }
24
- };
25
- var __returnValue = (v) => v;
26
- function __exportSetter(name, newValue) {
27
- this[name] = __returnValue.bind(null, newValue);
28
- }
29
- var __export = (target, all) => {
30
- for (var name in all)
31
- __defProp(target, name, {
32
- get: all[name],
33
- enumerable: true,
34
- configurable: true,
35
- set: __exportSetter.bind(all, name)
36
- });
37
- };
38
-
39
1
  // dev.js
40
- var exports_dev = {};
41
- __export(exports_dev, {
42
- tutuca: () => tutuca,
43
- test: () => test3,
44
- suggestionToMessage: () => suggestionToMessage,
45
- runTests: () => runTests,
46
- reportTestReportToConsole: () => reportTestReportToConsole,
47
- makeCollector: () => makeCollector,
48
- macro: () => macro,
49
- lintIdToMessage: () => lintIdToMessage,
50
- isOMap: () => isOrderedMap,
51
- isIMap: () => isMap,
52
- injectCss: () => injectCss,
53
- html: () => html,
54
- getComponentsDocs: () => getComponentsDocs,
55
- docComponents: () => docComponents,
56
- css: () => css,
57
- component: () => component,
58
- compileClassesToStyleText: () => compileClassesToStyleText,
59
- compileClassesToStyle: () => compileClassesToStyle,
60
- collectIterBindings: () => collectIterBindings2,
61
- checkComponent: () => checkComponent,
62
- check: () => check2,
63
- UNSUPPORTED_EXPR_SYNTAX: () => UNSUPPORTED_EXPR_SYNTAX,
64
- UNKNOWN_X_OP: () => UNKNOWN_X_OP,
65
- UNKNOWN_X_ATTR: () => UNKNOWN_X_ATTR,
66
- UNKNOWN_REQUEST_NAME: () => UNKNOWN_REQUEST_NAME,
67
- UNKNOWN_MACRO_ARG: () => UNKNOWN_MACRO_ARG,
68
- UNKNOWN_HANDLER_ARG_NAME: () => UNKNOWN_HANDLER_ARG_NAME,
69
- UNKNOWN_EVENT_MODIFIER: () => UNKNOWN_EVENT_MODIFIER,
70
- UNKNOWN_DIRECTIVE: () => UNKNOWN_DIRECTIVE,
71
- UNKNOWN_COMPONENT_SPEC_KEY: () => UNKNOWN_COMPONENT_SPEC_KEY,
72
- UNKNOWN_COMPONENT_NAME: () => UNKNOWN_COMPONENT_NAME,
73
- TestResult: () => TestResult,
74
- TestReport: () => TestReport,
75
- TestIndex: () => TestIndex,
76
- Test: () => Test,
77
- SEQ_INFO: () => SEQ_INFO,
78
- RenderedSection: () => RenderedSection,
79
- RenderedExample: () => RenderedExample,
80
- RenderBatch: () => RenderBatch,
81
- RENDER_IT_OUTSIDE_OF_LOOP: () => RENDER_IT_OUTSIDE_OF_LOOP,
82
- REDUNDANT_TEMPLATE_STRING: () => REDUNDANT_TEMPLATE_STRING,
83
- ParseContext: () => ParseContext,
84
- PLACEHOLDERLESS_TEMPLATE_STRING: () => PLACEHOLDERLESS_TEMPLATE_STRING,
85
- OMap: () => OrderedMap2,
86
- ModuleTests: () => ModuleTests,
87
- ModuleTestReport: () => ModuleTestReport,
88
- ModuleInfo: () => ModuleInfo,
89
- METHOD_VAL_NOT_DEFINED: () => METHOD_VAL_NOT_DEFINED,
90
- METHOD_VAL_IS_FIELD: () => METHOD_VAL_IS_FIELD,
91
- MAYBE_DROP_AT_PREFIX: () => MAYBE_DROP_AT_PREFIX,
92
- MAYBE_ADD_AT_PREFIX: () => MAYBE_ADD_AT_PREFIX,
93
- LintReport: () => LintReport,
94
- LintParseContext: () => LintParseContext,
95
- LintFinding: () => LintFinding,
96
- LintContext: () => LintContext,
97
- LintComponentResult: () => LintComponentResult,
98
- LintClassCollectorCtx: () => LintClassCollectorCtx,
99
- KList: () => KList,
100
- ISet: () => Set2,
101
- INPUT_HANDLER_NOT_REFERENCED: () => INPUT_HANDLER_NOT_REFERENCED,
102
- INPUT_HANDLER_NOT_IMPLEMENTED: () => INPUT_HANDLER_NOT_IMPLEMENTED,
103
- INPUT_HANDLER_METHOD_NOT_IMPLEMENTED: () => INPUT_HANDLER_METHOD_NOT_IMPLEMENTED,
104
- INPUT_HANDLER_METHOD_FOR_INPUT_HANDLER: () => INPUT_HANDLER_METHOD_FOR_INPUT_HANDLER,
105
- INPUT_HANDLER_FOR_INPUT_HANDLER_METHOD: () => INPUT_HANDLER_FOR_INPUT_HANDLER_METHOD,
106
- IMap: () => Map2,
107
- IF_NO_BRANCH_SET: () => IF_NO_BRANCH_SET,
108
- FIELD_VAL_NOT_DEFINED: () => FIELD_VAL_NOT_DEFINED,
109
- FIELD_VAL_IS_METHOD: () => FIELD_VAL_IS_METHOD,
110
- FIELD_CLASS: () => FIELD_CLASS,
111
- ExampleIndex: () => ExampleIndex,
112
- DescribeResult: () => DescribeResult,
113
- Describe: () => Describe,
114
- DYN_VAL_NOT_DEFINED: () => DYN_VAL_NOT_DEFINED,
115
- DYN_ALIAS_NOT_REFERENCED: () => DYN_ALIAS_NOT_REFERENCED,
116
- DUPLICATE_ATTR_DEFINITION: () => DUPLICATE_ATTR_DEFINITION,
117
- ComponentSummary: () => ComponentSummary,
118
- ComponentList: () => ComponentList,
119
- ComponentDocs: () => ComponentDocs,
120
- COMP_FIELD_BAD_SHAPE: () => COMP_FIELD_BAD_SHAPE,
121
- BAD_VALUE: () => BAD_VALUE,
122
- ALT_HANDLER_NOT_REFERENCED: () => ALT_HANDLER_NOT_REFERENCED,
123
- ALT_HANDLER_NOT_DEFINED: () => ALT_HANDLER_NOT_DEFINED
124
- });
125
2
  import { expect } from "chai";
126
3
 
127
- // src/anode.js
128
- var exports_anode = {};
129
- __export(exports_anode, {
130
- compileModifiers: () => compileModifiers,
131
- WrapperNode: () => WrapperNode,
132
- View: () => View,
133
- TextNode: () => TextNode,
134
- SlotNode: () => SlotNode,
135
- ShowNode: () => ShowNode,
136
- ScopeNode: () => ScopeNode,
137
- RenderTextNode: () => RenderTextNode,
138
- RenderOnceNode: () => RenderOnceNode,
139
- RenderNode: () => RenderNode,
140
- RenderItNode: () => RenderItNode,
141
- RenderEachNode: () => RenderEachNode,
142
- PushViewNameNode: () => PushViewNameNode,
143
- ParseContext: () => ParseContext,
144
- NodeEvents: () => NodeEvents,
145
- MacroNode: () => MacroNode,
146
- Macro: () => Macro,
147
- MOD_WRAPPERS_BY_EVENT: () => MOD_WRAPPERS_BY_EVENT,
148
- IterInfo: () => IterInfo,
149
- HideNode: () => HideNode,
150
- FragmentNode: () => FragmentNode,
151
- EachNode: () => EachNode,
152
- DomNode: () => DomNode,
153
- CommentNode: () => CommentNode,
154
- BaseNode: () => BaseNode,
155
- ANode: () => ANode
156
- });
157
-
158
4
  // src/value.js
159
5
  import { is } from "immutable";
160
6
 
@@ -2456,11 +2302,6 @@ function compileModifiers(eventName, names) {
2456
2302
  }
2457
2303
 
2458
2304
  // src/util/parsectx.js
2459
- var exports_parsectx = {};
2460
- __export(exports_parsectx, {
2461
- collectAppClassesInSet: () => collectAppClassesInSet,
2462
- ParseCtxClassSetCollector: () => ParseCtxClassSetCollector
2463
- });
2464
2305
  class ParseCtxClassSetCollector extends ParseContext {
2465
2306
  constructor(...args) {
2466
2307
  super(...args);
@@ -2516,58 +2357,6 @@ class ParseCtxClassSetCollector extends ParseContext {
2516
2357
  return false;
2517
2358
  }
2518
2359
  }
2519
- function collectAppClassesInSet(app) {
2520
- const classes = new Set;
2521
- for (const Comp of app.comps.byId.values()) {
2522
- for (const key in Comp.views) {
2523
- const view = Comp.views[key];
2524
- for (const name of view.ctx.classes) {
2525
- classes.add(name);
2526
- }
2527
- }
2528
- }
2529
- return classes;
2530
- }
2531
-
2532
- // tools/core/lint-check.js
2533
- var exports_lint_check = {};
2534
- __export(exports_lint_check, {
2535
- checkComponent: () => checkComponent,
2536
- UNSUPPORTED_EXPR_SYNTAX: () => UNSUPPORTED_EXPR_SYNTAX,
2537
- UNKNOWN_X_OP: () => UNKNOWN_X_OP,
2538
- UNKNOWN_X_ATTR: () => UNKNOWN_X_ATTR,
2539
- UNKNOWN_REQUEST_NAME: () => UNKNOWN_REQUEST_NAME,
2540
- UNKNOWN_MACRO_ARG: () => UNKNOWN_MACRO_ARG,
2541
- UNKNOWN_HANDLER_ARG_NAME: () => UNKNOWN_HANDLER_ARG_NAME,
2542
- UNKNOWN_EVENT_MODIFIER: () => UNKNOWN_EVENT_MODIFIER,
2543
- UNKNOWN_DIRECTIVE: () => UNKNOWN_DIRECTIVE,
2544
- UNKNOWN_COMPONENT_SPEC_KEY: () => UNKNOWN_COMPONENT_SPEC_KEY,
2545
- UNKNOWN_COMPONENT_NAME: () => UNKNOWN_COMPONENT_NAME,
2546
- RENDER_IT_OUTSIDE_OF_LOOP: () => RENDER_IT_OUTSIDE_OF_LOOP,
2547
- REDUNDANT_TEMPLATE_STRING: () => REDUNDANT_TEMPLATE_STRING,
2548
- PLACEHOLDERLESS_TEMPLATE_STRING: () => PLACEHOLDERLESS_TEMPLATE_STRING,
2549
- METHOD_VAL_NOT_DEFINED: () => METHOD_VAL_NOT_DEFINED,
2550
- METHOD_VAL_IS_FIELD: () => METHOD_VAL_IS_FIELD,
2551
- MAYBE_DROP_AT_PREFIX: () => MAYBE_DROP_AT_PREFIX,
2552
- MAYBE_ADD_AT_PREFIX: () => MAYBE_ADD_AT_PREFIX,
2553
- LintParseContext: () => LintParseContext,
2554
- LintContext: () => LintContext,
2555
- INPUT_HANDLER_NOT_REFERENCED: () => INPUT_HANDLER_NOT_REFERENCED,
2556
- INPUT_HANDLER_NOT_IMPLEMENTED: () => INPUT_HANDLER_NOT_IMPLEMENTED,
2557
- INPUT_HANDLER_METHOD_NOT_IMPLEMENTED: () => INPUT_HANDLER_METHOD_NOT_IMPLEMENTED,
2558
- INPUT_HANDLER_METHOD_FOR_INPUT_HANDLER: () => INPUT_HANDLER_METHOD_FOR_INPUT_HANDLER,
2559
- INPUT_HANDLER_FOR_INPUT_HANDLER_METHOD: () => INPUT_HANDLER_FOR_INPUT_HANDLER_METHOD,
2560
- IF_NO_BRANCH_SET: () => IF_NO_BRANCH_SET,
2561
- FIELD_VAL_NOT_DEFINED: () => FIELD_VAL_NOT_DEFINED,
2562
- FIELD_VAL_IS_METHOD: () => FIELD_VAL_IS_METHOD,
2563
- DYN_VAL_NOT_DEFINED: () => DYN_VAL_NOT_DEFINED,
2564
- DYN_ALIAS_NOT_REFERENCED: () => DYN_ALIAS_NOT_REFERENCED,
2565
- DUPLICATE_ATTR_DEFINITION: () => DUPLICATE_ATTR_DEFINITION,
2566
- COMP_FIELD_BAD_SHAPE: () => COMP_FIELD_BAD_SHAPE,
2567
- BAD_VALUE: () => BAD_VALUE,
2568
- ALT_HANDLER_NOT_REFERENCED: () => ALT_HANDLER_NOT_REFERENCED,
2569
- ALT_HANDLER_NOT_DEFINED: () => ALT_HANDLER_NOT_DEFINED
2570
- });
2571
2360
 
2572
2361
  // tools/core/html-tokenizer.js
2573
2362
  var CharCodes = {
@@ -5507,32 +5296,7 @@ class LintParseContext extends ParseContext {
5507
5296
  }
5508
5297
  }
5509
5298
 
5510
- // tools/core/test.js
5511
- var exports_test = {};
5512
- __export(exports_test, {
5513
- runTests: () => runTests
5514
- });
5515
-
5516
5299
  // tools/core/results.js
5517
- var exports_results = {};
5518
- __export(exports_results, {
5519
- TestResult: () => TestResult,
5520
- TestReport: () => TestReport,
5521
- RenderedSection: () => RenderedSection,
5522
- RenderedExample: () => RenderedExample,
5523
- RenderBatch: () => RenderBatch,
5524
- ModuleTestReport: () => ModuleTestReport,
5525
- ModuleInfo: () => ModuleInfo,
5526
- LintReport: () => LintReport,
5527
- LintFinding: () => LintFinding,
5528
- LintComponentResult: () => LintComponentResult,
5529
- ExampleIndex: () => ExampleIndex,
5530
- DescribeResult: () => DescribeResult,
5531
- ComponentSummary: () => ComponentSummary,
5532
- ComponentList: () => ComponentList,
5533
- ComponentDocs: () => ComponentDocs
5534
- });
5535
-
5536
5300
  class ModuleInfo {
5537
5301
  constructor({ path = null, present = new Set, counts = {}, warnings = [] }) {
5538
5302
  this.path = path;
@@ -5683,15 +5447,6 @@ class TestReport {
5683
5447
  }
5684
5448
 
5685
5449
  // tools/core/tests.js
5686
- var exports_tests = {};
5687
- __export(exports_tests, {
5688
- makeCollector: () => makeCollector,
5689
- TestIndex: () => TestIndex,
5690
- Test: () => Test,
5691
- ModuleTests: () => ModuleTests,
5692
- Describe: () => Describe
5693
- });
5694
-
5695
5450
  class Describe {
5696
5451
  constructor({ title, componentName = null, parent = null }) {
5697
5452
  this.title = title;
@@ -5918,10 +5673,6 @@ async function runTests({
5918
5673
  }
5919
5674
 
5920
5675
  // tools/core/test-console.js
5921
- var exports_test_console = {};
5922
- __export(exports_test_console, {
5923
- reportTestReportToConsole: () => reportTestReportToConsole
5924
- });
5925
5676
  var PASS = "color: #0a0; font-weight: bold";
5926
5677
  var FAIL = "color: #c00; font-weight: bold";
5927
5678
  var SKIP = "color: #888";
@@ -5977,11 +5728,6 @@ function reportTestReportToConsole(report) {
5977
5728
  }
5978
5729
 
5979
5730
  // tools/format/lint.js
5980
- var exports_lint = {};
5981
- __export(exports_lint, {
5982
- suggestionToMessage: () => suggestionToMessage,
5983
- lintIdToMessage: () => lintIdToMessage
5984
- });
5985
5731
  var UNSUPPORTED_EXPR_LABEL = {
5986
5732
  "legacy-template": "string template",
5987
5733
  ternary: "ternary expression",
@@ -6217,47 +5963,7 @@ function htmlActionPhrase(action, tag, parent) {
6217
5963
  }
6218
5964
  }
6219
5965
 
6220
- // extra.js
6221
- var exports_extra = {};
6222
- __export(exports_extra, {
6223
- tutuca: () => tutuca,
6224
- test: () => test,
6225
- macro: () => macro,
6226
- isOMap: () => isOrderedMap,
6227
- isIMap: () => isMap,
6228
- injectCss: () => injectCss,
6229
- html: () => html,
6230
- css: () => css,
6231
- component: () => component,
6232
- compileClassesToStyleText: () => compileClassesToStyleText,
6233
- compileClassesToStyle: () => compileClassesToStyle,
6234
- collectIterBindings: () => collectIterBindings,
6235
- check: () => check,
6236
- SEQ_INFO: () => SEQ_INFO,
6237
- ParseContext: () => ParseContext,
6238
- OMap: () => OrderedMap2,
6239
- KList: () => KList,
6240
- ISet: () => Set2,
6241
- IMap: () => Map2,
6242
- FIELD_CLASS: () => FIELD_CLASS
6243
- });
6244
-
6245
- // src/app.js
6246
- var exports_app = {};
6247
- __export(exports_app, {
6248
- injectCss: () => injectCss,
6249
- App: () => App
6250
- });
6251
-
6252
5966
  // src/components.js
6253
- var exports_components = {};
6254
- __export(exports_components, {
6255
- DynamicAlias: () => DynamicAlias,
6256
- Dynamic: () => Dynamic,
6257
- Components: () => Components,
6258
- ComponentStack: () => ComponentStack,
6259
- Component: () => Component
6260
- });
6261
5967
  class Components {
6262
5968
  constructor() {
6263
5969
  this.getComponentSymbol = Symbol("getComponent");
@@ -7186,34 +6892,9 @@ class DragInfo {
7186
6892
  }
7187
6893
 
7188
6894
  // extra/klist.js
7189
- var exports_klist = {};
7190
- __export(exports_klist, {
7191
- KList: () => KList,
7192
- FieldKList: () => FieldKList
7193
- });
7194
6895
  import { Map as IMap2, List as List2 } from "immutable";
7195
6896
 
7196
6897
  // src/oo.js
7197
- var exports_oo = {};
7198
- __export(exports_oo, {
7199
- getTypeName: () => getTypeName,
7200
- fieldsByTypeName: () => fieldsByTypeName,
7201
- extendProtoForKeyed: () => extendProtoForKeyed,
7202
- component: () => component,
7203
- classFromData: () => classFromData,
7204
- FieldString: () => FieldString,
7205
- FieldSet: () => FieldSet,
7206
- FieldOMap: () => FieldOMap,
7207
- FieldMap: () => FieldMap,
7208
- FieldList: () => FieldList,
7209
- FieldInt: () => FieldInt,
7210
- FieldFloat: () => FieldFloat,
7211
- FieldComp: () => FieldComp,
7212
- FieldBool: () => FieldBool,
7213
- FieldAny: () => FieldAny,
7214
- Field: () => Field,
7215
- FIELD_CLASS: () => FIELD_CLASS
7216
- });
7217
6898
  import { Map as IMap, Set as ISet, List, OrderedMap, Record } from "immutable";
7218
6899
  var BAD_VALUE2 = Symbol("BadValue");
7219
6900
  var nullCoercer = (v) => v;
@@ -7597,15 +7278,6 @@ function classFromData(name, { fields = {}, methods, statics }) {
7597
7278
  var component = (opts) => new Component(classFromData(opts.name, opts), opts);
7598
7279
 
7599
7280
  // src/renderer.js
7600
- var exports_renderer = {};
7601
- __export(exports_renderer, {
7602
- unpackLoopResult: () => unpackLoopResult,
7603
- normalizeRange: () => normalizeRange,
7604
- getSeqInfo: () => getSeqInfo,
7605
- SEQ_INFO: () => SEQ_INFO,
7606
- Renderer: () => Renderer,
7607
- DATASET_ATTRS: () => DATASET_ATTRS
7608
- });
7609
7281
  import { isIndexed, isKeyed } from "immutable";
7610
7282
 
7611
7283
  // src/cache.js
@@ -7924,48 +7596,62 @@ KList.prototype[SEQ_INFO] = (seq, visit) => {
7924
7596
  visit(k, seq.items.get(k), "data-sk");
7925
7597
  };
7926
7598
  // index.js
7927
- var exports_tutuca = {};
7928
- __export(exports_tutuca, {
7929
- tutuca: () => tutuca,
7930
- test: () => test,
7931
- macro: () => macro,
7932
- isOMap: () => isOrderedMap,
7933
- isIMap: () => isMap,
7934
- injectCss: () => injectCss,
7935
- html: () => html,
7936
- css: () => css,
7937
- component: () => component,
7938
- collectIterBindings: () => collectIterBindings,
7939
- check: () => check,
7940
- SEQ_INFO: () => SEQ_INFO,
7941
- ParseContext: () => ParseContext,
7942
- OMap: () => OrderedMap2,
7943
- ISet: () => Set2,
7944
- IMap: () => Map2,
7945
- FIELD_CLASS: () => FIELD_CLASS
7946
- });
7947
- __reExport(exports_tutuca, immutable);
7948
- import"immutable";
7949
7599
  import {
7950
- isMap,
7951
- isOrderedMap,
7600
+ Collection,
7601
+ List as List3,
7952
7602
  Map as Map2,
7953
7603
  OrderedMap as OrderedMap2,
7954
- Set as Set2
7604
+ OrderedSet,
7605
+ PairSorting,
7606
+ Range,
7607
+ Record as Record2,
7608
+ Repeat,
7609
+ Seq,
7610
+ Set as Set2,
7611
+ Stack as Stack2,
7612
+ fromJS,
7613
+ get,
7614
+ getIn,
7615
+ has,
7616
+ hasIn,
7617
+ hash,
7618
+ is as is2,
7619
+ isAssociative,
7620
+ isCollection,
7621
+ isImmutable,
7622
+ isIndexed as isIndexed2,
7623
+ isKeyed as isKeyed2,
7624
+ isList,
7625
+ isMap,
7626
+ isOrdered,
7627
+ isOrderedMap,
7628
+ isOrderedSet,
7629
+ isPlainObject,
7630
+ isRecord,
7631
+ isSeq,
7632
+ isSet,
7633
+ isStack,
7634
+ isValueObject,
7635
+ merge,
7636
+ mergeDeep,
7637
+ mergeDeepWith,
7638
+ mergeWith,
7639
+ remove,
7640
+ removeIn,
7641
+ set,
7642
+ setIn,
7643
+ update,
7644
+ updateIn,
7645
+ version,
7646
+ isMap as isMap2,
7647
+ isOrderedMap as isOrderedMap2,
7648
+ Map as Map3,
7649
+ OrderedMap as OrderedMap3,
7650
+ Set as Set3
7955
7651
  } from "immutable";
7956
7652
  var css = String.raw;
7957
7653
  var html = String.raw;
7958
7654
  var macro = (defaults, rawView) => new Macro(defaults, rawView);
7959
- function check(_app) {
7960
- return { error: 0, warn: 0, hint: 0, dummyCheck: true };
7961
- }
7962
- async function test(_opts) {
7963
- return null;
7964
- }
7965
- function collectIterBindings() {
7966
- console.warn("collectIterBindings is a no-op in the core tutuca build; use the tutuca-dev build for a functional implementation");
7967
- return [];
7968
- }
7969
7655
  function tutuca(nodeOrSelector) {
7970
7656
  const rootNode = typeof nodeOrSelector === "string" ? document.querySelector(nodeOrSelector) : nodeOrSelector;
7971
7657
  const comps = new Components;
@@ -7974,7 +7660,6 @@ function tutuca(nodeOrSelector) {
7974
7660
  }
7975
7661
 
7976
7662
  // extra.js
7977
- __reExport(exports_extra, exports_tutuca);
7978
7663
  async function compileClassesToStyle(app, compileClasses, styleId = "margaui-css") {
7979
7664
  const t1 = performance.now();
7980
7665
  const css2 = await compileClassesToStyleText(app, compileClasses);
@@ -7995,16 +7680,7 @@ async function compileClassesToStyleText(app, compileClasses, Ctx = ParseCtxClas
7995
7680
  }
7996
7681
  return await compileClasses(Array.from(classes));
7997
7682
  }
7998
-
7999
- // dev.js
8000
- __reExport(exports_dev, exports_extra);
8001
-
8002
7683
  // tools/core/docs.js
8003
- var exports_docs = {};
8004
- __export(exports_docs, {
8005
- getComponentsDocs: () => getComponentsDocs,
8006
- docComponents: () => docComponents
8007
- });
8008
7684
  function getSignature(name, fn) {
8009
7685
  const s = fn.toString();
8010
7686
  const m = s.match(/^(?:\w+|function\s*\w*)\s*\(([^)]*)\)/);
@@ -8175,10 +7851,6 @@ function docComponents(normalized, { name = null } = {}) {
8175
7851
  return new ComponentDocs({ items: getComponentsDocs(picked) });
8176
7852
  }
8177
7853
  // src/util/testing.js
8178
- var exports_testing = {};
8179
- __export(exports_testing, {
8180
- collectIterBindings: () => collectIterBindings2
8181
- });
8182
7854
  var filterAlwaysTrue2 = () => true;
8183
7855
  var nullLoopWith2 = (seq) => ({ iterData: { seq } });
8184
7856
  var plainArrayIter = (seq, visit, start, end) => {
@@ -8213,7 +7885,7 @@ function resolveAlter(Comp, name) {
8213
7885
  }
8214
7886
  return fn;
8215
7887
  }
8216
- function collectIterBindings2(Comp, compInstance, seq, opts = {}) {
7888
+ function collectIterBindings(Comp, compInstance, seq, opts = {}) {
8217
7889
  const whenFn = resolveAlter(Comp, opts.when) ?? filterAlwaysTrue2;
8218
7890
  const loopWithFn = resolveAlter(Comp, opts.loopWith) ?? nullLoopWith2;
8219
7891
  const enrichFn = resolveAlter(Comp, opts.enrichWith);
@@ -8233,12 +7905,12 @@ function collectIterBindings2(Comp, compInstance, seq, opts = {}) {
8233
7905
  }
8234
7906
 
8235
7907
  // dev.js
8236
- async function test3(opts = {}) {
7908
+ async function test2(opts = {}) {
8237
7909
  const report = await runTests({ expect, ...opts });
8238
7910
  reportTestReportToConsole(report);
8239
7911
  return report;
8240
7912
  }
8241
- function check2(app) {
7913
+ function check(app) {
8242
7914
  const counts = { error: 0, warn: 0, hint: 0 };
8243
7915
  for (const Comp of app.comps.byId.values()) {
8244
7916
  const shadowViews = {};
@@ -8299,27 +7971,61 @@ class LintClassCollectorCtx extends ParseCtxClassSetCollector {
8299
7971
  }
8300
7972
  }
8301
7973
  export {
7974
+ version,
7975
+ updateIn,
7976
+ update,
8302
7977
  tutuca,
8303
- test3 as test,
7978
+ test2 as test,
8304
7979
  suggestionToMessage,
7980
+ setIn,
7981
+ set,
8305
7982
  runTests,
8306
7983
  reportTestReportToConsole,
7984
+ removeIn,
7985
+ remove,
7986
+ mergeWith,
7987
+ mergeDeepWith,
7988
+ mergeDeep,
7989
+ merge,
8307
7990
  makeCollector,
8308
7991
  macro,
8309
7992
  lintIdToMessage,
8310
- isOrderedMap as isOMap,
8311
- isMap as isIMap,
7993
+ isValueObject,
7994
+ isStack,
7995
+ isSet,
7996
+ isSeq,
7997
+ isRecord,
7998
+ isPlainObject,
7999
+ isOrderedSet,
8000
+ isOrderedMap,
8001
+ isOrdered,
8002
+ isOrderedMap2 as isOMap,
8003
+ isMap,
8004
+ isList,
8005
+ isKeyed2 as isKeyed,
8006
+ isIndexed2 as isIndexed,
8007
+ isImmutable,
8008
+ isMap2 as isIMap,
8009
+ isCollection,
8010
+ isAssociative,
8011
+ is2 as is,
8312
8012
  injectCss,
8313
8013
  html,
8014
+ hash,
8015
+ hasIn,
8016
+ has,
8017
+ getIn,
8314
8018
  getComponentsDocs,
8019
+ get,
8020
+ fromJS,
8315
8021
  docComponents,
8316
8022
  css,
8317
8023
  component,
8318
8024
  compileClassesToStyleText,
8319
8025
  compileClassesToStyle,
8320
- collectIterBindings2 as collectIterBindings,
8026
+ collectIterBindings,
8321
8027
  checkComponent,
8322
- check2 as check,
8028
+ check,
8323
8029
  UNSUPPORTED_EXPR_SYNTAX,
8324
8030
  UNKNOWN_X_OP,
8325
8031
  UNKNOWN_X_ATTR,
@@ -8334,22 +8040,33 @@ export {
8334
8040
  TestReport,
8335
8041
  TestIndex,
8336
8042
  Test,
8043
+ Stack2 as Stack,
8044
+ Set2 as Set,
8045
+ Seq,
8337
8046
  SEQ_INFO,
8047
+ Repeat,
8338
8048
  RenderedSection,
8339
8049
  RenderedExample,
8340
8050
  RenderBatch,
8051
+ Record2 as Record,
8052
+ Range,
8341
8053
  RENDER_IT_OUTSIDE_OF_LOOP,
8342
8054
  REDUNDANT_TEMPLATE_STRING,
8343
8055
  ParseContext,
8056
+ PairSorting,
8344
8057
  PLACEHOLDERLESS_TEMPLATE_STRING,
8345
- OrderedMap2 as OMap,
8058
+ OrderedSet,
8059
+ OrderedMap2 as OrderedMap,
8060
+ OrderedMap3 as OMap,
8346
8061
  ModuleTests,
8347
8062
  ModuleTestReport,
8348
8063
  ModuleInfo,
8064
+ Map2 as Map,
8349
8065
  METHOD_VAL_NOT_DEFINED,
8350
8066
  METHOD_VAL_IS_FIELD,
8351
8067
  MAYBE_DROP_AT_PREFIX,
8352
8068
  MAYBE_ADD_AT_PREFIX,
8069
+ List3 as List,
8353
8070
  LintReport,
8354
8071
  LintParseContext,
8355
8072
  LintFinding,
@@ -8357,13 +8074,13 @@ export {
8357
8074
  LintComponentResult,
8358
8075
  LintClassCollectorCtx,
8359
8076
  KList,
8360
- Set2 as ISet,
8077
+ Set3 as ISet,
8361
8078
  INPUT_HANDLER_NOT_REFERENCED,
8362
8079
  INPUT_HANDLER_NOT_IMPLEMENTED,
8363
8080
  INPUT_HANDLER_METHOD_NOT_IMPLEMENTED,
8364
8081
  INPUT_HANDLER_METHOD_FOR_INPUT_HANDLER,
8365
8082
  INPUT_HANDLER_FOR_INPUT_HANDLER_METHOD,
8366
- Map2 as IMap,
8083
+ Map3 as IMap,
8367
8084
  IF_NO_BRANCH_SET,
8368
8085
  FIELD_VAL_NOT_DEFINED,
8369
8086
  FIELD_VAL_IS_METHOD,
@@ -8377,6 +8094,7 @@ export {
8377
8094
  ComponentSummary,
8378
8095
  ComponentList,
8379
8096
  ComponentDocs,
8097
+ Collection,
8380
8098
  COMP_FIELD_BAD_SHAPE,
8381
8099
  BAD_VALUE,
8382
8100
  ALT_HANDLER_NOT_REFERENCED,
@@ -1,114 +1,3 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropNames = Object.getOwnPropertyNames;
3
- var __hasOwnProp = Object.prototype.hasOwnProperty;
4
- function __accessProp(key) {
5
- return this[key];
6
- }
7
- var __reExport = (target, mod, secondTarget) => {
8
- var keys = __getOwnPropNames(mod);
9
- for (let key of keys)
10
- if (!__hasOwnProp.call(target, key) && key !== "default")
11
- __defProp(target, key, {
12
- get: __accessProp.bind(mod, key),
13
- enumerable: true
14
- });
15
- if (secondTarget) {
16
- for (let key of keys)
17
- if (!__hasOwnProp.call(secondTarget, key) && key !== "default")
18
- __defProp(secondTarget, key, {
19
- get: __accessProp.bind(mod, key),
20
- enumerable: true
21
- });
22
- return secondTarget;
23
- }
24
- };
25
- var __returnValue = (v) => v;
26
- function __exportSetter(name, newValue) {
27
- this[name] = __returnValue.bind(null, newValue);
28
- }
29
- var __export = (target, all) => {
30
- for (var name in all)
31
- __defProp(target, name, {
32
- get: all[name],
33
- enumerable: true,
34
- configurable: true,
35
- set: __exportSetter.bind(all, name)
36
- });
37
- };
38
-
39
- // extra.js
40
- var exports_extra = {};
41
- __export(exports_extra, {
42
- tutuca: () => tutuca,
43
- test: () => test,
44
- macro: () => macro,
45
- isOMap: () => isOrderedMap,
46
- isIMap: () => isMap,
47
- injectCss: () => injectCss,
48
- html: () => html,
49
- css: () => css,
50
- component: () => component,
51
- compileClassesToStyleText: () => compileClassesToStyleText,
52
- compileClassesToStyle: () => compileClassesToStyle,
53
- collectIterBindings: () => collectIterBindings,
54
- check: () => check,
55
- SEQ_INFO: () => SEQ_INFO,
56
- ParseContext: () => ParseContext,
57
- OMap: () => OrderedMap2,
58
- KList: () => KList,
59
- ISet: () => Set2,
60
- IMap: () => Map2,
61
- FIELD_CLASS: () => FIELD_CLASS
62
- });
63
-
64
- // src/app.js
65
- var exports_app = {};
66
- __export(exports_app, {
67
- injectCss: () => injectCss,
68
- App: () => App
69
- });
70
-
71
- // src/components.js
72
- var exports_components = {};
73
- __export(exports_components, {
74
- DynamicAlias: () => DynamicAlias,
75
- Dynamic: () => Dynamic,
76
- Components: () => Components,
77
- ComponentStack: () => ComponentStack,
78
- Component: () => Component
79
- });
80
-
81
- // src/anode.js
82
- var exports_anode = {};
83
- __export(exports_anode, {
84
- compileModifiers: () => compileModifiers,
85
- WrapperNode: () => WrapperNode,
86
- View: () => View,
87
- TextNode: () => TextNode,
88
- SlotNode: () => SlotNode,
89
- ShowNode: () => ShowNode,
90
- ScopeNode: () => ScopeNode,
91
- RenderTextNode: () => RenderTextNode,
92
- RenderOnceNode: () => RenderOnceNode,
93
- RenderNode: () => RenderNode,
94
- RenderItNode: () => RenderItNode,
95
- RenderEachNode: () => RenderEachNode,
96
- PushViewNameNode: () => PushViewNameNode,
97
- ParseContext: () => ParseContext,
98
- NodeEvents: () => NodeEvents,
99
- MacroNode: () => MacroNode,
100
- Macro: () => Macro,
101
- MOD_WRAPPERS_BY_EVENT: () => MOD_WRAPPERS_BY_EVENT,
102
- IterInfo: () => IterInfo,
103
- HideNode: () => HideNode,
104
- FragmentNode: () => FragmentNode,
105
- EachNode: () => EachNode,
106
- DomNode: () => DomNode,
107
- CommentNode: () => CommentNode,
108
- BaseNode: () => BaseNode,
109
- ANode: () => ANode
110
- });
111
-
112
1
  // src/value.js
113
2
  import { is } from "immutable";
114
3
 
@@ -3338,11 +3227,6 @@ class DragInfo {
3338
3227
  }
3339
3228
 
3340
3229
  // src/util/parsectx.js
3341
- var exports_parsectx = {};
3342
- __export(exports_parsectx, {
3343
- collectAppClassesInSet: () => collectAppClassesInSet,
3344
- ParseCtxClassSetCollector: () => ParseCtxClassSetCollector
3345
- });
3346
3230
  class ParseCtxClassSetCollector extends ParseContext {
3347
3231
  constructor(...args) {
3348
3232
  super(...args);
@@ -3398,48 +3282,11 @@ class ParseCtxClassSetCollector extends ParseContext {
3398
3282
  return false;
3399
3283
  }
3400
3284
  }
3401
- function collectAppClassesInSet(app) {
3402
- const classes = new Set;
3403
- for (const Comp of app.comps.byId.values()) {
3404
- for (const key in Comp.views) {
3405
- const view = Comp.views[key];
3406
- for (const name of view.ctx.classes) {
3407
- classes.add(name);
3408
- }
3409
- }
3410
- }
3411
- return classes;
3412
- }
3413
3285
 
3414
3286
  // extra/klist.js
3415
- var exports_klist = {};
3416
- __export(exports_klist, {
3417
- KList: () => KList,
3418
- FieldKList: () => FieldKList
3419
- });
3420
3287
  import { Map as IMap2, List as List2 } from "immutable";
3421
3288
 
3422
3289
  // src/oo.js
3423
- var exports_oo = {};
3424
- __export(exports_oo, {
3425
- getTypeName: () => getTypeName,
3426
- fieldsByTypeName: () => fieldsByTypeName,
3427
- extendProtoForKeyed: () => extendProtoForKeyed,
3428
- component: () => component,
3429
- classFromData: () => classFromData,
3430
- FieldString: () => FieldString,
3431
- FieldSet: () => FieldSet,
3432
- FieldOMap: () => FieldOMap,
3433
- FieldMap: () => FieldMap,
3434
- FieldList: () => FieldList,
3435
- FieldInt: () => FieldInt,
3436
- FieldFloat: () => FieldFloat,
3437
- FieldComp: () => FieldComp,
3438
- FieldBool: () => FieldBool,
3439
- FieldAny: () => FieldAny,
3440
- Field: () => Field,
3441
- FIELD_CLASS: () => FIELD_CLASS
3442
- });
3443
3290
  import { Map as IMap, Set as ISet, List, OrderedMap, Record } from "immutable";
3444
3291
  var BAD_VALUE = Symbol("BadValue");
3445
3292
  var nullCoercer = (v) => v;
@@ -3823,15 +3670,6 @@ function classFromData(name, { fields = {}, methods, statics }) {
3823
3670
  var component = (opts) => new Component(classFromData(opts.name, opts), opts);
3824
3671
 
3825
3672
  // src/renderer.js
3826
- var exports_renderer = {};
3827
- __export(exports_renderer, {
3828
- unpackLoopResult: () => unpackLoopResult,
3829
- normalizeRange: () => normalizeRange,
3830
- getSeqInfo: () => getSeqInfo,
3831
- SEQ_INFO: () => SEQ_INFO,
3832
- Renderer: () => Renderer,
3833
- DATASET_ATTRS: () => DATASET_ATTRS
3834
- });
3835
3673
  import { isIndexed, isKeyed } from "immutable";
3836
3674
 
3837
3675
  // src/cache.js
@@ -4150,34 +3988,58 @@ KList.prototype[SEQ_INFO] = (seq, visit) => {
4150
3988
  visit(k, seq.items.get(k), "data-sk");
4151
3989
  };
4152
3990
  // index.js
4153
- var exports_tutuca = {};
4154
- __export(exports_tutuca, {
4155
- tutuca: () => tutuca,
4156
- test: () => test,
4157
- macro: () => macro,
4158
- isOMap: () => isOrderedMap,
4159
- isIMap: () => isMap,
4160
- injectCss: () => injectCss,
4161
- html: () => html,
4162
- css: () => css,
4163
- component: () => component,
4164
- collectIterBindings: () => collectIterBindings,
4165
- check: () => check,
4166
- SEQ_INFO: () => SEQ_INFO,
4167
- ParseContext: () => ParseContext,
4168
- OMap: () => OrderedMap2,
4169
- ISet: () => Set2,
4170
- IMap: () => Map2,
4171
- FIELD_CLASS: () => FIELD_CLASS
4172
- });
4173
- __reExport(exports_tutuca, immutable);
4174
- import"immutable";
4175
3991
  import {
4176
- isMap,
4177
- isOrderedMap,
3992
+ Collection,
3993
+ List as List3,
4178
3994
  Map as Map2,
4179
3995
  OrderedMap as OrderedMap2,
4180
- Set as Set2
3996
+ OrderedSet,
3997
+ PairSorting,
3998
+ Range,
3999
+ Record as Record2,
4000
+ Repeat,
4001
+ Seq,
4002
+ Set as Set2,
4003
+ Stack as Stack2,
4004
+ fromJS,
4005
+ get,
4006
+ getIn,
4007
+ has,
4008
+ hasIn,
4009
+ hash,
4010
+ is as is2,
4011
+ isAssociative,
4012
+ isCollection,
4013
+ isImmutable,
4014
+ isIndexed as isIndexed2,
4015
+ isKeyed as isKeyed2,
4016
+ isList,
4017
+ isMap,
4018
+ isOrdered,
4019
+ isOrderedMap,
4020
+ isOrderedSet,
4021
+ isPlainObject,
4022
+ isRecord,
4023
+ isSeq,
4024
+ isSet,
4025
+ isStack,
4026
+ isValueObject,
4027
+ merge,
4028
+ mergeDeep,
4029
+ mergeDeepWith,
4030
+ mergeWith,
4031
+ remove,
4032
+ removeIn,
4033
+ set,
4034
+ setIn,
4035
+ update,
4036
+ updateIn,
4037
+ version,
4038
+ isMap as isMap2,
4039
+ isOrderedMap as isOrderedMap2,
4040
+ Map as Map3,
4041
+ OrderedMap as OrderedMap3,
4042
+ Set as Set3
4181
4043
  } from "immutable";
4182
4044
  var css = String.raw;
4183
4045
  var html = String.raw;
@@ -4200,7 +4062,6 @@ function tutuca(nodeOrSelector) {
4200
4062
  }
4201
4063
 
4202
4064
  // extra.js
4203
- __reExport(exports_extra, exports_tutuca);
4204
4065
  async function compileClassesToStyle(app, compileClasses, styleId = "margaui-css") {
4205
4066
  const t1 = performance.now();
4206
4067
  const css2 = await compileClassesToStyleText(app, compileClasses);
@@ -4222,24 +4083,70 @@ async function compileClassesToStyleText(app, compileClasses, Ctx = ParseCtxClas
4222
4083
  return await compileClasses(Array.from(classes));
4223
4084
  }
4224
4085
  export {
4086
+ version,
4087
+ updateIn,
4088
+ update,
4225
4089
  tutuca,
4226
4090
  test,
4091
+ setIn,
4092
+ set,
4093
+ removeIn,
4094
+ remove,
4095
+ mergeWith,
4096
+ mergeDeepWith,
4097
+ mergeDeep,
4098
+ merge,
4227
4099
  macro,
4228
- isOrderedMap as isOMap,
4229
- isMap as isIMap,
4100
+ isValueObject,
4101
+ isStack,
4102
+ isSet,
4103
+ isSeq,
4104
+ isRecord,
4105
+ isPlainObject,
4106
+ isOrderedSet,
4107
+ isOrderedMap,
4108
+ isOrdered,
4109
+ isOrderedMap2 as isOMap,
4110
+ isMap,
4111
+ isList,
4112
+ isKeyed2 as isKeyed,
4113
+ isIndexed2 as isIndexed,
4114
+ isImmutable,
4115
+ isMap2 as isIMap,
4116
+ isCollection,
4117
+ isAssociative,
4118
+ is2 as is,
4230
4119
  injectCss,
4231
4120
  html,
4121
+ hash,
4122
+ hasIn,
4123
+ has,
4124
+ getIn,
4125
+ get,
4126
+ fromJS,
4232
4127
  css,
4233
4128
  component,
4234
4129
  compileClassesToStyleText,
4235
4130
  compileClassesToStyle,
4236
4131
  collectIterBindings,
4237
4132
  check,
4133
+ Stack2 as Stack,
4134
+ Set2 as Set,
4135
+ Seq,
4238
4136
  SEQ_INFO,
4137
+ Repeat,
4138
+ Record2 as Record,
4139
+ Range,
4239
4140
  ParseContext,
4240
- OrderedMap2 as OMap,
4141
+ PairSorting,
4142
+ OrderedSet,
4143
+ OrderedMap2 as OrderedMap,
4144
+ OrderedMap3 as OMap,
4145
+ Map2 as Map,
4146
+ List3 as List,
4241
4147
  KList,
4242
- Set2 as ISet,
4243
- Map2 as IMap,
4244
- FIELD_CLASS
4148
+ Set3 as ISet,
4149
+ Map3 as IMap,
4150
+ FIELD_CLASS,
4151
+ Collection
4245
4152
  };
@@ -3450,13 +3450,58 @@ var unkIter = () => {};
3450
3450
  var SEQ_INFO = Symbol.for("tutuca.seqInfo");
3451
3451
 
3452
3452
  // index.js
3453
- export * from "immutable";
3454
3453
  import {
3455
- isMap,
3456
- isOrderedMap,
3454
+ Collection,
3455
+ List as List2,
3457
3456
  Map as Map2,
3458
3457
  OrderedMap as OrderedMap2,
3459
- Set as Set2
3458
+ OrderedSet,
3459
+ PairSorting,
3460
+ Range,
3461
+ Record as Record2,
3462
+ Repeat,
3463
+ Seq,
3464
+ Set as Set2,
3465
+ Stack as Stack2,
3466
+ fromJS,
3467
+ get,
3468
+ getIn,
3469
+ has,
3470
+ hasIn,
3471
+ hash,
3472
+ is as is2,
3473
+ isAssociative,
3474
+ isCollection,
3475
+ isImmutable,
3476
+ isIndexed as isIndexed2,
3477
+ isKeyed as isKeyed2,
3478
+ isList,
3479
+ isMap,
3480
+ isOrdered,
3481
+ isOrderedMap,
3482
+ isOrderedSet,
3483
+ isPlainObject,
3484
+ isRecord,
3485
+ isSeq,
3486
+ isSet,
3487
+ isStack,
3488
+ isValueObject,
3489
+ merge,
3490
+ mergeDeep,
3491
+ mergeDeepWith,
3492
+ mergeWith,
3493
+ remove,
3494
+ removeIn,
3495
+ set,
3496
+ setIn,
3497
+ update,
3498
+ updateIn,
3499
+ version,
3500
+ isMap as isMap2,
3501
+ isOrderedMap as isOrderedMap2,
3502
+ Map as Map3,
3503
+ OrderedMap as OrderedMap3,
3504
+ Set as Set3
3460
3505
  } from "immutable";
3461
3506
 
3462
3507
  // src/oo.js
@@ -3863,21 +3908,67 @@ function tutuca(nodeOrSelector) {
3863
3908
  return new App(rootNode, comps, renderer, ParseContext);
3864
3909
  }
3865
3910
  export {
3911
+ version,
3912
+ updateIn,
3913
+ update,
3866
3914
  tutuca,
3867
3915
  test,
3916
+ setIn,
3917
+ set,
3918
+ removeIn,
3919
+ remove,
3920
+ mergeWith,
3921
+ mergeDeepWith,
3922
+ mergeDeep,
3923
+ merge,
3868
3924
  macro,
3869
- isOrderedMap as isOMap,
3870
- isMap as isIMap,
3925
+ isValueObject,
3926
+ isStack,
3927
+ isSet,
3928
+ isSeq,
3929
+ isRecord,
3930
+ isPlainObject,
3931
+ isOrderedSet,
3932
+ isOrderedMap,
3933
+ isOrdered,
3934
+ isOrderedMap2 as isOMap,
3935
+ isMap,
3936
+ isList,
3937
+ isKeyed2 as isKeyed,
3938
+ isIndexed2 as isIndexed,
3939
+ isImmutable,
3940
+ isMap2 as isIMap,
3941
+ isCollection,
3942
+ isAssociative,
3943
+ is2 as is,
3871
3944
  injectCss,
3872
3945
  html,
3946
+ hash,
3947
+ hasIn,
3948
+ has,
3949
+ getIn,
3950
+ get,
3951
+ fromJS,
3873
3952
  css,
3874
3953
  component,
3875
3954
  collectIterBindings,
3876
3955
  check,
3956
+ Stack2 as Stack,
3957
+ Set2 as Set,
3958
+ Seq,
3877
3959
  SEQ_INFO,
3960
+ Repeat,
3961
+ Record2 as Record,
3962
+ Range,
3878
3963
  ParseContext,
3879
- OrderedMap2 as OMap,
3880
- Set2 as ISet,
3881
- Map2 as IMap,
3882
- FIELD_CLASS
3964
+ PairSorting,
3965
+ OrderedSet,
3966
+ OrderedMap2 as OrderedMap,
3967
+ OrderedMap3 as OMap,
3968
+ Map2 as Map,
3969
+ List2 as List,
3970
+ Set3 as ISet,
3971
+ Map3 as IMap,
3972
+ FIELD_CLASS,
3973
+ Collection
3883
3974
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tutuca",
3
- "version": "0.9.72",
3
+ "version": "0.9.73",
4
4
  "type": "module",
5
5
  "description": "Zero-dependency SPA framework with immutable state and virtual DOM",
6
6
  "main": "./dist/tutuca.js",
@@ -25,7 +25,8 @@
25
25
  "dist": "bun scripts/dist.js",
26
26
  "dist-ext": "bun scripts/dist-ext.js",
27
27
  "dist-immutable": "bun scripts/dist-immutable.js",
28
- "dist-all": "bun run dist-immutable && bun run dist && bun run dist-ext",
28
+ "dist-all": "bun run dist-immutable && bun run dist && bun run dist-ext && bun run smoke",
29
+ "smoke": "node scripts/smoke.js",
29
30
  "release": "bun run dist-all && bun run build-skill && npm publish --access public",
30
31
  "release-dry": "bun run dist-all && bun run build-skill && npm publish --dry-run",
31
32
  "build-skill": "bun scripts/build-skill.js",
@@ -3450,13 +3450,58 @@ var unkIter = () => {};
3450
3450
  var SEQ_INFO = Symbol.for("tutuca.seqInfo");
3451
3451
 
3452
3452
  // index.js
3453
- export * from "immutable";
3454
3453
  import {
3455
- isMap,
3456
- isOrderedMap,
3454
+ Collection,
3455
+ List as List2,
3457
3456
  Map as Map2,
3458
3457
  OrderedMap as OrderedMap2,
3459
- Set as Set2
3458
+ OrderedSet,
3459
+ PairSorting,
3460
+ Range,
3461
+ Record as Record2,
3462
+ Repeat,
3463
+ Seq,
3464
+ Set as Set2,
3465
+ Stack as Stack2,
3466
+ fromJS,
3467
+ get,
3468
+ getIn,
3469
+ has,
3470
+ hasIn,
3471
+ hash,
3472
+ is as is2,
3473
+ isAssociative,
3474
+ isCollection,
3475
+ isImmutable,
3476
+ isIndexed as isIndexed2,
3477
+ isKeyed as isKeyed2,
3478
+ isList,
3479
+ isMap,
3480
+ isOrdered,
3481
+ isOrderedMap,
3482
+ isOrderedSet,
3483
+ isPlainObject,
3484
+ isRecord,
3485
+ isSeq,
3486
+ isSet,
3487
+ isStack,
3488
+ isValueObject,
3489
+ merge,
3490
+ mergeDeep,
3491
+ mergeDeepWith,
3492
+ mergeWith,
3493
+ remove,
3494
+ removeIn,
3495
+ set,
3496
+ setIn,
3497
+ update,
3498
+ updateIn,
3499
+ version,
3500
+ isMap as isMap2,
3501
+ isOrderedMap as isOrderedMap2,
3502
+ Map as Map3,
3503
+ OrderedMap as OrderedMap3,
3504
+ Set as Set3
3460
3505
  } from "immutable";
3461
3506
 
3462
3507
  // src/oo.js
@@ -3863,21 +3908,67 @@ function tutuca(nodeOrSelector) {
3863
3908
  return new App(rootNode, comps, renderer, ParseContext);
3864
3909
  }
3865
3910
  export {
3911
+ version,
3912
+ updateIn,
3913
+ update,
3866
3914
  tutuca,
3867
3915
  test,
3916
+ setIn,
3917
+ set,
3918
+ removeIn,
3919
+ remove,
3920
+ mergeWith,
3921
+ mergeDeepWith,
3922
+ mergeDeep,
3923
+ merge,
3868
3924
  macro,
3869
- isOrderedMap as isOMap,
3870
- isMap as isIMap,
3925
+ isValueObject,
3926
+ isStack,
3927
+ isSet,
3928
+ isSeq,
3929
+ isRecord,
3930
+ isPlainObject,
3931
+ isOrderedSet,
3932
+ isOrderedMap,
3933
+ isOrdered,
3934
+ isOrderedMap2 as isOMap,
3935
+ isMap,
3936
+ isList,
3937
+ isKeyed2 as isKeyed,
3938
+ isIndexed2 as isIndexed,
3939
+ isImmutable,
3940
+ isMap2 as isIMap,
3941
+ isCollection,
3942
+ isAssociative,
3943
+ is2 as is,
3871
3944
  injectCss,
3872
3945
  html,
3946
+ hash,
3947
+ hasIn,
3948
+ has,
3949
+ getIn,
3950
+ get,
3951
+ fromJS,
3873
3952
  css,
3874
3953
  component,
3875
3954
  collectIterBindings,
3876
3955
  check,
3956
+ Stack2 as Stack,
3957
+ Set2 as Set,
3958
+ Seq,
3877
3959
  SEQ_INFO,
3960
+ Repeat,
3961
+ Record2 as Record,
3962
+ Range,
3878
3963
  ParseContext,
3879
- OrderedMap2 as OMap,
3880
- Set2 as ISet,
3881
- Map2 as IMap,
3882
- FIELD_CLASS
3964
+ PairSorting,
3965
+ OrderedSet,
3966
+ OrderedMap2 as OrderedMap,
3967
+ OrderedMap3 as OMap,
3968
+ Map2 as Map,
3969
+ List2 as List,
3970
+ Set3 as ISet,
3971
+ Map3 as IMap,
3972
+ FIELD_CLASS,
3973
+ Collection
3883
3974
  };