@ibiz-template/vue3-components 0.4.3 → 0.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/dist/chart-ImL2qyp9.js +0 -1
  2. package/dist/ibiz-markdown-editor-BQsiQfa2.js +0 -1
  3. package/dist/index-UNZ1dtt_.js +0 -1
  4. package/dist/index-Ul84JXar.js +0 -1
  5. package/dist/index-zzHHP33g.js +13 -0
  6. package/dist/index.min.css +1 -1
  7. package/dist/index.system.min.js +1 -2
  8. package/dist/map-chart-7nfIdU3w.js +0 -1
  9. package/dist/wang-editor-f4440Xvw.js +0 -1
  10. package/dist/{xlsx-util-Mxa6HuaG.js → xlsx-util-FO177Hj_.js} +1 -2
  11. package/es/common/col/col.mjs +0 -3
  12. package/es/common/data-import2/data-import2.css +1 -1
  13. package/es/common/data-import2/data-import2.d.ts +48 -11
  14. package/es/common/data-import2/data-import2.mjs +133 -166
  15. package/es/common/data-import2-select/data-import2-select.css +1 -0
  16. package/es/common/data-import2-select/data-import2-select.d.ts +59 -0
  17. package/es/common/data-import2-select/data-import2-select.mjs +170 -0
  18. package/es/common/data-import2-table/data-import2-table.css +1 -0
  19. package/es/common/data-import2-table/data-import2-table.d.ts +56 -0
  20. package/es/common/data-import2-table/data-import2-table.mjs +104 -0
  21. package/es/common/index.mjs +4 -0
  22. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.mjs +2 -2
  23. package/es/control/grid/grid-column/grid-field-edit-column/grid-field-edit-column.mjs +1 -1
  24. package/es/control/grid/grid-column/grid-field-edit-column/grid-field-edit-column.provider.mjs +1 -1
  25. package/es/control/grid/row-edit-popover/row-edit-popover.css +1 -1
  26. package/es/control/tree/index.d.ts +1 -0
  27. package/es/control/tree/tree.css +1 -1
  28. package/es/control/tree/tree.d.ts +1 -0
  29. package/es/control/tree/tree.mjs +104 -54
  30. package/es/editor/index.mjs +9 -2
  31. package/es/index.mjs +0 -1
  32. package/es/panel-component/index.d.ts +0 -1
  33. package/es/panel-component/index.mjs +2 -4
  34. package/es/panel-component/panel-button/panel-button.controller.mjs +4 -1
  35. package/es/view-engine/index-view.engine.d.ts +0 -7
  36. package/es/view-engine/index-view.engine.mjs +0 -37
  37. package/lib/common/col/col.cjs +0 -3
  38. package/lib/common/data-import2/data-import2.cjs +132 -164
  39. package/lib/common/data-import2/data-import2.css +1 -1
  40. package/lib/common/data-import2-select/data-import2-select.cjs +172 -0
  41. package/lib/common/data-import2-select/data-import2-select.css +1 -0
  42. package/lib/common/data-import2-table/data-import2-table.cjs +106 -0
  43. package/lib/common/data-import2-table/data-import2-table.css +1 -0
  44. package/lib/common/index.cjs +4 -0
  45. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.cjs +1 -1
  46. package/lib/control/grid/grid-column/grid-field-edit-column/grid-field-edit-column.cjs +1 -1
  47. package/lib/control/grid/grid-column/grid-field-edit-column/grid-field-edit-column.provider.cjs +1 -1
  48. package/lib/control/grid/row-edit-popover/row-edit-popover.css +1 -1
  49. package/lib/control/tree/tree.cjs +102 -52
  50. package/lib/control/tree/tree.css +1 -1
  51. package/lib/editor/index.cjs +9 -2
  52. package/lib/index.cjs +15 -17
  53. package/lib/panel-component/index.cjs +29 -32
  54. package/lib/panel-component/panel-button/panel-button.controller.cjs +4 -1
  55. package/lib/view-engine/index-view.engine.cjs +0 -37
  56. package/package.json +10 -9
  57. package/dist/chart-ImL2qyp9.js.map +0 -1
  58. package/dist/ibiz-markdown-editor-BQsiQfa2.js.map +0 -1
  59. package/dist/index-1dtzc9-X.js +0 -14
  60. package/dist/index-1dtzc9-X.js.map +0 -1
  61. package/dist/index-UNZ1dtt_.js.map +0 -1
  62. package/dist/index-Ul84JXar.js.map +0 -1
  63. package/dist/index.system.min.js.map +0 -1
  64. package/dist/map-chart-7nfIdU3w.js.map +0 -1
  65. package/dist/wang-editor-f4440Xvw.js.map +0 -1
  66. package/dist/xlsx-util-Mxa6HuaG.js.map +0 -1
  67. package/es/_virtual/_commonjs-dynamic-modules.mjs +0 -5
  68. package/es/_virtual/pluralize.mjs +0 -3
  69. package/es/node_modules/.pnpm/@ibiz-template_model-helper@0.4.3_@ibiz-template_runtime@0.4.3_ramda@0.29.1/node_modules/@ibiz-template/model-helper/out/utils/format-path/format-path.mjs +0 -11
  70. package/es/node_modules/.pnpm/@ibiz-template_model-helper@0.4.3_@ibiz-template_runtime@0.4.3_ramda@0.29.1/node_modules/@ibiz-template/model-helper/out/utils/index.mjs +0 -4
  71. package/es/node_modules/.pnpm/@ibiz-template_model-helper@0.4.3_@ibiz-template_runtime@0.4.3_ramda@0.29.1/node_modules/@ibiz-template/model-helper/out/utils/merge-model/merge-model.mjs +0 -22
  72. package/es/node_modules/.pnpm/@ibiz-template_model-helper@0.4.3_@ibiz-template_runtime@0.4.3_ramda@0.29.1/node_modules/@ibiz-template/model-helper/out/utils/plural/plural.mjs +0 -30
  73. package/es/node_modules/.pnpm/@ibiz-template_model-helper@0.4.3_@ibiz-template_runtime@0.4.3_ramda@0.29.1/node_modules/@ibiz-template/model-helper/out/utils/service-path-util/service-path-util.mjs +0 -187
  74. package/es/node_modules/.pnpm/pluralize@8.0.0/node_modules/pluralize/pluralize.mjs +0 -515
  75. package/es/panel-component/panel-container-group/index.d.ts +0 -28
  76. package/es/panel-component/panel-container-group/index.mjs +0 -20
  77. package/es/panel-component/panel-container-group/panel-container-group.controller.d.ts +0 -31
  78. package/es/panel-component/panel-container-group/panel-container-group.controller.mjs +0 -35
  79. package/es/panel-component/panel-container-group/panel-container-group.css +0 -1
  80. package/es/panel-component/panel-container-group/panel-container-group.d.ts +0 -28
  81. package/es/panel-component/panel-container-group/panel-container-group.mjs +0 -107
  82. package/es/panel-component/panel-container-group/panel-container-group.provider.d.ts +0 -15
  83. package/es/panel-component/panel-container-group/panel-container-group.provider.mjs +0 -21
  84. package/es/panel-component/panel-container-group/panel-container-group.state.d.ts +0 -12
  85. package/es/panel-component/panel-container-group/panel-container-group.state.mjs +0 -7
  86. package/es/panel-component/panel-tab-page/index.d.ts +0 -23
  87. package/es/panel-component/panel-tab-page/index.mjs +0 -12
  88. package/es/panel-component/panel-tab-page/panel-tab-page.d.ts +0 -25
  89. package/es/panel-component/panel-tab-page/panel-tab-page.mjs +0 -62
  90. package/es/panel-component/panel-tab-page/panel-tab-page.provider.d.ts +0 -13
  91. package/es/panel-component/panel-tab-page/panel-tab-page.provider.mjs +0 -21
  92. package/lib/_virtual/_commonjs-dynamic-modules.cjs +0 -7
  93. package/lib/_virtual/pluralize.cjs +0 -5
  94. package/lib/node_modules/.pnpm/@ibiz-template_model-helper@0.4.3_@ibiz-template_runtime@0.4.3_ramda@0.29.1/node_modules/@ibiz-template/model-helper/out/utils/format-path/format-path.cjs +0 -13
  95. package/lib/node_modules/.pnpm/@ibiz-template_model-helper@0.4.3_@ibiz-template_runtime@0.4.3_ramda@0.29.1/node_modules/@ibiz-template/model-helper/out/utils/index.cjs +0 -14
  96. package/lib/node_modules/.pnpm/@ibiz-template_model-helper@0.4.3_@ibiz-template_runtime@0.4.3_ramda@0.29.1/node_modules/@ibiz-template/model-helper/out/utils/merge-model/merge-model.cjs +0 -24
  97. package/lib/node_modules/.pnpm/@ibiz-template_model-helper@0.4.3_@ibiz-template_runtime@0.4.3_ramda@0.29.1/node_modules/@ibiz-template/model-helper/out/utils/plural/plural.cjs +0 -33
  98. package/lib/node_modules/.pnpm/@ibiz-template_model-helper@0.4.3_@ibiz-template_runtime@0.4.3_ramda@0.29.1/node_modules/@ibiz-template/model-helper/out/utils/service-path-util/service-path-util.cjs +0 -189
  99. package/lib/node_modules/.pnpm/pluralize@8.0.0/node_modules/pluralize/pluralize.cjs +0 -519
  100. package/lib/panel-component/panel-container-group/index.cjs +0 -27
  101. package/lib/panel-component/panel-container-group/panel-container-group.cjs +0 -109
  102. package/lib/panel-component/panel-container-group/panel-container-group.controller.cjs +0 -37
  103. package/lib/panel-component/panel-container-group/panel-container-group.css +0 -1
  104. package/lib/panel-component/panel-container-group/panel-container-group.provider.cjs +0 -23
  105. package/lib/panel-component/panel-container-group/panel-container-group.state.cjs +0 -9
  106. package/lib/panel-component/panel-tab-page/index.cjs +0 -17
  107. package/lib/panel-component/panel-tab-page/panel-tab-page.cjs +0 -64
  108. package/lib/panel-component/panel-tab-page/panel-tab-page.provider.cjs +0 -23
