aicfe-answer-card 0.2.4 → 0.2.6
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/lib/answer-config.js +1 -1
- package/lib/basic-info.js +1 -1
- package/lib/card.js +4 -4
- package/lib/end-mark-box.js +1 -1
- package/lib/essay.js +1 -1
- package/lib/index.js +4 -4
- package/lib/mark-point.js +1 -1
- package/lib/preview.js +1 -1
- package/package.json +1 -1
- package/themes/.DS_Store +0 -0
- package/themes/answer-box.scss +1 -0
- package/themes/base.scss +6 -0
- package/themes/basic-info.scss +11 -13
- package/themes/dimension.scss +44 -0
- package/themes/end-mark-box.scss +1 -0
- package/themes/essay.scss +5 -9
- package/themes/index.scss +1 -1
- package/themes/mark-point.scss +0 -10
- package/themes/piece.scss +6 -25
- package/themes/question.scss +5 -22
- package/lib/table.js +0 -1
- package/themes/table.scss +0 -95
package/lib/table.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports=function(t){var r={};function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:n})},e.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,r){if(1&r&&(t=e(t)),8&r)return t;if(4&r&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)e.d(n,o,function(r){return t[r]}.bind(null,o));return n},e.n=function(t){var r=t&&t.__esModule?function(){return t["default"]}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e.p="/",e(e.s="c43b")}({"00ee":function(t,r,e){var n=e("b622"),o=n("toStringTag"),i={};i[o]="z",t.exports="[object z]"===String(i)},"04f8":function(t,r,e){var n=e("2d00"),o=e("d039"),i=e("da84"),c=i.String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!c(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},"06cf":function(t,r,e){var n=e("83ab"),o=e("c65b"),i=e("d1e7"),c=e("5c6c"),a=e("fc6a"),u=e("a04b"),f=e("1a2d"),s=e("0cfb"),l=Object.getOwnPropertyDescriptor;r.f=n?l:function(t,r){if(t=a(t),r=u(r),s)try{return l(t,r)}catch(e){}if(f(t,r))return c(!o(i.f,t,r),t[r])}},"07fa":function(t,r,e){var n=e("50c4");t.exports=function(t){return n(t.length)}},"0cfb":function(t,r,e){var n=e("83ab"),o=e("d039"),i=e("cc12");t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},"0d26":function(t,r,e){var n=e("e330"),o=Error,i=n("".replace),c=function(t){return String(o(t).stack)}("zxcasd"),a=/\n\s*at [^:]*:[^\n]*/,u=a.test(c);t.exports=function(t,r){if(u&&"string"==typeof t&&!o.prepareStackTrace)while(r--)t=i(t,a,"");return t}},"0d51":function(t,r){var e=String;t.exports=function(t){try{return e(t)}catch(r){return"Object"}}},"13d2":function(t,r,e){var n=e("e330"),o=e("d039"),i=e("1626"),c=e("1a2d"),a=e("83ab"),u=e("5e77").CONFIGURABLE,f=e("8925"),s=e("69f3"),l=s.enforce,p=s.get,d=String,b=Object.defineProperty,y=n("".slice),h=n("".replace),v=n([].join),g=a&&!o((function(){return 8!==b((function(){}),"length",{value:8}).length})),m=String(String).split("String"),w=t.exports=function(t,r,e){"Symbol("===y(d(r),0,7)&&(r="["+h(d(r),/^Symbol\(([^)]*)\)/,"$1")+"]"),e&&e.getter&&(r="get "+r),e&&e.setter&&(r="set "+r),(!c(t,"name")||u&&t.name!==r)&&(a?b(t,"name",{value:r,configurable:!0}):t.name=r),g&&e&&c(e,"arity")&&t.length!==e.arity&&b(t,"length",{value:e.arity});try{e&&c(e,"constructor")&&e.constructor?a&&b(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(o){}var n=l(t);return c(n,"source")||(n.source=v(m,"string"==typeof r?r:"")),t};Function.prototype.toString=w((function(){return i(this)&&p(this).source||f(this)}),"toString")},"14d9":function(t,r,e){"use strict";var n=e("23e7"),o=e("7b0b"),i=e("07fa"),c=e("3a34"),a=e("3511"),u=e("d039"),f=u((function(){return 4294967297!==[].push.call({length:4294967296},1)})),s=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},l=f||!s();n({target:"Array",proto:!0,arity:1,forced:l},{push:function(t){var r=o(this),e=i(r),n=arguments.length;a(e+n);for(var u=0;u<n;u++)r[e]=arguments[u],e++;return c(r,e),e}})},1626:function(t,r,e){var n=e("8ea1"),o=n.all;t.exports=n.IS_HTMLDDA?function(t){return"function"==typeof t||t===o}:function(t){return"function"==typeof t}},"1a2d":function(t,r,e){var n=e("e330"),o=e("7b0b"),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return i(o(t),r)}},"1d80":function(t,r,e){var n=e("7234"),o=TypeError;t.exports=function(t){if(n(t))throw o("Can't call method on "+t);return t}},"23cb":function(t,r,e){var n=e("5926"),o=Math.max,i=Math.min;t.exports=function(t,r){var e=n(t);return e<0?o(e+r,0):i(e,r)}},"23e7":function(t,r,e){var n=e("da84"),o=e("06cf").f,i=e("9112"),c=e("cb2d"),a=e("6374"),u=e("e893"),f=e("94ca");t.exports=function(t,r){var e,s,l,p,d,b,y=t.target,h=t.global,v=t.stat;if(s=h?n:v?n[y]||a(y,{}):(n[y]||{}).prototype,s)for(l in r){if(d=r[l],t.dontCallGetSet?(b=o(s,l),p=b&&b.value):p=s[l],e=f(h?l:y+(v?".":"#")+l,t.forced),!e&&void 0!==p){if(typeof d==typeof p)continue;u(d,p)}(t.sham||p&&p.sham)&&i(d,"sham",!0),c(s,l,d,t)}}},"241c":function(t,r,e){var n=e("ca84"),o=e("7839"),i=o.concat("length","prototype");r.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},2877:function(t,r,e){"use strict";function n(t,r,e,n,o,i,c,a){var u,f="function"===typeof t?t.options:t;if(r&&(f.render=r,f.staticRenderFns=e,f._compiled=!0),n&&(f.functional=!0),i&&(f._scopeId="data-v-"+i),c?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(c)},f._ssrRegister=u):o&&(u=a?function(){o.call(this,(f.functional?this.parent:this).$root.$options.shadowRoot)}:o),u)if(f.functional){f._injectStyles=u;var s=f.render;f.render=function(t,r){return u.call(r),s(t,r)}}else{var l=f.beforeCreate;f.beforeCreate=l?[].concat(l,u):[u]}return{exports:t,options:f}}e.d(r,"a",(function(){return n}))},2909:function(t,r,e){"use strict";function n(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}function o(t){if(Array.isArray(t))return n(t)}function i(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function c(t,r){if(t){if("string"===typeof t)return n(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?n(t,r):void 0}}e.d(r,"a",(function(){return u}));e("d9e2");function a(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(t){return o(t)||i(t)||c(t)||a()}},"2ba4":function(t,r,e){var n=e("40d5"),o=Function.prototype,i=o.apply,c=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?c.bind(i):function(){return c.apply(i,arguments)})},"2d00":function(t,r,e){var n,o,i=e("da84"),c=e("342f"),a=i.process,u=i.Deno,f=a&&a.versions||u&&u.version,s=f&&f.v8;s&&(n=s.split("."),o=n[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&c&&(n=c.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=c.match(/Chrome\/(\d+)/),n&&(o=+n[1]))),t.exports=o},"342f":function(t,r){t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},3511:function(t,r){var e=TypeError,n=9007199254740991;t.exports=function(t){if(t>n)throw e("Maximum allowed index exceeded");return t}},"3a34":function(t,r,e){"use strict";var n=e("83ab"),o=e("e8b5"),i=TypeError,c=Object.getOwnPropertyDescriptor,a=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=a?function(t,r){if(o(t)&&!c(t,"length").writable)throw i("Cannot set read only .length");return t.length=r}:function(t,r){return t.length=r}},"3a9b":function(t,r,e){var n=e("e330");t.exports=n({}.isPrototypeOf)},"3bbe":function(t,r,e){var n=e("1626"),o=String,i=TypeError;t.exports=function(t){if("object"==typeof t||n(t))return t;throw i("Can't set "+o(t)+" as a prototype")}},"40d5":function(t,r,e){var n=e("d039");t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},"44ad":function(t,r,e){var n=e("e330"),o=e("d039"),i=e("c6b6"),c=Object,a=n("".split);t.exports=o((function(){return!c("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?a(t,""):c(t)}:c},"485a":function(t,r,e){var n=e("c65b"),o=e("1626"),i=e("861d"),c=TypeError;t.exports=function(t,r){var e,a;if("string"===r&&o(e=t.toString)&&!i(a=n(e,t)))return a;if(o(e=t.valueOf)&&!i(a=n(e,t)))return a;if("string"!==r&&o(e=t.toString)&&!i(a=n(e,t)))return a;throw c("Can't convert object to primitive value")}},"4d64":function(t,r,e){var n=e("fc6a"),o=e("23cb"),i=e("07fa"),c=function(t){return function(r,e,c){var a,u=n(r),f=i(u),s=o(c,f);if(t&&e!=e){while(f>s)if(a=u[s++],a!=a)return!0}else for(;f>s;s++)if((t||s in u)&&u[s]===e)return t||s||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},"50c4":function(t,r,e){var n=e("5926"),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},5692:function(t,r,e){var n=e("c430"),o=e("c6cd");(t.exports=function(t,r){return o[t]||(o[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.30.2",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE",source:"https://github.com/zloirock/core-js"})},"56ef":function(t,r,e){var n=e("d066"),o=e("e330"),i=e("241c"),c=e("7418"),a=e("825a"),u=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var r=i.f(a(t)),e=c.f;return e?u(r,e(t)):r}},"577e":function(t,r,e){var n=e("f5df"),o=String;t.exports=function(t){if("Symbol"===n(t))throw TypeError("Cannot convert a Symbol value to a string");return o(t)}},5926:function(t,r,e){var n=e("b42e");t.exports=function(t){var r=+t;return r!==r||0===r?0:n(r)}},"59ed":function(t,r,e){var n=e("1626"),o=e("0d51"),i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not a function")}},"5c6c":function(t,r){t.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},"5e77":function(t,r,e){var n=e("83ab"),o=e("1a2d"),i=Function.prototype,c=n&&Object.getOwnPropertyDescriptor,a=o(i,"name"),u=a&&"something"===function(){}.name,f=a&&(!n||n&&c(i,"name").configurable);t.exports={EXISTS:a,PROPER:u,CONFIGURABLE:f}},6374:function(t,r,e){var n=e("da84"),o=Object.defineProperty;t.exports=function(t,r){try{o(n,t,{value:r,configurable:!0,writable:!0})}catch(e){n[t]=r}return r}},"69f3":function(t,r,e){var n,o,i,c=e("cdce"),a=e("da84"),u=e("861d"),f=e("9112"),s=e("1a2d"),l=e("c6cd"),p=e("f772"),d=e("d012"),b="Object already initialized",y=a.TypeError,h=a.WeakMap,v=function(t){return i(t)?o(t):n(t,{})},g=function(t){return function(r){var e;if(!u(r)||(e=o(r)).type!==t)throw y("Incompatible receiver, "+t+" required");return e}};if(c||l.state){var m=l.state||(l.state=new h);m.get=m.get,m.has=m.has,m.set=m.set,n=function(t,r){if(m.has(t))throw y(b);return r.facade=t,m.set(t,r),r},o=function(t){return m.get(t)||{}},i=function(t){return m.has(t)}}else{var w=p("state");d[w]=!0,n=function(t,r){if(s(t,w))throw y(b);return r.facade=t,f(t,w,r),r},o=function(t){return s(t,w)?t[w]:{}},i=function(t){return s(t,w)}}t.exports={set:n,get:o,has:i,enforce:v,getterFor:g}},"6f19":function(t,r,e){var n=e("9112"),o=e("0d26"),i=e("b980"),c=Error.captureStackTrace;t.exports=function(t,r,e,a){i&&(c?c(t,r):n(t,"stack",o(e,a)))}},7156:function(t,r,e){var n=e("1626"),o=e("861d"),i=e("d2bb");t.exports=function(t,r,e){var c,a;return i&&n(c=r.constructor)&&c!==e&&o(a=c.prototype)&&a!==e.prototype&&i(t,a),t}},7234:function(t,r){t.exports=function(t){return null===t||void 0===t}},7282:function(t,r,e){var n=e("e330"),o=e("59ed");t.exports=function(t,r,e){try{return n(o(Object.getOwnPropertyDescriptor(t,r)[e]))}catch(i){}}},7418:function(t,r){r.f=Object.getOwnPropertySymbols},7839:function(t,r){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(t,r,e){var n=e("1d80"),o=Object;t.exports=function(t){return o(n(t))}},"825a":function(t,r,e){var n=e("861d"),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not an object")}},"83ab":function(t,r,e){var n=e("d039");t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"861d":function(t,r,e){var n=e("1626"),o=e("8ea1"),i=o.all;t.exports=o.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:n(t)||t===i}:function(t){return"object"==typeof t?null!==t:n(t)}},8925:function(t,r,e){var n=e("e330"),o=e("1626"),i=e("c6cd"),c=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return c(t)}),t.exports=i.inspectSource},"8ea1":function(t,r){var e="object"==typeof document&&document.all,n="undefined"==typeof e&&void 0!==e;t.exports={all:e,IS_HTMLDDA:n}},"90e3":function(t,r,e){var n=e("e330"),o=0,i=Math.random(),c=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+c(++o+i,36)}},9112:function(t,r,e){var n=e("83ab"),o=e("9bf2"),i=e("5c6c");t.exports=n?function(t,r,e){return o.f(t,r,i(1,e))}:function(t,r,e){return t[r]=e,t}},"94ca":function(t,r,e){var n=e("d039"),o=e("1626"),i=/#|\.prototype\./,c=function(t,r){var e=u[a(t)];return e==s||e!=f&&(o(r)?n(r):!!r)},a=c.normalize=function(t){return String(t).replace(i,".").toLowerCase()},u=c.data={},f=c.NATIVE="N",s=c.POLYFILL="P";t.exports=c},"9bf2":function(t,r,e){var n=e("83ab"),o=e("0cfb"),i=e("aed9"),c=e("825a"),a=e("a04b"),u=TypeError,f=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l="enumerable",p="configurable",d="writable";r.f=n?i?function(t,r,e){if(c(t),r=a(r),c(e),"function"===typeof t&&"prototype"===r&&"value"in e&&d in e&&!e[d]){var n=s(t,r);n&&n[d]&&(t[r]=e.value,e={configurable:p in e?e[p]:n[p],enumerable:l in e?e[l]:n[l],writable:!1})}return f(t,r,e)}:f:function(t,r,e){if(c(t),r=a(r),c(e),o)try{return f(t,r,e)}catch(n){}if("get"in e||"set"in e)throw u("Accessors not supported");return"value"in e&&(t[r]=e.value),t}},a04b:function(t,r,e){var n=e("c04e"),o=e("d9b5");t.exports=function(t){var r=n(t,"string");return o(r)?r:r+""}},ab36:function(t,r,e){var n=e("861d"),o=e("9112");t.exports=function(t,r){n(r)&&"cause"in r&&o(t,"cause",r.cause)}},aeb0:function(t,r,e){var n=e("9bf2").f;t.exports=function(t,r,e){e in t||n(t,e,{configurable:!0,get:function(){return r[e]},set:function(t){r[e]=t}})}},aed9:function(t,r,e){var n=e("83ab"),o=e("d039");t.exports=n&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},b42e:function(t,r){var e=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var r=+t;return(r>0?n:e)(r)}},b622:function(t,r,e){var n=e("da84"),o=e("5692"),i=e("1a2d"),c=e("90e3"),a=e("04f8"),u=e("fdbf"),f=n.Symbol,s=o("wks"),l=u?f["for"]||f:f&&f.withoutSetter||c;t.exports=function(t){return i(s,t)||(s[t]=a&&i(f,t)?f[t]:l("Symbol."+t)),s[t]}},b980:function(t,r,e){var n=e("d039"),o=e("5c6c");t.exports=!n((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",o(1,7)),7!==t.stack)}))},c04e:function(t,r,e){var n=e("c65b"),o=e("861d"),i=e("d9b5"),c=e("dc4a"),a=e("485a"),u=e("b622"),f=TypeError,s=u("toPrimitive");t.exports=function(t,r){if(!o(t)||i(t))return t;var e,u=c(t,s);if(u){if(void 0===r&&(r="default"),e=n(u,t,r),!o(e)||i(e))return e;throw f("Can't convert object to primitive value")}return void 0===r&&(r="number"),a(t,r)}},c430:function(t,r){t.exports=!1},c43b:function(t,r,e){"use strict";e.r(r);var n=function(){var t=this,r=t._self._c;return r("div",{staticClass:"ac-table__wrapper",style:{"padding-inline":t.paddingInline+"px",display:"flex","justify-content":"center"},attrs:{"data-key":t.dataKey,type:"table","page-index":t.pageIndex}},[r("div",{staticClass:"ac-table",class:{"is-editable":t.editable},style:t.areaStyle},[t.title&&t.isTheFirstRenderedTable?r("div",{staticClass:"ac-table__title ck-content",domProps:{innerHTML:t._s(t.title)}}):t._e(),t.rowList.length?r("div",{staticClass:"ac-table__container"},[t.tips&&t.isTheFirstRenderedTable?r("div",{staticClass:"ac-table__tips ck-content",domProps:{innerHTML:t._s(t.tips)}}):t._e(),r("div",{staticClass:"ac-table__area",class:t.rowClass},[r("div",{staticClass:"ac-table__header",style:t.rowStyle},[t.isTheFirstRenderedTable?r("div",{staticClass:"ac-table__row",style:t.rowStyle},t._l(t.headerRow,(function(e,n){return r("div",{key:n,staticClass:"ac-table__cell ac-table__header-cell",class:["ac-table__cell_".concat(n),0===n?"ac-table__first-column":""],style:0===n?{width:t.formatFirstColumnWidth}:{},domProps:{innerHTML:t._s(e)}})})),0):t._e()]),t._l(t.rowList,(function(e,n){return r("div",{key:n,staticClass:"ac-table__row",style:t.rowStyle},[r("div",{staticClass:"ac-table__cell ac-table__first-column",class:["ac-table__cell_0"],style:{width:t.formatFirstColumnWidth},domProps:{innerHTML:t._s(e)}}),t._l(t.headerRow.slice(1),(function(t,e){return r("div",{key:e,staticClass:"ac-table__cell",class:["ac-table__cell_".concat(e+1)]})}))],2)}))],2)]):t._e()])])},o=[],i=(e("14d9"),e("2909")),c={name:"AcTable",props:{title:{type:String,default:""},tips:{type:String,default:""},isTheFirstRenderedTable:{type:Boolean,default:!1},isOnlyRenderTitle:{type:Boolean,default:!1},headerRow:{type:Array,default:[]},firstColumn:{type:Array,default:[]},firstColumnWidth:{type:[Number,String],default:150},rowHeight:{type:[Number,String],default:40},width:{type:[Number,String],default:""},editable:{type:Boolean,default:!0},rowEditable:{type:Boolean,default:!0},paddingInline:{type:Number,default:55},dataKey:{type:String,default:""},pageIndex:{type:Number,default:0}},data:function(){return{rowCount:0}},computed:{rowClass:function(){return"row-"},rowList:function(){var t=Object(i["a"])(this.firstColumn),r=this.rowCount-t.length;return r>0&&t.push.apply(t,Object(i["a"])(new Array(r).fill(""))),t},areaStyle:function(){var t={};return(this.width||0===this.width)&&(t.width="number"===typeof this.width?this.width+"px":this.width),t["--row-height"]="number"===typeof this.rowHeight?this.rowHeight+"px":this.rowHeight,t},rowStyle:function(){var t={};return(this.width||0===this.width)&&(t.width="number"===typeof this.width?this.width+"px":this.width),t.margin="0 auto",t.height="number"===typeof this.rowHeight?this.rowHeight+"px":this.rowHeight,t.lineHeight="number"===typeof this.rowHeight?this.rowHeight+"px":this.rowHeight,t},formatFirstColumnWidth:function(){return"number"===typeof this.firstColumnWidth?this.firstColumnWidth+"px":this.firstColumnWidth}},watch:{"firstColumn.length":{handler:function(t,r){this.rowCount=t},immediate:!0}},created:function(){},methods:{}},a=c,u=e("2877"),f=Object(u["a"])(a,n,o,!1,null,null,null),s=f.exports;s.install=function(t){t.component(s.name,s)};r["default"]=s},c65b:function(t,r,e){var n=e("40d5"),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},c6b6:function(t,r,e){var n=e("e330"),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},c6cd:function(t,r,e){var n=e("da84"),o=e("6374"),i="__core-js_shared__",c=n[i]||o(i,{});t.exports=c},c8ba:function(t,r){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(n){"object"===typeof window&&(e=window)}t.exports=e},ca84:function(t,r,e){var n=e("e330"),o=e("1a2d"),i=e("fc6a"),c=e("4d64").indexOf,a=e("d012"),u=n([].push);t.exports=function(t,r){var e,n=i(t),f=0,s=[];for(e in n)!o(a,e)&&o(n,e)&&u(s,e);while(r.length>f)o(n,e=r[f++])&&(~c(s,e)||u(s,e));return s}},cb2d:function(t,r,e){var n=e("1626"),o=e("9bf2"),i=e("13d2"),c=e("6374");t.exports=function(t,r,e,a){a||(a={});var u=a.enumerable,f=void 0!==a.name?a.name:r;if(n(e)&&i(e,f,a),a.global)u?t[r]=e:c(r,e);else{try{a.unsafe?t[r]&&(u=!0):delete t[r]}catch(s){}u?t[r]=e:o.f(t,r,{value:e,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return t}},cc12:function(t,r,e){var n=e("da84"),o=e("861d"),i=n.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},cdce:function(t,r,e){var n=e("da84"),o=e("1626"),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},d012:function(t,r){t.exports={}},d039:function(t,r){t.exports=function(t){try{return!!t()}catch(r){return!0}}},d066:function(t,r,e){var n=e("da84"),o=e("1626"),i=function(t){return o(t)?t:void 0};t.exports=function(t,r){return arguments.length<2?i(n[t]):n[t]&&n[t][r]}},d1e7:function(t,r,e){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);r.f=i?function(t){var r=o(this,t);return!!r&&r.enumerable}:n},d2bb:function(t,r,e){var n=e("7282"),o=e("825a"),i=e("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,e={};try{t=n(Object.prototype,"__proto__","set"),t(e,[]),r=e instanceof Array}catch(c){}return function(e,n){return o(e),i(n),r?t(e,n):e.__proto__=n,e}}():void 0)},d9b5:function(t,r,e){var n=e("d066"),o=e("1626"),i=e("3a9b"),c=e("fdbf"),a=Object;t.exports=c?function(t){return"symbol"==typeof t}:function(t){var r=n("Symbol");return o(r)&&i(r.prototype,a(t))}},d9e2:function(t,r,e){var n=e("23e7"),o=e("da84"),i=e("2ba4"),c=e("e5cb"),a="WebAssembly",u=o[a],f=7!==Error("e",{cause:7}).cause,s=function(t,r){var e={};e[t]=c(t,r,f),n({global:!0,constructor:!0,arity:1,forced:f},e)},l=function(t,r){if(u&&u[t]){var e={};e[t]=c(a+"."+t,r,f),n({target:a,stat:!0,constructor:!0,arity:1,forced:f},e)}};s("Error",(function(t){return function(r){return i(t,this,arguments)}})),s("EvalError",(function(t){return function(r){return i(t,this,arguments)}})),s("RangeError",(function(t){return function(r){return i(t,this,arguments)}})),s("ReferenceError",(function(t){return function(r){return i(t,this,arguments)}})),s("SyntaxError",(function(t){return function(r){return i(t,this,arguments)}})),s("TypeError",(function(t){return function(r){return i(t,this,arguments)}})),s("URIError",(function(t){return function(r){return i(t,this,arguments)}})),l("CompileError",(function(t){return function(r){return i(t,this,arguments)}})),l("LinkError",(function(t){return function(r){return i(t,this,arguments)}})),l("RuntimeError",(function(t){return function(r){return i(t,this,arguments)}}))},da84:function(t,r,e){(function(r){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof r&&r)||function(){return this}()||this||Function("return this")()}).call(this,e("c8ba"))},dc4a:function(t,r,e){var n=e("59ed"),o=e("7234");t.exports=function(t,r){var e=t[r];return o(e)?void 0:n(e)}},e330:function(t,r,e){var n=e("40d5"),o=Function.prototype,i=o.call,c=n&&o.bind.bind(i,i);t.exports=n?c:function(t){return function(){return i.apply(t,arguments)}}},e391:function(t,r,e){var n=e("577e");t.exports=function(t,r){return void 0===t?arguments.length<2?"":r:n(t)}},e5cb:function(t,r,e){"use strict";var n=e("d066"),o=e("1a2d"),i=e("9112"),c=e("3a9b"),a=e("d2bb"),u=e("e893"),f=e("aeb0"),s=e("7156"),l=e("e391"),p=e("ab36"),d=e("6f19"),b=e("83ab"),y=e("c430");t.exports=function(t,r,e,h){var v="stackTraceLimit",g=h?2:1,m=t.split("."),w=m[m.length-1],x=n.apply(null,m);if(x){var _=x.prototype;if(!y&&o(_,"cause")&&delete _.cause,!e)return x;var S=n("Error"),O=r((function(t,r){var e=l(h?r:t,void 0),n=h?new x(t):new x;return void 0!==e&&i(n,"message",e),d(n,O,n.stack,2),this&&c(_,this)&&s(n,this,O),arguments.length>g&&p(n,arguments[g]),n}));if(O.prototype=_,"Error"!==w?a?a(O,S):u(O,S,{name:!0}):b&&v in x&&(f(O,x,v),f(O,x,"prepareStackTrace")),u(O,x),!y)try{_.name!==w&&i(_,"name",w),_.constructor=O}catch(j){}return O}}},e893:function(t,r,e){var n=e("1a2d"),o=e("56ef"),i=e("06cf"),c=e("9bf2");t.exports=function(t,r,e){for(var a=o(r),u=c.f,f=i.f,s=0;s<a.length;s++){var l=a[s];n(t,l)||e&&n(e,l)||u(t,l,f(r,l))}}},e8b5:function(t,r,e){var n=e("c6b6");t.exports=Array.isArray||function(t){return"Array"==n(t)}},f5df:function(t,r,e){var n=e("00ee"),o=e("1626"),i=e("c6b6"),c=e("b622"),a=c("toStringTag"),u=Object,f="Arguments"==i(function(){return arguments}()),s=function(t,r){try{return t[r]}catch(e){}};t.exports=n?i:function(t){var r,e,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=s(r=u(t),a))?e:f?i(r):"Object"==(n=i(r))&&o(r.callee)?"Arguments":n}},f772:function(t,r,e){var n=e("5692"),o=e("90e3"),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},fc6a:function(t,r,e){var n=e("44ad"),o=e("1d80");t.exports=function(t){return n(o(t))}},fdbf:function(t,r,e){var n=e("04f8");t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}});
|
package/themes/table.scss
DELETED
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
@import 'common/var';
|
|
2
|
-
@import 'common/mixins';
|
|
3
|
-
|
|
4
|
-
@include b(table) {
|
|
5
|
-
position: relative;
|
|
6
|
-
|
|
7
|
-
&__first-area-of-piece {
|
|
8
|
-
>.ac-table__row:first-of-type{
|
|
9
|
-
border-top: 1px solid black;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
&__container {
|
|
14
|
-
display: flex;
|
|
15
|
-
flex-direction: column;
|
|
16
|
-
width: 100%;
|
|
17
|
-
position: relative;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&__header {
|
|
21
|
-
display: flex;
|
|
22
|
-
width: 100%;
|
|
23
|
-
border-top: 1px solid black;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&__row {
|
|
27
|
-
display: flex;
|
|
28
|
-
width: 100%;
|
|
29
|
-
border-bottom: 1px solid black;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&__cell {
|
|
33
|
-
box-sizing: border-box;
|
|
34
|
-
padding: 8px;
|
|
35
|
-
height: var(--row-height);
|
|
36
|
-
line-height: var(--row-height);
|
|
37
|
-
display: flex;
|
|
38
|
-
align-items: center;
|
|
39
|
-
justify-content: center;
|
|
40
|
-
border-right: 1px solid black;
|
|
41
|
-
|
|
42
|
-
&:not(.ac-table__first-column) {
|
|
43
|
-
flex: 1;
|
|
44
|
-
min-width: 0;
|
|
45
|
-
}
|
|
46
|
-
&.ac-table__first-column {
|
|
47
|
-
border-left: 1px solid black;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&__title {
|
|
52
|
-
font-size: 18px;
|
|
53
|
-
font-weight: bold;
|
|
54
|
-
margin-bottom: 16px;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
&__tips {
|
|
58
|
-
font-size: 12px;
|
|
59
|
-
color: #666;
|
|
60
|
-
margin: 0 0 8px 8px;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
&__tool {
|
|
65
|
-
display: none;
|
|
66
|
-
position: absolute;
|
|
67
|
-
height: 32px;
|
|
68
|
-
right: -1px;
|
|
69
|
-
top: -32px;
|
|
70
|
-
z-index: 1;
|
|
71
|
-
|
|
72
|
-
> span {
|
|
73
|
-
font-size: $--ac-font-size-base;
|
|
74
|
-
line-height: 32px;
|
|
75
|
-
color: $--ac-color-text-primary;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.el-input-number + .el-button {
|
|
79
|
-
margin-left: 10px;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.el-button {
|
|
83
|
-
border-radius: $--ac-border-radius-base;
|
|
84
|
-
border-bottom-left-radius: 0;
|
|
85
|
-
border-bottom-right-radius: 0;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
&:hover {
|
|
90
|
-
.ac-table__tool {
|
|
91
|
-
display: flex;
|
|
92
|
-
align-items: center;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|