"use strict";
var __webpack_modules__ = {
    "../../../application/hoc/withDynamicSchemaProps": function(module) {
        module.exports = require("../../../application/hoc/withDynamicSchemaProps.js");
    },
    "../../hooks/useProps": function(module) {
        module.exports = require("../../hooks/useProps.js");
    },
    "./utils?198b": function(module) {
        module.exports = require("./utils.js");
    },
    "@tachybase/schema": function(module) {
        module.exports = require("@tachybase/schema");
    },
    antd: function(module) {
        module.exports = require("antd");
    },
    react: function(module) {
        module.exports = require("react");
    },
    "react/jsx-runtime": function(module) {
        module.exports = require("react/jsx-runtime");
    }
};
var __webpack_module_cache__ = {};
function __webpack_require__(moduleId) {
    var cachedModule = __webpack_module_cache__[moduleId];
    if (void 0 !== cachedModule) return cachedModule.exports;
    var module = __webpack_module_cache__[moduleId] = {
        exports: {}
    };
    __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
    return module.exports;
}
(()=>{
    __webpack_require__.n = (module)=>{
        var getter = module && module.__esModule ? ()=>module['default'] : ()=>module;
        __webpack_require__.d(getter, {
            a: getter
        });
        return getter;
    };
})();
(()=>{
    __webpack_require__.d = (exports1, definition)=>{
        for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
            enumerable: true,
            get: definition[key]
        });
    };
})();
(()=>{
    __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
})();
(()=>{
    __webpack_require__.r = (exports1)=>{
        if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
            value: 'Module'
        });
        Object.defineProperty(exports1, '__esModule', {
            value: true
        });
    };
})();
var __webpack_exports__ = {};
(()=>{
    __webpack_require__.r(__webpack_exports__);
    __webpack_require__.d(__webpack_exports__, {
        Pagination: ()=>Pagination
    });
    var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("react/jsx-runtime");
    __webpack_require__("react");
    var _tachybase_schema__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("@tachybase/schema");
    var antd__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("antd");
    var _application_hoc_withDynamicSchemaProps__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../application/hoc/withDynamicSchemaProps");
    var _hooks_useProps__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../hooks/useProps");
    var _utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("./utils?198b");
    var __WEBPACK_REEXPORT_OBJECT__ = {};
    for(var __WEBPACK_IMPORT_KEY__ in _utils__WEBPACK_IMPORTED_MODULE_6__)if ([
        "Pagination",
        "default"
    ].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
        return _utils__WEBPACK_IMPORTED_MODULE_6__[key];
    }).bind(0, __WEBPACK_IMPORT_KEY__);
    __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
    const Pagination = (0, _application_hoc_withDynamicSchemaProps__WEBPACK_IMPORTED_MODULE_4__.withDynamicSchemaProps)((0, _tachybase_schema__WEBPACK_IMPORTED_MODULE_2__.observer)((props)=>{
        const { hidden, ...others } = (0, _hooks_useProps__WEBPACK_IMPORTED_MODULE_5__.useProps)(props);
        if (hidden) return null;
        const onKeypress = (e)=>{
            if ('Enter' === e.key) e.preventDefault();
        };
        return /*#__PURE__*/ (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
            onKeyPress: onKeypress,
            children: /*#__PURE__*/ (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(antd__WEBPACK_IMPORTED_MODULE_3__.Pagination, {
                ...(0, _utils__WEBPACK_IMPORTED_MODULE_6__.withAutoQuickJumper)(others)
            })
        });
    }, {
        displayName: 'Pagination'
    }));
})();
exports.Pagination = __webpack_exports__.Pagination;
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
    "Pagination"
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
Object.defineProperty(exports, '__esModule', {
    value: true
});