@@ -1,515 +0,0 @@
1
- import { commonjsGlobal, getDefaultExportFromCjs } from '../../../../../_virtual/_commonjsHelpers.mjs';
2
- import { commonjsRequire } from '../../../../../_virtual/_commonjs-dynamic-modules.mjs';
3
- import { __module as pluralize$2 } from '../../../../../_virtual/pluralize.mjs';
4
-
5
- /* global define */
6
- var pluralize = pluralize$2.exports;
7
-
8
- (function (module, exports) {
9
- (function (root, pluralize) {
10
- /* istanbul ignore else */
11
- if (typeof commonjsRequire === 'function' && 'object' === 'object' && 'object' === 'object') {
12
- // Node.
13
- module.exports = pluralize();
14
- } else if (typeof undefined === 'function' && undefined.amd) {
15
- // AMD, registers as an anonymous module.
16
- undefined(function () {
17
- return pluralize();
18
- });
19
- } else {
20
- // Browser global.
21
- root.pluralize = pluralize();
22
- }
23
- })(commonjsGlobal, function () {
24
- // Rule storage - pluralize and singularize need to be run sequentially,
25
- // while other rules can be optimized using an object for instant lookups.
26
- var pluralRules = [];
27
- var singularRules = [];
28
- var uncountables = {};
29
- var irregularPlurals = {};
30
- var irregularSingles = {};
31
-
32
- /**
33
- * Sanitize a pluralization rule to a usable regular expression.
34
- *
35
- * @param {(RegExp|string)} rule
36
- * @return {RegExp}
37
- */
38
- function sanitizeRule (rule) {
39
- if (typeof rule === 'string') {
40
- return new RegExp('^' + rule + '$', 'i');
41
- }
42
-
43
- return rule;
44
- }
45
-
46
- /**
47
- * Pass in a word token to produce a function that can replicate the case on
48
- * another word.
49
- *
50
- * @param {string} word
51
- * @param {string} token
52
- * @return {Function}
53
- */
54
- function restoreCase (word, token) {
55
- // Tokens are an exact match.
56
- if (word === token) return token;
57
-
58
- // Lower cased words. E.g. "hello".
59
- if (word === word.toLowerCase()) return token.toLowerCase();
60
-
61
- // Upper cased words. E.g. "WHISKY".
62
- if (word === word.toUpperCase()) return token.toUpperCase();
63
-
64
- // Title cased words. E.g. "Title".
65
- if (word[0] === word[0].toUpperCase()) {
66
- return token.charAt(0).toUpperCase() + token.substr(1).toLowerCase();
67
- }
68
-
69
- // Lower cased words. E.g. "test".
70
- return token.toLowerCase();
71
- }
72
-
73
- /**
74
- * Interpolate a regexp string.
75
- *
76
- * @param {string} str
77
- * @param {Array} args
78
- * @return {string}
79
- */
80
- function interpolate (str, args) {
81
- return str.replace(/\$(\d{1,2})/g, function (match, index) {
82
- return args[index] || '';
83
- });
84
- }
85
-
86
- /**
87
- * Replace a word using a rule.
88
- *
89
- * @param {string} word
90
- * @param {Array} rule
91
- * @return {string}
92
- */
93
- function replace (word, rule) {
94
- return word.replace(rule[0], function (match, index) {
95
- var result = interpolate(rule[1], arguments);
96
-
97
- if (match === '') {
98
- return restoreCase(word[index - 1], result);
99
- }
100
-
101
- return restoreCase(match, result);
102
- });
103
- }
104
-
105
- /**
106
- * Sanitize a word by passing in the word and sanitization rules.
107
- *
108
- * @param {string} token
109
- * @param {string} word
110
- * @param {Array} rules
111
- * @return {string}
112
- */
113
- function sanitizeWord (token, word, rules) {
114
- // Empty string or doesn't need fixing.
115
- if (!token.length || uncountables.hasOwnProperty(token)) {
116
- return word;
117
- }
118
-
119
- var len = rules.length;
120
-
121
- // Iterate over the sanitization rules and use the first one to match.
122
- while (len--) {
123
- var rule = rules[len];
124
-
125
- if (rule[0].test(word)) return replace(word, rule);
126
- }
127
-
128
- return word;
129
- }
130
-
131
- /**
132
- * Replace a word with the updated word.
133
- *
134
- * @param {Object} replaceMap
135
- * @param {Object} keepMap
136
- * @param {Array} rules
137
- * @return {Function}
138
- */
139
- function replaceWord (replaceMap, keepMap, rules) {
140
- return function (word) {
141
- // Get the correct token and case restoration functions.
142
- var token = word.toLowerCase();
143
-
144
- // Check against the keep object map.
145
- if (keepMap.hasOwnProperty(token)) {
146
- return restoreCase(word, token);
147
- }
148
-
149
- // Check against the replacement map for a direct word replacement.
150
- if (replaceMap.hasOwnProperty(token)) {
151
- return restoreCase(word, replaceMap[token]);
152
- }
153
-
154
- // Run all the rules against the word.
155
- return sanitizeWord(token, word, rules);
156
- };
157
- }
158
-
159
- /**
160
- * Check if a word is part of the map.
161
- */
162
- function checkWord (replaceMap, keepMap, rules, bool) {
163
- return function (word) {
164
- var token = word.toLowerCase();
165
-
166
- if (keepMap.hasOwnProperty(token)) return true;
167
- if (replaceMap.hasOwnProperty(token)) return false;
168
-
169
- return sanitizeWord(token, token, rules) === token;
170
- };
171
- }
172
-
173
- /**
174
- * Pluralize or singularize a word based on the passed in count.
175
- *
176
- * @param {string} word The word to pluralize
177
- * @param {number} count How many of the word exist
178
- * @param {boolean} inclusive Whether to prefix with the number (e.g. 3 ducks)
179
- * @return {string}
180
- */
181
- function pluralize (word, count, inclusive) {
182
- var pluralized = count === 1
183
- ? pluralize.singular(word) : pluralize.plural(word);
184
-
185
- return (inclusive ? count + ' ' : '') + pluralized;
186
- }
187
-
188
- /**
189
- * Pluralize a word.
190
- *
191
- * @type {Function}
192
- */
193
- pluralize.plural = replaceWord(
194
- irregularSingles, irregularPlurals, pluralRules
195
- );
196
-
197
- /**
198
- * Check if a word is plural.
199
- *
200
- * @type {Function}
201
- */
202
- pluralize.isPlural = checkWord(
203
- irregularSingles, irregularPlurals, pluralRules
204
- );
205
-
206
- /**
207
- * Singularize a word.
208
- *
209
- * @type {Function}
210
- */
211
- pluralize.singular = replaceWord(
212
- irregularPlurals, irregularSingles, singularRules
213
- );
214
-
215
- /**
216
- * Check if a word is singular.
217
- *
218
- * @type {Function}
219
- */
220
- pluralize.isSingular = checkWord(
221
- irregularPlurals, irregularSingles, singularRules
222
- );
223
-
224
- /**
225
- * Add a pluralization rule to the collection.
226
- *
227
- * @param {(string|RegExp)} rule
228
- * @param {string} replacement
229
- */
230
- pluralize.addPluralRule = function (rule, replacement) {
231
- pluralRules.push([sanitizeRule(rule), replacement]);
232
- };
233
-
234
- /**
235
- * Add a singularization rule to the collection.
236
- *
237
- * @param {(string|RegExp)} rule
238
- * @param {string} replacement
239
- */
240
- pluralize.addSingularRule = function (rule, replacement) {
241
- singularRules.push([sanitizeRule(rule), replacement]);
242
- };
243
-
244
- /**
245
- * Add an uncountable word rule.
246
- *
247
- * @param {(string|RegExp)} word
248
- */
249
- pluralize.addUncountableRule = function (word) {
250
- if (typeof word === 'string') {
251
- uncountables[word.toLowerCase()] = true;
252
- return;
253
- }
254
-
255
- // Set singular and plural references for the word.
256
- pluralize.addPluralRule(word, '$0');
257
- pluralize.addSingularRule(word, '$0');
258
- };
259
-
260
- /**
261
- * Add an irregular word definition.
262
- *
263
- * @param {string} single
264
- * @param {string} plural
265
- */
266
- pluralize.addIrregularRule = function (single, plural) {
267
- plural = plural.toLowerCase();
268
- single = single.toLowerCase();
269
-
270
- irregularSingles[single] = plural;
271
- irregularPlurals[plural] = single;
272
- };
273
-
274
- /**
275
- * Irregular rules.
276
- */
277
- [
278
- // Pronouns.
279
- ['I', 'we'],
280
- ['me', 'us'],
281
- ['he', 'they'],
282
- ['she', 'they'],
283
- ['them', 'them'],
284
- ['myself', 'ourselves'],
285
- ['yourself', 'yourselves'],
286
- ['itself', 'themselves'],
287
- ['herself', 'themselves'],
288
- ['himself', 'themselves'],
289
- ['themself', 'themselves'],
290
- ['is', 'are'],
291
- ['was', 'were'],
292
- ['has', 'have'],
293
- ['this', 'these'],
294
- ['that', 'those'],
295
- // Words ending in with a consonant and `o`.
296
- ['echo', 'echoes'],
297
- ['dingo', 'dingoes'],
298
- ['volcano', 'volcanoes'],
299
- ['tornado', 'tornadoes'],
300
- ['torpedo', 'torpedoes'],
301
- // Ends with `us`.
302
- ['genus', 'genera'],
303
- ['viscus', 'viscera'],
304
- // Ends with `ma`.
305
- ['stigma', 'stigmata'],
306
- ['stoma', 'stomata'],
307
- ['dogma', 'dogmata'],
308
- ['lemma', 'lemmata'],
309
- ['schema', 'schemata'],
310
- ['anathema', 'anathemata'],
311
- // Other irregular rules.
312
- ['ox', 'oxen'],
313
- ['axe', 'axes'],
314
- ['die', 'dice'],
315
- ['yes', 'yeses'],
316
- ['foot', 'feet'],
317
- ['eave', 'eaves'],
318
- ['goose', 'geese'],
319
- ['tooth', 'teeth'],
320
- ['quiz', 'quizzes'],
321
- ['human', 'humans'],
322
- ['proof', 'proofs'],
323
- ['carve', 'carves'],
324
- ['valve', 'valves'],
325
- ['looey', 'looies'],
326
- ['thief', 'thieves'],
327
- ['groove', 'grooves'],
328
- ['pickaxe', 'pickaxes'],
329
- ['passerby', 'passersby']
330
- ].forEach(function (rule) {
331
- return pluralize.addIrregularRule(rule[0], rule[1]);
332
- });
333
-
334
- /**
335
- * Pluralization rules.
336
- */
337
- [
338
- [/s?$/i, 's'],
339
- [/[^\u0000-\u007F]$/i, '$0'],
340
- [/([^aeiou]ese)$/i, '$1'],
341
- [/(ax|test)is$/i, '$1es'],
342
- [/(alias|[^aou]us|t[lm]as|gas|ris)$/i, '$1es'],
343
- [/(e[mn]u)s?$/i, '$1s'],
344
- [/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i, '$1'],
345
- [/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i, '$1i'],
346
- [/(alumn|alg|vertebr)(?:a|ae)$/i, '$1ae'],
347
- [/(seraph|cherub)(?:im)?$/i, '$1im'],
348
- [/(her|at|gr)o$/i, '$1oes'],
349
- [/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i, '$1a'],
350
- [/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i, '$1a'],
351
- [/sis$/i, 'ses'],
352
- [/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i, '$1$2ves'],
353
- [/([^aeiouy]|qu)y$/i, '$1ies'],
354
- [/([^ch][ieo][ln])ey$/i, '$1ies'],
355
- [/(x|ch|ss|sh|zz)$/i, '$1es'],
356
- [/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i, '$1ices'],
357
- [/\b((?:tit)?m|l)(?:ice|ouse)$/i, '$1ice'],
358
- [/(pe)(?:rson|ople)$/i, '$1ople'],
359
- [/(child)(?:ren)?$/i, '$1ren'],
360
- [/eaux$/i, '$0'],
361
- [/m[ae]n$/i, 'men'],
362
- ['thou', 'you']
363
- ].forEach(function (rule) {
364
- return pluralize.addPluralRule(rule[0], rule[1]);
365
- });
366
-
367
- /**
368
- * Singularization rules.
369
- */
370
- [
371
- [/s$/i, ''],
372
- [/(ss)$/i, '$1'],
373
- [/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i, '$1fe'],
374
- [/(ar|(?:wo|[ae])l|[eo][ao])ves$/i, '$1f'],
375
- [/ies$/i, 'y'],
376
- [/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i, '$1ie'],
377
- [/\b(mon|smil)ies$/i, '$1ey'],
378
- [/\b((?:tit)?m|l)ice$/i, '$1ouse'],
379
- [/(seraph|cherub)im$/i, '$1'],
380
- [/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i, '$1'],
381
- [/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i, '$1sis'],
382
- [/(movie|twelve|abuse|e[mn]u)s$/i, '$1'],
383
- [/(test)(?:is|es)$/i, '$1is'],
384
- [/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i, '$1us'],
385
- [/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i, '$1um'],
386
- [/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i, '$1on'],
387
- [/(alumn|alg|vertebr)ae$/i, '$1a'],
388
- [/(cod|mur|sil|vert|ind)ices$/i, '$1ex'],
389
- [/(matr|append)ices$/i, '$1ix'],
390
- [/(pe)(rson|ople)$/i, '$1rson'],
391
- [/(child)ren$/i, '$1'],
392
- [/(eau)x?$/i, '$1'],
393
- [/men$/i, 'man']
394
- ].forEach(function (rule) {
395
- return pluralize.addSingularRule(rule[0], rule[1]);
396
- });
397
-
398
- /**
399
- * Uncountable rules.
400
- */
401
- [
402
- // Singular words with no plurals.
403
- 'adulthood',
404
- 'advice',
405
- 'agenda',
406
- 'aid',
407
- 'aircraft',
408
- 'alcohol',
409
- 'ammo',
410
- 'analytics',
411
- 'anime',
412
- 'athletics',
413
- 'audio',
414
- 'bison',
415
- 'blood',
416
- 'bream',
417
- 'buffalo',
418
- 'butter',
419
- 'carp',
420
- 'cash',
421
- 'chassis',
422
- 'chess',
423
- 'clothing',
424
- 'cod',
425
- 'commerce',
426
- 'cooperation',
427
- 'corps',
428
- 'debris',
429
- 'diabetes',
430
- 'digestion',
431
- 'elk',
432
- 'energy',
433
- 'equipment',
434
- 'excretion',
435
- 'expertise',
436
- 'firmware',
437
- 'flounder',
438
- 'fun',
439
- 'gallows',
440
- 'garbage',
441
- 'graffiti',
442
- 'hardware',
443
- 'headquarters',
444
- 'health',
445
- 'herpes',
446
- 'highjinks',
447
- 'homework',
448
- 'housework',
449
- 'information',
450
- 'jeans',
451
- 'justice',
452
- 'kudos',
453
- 'labour',
454
- 'literature',
455
- 'machinery',
456
- 'mackerel',
457
- 'mail',
458
- 'media',
459
- 'mews',
460
- 'moose',
461
- 'music',
462
- 'mud',
463
- 'manga',
464
- 'news',
465
- 'only',
466
- 'personnel',
467
- 'pike',
468
- 'plankton',
469
- 'pliers',
470
- 'police',
471
- 'pollution',
472
- 'premises',
473
- 'rain',
474
- 'research',
475
- 'rice',
476
- 'salmon',
477
- 'scissors',
478
- 'series',
479
- 'sewage',
480
- 'shambles',
481
- 'shrimp',
482
- 'software',
483
- 'species',
484
- 'staff',
485
- 'swine',
486
- 'tennis',
487
- 'traffic',
488
- 'transportation',
489
- 'trout',
490
- 'tuna',
491
- 'wealth',
492
- 'welfare',
493
- 'whiting',
494
- 'wildebeest',
495
- 'wildlife',
496
- 'you',
497
- /pok[eé]mon$/i,
498
- // Regexes.
499
- /[^aeiou]ese$/i, // "chinese", "japanese"
500
- /deer$/i, // "deer", "reindeer"
501
- /fish$/i, // "fish", "blowfish", "angelfish"
502
- /measles$/i,
503
- /o[iu]s$/i, // "carnivorous"
504
- /pox$/i, // "chickpox", "smallpox"
505
- /sheep$/i
506
- ].forEach(pluralize.addUncountableRule);
507
-
508
- return pluralize;
509
- });
510
- } (pluralize$2, pluralize$2.exports));
511
-
512
- var pluralizeExports = pluralize$2.exports;
513
- var pluralize$1 = /*@__PURE__*/getDefaultExportFromCjs(pluralizeExports);
514
-
515
- export { pluralize$1 as default };
@@ -1,28 +0,0 @@
1
- import { PanelContainerGroupState } from './panel-container-group.state';
2
- import { PanelContainerGroupController } from './panel-container-group.controller';
3
- export { PanelContainerGroupState, PanelContainerGroupController };
4
- export declare const IBizPanelContainerGroup: import("@ibiz-template/vue3-util").TypeWithInstall<import("vue").DefineComponent<{
5
- modelData: {
6
- type: import("vue").PropType<import("@ibiz/model-core").IPanelContainer>;
7
- required: true;
8
- };
9
- controller: {
10
- type: typeof PanelContainerGroupController;
11
- required: true;
12
- };
13
- }, {
14
- ns: import("@ibiz-template/core").Namespace;
15
- captionText: import("vue").ComputedRef<any>;
16
- changeCollapse: () => void;
17
- isCollapse: import("vue").Ref<boolean>;
18
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
19
- modelData: {
20
- type: import("vue").PropType<import("@ibiz/model-core").IPanelContainer>;
21
- required: true;
22
- };
23
- controller: {
24
- type: typeof PanelContainerGroupController;
25
- required: true;
26
- };
27
- }>>, {}, {}>>;
28
- export default IBizPanelContainerGroup;
@@ -1,20 +0,0 @@
1
- import { registerPanelItemProvider } from '@ibiz-template/runtime';
2
- import { withInstall } from '@ibiz-template/vue3-util';
3
- export { PanelContainerGroupState } from './panel-container-group.state.mjs';
4
- import { PanelContainerGroupProvider } from './panel-container-group.provider.mjs';
5
- export { PanelContainerGroupController } from './panel-container-group.controller.mjs';
6
- import { PanelContainerGroup } from './panel-container-group.mjs';
7
-
8
- "use strict";
9
- const IBizPanelContainerGroup = withInstall(
10
- PanelContainerGroup,
11
- function(v) {
12
- v.component(PanelContainerGroup.name, PanelContainerGroup);
13
- registerPanelItemProvider(
14
- "CONTAINER_CONTAINER_GROUP",
15
- () => new PanelContainerGroupProvider()
16
- );
17
- }
18
- );
19
-
20
- export { IBizPanelContainerGroup, IBizPanelContainerGroup as default };
@@ -1,31 +0,0 @@
1
- import { PanelItemController } from '@ibiz-template/runtime';
2
- import { IPanelContainer } from '@ibiz/model-core';
3
- import { PanelContainerGroupState } from './panel-container-group.state';
4
- /**
5
- * 面板分组容器控制器
6
- *
7
- * @export
8
- * @class PanelContainerGroupController
9
- * @extends {PanelItemController}
10
- */
11
- export declare class PanelContainerGroupController extends PanelItemController<IPanelContainer> {
12
- state: PanelContainerGroupState;
13
- protected createState(): PanelContainerGroupState;
14
- /**
15
- * 禁用关闭
16
- *
17
- * @author chitanda
18
- * @date 2022-09-14 14:09:51
19
- * @readonly
20
- * @type {boolean}
21
- */
22
- get disableClose(): boolean;
23
- /**
24
- * 是否默认展开分组
25
- *
26
- * @author chitanda
27
- * @date 2022-09-14 14:09:09
28
- * @readonly
29
- */
30
- get defaultExpansion(): boolean;
31
- }
@@ -1,35 +0,0 @@
1
- import { PanelItemController } from '@ibiz-template/runtime';
2
- import { PanelContainerGroupState } from './panel-container-group.state.mjs';
3
-
4
- "use strict";
5
- class PanelContainerGroupController extends PanelItemController {
6
- createState() {
7
- var _a;
8
- return new PanelContainerGroupState((_a = this.parent) == null ? void 0 : _a.state);
9
- }
10
- /**
11
- * 禁用关闭
12
- *
13
- * @author chitanda
14
- * @date 2022-09-14 14:09:51
15
- * @readonly
16
- * @type {boolean}
17
- */
18
- get disableClose() {
19
- const { titleBarCloseMode: mode } = this.model;
20
- return mode === 0 || mode === void 0;
21
- }
22
- /**
23
- * 是否默认展开分组
24
- *
25
- * @author chitanda
26
- * @date 2022-09-14 14:09:09
27
- * @readonly
28
- */
29
- get defaultExpansion() {
30
- const { titleBarCloseMode: mode } = this.model;
31
- return this.disableClose || mode === 1;
32
- }
33
- }
34
-
35
- export { PanelContainerGroupController };
@@ -1 +0,0 @@
1
- .ibiz-panel-container-group{--ibiz-panel-container-group-bg-color:transparent;--ibiz-panel-container-group-header-bg-color:transparent;--ibiz-panel-container-group-header-padding:var(--ibiz-spacing-base-tight);--ibiz-panel-container-group-header-border-color:var(--ibiz-color-border);--ibiz-panel-container-group-header-height:49px;--ibiz-panel-container-group-caption-text-color:var(--ibiz-color-text-0);--ibiz-panel-container-group-caption-font-size:var(--ibiz-font-size-header-5);--ibiz-panel-container-group-caption-font-weight:var(--ibiz-font-weight-bold);--ibiz-panel-container-group-content-bg-color:transparent;--ibiz-panel-container-group-content-padding:var(--ibiz-spacing-tight)}.ibiz-panel-container-group{height:100%;background-color:var(--ibiz-panel-container-group-bg-color);border-radius:var(--ibiz-border-radius-base)}.ibiz-panel-container-group__caption{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--ibiz-panel-container-group-caption-font-size);font-weight:var(--ibiz-panel-container-group-caption-font-weight);color:var(--ibiz-panel-container-group-caption-text-color)}.ibiz-panel-container-group-collapse>.ibiz-panel-container-group-content{display:block}.ibiz-panel-container-group-collapse.is-collapse>.ibiz-panel-container-group-content{display:none}.ibiz-panel-container-group-header{display:flex;height:var(--ibiz-panel-container-group-header-height);padding:var(--ibiz-panel-container-group-header-padding);margin:var(--ibiz-panel-container-group-header-margin);border-bottom:1px solid var(--ibiz-panel-container-group-header-border-color)}.ibiz-panel-container-group-header__left,.ibiz-panel-container-group-header__right{display:inline-block;width:50%}.ibiz-panel-container-group-header__right{text-align:right;display:flex;align-items:center;justify-content:flex-end}.ibiz-panel-container-group-content{width:100%;height:100%}.ibiz-panel-container-group-content__row{width:100%;height:100%}.ibiz-panel-container-group--show-header>.ibiz-panel-container-group-content{height:calc(100% - var(--ibiz-panel-container-group-header-height));padding:var(--ibiz-panel-container-group-content-padding);background-color:var(--ibiz-panel-container-group-content-bg-color)}
@@ -1,28 +0,0 @@
1
- import { IPanelContainer } from '@ibiz/model-core';
2
- import { PropType } from 'vue';
3
- import { PanelContainerGroupController } from './panel-container-group.controller';
4
- import './panel-container-group.scss';
5
- export declare const PanelContainerGroup: import("vue").DefineComponent<{
6
- modelData: {
7
- type: PropType<IPanelContainer>;
8
- required: true;
9
- };
10
- controller: {
11
- type: typeof PanelContainerGroupController;
12
- required: true;
13
- };
14
- }, {
15
- ns: import("@ibiz-template/core").Namespace;
16
- captionText: import("vue").ComputedRef<any>;
17
- changeCollapse: () => void;
18
- isCollapse: import("vue").Ref<boolean>;
19
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
20
- modelData: {
21
- type: PropType<IPanelContainer>;
22
- required: true;
23
- };
24
- controller: {
25
- type: typeof PanelContainerGroupController;
26
- required: true;
27
- };
28
- }>>, {}, {}>;