struct-fakerator 2.8.9 → 3.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.
Files changed (188) hide show
  1. package/LICENSE +21 -0
  2. package/dist/config.cjs +51 -0
  3. package/dist/config.js +2 -51
  4. package/dist/config_scheme.cjs +95 -0
  5. package/dist/config_scheme.js +24 -73
  6. package/dist/create_config.cjs +110 -0
  7. package/dist/create_config.js +9 -58
  8. package/dist/{create_generator_fn.mjs → create_generator_fn.cjs} +63 -11
  9. package/dist/create_generator_fn.js +11 -63
  10. package/dist/generator_fn.cjs +54 -0
  11. package/dist/generator_fn.js +2 -54
  12. package/dist/index.cjs +107 -0
  13. package/dist/index.js +6 -107
  14. package/dist/type.cjs +18 -0
  15. package/dist/type.js +0 -18
  16. package/dist/{type.d.ts → types/type.d.ts} +10 -1
  17. package/dist/types/utils/airline.d.ts +31 -0
  18. package/dist/{utils → types/utils}/animal.d.ts +2 -0
  19. package/dist/types/utils/book.d.ts +12 -0
  20. package/dist/{utils → types/utils}/color.d.ts +9 -9
  21. package/dist/{utils → types/utils}/finance.d.ts +7 -9
  22. package/dist/{utils → types/utils}/image.d.ts +0 -11
  23. package/dist/{utils → types/utils}/index.d.ts +2 -0
  24. package/dist/{utils → types/utils}/internet.d.ts +9 -7
  25. package/dist/{utils → types/utils}/location.d.ts +29 -16
  26. package/dist/{utils → types/utils}/number.d.ts +5 -0
  27. package/dist/{utils → types/utils}/person.d.ts +1 -1
  28. package/dist/{utils → types/utils}/science.d.ts +2 -2
  29. package/dist/{utils → types/utils}/string.d.ts +4 -0
  30. package/dist/utils/airline.cjs +62 -0
  31. package/dist/utils/airline.js +10 -46
  32. package/dist/utils/animal.cjs +98 -0
  33. package/dist/utils/animal.js +19 -94
  34. package/dist/utils/book.cjs +58 -0
  35. package/dist/utils/book.js +9 -0
  36. package/dist/utils/color.cjs +78 -0
  37. package/dist/utils/color.js +14 -78
  38. package/dist/utils/commerce.cjs +66 -0
  39. package/dist/utils/commerce.js +11 -66
  40. package/dist/utils/common.cjs +37 -0
  41. package/dist/utils/common.js +3 -37
  42. package/dist/utils/company.cjs +70 -0
  43. package/dist/utils/company.js +12 -70
  44. package/dist/utils/database.cjs +54 -0
  45. package/dist/utils/database.js +8 -54
  46. package/dist/utils/datatype.cjs +38 -0
  47. package/dist/utils/datatype.js +4 -38
  48. package/dist/utils/datetime.cjs +78 -0
  49. package/dist/utils/datetime.js +14 -78
  50. package/dist/utils/finance.cjs +114 -0
  51. package/dist/utils/finance.js +23 -110
  52. package/dist/utils/food.cjs +70 -0
  53. package/dist/utils/food.js +12 -70
  54. package/dist/utils/git.cjs +54 -0
  55. package/dist/utils/git.js +8 -54
  56. package/dist/utils/hacker.cjs +58 -0
  57. package/dist/utils/hacker.js +9 -58
  58. package/dist/utils/image.cjs +58 -0
  59. package/dist/utils/image.js +9 -66
  60. package/dist/utils/index.cjs +143 -0
  61. package/dist/utils/index.js +29 -136
  62. package/dist/utils/internet.cjs +118 -0
  63. package/dist/utils/internet.js +24 -114
  64. package/dist/utils/location.cjs +110 -0
  65. package/dist/utils/location.js +22 -98
  66. package/dist/utils/lorem.cjs +70 -0
  67. package/dist/utils/lorem.js +12 -70
  68. package/dist/utils/music.cjs +50 -0
  69. package/dist/utils/music.js +7 -50
  70. package/dist/utils/number.cjs +62 -0
  71. package/dist/utils/number.js +10 -58
  72. package/dist/utils/person.cjs +94 -0
  73. package/dist/utils/person.js +18 -94
  74. package/dist/utils/phone.cjs +42 -0
  75. package/dist/utils/phone.js +5 -42
  76. package/dist/utils/science.cjs +42 -0
  77. package/dist/utils/science.js +5 -42
  78. package/dist/utils/string.cjs +78 -0
  79. package/dist/utils/string.js +14 -74
  80. package/dist/utils/system.cjs +82 -0
  81. package/dist/utils/system.js +15 -82
  82. package/dist/utils/utils.cjs +39 -0
  83. package/dist/utils/utils.js +3 -37
  84. package/dist/utils/vehicle.cjs +70 -0
  85. package/dist/utils/vehicle.js +12 -70
  86. package/dist/utils/word.cjs +70 -0
  87. package/dist/utils/word.js +12 -70
  88. package/package.json +26 -36
  89. package/biome.json +0 -31
  90. package/dist/config.mjs +0 -2
  91. package/dist/config_scheme.mjs +0 -46
  92. package/dist/create_config.mjs +0 -61
  93. package/dist/generator_fn.mjs +0 -2
  94. package/dist/index.mjs +0 -6
  95. package/dist/type.mjs +0 -0
  96. package/dist/utils/airline.d.ts +0 -14
  97. package/dist/utils/airline.mjs +0 -6
  98. package/dist/utils/animal.mjs +0 -18
  99. package/dist/utils/color.mjs +0 -14
  100. package/dist/utils/commerce.mjs +0 -11
  101. package/dist/utils/common.mjs +0 -3
  102. package/dist/utils/company.mjs +0 -12
  103. package/dist/utils/database.mjs +0 -8
  104. package/dist/utils/datatype.mjs +0 -4
  105. package/dist/utils/datetime.mjs +0 -14
  106. package/dist/utils/finance.mjs +0 -22
  107. package/dist/utils/food.mjs +0 -12
  108. package/dist/utils/git.mjs +0 -8
  109. package/dist/utils/hacker.mjs +0 -9
  110. package/dist/utils/image.mjs +0 -11
  111. package/dist/utils/index.mjs +0 -27
  112. package/dist/utils/internet.mjs +0 -23
  113. package/dist/utils/location.mjs +0 -19
  114. package/dist/utils/lorem.mjs +0 -12
  115. package/dist/utils/music.mjs +0 -7
  116. package/dist/utils/number.mjs +0 -9
  117. package/dist/utils/person.mjs +0 -18
  118. package/dist/utils/phone.mjs +0 -5
  119. package/dist/utils/science.mjs +0 -5
  120. package/dist/utils/string.mjs +0 -13
  121. package/dist/utils/system.mjs +0 -15
  122. package/dist/utils/utils.mjs +0 -5
  123. package/dist/utils/vehicle.mjs +0 -12
  124. package/dist/utils/word.mjs +0 -12
  125. package/pnpm-workspace.yaml +0 -2
  126. package/rslib.config.ts +0 -26
  127. package/src/config.ts +0 -8
  128. package/src/config_scheme.ts +0 -41
  129. package/src/create_config.test.ts +0 -70
  130. package/src/create_config.ts +0 -170
  131. package/src/create_generator_fn.test.ts +0 -229
  132. package/src/create_generator_fn.ts +0 -342
  133. package/src/generator_fn.ts +0 -9
  134. package/src/index.ts +0 -5
  135. package/src/type.ts +0 -167
  136. package/src/utils/airline.ts +0 -11
  137. package/src/utils/animal.ts +0 -47
  138. package/src/utils/color.ts +0 -41
  139. package/src/utils/commerce.ts +0 -32
  140. package/src/utils/common.ts +0 -4
  141. package/src/utils/company.ts +0 -33
  142. package/src/utils/database.ts +0 -19
  143. package/src/utils/datatype.ts +0 -5
  144. package/src/utils/datetime.ts +0 -35
  145. package/src/utils/finance.ts +0 -65
  146. package/src/utils/food.ts +0 -29
  147. package/src/utils/git.ts +0 -17
  148. package/src/utils/hacker.ts +0 -20
  149. package/src/utils/image.ts +0 -26
  150. package/src/utils/index.ts +0 -26
  151. package/src/utils/internet.ts +0 -62
  152. package/src/utils/location.ts +0 -58
  153. package/src/utils/lorem.ts +0 -29
  154. package/src/utils/music.ts +0 -14
  155. package/src/utils/number.ts +0 -20
  156. package/src/utils/person.ts +0 -47
  157. package/src/utils/phone.ts +0 -8
  158. package/src/utils/science.ts +0 -8
  159. package/src/utils/string.ts +0 -32
  160. package/src/utils/system.ts +0 -40
  161. package/src/utils/utils.ts +0 -8
  162. package/src/utils/vehicle.ts +0 -29
  163. package/src/utils/word.ts +0 -29
  164. package/tsconfig.json +0 -18
  165. /package/dist/{config.d.ts → types/config.d.ts} +0 -0
  166. /package/dist/{config_scheme.d.ts → types/config_scheme.d.ts} +0 -0
  167. /package/dist/{create_config.d.ts → types/create_config.d.ts} +0 -0
  168. /package/dist/{create_config.test.d.ts → types/create_config.test.d.ts} +0 -0
  169. /package/dist/{create_generator_fn.d.ts → types/create_generator_fn.d.ts} +0 -0
  170. /package/dist/{create_generator_fn.test.d.ts → types/create_generator_fn.test.d.ts} +0 -0
  171. /package/dist/{generator_fn.d.ts → types/generator_fn.d.ts} +0 -0
  172. /package/dist/{index.d.ts → types/index.d.ts} +0 -0
  173. /package/dist/{utils → types/utils}/commerce.d.ts +0 -0
  174. /package/dist/{utils → types/utils}/common.d.ts +0 -0
  175. /package/dist/{utils → types/utils}/company.d.ts +0 -0
  176. /package/dist/{utils → types/utils}/database.d.ts +0 -0
  177. /package/dist/{utils → types/utils}/datatype.d.ts +0 -0
  178. /package/dist/{utils → types/utils}/datetime.d.ts +0 -0
  179. /package/dist/{utils → types/utils}/food.d.ts +0 -0
  180. /package/dist/{utils → types/utils}/git.d.ts +0 -0
  181. /package/dist/{utils → types/utils}/hacker.d.ts +0 -0
  182. /package/dist/{utils → types/utils}/lorem.d.ts +0 -0
  183. /package/dist/{utils → types/utils}/music.d.ts +0 -0
  184. /package/dist/{utils → types/utils}/phone.d.ts +0 -0
  185. /package/dist/{utils → types/utils}/system.d.ts +0 -0
  186. /package/dist/{utils → types/utils}/utils.d.ts +0 -0
  187. /package/dist/{utils → types/utils}/vehicle.d.ts +0 -0
  188. /package/dist/{utils → types/utils}/word.d.ts +0 -0
