@everyonesoftware/common 7.0.0 → 9.0.0

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.
@@ -95,6 +95,7 @@ __export(sources_exports, {
95
95
  MapIterator: () => MapIterator,
96
96
  MutableCondition: () => MutableCondition,
97
97
  MutableHttpHeaders: () => MutableHttpHeaders,
98
+ MutableIndexable: () => MutableIndexable,
98
99
  MutableMap: () => MutableMap,
99
100
  Network: () => Network,
100
101
  Node: () => Node,
@@ -2104,6 +2105,97 @@ var JavascriptArrayList = class _JavascriptArrayList {
2104
2105
  }
2105
2106
  };
2106
2107
 
2108
+ // sources/MutableIndexable.ts
2109
+ var MutableIndexable = class _MutableIndexable {
2110
+ static create(values) {
2111
+ return List.create(values);
2112
+ }
2113
+ toArray() {
2114
+ return _MutableIndexable.toArray(this);
2115
+ }
2116
+ static toArray(indexable) {
2117
+ return Indexable.toArray(indexable);
2118
+ }
2119
+ any() {
2120
+ return _MutableIndexable.any(this);
2121
+ }
2122
+ static any(indexable) {
2123
+ return Indexable.any(indexable);
2124
+ }
2125
+ getCount() {
2126
+ return _MutableIndexable.getCount(this);
2127
+ }
2128
+ static getCount(indexable) {
2129
+ return Indexable.getCount(indexable);
2130
+ }
2131
+ equals(right, equalFunctions) {
2132
+ return _MutableIndexable.equals(this, right, equalFunctions);
2133
+ }
2134
+ static equals(left, right, equalFunctions) {
2135
+ return Indexable.equals(left, right, equalFunctions);
2136
+ }
2137
+ toString(toStringFunctions) {
2138
+ return _MutableIndexable.toString(this, toStringFunctions);
2139
+ }
2140
+ static toString(indexable, toStringFunctions) {
2141
+ return Indexable.toString(indexable, toStringFunctions);
2142
+ }
2143
+ concatenate(...toConcatenate) {
2144
+ return _MutableIndexable.concatenate(this, ...toConcatenate);
2145
+ }
2146
+ static concatenate(indexable, ...toConcatenate) {
2147
+ return Indexable.concatenate(indexable, ...toConcatenate);
2148
+ }
2149
+ map(mapping) {
2150
+ return _MutableIndexable.map(this, mapping);
2151
+ }
2152
+ static map(indexable, mapping) {
2153
+ return Indexable.map(indexable, mapping);
2154
+ }
2155
+ flatMap(mapping) {
2156
+ return _MutableIndexable.flatMap(this, mapping);
2157
+ }
2158
+ static flatMap(indexable, mapping) {
2159
+ return Indexable.flatMap(indexable, mapping);
2160
+ }
2161
+ where(condition) {
2162
+ return _MutableIndexable.where(this, condition);
2163
+ }
2164
+ static where(indexable, condition) {
2165
+ return Indexable.where(indexable, condition);
2166
+ }
2167
+ instanceOf(typeOrTypeCheck) {
2168
+ return _MutableIndexable.instanceOf(this, typeOrTypeCheck);
2169
+ }
2170
+ static instanceOf(indexable, typeOrTypeCheck) {
2171
+ return Indexable.instanceOf(indexable, typeOrTypeCheck);
2172
+ }
2173
+ first(condition) {
2174
+ return _MutableIndexable.first(this, condition);
2175
+ }
2176
+ static first(indexable, condition) {
2177
+ return Indexable.first(indexable, condition);
2178
+ }
2179
+ last(condition) {
2180
+ return _MutableIndexable.last(this, condition);
2181
+ }
2182
+ static last(indexable, condition) {
2183
+ return Indexable.last(indexable, condition);
2184
+ }
2185
+ [Symbol.iterator]() {
2186
+ return Indexable[Symbol.iterator](this);
2187
+ }
2188
+ static [Symbol.iterator](indexable) {
2189
+ return Iterable[Symbol.iterator](indexable);
2190
+ }
2191
+ contains(value, equalFunctions) {
2192
+ return _MutableIndexable.contains(this, value, equalFunctions);
2193
+ }
2194
+ static contains(indexable, value, equalFunctions) {
2195
+ return Indexable.contains(indexable, value, equalFunctions);
2196
+ }
2197
+ };
2198
+
2107
2199
  // sources/javascript.ts
2108
2200
  var JavascriptMap = Map;
2109
2201
  var JavascriptSet = Set;
@@ -2954,73 +3046,73 @@ var List = class _List {
2954
3046
  return _List.toArray(this);
2955
3047
  }
2956
3048
  static toArray(list2) {
2957
- return Indexable.toArray(list2);
3049
+ return MutableIndexable.toArray(list2);
2958
3050
  }
2959
3051
  any() {
2960
3052
  return _List.any(this);
2961
3053
  }
2962
3054
  static any(list2) {
2963
- return Indexable.any(list2);
3055
+ return MutableIndexable.any(list2);
2964
3056
  }
2965
3057
  getCount() {
2966
3058
  return _List.getCount(this);
2967
3059
  }
2968
3060
  static getCount(list2) {
2969
- return Indexable.getCount(list2);
3061
+ return MutableIndexable.getCount(list2);
2970
3062
  }
2971
3063
  equals(right, equalFunctions) {
2972
3064
  return _List.equals(this, right, equalFunctions);
2973
3065
  }
2974
3066
  static equals(left, right, equalFunctions) {
2975
- return Indexable.equals(left, right, equalFunctions);
3067
+ return MutableIndexable.equals(left, right, equalFunctions);
2976
3068
  }
2977
3069
  toString(toStringFunctions) {
2978
3070
  return _List.toString(this, toStringFunctions);
2979
3071
  }
2980
3072
  static toString(list2, toStringFunctions) {
2981
- return Indexable.toString(list2, toStringFunctions);
3073
+ return MutableIndexable.toString(list2, toStringFunctions);
2982
3074
  }
2983
3075
  concatenate(...toConcatenate) {
2984
3076
  return _List.concatenate(this, ...toConcatenate);
2985
3077
  }
2986
3078
  static concatenate(list2, ...toConcatenate) {
2987
- return Indexable.concatenate(list2, ...toConcatenate);
3079
+ return MutableIndexable.concatenate(list2, ...toConcatenate);
2988
3080
  }
2989
3081
  map(mapping) {
2990
3082
  return _List.map(this, mapping);
2991
3083
  }
2992
3084
  static map(list2, mapping) {
2993
- return Indexable.map(list2, mapping);
3085
+ return MutableIndexable.map(list2, mapping);
2994
3086
  }
2995
3087
  flatMap(mapping) {
2996
3088
  return _List.flatMap(this, mapping);
2997
3089
  }
2998
3090
  static flatMap(list2, mapping) {
2999
- return Indexable.flatMap(list2, mapping);
3091
+ return MutableIndexable.flatMap(list2, mapping);
3000
3092
  }
3001
3093
  where(condition) {
3002
3094
  return _List.where(this, condition);
3003
3095
  }
3004
3096
  static where(list2, condition) {
3005
- return Indexable.where(list2, condition);
3097
+ return MutableIndexable.where(list2, condition);
3006
3098
  }
3007
3099
  instanceOf(typeOrTypeCheck) {
3008
3100
  return _List.instanceOf(this, typeOrTypeCheck);
3009
3101
  }
3010
3102
  static instanceOf(list2, typeOrTypeCheck) {
3011
- return Indexable.instanceOf(list2, typeOrTypeCheck);
3103
+ return MutableIndexable.instanceOf(list2, typeOrTypeCheck);
3012
3104
  }
3013
3105
  first(condition) {
3014
3106
  return _List.first(this, condition);
3015
3107
  }
3016
3108
  static first(list2, condition) {
3017
- return Indexable.first(list2, condition);
3109
+ return MutableIndexable.first(list2, condition);
3018
3110
  }
3019
3111
  last(condition) {
3020
3112
  return _List.last(this, condition);
3021
3113
  }
3022
3114
  static last(list2, condition) {
3023
- return Indexable.last(list2, condition);
3115
+ return MutableIndexable.last(list2, condition);
3024
3116
  }
3025
3117
  [Symbol.iterator]() {
3026
3118
  return _List[Symbol.iterator](this);
@@ -3032,7 +3124,7 @@ var List = class _List {
3032
3124
  return _List.contains(this, value, equalFunctions);
3033
3125
  }
3034
3126
  static contains(list2, value, equalFunctions) {
3035
- return Indexable.contains(list2, value, equalFunctions);
3127
+ return MutableIndexable.contains(list2, value, equalFunctions);
3036
3128
  }
3037
3129
  };
3038
3130
 
@@ -9271,6 +9363,7 @@ var WonderlandTrailClient = class _WonderlandTrailClient {
9271
9363
  MapIterator,
9272
9364
  MutableCondition,
9273
9365
  MutableHttpHeaders,
9366
+ MutableIndexable,
9274
9367
  MutableMap,
9275
9368
  Network,
9276
9369
  Node,