orion-design 0.1.29 → 0.1.31

Sign up to get free protection for your applications and to get access to all the features.
Files changed (219) hide show
  1. package/dist/Throne/index.js +30 -14
  2. package/dist/Throne/index.js.map +1 -1
  3. package/dist/_commonjsHelpers-DWwsNxpa.js +9 -0
  4. package/dist/_commonjsHelpers-DWwsNxpa.js.map +1 -0
  5. package/dist/components/Button/index.js +40 -33
  6. package/dist/components/Button/index.js.map +1 -1
  7. package/dist/components/Flex/index.js +122 -89
  8. package/dist/components/Flex/index.js.map +1 -1
  9. package/dist/components/Form/Form.js +2 -2
  10. package/dist/components/Form/Form.js.map +1 -1
  11. package/dist/components/Form/LovInput/LovInput.js +2 -2
  12. package/dist/components/Form/LovInput/LovInput.js.map +1 -1
  13. package/dist/components/Form/LovInput/hooks/useLov.js +5 -5
  14. package/dist/components/Form/LovInput/hooks/useLov.js.map +1 -1
  15. package/dist/components/Form/LovInput/index.js +4 -4
  16. package/dist/components/Form/hooks/FormItemValidateTrigger.js +2 -2
  17. package/dist/components/Form/hooks/FormItemValidateTrigger.js.map +1 -1
  18. package/dist/components/Form/hooks/index.js +128 -66
  19. package/dist/components/Form/hooks/index.js.map +1 -1
  20. package/dist/components/Form/index.js +836 -656
  21. package/dist/components/Form/index.js.map +1 -1
  22. package/dist/components/Form/utils/index.js +30 -18
  23. package/dist/components/Form/utils/index.js.map +1 -1
  24. package/dist/components/LovTable/LovPagetable.vue.d.ts +28 -0
  25. package/dist/components/LovTable/index.d.ts +14 -0
  26. package/dist/components/LovTable/index.js +179 -105
  27. package/dist/components/LovTable/index.js.map +1 -1
  28. package/dist/components/Modal/Modal.d.ts +2 -0
  29. package/dist/components/Modal/ModalLocator.vue.d.ts +20 -0
  30. package/dist/components/Modal/index.d.ts +4 -1
  31. package/dist/components/Modal/index.js +127 -0
  32. package/dist/components/Modal/index.js.map +1 -0
  33. package/dist/components/Modal/types.d.ts +18 -0
  34. package/dist/components/Modal/types.js +7 -0
  35. package/dist/components/Modal/types.js.map +1 -0
  36. package/dist/components/Modal/useModal.d.ts +1 -3
  37. package/dist/components/Modal/useModal.js +5 -4
  38. package/dist/components/Modal/useModal.js.map +1 -1
  39. package/dist/components/Pagetable/Pagetable.d.ts +13 -0
  40. package/dist/components/Pagetable/columns/PagetableColumnButtongroup.d.ts +13 -0
  41. package/dist/components/Pagetable/columns/PagetableColumnDate.d.ts +13 -0
  42. package/dist/components/Pagetable/columns/PagetableColumnDiy.d.ts +13 -0
  43. package/dist/components/Pagetable/columns/PagetableColumnLink.d.ts +13 -0
  44. package/dist/components/Pagetable/columns/PagetableColumnMultiselect.d.ts +13 -0
  45. package/dist/components/Pagetable/columns/PagetableColumnNumber.d.ts +13 -0
  46. package/dist/components/Pagetable/columns/PagetableColumnSingleselect.d.ts +13 -0
  47. package/dist/components/Pagetable/columns/PagetableColumnString.d.ts +13 -0
  48. package/dist/components/Pagetable/hooks/useColumns.js +88 -74
  49. package/dist/components/Pagetable/hooks/useColumns.js.map +1 -1
  50. package/dist/components/Pagetable/index.d.ts +9 -0
  51. package/dist/components/Pagetable/index.js +697 -491
  52. package/dist/components/Pagetable/index.js.map +1 -1
  53. package/dist/components/Pagetable/utils/index.js +92 -54
  54. package/dist/components/Pagetable/utils/index.js.map +1 -1
  55. package/dist/components/Querytable/hooks/useColumns.js +82 -74
  56. package/dist/components/Querytable/hooks/useColumns.js.map +1 -1
  57. package/dist/components/Querytable/index.js +579 -469
  58. package/dist/components/Querytable/index.js.map +1 -1
  59. package/dist/components/Querytable/utils/index.js +92 -54
  60. package/dist/components/Querytable/utils/index.js.map +1 -1
  61. package/dist/components/RichTextEditor/index.js +100 -74
  62. package/dist/components/RichTextEditor/index.js.map +1 -1
  63. package/dist/components/Tabs/constants.js +2 -2
  64. package/dist/components/Tabs/constants.js.map +1 -1
  65. package/dist/components/Tabs/index.js +603 -358
  66. package/dist/components/Tabs/index.js.map +1 -1
  67. package/dist/components/Tabs/tab-bar.js +6 -6
  68. package/dist/components/Tabs/tab-bar.js.map +1 -1
  69. package/dist/components/Tabs/tab-pane.js +3 -3
  70. package/dist/components/Tabs/tab-pane.js.map +1 -1
  71. package/dist/components/_constants/aria.js +2 -2
  72. package/dist/components/_constants/aria.js.map +1 -1
  73. package/dist/components/_constants/event.js +6 -4
  74. package/dist/components/_constants/event.js.map +1 -1
  75. package/dist/components/_constants/index.js +6 -6
  76. package/dist/components/_hooks/index.js +7 -7
  77. package/dist/components/_hooks/use-namespace/index.js +74 -39
  78. package/dist/components/_hooks/use-namespace/index.js.map +1 -1
  79. package/dist/components/_hooks/use-ordered-children/index.js +29 -19
  80. package/dist/components/_hooks/use-ordered-children/index.js.map +1 -1
  81. package/dist/components/_util/arrays.js +9 -5
  82. package/dist/components/_util/arrays.js.map +1 -1
  83. package/dist/components/_util/browser.js +6 -6
  84. package/dist/components/_util/browser.js.map +1 -1
  85. package/dist/components/_util/classNames.js +22 -17
  86. package/dist/components/_util/classNames.js.map +1 -1
  87. package/dist/components/_util/dom/aria.js +74 -39
  88. package/dist/components/_util/dom/aria.js.map +1 -1
  89. package/dist/components/_util/dom/element.js +9 -8
  90. package/dist/components/_util/dom/element.js.map +1 -1
  91. package/dist/components/_util/dom/event.js +14 -7
  92. package/dist/components/_util/dom/event.js.map +1 -1
  93. package/dist/components/_util/dom/index.js +36 -36
  94. package/dist/components/_util/dom/position.js +49 -25
  95. package/dist/components/_util/dom/position.js.map +1 -1
  96. package/dist/components/_util/dom/scroll.js +103 -61
  97. package/dist/components/_util/dom/scroll.js.map +1 -1
  98. package/dist/components/_util/dom/style.js +65 -50
  99. package/dist/components/_util/dom/style.js.map +1 -1
  100. package/dist/components/_util/easings.js +8 -4
  101. package/dist/components/_util/easings.js.map +1 -1
  102. package/dist/components/_util/error.js +12 -11
  103. package/dist/components/_util/error.js.map +1 -1
  104. package/dist/components/_util/functions.js +3 -3
  105. package/dist/components/_util/i18n.js +2 -2
  106. package/dist/components/_util/i18n.js.map +1 -1
  107. package/dist/components/_util/index.js +137 -137
  108. package/dist/components/_util/isValid.js +4 -2
  109. package/dist/components/_util/isValid.js.map +1 -1
  110. package/dist/components/_util/objects.js +18 -14
  111. package/dist/components/_util/objects.js.map +1 -1
  112. package/dist/components/_util/props-util/index.js +46 -20
  113. package/dist/components/_util/props-util/index.js.map +1 -1
  114. package/dist/components/_util/props-util/initDefaultProps.js +18 -10
  115. package/dist/components/_util/props-util/initDefaultProps.js.map +1 -1
  116. package/dist/components/_util/raf.js +5 -4
  117. package/dist/components/_util/raf.js.map +1 -1
  118. package/dist/components/_util/rand.js +4 -3
  119. package/dist/components/_util/rand.js.map +1 -1
  120. package/dist/components/_util/strings.js +9 -8
  121. package/dist/components/_util/strings.js.map +1 -1
  122. package/dist/components/_util/throttleByRaf.js +16 -10
  123. package/dist/components/_util/throttleByRaf.js.map +1 -1
  124. package/dist/components/_util/type.js +41 -38
  125. package/dist/components/_util/type.js.map +1 -1
  126. package/dist/components/_util/types.js +41 -22
  127. package/dist/components/_util/types.js.map +1 -1
  128. package/dist/components/_util/typescript.js +2 -2
  129. package/dist/components/_util/typescript.js.map +1 -1
  130. package/dist/components/_util/util.js +85 -43
  131. package/dist/components/_util/util.js.map +1 -1
  132. package/dist/components/_util/vue/global-node.js +27 -15
  133. package/dist/components/_util/vue/global-node.js.map +1 -1
  134. package/dist/components/_util/vue/icon.js +29 -25
  135. package/dist/components/_util/vue/icon.js.map +1 -1
  136. package/dist/components/_util/vue/index.js +41 -41
  137. package/dist/components/_util/vue/install.js +35 -18
  138. package/dist/components/_util/vue/install.js.map +1 -1
  139. package/dist/components/_util/vue/props/index.js +6 -6
  140. package/dist/components/_util/vue/props/runtime.js +46 -30
  141. package/dist/components/_util/vue/props/runtime.js.map +1 -1
  142. package/dist/components/_util/vue/refs.js +12 -6
  143. package/dist/components/_util/vue/refs.js.map +1 -1
  144. package/dist/components/_util/vue/size.js +5 -3
  145. package/dist/components/_util/vue/size.js.map +1 -1
  146. package/dist/components/_util/vue/validator.js +5 -4
  147. package/dist/components/_util/vue/validator.js.map +1 -1
  148. package/dist/components/_util/vue/vnode.js +100 -54
  149. package/dist/components/_util/vue/vnode.js.map +1 -1
  150. package/dist/components/_util/vue-types/index.js +231 -220
  151. package/dist/components/_util/vue-types/index.js.map +1 -1
  152. package/dist/components/components.js +20 -20
  153. package/dist/components/index.js +38 -35
  154. package/dist/components/index.js.map +1 -1
  155. package/dist/components-8oZ2kpUC.js +27 -0
  156. package/dist/components-8oZ2kpUC.js.map +1 -0
  157. package/dist/components-B3d9m_tn.js +27 -0
  158. package/dist/components-B3d9m_tn.js.map +1 -0
  159. package/dist/error/OrionError.js +8 -4
  160. package/dist/error/OrionError.js.map +1 -1
  161. package/dist/functions-BeMkokbY.js +63 -0
  162. package/dist/functions-BeMkokbY.js.map +1 -0
  163. package/dist/index-BOKLZnqH.js +54 -0
  164. package/dist/index-BOKLZnqH.js.map +1 -0
  165. package/dist/index-D1m0KTpK.js +69 -0
  166. package/dist/index-D1m0KTpK.js.map +1 -0
  167. package/dist/index-DR5ZP7mD.js +160 -0
  168. package/dist/index-DR5ZP7mD.js.map +1 -0
  169. package/dist/index-DkwIULcN.js +200 -0
  170. package/dist/index-DkwIULcN.js.map +1 -0
  171. package/dist/index.css +797 -1
  172. package/dist/index.js +36 -36
  173. package/dist/print/LodopFuncs.js +101 -43
  174. package/dist/print/LodopFuncs.js.map +1 -1
  175. package/dist/print/index.js +200 -108
  176. package/dist/print/index.js.map +1 -1
  177. package/dist/request/ErrorHandlerChain.js +17 -14
  178. package/dist/request/ErrorHandlerChain.js.map +1 -1
  179. package/dist/request/RequestFilterChain.js +16 -13
  180. package/dist/request/RequestFilterChain.js.map +1 -1
  181. package/dist/request/ResponseParserChain.js +17 -14
  182. package/dist/request/ResponseParserChain.js.map +1 -1
  183. package/dist/request/disivion/DateSerializer.js +47 -22
  184. package/dist/request/disivion/DateSerializer.js.map +1 -1
  185. package/dist/request/disivion/DivisionErrorHandler.js +40 -25
  186. package/dist/request/disivion/DivisionErrorHandler.js.map +1 -1
  187. package/dist/request/disivion/DivisionResponseParser.js +16 -10
  188. package/dist/request/disivion/DivisionResponseParser.js.map +1 -1
  189. package/dist/request/disivion/index.js +305 -201
  190. package/dist/request/disivion/index.js.map +1 -1
  191. package/dist/request/error/BizExceptionResponseError.js +11 -5
  192. package/dist/request/error/BizExceptionResponseError.js.map +1 -1
  193. package/dist/request/error/ExceptionResponseError.js +11 -5
  194. package/dist/request/error/ExceptionResponseError.js.map +1 -1
  195. package/dist/request/error/ResponseError.js +9 -4
  196. package/dist/request/error/ResponseError.js.map +1 -1
  197. package/dist/request/error/SessionExceptionResponseError.js +11 -5
  198. package/dist/request/error/SessionExceptionResponseError.js.map +1 -1
  199. package/dist/request/index.js +11 -11
  200. package/dist/utils/DateUtil.js +48 -33
  201. package/dist/utils/DateUtil.js.map +1 -1
  202. package/dist/utils/NumberUtil.js +6 -6
  203. package/dist/utils/NumberUtil.js.map +1 -1
  204. package/dist/utils/cloneDeep.js +2 -2
  205. package/dist/utils/delay.js +3 -3
  206. package/dist/utils/delay.js.map +1 -1
  207. package/dist/utils/functions.js +3 -3
  208. package/dist/utils/index.js +12 -12
  209. package/dist/utils/md5.js +191 -93
  210. package/dist/utils/md5.js.map +1 -1
  211. package/dist/utils/uuid.js +35 -25
  212. package/dist/utils/uuid.js.map +1 -1
  213. package/dist/version/index.js +2 -2
  214. package/dist/version/version.d.ts +1 -1
  215. package/dist/version/version.js +2 -2
  216. package/dist/version/version.js.map +1 -1
  217. package/package.json +1 -1
  218. package/dist/components-J6-qau6Y.js +0 -73
  219. package/dist/components-J6-qau6Y.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../node_modules/is-plain-object/dist/is-plain-object.mjs","../../../../node_modules/vue-types/dist/vue-types.modern.js","../../../../src/components/_util/vue-types/index.ts"],"sourcesContent":["/*!\n * is-plain-object <https://github.com/jonschlinkert/is-plain-object>\n *\n * Copyright (c) 2014-2017, Jon Schlinkert.\n * Released under the MIT License.\n */\n\nfunction isObject(o) {\n return Object.prototype.toString.call(o) === '[object Object]';\n}\n\nfunction isPlainObject(o) {\n var ctor,prot;\n\n if (isObject(o) === false) return false;\n\n // If has modified constructor\n ctor = o.constructor;\n if (ctor === undefined) return true;\n\n // If has modified prototype\n prot = ctor.prototype;\n if (isObject(prot) === false) return false;\n\n // If constructor does not have an Object-specific method\n if (prot.hasOwnProperty('isPrototypeOf') === false) {\n return false;\n }\n\n // Most likely a plain Object\n return true;\n}\n\nexport { isPlainObject };\n","import{isPlainObject as e}from\"is-plain-object\";function t(){return t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},t.apply(this,arguments)}function n(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}const r={silent:!1,logLevel:\"warn\"},i=[\"validator\"],o=Object.prototype,a=o.toString,s=o.hasOwnProperty,u=/^\\s*function (\\w+)/;function l(e){var t;const n=null!==(t=null==e?void 0:e.type)&&void 0!==t?t:e;if(n){const e=n.toString().match(u);return e?e[1]:\"\"}return\"\"}const c=e;function f(){}let d=f;if(\"production\"!==process.env.NODE_ENV){const e=\"undefined\"!=typeof console;d=e?function(e,t=r.logLevel){!1===r.silent&&console[t](`[VueTypes warn]: ${e}`)}:f}const p=(e,t)=>s.call(e,t),y=Number.isInteger||function(e){return\"number\"==typeof e&&isFinite(e)&&Math.floor(e)===e},v=Array.isArray||function(e){return\"[object Array]\"===a.call(e)},h=e=>\"[object Function]\"===a.call(e),b=(e,t)=>c(e)&&p(e,\"_vueTypes_name\")&&(!t||e._vueTypes_name===t),g=e=>c(e)&&(p(e,\"type\")||[\"_vueTypes_name\",\"validator\",\"default\",\"required\"].some(t=>p(e,t)));function O(e,t){return Object.defineProperty(e.bind(t),\"__original\",{value:e})}function m(e,t,n=!1){let r,i=!0,o=\"\";r=c(e)?e:{type:e};const a=b(r)?r._vueTypes_name+\" - \":\"\";if(g(r)&&null!==r.type){if(void 0===r.type||!0===r.type)return i;if(!r.required&&null==t)return i;v(r.type)?(i=r.type.some(e=>!0===m(e,t,!0)),o=r.type.map(e=>l(e)).join(\" or \")):(o=l(r),i=\"Array\"===o?v(t):\"Object\"===o?c(t):\"String\"===o||\"Number\"===o||\"Boolean\"===o||\"Function\"===o?function(e){if(null==e)return\"\";const t=e.constructor.toString().match(u);return t?t[1].replace(/^Async/,\"\"):\"\"}(t)===o:t instanceof r.type)}if(!i){const e=`${a}value \"${t}\" should be of type \"${o}\"`;return!1===n?(d(e),!1):e}if(p(r,\"validator\")&&h(r.validator)){const e=d,o=[];if(d=e=>{o.push(e)},i=r.validator(t),d=e,!i){const e=(o.length>1?\"* \":\"\")+o.join(\"\\n* \");return o.length=0,!1===n?(d(e),i):e}}return i}function j(e,t){const n=Object.defineProperties(t,{_vueTypes_name:{value:e,writable:!0},isRequired:{get(){return this.required=!0,this}},def:{value(e){return void 0===e?this.type===Boolean||Array.isArray(this.type)&&this.type.includes(Boolean)?void(this.default=void 0):(p(this,\"default\")&&delete this.default,this):h(e)||!0===m(this,e,!0)?(this.default=v(e)?()=>[...e]:c(e)?()=>Object.assign({},e):e,this):(d(`${this._vueTypes_name} - invalid default value: \"${e}\"`),this)}}}),{validator:r}=n;return h(r)&&(n.validator=O(r,n)),n}function _(e,t){const n=j(e,t);return Object.defineProperty(n,\"validate\",{value(e){return h(this.validator)&&d(`${this._vueTypes_name} - calling .validate() will overwrite the current custom validator function. Validator info:\\n${JSON.stringify(this)}`),this.validator=O(e,this),this}})}function T(e,t,r){const o=function(e){const t={};return Object.getOwnPropertyNames(e).forEach(n=>{t[n]=Object.getOwnPropertyDescriptor(e,n)}),Object.defineProperties({},t)}(t);if(o._vueTypes_name=e,!c(r))return o;const{validator:a}=r,s=n(r,i);if(h(a)){let{validator:e}=o;e&&(e=null!==(l=(u=e).__original)&&void 0!==l?l:u),o.validator=O(e?function(t){return e.call(this,t)&&a.call(this,t)}:a,o)}var u,l;return Object.assign(o,s)}function $(e){return e.replace(/^(?!\\s*$)/gm,\" \")}const w=()=>_(\"any\",{}),x=()=>_(\"function\",{type:Function}),P=()=>_(\"boolean\",{type:Boolean}),A=()=>_(\"string\",{type:String}),E=()=>_(\"number\",{type:Number}),S=()=>_(\"array\",{type:Array}),N=()=>_(\"object\",{type:Object}),V=()=>j(\"integer\",{type:Number,validator(e){const t=y(e);return!1===t&&d(`integer - \"${e}\" is not an integer`),t}}),q=()=>j(\"symbol\",{validator(e){const t=\"symbol\"==typeof e;return!1===t&&d(`symbol - invalid value \"${e}\"`),t}}),k=()=>Object.defineProperty({type:null,validator(e){const t=null===e;return!1===t&&d(\"nullable - value should be null\"),t}},\"_vueTypes_name\",{value:\"nullable\"});function D(e,t=\"custom validation failed\"){if(\"function\"!=typeof e)throw new TypeError(\"[VueTypes error]: You must provide a function as argument\");return j(e.name||\"<<anonymous function>>\",{type:null,validator(n){const r=e(n);return r||d(`${this._vueTypes_name} - ${t}`),r}})}function L(e){if(!v(e))throw new TypeError(\"[VueTypes error]: You must provide an array as argument.\");const t=`oneOf - value should be one of \"${e.map(e=>\"symbol\"==typeof e?e.toString():e).join('\", \"')}\".`,n={validator(n){const r=-1!==e.indexOf(n);return r||d(t),r}};if(-1===e.indexOf(null)){const t=e.reduce((e,t)=>{if(null!=t){const n=t.constructor;-1===e.indexOf(n)&&e.push(n)}return e},[]);t.length>0&&(n.type=t)}return j(\"oneOf\",n)}function B(e){if(!v(e))throw new TypeError(\"[VueTypes error]: You must provide an array as argument\");let t=!1,n=!1,r=[];for(let i=0;i<e.length;i+=1){const o=e[i];if(g(o)){if(h(o.validator)&&(t=!0),b(o,\"oneOf\")&&o.type){r=r.concat(o.type);continue}if(b(o,\"nullable\")){n=!0;continue}if(!0===o.type||!o.type){d('oneOfType - invalid usage of \"true\" and \"null\" as types.');continue}r=r.concat(o.type)}else r.push(o)}r=r.filter((e,t)=>r.indexOf(e)===t);const i=!1===n&&r.length>0?r:null;return j(\"oneOfType\",t?{type:i,validator(t){const n=[],r=e.some(e=>{const r=m(e,t,!0);return\"string\"==typeof r&&n.push(r),!0===r});return r||d(`oneOfType - provided value does not match any of the ${n.length} passed-in validators:\\n${$(n.join(\"\\n\"))}`),r}}:{type:i})}function F(e){return j(\"arrayOf\",{type:Array,validator(t){let n=\"\";const r=t.every(t=>(n=m(e,t,!0),!0===n));return r||d(`arrayOf - value validation error:\\n${$(n)}`),r}})}function Y(e){return j(\"instanceOf\",{type:e})}function I(e){return j(\"objectOf\",{type:Object,validator(t){let n=\"\";const r=Object.keys(t).every(r=>(n=m(e,t[r],!0),!0===n));return r||d(`objectOf - value validation error:\\n${$(n)}`),r}})}function J(e){const t=Object.keys(e),n=t.filter(t=>{var n;return!(null===(n=e[t])||void 0===n||!n.required)}),r=j(\"shape\",{type:Object,validator(r){if(!c(r))return!1;const i=Object.keys(r);if(n.length>0&&n.some(e=>-1===i.indexOf(e))){const e=n.filter(e=>-1===i.indexOf(e));return d(1===e.length?`shape - required property \"${e[0]}\" is not defined.`:`shape - required properties \"${e.join('\", \"')}\" are not defined.`),!1}return i.every(n=>{if(-1===t.indexOf(n))return!0===this._vueTypes_isLoose||(d(`shape - shape definition does not include a \"${n}\" property. Allowed keys: \"${t.join('\", \"')}\".`),!1);const i=m(e[n],r[n],!0);return\"string\"==typeof i&&d(`shape - \"${n}\" property validation error:\\n ${$(i)}`),!0===i})}});return Object.defineProperty(r,\"_vueTypes_isLoose\",{writable:!0,value:!1}),Object.defineProperty(r,\"loose\",{get(){return this._vueTypes_isLoose=!0,this}}),r}const M=[\"name\",\"validate\",\"getter\"],R=/*#__PURE__*/(e=>((e=class{static get any(){return w()}static get func(){return x().def(this.defaults.func)}static get bool(){return void 0===this.defaults.bool?P():P().def(this.defaults.bool)}static get string(){return A().def(this.defaults.string)}static get number(){return E().def(this.defaults.number)}static get array(){return S().def(this.defaults.array)}static get object(){return N().def(this.defaults.object)}static get integer(){return V().def(this.defaults.integer)}static get symbol(){return q()}static get nullable(){return k()}static extend(e){if(d(\"VueTypes.extend is deprecated. Use the ES6+ method instead. See https://dwightjack.github.io/vue-types/advanced/extending-vue-types.html#extending-namespaced-validators-in-es6 for details.\"),v(e))return e.forEach(e=>this.extend(e)),this;const{name:t,validate:r=!1,getter:i=!1}=e,o=n(e,M);if(p(this,t))throw new TypeError(`[VueTypes error]: Type \"${t}\" already defined`);const{type:a}=o;if(b(a))return delete o.type,Object.defineProperty(this,t,i?{get:()=>T(t,a,o)}:{value(...e){const n=T(t,a,o);return n.validator&&(n.validator=n.validator.bind(n,...e)),n}});let s;return s=i?{get(){const e=Object.assign({},o);return r?_(t,e):j(t,e)},enumerable:!0}:{value(...e){const n=Object.assign({},o);let i;return i=r?_(t,n):j(t,n),n.validator&&(i.validator=n.validator.bind(i,...e)),i},enumerable:!0},Object.defineProperty(this,t,s)}}).defaults={},e.sensibleDefaults=void 0,e.config=r,e.custom=D,e.oneOf=L,e.instanceOf=Y,e.oneOfType=B,e.arrayOf=F,e.objectOf=I,e.shape=J,e.utils={validate:(e,t)=>!0===m(t,e,!0),toType:(e,t,n=!1)=>n?_(e,t):j(e,t)},e))();function U(e={func:()=>{},bool:!0,string:\"\",number:0,array:()=>[],object:()=>({}),integer:0}){var n;return(n=class extends R{static get sensibleDefaults(){return t({},this.defaults)}static set sensibleDefaults(n){this.defaults=!1!==n?t({},!0!==n?n:e):{}}}).defaults=t({},e),n}class z extends(U()){}export{w as any,S as array,F as arrayOf,P as bool,r as config,U as createTypes,D as custom,z as default,T as fromType,x as func,Y as instanceOf,V as integer,k as nullable,E as number,N as object,I as objectOf,L as oneOf,B as oneOfType,J as shape,A as string,q as symbol,j as toType,_ as toValidableType,m as validateType};\n//# sourceMappingURL=vue-types.modern.js.map\n","import type { CSSProperties } from 'vue'\r\nimport type { VueTypeValidableDef, VueTypesInterface } from 'vue-types'\r\nimport { createTypes } from 'vue-types'\r\nimport type { VueNode } from '../type'\r\nconst PropTypes = createTypes({\r\n func: undefined,\r\n bool: undefined,\r\n string: undefined,\r\n number: undefined,\r\n array: undefined,\r\n object: undefined,\r\n integer: undefined,\r\n})\r\n\r\nPropTypes.extend([\r\n {\r\n name: 'looseBool',\r\n getter: true,\r\n type: Boolean,\r\n default: undefined,\r\n },\r\n {\r\n name: 'style',\r\n getter: true,\r\n type: [String, Object],\r\n default: undefined,\r\n },\r\n {\r\n name: 'VueNode',\r\n getter: true,\r\n // @ts-ignore\r\n type: null,\r\n },\r\n])\r\n\r\nexport function withUndefined<T extends { default?: any }>(type: T): T {\r\n type.default = undefined\r\n return type\r\n}\r\nexport default PropTypes as VueTypesInterface & {\r\n readonly looseBool: VueTypeValidableDef<boolean>\r\n readonly style: VueTypeValidableDef<CSSProperties>\r\n readonly VueNode: VueTypeValidableDef<VueNode>\r\n}\r\n"],"names":["isObject","o","isPlainObject","ctor","prot","t","n","r","i","a","s","u","l","e","c","f","d","p","y","v","h","b","g","O","m","j","_","T","$","w","x","P","A","E","S","N","V","q","k","D","L","B","F","Y","I","J","M","R","U","z","PropTypes","createTypes","withUndefined","type"],"mappings":"AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOA,SAASA,EAASC,GAAG;AACnB,SAAO,OAAO,UAAU,SAAS,KAAKA,CAAC,MAAM;AAC/C;AAEA,SAASC,EAAcD,GAAG;AACxB,MAAIE,GAAKC;AAET,SAAIJ,EAASC,CAAC,MAAM,KAAc,MAGlCE,IAAOF,EAAE,aACLE,MAAS,SAAkB,MAG/BC,IAAOD,EAAK,WACR,EAAAH,EAASI,CAAI,MAAM,MAGnBA,EAAK,eAAe,eAAe,MAAM;AAM/C;AC/BgD,SAASC,IAAG;AAAC,SAAOA,IAAE,OAAO,SAAO,OAAO,OAAO,KAAM,IAAC,SAAS,GAAE;AAAC,aAAQA,IAAE,GAAEA,IAAE,UAAU,QAAOA,KAAI;AAAC,UAAIC,IAAE,UAAUD,CAAC;AAAE,eAAQE,KAAKD,EAAE,QAAO,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AAYC,EAAY;AAAA,EAC5B,MAAM;AAAA,EACN,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,SAAS;AACX,CAAC;AAEDD,GAAU,OAAO;AAAA,EACf;AAAA,IACE,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,MAAM;AAAA,IACN,SAAS;AAAA,EACX;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,MAAM,CAAC,QAAQ,MAAM;AAAA,IACrB,SAAS;AAAA,EACX;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,QAAQ;AAAA;AAAA,IAER,MAAM;AAAA,EACR;AACF,CAAC;AAEM,SAASE,GAA2CC,GAAY;AACrE,SAAAA,EAAK,UAAU,QACRA;AACT;","x_google_ignoreList":[0,1]}
1
+ {"version":3,"file":"index.js","sources":["../../../../node_modules/is-plain-object/dist/is-plain-object.mjs","../../../../node_modules/vue-types/dist/vue-types.modern.js","../../../../src/components/_util/vue-types/index.ts"],"sourcesContent":["/*!\n * is-plain-object <https://github.com/jonschlinkert/is-plain-object>\n *\n * Copyright (c) 2014-2017, Jon Schlinkert.\n * Released under the MIT License.\n */\n\nfunction isObject(o) {\n return Object.prototype.toString.call(o) === '[object Object]';\n}\n\nfunction isPlainObject(o) {\n var ctor,prot;\n\n if (isObject(o) === false) return false;\n\n // If has modified constructor\n ctor = o.constructor;\n if (ctor === undefined) return true;\n\n // If has modified prototype\n prot = ctor.prototype;\n if (isObject(prot) === false) return false;\n\n // If constructor does not have an Object-specific method\n if (prot.hasOwnProperty('isPrototypeOf') === false) {\n return false;\n }\n\n // Most likely a plain Object\n return true;\n}\n\nexport { isPlainObject };\n","import{isPlainObject as e}from\"is-plain-object\";function t(){return t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},t.apply(this,arguments)}function n(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}const r={silent:!1,logLevel:\"warn\"},i=[\"validator\"],o=Object.prototype,a=o.toString,s=o.hasOwnProperty,u=/^\\s*function (\\w+)/;function l(e){var t;const n=null!==(t=null==e?void 0:e.type)&&void 0!==t?t:e;if(n){const e=n.toString().match(u);return e?e[1]:\"\"}return\"\"}const c=e;function f(){}let d=f;if(\"production\"!==process.env.NODE_ENV){const e=\"undefined\"!=typeof console;d=e?function(e,t=r.logLevel){!1===r.silent&&console[t](`[VueTypes warn]: ${e}`)}:f}const p=(e,t)=>s.call(e,t),y=Number.isInteger||function(e){return\"number\"==typeof e&&isFinite(e)&&Math.floor(e)===e},v=Array.isArray||function(e){return\"[object Array]\"===a.call(e)},h=e=>\"[object Function]\"===a.call(e),b=(e,t)=>c(e)&&p(e,\"_vueTypes_name\")&&(!t||e._vueTypes_name===t),g=e=>c(e)&&(p(e,\"type\")||[\"_vueTypes_name\",\"validator\",\"default\",\"required\"].some(t=>p(e,t)));function O(e,t){return Object.defineProperty(e.bind(t),\"__original\",{value:e})}function m(e,t,n=!1){let r,i=!0,o=\"\";r=c(e)?e:{type:e};const a=b(r)?r._vueTypes_name+\" - \":\"\";if(g(r)&&null!==r.type){if(void 0===r.type||!0===r.type)return i;if(!r.required&&null==t)return i;v(r.type)?(i=r.type.some(e=>!0===m(e,t,!0)),o=r.type.map(e=>l(e)).join(\" or \")):(o=l(r),i=\"Array\"===o?v(t):\"Object\"===o?c(t):\"String\"===o||\"Number\"===o||\"Boolean\"===o||\"Function\"===o?function(e){if(null==e)return\"\";const t=e.constructor.toString().match(u);return t?t[1].replace(/^Async/,\"\"):\"\"}(t)===o:t instanceof r.type)}if(!i){const e=`${a}value \"${t}\" should be of type \"${o}\"`;return!1===n?(d(e),!1):e}if(p(r,\"validator\")&&h(r.validator)){const e=d,o=[];if(d=e=>{o.push(e)},i=r.validator(t),d=e,!i){const e=(o.length>1?\"* \":\"\")+o.join(\"\\n* \");return o.length=0,!1===n?(d(e),i):e}}return i}function j(e,t){const n=Object.defineProperties(t,{_vueTypes_name:{value:e,writable:!0},isRequired:{get(){return this.required=!0,this}},def:{value(e){return void 0===e?this.type===Boolean||Array.isArray(this.type)&&this.type.includes(Boolean)?void(this.default=void 0):(p(this,\"default\")&&delete this.default,this):h(e)||!0===m(this,e,!0)?(this.default=v(e)?()=>[...e]:c(e)?()=>Object.assign({},e):e,this):(d(`${this._vueTypes_name} - invalid default value: \"${e}\"`),this)}}}),{validator:r}=n;return h(r)&&(n.validator=O(r,n)),n}function _(e,t){const n=j(e,t);return Object.defineProperty(n,\"validate\",{value(e){return h(this.validator)&&d(`${this._vueTypes_name} - calling .validate() will overwrite the current custom validator function. Validator info:\\n${JSON.stringify(this)}`),this.validator=O(e,this),this}})}function T(e,t,r){const o=function(e){const t={};return Object.getOwnPropertyNames(e).forEach(n=>{t[n]=Object.getOwnPropertyDescriptor(e,n)}),Object.defineProperties({},t)}(t);if(o._vueTypes_name=e,!c(r))return o;const{validator:a}=r,s=n(r,i);if(h(a)){let{validator:e}=o;e&&(e=null!==(l=(u=e).__original)&&void 0!==l?l:u),o.validator=O(e?function(t){return e.call(this,t)&&a.call(this,t)}:a,o)}var u,l;return Object.assign(o,s)}function $(e){return e.replace(/^(?!\\s*$)/gm,\" \")}const w=()=>_(\"any\",{}),x=()=>_(\"function\",{type:Function}),P=()=>_(\"boolean\",{type:Boolean}),A=()=>_(\"string\",{type:String}),E=()=>_(\"number\",{type:Number}),S=()=>_(\"array\",{type:Array}),N=()=>_(\"object\",{type:Object}),V=()=>j(\"integer\",{type:Number,validator(e){const t=y(e);return!1===t&&d(`integer - \"${e}\" is not an integer`),t}}),q=()=>j(\"symbol\",{validator(e){const t=\"symbol\"==typeof e;return!1===t&&d(`symbol - invalid value \"${e}\"`),t}}),k=()=>Object.defineProperty({type:null,validator(e){const t=null===e;return!1===t&&d(\"nullable - value should be null\"),t}},\"_vueTypes_name\",{value:\"nullable\"});function D(e,t=\"custom validation failed\"){if(\"function\"!=typeof e)throw new TypeError(\"[VueTypes error]: You must provide a function as argument\");return j(e.name||\"<<anonymous function>>\",{type:null,validator(n){const r=e(n);return r||d(`${this._vueTypes_name} - ${t}`),r}})}function L(e){if(!v(e))throw new TypeError(\"[VueTypes error]: You must provide an array as argument.\");const t=`oneOf - value should be one of \"${e.map(e=>\"symbol\"==typeof e?e.toString():e).join('\", \"')}\".`,n={validator(n){const r=-1!==e.indexOf(n);return r||d(t),r}};if(-1===e.indexOf(null)){const t=e.reduce((e,t)=>{if(null!=t){const n=t.constructor;-1===e.indexOf(n)&&e.push(n)}return e},[]);t.length>0&&(n.type=t)}return j(\"oneOf\",n)}function B(e){if(!v(e))throw new TypeError(\"[VueTypes error]: You must provide an array as argument\");let t=!1,n=!1,r=[];for(let i=0;i<e.length;i+=1){const o=e[i];if(g(o)){if(h(o.validator)&&(t=!0),b(o,\"oneOf\")&&o.type){r=r.concat(o.type);continue}if(b(o,\"nullable\")){n=!0;continue}if(!0===o.type||!o.type){d('oneOfType - invalid usage of \"true\" and \"null\" as types.');continue}r=r.concat(o.type)}else r.push(o)}r=r.filter((e,t)=>r.indexOf(e)===t);const i=!1===n&&r.length>0?r:null;return j(\"oneOfType\",t?{type:i,validator(t){const n=[],r=e.some(e=>{const r=m(e,t,!0);return\"string\"==typeof r&&n.push(r),!0===r});return r||d(`oneOfType - provided value does not match any of the ${n.length} passed-in validators:\\n${$(n.join(\"\\n\"))}`),r}}:{type:i})}function F(e){return j(\"arrayOf\",{type:Array,validator(t){let n=\"\";const r=t.every(t=>(n=m(e,t,!0),!0===n));return r||d(`arrayOf - value validation error:\\n${$(n)}`),r}})}function Y(e){return j(\"instanceOf\",{type:e})}function I(e){return j(\"objectOf\",{type:Object,validator(t){let n=\"\";const r=Object.keys(t).every(r=>(n=m(e,t[r],!0),!0===n));return r||d(`objectOf - value validation error:\\n${$(n)}`),r}})}function J(e){const t=Object.keys(e),n=t.filter(t=>{var n;return!(null===(n=e[t])||void 0===n||!n.required)}),r=j(\"shape\",{type:Object,validator(r){if(!c(r))return!1;const i=Object.keys(r);if(n.length>0&&n.some(e=>-1===i.indexOf(e))){const e=n.filter(e=>-1===i.indexOf(e));return d(1===e.length?`shape - required property \"${e[0]}\" is not defined.`:`shape - required properties \"${e.join('\", \"')}\" are not defined.`),!1}return i.every(n=>{if(-1===t.indexOf(n))return!0===this._vueTypes_isLoose||(d(`shape - shape definition does not include a \"${n}\" property. Allowed keys: \"${t.join('\", \"')}\".`),!1);const i=m(e[n],r[n],!0);return\"string\"==typeof i&&d(`shape - \"${n}\" property validation error:\\n ${$(i)}`),!0===i})}});return Object.defineProperty(r,\"_vueTypes_isLoose\",{writable:!0,value:!1}),Object.defineProperty(r,\"loose\",{get(){return this._vueTypes_isLoose=!0,this}}),r}const M=[\"name\",\"validate\",\"getter\"],R=/*#__PURE__*/(e=>((e=class{static get any(){return w()}static get func(){return x().def(this.defaults.func)}static get bool(){return void 0===this.defaults.bool?P():P().def(this.defaults.bool)}static get string(){return A().def(this.defaults.string)}static get number(){return E().def(this.defaults.number)}static get array(){return S().def(this.defaults.array)}static get object(){return N().def(this.defaults.object)}static get integer(){return V().def(this.defaults.integer)}static get symbol(){return q()}static get nullable(){return k()}static extend(e){if(d(\"VueTypes.extend is deprecated. Use the ES6+ method instead. See https://dwightjack.github.io/vue-types/advanced/extending-vue-types.html#extending-namespaced-validators-in-es6 for details.\"),v(e))return e.forEach(e=>this.extend(e)),this;const{name:t,validate:r=!1,getter:i=!1}=e,o=n(e,M);if(p(this,t))throw new TypeError(`[VueTypes error]: Type \"${t}\" already defined`);const{type:a}=o;if(b(a))return delete o.type,Object.defineProperty(this,t,i?{get:()=>T(t,a,o)}:{value(...e){const n=T(t,a,o);return n.validator&&(n.validator=n.validator.bind(n,...e)),n}});let s;return s=i?{get(){const e=Object.assign({},o);return r?_(t,e):j(t,e)},enumerable:!0}:{value(...e){const n=Object.assign({},o);let i;return i=r?_(t,n):j(t,n),n.validator&&(i.validator=n.validator.bind(i,...e)),i},enumerable:!0},Object.defineProperty(this,t,s)}}).defaults={},e.sensibleDefaults=void 0,e.config=r,e.custom=D,e.oneOf=L,e.instanceOf=Y,e.oneOfType=B,e.arrayOf=F,e.objectOf=I,e.shape=J,e.utils={validate:(e,t)=>!0===m(t,e,!0),toType:(e,t,n=!1)=>n?_(e,t):j(e,t)},e))();function U(e={func:()=>{},bool:!0,string:\"\",number:0,array:()=>[],object:()=>({}),integer:0}){var n;return(n=class extends R{static get sensibleDefaults(){return t({},this.defaults)}static set sensibleDefaults(n){this.defaults=!1!==n?t({},!0!==n?n:e):{}}}).defaults=t({},e),n}class z extends(U()){}export{w as any,S as array,F as arrayOf,P as bool,r as config,U as createTypes,D as custom,z as default,T as fromType,x as func,Y as instanceOf,V as integer,k as nullable,E as number,N as object,I as objectOf,L as oneOf,B as oneOfType,J as shape,A as string,q as symbol,j as toType,_ as toValidableType,m as validateType};\n//# sourceMappingURL=vue-types.modern.js.map\n","import type { CSSProperties } from 'vue'\r\nimport type { VueTypeValidableDef, VueTypesInterface } from 'vue-types'\r\nimport { createTypes } from 'vue-types'\r\nimport type { VueNode } from '../type'\r\nconst PropTypes = createTypes({\r\n func: undefined,\r\n bool: undefined,\r\n string: undefined,\r\n number: undefined,\r\n array: undefined,\r\n object: undefined,\r\n integer: undefined,\r\n})\r\n\r\nPropTypes.extend([\r\n {\r\n name: 'looseBool',\r\n getter: true,\r\n type: Boolean,\r\n default: undefined,\r\n },\r\n {\r\n name: 'style',\r\n getter: true,\r\n type: [String, Object],\r\n default: undefined,\r\n },\r\n {\r\n name: 'VueNode',\r\n getter: true,\r\n // @ts-ignore\r\n type: null,\r\n },\r\n])\r\n\r\nexport function withUndefined<T extends { default?: any }>(type: T): T {\r\n type.default = undefined\r\n return type\r\n}\r\nexport default PropTypes as VueTypesInterface & {\r\n readonly looseBool: VueTypeValidableDef<boolean>\r\n readonly style: VueTypeValidableDef<CSSProperties>\r\n readonly VueNode: VueTypeValidableDef<VueNode>\r\n}\r\n"],"names":["o","t","n","r","e","i","a","s","l","u","createTypes"],"mappings":"AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOA,SAAS,SAASA,IAAG;AACnB,SAAO,OAAO,UAAU,SAAS,KAAKA,EAAC,MAAM;AAC/C;AAEA,SAAS,cAAcA,IAAG;AACxB,MAAI,MAAK;AAET,MAAI,SAASA,EAAC,MAAM,MAAO,QAAO;AAGlC,SAAOA,GAAE;AACT,MAAI,SAAS,OAAW,QAAO;AAG/B,SAAO,KAAK;AACZ,MAAI,SAAS,IAAI,MAAM,MAAO,QAAO;AAGrC,MAAI,KAAK,eAAe,eAAe,MAAM,OAAO;AAClD,WAAO;AAAA,EACR;AAGD,SAAO;AACT;AC/BgD,SAAS,IAAG;AAAC,SAAO,IAAE,OAAO,SAAO,OAAO,OAAO,KAAM,IAAC,SAAS,GAAE;AAAC,aAAQC,KAAE,GAAEA,KAAE,UAAU,QAAOA,MAAI;AAAC,UAAIC,KAAE,UAAUD,EAAC;AAAE,eAAQE,MAAKD,GAAE,QAAO,UAAU,eAAe,KAAKA,IAAEC,EAAC,MAAI,EAAEA,EAAC,IAAED,GAAEC,EAAC;AAAA,IAAE;AAAC,WAAO;AAAA,EAAC,GAAE,EAAE,MAAM,MAAK,SAAS;AAAC;AAAC,SAAS,EAAE,GAAEF,IAAE;AAAC,MAAG,QAAM,EAAE,QAAM,CAAE;AAAC,MAAIC,KAAE;AAAG,WAAQC,MAAK,EAAE,KAAG,OAAO,UAAU,eAAe,KAAK,GAAEA,EAAC,GAAE;AAAC,QAAGF,GAAE,QAAQE,EAAC,KAAG,EAAE;AAAS,IAAAD,GAAEC,EAAC,IAAE,EAAEA,EAAC;AAAA,EAAC;AAAC,SAAOD;AAAC;AAAC,MAAM,IAAE,EAAC,QAAO,OAAG,UAAS,OAAM,GAAE,IAAE,CAAC,WAAW,GAAE,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AAI,CAAA,GAAG,QAAO,OAAK,CAAA,IAAI,SAAQ,EAAC,GAAE;AAAC,MAAIC;AAAE,UAAOA,KAAE,cAAc,EAAC;AAAA,IAAC,WAAW,mBAAkB;AAAC,aAAO,EAAE,CAAE,GAAC,KAAK,QAAQ;AAAA,IAAC;AAAA,IAAC,WAAW,iBAAiBA,IAAE;AAAC,WAAK,WAAS,UAAKA,KAAE,EAAE,IAAG,SAAKA,KAAEA,KAAE,CAAC,IAAE,CAAA;AAAA,IAAE;AAAA,EAAC,GAAG,WAAS,EAAE,IAAG,CAAC,GAAEA;AAAC;AAAC,MAAM,UAAU,EAAC,EAAG;AAAA;ACIrhR,MAAM,YAAYQ,EAAY;AAAA,EAC5B,MAAM;AAAA,EACN,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,SAAS;AACX,CAAC;AAED,UAAU,OAAO;AAAA,EACf;AAAA,IACE,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,MAAM;AAAA,IACN,SAAS;AAAA,EACX;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,MAAM,CAAC,QAAQ,MAAM;AAAA,IACrB,SAAS;AAAA,EACX;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,QAAQ;AAAA;AAAA,IAER,MAAM;AAAA,EACR;AACF,CAAC;AAEM,SAAS,cAA2C,MAAY;AACrE,OAAK,UAAU;AACR,SAAA;AACT;","x_google_ignoreList":[0,1]}
@@ -1,23 +1,23 @@
1
- import { default as a } from "./Button/index.js";
2
- import { S as t } from "../index-BbsXWo7C.js";
3
- import { Colflex as l, Flexitem as x, Rowflex as m } from "./Flex/index.js";
4
- import { default as s } from "./Tabs/index.js";
5
- import { default as d } from "./Pagetable/index.js";
6
- import { default as i } from "./Querytable/index.js";
7
- import { i as S } from "../components-J6-qau6Y.js";
8
- import { default as c } from "./Form/index.js";
9
- import { default as n } from "./LovTable/index.js";
1
+ import { default as default2 } from "./Button/index.js";
2
+ import { S } from "../index-BOKLZnqH.js";
3
+ import { Colflex, Flexitem, Rowflex } from "./Flex/index.js";
4
+ import { default as default3 } from "./Tabs/index.js";
5
+ import { default as default4 } from "./Pagetable/index.js";
6
+ import { default as default5 } from "./Querytable/index.js";
7
+ import { default as default6 } from "./Modal/index.js";
8
+ import { default as default7 } from "./Form/index.js";
9
+ import { default as default8 } from "./LovTable/index.js";
10
10
  export {
11
- a as Button,
12
- l as Colflex,
13
- x as Flexitem,
14
- c as Form,
15
- n as LovTable,
16
- S as Modal,
17
- d as Pagetable,
18
- i as Querytable,
19
- m as Rowflex,
20
- t as Space,
21
- s as Tabs
11
+ default2 as Button,
12
+ Colflex,
13
+ Flexitem,
14
+ default7 as Form,
15
+ default8 as LovTable,
16
+ default6 as Modal,
17
+ default4 as Pagetable,
18
+ default5 as Querytable,
19
+ Rowflex,
20
+ S as Space,
21
+ default3 as Tabs
22
22
  };
23
23
  //# sourceMappingURL=components.js.map
@@ -1,39 +1,42 @@
1
- import { c as t } from "../components-J6-qau6Y.js";
2
- import { i as m } from "../components-J6-qau6Y.js";
3
- import { default as p } from "./Modal/useModal.js";
4
- import { default as n } from "./Form/index.js";
5
- import { default as c } from "./Button/index.js";
6
- import { S as b } from "../index-BbsXWo7C.js";
7
- import { Colflex as v, Flexitem as C, Rowflex as F } from "./Flex/index.js";
8
- import { default as L } from "./Tabs/index.js";
9
- import { default as O } from "./Pagetable/index.js";
10
- import { default as T } from "./Querytable/index.js";
11
- import { default as h } from "./LovTable/index.js";
12
- import { formContextKey as k } from "./Form/Form.js";
13
- import { default as B } from "./Form/LovInput/hooks/useLov.js";
14
- import { lovContextKey as P } from "./Form/LovInput/LovInput.js";
15
- const f = function(o) {
16
- return Object.keys(t).forEach((r) => {
17
- const e = t[r];
18
- e.install && o.use(e);
19
- }), o;
1
+ import { c as components } from "../components-B3d9m_tn.js";
2
+ import { default as default2 } from "./Modal/useModal.js";
3
+ import { default as default3 } from "./Form/index.js";
4
+ import { default as default4 } from "./Button/index.js";
5
+ import { S } from "../index-BOKLZnqH.js";
6
+ import { Colflex, Flexitem, Rowflex } from "./Flex/index.js";
7
+ import { default as default5 } from "./Tabs/index.js";
8
+ import { default as default6 } from "./Pagetable/index.js";
9
+ import { default as default7 } from "./Querytable/index.js";
10
+ import { default as default8 } from "./Modal/index.js";
11
+ import { default as default9 } from "./LovTable/index.js";
12
+ import { formContextKey } from "./Form/Form.js";
13
+ import { default as default10 } from "./Form/LovInput/hooks/useLov.js";
14
+ import { lovContextKey } from "./Form/LovInput/LovInput.js";
15
+ const install = function(app) {
16
+ Object.keys(components).forEach((key) => {
17
+ const component = components[key];
18
+ if (component.install) {
19
+ app.use(component);
20
+ }
21
+ });
22
+ return app;
20
23
  };
21
24
  export {
22
- c as Button,
23
- v as Colflex,
24
- C as Flexitem,
25
- n as Form,
26
- h as LovTable,
27
- m as Modal,
28
- O as Pagetable,
29
- T as Querytable,
30
- F as Rowflex,
31
- b as Space,
32
- L as Tabs,
33
- k as formContextKey,
34
- f as install,
35
- P as lovContextKey,
36
- B as useLov,
37
- p as useOModal
25
+ default4 as Button,
26
+ Colflex,
27
+ Flexitem,
28
+ default3 as Form,
29
+ default9 as LovTable,
30
+ default8 as Modal,
31
+ default6 as Pagetable,
32
+ default7 as Querytable,
33
+ Rowflex,
34
+ S as Space,
35
+ default5 as Tabs,
36
+ formContextKey,
37
+ install,
38
+ lovContextKey,
39
+ default10 as useLov,
40
+ default2 as useOModal
38
41
  };
39
42
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../src/components/index.ts"],"sourcesContent":["import type { App } from 'vue'\r\n\r\nimport * as components from './components'\r\n\r\nexport * from './components'\r\n\r\nexport type * from './types'\r\n\r\nexport const install = function (app: App) {\r\n Object.keys(components).forEach((key) => {\r\n const component = components[key]\r\n if (component.install) {\r\n app.use(component)\r\n }\r\n })\r\n return app\r\n}\r\n\r\nexport { default as useOModal } from './Modal/useModal'\r\nexport * from './Form'\r\n"],"names":["install","app","components","key","component"],"mappings":";;;;;;;;;;;;;;AAQa,MAAAA,IAAU,SAAUC,GAAU;AACzC,gBAAO,KAAKC,CAAU,EAAE,QAAQ,CAACC,MAAQ;AACjC,UAAAC,IAAYF,EAAWC,CAAG;AAChC,IAAIC,EAAU,WACZH,EAAI,IAAIG,CAAS;AAAA,EACnB,CACD,GACMH;AACT;"}
1
+ {"version":3,"file":"index.js","sources":["../../src/components/index.ts"],"sourcesContent":["import type { App } from 'vue'\r\n\r\nimport * as components from './components'\r\n\r\nexport * from './components'\r\n\r\nexport type * from './types'\r\n\r\nexport const install = function (app: App) {\r\n Object.keys(components).forEach((key) => {\r\n const component = components[key]\r\n if (component.install) {\r\n app.use(component)\r\n }\r\n })\r\n return app\r\n}\r\n\r\nexport { default as useOModal } from './Modal/useModal'\r\nexport * from './Form'\r\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAQa,MAAA,UAAU,SAAU,KAAU;AACzC,SAAO,KAAK,UAAU,EAAE,QAAQ,CAAC,QAAQ;AACjC,UAAA,YAAY,WAAW,GAAG;AAChC,QAAI,UAAU,SAAS;AACrB,UAAI,IAAI,SAAS;AAAA,IACnB;AAAA,EAAA,CACD;AACM,SAAA;AACT;"}
@@ -0,0 +1,27 @@
1
+ import o from "./components/Button/index.js";
2
+ import { S as e } from "./index-BbsXWo7C.js";
3
+ import { Colflex as r, Flexitem as t, Rowflex as m } from "./components/Flex/index.js";
4
+ import i from "./components/Tabs/index.js";
5
+ import p from "./components/Pagetable/index.js";
6
+ import f from "./components/Querytable/index.js";
7
+ import l from "./components/Modal/index.js";
8
+ import n from "./components/Form/index.js";
9
+ import a from "./components/LovTable/index.js";
10
+ const g = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11
+ __proto__: null,
12
+ Button: o,
13
+ Colflex: r,
14
+ Flexitem: t,
15
+ Form: n,
16
+ LovTable: a,
17
+ Modal: l,
18
+ Pagetable: p,
19
+ Querytable: f,
20
+ Rowflex: m,
21
+ Space: e,
22
+ Tabs: i
23
+ }, Symbol.toStringTag, { value: "Module" }));
24
+ export {
25
+ g as c
26
+ };
27
+ //# sourceMappingURL=components-8oZ2kpUC.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components-8oZ2kpUC.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,27 @@
1
+ import index from "./components/Button/index.js";
2
+ import { S as Space } from "./index-BOKLZnqH.js";
3
+ import { Colflex, Flexitem, Rowflex } from "./components/Flex/index.js";
4
+ import index$4 from "./components/Tabs/index.js";
5
+ import Pagetable from "./components/Pagetable/index.js";
6
+ import Querytable from "./components/Querytable/index.js";
7
+ import index$3 from "./components/Modal/index.js";
8
+ import index$1 from "./components/Form/index.js";
9
+ import index$2 from "./components/LovTable/index.js";
10
+ const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11
+ __proto__: null,
12
+ Button: index,
13
+ Colflex,
14
+ Flexitem,
15
+ Form: index$1,
16
+ LovTable: index$2,
17
+ Modal: index$3,
18
+ Pagetable,
19
+ Querytable,
20
+ Rowflex,
21
+ Space,
22
+ Tabs: index$4
23
+ }, Symbol.toStringTag, { value: "Module" }));
24
+ export {
25
+ components as c
26
+ };
27
+ //# sourceMappingURL=components-B3d9m_tn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components-B3d9m_tn.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,9 +1,13 @@
1
- class r extends Error {
2
- constructor(t, a) {
3
- super(t, { cause: a }), Error.captureStackTrace && Error.captureStackTrace(this, r), this.name = "OrionError";
1
+ class OrionError extends Error {
2
+ constructor(message, cause) {
3
+ super(message, { cause });
4
+ if (Error.captureStackTrace) {
5
+ Error.captureStackTrace(this, OrionError);
6
+ }
7
+ this.name = "OrionError";
4
8
  }
5
9
  }
6
10
  export {
7
- r as default
11
+ OrionError as default
8
12
  };
9
13
  //# sourceMappingURL=OrionError.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"OrionError.js","sources":["../../src/error/OrionError.ts"],"sourcesContent":["export default class OrionError extends Error {\r\n constructor(message: string, cause?: Error) {\r\n super(message, { cause })\r\n\r\n // Maintains proper stack trace for where our error was thrown (only available on V8)\r\n // @ts-ignore\r\n if (Error.captureStackTrace) {\r\n // @ts-ignore\r\n Error.captureStackTrace(this, OrionError)\r\n }\r\n\r\n this.name = 'OrionError'\r\n }\r\n}\r\n"],"names":["OrionError","message","cause"],"mappings":"AAAA,MAAqBA,UAAmB,MAAM;AAAA,EAC5C,YAAYC,GAAiBC,GAAe;AACpC,UAAAD,GAAS,EAAE,OAAAC,EAAA,CAAO,GAIpB,MAAM,qBAEF,MAAA,kBAAkB,MAAMF,CAAU,GAG1C,KAAK,OAAO;AAAA,EACd;AACF;"}
1
+ {"version":3,"file":"OrionError.js","sources":["../../src/error/OrionError.ts"],"sourcesContent":["export default class OrionError extends Error {\r\n constructor(message: string, cause?: Error) {\r\n super(message, { cause })\r\n\r\n // Maintains proper stack trace for where our error was thrown (only available on V8)\r\n // @ts-ignore\r\n if (Error.captureStackTrace) {\r\n // @ts-ignore\r\n Error.captureStackTrace(this, OrionError)\r\n }\r\n\r\n this.name = 'OrionError'\r\n }\r\n}\r\n"],"names":[],"mappings":"AAAA,MAAqB,mBAAmB,MAAM;AAAA,EAC5C,YAAY,SAAiB,OAAe;AACpC,UAAA,SAAS,EAAE,MAAA,CAAO;AAIxB,QAAI,MAAM,mBAAmB;AAErB,YAAA,kBAAkB,MAAM,UAAU;AAAA,IAC1C;AAEA,SAAK,OAAO;AAAA,EACd;AACF;"}
@@ -0,0 +1,63 @@
1
+ /**
2
+ * @vue/shared v3.5.10
3
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
+ * @license MIT
5
+ **/
6
+ !!(process.env.NODE_ENV !== "production") ? Object.freeze({}) : {};
7
+ !!(process.env.NODE_ENV !== "production") ? Object.freeze([]) : [];
8
+ const NOOP = () => {
9
+ };
10
+ const hasOwnProperty = Object.prototype.hasOwnProperty;
11
+ const hasOwn = (val, key) => hasOwnProperty.call(val, key);
12
+ const isArray = Array.isArray;
13
+ const isDate = (val) => toTypeString(val) === "[object Date]";
14
+ const isFunction = (val) => typeof val === "function";
15
+ const isString = (val) => typeof val === "string";
16
+ const isSymbol = (val) => typeof val === "symbol";
17
+ const isObject = (val) => val !== null && typeof val === "object";
18
+ const isPromise = (val) => {
19
+ return (isObject(val) || isFunction(val)) && isFunction(val.then) && isFunction(val.catch);
20
+ };
21
+ const objectToString = Object.prototype.toString;
22
+ const toTypeString = (value) => objectToString.call(value);
23
+ const toRawType = (value) => {
24
+ return toTypeString(value).slice(8, -1);
25
+ };
26
+ const isPlainObject = (val) => toTypeString(val) === "[object Object]";
27
+ const cacheStringFunction = (fn) => {
28
+ const cache = /* @__PURE__ */ Object.create(null);
29
+ return (str) => {
30
+ const hit = cache[str];
31
+ return hit || (cache[str] = fn(str));
32
+ };
33
+ };
34
+ const camelizeRE = /-(\w)/g;
35
+ const camelize = cacheStringFunction(
36
+ (str) => {
37
+ return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : "");
38
+ }
39
+ );
40
+ const hyphenateRE = /\B([A-Z])/g;
41
+ const hyphenate = cacheStringFunction(
42
+ (str) => str.replace(hyphenateRE, "-$1").toLowerCase()
43
+ );
44
+ const capitalize = cacheStringFunction((str) => {
45
+ return str.charAt(0).toUpperCase() + str.slice(1);
46
+ });
47
+ export {
48
+ NOOP as N,
49
+ hyphenate as a,
50
+ isFunction as b,
51
+ camelize as c,
52
+ isObject as d,
53
+ isString as e,
54
+ isDate as f,
55
+ isPromise as g,
56
+ hasOwn as h,
57
+ isArray as i,
58
+ isSymbol as j,
59
+ isPlainObject as k,
60
+ capitalize as l,
61
+ toRawType as t
62
+ };
63
+ //# sourceMappingURL=functions-BeMkokbY.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"functions-BeMkokbY.js","sources":["../node_modules/@vue/shared/dist/shared.esm-bundler.js"],"sourcesContent":["/**\n* @vue/shared v3.5.10\n* (c) 2018-present Yuxi (Evan) You and Vue contributors\n* @license MIT\n**/\n/*! #__NO_SIDE_EFFECTS__ */\n// @__NO_SIDE_EFFECTS__\nfunction makeMap(str) {\n const map = /* @__PURE__ */ Object.create(null);\n for (const key of str.split(\",\")) map[key] = 1;\n return (val) => val in map;\n}\n\nconst EMPTY_OBJ = !!(process.env.NODE_ENV !== \"production\") ? Object.freeze({}) : {};\nconst EMPTY_ARR = !!(process.env.NODE_ENV !== \"production\") ? Object.freeze([]) : [];\nconst NOOP = () => {\n};\nconst NO = () => false;\nconst isOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && // uppercase letter\n(key.charCodeAt(2) > 122 || key.charCodeAt(2) < 97);\nconst isModelListener = (key) => key.startsWith(\"onUpdate:\");\nconst extend = Object.assign;\nconst remove = (arr, el) => {\n const i = arr.indexOf(el);\n if (i > -1) {\n arr.splice(i, 1);\n }\n};\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\nconst hasOwn = (val, key) => hasOwnProperty.call(val, key);\nconst isArray = Array.isArray;\nconst isMap = (val) => toTypeString(val) === \"[object Map]\";\nconst isSet = (val) => toTypeString(val) === \"[object Set]\";\nconst isDate = (val) => toTypeString(val) === \"[object Date]\";\nconst isRegExp = (val) => toTypeString(val) === \"[object RegExp]\";\nconst isFunction = (val) => typeof val === \"function\";\nconst isString = (val) => typeof val === \"string\";\nconst isSymbol = (val) => typeof val === \"symbol\";\nconst isObject = (val) => val !== null && typeof val === \"object\";\nconst isPromise = (val) => {\n return (isObject(val) || isFunction(val)) && isFunction(val.then) && isFunction(val.catch);\n};\nconst objectToString = Object.prototype.toString;\nconst toTypeString = (value) => objectToString.call(value);\nconst toRawType = (value) => {\n return toTypeString(value).slice(8, -1);\n};\nconst isPlainObject = (val) => toTypeString(val) === \"[object Object]\";\nconst isIntegerKey = (key) => isString(key) && key !== \"NaN\" && key[0] !== \"-\" && \"\" + parseInt(key, 10) === key;\nconst isReservedProp = /* @__PURE__ */ makeMap(\n // the leading comma is intentional so empty string \"\" is also included\n \",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted\"\n);\nconst isBuiltInDirective = /* @__PURE__ */ makeMap(\n \"bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo\"\n);\nconst cacheStringFunction = (fn) => {\n const cache = /* @__PURE__ */ Object.create(null);\n return (str) => {\n const hit = cache[str];\n return hit || (cache[str] = fn(str));\n };\n};\nconst camelizeRE = /-(\\w)/g;\nconst camelize = cacheStringFunction(\n (str) => {\n return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : \"\");\n }\n);\nconst hyphenateRE = /\\B([A-Z])/g;\nconst hyphenate = cacheStringFunction(\n (str) => str.replace(hyphenateRE, \"-$1\").toLowerCase()\n);\nconst capitalize = cacheStringFunction((str) => {\n return str.charAt(0).toUpperCase() + str.slice(1);\n});\nconst toHandlerKey = cacheStringFunction(\n (str) => {\n const s = str ? `on${capitalize(str)}` : ``;\n return s;\n }\n);\nconst hasChanged = (value, oldValue) => !Object.is(value, oldValue);\nconst invokeArrayFns = (fns, ...arg) => {\n for (let i = 0; i < fns.length; i++) {\n fns[i](...arg);\n }\n};\nconst def = (obj, key, value, writable = false) => {\n Object.defineProperty(obj, key, {\n configurable: true,\n enumerable: false,\n writable,\n value\n });\n};\nconst looseToNumber = (val) => {\n const n = parseFloat(val);\n return isNaN(n) ? val : n;\n};\nconst toNumber = (val) => {\n const n = isString(val) ? Number(val) : NaN;\n return isNaN(n) ? val : n;\n};\nlet _globalThis;\nconst getGlobalThis = () => {\n return _globalThis || (_globalThis = typeof globalThis !== \"undefined\" ? globalThis : typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window : typeof global !== \"undefined\" ? global : {});\n};\nconst identRE = /^[_$a-zA-Z\\xA0-\\uFFFF][_$a-zA-Z0-9\\xA0-\\uFFFF]*$/;\nfunction genPropsAccessExp(name) {\n return identRE.test(name) ? `__props.${name}` : `__props[${JSON.stringify(name)}]`;\n}\nfunction genCacheKey(source, options) {\n return source + JSON.stringify(\n options,\n (_, val) => typeof val === \"function\" ? val.toString() : val\n );\n}\n\nconst PatchFlags = {\n \"TEXT\": 1,\n \"1\": \"TEXT\",\n \"CLASS\": 2,\n \"2\": \"CLASS\",\n \"STYLE\": 4,\n \"4\": \"STYLE\",\n \"PROPS\": 8,\n \"8\": \"PROPS\",\n \"FULL_PROPS\": 16,\n \"16\": \"FULL_PROPS\",\n \"NEED_HYDRATION\": 32,\n \"32\": \"NEED_HYDRATION\",\n \"STABLE_FRAGMENT\": 64,\n \"64\": \"STABLE_FRAGMENT\",\n \"KEYED_FRAGMENT\": 128,\n \"128\": \"KEYED_FRAGMENT\",\n \"UNKEYED_FRAGMENT\": 256,\n \"256\": \"UNKEYED_FRAGMENT\",\n \"NEED_PATCH\": 512,\n \"512\": \"NEED_PATCH\",\n \"DYNAMIC_SLOTS\": 1024,\n \"1024\": \"DYNAMIC_SLOTS\",\n \"DEV_ROOT_FRAGMENT\": 2048,\n \"2048\": \"DEV_ROOT_FRAGMENT\",\n \"CACHED\": -1,\n \"-1\": \"CACHED\",\n \"BAIL\": -2,\n \"-2\": \"BAIL\"\n};\nconst PatchFlagNames = {\n [1]: `TEXT`,\n [2]: `CLASS`,\n [4]: `STYLE`,\n [8]: `PROPS`,\n [16]: `FULL_PROPS`,\n [32]: `NEED_HYDRATION`,\n [64]: `STABLE_FRAGMENT`,\n [128]: `KEYED_FRAGMENT`,\n [256]: `UNKEYED_FRAGMENT`,\n [512]: `NEED_PATCH`,\n [1024]: `DYNAMIC_SLOTS`,\n [2048]: `DEV_ROOT_FRAGMENT`,\n [-1]: `HOISTED`,\n [-2]: `BAIL`\n};\n\nconst ShapeFlags = {\n \"ELEMENT\": 1,\n \"1\": \"ELEMENT\",\n \"FUNCTIONAL_COMPONENT\": 2,\n \"2\": \"FUNCTIONAL_COMPONENT\",\n \"STATEFUL_COMPONENT\": 4,\n \"4\": \"STATEFUL_COMPONENT\",\n \"TEXT_CHILDREN\": 8,\n \"8\": \"TEXT_CHILDREN\",\n \"ARRAY_CHILDREN\": 16,\n \"16\": \"ARRAY_CHILDREN\",\n \"SLOTS_CHILDREN\": 32,\n \"32\": \"SLOTS_CHILDREN\",\n \"TELEPORT\": 64,\n \"64\": \"TELEPORT\",\n \"SUSPENSE\": 128,\n \"128\": \"SUSPENSE\",\n \"COMPONENT_SHOULD_KEEP_ALIVE\": 256,\n \"256\": \"COMPONENT_SHOULD_KEEP_ALIVE\",\n \"COMPONENT_KEPT_ALIVE\": 512,\n \"512\": \"COMPONENT_KEPT_ALIVE\",\n \"COMPONENT\": 6,\n \"6\": \"COMPONENT\"\n};\n\nconst SlotFlags = {\n \"STABLE\": 1,\n \"1\": \"STABLE\",\n \"DYNAMIC\": 2,\n \"2\": \"DYNAMIC\",\n \"FORWARDED\": 3,\n \"3\": \"FORWARDED\"\n};\nconst slotFlagsText = {\n [1]: \"STABLE\",\n [2]: \"DYNAMIC\",\n [3]: \"FORWARDED\"\n};\n\nconst GLOBALS_ALLOWED = \"Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol\";\nconst isGloballyAllowed = /* @__PURE__ */ makeMap(GLOBALS_ALLOWED);\nconst isGloballyWhitelisted = isGloballyAllowed;\n\nconst range = 2;\nfunction generateCodeFrame(source, start = 0, end = source.length) {\n start = Math.max(0, Math.min(start, source.length));\n end = Math.max(0, Math.min(end, source.length));\n if (start > end) return \"\";\n let lines = source.split(/(\\r?\\n)/);\n const newlineSequences = lines.filter((_, idx) => idx % 2 === 1);\n lines = lines.filter((_, idx) => idx % 2 === 0);\n let count = 0;\n const res = [];\n for (let i = 0; i < lines.length; i++) {\n count += lines[i].length + (newlineSequences[i] && newlineSequences[i].length || 0);\n if (count >= start) {\n for (let j = i - range; j <= i + range || end > count; j++) {\n if (j < 0 || j >= lines.length) continue;\n const line = j + 1;\n res.push(\n `${line}${\" \".repeat(Math.max(3 - String(line).length, 0))}| ${lines[j]}`\n );\n const lineLength = lines[j].length;\n const newLineSeqLength = newlineSequences[j] && newlineSequences[j].length || 0;\n if (j === i) {\n const pad = start - (count - (lineLength + newLineSeqLength));\n const length = Math.max(\n 1,\n end > count ? lineLength - pad : end - start\n );\n res.push(` | ` + \" \".repeat(pad) + \"^\".repeat(length));\n } else if (j > i) {\n if (end > count) {\n const length = Math.max(Math.min(end - count, lineLength), 1);\n res.push(` | ` + \"^\".repeat(length));\n }\n count += lineLength + newLineSeqLength;\n }\n }\n break;\n }\n }\n return res.join(\"\\n\");\n}\n\nfunction normalizeStyle(value) {\n if (isArray(value)) {\n const res = {};\n for (let i = 0; i < value.length; i++) {\n const item = value[i];\n const normalized = isString(item) ? parseStringStyle(item) : normalizeStyle(item);\n if (normalized) {\n for (const key in normalized) {\n res[key] = normalized[key];\n }\n }\n }\n return res;\n } else if (isString(value) || isObject(value)) {\n return value;\n }\n}\nconst listDelimiterRE = /;(?![^(]*\\))/g;\nconst propertyDelimiterRE = /:([^]+)/;\nconst styleCommentRE = /\\/\\*[^]*?\\*\\//g;\nfunction parseStringStyle(cssText) {\n const ret = {};\n cssText.replace(styleCommentRE, \"\").split(listDelimiterRE).forEach((item) => {\n if (item) {\n const tmp = item.split(propertyDelimiterRE);\n tmp.length > 1 && (ret[tmp[0].trim()] = tmp[1].trim());\n }\n });\n return ret;\n}\nfunction stringifyStyle(styles) {\n let ret = \"\";\n if (!styles || isString(styles)) {\n return ret;\n }\n for (const key in styles) {\n const value = styles[key];\n if (isString(value) || typeof value === \"number\") {\n const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);\n ret += `${normalizedKey}:${value};`;\n }\n }\n return ret;\n}\nfunction normalizeClass(value) {\n let res = \"\";\n if (isString(value)) {\n res = value;\n } else if (isArray(value)) {\n for (let i = 0; i < value.length; i++) {\n const normalized = normalizeClass(value[i]);\n if (normalized) {\n res += normalized + \" \";\n }\n }\n } else if (isObject(value)) {\n for (const name in value) {\n if (value[name]) {\n res += name + \" \";\n }\n }\n }\n return res.trim();\n}\nfunction normalizeProps(props) {\n if (!props) return null;\n let { class: klass, style } = props;\n if (klass && !isString(klass)) {\n props.class = normalizeClass(klass);\n }\n if (style) {\n props.style = normalizeStyle(style);\n }\n return props;\n}\n\nconst HTML_TAGS = \"html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot\";\nconst SVG_TAGS = \"svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view\";\nconst MATH_TAGS = \"annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics\";\nconst VOID_TAGS = \"area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr\";\nconst isHTMLTag = /* @__PURE__ */ makeMap(HTML_TAGS);\nconst isSVGTag = /* @__PURE__ */ makeMap(SVG_TAGS);\nconst isMathMLTag = /* @__PURE__ */ makeMap(MATH_TAGS);\nconst isVoidTag = /* @__PURE__ */ makeMap(VOID_TAGS);\n\nconst specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;\nconst isSpecialBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs);\nconst isBooleanAttr = /* @__PURE__ */ makeMap(\n specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`\n);\nfunction includeBooleanAttr(value) {\n return !!value || value === \"\";\n}\nconst unsafeAttrCharRE = /[>/=\"'\\u0009\\u000a\\u000c\\u0020]/;\nconst attrValidationCache = {};\nfunction isSSRSafeAttrName(name) {\n if (attrValidationCache.hasOwnProperty(name)) {\n return attrValidationCache[name];\n }\n const isUnsafe = unsafeAttrCharRE.test(name);\n if (isUnsafe) {\n console.error(`unsafe attribute name: ${name}`);\n }\n return attrValidationCache[name] = !isUnsafe;\n}\nconst propsToAttrMap = {\n acceptCharset: \"accept-charset\",\n className: \"class\",\n htmlFor: \"for\",\n httpEquiv: \"http-equiv\"\n};\nconst isKnownHtmlAttr = /* @__PURE__ */ makeMap(\n `accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap`\n);\nconst isKnownSvgAttr = /* @__PURE__ */ makeMap(\n `xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`\n);\nconst isKnownMathMLAttr = /* @__PURE__ */ makeMap(\n `accent,accentunder,actiontype,align,alignmentscope,altimg,altimg-height,altimg-valign,altimg-width,alttext,bevelled,close,columnsalign,columnlines,columnspan,denomalign,depth,dir,display,displaystyle,encoding,equalcolumns,equalrows,fence,fontstyle,fontweight,form,frame,framespacing,groupalign,height,href,id,indentalign,indentalignfirst,indentalignlast,indentshift,indentshiftfirst,indentshiftlast,indextype,justify,largetop,largeop,lquote,lspace,mathbackground,mathcolor,mathsize,mathvariant,maxsize,minlabelspacing,mode,other,overflow,position,rowalign,rowlines,rowspan,rquote,rspace,scriptlevel,scriptminsize,scriptsizemultiplier,selection,separator,separators,shift,side,src,stackalign,stretchy,subscriptshift,superscriptshift,symmetric,voffset,width,widths,xlink:href,xlink:show,xlink:type,xmlns`\n);\nfunction isRenderableAttrValue(value) {\n if (value == null) {\n return false;\n }\n const type = typeof value;\n return type === \"string\" || type === \"number\" || type === \"boolean\";\n}\n\nconst escapeRE = /[\"'&<>]/;\nfunction escapeHtml(string) {\n const str = \"\" + string;\n const match = escapeRE.exec(str);\n if (!match) {\n return str;\n }\n let html = \"\";\n let escaped;\n let index;\n let lastIndex = 0;\n for (index = match.index; index < str.length; index++) {\n switch (str.charCodeAt(index)) {\n case 34:\n escaped = \"&quot;\";\n break;\n case 38:\n escaped = \"&amp;\";\n break;\n case 39:\n escaped = \"&#39;\";\n break;\n case 60:\n escaped = \"&lt;\";\n break;\n case 62:\n escaped = \"&gt;\";\n break;\n default:\n continue;\n }\n if (lastIndex !== index) {\n html += str.slice(lastIndex, index);\n }\n lastIndex = index + 1;\n html += escaped;\n }\n return lastIndex !== index ? html + str.slice(lastIndex, index) : html;\n}\nconst commentStripRE = /^-?>|<!--|-->|--!>|<!-$/g;\nfunction escapeHtmlComment(src) {\n return src.replace(commentStripRE, \"\");\n}\nconst cssVarNameEscapeSymbolsRE = /[ !\"#$%&'()*+,./:;<=>?@[\\\\\\]^`{|}~]/g;\nfunction getEscapedCssVarName(key, doubleEscape) {\n return key.replace(\n cssVarNameEscapeSymbolsRE,\n (s) => doubleEscape ? s === '\"' ? '\\\\\\\\\\\\\"' : `\\\\\\\\${s}` : `\\\\${s}`\n );\n}\n\nfunction looseCompareArrays(a, b) {\n if (a.length !== b.length) return false;\n let equal = true;\n for (let i = 0; equal && i < a.length; i++) {\n equal = looseEqual(a[i], b[i]);\n }\n return equal;\n}\nfunction looseEqual(a, b) {\n if (a === b) return true;\n let aValidType = isDate(a);\n let bValidType = isDate(b);\n if (aValidType || bValidType) {\n return aValidType && bValidType ? a.getTime() === b.getTime() : false;\n }\n aValidType = isSymbol(a);\n bValidType = isSymbol(b);\n if (aValidType || bValidType) {\n return a === b;\n }\n aValidType = isArray(a);\n bValidType = isArray(b);\n if (aValidType || bValidType) {\n return aValidType && bValidType ? looseCompareArrays(a, b) : false;\n }\n aValidType = isObject(a);\n bValidType = isObject(b);\n if (aValidType || bValidType) {\n if (!aValidType || !bValidType) {\n return false;\n }\n const aKeysCount = Object.keys(a).length;\n const bKeysCount = Object.keys(b).length;\n if (aKeysCount !== bKeysCount) {\n return false;\n }\n for (const key in a) {\n const aHasKey = a.hasOwnProperty(key);\n const bHasKey = b.hasOwnProperty(key);\n if (aHasKey && !bHasKey || !aHasKey && bHasKey || !looseEqual(a[key], b[key])) {\n return false;\n }\n }\n }\n return String(a) === String(b);\n}\nfunction looseIndexOf(arr, val) {\n return arr.findIndex((item) => looseEqual(item, val));\n}\n\nconst isRef = (val) => {\n return !!(val && val[\"__v_isRef\"] === true);\n};\nconst toDisplayString = (val) => {\n return isString(val) ? val : val == null ? \"\" : isArray(val) || isObject(val) && (val.toString === objectToString || !isFunction(val.toString)) ? isRef(val) ? toDisplayString(val.value) : JSON.stringify(val, replacer, 2) : String(val);\n};\nconst replacer = (_key, val) => {\n if (isRef(val)) {\n return replacer(_key, val.value);\n } else if (isMap(val)) {\n return {\n [`Map(${val.size})`]: [...val.entries()].reduce(\n (entries, [key, val2], i) => {\n entries[stringifySymbol(key, i) + \" =>\"] = val2;\n return entries;\n },\n {}\n )\n };\n } else if (isSet(val)) {\n return {\n [`Set(${val.size})`]: [...val.values()].map((v) => stringifySymbol(v))\n };\n } else if (isSymbol(val)) {\n return stringifySymbol(val);\n } else if (isObject(val) && !isArray(val) && !isPlainObject(val)) {\n return String(val);\n }\n return val;\n};\nconst stringifySymbol = (v, i = \"\") => {\n var _a;\n return (\n // Symbol.description in es2019+ so we need to cast here to pass\n // the lib: es2016 check\n isSymbol(v) ? `Symbol(${(_a = v.description) != null ? _a : i})` : v\n );\n};\n\nexport { EMPTY_ARR, EMPTY_OBJ, NO, NOOP, PatchFlagNames, PatchFlags, ShapeFlags, SlotFlags, camelize, capitalize, cssVarNameEscapeSymbolsRE, def, escapeHtml, escapeHtmlComment, extend, genCacheKey, genPropsAccessExp, generateCodeFrame, getEscapedCssVarName, getGlobalThis, hasChanged, hasOwn, hyphenate, includeBooleanAttr, invokeArrayFns, isArray, isBooleanAttr, isBuiltInDirective, isDate, isFunction, isGloballyAllowed, isGloballyWhitelisted, isHTMLTag, isIntegerKey, isKnownHtmlAttr, isKnownMathMLAttr, isKnownSvgAttr, isMap, isMathMLTag, isModelListener, isObject, isOn, isPlainObject, isPromise, isRegExp, isRenderableAttrValue, isReservedProp, isSSRSafeAttrName, isSVGTag, isSet, isSpecialBooleanAttr, isString, isSymbol, isVoidTag, looseEqual, looseIndexOf, looseToNumber, makeMap, normalizeClass, normalizeProps, normalizeStyle, objectToString, parseStringStyle, propsToAttrMap, remove, slotFlagsText, stringifyStyle, toDisplayString, toHandlerKey, toNumber, toRawType, toTypeString };\n"],"names":[],"mappings":"AAAA;AAAA;AAAA;AAAA;AAAA;AAakB,CAAC,EAAE,QAAQ,IAAI,aAAa,gBAAgB,OAAO,OAAO,CAAE,CAAA,IAAI,CAAG;AACnE,CAAC,EAAE,QAAQ,IAAI,aAAa,gBAAgB,OAAO,OAAO,CAAE,CAAA,IAAI,CAAG;AAChF,MAAC,OAAO,MAAM;AACnB;AAYA,MAAM,iBAAiB,OAAO,UAAU;AACnC,MAAC,SAAS,CAAC,KAAK,QAAQ,eAAe,KAAK,KAAK,GAAG;AACpD,MAAC,UAAU,MAAM;AAGjB,MAAC,SAAS,CAAC,QAAQ,aAAa,GAAG,MAAM;AAEzC,MAAC,aAAa,CAAC,QAAQ,OAAO,QAAQ;AACtC,MAAC,WAAW,CAAC,QAAQ,OAAO,QAAQ;AACpC,MAAC,WAAW,CAAC,QAAQ,OAAO,QAAQ;AACpC,MAAC,WAAW,CAAC,QAAQ,QAAQ,QAAQ,OAAO,QAAQ;AACpD,MAAC,YAAY,CAAC,QAAQ;AACzB,UAAQ,SAAS,GAAG,KAAK,WAAW,GAAG,MAAM,WAAW,IAAI,IAAI,KAAK,WAAW,IAAI,KAAK;AAC3F;AACA,MAAM,iBAAiB,OAAO,UAAU;AACxC,MAAM,eAAe,CAAC,UAAU,eAAe,KAAK,KAAK;AACpD,MAAC,YAAY,CAAC,UAAU;AAC3B,SAAO,aAAa,KAAK,EAAE,MAAM,GAAG,EAAE;AACxC;AACK,MAAC,gBAAgB,CAAC,QAAQ,aAAa,GAAG,MAAM;AASrD,MAAM,sBAAsB,CAAC,OAAO;AAClC,QAAM,QAAwB,uBAAO,OAAO,IAAI;AAChD,SAAO,CAAC,QAAQ;AACd,UAAM,MAAM,MAAM,GAAG;AACrB,WAAO,QAAQ,MAAM,GAAG,IAAI,GAAG,GAAG;AAAA,EACtC;AACA;AACA,MAAM,aAAa;AACd,MAAC,WAAW;AAAA,EACf,CAAC,QAAQ;AACP,WAAO,IAAI,QAAQ,YAAY,CAAC,GAAG,MAAM,IAAI,EAAE,YAAa,IAAG,EAAE;AAAA,EAClE;AACH;AACA,MAAM,cAAc;AACf,MAAC,YAAY;AAAA,EAChB,CAAC,QAAQ,IAAI,QAAQ,aAAa,KAAK,EAAE,YAAa;AACxD;AACK,MAAC,aAAa,oBAAoB,CAAC,QAAQ;AAC9C,SAAO,IAAI,OAAO,CAAC,EAAE,YAAW,IAAK,IAAI,MAAM,CAAC;AAClD,CAAC;","x_google_ignoreList":[0]}
@@ -0,0 +1,54 @@
1
+ import { defineComponent, computed, createVNode } from "vue";
2
+ import { filterEmpty } from "./components/_util/props-util/index.js";
3
+ import { withInstall, anyType } from "./components/_util/type.js";
4
+ const spaceProps = () => ({
5
+ gutter: anyType(),
6
+ vertical: anyType()
7
+ });
8
+ const Space = /* @__PURE__ */ defineComponent({
9
+ name: "OSpace",
10
+ inheritAttrs: false,
11
+ props: spaceProps(),
12
+ slots: Object,
13
+ setup(props, {
14
+ slots,
15
+ attrs,
16
+ emit,
17
+ expose
18
+ }) {
19
+ const classes = computed(() => {
20
+ const {
21
+ vertical
22
+ } = props;
23
+ return ["orion-space", {
24
+ [`vertical`]: vertical === true || vertical === ""
25
+ }];
26
+ });
27
+ return () => {
28
+ var _a;
29
+ const children = (_a = slots.default) == null ? void 0 : _a.call(slots);
30
+ const items = filterEmpty(children);
31
+ const len = items.length;
32
+ if (len === 0) {
33
+ return null;
34
+ }
35
+ const gapStyle = {};
36
+ if (typeof props.gutter == "string" && props.gutter) {
37
+ gapStyle.gap = props.gutter;
38
+ }
39
+ return createVNode("div", {
40
+ "class": [classes.value, attrs.class],
41
+ "style": [gapStyle, attrs.style]
42
+ }, [items.map((child) => {
43
+ return createVNode("div", {
44
+ "class": ["orion-space-item"]
45
+ }, [child]);
46
+ })]);
47
+ };
48
+ }
49
+ });
50
+ const Space$1 = withInstall(Space);
51
+ export {
52
+ Space$1 as S
53
+ };
54
+ //# sourceMappingURL=index-BOKLZnqH.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-BOKLZnqH.js","sources":["../src/components/Space/index.tsx"],"sourcesContent":["import { computed, defineComponent } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport PropTypes from '../_util/vue-types'\r\nimport { flattenChildren, initDefaultProps } from '../_util/props-util'\r\nimport { filterEmpty } from '../_util/props-util'\r\nimport type { CustomSlotsType } from '../_util/type'\r\nimport classNames from '../_util/classNames'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple } from '../_util/type'\r\nimport { withInstall } from '../_util/type'\r\n\r\nexport const spaceProps = () => ({\r\n gutter: anyType<boolean | string>(),\r\n vertical: anyType<boolean | string>(),\r\n})\r\n\r\nexport type SpaceProps = Partial<ExtractPropTypes<ReturnType<typeof spaceProps>>>\r\n\r\nconst Space = defineComponent({\r\n name: 'OSpace',\r\n inheritAttrs: false,\r\n props: spaceProps(),\r\n slots: Object as CustomSlotsType<{\r\n default?: any\r\n }>,\r\n setup(props, { slots, attrs, emit, expose }) {\r\n const classes = computed(() => {\r\n const { vertical } = props\r\n\r\n return ['orion-space', { [`vertical`]: vertical === true || vertical === '' }]\r\n })\r\n\r\n return () => {\r\n const children = slots.default?.()\r\n const items = filterEmpty(children)\r\n const len = items.length\r\n\r\n if (len === 0) {\r\n return null\r\n }\r\n\r\n const gapStyle: CSSProperties = {}\r\n if (typeof props.gutter == 'string' && props.gutter) {\r\n gapStyle.gap = props.gutter\r\n }\r\n\r\n return (\r\n <div class={[classes.value, attrs.class]} style={[gapStyle, attrs.style as CSSProperties]}>\r\n {items.map((child) => {\r\n return <div class={['orion-space-item']}>{child}</div>\r\n })}\r\n </div>\r\n )\r\n }\r\n },\r\n})\r\n\r\nexport default withInstall(Space)\r\n"],"names":["spaceProps","gutter","anyType","vertical","Space","defineComponent","name","inheritAttrs","props","slots","Object","setup","attrs","emit","expose","classes","computed","children","default","items","filterEmpty","len","length","gapStyle","gap","_createVNode","value","class","style","map","child","withInstall"],"mappings":";;;AAUO,MAAMA,aAAaA,OAAO;AAAA,EAC/BC,QAAQC,QAA2B;AAAA,EACnCC,UAAUD,QAA0B;AACtC;AAIA,MAAME,QAAQC,gCAAgB;AAAA,EAC5BC,MAAM;AAAA,EACNC,cAAc;AAAA,EACdC,OAAOR,WAAY;AAAA,EACnBS,OAAOC;AAAAA,EAGPC,MAAMH,OAAO;AAAA,IAAEC;AAAAA,IAAOG;AAAAA,IAAOC;AAAAA,IAAMC;AAAAA,EAAO,GAAG;AAC3C,UAAMC,UAAUC,SAAS,MAAM;AAC7B,YAAM;AAAA,QAAEb;AAAAA,MAAU,IAAGK;AAErB,aAAO,CAAC,eAAe;AAAA,QAAE,CAAC,UAAU,GAAGL,aAAa,QAAQA,aAAa;AAAA,MAAG,CAAC;AAAA,IAC/E,CAAC;AAED,WAAO,MAAM;;AACX,YAAMc,YAAWR,WAAMS,YAANT;AACjB,YAAMU,QAAQC,YAAYH,QAAQ;AAClC,YAAMI,MAAMF,MAAMG;AAElB,UAAID,QAAQ,GAAG;AACb,eAAO;AAAA,MACT;AAEA,YAAME,WAA0B,CAAA;AAChC,UAAI,OAAOf,MAAMP,UAAU,YAAYO,MAAMP,QAAQ;AACnDsB,iBAASC,MAAMhB,MAAMP;AAAAA,MACvB;AAEA,aAAAwB,YAAA,OAAA;AAAA,QAAA,SACc,CAACV,QAAQW,OAAOd,MAAMe,KAAK;AAAA,QAAC,SAAS,CAACJ,UAAUX,MAAMgB,KAAK;AAAA,MAAkB,GAAA,CACtFT,MAAMU,IAAKC,WAAU;AACpB,eAAAL,YAAA,OAAA;AAAA,UAAA,SAAmB,CAAC,kBAAkB;AAAA,QAAC,GAAA,CAAGK,KAAK,CAAA;AAAA,MAChD,CAAA,CAAC,CAAA;AAAA;EAIV;AACF,CAAC;AAED,MAAeC,UAAAA,YAAY3B,KAAK;"}
@@ -0,0 +1,69 @@
1
+ import { shallowRef, watchEffect, readonly, getCurrentScope, onScopeDispose, unref, getCurrentInstance, onMounted, nextTick } from "vue";
2
+ var __defProp$9 = Object.defineProperty;
3
+ var __defProps$6 = Object.defineProperties;
4
+ var __getOwnPropDescs$6 = Object.getOwnPropertyDescriptors;
5
+ var __getOwnPropSymbols$b = Object.getOwnPropertySymbols;
6
+ var __hasOwnProp$b = Object.prototype.hasOwnProperty;
7
+ var __propIsEnum$b = Object.prototype.propertyIsEnumerable;
8
+ var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
9
+ var __spreadValues$9 = (a, b) => {
10
+ for (var prop in b || (b = {}))
11
+ if (__hasOwnProp$b.call(b, prop))
12
+ __defNormalProp$9(a, prop, b[prop]);
13
+ if (__getOwnPropSymbols$b)
14
+ for (var prop of __getOwnPropSymbols$b(b)) {
15
+ if (__propIsEnum$b.call(b, prop))
16
+ __defNormalProp$9(a, prop, b[prop]);
17
+ }
18
+ return a;
19
+ };
20
+ var __spreadProps$6 = (a, b) => __defProps$6(a, __getOwnPropDescs$6(b));
21
+ function computedEager(fn, options) {
22
+ var _a2;
23
+ const result = shallowRef();
24
+ watchEffect(() => {
25
+ result.value = fn();
26
+ }, __spreadProps$6(__spreadValues$9({}, options), {
27
+ flush: (_a2 = void 0) != null ? _a2 : "sync"
28
+ }));
29
+ return readonly(result);
30
+ }
31
+ var _a;
32
+ const isClient = typeof window !== "undefined";
33
+ const isString = (val) => typeof val === "string";
34
+ const noop = () => {
35
+ };
36
+ const isIOS = isClient && ((_a = window == null ? void 0 : window.navigator) == null ? void 0 : _a.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
37
+ function resolveUnref(r) {
38
+ return typeof r === "function" ? r() : unref(r);
39
+ }
40
+ function identity(arg) {
41
+ return arg;
42
+ }
43
+ function tryOnScopeDispose(fn) {
44
+ if (getCurrentScope()) {
45
+ onScopeDispose(fn);
46
+ return true;
47
+ }
48
+ return false;
49
+ }
50
+ function tryOnMounted(fn, sync = true) {
51
+ if (getCurrentInstance())
52
+ onMounted(fn);
53
+ else if (sync)
54
+ fn();
55
+ else
56
+ nextTick(fn);
57
+ }
58
+ export {
59
+ isIOS as a,
60
+ isString as b,
61
+ tryOnMounted as c,
62
+ identity as d,
63
+ computedEager as e,
64
+ isClient as i,
65
+ noop as n,
66
+ resolveUnref as r,
67
+ tryOnScopeDispose as t
68
+ };
69
+ //# sourceMappingURL=index-D1m0KTpK.js.map