@@ -1,94 +1,19 @@
1
- "use strict";
2
- var __webpack_require__ = {};
3
- (()=>{
4
- __webpack_require__.d = (exports1, definition)=>{
5
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
- enumerable: true,
7
- get: definition[key]
8
- });
9
- };
10
- })();
11
- (()=>{
12
- __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
13
- })();
14
- (()=>{
15
- __webpack_require__.r = (exports1)=>{
16
- if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
17
- value: 'Module'
18
- });
19
- Object.defineProperty(exports1, '__esModule', {
20
- value: true
21
- });
22
- };
23
- })();
24
- var __webpack_exports__ = {};
25
- __webpack_require__.r(__webpack_exports__);
26
- __webpack_require__.d(__webpack_exports__, {
27
- dog: ()=>dog,
28
- cow: ()=>cow,
29
- cetacean: ()=>cetacean,
30
- lion: ()=>lion,
31
- bird: ()=>bird,
32
- insect: ()=>insect,
33
- rodent: ()=>rodent,
34
- bear: ()=>bear,
35
- type: ()=>type,
36
- fish: ()=>fish,
37
- snake: ()=>snake,
38
- rabbit: ()=>rabbit,
39
- crocodilia: ()=>crocodilia,
40
- cat: ()=>cat,
41
- horse: ()=>horse
42
- });
43
- const faker_namespaceObject = require("@faker-js/faker");
44
- const external_utils_js_namespaceObject = require("./utils.js");
45
- const bear = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.animal.bear);
46
- const bird = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.animal.bird);
47
- const cat = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.animal.cat);
48
- const cetacean = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.animal.cetacean);
49
- const cow = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.animal.cow);
50
- const crocodilia = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.animal.crocodilia);
51
- const dog = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.animal.dog);
52
- const fish = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.animal.fish);
53
- const horse = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.animal.horse);
54
- const insect = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.animal.insect);
55
- const lion = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.animal.lion);
56
- const rabbit = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.animal.rabbit);
57
- const rodent = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.animal.rodent);
58
- const snake = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.animal.snake);
59
- const type = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.animal.type);
60
- exports.bear = __webpack_exports__.bear;
61
- exports.bird = __webpack_exports__.bird;
62
- exports.cat = __webpack_exports__.cat;
63
- exports.cetacean = __webpack_exports__.cetacean;
64
- exports.cow = __webpack_exports__.cow;
65
- exports.crocodilia = __webpack_exports__.crocodilia;
66
- exports.dog = __webpack_exports__.dog;
67
- exports.fish = __webpack_exports__.fish;
68
- exports.horse = __webpack_exports__.horse;
69
- exports.insect = __webpack_exports__.insect;
70
- exports.lion = __webpack_exports__.lion;
71
- exports.rabbit = __webpack_exports__.rabbit;
72
- exports.rodent = __webpack_exports__.rodent;
73
- exports.snake = __webpack_exports__.snake;
74
- exports.type = __webpack_exports__.type;
75
- for(var __webpack_i__ in __webpack_exports__)if (-1 === [
76
- "bear",
77
- "bird",
78
- "cat",
79
- "cetacean",
80
- "cow",
81
- "crocodilia",
82
- "dog",
83
- "fish",
84
- "horse",
85
- "insect",
86
- "lion",
87
- "rabbit",
88
- "rodent",
89
- "snake",
90
- "type"
91
- ].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
92
- Object.defineProperty(exports, '__esModule', {
93
- value: true
94
- });
1
+ import { faker } from "@faker-js/faker";
2
+ import { makeValueConfigFn } from "./utils.js";
3
+ const bear = makeValueConfigFn(faker.animal.bear);
4
+ const bird = makeValueConfigFn(faker.animal.bird);
5
+ const cat = makeValueConfigFn(faker.animal.cat);
6
+ const cetacean = makeValueConfigFn(faker.animal.cetacean);
7
+ const cow = makeValueConfigFn(faker.animal.cow);
8
+ const crocodilia = makeValueConfigFn(faker.animal.crocodilia);
9
+ const dog = makeValueConfigFn(faker.animal.dog);
10
+ const fish = makeValueConfigFn(faker.animal.fish);
11
+ const horse = makeValueConfigFn(faker.animal.horse);
12
+ const insect = makeValueConfigFn(faker.animal.insect);
13
+ const lion = makeValueConfigFn(faker.animal.lion);
14
+ const petName = makeValueConfigFn(faker.animal.petName);
15
+ const rabbit = makeValueConfigFn(faker.animal.rabbit);
16
+ const rodent = makeValueConfigFn(faker.animal.rodent);
17
+ const snake = makeValueConfigFn(faker.animal.snake);
18
+ const type = makeValueConfigFn(faker.animal.type);
19
+ export { bear, bird, cat, cetacean, cow, crocodilia, dog, fish, horse, insect, lion, petName, rabbit, rodent, snake, type };
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ var __webpack_require__ = {};
3
+ (()=>{
4
+ __webpack_require__.d = (exports1, definition)=>{
5
+ for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
+ enumerable: true,
7
+ get: definition[key]
8
+ });
9
+ };
10
+ })();
11
+ (()=>{
12
+ __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
13
+ })();
14
+ (()=>{
15
+ __webpack_require__.r = (exports1)=>{
16
+ if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
17
+ value: 'Module'
18
+ });
19
+ Object.defineProperty(exports1, '__esModule', {
20
+ value: true
21
+ });
22
+ };
23
+ })();
24
+ var __webpack_exports__ = {};
25
+ __webpack_require__.r(__webpack_exports__);
26
+ __webpack_require__.d(__webpack_exports__, {
27
+ title: ()=>title,
28
+ publisher: ()=>publisher,
29
+ series: ()=>series,
30
+ author: ()=>author,
31
+ format: ()=>format,
32
+ genre: ()=>genre
33
+ });
34
+ const faker_namespaceObject = require("@faker-js/faker");
35
+ const external_utils_cjs_namespaceObject = require("./utils.cjs");
36
+ const author = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.book.author);
37
+ const format = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.book.format);
38
+ const genre = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.book.genre);
39
+ const publisher = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.book.publisher);
40
+ const series = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.book.series);
41
+ const title = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.book.title);
42
+ exports.author = __webpack_exports__.author;
43
+ exports.format = __webpack_exports__.format;
44
+ exports.genre = __webpack_exports__.genre;
45
+ exports.publisher = __webpack_exports__.publisher;
46
+ exports.series = __webpack_exports__.series;
47
+ exports.title = __webpack_exports__.title;
48
+ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
49
+ "author",
50
+ "format",
51
+ "genre",
52
+ "publisher",
53
+ "series",
54
+ "title"
55
+ ].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
56
+ Object.defineProperty(exports, '__esModule', {
57
+ value: true
58
+ });
@@ -0,0 +1,9 @@
1
+ import { faker } from "@faker-js/faker";
2
+ import { makeValueConfigFn } from "./utils.js";
3
+ const author = makeValueConfigFn(faker.book.author);
4
+ const format = makeValueConfigFn(faker.book.format);
5
+ const genre = makeValueConfigFn(faker.book.genre);
6
+ const publisher = makeValueConfigFn(faker.book.publisher);
7
+ const series = makeValueConfigFn(faker.book.series);
8
+ const title = makeValueConfigFn(faker.book.title);
9
+ export { author, format, genre, publisher, series, title };
@@ -0,0 +1,78 @@
1
+ "use strict";
2
+ var __webpack_require__ = {};
3
+ (()=>{
4
+ __webpack_require__.d = (exports1, definition)=>{
5
+ for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
+ enumerable: true,
7
+ get: definition[key]
8
+ });
9
+ };
10
+ })();
11
+ (()=>{
12
+ __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
13
+ })();
14
+ (()=>{
15
+ __webpack_require__.r = (exports1)=>{
16
+ if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
17
+ value: 'Module'
18
+ });
19
+ Object.defineProperty(exports1, '__esModule', {
20
+ value: true
21
+ });
22
+ };
23
+ })();
24
+ var __webpack_exports__ = {};
25
+ __webpack_require__.r(__webpack_exports__);
26
+ __webpack_require__.d(__webpack_exports__, {
27
+ colorByCSSColorSpace: ()=>colorByCSSColorSpace,
28
+ cssSupportedFunction: ()=>cssSupportedFunction,
29
+ space: ()=>space,
30
+ cmyk: ()=>cmyk,
31
+ human: ()=>human,
32
+ cssSupportedSpace: ()=>cssSupportedSpace,
33
+ rgb: ()=>rgb,
34
+ hwb: ()=>hwb,
35
+ lab: ()=>lab,
36
+ hsl: ()=>hsl,
37
+ lch: ()=>lch
38
+ });
39
+ const faker_namespaceObject = require("@faker-js/faker");
40
+ const external_utils_cjs_namespaceObject = require("./utils.cjs");
41
+ const cmyk = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.color.cmyk);
42
+ const colorByCSSColorSpace = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.color.colorByCSSColorSpace);
43
+ const cssSupportedFunction = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.color.cssSupportedFunction);
44
+ const cssSupportedSpace = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.color.cssSupportedSpace);
45
+ const hsl = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.color.hsl);
46
+ const human = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.color.human);
47
+ const hwb = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.color.hwb);
48
+ const lab = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.color.lab);
49
+ const lch = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.color.lch);
50
+ const rgb = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.color.rgb);
51
+ const space = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.color.space);
52
+ exports.cmyk = __webpack_exports__.cmyk;
53
+ exports.colorByCSSColorSpace = __webpack_exports__.colorByCSSColorSpace;
54
+ exports.cssSupportedFunction = __webpack_exports__.cssSupportedFunction;
55
+ exports.cssSupportedSpace = __webpack_exports__.cssSupportedSpace;
56
+ exports.hsl = __webpack_exports__.hsl;
57
+ exports.human = __webpack_exports__.human;
58
+ exports.hwb = __webpack_exports__.hwb;
59
+ exports.lab = __webpack_exports__.lab;
60
+ exports.lch = __webpack_exports__.lch;
61
+ exports.rgb = __webpack_exports__.rgb;
62
+ exports.space = __webpack_exports__.space;
63
+ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
64
+ "cmyk",
65
+ "colorByCSSColorSpace",
66
+ "cssSupportedFunction",
67
+ "cssSupportedSpace",
68
+ "hsl",
69
+ "human",
70
+ "hwb",
71
+ "lab",
72
+ "lch",
73
+ "rgb",
74
+ "space"
75
+ ].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
76
+ Object.defineProperty(exports, '__esModule', {
77
+ value: true
78
+ });
@@ -1,78 +1,14 @@
1
- "use strict";
2
- var __webpack_require__ = {};
3
- (()=>{
4
- __webpack_require__.d = (exports1, definition)=>{
5
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
- enumerable: true,
7
- get: definition[key]
8
- });
9
- };
10
- })();
11
- (()=>{
12
- __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
13
- })();
14
- (()=>{
15
- __webpack_require__.r = (exports1)=>{
16
- if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
17
- value: 'Module'
18
- });
19
- Object.defineProperty(exports1, '__esModule', {
20
- value: true
21
- });
22
- };
23
- })();
24
- var __webpack_exports__ = {};
25
- __webpack_require__.r(__webpack_exports__);
26
- __webpack_require__.d(__webpack_exports__, {
27
- colorByCSSColorSpace: ()=>colorByCSSColorSpace,
28
- cssSupportedFunction: ()=>cssSupportedFunction,
29
- space: ()=>space,
30
- cmyk: ()=>cmyk,
31
- human: ()=>human,
32
- cssSupportedSpace: ()=>cssSupportedSpace,
33
- rgb: ()=>rgb,
34
- hwb: ()=>hwb,
35
- lab: ()=>lab,
36
- hsl: ()=>hsl,
37
- lch: ()=>lch
38
- });
39
- const faker_namespaceObject = require("@faker-js/faker");
40
- const external_utils_js_namespaceObject = require("./utils.js");
41
- const cmyk = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.color.cmyk);
42
- const colorByCSSColorSpace = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.color.colorByCSSColorSpace);
43
- const cssSupportedFunction = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.color.cssSupportedFunction);
44
- const cssSupportedSpace = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.color.cssSupportedSpace);
45
- const hsl = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.color.hsl);
46
- const human = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.color.human);
47
- const hwb = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.color.hwb);
48
- const lab = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.color.lab);
49
- const lch = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.color.lch);
50
- const rgb = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.color.rgb);
51
- const space = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.color.space);
52
- exports.cmyk = __webpack_exports__.cmyk;
53
- exports.colorByCSSColorSpace = __webpack_exports__.colorByCSSColorSpace;
54
- exports.cssSupportedFunction = __webpack_exports__.cssSupportedFunction;
55
- exports.cssSupportedSpace = __webpack_exports__.cssSupportedSpace;
56
- exports.hsl = __webpack_exports__.hsl;
57
- exports.human = __webpack_exports__.human;
58
- exports.hwb = __webpack_exports__.hwb;
59
- exports.lab = __webpack_exports__.lab;
60
- exports.lch = __webpack_exports__.lch;
61
- exports.rgb = __webpack_exports__.rgb;
62
- exports.space = __webpack_exports__.space;
63
- for(var __webpack_i__ in __webpack_exports__)if (-1 === [
64
- "cmyk",
65
- "colorByCSSColorSpace",
66
- "cssSupportedFunction",
67
- "cssSupportedSpace",
68
- "hsl",
69
- "human",
70
- "hwb",
71
- "lab",
72
- "lch",
73
- "rgb",
74
- "space"
75
- ].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
76
- Object.defineProperty(exports, '__esModule', {
77
- value: true
78
- });
1
+ import { faker } from "@faker-js/faker";
2
+ import { makeValueConfigFn } from "./utils.js";
3
+ const cmyk = makeValueConfigFn(faker.color.cmyk);
4
+ const colorByCSSColorSpace = makeValueConfigFn(faker.color.colorByCSSColorSpace);
5
+ const cssSupportedFunction = makeValueConfigFn(faker.color.cssSupportedFunction);
6
+ const cssSupportedSpace = makeValueConfigFn(faker.color.cssSupportedSpace);
7
+ const hsl = makeValueConfigFn(faker.color.hsl);
8
+ const human = makeValueConfigFn(faker.color.human);
9
+ const hwb = makeValueConfigFn(faker.color.hwb);
10
+ const lab = makeValueConfigFn(faker.color.lab);
11
+ const lch = makeValueConfigFn(faker.color.lch);
12
+ const rgb = makeValueConfigFn(faker.color.rgb);
13
+ const space = makeValueConfigFn(faker.color.space);
14
+ export { cmyk, colorByCSSColorSpace, cssSupportedFunction, cssSupportedSpace, hsl, human, hwb, lab, lch, rgb, space };
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ var __webpack_require__ = {};
3
+ (()=>{
4
+ __webpack_require__.d = (exports1, definition)=>{
5
+ for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
+ enumerable: true,
7
+ get: definition[key]
8
+ });
9
+ };
10
+ })();
11
+ (()=>{
12
+ __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
13
+ })();
14
+ (()=>{
15
+ __webpack_require__.r = (exports1)=>{
16
+ if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
17
+ value: 'Module'
18
+ });
19
+ Object.defineProperty(exports1, '__esModule', {
20
+ value: true
21
+ });
22
+ };
23
+ })();
24
+ var __webpack_exports__ = {};
25
+ __webpack_require__.r(__webpack_exports__);
26
+ __webpack_require__.d(__webpack_exports__, {
27
+ price: ()=>price,
28
+ isbn: ()=>isbn,
29
+ productDescription: ()=>productDescription,
30
+ productMaterial: ()=>productMaterial,
31
+ department: ()=>department,
32
+ product: ()=>product,
33
+ productAdjective: ()=>productAdjective,
34
+ productName: ()=>productName
35
+ });
36
+ const faker_namespaceObject = require("@faker-js/faker");
37
+ const external_utils_cjs_namespaceObject = require("./utils.cjs");
38
+ const department = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.commerce.department);
39
+ const isbn = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.commerce.isbn);
40
+ const price = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.commerce.price);
41
+ const product = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.commerce.product);
42
+ const productAdjective = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.commerce.productAdjective);
43
+ const productDescription = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.commerce.productDescription);
44
+ const productMaterial = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.commerce.productMaterial);
45
+ const productName = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.commerce.productName);
46
+ exports.department = __webpack_exports__.department;
47
+ exports.isbn = __webpack_exports__.isbn;
48
+ exports.price = __webpack_exports__.price;
49
+ exports.product = __webpack_exports__.product;
50
+ exports.productAdjective = __webpack_exports__.productAdjective;
51
+ exports.productDescription = __webpack_exports__.productDescription;
52
+ exports.productMaterial = __webpack_exports__.productMaterial;
53
+ exports.productName = __webpack_exports__.productName;
54
+ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
55
+ "department",
56
+ "isbn",
57
+ "price",
58
+ "product",
59
+ "productAdjective",
60
+ "productDescription",
61
+ "productMaterial",
62
+ "productName"
63
+ ].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
64
+ Object.defineProperty(exports, '__esModule', {
65
+ value: true
66
+ });
@@ -1,66 +1,11 @@
1
- "use strict";
2
- var __webpack_require__ = {};
3
- (()=>{
4
- __webpack_require__.d = (exports1, definition)=>{
5
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
- enumerable: true,
7
- get: definition[key]
8
- });
9
- };
10
- })();
11
- (()=>{
12
- __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
13
- })();
14
- (()=>{
15
- __webpack_require__.r = (exports1)=>{
16
- if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
17
- value: 'Module'
18
- });
19
- Object.defineProperty(exports1, '__esModule', {
20
- value: true
21
- });
22
- };
23
- })();
24
- var __webpack_exports__ = {};
25
- __webpack_require__.r(__webpack_exports__);
26
- __webpack_require__.d(__webpack_exports__, {
27
- price: ()=>price,
28
- isbn: ()=>isbn,
29
- productDescription: ()=>productDescription,
30
- productMaterial: ()=>productMaterial,
31
- department: ()=>department,
32
- product: ()=>product,
33
- productAdjective: ()=>productAdjective,
34
- productName: ()=>productName
35
- });
36
- const faker_namespaceObject = require("@faker-js/faker");
37
- const external_utils_js_namespaceObject = require("./utils.js");
38
- const department = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.commerce.department);
39
- const isbn = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.commerce.isbn);
40
- const price = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.commerce.price);
41
- const product = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.commerce.product);
42
- const productAdjective = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.commerce.productAdjective);
43
- const productDescription = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.commerce.productDescription);
44
- const productMaterial = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.commerce.productMaterial);
45
- const productName = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.commerce.productName);
46
- exports.department = __webpack_exports__.department;
47
- exports.isbn = __webpack_exports__.isbn;
48
- exports.price = __webpack_exports__.price;
49
- exports.product = __webpack_exports__.product;
50
- exports.productAdjective = __webpack_exports__.productAdjective;
51
- exports.productDescription = __webpack_exports__.productDescription;
52
- exports.productMaterial = __webpack_exports__.productMaterial;
53
- exports.productName = __webpack_exports__.productName;
54
- for(var __webpack_i__ in __webpack_exports__)if (-1 === [
55
- "department",
56
- "isbn",
57
- "price",
58
- "product",
59
- "productAdjective",
60
- "productDescription",
61
- "productMaterial",
62
- "productName"
63
- ].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
64
- Object.defineProperty(exports, '__esModule', {
65
- value: true
66
- });
1
+ import { faker } from "@faker-js/faker";
2
+ import { makeValueConfigFn } from "./utils.js";
3
+ const department = makeValueConfigFn(faker.commerce.department);
4
+ const isbn = makeValueConfigFn(faker.commerce.isbn);
5
+ const price = makeValueConfigFn(faker.commerce.price);
6
+ const product = makeValueConfigFn(faker.commerce.product);
7
+ const productAdjective = makeValueConfigFn(faker.commerce.productAdjective);
8
+ const productDescription = makeValueConfigFn(faker.commerce.productDescription);
9
+ const productMaterial = makeValueConfigFn(faker.commerce.productMaterial);
10
+ const productName = makeValueConfigFn(faker.commerce.productName);
11
+ export { department, isbn, price, product, productAdjective, productDescription, productMaterial, productName };
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ var __webpack_require__ = {};
3
+ (()=>{
4
+ __webpack_require__.d = (exports1, definition)=>{
5
+ for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
+ enumerable: true,
7
+ get: definition[key]
8
+ });
9
+ };
10
+ })();
11
+ (()=>{
12
+ __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
13
+ })();
14
+ (()=>{
15
+ __webpack_require__.r = (exports1)=>{
16
+ if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
17
+ value: 'Module'
18
+ });
19
+ Object.defineProperty(exports1, '__esModule', {
20
+ value: true
21
+ });
22
+ };
23
+ })();
24
+ var __webpack_exports__ = {};
25
+ __webpack_require__.r(__webpack_exports__);
26
+ __webpack_require__.d(__webpack_exports__, {
27
+ constant: ()=>constant
28
+ });
29
+ const external_create_config_cjs_namespaceObject = require("../create_config.cjs");
30
+ const constant = (value)=>(0, external_create_config_cjs_namespaceObject.createValueConfig)(()=>value);
31
+ exports.constant = __webpack_exports__.constant;
32
+ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
33
+ "constant"
34
+ ].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
35
+ Object.defineProperty(exports, '__esModule', {
36
+ value: true
37
+ });
@@ -1,37 +1,3 @@
1
- "use strict";
2
- var __webpack_require__ = {};
3
- (()=>{
4
- __webpack_require__.d = (exports1, definition)=>{
5
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
- enumerable: true,
7
- get: definition[key]
8
- });
9
- };
10
- })();
11
- (()=>{
12
- __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
13
- })();
14
- (()=>{
15
- __webpack_require__.r = (exports1)=>{
16
- if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
17
- value: 'Module'
18
- });
19
- Object.defineProperty(exports1, '__esModule', {
20
- value: true
21
- });
22
- };
23
- })();
24
- var __webpack_exports__ = {};
25
- __webpack_require__.r(__webpack_exports__);
26
- __webpack_require__.d(__webpack_exports__, {
27
- constant: ()=>constant
28
- });
29
- const external_create_config_js_namespaceObject = require("../create_config.js");
30
- const constant = (value)=>(0, external_create_config_js_namespaceObject.createValueConfig)(()=>value);
31
- exports.constant = __webpack_exports__.constant;
32
- for(var __webpack_i__ in __webpack_exports__)if (-1 === [
33
- "constant"
34
- ].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
35
- Object.defineProperty(exports, '__esModule', {
36
- value: true
37
- });
1
+ import { createValueConfig } from "../create_config.js";
2
+ const constant = (value)=>createValueConfig(()=>value);
3
+ export { constant };
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ var __webpack_require__ = {};
3
+ (()=>{
4
+ __webpack_require__.d = (exports1, definition)=>{
5
+ for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
+ enumerable: true,
7
+ get: definition[key]
8
+ });
9
+ };
10
+ })();
11
+ (()=>{
12
+ __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
13
+ })();
14
+ (()=>{
15
+ __webpack_require__.r = (exports1)=>{
16
+ if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
17
+ value: 'Module'
18
+ });
19
+ Object.defineProperty(exports1, '__esModule', {
20
+ value: true
21
+ });
22
+ };
23
+ })();
24
+ var __webpack_exports__ = {};
25
+ __webpack_require__.r(__webpack_exports__);
26
+ __webpack_require__.d(__webpack_exports__, {
27
+ buzzAdjective: ()=>buzzAdjective,
28
+ buzzPhrase: ()=>buzzPhrase,
29
+ name: ()=>company_name,
30
+ catchPhraseNoun: ()=>catchPhraseNoun,
31
+ buzzNoun: ()=>buzzNoun,
32
+ buzzVerb: ()=>buzzVerb,
33
+ catchPhrase: ()=>catchPhrase,
34
+ catchPhraseAdjective: ()=>catchPhraseAdjective,
35
+ catchPhraseDescriptor: ()=>catchPhraseDescriptor
36
+ });
37
+ const faker_namespaceObject = require("@faker-js/faker");
38
+ const external_utils_cjs_namespaceObject = require("./utils.cjs");
39
+ const buzzAdjective = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.company.buzzAdjective);
40
+ const buzzNoun = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.company.buzzNoun);
41
+ const buzzPhrase = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.company.buzzPhrase);
42
+ const buzzVerb = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.company.buzzVerb);
43
+ const catchPhrase = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.company.catchPhrase);
44
+ const catchPhraseAdjective = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.company.catchPhraseAdjective);
45
+ const catchPhraseDescriptor = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.company.catchPhraseDescriptor);
46
+ const catchPhraseNoun = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.company.catchPhraseNoun);
47
+ const company_name = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.company.name);
48
+ exports.buzzAdjective = __webpack_exports__.buzzAdjective;
49
+ exports.buzzNoun = __webpack_exports__.buzzNoun;
50
+ exports.buzzPhrase = __webpack_exports__.buzzPhrase;
51
+ exports.buzzVerb = __webpack_exports__.buzzVerb;
52
+ exports.catchPhrase = __webpack_exports__.catchPhrase;
53
+ exports.catchPhraseAdjective = __webpack_exports__.catchPhraseAdjective;
54
+ exports.catchPhraseDescriptor = __webpack_exports__.catchPhraseDescriptor;
55
+ exports.catchPhraseNoun = __webpack_exports__.catchPhraseNoun;
56
+ exports.name = __webpack_exports__.name;
57
+ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
58
+ "buzzAdjective",
59
+ "buzzNoun",
60
+ "buzzPhrase",
61
+ "buzzVerb",
62
+ "catchPhrase",
63
+ "catchPhraseAdjective",
64
+ "catchPhraseDescriptor",
65
+ "catchPhraseNoun",
66
+ "name"
67
+ ].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
68
+ Object.defineProperty(exports, '__esModule', {
69
+ value: true
70
+ });