@kintone/dts-gen 8.1.1 → 8.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dts-gen-integration-test.js +311 -47
- package/package.json +9 -9
|
@@ -53,6 +53,72 @@ eval("// Currently in sync with Node.js lib/internal/util/comparisons.js\n// htt
|
|
|
53
53
|
|
|
54
54
|
/***/ }),
|
|
55
55
|
|
|
56
|
+
/***/ "../../node_modules/.pnpm/available-typed-arrays@1.0.5/node_modules/available-typed-arrays/index.js":
|
|
57
|
+
/*!**********************************************************************************************************!*\
|
|
58
|
+
!*** ../../node_modules/.pnpm/available-typed-arrays@1.0.5/node_modules/available-typed-arrays/index.js ***!
|
|
59
|
+
\**********************************************************************************************************/
|
|
60
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
61
|
+
|
|
62
|
+
"use strict";
|
|
63
|
+
eval("\n\nvar possibleNames = [\n\t'BigInt64Array',\n\t'BigUint64Array',\n\t'Float32Array',\n\t'Float64Array',\n\t'Int16Array',\n\t'Int32Array',\n\t'Int8Array',\n\t'Uint16Array',\n\t'Uint32Array',\n\t'Uint8Array',\n\t'Uint8ClampedArray'\n];\n\nvar g = typeof globalThis === 'undefined' ? __webpack_require__.g : globalThis;\n\nmodule.exports = function availableTypedArrays() {\n\tvar out = [];\n\tfor (var i = 0; i < possibleNames.length; i++) {\n\t\tif (typeof g[possibleNames[i]] === 'function') {\n\t\t\tout[out.length] = possibleNames[i];\n\t\t}\n\t}\n\treturn out;\n};\n\n\n//# sourceURL=webpack://@kintone/dts-gen/../../node_modules/.pnpm/available-typed-arrays@1.0.5/node_modules/available-typed-arrays/index.js?");
|
|
64
|
+
|
|
65
|
+
/***/ }),
|
|
66
|
+
|
|
67
|
+
/***/ "../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/actualApply.js":
|
|
68
|
+
/*!******************************************************************************************************************!*\
|
|
69
|
+
!*** ../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/actualApply.js ***!
|
|
70
|
+
\******************************************************************************************************************/
|
|
71
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
72
|
+
|
|
73
|
+
"use strict";
|
|
74
|
+
eval("\n\nvar bind = __webpack_require__(/*! function-bind */ \"../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js\");\n\nvar $apply = __webpack_require__(/*! ./functionApply */ \"../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionApply.js\");\nvar $call = __webpack_require__(/*! ./functionCall */ \"../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionCall.js\");\nvar $reflectApply = __webpack_require__(/*! ./reflectApply */ \"../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/reflectApply.js\");\n\n/** @type {import('./actualApply')} */\nmodule.exports = $reflectApply || bind.call($call, $apply);\n\n\n//# sourceURL=webpack://@kintone/dts-gen/../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/actualApply.js?");
|
|
75
|
+
|
|
76
|
+
/***/ }),
|
|
77
|
+
|
|
78
|
+
/***/ "../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionApply.js":
|
|
79
|
+
/*!********************************************************************************************************************!*\
|
|
80
|
+
!*** ../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionApply.js ***!
|
|
81
|
+
\********************************************************************************************************************/
|
|
82
|
+
/***/ ((module) => {
|
|
83
|
+
|
|
84
|
+
"use strict";
|
|
85
|
+
eval("\n\n/** @type {import('./functionApply')} */\nmodule.exports = Function.prototype.apply;\n\n\n//# sourceURL=webpack://@kintone/dts-gen/../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionApply.js?");
|
|
86
|
+
|
|
87
|
+
/***/ }),
|
|
88
|
+
|
|
89
|
+
/***/ "../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionCall.js":
|
|
90
|
+
/*!*******************************************************************************************************************!*\
|
|
91
|
+
!*** ../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionCall.js ***!
|
|
92
|
+
\*******************************************************************************************************************/
|
|
93
|
+
/***/ ((module) => {
|
|
94
|
+
|
|
95
|
+
"use strict";
|
|
96
|
+
eval("\n\n/** @type {import('./functionCall')} */\nmodule.exports = Function.prototype.call;\n\n\n//# sourceURL=webpack://@kintone/dts-gen/../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionCall.js?");
|
|
97
|
+
|
|
98
|
+
/***/ }),
|
|
99
|
+
|
|
100
|
+
/***/ "../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/index.js":
|
|
101
|
+
/*!************************************************************************************************************!*\
|
|
102
|
+
!*** ../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/index.js ***!
|
|
103
|
+
\************************************************************************************************************/
|
|
104
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
105
|
+
|
|
106
|
+
"use strict";
|
|
107
|
+
eval("\n\nvar bind = __webpack_require__(/*! function-bind */ \"../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js\");\nvar $TypeError = __webpack_require__(/*! es-errors/type */ \"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js\");\n\nvar $call = __webpack_require__(/*! ./functionCall */ \"../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionCall.js\");\nvar $actualApply = __webpack_require__(/*! ./actualApply */ \"../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/actualApply.js\");\n\n/** @type {import('.')} */\nmodule.exports = function callBindBasic(args) {\n\tif (args.length < 1 || typeof args[0] !== 'function') {\n\t\tthrow new $TypeError('a function is required');\n\t}\n\treturn $actualApply(bind, $call, args);\n};\n\n\n//# sourceURL=webpack://@kintone/dts-gen/../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/index.js?");
|
|
108
|
+
|
|
109
|
+
/***/ }),
|
|
110
|
+
|
|
111
|
+
/***/ "../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/reflectApply.js":
|
|
112
|
+
/*!*******************************************************************************************************************!*\
|
|
113
|
+
!*** ../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/reflectApply.js ***!
|
|
114
|
+
\*******************************************************************************************************************/
|
|
115
|
+
/***/ ((module) => {
|
|
116
|
+
|
|
117
|
+
"use strict";
|
|
118
|
+
eval("\n\n/** @type {import('./reflectApply')} */\nmodule.exports = typeof Reflect !== 'undefined' && Reflect && Reflect.apply;\n\n\n//# sourceURL=webpack://@kintone/dts-gen/../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/reflectApply.js?");
|
|
119
|
+
|
|
120
|
+
/***/ }),
|
|
121
|
+
|
|
56
122
|
/***/ "../../node_modules/.pnpm/call-bind@1.0.2/node_modules/call-bind/callBound.js":
|
|
57
123
|
/*!************************************************************************************!*\
|
|
58
124
|
!*** ../../node_modules/.pnpm/call-bind@1.0.2/node_modules/call-bind/callBound.js ***!
|
|
@@ -82,7 +148,7 @@ eval("\n\nvar bind = __webpack_require__(/*! function-bind */ \"../../node_modul
|
|
|
82
148
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
83
149
|
|
|
84
150
|
"use strict";
|
|
85
|
-
eval("\n\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"../../node_modules/.pnpm/get-intrinsic@1.2.
|
|
151
|
+
eval("\n\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"../../node_modules/.pnpm/get-intrinsic@1.2.7/node_modules/get-intrinsic/index.js\");\n\nvar callBind = __webpack_require__(/*! ./ */ \"../../node_modules/.pnpm/call-bind@1.0.7/node_modules/call-bind/index.js\");\n\nvar $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));\n\nmodule.exports = function callBoundIntrinsic(name, allowMissing) {\n\tvar intrinsic = GetIntrinsic(name, !!allowMissing);\n\tif (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {\n\t\treturn callBind(intrinsic);\n\t}\n\treturn intrinsic;\n};\n\n\n//# sourceURL=webpack://@kintone/dts-gen/../../node_modules/.pnpm/call-bind@1.0.7/node_modules/call-bind/callBound.js?");
|
|
86
152
|
|
|
87
153
|
/***/ }),
|
|
88
154
|
|
|
@@ -93,7 +159,7 @@ eval("\n\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"../../no
|
|
|
93
159
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
94
160
|
|
|
95
161
|
"use strict";
|
|
96
|
-
eval("\n\nvar bind = __webpack_require__(/*! function-bind */ \"../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js\");\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"../../node_modules/.pnpm/get-intrinsic@1.2.
|
|
162
|
+
eval("\n\nvar bind = __webpack_require__(/*! function-bind */ \"../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js\");\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"../../node_modules/.pnpm/get-intrinsic@1.2.7/node_modules/get-intrinsic/index.js\");\nvar setFunctionLength = __webpack_require__(/*! set-function-length */ \"../../node_modules/.pnpm/set-function-length@1.2.1/node_modules/set-function-length/index.js\");\n\nvar $TypeError = __webpack_require__(/*! es-errors/type */ \"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js\");\nvar $apply = GetIntrinsic('%Function.prototype.apply%');\nvar $call = GetIntrinsic('%Function.prototype.call%');\nvar $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);\n\nvar $defineProperty = __webpack_require__(/*! es-define-property */ \"../../node_modules/.pnpm/es-define-property@1.0.0/node_modules/es-define-property/index.js\");\nvar $max = GetIntrinsic('%Math.max%');\n\nmodule.exports = function callBind(originalFunction) {\n\tif (typeof originalFunction !== 'function') {\n\t\tthrow new $TypeError('a function is required');\n\t}\n\tvar func = $reflectApply(bind, $call, arguments);\n\treturn setFunctionLength(\n\t\tfunc,\n\t\t1 + $max(0, originalFunction.length - (arguments.length - 1)),\n\t\ttrue\n\t);\n};\n\nvar applyBind = function applyBind() {\n\treturn $reflectApply(bind, $apply, arguments);\n};\n\nif ($defineProperty) {\n\t$defineProperty(module.exports, 'apply', { value: applyBind });\n} else {\n\tmodule.exports.apply = applyBind;\n}\n\n\n//# sourceURL=webpack://@kintone/dts-gen/../../node_modules/.pnpm/call-bind@1.0.7/node_modules/call-bind/index.js?");
|
|
97
163
|
|
|
98
164
|
/***/ }),
|
|
99
165
|
|
|
@@ -104,7 +170,7 @@ eval("\n\nvar bind = __webpack_require__(/*! function-bind */ \"../../node_modul
|
|
|
104
170
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
105
171
|
|
|
106
172
|
"use strict";
|
|
107
|
-
eval("\n\nvar $defineProperty = __webpack_require__(/*! es-define-property */ \"../../node_modules/.pnpm/es-define-property@1.0.
|
|
173
|
+
eval("\n\nvar $defineProperty = __webpack_require__(/*! es-define-property */ \"../../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js\");\n\nvar $SyntaxError = __webpack_require__(/*! es-errors/syntax */ \"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js\");\nvar $TypeError = __webpack_require__(/*! es-errors/type */ \"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js\");\n\nvar gopd = __webpack_require__(/*! gopd */ \"../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js\");\n\n/** @type {import('.')} */\nmodule.exports = function defineDataProperty(\n\tobj,\n\tproperty,\n\tvalue\n) {\n\tif (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {\n\t\tthrow new $TypeError('`obj` must be an object or a function`');\n\t}\n\tif (typeof property !== 'string' && typeof property !== 'symbol') {\n\t\tthrow new $TypeError('`property` must be a string or a symbol`');\n\t}\n\tif (arguments.length > 3 && typeof arguments[3] !== 'boolean' && arguments[3] !== null) {\n\t\tthrow new $TypeError('`nonEnumerable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 4 && typeof arguments[4] !== 'boolean' && arguments[4] !== null) {\n\t\tthrow new $TypeError('`nonWritable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 5 && typeof arguments[5] !== 'boolean' && arguments[5] !== null) {\n\t\tthrow new $TypeError('`nonConfigurable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 6 && typeof arguments[6] !== 'boolean') {\n\t\tthrow new $TypeError('`loose`, if provided, must be a boolean');\n\t}\n\n\tvar nonEnumerable = arguments.length > 3 ? arguments[3] : null;\n\tvar nonWritable = arguments.length > 4 ? arguments[4] : null;\n\tvar nonConfigurable = arguments.length > 5 ? arguments[5] : null;\n\tvar loose = arguments.length > 6 ? arguments[6] : false;\n\n\t/* @type {false | TypedPropertyDescriptor<unknown>} */\n\tvar desc = !!gopd && gopd(obj, property);\n\n\tif ($defineProperty) {\n\t\t$defineProperty(obj, property, {\n\t\t\tconfigurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,\n\t\t\tenumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,\n\t\t\tvalue: value,\n\t\t\twritable: nonWritable === null && desc ? desc.writable : !nonWritable\n\t\t});\n\t} else if (loose || (!nonEnumerable && !nonWritable && !nonConfigurable)) {\n\t\t// must fall back to [[Set]], and was not explicitly asked to make non-enumerable, non-writable, or non-configurable\n\t\tobj[property] = value; // eslint-disable-line no-param-reassign\n\t} else {\n\t\tthrow new $SyntaxError('This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.');\n\t}\n};\n\n\n//# sourceURL=webpack://@kintone/dts-gen/../../node_modules/.pnpm/define-data-property@1.1.4/node_modules/define-data-property/index.js?");
|
|
108
174
|
|
|
109
175
|
/***/ }),
|
|
110
176
|
|
|
@@ -119,6 +185,17 @@ eval("\n\nvar keys = __webpack_require__(/*! object-keys */ \"../../node_modules
|
|
|
119
185
|
|
|
120
186
|
/***/ }),
|
|
121
187
|
|
|
188
|
+
/***/ "../../node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js":
|
|
189
|
+
/*!************************************************************************************!*\
|
|
190
|
+
!*** ../../node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js ***!
|
|
191
|
+
\************************************************************************************/
|
|
192
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
193
|
+
|
|
194
|
+
"use strict";
|
|
195
|
+
eval("\n\nvar callBind = __webpack_require__(/*! call-bind-apply-helpers */ \"../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/index.js\");\nvar gOPD = __webpack_require__(/*! gopd */ \"../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js\");\n\nvar hasProtoAccessor;\ntry {\n\t// eslint-disable-next-line no-extra-parens, no-proto\n\thasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */ ([]).__proto__ === Array.prototype;\n} catch (e) {\n\tif (!e || typeof e !== 'object' || !('code' in e) || e.code !== 'ERR_PROTO_ACCESS') {\n\t\tthrow e;\n\t}\n}\n\n// eslint-disable-next-line no-extra-parens\nvar desc = !!hasProtoAccessor && gOPD && gOPD(Object.prototype, /** @type {keyof typeof Object.prototype} */ ('__proto__'));\n\nvar $Object = Object;\nvar $getPrototypeOf = $Object.getPrototypeOf;\n\n/** @type {import('./get')} */\nmodule.exports = desc && typeof desc.get === 'function'\n\t? callBind([desc.get])\n\t: typeof $getPrototypeOf === 'function'\n\t\t? /** @type {import('./get')} */ function getDunder(value) {\n\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\treturn $getPrototypeOf(value == null ? value : $Object(value));\n\t\t}\n\t\t: false;\n\n\n//# sourceURL=webpack://@kintone/dts-gen/../../node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js?");
|
|
196
|
+
|
|
197
|
+
/***/ }),
|
|
198
|
+
|
|
122
199
|
/***/ "../../node_modules/.pnpm/es-define-property@1.0.0/node_modules/es-define-property/index.js":
|
|
123
200
|
/*!**************************************************************************************************!*\
|
|
124
201
|
!*** ../../node_modules/.pnpm/es-define-property@1.0.0/node_modules/es-define-property/index.js ***!
|
|
@@ -126,7 +203,18 @@ eval("\n\nvar keys = __webpack_require__(/*! object-keys */ \"../../node_modules
|
|
|
126
203
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
127
204
|
|
|
128
205
|
"use strict";
|
|
129
|
-
eval("\n\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"../../node_modules/.pnpm/get-intrinsic@1.2.
|
|
206
|
+
eval("\n\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"../../node_modules/.pnpm/get-intrinsic@1.2.7/node_modules/get-intrinsic/index.js\");\n\n/** @type {import('.')} */\nvar $defineProperty = GetIntrinsic('%Object.defineProperty%', true) || false;\nif ($defineProperty) {\n\ttry {\n\t\t$defineProperty({}, 'a', { value: 1 });\n\t} catch (e) {\n\t\t// IE 8 has a broken defineProperty\n\t\t$defineProperty = false;\n\t}\n}\n\nmodule.exports = $defineProperty;\n\n\n//# sourceURL=webpack://@kintone/dts-gen/../../node_modules/.pnpm/es-define-property@1.0.0/node_modules/es-define-property/index.js?");
|
|
207
|
+
|
|
208
|
+
/***/ }),
|
|
209
|
+
|
|
210
|
+
/***/ "../../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js":
|
|
211
|
+
/*!**************************************************************************************************!*\
|
|
212
|
+
!*** ../../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js ***!
|
|
213
|
+
\**************************************************************************************************/
|
|
214
|
+
/***/ ((module) => {
|
|
215
|
+
|
|
216
|
+
"use strict";
|
|
217
|
+
eval("\n\n/** @type {import('.')} */\nvar $defineProperty = Object.defineProperty || false;\nif ($defineProperty) {\n\ttry {\n\t\t$defineProperty({}, 'a', { value: 1 });\n\t} catch (e) {\n\t\t// IE 8 has a broken defineProperty\n\t\t$defineProperty = false;\n\t}\n}\n\nmodule.exports = $defineProperty;\n\n\n//# sourceURL=webpack://@kintone/dts-gen/../../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js?");
|
|
130
218
|
|
|
131
219
|
/***/ }),
|
|
132
220
|
|
|
@@ -207,6 +295,17 @@ eval("\n\n/** @type {import('./uri')} */\nmodule.exports = URIError;\n\n\n//# so
|
|
|
207
295
|
|
|
208
296
|
/***/ }),
|
|
209
297
|
|
|
298
|
+
/***/ "../../node_modules/.pnpm/es-object-atoms@1.0.0/node_modules/es-object-atoms/index.js":
|
|
299
|
+
/*!********************************************************************************************!*\
|
|
300
|
+
!*** ../../node_modules/.pnpm/es-object-atoms@1.0.0/node_modules/es-object-atoms/index.js ***!
|
|
301
|
+
\********************************************************************************************/
|
|
302
|
+
/***/ ((module) => {
|
|
303
|
+
|
|
304
|
+
"use strict";
|
|
305
|
+
eval("\n\n/** @type {import('.')} */\nmodule.exports = Object;\n\n\n//# sourceURL=webpack://@kintone/dts-gen/../../node_modules/.pnpm/es-object-atoms@1.0.0/node_modules/es-object-atoms/index.js?");
|
|
306
|
+
|
|
307
|
+
/***/ }),
|
|
308
|
+
|
|
210
309
|
/***/ "../../node_modules/.pnpm/for-each@0.3.3/node_modules/for-each/index.js":
|
|
211
310
|
/*!******************************************************************************!*\
|
|
212
311
|
!*** ../../node_modules/.pnpm/for-each@0.3.3/node_modules/for-each/index.js ***!
|
|
@@ -251,6 +350,50 @@ eval("\n\nvar undefined;\n\nvar $Error = __webpack_require__(/*! es-errors */ \"
|
|
|
251
350
|
|
|
252
351
|
/***/ }),
|
|
253
352
|
|
|
353
|
+
/***/ "../../node_modules/.pnpm/get-intrinsic@1.2.7/node_modules/get-intrinsic/index.js":
|
|
354
|
+
/*!****************************************************************************************!*\
|
|
355
|
+
!*** ../../node_modules/.pnpm/get-intrinsic@1.2.7/node_modules/get-intrinsic/index.js ***!
|
|
356
|
+
\****************************************************************************************/
|
|
357
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
358
|
+
|
|
359
|
+
"use strict";
|
|
360
|
+
eval("\n\nvar undefined;\n\nvar $Object = __webpack_require__(/*! es-object-atoms */ \"../../node_modules/.pnpm/es-object-atoms@1.0.0/node_modules/es-object-atoms/index.js\");\n\nvar $Error = __webpack_require__(/*! es-errors */ \"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js\");\nvar $EvalError = __webpack_require__(/*! es-errors/eval */ \"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js\");\nvar $RangeError = __webpack_require__(/*! es-errors/range */ \"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js\");\nvar $ReferenceError = __webpack_require__(/*! es-errors/ref */ \"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js\");\nvar $SyntaxError = __webpack_require__(/*! es-errors/syntax */ \"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js\");\nvar $TypeError = __webpack_require__(/*! es-errors/type */ \"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js\");\nvar $URIError = __webpack_require__(/*! es-errors/uri */ \"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js\");\n\nvar abs = __webpack_require__(/*! math-intrinsics/abs */ \"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js\");\nvar floor = __webpack_require__(/*! math-intrinsics/floor */ \"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js\");\nvar max = __webpack_require__(/*! math-intrinsics/max */ \"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js\");\nvar min = __webpack_require__(/*! math-intrinsics/min */ \"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js\");\nvar pow = __webpack_require__(/*! math-intrinsics/pow */ \"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js\");\nvar round = __webpack_require__(/*! math-intrinsics/round */ \"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js\");\nvar sign = __webpack_require__(/*! math-intrinsics/sign */ \"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js\");\n\nvar $Function = Function;\n\n// eslint-disable-next-line consistent-return\nvar getEvalledConstructor = function (expressionSyntax) {\n\ttry {\n\t\treturn $Function('\"use strict\"; return (' + expressionSyntax + ').constructor;')();\n\t} catch (e) {}\n};\n\nvar $gOPD = __webpack_require__(/*! gopd */ \"../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js\");\nvar $defineProperty = __webpack_require__(/*! es-define-property */ \"../../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js\");\n\nvar throwTypeError = function () {\n\tthrow new $TypeError();\n};\nvar ThrowTypeError = $gOPD\n\t? (function () {\n\t\ttry {\n\t\t\t// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n\t\t\targuments.callee; // IE 8 does not throw here\n\t\t\treturn throwTypeError;\n\t\t} catch (calleeThrows) {\n\t\t\ttry {\n\t\t\t\t// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n\t\t\t\treturn $gOPD(arguments, 'callee').get;\n\t\t\t} catch (gOPDthrows) {\n\t\t\t\treturn throwTypeError;\n\t\t\t}\n\t\t}\n\t}())\n\t: throwTypeError;\n\nvar hasSymbols = __webpack_require__(/*! has-symbols */ \"../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js\")();\n\nvar getProto = __webpack_require__(/*! get-proto */ \"../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js\");\nvar $ObjectGPO = __webpack_require__(/*! get-proto/Object.getPrototypeOf */ \"../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js\");\nvar $ReflectGPO = __webpack_require__(/*! get-proto/Reflect.getPrototypeOf */ \"../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js\");\n\nvar $apply = __webpack_require__(/*! call-bind-apply-helpers/functionApply */ \"../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionApply.js\");\nvar $call = __webpack_require__(/*! call-bind-apply-helpers/functionCall */ \"../../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionCall.js\");\n\nvar needsEval = {};\n\nvar TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);\n\nvar INTRINSICS = {\n\t__proto__: null,\n\t'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,\n\t'%Array%': Array,\n\t'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,\n\t'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,\n\t'%AsyncFromSyncIteratorPrototype%': undefined,\n\t'%AsyncFunction%': needsEval,\n\t'%AsyncGenerator%': needsEval,\n\t'%AsyncGeneratorFunction%': needsEval,\n\t'%AsyncIteratorPrototype%': needsEval,\n\t'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,\n\t'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,\n\t'%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,\n\t'%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,\n\t'%Boolean%': Boolean,\n\t'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,\n\t'%Date%': Date,\n\t'%decodeURI%': decodeURI,\n\t'%decodeURIComponent%': decodeURIComponent,\n\t'%encodeURI%': encodeURI,\n\t'%encodeURIComponent%': encodeURIComponent,\n\t'%Error%': $Error,\n\t'%eval%': eval, // eslint-disable-line no-eval\n\t'%EvalError%': $EvalError,\n\t'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,\n\t'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,\n\t'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,\n\t'%Function%': $Function,\n\t'%GeneratorFunction%': needsEval,\n\t'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,\n\t'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,\n\t'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,\n\t'%isFinite%': isFinite,\n\t'%isNaN%': isNaN,\n\t'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,\n\t'%JSON%': typeof JSON === 'object' ? JSON : undefined,\n\t'%Map%': typeof Map === 'undefined' ? undefined : Map,\n\t'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),\n\t'%Math%': Math,\n\t'%Number%': Number,\n\t'%Object%': $Object,\n\t'%Object.getOwnPropertyDescriptor%': $gOPD,\n\t'%parseFloat%': parseFloat,\n\t'%parseInt%': parseInt,\n\t'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,\n\t'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,\n\t'%RangeError%': $RangeError,\n\t'%ReferenceError%': $ReferenceError,\n\t'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,\n\t'%RegExp%': RegExp,\n\t'%Set%': typeof Set === 'undefined' ? undefined : Set,\n\t'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),\n\t'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,\n\t'%String%': String,\n\t'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,\n\t'%Symbol%': hasSymbols ? Symbol : undefined,\n\t'%SyntaxError%': $SyntaxError,\n\t'%ThrowTypeError%': ThrowTypeError,\n\t'%TypedArray%': TypedArray,\n\t'%TypeError%': $TypeError,\n\t'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,\n\t'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,\n\t'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,\n\t'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,\n\t'%URIError%': $URIError,\n\t'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,\n\t'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,\n\t'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet,\n\n\t'%Function.prototype.call%': $call,\n\t'%Function.prototype.apply%': $apply,\n\t'%Object.defineProperty%': $defineProperty,\n\t'%Object.getPrototypeOf%': $ObjectGPO,\n\t'%Math.abs%': abs,\n\t'%Math.floor%': floor,\n\t'%Math.max%': max,\n\t'%Math.min%': min,\n\t'%Math.pow%': pow,\n\t'%Math.round%': round,\n\t'%Math.sign%': sign,\n\t'%Reflect.getPrototypeOf%': $ReflectGPO\n};\n\nif (getProto) {\n\ttry {\n\t\tnull.error; // eslint-disable-line no-unused-expressions\n\t} catch (e) {\n\t\t// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229\n\t\tvar errorProto = getProto(getProto(e));\n\t\tINTRINSICS['%Error.prototype%'] = errorProto;\n\t}\n}\n\nvar doEval = function doEval(name) {\n\tvar value;\n\tif (name === '%AsyncFunction%') {\n\t\tvalue = getEvalledConstructor('async function () {}');\n\t} else if (name === '%GeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('function* () {}');\n\t} else if (name === '%AsyncGeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('async function* () {}');\n\t} else if (name === '%AsyncGenerator%') {\n\t\tvar fn = doEval('%AsyncGeneratorFunction%');\n\t\tif (fn) {\n\t\t\tvalue = fn.prototype;\n\t\t}\n\t} else if (name === '%AsyncIteratorPrototype%') {\n\t\tvar gen = doEval('%AsyncGenerator%');\n\t\tif (gen && getProto) {\n\t\t\tvalue = getProto(gen.prototype);\n\t\t}\n\t}\n\n\tINTRINSICS[name] = value;\n\n\treturn value;\n};\n\nvar LEGACY_ALIASES = {\n\t__proto__: null,\n\t'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],\n\t'%ArrayPrototype%': ['Array', 'prototype'],\n\t'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],\n\t'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],\n\t'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],\n\t'%ArrayProto_values%': ['Array', 'prototype', 'values'],\n\t'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],\n\t'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],\n\t'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],\n\t'%BooleanPrototype%': ['Boolean', 'prototype'],\n\t'%DataViewPrototype%': ['DataView', 'prototype'],\n\t'%DatePrototype%': ['Date', 'prototype'],\n\t'%ErrorPrototype%': ['Error', 'prototype'],\n\t'%EvalErrorPrototype%': ['EvalError', 'prototype'],\n\t'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],\n\t'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],\n\t'%FunctionPrototype%': ['Function', 'prototype'],\n\t'%Generator%': ['GeneratorFunction', 'prototype'],\n\t'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],\n\t'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],\n\t'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],\n\t'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],\n\t'%JSONParse%': ['JSON', 'parse'],\n\t'%JSONStringify%': ['JSON', 'stringify'],\n\t'%MapPrototype%': ['Map', 'prototype'],\n\t'%NumberPrototype%': ['Number', 'prototype'],\n\t'%ObjectPrototype%': ['Object', 'prototype'],\n\t'%ObjProto_toString%': ['Object', 'prototype', 'toString'],\n\t'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],\n\t'%PromisePrototype%': ['Promise', 'prototype'],\n\t'%PromiseProto_then%': ['Promise', 'prototype', 'then'],\n\t'%Promise_all%': ['Promise', 'all'],\n\t'%Promise_reject%': ['Promise', 'reject'],\n\t'%Promise_resolve%': ['Promise', 'resolve'],\n\t'%RangeErrorPrototype%': ['RangeError', 'prototype'],\n\t'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],\n\t'%RegExpPrototype%': ['RegExp', 'prototype'],\n\t'%SetPrototype%': ['Set', 'prototype'],\n\t'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],\n\t'%StringPrototype%': ['String', 'prototype'],\n\t'%SymbolPrototype%': ['Symbol', 'prototype'],\n\t'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],\n\t'%TypedArrayPrototype%': ['TypedArray', 'prototype'],\n\t'%TypeErrorPrototype%': ['TypeError', 'prototype'],\n\t'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],\n\t'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],\n\t'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],\n\t'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],\n\t'%URIErrorPrototype%': ['URIError', 'prototype'],\n\t'%WeakMapPrototype%': ['WeakMap', 'prototype'],\n\t'%WeakSetPrototype%': ['WeakSet', 'prototype']\n};\n\nvar bind = __webpack_require__(/*! function-bind */ \"../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js\");\nvar hasOwn = __webpack_require__(/*! hasown */ \"../../node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js\");\nvar $concat = bind.call($call, Array.prototype.concat);\nvar $spliceApply = bind.call($apply, Array.prototype.splice);\nvar $replace = bind.call($call, String.prototype.replace);\nvar $strSlice = bind.call($call, String.prototype.slice);\nvar $exec = bind.call($call, RegExp.prototype.exec);\n\n/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\nvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\nvar reEscapeChar = /\\\\(\\\\)?/g; /** Used to match backslashes in property paths. */\nvar stringToPath = function stringToPath(string) {\n\tvar first = $strSlice(string, 0, 1);\n\tvar last = $strSlice(string, -1);\n\tif (first === '%' && last !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected closing `%`');\n\t} else if (last === '%' && first !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected opening `%`');\n\t}\n\tvar result = [];\n\t$replace(string, rePropName, function (match, number, quote, subString) {\n\t\tresult[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;\n\t});\n\treturn result;\n};\n/* end adaptation */\n\nvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n\tvar intrinsicName = name;\n\tvar alias;\n\tif (hasOwn(LEGACY_ALIASES, intrinsicName)) {\n\t\talias = LEGACY_ALIASES[intrinsicName];\n\t\tintrinsicName = '%' + alias[0] + '%';\n\t}\n\n\tif (hasOwn(INTRINSICS, intrinsicName)) {\n\t\tvar value = INTRINSICS[intrinsicName];\n\t\tif (value === needsEval) {\n\t\t\tvalue = doEval(intrinsicName);\n\t\t}\n\t\tif (typeof value === 'undefined' && !allowMissing) {\n\t\t\tthrow new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n\t\t}\n\n\t\treturn {\n\t\t\talias: alias,\n\t\t\tname: intrinsicName,\n\t\t\tvalue: value\n\t\t};\n\t}\n\n\tthrow new $SyntaxError('intrinsic ' + name + ' does not exist!');\n};\n\nmodule.exports = function GetIntrinsic(name, allowMissing) {\n\tif (typeof name !== 'string' || name.length === 0) {\n\t\tthrow new $TypeError('intrinsic name must be a non-empty string');\n\t}\n\tif (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n\t\tthrow new $TypeError('\"allowMissing\" argument must be a boolean');\n\t}\n\n\tif ($exec(/^%?[^%]*%?$/, name) === null) {\n\t\tthrow new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');\n\t}\n\tvar parts = stringToPath(name);\n\tvar intrinsicBaseName = parts.length > 0 ? parts[0] : '';\n\n\tvar intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);\n\tvar intrinsicRealName = intrinsic.name;\n\tvar value = intrinsic.value;\n\tvar skipFurtherCaching = false;\n\n\tvar alias = intrinsic.alias;\n\tif (alias) {\n\t\tintrinsicBaseName = alias[0];\n\t\t$spliceApply(parts, $concat([0, 1], alias));\n\t}\n\n\tfor (var i = 1, isOwn = true; i < parts.length; i += 1) {\n\t\tvar part = parts[i];\n\t\tvar first = $strSlice(part, 0, 1);\n\t\tvar last = $strSlice(part, -1);\n\t\tif (\n\t\t\t(\n\t\t\t\t(first === '\"' || first === \"'\" || first === '`')\n\t\t\t\t|| (last === '\"' || last === \"'\" || last === '`')\n\t\t\t)\n\t\t\t&& first !== last\n\t\t) {\n\t\t\tthrow new $SyntaxError('property names with quotes must have matching quotes');\n\t\t}\n\t\tif (part === 'constructor' || !isOwn) {\n\t\t\tskipFurtherCaching = true;\n\t\t}\n\n\t\tintrinsicBaseName += '.' + part;\n\t\tintrinsicRealName = '%' + intrinsicBaseName + '%';\n\n\t\tif (hasOwn(INTRINSICS, intrinsicRealName)) {\n\t\t\tvalue = INTRINSICS[intrinsicRealName];\n\t\t} else if (value != null) {\n\t\t\tif (!(part in value)) {\n\t\t\t\tif (!allowMissing) {\n\t\t\t\t\tthrow new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');\n\t\t\t\t}\n\t\t\t\treturn void undefined;\n\t\t\t}\n\t\t\tif ($gOPD && (i + 1) >= parts.length) {\n\t\t\t\tvar desc = $gOPD(value, part);\n\t\t\t\tisOwn = !!desc;\n\n\t\t\t\t// By convention, when a data property is converted to an accessor\n\t\t\t\t// property to emulate a data property that does not suffer from\n\t\t\t\t// the override mistake, that accessor's getter is marked with\n\t\t\t\t// an `originalValue` property. Here, when we detect this, we\n\t\t\t\t// uphold the illusion by pretending to see that original data\n\t\t\t\t// property, i.e., returning the value rather than the getter\n\t\t\t\t// itself.\n\t\t\t\tif (isOwn && 'get' in desc && !('originalValue' in desc.get)) {\n\t\t\t\t\tvalue = desc.get;\n\t\t\t\t} else {\n\t\t\t\t\tvalue = value[part];\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tisOwn = hasOwn(value, part);\n\t\t\t\tvalue = value[part];\n\t\t\t}\n\n\t\t\tif (isOwn && !skipFurtherCaching) {\n\t\t\t\tINTRINSICS[intrinsicRealName] = value;\n\t\t\t}\n\t\t}\n\t}\n\treturn value;\n};\n\n\n//# sourceURL=webpack://@kintone/dts-gen/../../node_modules/.pnpm/get-intrinsic@1.2.7/node_modules/get-intrinsic/index.js?");
|
|
361
|
+
|
|
362
|
+
/***/ }),
|
|
363
|
+
|
|
364
|
+
/***/ "../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js":
|
|
365
|
+
/*!************************************************************************************************!*\
|
|
366
|
+
!*** ../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js ***!
|
|
367
|
+
\************************************************************************************************/
|
|
368
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
369
|
+
|
|
370
|
+
"use strict";
|
|
371
|
+
eval("\n\nvar $Object = __webpack_require__(/*! es-object-atoms */ \"../../node_modules/.pnpm/es-object-atoms@1.0.0/node_modules/es-object-atoms/index.js\");\n\n/** @type {import('./Object.getPrototypeOf')} */\nmodule.exports = $Object.getPrototypeOf || null;\n\n\n//# sourceURL=webpack://@kintone/dts-gen/../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js?");
|
|
372
|
+
|
|
373
|
+
/***/ }),
|
|
374
|
+
|
|
375
|
+
/***/ "../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js":
|
|
376
|
+
/*!*************************************************************************************************!*\
|
|
377
|
+
!*** ../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js ***!
|
|
378
|
+
\*************************************************************************************************/
|
|
379
|
+
/***/ ((module) => {
|
|
380
|
+
|
|
381
|
+
"use strict";
|
|
382
|
+
eval("\n\n/** @type {import('./Reflect.getPrototypeOf')} */\nmodule.exports = (typeof Reflect !== 'undefined' && Reflect.getPrototypeOf) || null;\n\n\n//# sourceURL=webpack://@kintone/dts-gen/../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js?");
|
|
383
|
+
|
|
384
|
+
/***/ }),
|
|
385
|
+
|
|
386
|
+
/***/ "../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js":
|
|
387
|
+
/*!********************************************************************************!*\
|
|
388
|
+
!*** ../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js ***!
|
|
389
|
+
\********************************************************************************/
|
|
390
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
391
|
+
|
|
392
|
+
"use strict";
|
|
393
|
+
eval("\n\nvar reflectGetProto = __webpack_require__(/*! ./Reflect.getPrototypeOf */ \"../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js\");\nvar originalGetProto = __webpack_require__(/*! ./Object.getPrototypeOf */ \"../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js\");\n\nvar getDunderProto = __webpack_require__(/*! dunder-proto/get */ \"../../node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js\");\n\n/** @type {import('.')} */\nmodule.exports = reflectGetProto\n\t? function getProto(O) {\n\t\t// @ts-expect-error TS can't narrow inside a closure, for some reason\n\t\treturn reflectGetProto(O);\n\t}\n\t: originalGetProto\n\t\t? function getProto(O) {\n\t\t\tif (!O || (typeof O !== 'object' && typeof O !== 'function')) {\n\t\t\t\tthrow new TypeError('getProto: not an object');\n\t\t\t}\n\t\t\t// @ts-expect-error TS can't narrow inside a closure, for some reason\n\t\t\treturn originalGetProto(O);\n\t\t}\n\t\t: getDunderProto\n\t\t\t? function getProto(O) {\n\t\t\t\t// @ts-expect-error TS can't narrow inside a closure, for some reason\n\t\t\t\treturn getDunderProto(O);\n\t\t\t}\n\t\t\t: null;\n\n\n//# sourceURL=webpack://@kintone/dts-gen/../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js?");
|
|
394
|
+
|
|
395
|
+
/***/ }),
|
|
396
|
+
|
|
254
397
|
/***/ "../../node_modules/.pnpm/gopd@1.0.1/node_modules/gopd/index.js":
|
|
255
398
|
/*!**********************************************************************!*\
|
|
256
399
|
!*** ../../node_modules/.pnpm/gopd@1.0.1/node_modules/gopd/index.js ***!
|
|
@@ -258,7 +401,29 @@ eval("\n\nvar undefined;\n\nvar $Error = __webpack_require__(/*! es-errors */ \"
|
|
|
258
401
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
259
402
|
|
|
260
403
|
"use strict";
|
|
261
|
-
eval("\n\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"../../node_modules/.pnpm/get-intrinsic@1.2.
|
|
404
|
+
eval("\n\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"../../node_modules/.pnpm/get-intrinsic@1.2.7/node_modules/get-intrinsic/index.js\");\n\nvar $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);\n\nif ($gOPD) {\n\ttry {\n\t\t$gOPD([], 'length');\n\t} catch (e) {\n\t\t// IE 8 has a broken gOPD\n\t\t$gOPD = null;\n\t}\n}\n\nmodule.exports = $gOPD;\n\n\n//# sourceURL=webpack://@kintone/dts-gen/../../node_modules/.pnpm/gopd@1.0.1/node_modules/gopd/index.js?");
|
|
405
|
+
|
|
406
|
+
/***/ }),
|
|
407
|
+
|
|
408
|
+
/***/ "../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js":
|
|
409
|
+
/*!*********************************************************************!*\
|
|
410
|
+
!*** ../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js ***!
|
|
411
|
+
\*********************************************************************/
|
|
412
|
+
/***/ ((module) => {
|
|
413
|
+
|
|
414
|
+
"use strict";
|
|
415
|
+
eval("\n\n/** @type {import('./gOPD')} */\nmodule.exports = Object.getOwnPropertyDescriptor;\n\n\n//# sourceURL=webpack://@kintone/dts-gen/../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js?");
|
|
416
|
+
|
|
417
|
+
/***/ }),
|
|
418
|
+
|
|
419
|
+
/***/ "../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js":
|
|
420
|
+
/*!**********************************************************************!*\
|
|
421
|
+
!*** ../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js ***!
|
|
422
|
+
\**********************************************************************/
|
|
423
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
424
|
+
|
|
425
|
+
"use strict";
|
|
426
|
+
eval("\n\n/** @type {import('.')} */\nvar $gOPD = __webpack_require__(/*! ./gOPD */ \"../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js\");\n\nif ($gOPD) {\n\ttry {\n\t\t$gOPD([], 'length');\n\t} catch (e) {\n\t\t// IE 8 has a broken gOPD\n\t\t$gOPD = null;\n\t}\n}\n\nmodule.exports = $gOPD;\n\n\n//# sourceURL=webpack://@kintone/dts-gen/../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js?");
|
|
262
427
|
|
|
263
428
|
/***/ }),
|
|
264
429
|
|
|
@@ -269,7 +434,7 @@ eval("\n\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"../../no
|
|
|
269
434
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
270
435
|
|
|
271
436
|
"use strict";
|
|
272
|
-
eval("\n\nvar $defineProperty = __webpack_require__(/*! es-define-property */ \"../../node_modules/.pnpm/es-define-property@1.0.
|
|
437
|
+
eval("\n\nvar $defineProperty = __webpack_require__(/*! es-define-property */ \"../../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js\");\n\nvar hasPropertyDescriptors = function hasPropertyDescriptors() {\n\treturn !!$defineProperty;\n};\n\nhasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {\n\t// node v0.6 has a bug where array lengths can be Set but not Defined\n\tif (!$defineProperty) {\n\t\treturn null;\n\t}\n\ttry {\n\t\treturn $defineProperty([], 'length', { value: 1 }).length !== 1;\n\t} catch (e) {\n\t\t// In Firefox 4-22, defining length on an array throws an exception.\n\t\treturn true;\n\t}\n};\n\nmodule.exports = hasPropertyDescriptors;\n\n\n//# sourceURL=webpack://@kintone/dts-gen/../../node_modules/.pnpm/has-property-descriptors@1.0.2/node_modules/has-property-descriptors/index.js?");
|
|
273
438
|
|
|
274
439
|
/***/ }),
|
|
275
440
|
|
|
@@ -306,6 +471,28 @@ eval("\n\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.expo
|
|
|
306
471
|
|
|
307
472
|
/***/ }),
|
|
308
473
|
|
|
474
|
+
/***/ "../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js":
|
|
475
|
+
/*!************************************************************************************!*\
|
|
476
|
+
!*** ../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js ***!
|
|
477
|
+
\************************************************************************************/
|
|
478
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
479
|
+
|
|
480
|
+
"use strict";
|
|
481
|
+
eval("\n\nvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\nvar hasSymbolSham = __webpack_require__(/*! ./shams */ \"../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js\");\n\n/** @type {import('.')} */\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n\n\n//# sourceURL=webpack://@kintone/dts-gen/../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js?");
|
|
482
|
+
|
|
483
|
+
/***/ }),
|
|
484
|
+
|
|
485
|
+
/***/ "../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js":
|
|
486
|
+
/*!************************************************************************************!*\
|
|
487
|
+
!*** ../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js ***!
|
|
488
|
+
\************************************************************************************/
|
|
489
|
+
/***/ ((module) => {
|
|
490
|
+
|
|
491
|
+
"use strict";
|
|
492
|
+
eval("\n\n/** @type {import('./shams')} */\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\t/** @type {{ [k in symbol]?: unknown }} */\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (var _ in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\t// eslint-disable-next-line no-extra-parens\n\t\tvar descriptor = /** @type {PropertyDescriptor} */ (Object.getOwnPropertyDescriptor(obj, sym));\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n\n\n//# sourceURL=webpack://@kintone/dts-gen/../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js?");
|
|
493
|
+
|
|
494
|
+
/***/ }),
|
|
495
|
+
|
|
309
496
|
/***/ "../../node_modules/.pnpm/has-tostringtag@1.0.0/node_modules/has-tostringtag/shams.js":
|
|
310
497
|
/*!********************************************************************************************!*\
|
|
311
498
|
!*** ../../node_modules/.pnpm/has-tostringtag@1.0.0/node_modules/has-tostringtag/shams.js ***!
|
|
@@ -313,7 +500,7 @@ eval("\n\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.expo
|
|
|
313
500
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
314
501
|
|
|
315
502
|
"use strict";
|
|
316
|
-
eval("\n\nvar hasSymbols = __webpack_require__(/*! has-symbols/shams */ \"../../node_modules/.pnpm/has-symbols@1.0
|
|
503
|
+
eval("\n\nvar hasSymbols = __webpack_require__(/*! has-symbols/shams */ \"../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js\");\n\nmodule.exports = function hasToStringTagShams() {\n\treturn hasSymbols() && !!Symbol.toStringTag;\n};\n\n\n//# sourceURL=webpack://@kintone/dts-gen/../../node_modules/.pnpm/has-tostringtag@1.0.0/node_modules/has-tostringtag/shams.js?");
|
|
317
504
|
|
|
318
505
|
/***/ }),
|
|
319
506
|
|
|
@@ -426,6 +613,94 @@ eval("\n\nvar whichTypedArray = __webpack_require__(/*! which-typed-array */ \".
|
|
|
426
613
|
|
|
427
614
|
/***/ }),
|
|
428
615
|
|
|
616
|
+
/***/ "../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js":
|
|
617
|
+
/*!******************************************************************************************!*\
|
|
618
|
+
!*** ../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js ***!
|
|
619
|
+
\******************************************************************************************/
|
|
620
|
+
/***/ ((module) => {
|
|
621
|
+
|
|
622
|
+
"use strict";
|
|
623
|
+
eval("\n\n/** @type {import('./abs')} */\nmodule.exports = Math.abs;\n\n\n//# sourceURL=webpack://@kintone/dts-gen/../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js?");
|
|
624
|
+
|
|
625
|
+
/***/ }),
|
|
626
|
+
|
|
627
|
+
/***/ "../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js":
|
|
628
|
+
/*!********************************************************************************************!*\
|
|
629
|
+
!*** ../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js ***!
|
|
630
|
+
\********************************************************************************************/
|
|
631
|
+
/***/ ((module) => {
|
|
632
|
+
|
|
633
|
+
"use strict";
|
|
634
|
+
eval("\n\n/** @type {import('./floor')} */\nmodule.exports = Math.floor;\n\n\n//# sourceURL=webpack://@kintone/dts-gen/../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js?");
|
|
635
|
+
|
|
636
|
+
/***/ }),
|
|
637
|
+
|
|
638
|
+
/***/ "../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js":
|
|
639
|
+
/*!********************************************************************************************!*\
|
|
640
|
+
!*** ../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js ***!
|
|
641
|
+
\********************************************************************************************/
|
|
642
|
+
/***/ ((module) => {
|
|
643
|
+
|
|
644
|
+
"use strict";
|
|
645
|
+
eval("\n\n/** @type {import('./isNaN')} */\nmodule.exports = Number.isNaN || function isNaN(a) {\n\treturn a !== a;\n};\n\n\n//# sourceURL=webpack://@kintone/dts-gen/../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js?");
|
|
646
|
+
|
|
647
|
+
/***/ }),
|
|
648
|
+
|
|
649
|
+
/***/ "../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js":
|
|
650
|
+
/*!******************************************************************************************!*\
|
|
651
|
+
!*** ../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js ***!
|
|
652
|
+
\******************************************************************************************/
|
|
653
|
+
/***/ ((module) => {
|
|
654
|
+
|
|
655
|
+
"use strict";
|
|
656
|
+
eval("\n\n/** @type {import('./max')} */\nmodule.exports = Math.max;\n\n\n//# sourceURL=webpack://@kintone/dts-gen/../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js?");
|
|
657
|
+
|
|
658
|
+
/***/ }),
|
|
659
|
+
|
|
660
|
+
/***/ "../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js":
|
|
661
|
+
/*!******************************************************************************************!*\
|
|
662
|
+
!*** ../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js ***!
|
|
663
|
+
\******************************************************************************************/
|
|
664
|
+
/***/ ((module) => {
|
|
665
|
+
|
|
666
|
+
"use strict";
|
|
667
|
+
eval("\n\n/** @type {import('./min')} */\nmodule.exports = Math.min;\n\n\n//# sourceURL=webpack://@kintone/dts-gen/../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js?");
|
|
668
|
+
|
|
669
|
+
/***/ }),
|
|
670
|
+
|
|
671
|
+
/***/ "../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js":
|
|
672
|
+
/*!******************************************************************************************!*\
|
|
673
|
+
!*** ../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js ***!
|
|
674
|
+
\******************************************************************************************/
|
|
675
|
+
/***/ ((module) => {
|
|
676
|
+
|
|
677
|
+
"use strict";
|
|
678
|
+
eval("\n\n/** @type {import('./pow')} */\nmodule.exports = Math.pow;\n\n\n//# sourceURL=webpack://@kintone/dts-gen/../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js?");
|
|
679
|
+
|
|
680
|
+
/***/ }),
|
|
681
|
+
|
|
682
|
+
/***/ "../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js":
|
|
683
|
+
/*!********************************************************************************************!*\
|
|
684
|
+
!*** ../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js ***!
|
|
685
|
+
\********************************************************************************************/
|
|
686
|
+
/***/ ((module) => {
|
|
687
|
+
|
|
688
|
+
"use strict";
|
|
689
|
+
eval("\n\n/** @type {import('./round')} */\nmodule.exports = Math.round;\n\n\n//# sourceURL=webpack://@kintone/dts-gen/../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js?");
|
|
690
|
+
|
|
691
|
+
/***/ }),
|
|
692
|
+
|
|
693
|
+
/***/ "../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js":
|
|
694
|
+
/*!*******************************************************************************************!*\
|
|
695
|
+
!*** ../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js ***!
|
|
696
|
+
\*******************************************************************************************/
|
|
697
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
698
|
+
|
|
699
|
+
"use strict";
|
|
700
|
+
eval("\n\nvar $isNaN = __webpack_require__(/*! ./isNaN */ \"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js\");\n\n/** @type {import('./sign')} */\nmodule.exports = function sign(number) {\n\tif ($isNaN(number) || number === 0) {\n\t\treturn number;\n\t}\n\treturn number < 0 ? -1 : +1;\n};\n\n\n//# sourceURL=webpack://@kintone/dts-gen/../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js?");
|
|
701
|
+
|
|
702
|
+
/***/ }),
|
|
703
|
+
|
|
429
704
|
/***/ "../../node_modules/.pnpm/object-is@1.1.5/node_modules/object-is/implementation.js":
|
|
430
705
|
/*!*****************************************************************************************!*\
|
|
431
706
|
!*** ../../node_modules/.pnpm/object-is@1.1.5/node_modules/object-is/implementation.js ***!
|
|
@@ -542,40 +817,7 @@ eval("// shim for using process in browser\nvar process = module.exports = {};\n
|
|
|
542
817
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
543
818
|
|
|
544
819
|
"use strict";
|
|
545
|
-
eval("\n\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"../../node_modules/.pnpm/get-intrinsic@1.2.
|
|
546
|
-
|
|
547
|
-
/***/ }),
|
|
548
|
-
|
|
549
|
-
/***/ "./src/integration-tests/dts-gen-api-test.ts":
|
|
550
|
-
/*!***************************************************!*\
|
|
551
|
-
!*** ./src/integration-tests/dts-gen-api-test.ts ***!
|
|
552
|
-
\***************************************************/
|
|
553
|
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
554
|
-
|
|
555
|
-
"use strict";
|
|
556
|
-
eval("\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.DTSGenApiTest = void 0;\nconst assert = __importStar(__webpack_require__(/*! assert */ \"../../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/assert.js\"));\nconst assertKintoneBuiltinFunctions = () => {\n assertFunctionExistInKintoneTopLevel();\n assertFunctionExistInKintonePromise();\n assertFunctionExistInKintoneEvent();\n assertFunctionExistInKintoneAPI();\n assertFunctionExistInKintoneProxy();\n assetFunctionExistInKintoneApp();\n assertFunctionExistInKintoneAppRecord();\n assertFunctionExistInKintoneMobileApp();\n assertFunctionExistInKintoneMobileAppRecord();\n assertPortalAPI();\n assertSpaceAPI();\n};\nconst assertFunction = (ref) => {\n assert.ok(ref);\n assert.ok(typeof ref === \"function\");\n};\nexports.DTSGenApiTest = {\n assertKintoneBuiltinFunctions,\n};\nconst assertFunctionExistInKintoneTopLevel = () => {\n assertFunction(kintone.getRequestToken);\n assertFunction(kintone.getLoginUser);\n assertFunction(kintone.getUiVersion);\n};\nconst assertFunctionExistInKintonePromise = () => {\n assertFunction(kintone.Promise);\n assertFunction(kintone.Promise.all);\n assertFunction(kintone.Promise.resolve);\n assertFunction(kintone.Promise.reject);\n // kintone.api.url\n assert.ok(kintone.api.url(\"/k/v1/records\").endsWith(\"/k/v1/records.json\"));\n // only to check to compile success\n kintone.api.url(\"/k/v1/records\", true);\n const okPromise = new kintone.Promise((resolve) => resolve(1));\n assert.ok(okPromise);\n okPromise\n .then((resolved) => {\n assert.ok(resolved === 1);\n })\n .catch(() => {\n assert.fail(\"should not be called\");\n });\n const ngPromise = new kintone.Promise((_, reject) => reject(1));\n ngPromise\n .then(() => {\n assert.fail(\"should not be called\");\n })\n .catch((rejected) => assert.ok(rejected === 1));\n kintone.Promise.resolve(1)\n .then((resolved) => assert.ok(resolved === 1))\n .catch(() => assert.fail(\"should not be called\"));\n kintone.Promise.reject(\"reject\")\n .then(() => assert.fail(\"should not be called\"))\n .catch((reject) => assert.ok(reject === \"reject\"));\n kintone.Promise.all([\n kintone.Promise.resolve(1),\n kintone.Promise.resolve(2),\n kintone.Promise.resolve(3),\n ]).then((resolved) => {\n assert.ok(resolved.length === 3);\n assert.ok(resolved[0] === 1);\n assert.ok(resolved[1] === 2);\n assert.ok(resolved[2] === 3);\n });\n};\nconst assertFunctionExistInKintoneEvent = () => {\n const e = kintone.events;\n assertFunction(e.on);\n assertFunction(e.off);\n};\nconst assertFunctionExistInKintoneAPI = () => {\n const a = kintone.api;\n assertFunction(a);\n assertFunction(a.url);\n assertFunction(a.urlForGet);\n assertFunction(a.getConcurrencyLimit);\n};\nconst assertFunctionExistInKintoneProxy = () => {\n const p = kintone.proxy;\n assertFunction(p);\n assertFunction(p.upload);\n};\nconst assetFunctionExistInKintoneApp = () => {\n const app = kintone.app;\n assertFunction(app.getFieldElements);\n assertFunction(app.getHeaderMenuSpaceElement);\n assertFunction(app.getHeaderSpaceElement);\n assertFunction(app.getId);\n assertFunction(app.getLookupTargetAppId);\n assertFunction(app.getQuery);\n assertFunction(app.getQueryCondition);\n assertFunction(app.getRelatedRecordsTargetAppId);\n};\nconst assertFunctionExistInKintoneAppRecord = () => {\n const r = kintone.app.record;\n assertFunction(r.get);\n assertFunction(r.getHeaderMenuSpaceElement);\n assertFunction(r.getFieldElement);\n assertFunction(r.getId);\n assertFunction(r.getSpaceElement);\n assertFunction(r.set);\n assertFunction(r.setFieldShown);\n assertFunction(r.setGroupFieldOpen);\n};\nconst assertFunctionExistInKintoneMobileApp = () => {\n const ma = kintone.mobile.app;\n assertFunction(ma.getFieldElements);\n assertFunction(ma.getHeaderSpaceElement);\n assertFunction(ma.getId);\n assertFunction(ma.getLookupTargetAppId);\n assertFunction(ma.getQuery);\n assertFunction(ma.getQueryCondition);\n assertFunction(ma.getRelatedRecordsTargetAppId);\n};\nconst assertFunctionExistInKintoneMobileAppRecord = () => {\n const mr = kintone.mobile.app.record;\n assertFunction(mr.get);\n assertFunction(mr.getId);\n assertFunction(mr.getFieldElement);\n assertFunction(mr.getSpaceElement);\n assertFunction(mr.set);\n assertFunction(mr.setFieldShown);\n assertFunction(mr.setGroupFieldOpen);\n};\nconst assertPortalAPI = () => {\n assertFunction(kintone.portal.getContentSpaceElement);\n assertFunction(kintone.mobile.portal.getContentSpaceElement);\n};\nconst assertSpaceAPI = () => {\n assertFunction(kintone.space.portal.getContentSpaceElement);\n assertFunction(kintone.mobile.space.portal.getContentSpaceElement);\n};\n\n\n//# sourceURL=webpack://@kintone/dts-gen/./src/integration-tests/dts-gen-api-test.ts?");
|
|
557
|
-
|
|
558
|
-
/***/ }),
|
|
559
|
-
|
|
560
|
-
/***/ "./src/integration-tests/dts-gen-fields-test.ts":
|
|
561
|
-
/*!******************************************************!*\
|
|
562
|
-
!*** ./src/integration-tests/dts-gen-fields-test.ts ***!
|
|
563
|
-
\******************************************************/
|
|
564
|
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
565
|
-
|
|
566
|
-
"use strict";
|
|
567
|
-
eval("\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.DTSGenFieldsTest = void 0;\n// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment\n/// <reference path=\"./testfields.d.ts\" />\nconst assert = __importStar(__webpack_require__(/*! assert */ \"../../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/assert.js\"));\nconst assertFieldTypes = (record) => {\n // Assert simple field types\n [\n {\n ref: record.$id,\n type: \"__ID__\",\n },\n {\n ref: record.$revision,\n type: \"__REVISION__\",\n },\n {\n ref: record.Record_number,\n type: \"RECORD_NUMBER\",\n },\n {\n ref: record.Updated_datetime,\n type: \"UPDATED_TIME\",\n },\n {\n ref: record.Created_datetime,\n type: \"CREATED_TIME\",\n },\n {\n ref: record.Text,\n type: \"SINGLE_LINE_TEXT\",\n },\n {\n ref: record.Rich_text,\n type: \"RICH_TEXT\",\n },\n {\n ref: record.Text_area,\n type: \"MULTI_LINE_TEXT\",\n },\n {\n ref: record.Number,\n type: \"NUMBER\",\n },\n {\n ref: record.Calculated,\n type: \"CALC\",\n },\n {\n ref: record.Radio_button,\n type: \"RADIO_BUTTON\",\n },\n {\n ref: record.Drop_down,\n type: \"DROP_DOWN\",\n },\n {\n ref: record.Date,\n type: \"DATE\",\n },\n {\n ref: record.Time,\n type: \"TIME\",\n },\n {\n ref: record.Date_and_time,\n type: \"DATETIME\",\n },\n {\n ref: record.Link,\n type: \"LINK\",\n },\n ].forEach(({ ref, type }) => assertSimpleField(ref, type));\n // Assert string list field types\n [\n {\n ref: record.Check_box,\n type: \"CHECK_BOX\",\n },\n {\n ref: record.Multi_choice,\n type: \"MULTI_SELECT\",\n },\n ].forEach(({ ref, type }) => assertStringListField(ref, type));\n // assert entity\n [\n {\n ref: record.Updated_by,\n type: \"MODIFIER\",\n },\n {\n ref: record.Created_by,\n type: \"CREATOR\",\n },\n ].forEach(({ ref, type }) => assertEntity(ref, type));\n // assert entity list field types\n [\n {\n ref: record.User_selection,\n type: \"USER_SELECT\",\n },\n {\n ref: record.Department_selection,\n type: \"ORGANIZATION_SELECT\",\n },\n {\n ref: record.Group_selection,\n type: \"GROUP_SELECT\",\n },\n ].forEach(({ ref, type }) => {\n assertEntityListField(ref, type);\n });\n assertType(record.Attachment.type, \"FILE\");\n assert.ok(record.Attachment.value.length);\n assertFileField(record.Attachment);\n [\n {\n ref: record.Table,\n },\n {\n ref: record.Table_0,\n },\n ].forEach(({ ref }) => assertSubTable(ref));\n const tv = record.Table.value[0].value;\n [\n {\n ref: tv.Calculated_Table,\n type: \"CALC\",\n },\n {\n ref: tv.Number_Table,\n type: \"NUMBER\",\n },\n {\n ref: tv.Text_Table,\n type: \"SINGLE_LINE_TEXT\",\n },\n {\n ref: tv.Rich_text_Table,\n type: \"RICH_TEXT\",\n },\n {\n ref: tv.Text_area_Table,\n type: \"MULTI_LINE_TEXT\",\n },\n ].forEach(({ ref, type }) => assertSimpleField(ref, type));\n assert.ok(tv.Calculated_Table.value);\n assert.ok(tv.Number_Table.value);\n assert.ok(tv.Text_Table.value);\n assert.ok(tv.Text_area_Table.value);\n const tv0 = record.Table_0.value[0].value;\n assertFileField(tv0.Attachment_Table);\n [\n {\n ref: tv0.Check_box_Table,\n type: \"CHECK_BOX\",\n },\n {\n ref: tv0.Date_Table,\n type: \"DATE\",\n },\n {\n ref: tv0.Date_and_time_Table,\n type: \"DATETIME\",\n },\n {\n ref: tv0.Link_Table,\n type: \"LINK\",\n },\n {\n ref: tv0.Time_Table,\n type: \"TIME\",\n },\n ].forEach(({ ref, type }) => assertSimpleField(ref, type));\n [\n {\n ref: tv0.Check_box_Table,\n type: \"CHECK_BOX\",\n },\n {\n ref: tv0.Multi_choice_Table,\n type: \"MULTI_SELECT\",\n },\n ].forEach(({ ref, type }) => assertStringListField(ref, type));\n};\nconst assertSubTable = (ref) => {\n assertType(ref.type, \"SUBTABLE\");\n assertNotUndefined(ref.value.length);\n};\nconst assertSimpleField = (ref, expectedType) => {\n assertType(ref.type, expectedType);\n assert.ok(ref.value !== undefined);\n};\nconst assertStringListField = (ref, expectedType) => {\n assertType(ref.type, expectedType);\n assertNotUndefined(ref.value.length);\n};\nconst assertEntity = (ref, expectedType) => {\n assertType(ref.type, expectedType);\n assertNotUndefined(ref.value);\n assertNotUndefined(ref.value.code);\n assertNotUndefined(ref.value.name);\n};\nconst assertEntityListField = (ref, expectedType) => {\n assertType(ref.type, expectedType);\n assertNotUndefined(ref.value.length);\n assertNotUndefined(ref.value[0].code);\n assertNotUndefined(ref.value[0].name);\n};\nconst assertType = (type, expectedType) => {\n assert.strictEqual(type, expectedType, `expected: ${expectedType}, actual:${type}`);\n};\nconst assertNotUndefined = (ref) => {\n assert.ok(ref !== undefined);\n};\nconst assertFileField = (ref) => {\n assert.ok(ref.type, \"FILE\");\n assert.ok(ref.value.length);\n assert.ok(ref.value[0].name);\n assert.ok(ref.value[0].contentType);\n assert.ok(ref.value[0].fileKey);\n};\nexports.DTSGenFieldsTest = {\n assertFieldTypes,\n};\n\n\n//# sourceURL=webpack://@kintone/dts-gen/./src/integration-tests/dts-gen-fields-test.ts?");
|
|
568
|
-
|
|
569
|
-
/***/ }),
|
|
570
|
-
|
|
571
|
-
/***/ "./src/integration-tests/dts-gen-integration-test.ts":
|
|
572
|
-
/*!***********************************************************!*\
|
|
573
|
-
!*** ./src/integration-tests/dts-gen-integration-test.ts ***!
|
|
574
|
-
\***********************************************************/
|
|
575
|
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
576
|
-
|
|
577
|
-
"use strict";
|
|
578
|
-
eval("\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n// eslint-disable-next-line spaced-comment\n/// <reference types=\"../../kintone\" />\n// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment\n/// <reference path=\"./testfields.d.ts\" />\nconst assert = __importStar(__webpack_require__(/*! assert */ \"../../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/assert.js\"));\nconst dts_gen_api_test_1 = __webpack_require__(/*! ./dts-gen-api-test */ \"./src/integration-tests/dts-gen-api-test.ts\");\nconst dts_gen_fields_test_1 = __webpack_require__(/*! ./dts-gen-fields-test */ \"./src/integration-tests/dts-gen-fields-test.ts\");\n(() => {\n kintone.events.on(\"app.record.index.show\", (ev) => {\n dts_gen_api_test_1.DTSGenApiTest.assertKintoneBuiltinFunctions();\n dts_gen_fields_test_1.DTSGenFieldsTest.assertFieldTypes(ev.records[0]);\n assertNotUndefined(ev.appId);\n assertNotUndefined(ev.viewType);\n assertNotUndefined(ev.viewId);\n assertNotUndefined(ev.viewName);\n assertNotUndefined(ev.offset);\n assertNotUndefined(ev.size);\n assertNotUndefined(ev.date);\n });\n const assertNotUndefined = (ref) => {\n assert.ok(ref !== undefined);\n };\n})();\n\n\n//# sourceURL=webpack://@kintone/dts-gen/./src/integration-tests/dts-gen-integration-test.ts?");
|
|
820
|
+
eval("\n\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"../../node_modules/.pnpm/get-intrinsic@1.2.7/node_modules/get-intrinsic/index.js\");\nvar define = __webpack_require__(/*! define-data-property */ \"../../node_modules/.pnpm/define-data-property@1.1.4/node_modules/define-data-property/index.js\");\nvar hasDescriptors = __webpack_require__(/*! has-property-descriptors */ \"../../node_modules/.pnpm/has-property-descriptors@1.0.2/node_modules/has-property-descriptors/index.js\")();\nvar gOPD = __webpack_require__(/*! gopd */ \"../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js\");\n\nvar $TypeError = __webpack_require__(/*! es-errors/type */ \"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js\");\nvar $floor = GetIntrinsic('%Math.floor%');\n\n/** @typedef {(...args: unknown[]) => unknown} Func */\n\n/** @type {<T extends Func = Func>(fn: T, length: number, loose?: boolean) => T} */\nmodule.exports = function setFunctionLength(fn, length) {\n\tif (typeof fn !== 'function') {\n\t\tthrow new $TypeError('`fn` is not a function');\n\t}\n\tif (typeof length !== 'number' || length < 0 || length > 0xFFFFFFFF || $floor(length) !== length) {\n\t\tthrow new $TypeError('`length` must be a positive 32-bit integer');\n\t}\n\n\tvar loose = arguments.length > 2 && !!arguments[2];\n\n\tvar functionLengthIsConfigurable = true;\n\tvar functionLengthIsWritable = true;\n\tif ('length' in fn && gOPD) {\n\t\tvar desc = gOPD(fn, 'length');\n\t\tif (desc && !desc.configurable) {\n\t\t\tfunctionLengthIsConfigurable = false;\n\t\t}\n\t\tif (desc && !desc.writable) {\n\t\t\tfunctionLengthIsWritable = false;\n\t\t}\n\t}\n\n\tif (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {\n\t\tif (hasDescriptors) {\n\t\t\tdefine(/** @type {Parameters<define>[0]} */ (fn), 'length', length, true, true);\n\t\t} else {\n\t\t\tdefine(/** @type {Parameters<define>[0]} */ (fn), 'length', length);\n\t\t}\n\t}\n\treturn fn;\n};\n\n\n//# sourceURL=webpack://@kintone/dts-gen/../../node_modules/.pnpm/set-function-length@1.2.1/node_modules/set-function-length/index.js?");
|
|
579
821
|
|
|
580
822
|
/***/ }),
|
|
581
823
|
|
|
@@ -621,14 +863,36 @@ eval("\n\nvar forEach = __webpack_require__(/*! for-each */ \"../../node_modules
|
|
|
621
863
|
|
|
622
864
|
/***/ }),
|
|
623
865
|
|
|
624
|
-
/***/ "
|
|
625
|
-
|
|
626
|
-
!***
|
|
627
|
-
|
|
628
|
-
/***/ ((
|
|
866
|
+
/***/ "./src/integration-tests/dts-gen-api-test.ts":
|
|
867
|
+
/*!***************************************************!*\
|
|
868
|
+
!*** ./src/integration-tests/dts-gen-api-test.ts ***!
|
|
869
|
+
\***************************************************/
|
|
870
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
629
871
|
|
|
630
872
|
"use strict";
|
|
631
|
-
eval("\
|
|
873
|
+
eval("\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.DTSGenApiTest = void 0;\nconst assert = __importStar(__webpack_require__(/*! assert */ \"../../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/assert.js\"));\nconst assertKintoneBuiltinFunctions = () => {\n assertFunctionExistInKintoneTopLevel();\n assertFunctionExistInKintonePromise();\n assertFunctionExistInKintoneEvent();\n assertFunctionExistInKintoneAPI();\n assertFunctionExistInKintoneProxy();\n assetFunctionExistInKintoneApp();\n assertFunctionExistInKintoneAppRecord();\n assertFunctionExistInKintoneMobileApp();\n assertFunctionExistInKintoneMobileAppRecord();\n assertPortalAPI();\n assertSpaceAPI();\n};\nconst assertFunction = (ref) => {\n assert.ok(ref);\n assert.ok(typeof ref === \"function\");\n};\nexports.DTSGenApiTest = {\n assertKintoneBuiltinFunctions,\n};\nconst assertFunctionExistInKintoneTopLevel = () => {\n assertFunction(kintone.getRequestToken);\n assertFunction(kintone.getLoginUser);\n assertFunction(kintone.getUiVersion);\n};\nconst assertFunctionExistInKintonePromise = () => {\n assertFunction(kintone.Promise);\n assertFunction(kintone.Promise.all);\n assertFunction(kintone.Promise.resolve);\n assertFunction(kintone.Promise.reject);\n // kintone.api.url\n assert.ok(kintone.api.url(\"/k/v1/records\").endsWith(\"/k/v1/records.json\"));\n // only to check to compile success\n kintone.api.url(\"/k/v1/records\", true);\n const okPromise = new kintone.Promise((resolve) => resolve(1));\n assert.ok(okPromise);\n okPromise\n .then((resolved) => {\n assert.ok(resolved === 1);\n })\n .catch(() => {\n assert.fail(\"should not be called\");\n });\n const ngPromise = new kintone.Promise((_, reject) => reject(1));\n ngPromise\n .then(() => {\n assert.fail(\"should not be called\");\n })\n .catch((rejected) => assert.ok(rejected === 1));\n kintone.Promise.resolve(1)\n .then((resolved) => assert.ok(resolved === 1))\n .catch(() => assert.fail(\"should not be called\"));\n kintone.Promise.reject(\"reject\")\n .then(() => assert.fail(\"should not be called\"))\n .catch((reject) => assert.ok(reject === \"reject\"));\n kintone.Promise.all([\n kintone.Promise.resolve(1),\n kintone.Promise.resolve(2),\n kintone.Promise.resolve(3),\n ]).then((resolved) => {\n assert.ok(resolved.length === 3);\n assert.ok(resolved[0] === 1);\n assert.ok(resolved[1] === 2);\n assert.ok(resolved[2] === 3);\n });\n};\nconst assertFunctionExistInKintoneEvent = () => {\n const e = kintone.events;\n assertFunction(e.on);\n assertFunction(e.off);\n};\nconst assertFunctionExistInKintoneAPI = () => {\n const a = kintone.api;\n assertFunction(a);\n assertFunction(a.url);\n assertFunction(a.urlForGet);\n assertFunction(a.getConcurrencyLimit);\n};\nconst assertFunctionExistInKintoneProxy = () => {\n const p = kintone.proxy;\n assertFunction(p);\n assertFunction(p.upload);\n};\nconst assetFunctionExistInKintoneApp = () => {\n const app = kintone.app;\n assertFunction(app.getFieldElements);\n assertFunction(app.getHeaderMenuSpaceElement);\n assertFunction(app.getHeaderSpaceElement);\n assertFunction(app.getId);\n assertFunction(app.getLookupTargetAppId);\n assertFunction(app.getQuery);\n assertFunction(app.getQueryCondition);\n assertFunction(app.getRelatedRecordsTargetAppId);\n};\nconst assertFunctionExistInKintoneAppRecord = () => {\n const r = kintone.app.record;\n assertFunction(r.get);\n assertFunction(r.getHeaderMenuSpaceElement);\n assertFunction(r.getFieldElement);\n assertFunction(r.getId);\n assertFunction(r.getSpaceElement);\n assertFunction(r.set);\n assertFunction(r.setFieldShown);\n assertFunction(r.setGroupFieldOpen);\n};\nconst assertFunctionExistInKintoneMobileApp = () => {\n const ma = kintone.mobile.app;\n assertFunction(ma.getFieldElements);\n assertFunction(ma.getHeaderSpaceElement);\n assertFunction(ma.getId);\n assertFunction(ma.getLookupTargetAppId);\n assertFunction(ma.getQuery);\n assertFunction(ma.getQueryCondition);\n assertFunction(ma.getRelatedRecordsTargetAppId);\n};\nconst assertFunctionExistInKintoneMobileAppRecord = () => {\n const mr = kintone.mobile.app.record;\n assertFunction(mr.get);\n assertFunction(mr.getId);\n assertFunction(mr.getFieldElement);\n assertFunction(mr.getSpaceElement);\n assertFunction(mr.set);\n assertFunction(mr.setFieldShown);\n assertFunction(mr.setGroupFieldOpen);\n};\nconst assertPortalAPI = () => {\n assertFunction(kintone.portal.getContentSpaceElement);\n assertFunction(kintone.mobile.portal.getContentSpaceElement);\n};\nconst assertSpaceAPI = () => {\n assertFunction(kintone.space.portal.getContentSpaceElement);\n assertFunction(kintone.mobile.space.portal.getContentSpaceElement);\n};\n\n\n//# sourceURL=webpack://@kintone/dts-gen/./src/integration-tests/dts-gen-api-test.ts?");
|
|
874
|
+
|
|
875
|
+
/***/ }),
|
|
876
|
+
|
|
877
|
+
/***/ "./src/integration-tests/dts-gen-fields-test.ts":
|
|
878
|
+
/*!******************************************************!*\
|
|
879
|
+
!*** ./src/integration-tests/dts-gen-fields-test.ts ***!
|
|
880
|
+
\******************************************************/
|
|
881
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
882
|
+
|
|
883
|
+
"use strict";
|
|
884
|
+
eval("\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.DTSGenFieldsTest = void 0;\n// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment\n/// <reference path=\"./testfields.d.ts\" />\nconst assert = __importStar(__webpack_require__(/*! assert */ \"../../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/assert.js\"));\nconst assertFieldTypes = (record) => {\n // Assert simple field types\n [\n {\n ref: record.$id,\n type: \"__ID__\",\n },\n {\n ref: record.$revision,\n type: \"__REVISION__\",\n },\n {\n ref: record.Record_number,\n type: \"RECORD_NUMBER\",\n },\n {\n ref: record.Updated_datetime,\n type: \"UPDATED_TIME\",\n },\n {\n ref: record.Created_datetime,\n type: \"CREATED_TIME\",\n },\n {\n ref: record.Text,\n type: \"SINGLE_LINE_TEXT\",\n },\n {\n ref: record.Rich_text,\n type: \"RICH_TEXT\",\n },\n {\n ref: record.Text_area,\n type: \"MULTI_LINE_TEXT\",\n },\n {\n ref: record.Number,\n type: \"NUMBER\",\n },\n {\n ref: record.Calculated,\n type: \"CALC\",\n },\n {\n ref: record.Radio_button,\n type: \"RADIO_BUTTON\",\n },\n {\n ref: record.Drop_down,\n type: \"DROP_DOWN\",\n },\n {\n ref: record.Date,\n type: \"DATE\",\n },\n {\n ref: record.Time,\n type: \"TIME\",\n },\n {\n ref: record.Date_and_time,\n type: \"DATETIME\",\n },\n {\n ref: record.Link,\n type: \"LINK\",\n },\n ].forEach(({ ref, type }) => assertSimpleField(ref, type));\n // Assert string list field types\n [\n {\n ref: record.Check_box,\n type: \"CHECK_BOX\",\n },\n {\n ref: record.Multi_choice,\n type: \"MULTI_SELECT\",\n },\n ].forEach(({ ref, type }) => assertStringListField(ref, type));\n // assert entity\n [\n {\n ref: record.Updated_by,\n type: \"MODIFIER\",\n },\n {\n ref: record.Created_by,\n type: \"CREATOR\",\n },\n ].forEach(({ ref, type }) => assertEntity(ref, type));\n // assert entity list field types\n [\n {\n ref: record.User_selection,\n type: \"USER_SELECT\",\n },\n {\n ref: record.Department_selection,\n type: \"ORGANIZATION_SELECT\",\n },\n {\n ref: record.Group_selection,\n type: \"GROUP_SELECT\",\n },\n ].forEach(({ ref, type }) => {\n assertEntityListField(ref, type);\n });\n assertType(record.Attachment.type, \"FILE\");\n assert.ok(record.Attachment.value.length);\n assertFileField(record.Attachment);\n [\n {\n ref: record.Table,\n },\n {\n ref: record.Table_0,\n },\n ].forEach(({ ref }) => assertSubTable(ref));\n const tv = record.Table.value[0].value;\n [\n {\n ref: tv.Calculated_Table,\n type: \"CALC\",\n },\n {\n ref: tv.Number_Table,\n type: \"NUMBER\",\n },\n {\n ref: tv.Text_Table,\n type: \"SINGLE_LINE_TEXT\",\n },\n {\n ref: tv.Rich_text_Table,\n type: \"RICH_TEXT\",\n },\n {\n ref: tv.Text_area_Table,\n type: \"MULTI_LINE_TEXT\",\n },\n ].forEach(({ ref, type }) => assertSimpleField(ref, type));\n assert.ok(tv.Calculated_Table.value);\n assert.ok(tv.Number_Table.value);\n assert.ok(tv.Text_Table.value);\n assert.ok(tv.Text_area_Table.value);\n const tv0 = record.Table_0.value[0].value;\n assertFileField(tv0.Attachment_Table);\n [\n {\n ref: tv0.Check_box_Table,\n type: \"CHECK_BOX\",\n },\n {\n ref: tv0.Date_Table,\n type: \"DATE\",\n },\n {\n ref: tv0.Date_and_time_Table,\n type: \"DATETIME\",\n },\n {\n ref: tv0.Link_Table,\n type: \"LINK\",\n },\n {\n ref: tv0.Time_Table,\n type: \"TIME\",\n },\n ].forEach(({ ref, type }) => assertSimpleField(ref, type));\n [\n {\n ref: tv0.Check_box_Table,\n type: \"CHECK_BOX\",\n },\n {\n ref: tv0.Multi_choice_Table,\n type: \"MULTI_SELECT\",\n },\n ].forEach(({ ref, type }) => assertStringListField(ref, type));\n};\nconst assertSubTable = (ref) => {\n assertType(ref.type, \"SUBTABLE\");\n assertNotUndefined(ref.value.length);\n};\nconst assertSimpleField = (ref, expectedType) => {\n assertType(ref.type, expectedType);\n assert.ok(ref.value !== undefined);\n};\nconst assertStringListField = (ref, expectedType) => {\n assertType(ref.type, expectedType);\n assertNotUndefined(ref.value.length);\n};\nconst assertEntity = (ref, expectedType) => {\n assertType(ref.type, expectedType);\n assertNotUndefined(ref.value);\n assertNotUndefined(ref.value.code);\n assertNotUndefined(ref.value.name);\n};\nconst assertEntityListField = (ref, expectedType) => {\n assertType(ref.type, expectedType);\n assertNotUndefined(ref.value.length);\n assertNotUndefined(ref.value[0].code);\n assertNotUndefined(ref.value[0].name);\n};\nconst assertType = (type, expectedType) => {\n assert.strictEqual(type, expectedType, `expected: ${expectedType}, actual:${type}`);\n};\nconst assertNotUndefined = (ref) => {\n assert.ok(ref !== undefined);\n};\nconst assertFileField = (ref) => {\n assert.ok(ref.type, \"FILE\");\n assert.ok(ref.value.length);\n assert.ok(ref.value[0].name);\n assert.ok(ref.value[0].contentType);\n assert.ok(ref.value[0].fileKey);\n};\nexports.DTSGenFieldsTest = {\n assertFieldTypes,\n};\n\n\n//# sourceURL=webpack://@kintone/dts-gen/./src/integration-tests/dts-gen-fields-test.ts?");
|
|
885
|
+
|
|
886
|
+
/***/ }),
|
|
887
|
+
|
|
888
|
+
/***/ "./src/integration-tests/dts-gen-integration-test.ts":
|
|
889
|
+
/*!***********************************************************!*\
|
|
890
|
+
!*** ./src/integration-tests/dts-gen-integration-test.ts ***!
|
|
891
|
+
\***********************************************************/
|
|
892
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
893
|
+
|
|
894
|
+
"use strict";
|
|
895
|
+
eval("\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n// eslint-disable-next-line spaced-comment\n/// <reference types=\"../../kintone\" />\n// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment\n/// <reference path=\"./testfields.d.ts\" />\nconst assert = __importStar(__webpack_require__(/*! assert */ \"../../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/assert.js\"));\nconst dts_gen_api_test_1 = __webpack_require__(/*! ./dts-gen-api-test */ \"./src/integration-tests/dts-gen-api-test.ts\");\nconst dts_gen_fields_test_1 = __webpack_require__(/*! ./dts-gen-fields-test */ \"./src/integration-tests/dts-gen-fields-test.ts\");\n(() => {\n kintone.events.on(\"app.record.index.show\", (ev) => {\n dts_gen_api_test_1.DTSGenApiTest.assertKintoneBuiltinFunctions();\n dts_gen_fields_test_1.DTSGenFieldsTest.assertFieldTypes(ev.records[0]);\n assertNotUndefined(ev.appId);\n assertNotUndefined(ev.viewType);\n assertNotUndefined(ev.viewId);\n assertNotUndefined(ev.viewName);\n assertNotUndefined(ev.offset);\n assertNotUndefined(ev.size);\n assertNotUndefined(ev.date);\n });\n const assertNotUndefined = (ref) => {\n assert.ok(ref !== undefined);\n };\n})();\n\n\n//# sourceURL=webpack://@kintone/dts-gen/./src/integration-tests/dts-gen-integration-test.ts?");
|
|
632
896
|
|
|
633
897
|
/***/ })
|
|
634
898
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kintone/dts-gen",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.3",
|
|
4
4
|
"description": "Types for kintone js api and Types generating tools",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"engines": {
|
|
@@ -12,21 +12,21 @@
|
|
|
12
12
|
},
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@cybozu/eslint-config": "^24.0.0
|
|
16
|
-
"axios": "^1.
|
|
15
|
+
"@cybozu/eslint-config": "^24.0.0",
|
|
16
|
+
"axios": "^1.12.2",
|
|
17
17
|
"commander": "^12.1.0",
|
|
18
|
-
"eslint": "^9.
|
|
19
|
-
"form-data": "^4.0.
|
|
18
|
+
"eslint": "^9.20.1",
|
|
19
|
+
"form-data": "^4.0.4",
|
|
20
20
|
"lodash": "^4.17.21",
|
|
21
|
-
"prettier": "^3.
|
|
21
|
+
"prettier": "^3.4.2"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@types/eslint": "^9.6.1",
|
|
25
|
-
"@types/lodash": "^4.17.
|
|
25
|
+
"@types/lodash": "^4.17.20",
|
|
26
26
|
"assert": "^2.1.0",
|
|
27
27
|
"cross-env": "^7.0.3",
|
|
28
|
-
"ts-loader": "^9.5.
|
|
29
|
-
"webpack": "^5.
|
|
28
|
+
"ts-loader": "^9.5.4",
|
|
29
|
+
"webpack": "^5.98.0",
|
|
30
30
|
"webpack-cli": "^5.1.4"
|
|
31
31
|
},
|
|
32
32
|
"bin": {
|