@sme.up/ketchup 11.0.0-SNAPSHOT-20250702141013 → 11.0.0-SNAPSHOT-20250708094620
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{f-cell-baef09a6.js → f-cell-a758df16.js} +5 -5
- package/dist/cjs/{f-chip-603198eb.js → f-chip-b4aebf7c.js} +1 -1
- package/dist/cjs/{f-object-field-27e696cb.js → f-object-field-ea23cc62.js} +2 -2
- package/dist/cjs/{f-paginator-utils-f08e7ccf.js → f-paginator-utils-54bc1b31.js} +1 -1
- package/dist/cjs/{f-text-field-8d7447d7.js → f-text-field-4944c78e.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/kup-accordion.cjs.entry.js +1 -1
- package/dist/cjs/kup-activity-timeline.cjs.entry.js +2 -2
- package/dist/cjs/kup-autocomplete_30.cjs.entry.js +7 -7
- package/dist/cjs/kup-box.cjs.entry.js +7 -7
- package/dist/cjs/kup-calendar.cjs.entry.js +7 -4
- package/dist/cjs/kup-card-list.cjs.entry.js +1 -1
- package/dist/cjs/kup-cell.cjs.entry.js +5 -5
- package/dist/cjs/kup-dashboard.cjs.entry.js +2 -2
- package/dist/cjs/{kup-data-table-helper-5098a78a.js → kup-data-table-helper-72dc3004.js} +3 -3
- package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
- package/dist/cjs/kup-echart.cjs.entry.js +1 -1
- package/dist/cjs/kup-editor.cjs.entry.js +1 -1
- package/dist/cjs/kup-family-tree.cjs.entry.js +1 -1
- package/dist/cjs/kup-grid.cjs.entry.js +1 -1
- package/dist/cjs/kup-htm.cjs.entry.js +1 -1
- package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
- package/dist/cjs/kup-input-panel.cjs.entry.js +58 -46
- package/dist/cjs/kup-lazy.cjs.entry.js +1 -1
- package/dist/cjs/kup-magic-box.cjs.entry.js +1 -1
- package/dist/cjs/{kup-manager-349211bf.js → kup-manager-bb0a1490.js} +3 -8
- package/dist/cjs/kup-nav-bar.cjs.entry.js +1 -1
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +2 -2
- package/dist/cjs/kup-object-field.cjs.entry.js +3 -3
- package/dist/cjs/kup-pdf.cjs.entry.js +1 -1
- package/dist/cjs/kup-planner.cjs.entry.js +2 -2
- package/dist/cjs/kup-probe.cjs.entry.js +1 -1
- package/dist/cjs/kup-qlik.cjs.entry.js +1 -1
- package/dist/cjs/kup-snackbar.cjs.entry.js +1 -1
- package/dist/cjs/kup-txt.cjs.entry.js +1 -1
- package/dist/cjs/kup-typography-list.cjs.entry.js +1 -1
- package/dist/cjs/kup-typography.cjs.entry.js +1 -1
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +52 -40
- package/dist/collection/utils/cell-utils.js +2 -7
- package/dist/components/index.js +1 -1
- package/dist/components/kup-accordion.js +2 -2
- package/dist/components/kup-activity-timeline.js +2 -2
- package/dist/components/kup-autocomplete.js +1 -1
- package/dist/components/kup-badge.js +1 -1
- package/dist/components/kup-box.js +1 -1
- package/dist/components/kup-button-list.js +1 -1
- package/dist/components/kup-button.js +1 -1
- package/dist/components/kup-calendar.js +7 -4
- package/dist/components/kup-card-list.js +3 -3
- package/dist/components/kup-card.js +1 -1
- package/dist/components/kup-cell.js +2 -2
- package/dist/components/kup-chart.js +1 -1
- package/dist/components/kup-checkbox.js +1 -1
- package/dist/components/kup-chip.js +1 -1
- package/dist/components/kup-color-picker.js +1 -1
- package/dist/components/kup-combobox.js +1 -1
- package/dist/components/kup-dashboard.js +2 -2
- package/dist/components/kup-data-table.js +1 -1
- package/dist/components/kup-date-picker.js +1 -1
- package/dist/components/kup-dialog.js +1 -1
- package/dist/components/kup-drawer.js +2 -2
- package/dist/components/kup-dropdown-button.js +1 -1
- package/dist/components/kup-echart.js +1 -1
- package/dist/components/kup-editor.js +1 -1
- package/dist/components/kup-family-tree.js +3 -3
- package/dist/components/kup-file-upload.js +1 -1
- package/dist/components/kup-form.js +1 -1
- package/dist/components/kup-gauge.js +1 -1
- package/dist/components/kup-grid.js +1 -1
- package/dist/components/kup-htm.js +2 -2
- package/dist/components/kup-iframe.js +2 -2
- package/dist/components/kup-image-list.js +1 -1
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-input-panel.js +56 -44
- package/dist/components/kup-lazy.js +2 -2
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +4 -4
- package/dist/components/kup-nav-bar.js +2 -2
- package/dist/components/kup-numeric-picker.js +2 -2
- package/dist/components/kup-object-field.js +2 -2
- package/dist/components/kup-pdf.js +2 -2
- package/dist/components/kup-planner.js +2 -2
- package/dist/components/kup-probe.js +2 -2
- package/dist/components/kup-progress-bar.js +1 -1
- package/dist/components/kup-qlik.js +2 -2
- package/dist/components/kup-radio.js +1 -1
- package/dist/components/kup-rating.js +1 -1
- package/dist/components/kup-snackbar.js +2 -2
- package/dist/components/kup-spinner.js +1 -1
- package/dist/components/kup-switch.js +1 -1
- package/dist/components/kup-tab-bar.js +1 -1
- package/dist/components/kup-text-field.js +1 -1
- package/dist/components/kup-time-picker.js +1 -1
- package/dist/components/kup-toolbar.js +1 -1
- package/dist/components/kup-tree.js +1 -1
- package/dist/components/kup-txt.js +2 -2
- package/dist/components/kup-typography-list.js +2 -2
- package/dist/components/kup-typography.js +2 -2
- package/dist/components/{p-58f4c115.js → p-2478ac88.js} +4 -4
- package/dist/components/{p-ba618b1a.js → p-4941442e.js} +2 -2
- package/dist/components/{p-560ac835.js → p-5da90ea6.js} +2 -2
- package/dist/components/{p-1af909c1.js → p-8b4b2ec7.js} +2 -2
- package/dist/components/{p-19c3302b.js → p-970526a0.js} +3 -8
- package/dist/components/{p-56cafcf6.js → p-c0a989f4.js} +2 -2
- package/dist/esm/{f-cell-63ec90a4.js → f-cell-eb150cfc.js} +5 -5
- package/dist/esm/{f-chip-33274c8f.js → f-chip-28fde4c9.js} +1 -1
- package/dist/esm/{f-object-field-582c5c14.js → f-object-field-3bd73466.js} +2 -2
- package/dist/esm/{f-paginator-utils-567e55d2.js → f-paginator-utils-3e2a0dcd.js} +1 -1
- package/dist/esm/{f-text-field-c13c5f52.js → f-text-field-5b392d9b.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/kup-accordion.entry.js +1 -1
- package/dist/esm/kup-activity-timeline.entry.js +2 -2
- package/dist/esm/kup-autocomplete_30.entry.js +7 -7
- package/dist/esm/kup-box.entry.js +7 -7
- package/dist/esm/kup-calendar.entry.js +7 -4
- package/dist/esm/kup-card-list.entry.js +1 -1
- package/dist/esm/kup-cell.entry.js +5 -5
- package/dist/esm/kup-dashboard.entry.js +2 -2
- package/dist/esm/{kup-data-table-helper-25906f4e.js → kup-data-table-helper-edbee21a.js} +3 -3
- package/dist/esm/kup-drawer.entry.js +1 -1
- package/dist/esm/kup-echart.entry.js +1 -1
- package/dist/esm/kup-editor.entry.js +1 -1
- package/dist/esm/kup-family-tree.entry.js +1 -1
- package/dist/esm/kup-grid.entry.js +1 -1
- package/dist/esm/kup-htm.entry.js +1 -1
- package/dist/esm/kup-iframe.entry.js +1 -1
- package/dist/esm/kup-input-panel.entry.js +58 -46
- package/dist/esm/kup-lazy.entry.js +1 -1
- package/dist/esm/kup-magic-box.entry.js +1 -1
- package/dist/esm/{kup-manager-3aede06e.js → kup-manager-7acd779a.js} +3 -8
- package/dist/esm/kup-nav-bar.entry.js +1 -1
- package/dist/esm/kup-numeric-picker.entry.js +2 -2
- package/dist/esm/kup-object-field.entry.js +3 -3
- package/dist/esm/kup-pdf.entry.js +1 -1
- package/dist/esm/kup-planner.entry.js +2 -2
- package/dist/esm/kup-probe.entry.js +1 -1
- package/dist/esm/kup-qlik.entry.js +1 -1
- package/dist/esm/kup-snackbar.entry.js +1 -1
- package/dist/esm/kup-txt.entry.js +1 -1
- package/dist/esm/kup-typography-list.entry.js +1 -1
- package/dist/esm/kup-typography.entry.js +1 -1
- package/dist/ketchup/index.esm.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-c23f1c86.entry.js → p-0f3e905b.entry.js} +1 -1
- package/dist/ketchup/{p-7a8e9e06.entry.js → p-0fed93b6.entry.js} +1 -1
- package/dist/ketchup/{p-d247771a.entry.js → p-1c8827c5.entry.js} +1 -1
- package/dist/ketchup/{p-ce3de714.js → p-216b5deb.js} +1 -1
- package/dist/ketchup/{p-ee458f85.entry.js → p-2a760a0e.entry.js} +1 -1
- package/dist/ketchup/{p-bc3217f8.entry.js → p-35597a9e.entry.js} +1 -1
- package/dist/ketchup/{p-d952cc39.entry.js → p-4518f1bb.entry.js} +1 -1
- package/dist/ketchup/{p-61205f5d.entry.js → p-47e29dc4.entry.js} +1 -1
- package/dist/ketchup/{p-d5a9ae60.entry.js → p-4e8d34ad.entry.js} +1 -1
- package/dist/ketchup/{p-45495c9b.js → p-52314ee2.js} +1 -1
- package/dist/ketchup/{p-e92ec1cb.entry.js → p-58d2a18c.entry.js} +1 -1
- package/dist/ketchup/{p-8d788064.entry.js → p-59ef4c6d.entry.js} +1 -1
- package/dist/ketchup/{p-9032f098.entry.js → p-5f418d60.entry.js} +1 -1
- package/dist/ketchup/{p-da7a61dc.entry.js → p-60c3a948.entry.js} +1 -1
- package/dist/ketchup/{p-fb9abc5f.entry.js → p-637150e5.entry.js} +1 -1
- package/dist/ketchup/{p-8a108d52.js → p-84a053a8.js} +1 -1
- package/dist/ketchup/p-98dc3168.entry.js +1 -0
- package/dist/ketchup/{p-2f7f630f.entry.js → p-9c5d2818.entry.js} +1 -1
- package/dist/ketchup/{p-8b1fd380.entry.js → p-9dd436ae.entry.js} +1 -1
- package/dist/ketchup/{p-1f3d3baa.js → p-9e610c11.js} +1 -1
- package/dist/ketchup/{p-b40cde24.js → p-9ffccc52.js} +1 -1
- package/dist/ketchup/{p-f304a1e0.entry.js → p-a802f5c5.entry.js} +1 -1
- package/dist/ketchup/{p-ce149297.entry.js → p-a8d14eee.entry.js} +1 -1
- package/dist/ketchup/{p-26a2b8ee.entry.js → p-c149961e.entry.js} +1 -1
- package/dist/ketchup/{p-71f154b3.js → p-c38d19f9.js} +1 -1
- package/dist/ketchup/{p-107b75b5.entry.js → p-cdf00a54.entry.js} +1 -1
- package/dist/ketchup/{p-4238addc.entry.js → p-d9eca005.entry.js} +1 -1
- package/dist/ketchup/{p-8b10e446.entry.js → p-dacc25e0.entry.js} +1 -1
- package/dist/ketchup/{p-2c5520f3.entry.js → p-dc52b02d.entry.js} +1 -1
- package/dist/ketchup/{p-5d96e8db.entry.js → p-e0b948bf.entry.js} +1 -1
- package/dist/ketchup/{p-53beb11a.js → p-e3098793.js} +1 -1
- package/dist/ketchup/{p-d6db0530.entry.js → p-e65ca213.entry.js} +1 -1
- package/dist/ketchup/{p-efaf71f4.entry.js → p-e7c457c4.entry.js} +1 -1
- package/dist/ketchup/{p-f3f5e6b2.entry.js → p-ebcf33a3.entry.js} +1 -1
- package/dist/ketchup/{p-aa30c9f1.entry.js → p-f1460083.entry.js} +1 -1
- package/dist/ketchup/{p-3dc483a6.entry.js → p-f19b0523.entry.js} +1 -1
- package/dist/types/utils/cell-utils.d.ts +3 -1
- package/package.json +4 -1
- package/dist/ketchup/p-b726490c.entry.js +0 -1
|
@@ -8468,14 +8468,9 @@ function isNegativeNumber(value) {
|
|
|
8468
8468
|
// -------------
|
|
8469
8469
|
// ADAPTERS from SmeupDataTable to FCell data attribute
|
|
8470
8470
|
// -------------
|
|
8471
|
-
const CMBandACPAdapter = (value, label, options,
|
|
8471
|
+
const CMBandACPAdapter = (value, label, options, cellData) => ({
|
|
8472
8472
|
data: {
|
|
8473
|
-
'kup-text-field': {
|
|
8474
|
-
trailingIcon: true,
|
|
8475
|
-
label,
|
|
8476
|
-
// size: _cellData?.size,
|
|
8477
|
-
// maxLength: _cellData?.maxLength,
|
|
8478
|
-
},
|
|
8473
|
+
'kup-text-field': Object.assign(Object.assign({ trailingIcon: true, label }, ((cellData === null || cellData === void 0 ? void 0 : cellData.size) && { size: cellData.size })), ((cellData === null || cellData === void 0 ? void 0 : cellData.maxLength) && { maxLength: cellData.maxLength })),
|
|
8479
8474
|
'kup-list': {
|
|
8480
8475
|
showIcons: true,
|
|
8481
8476
|
data: (options === null || options === void 0 ? void 0 : options.length)
|
|
@@ -10519,7 +10514,7 @@ var token = {};
|
|
|
10519
10514
|
function e(){return e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(e[a]=o[a]);}return e},e.apply(this,arguments)}Object.defineProperty(exports,"__esModule",{value:!0});var t,o={0:11,1:0,2:3,3:0,4:0,5:0,6:0,7:11,8:11,9:1,10:10,11:0,12:11,13:0,14:-1};exports.tokenTypes=void 0,(t=exports.tokenTypes||(exports.tokenTypes={}))[t.FUNCTION_WITH_ONE_ARG=0]="FUNCTION_WITH_ONE_ARG",t[t.NUMBER=1]="NUMBER",t[t.BINARY_OPERATOR_HIGH_PRECENDENCE=2]="BINARY_OPERATOR_HIGH_PRECENDENCE",t[t.CONSTANT=3]="CONSTANT",t[t.OPENING_PARENTHESIS=4]="OPENING_PARENTHESIS",t[t.CLOSING_PARENTHESIS=5]="CLOSING_PARENTHESIS",t[t.DECIMAL=6]="DECIMAL",t[t.POSTFIX_FUNCTION_WITH_ONE_ARG=7]="POSTFIX_FUNCTION_WITH_ONE_ARG",t[t.FUNCTION_WITH_N_ARGS=8]="FUNCTION_WITH_N_ARGS",t[t.BINARY_OPERATOR_LOW_PRECENDENCE=9]="BINARY_OPERATOR_LOW_PRECENDENCE",t[t.BINARY_OPERATOR_PERMUTATION=10]="BINARY_OPERATOR_PERMUTATION",t[t.COMMA=11]="COMMA",t[t.EVALUATED_FUNCTION=12]="EVALUATED_FUNCTION",t[t.EVALUATED_FUNCTION_PARAMETER=13]="EVALUATED_FUNCTION_PARAMETER",t[t.SPACE=14]="SPACE",exports.createTokens=function(t){return [{token:"sin",show:"sin",type:0,value:t.math.sin},{token:"cos",show:"cos",type:0,value:t.math.cos},{token:"tan",show:"tan",type:0,value:t.math.tan},{token:"pi",show:"π",type:3,value:"PI"},{token:"(",show:"(",type:4,value:"("},{token:")",show:")",type:5,value:")"},{token:"P",show:"P",type:10,value:t.math.P},{token:"C",show:"C",type:10,value:t.math.C},{token:" ",show:" ",type:14,value:" ".anchor},{token:"asin",show:"asin",type:0,value:t.math.asin},{token:"acos",show:"acos",type:0,value:t.math.acos},{token:"atan",show:"atan",type:0,value:t.math.atan},{token:"7",show:"7",type:1,value:"7"},{token:"8",show:"8",type:1,value:"8"},{token:"9",show:"9",type:1,value:"9"},{token:"int",show:"Int",type:0,value:Math.floor},{token:"cosh",show:"cosh",type:0,value:t.math.cosh},{token:"acosh",show:"acosh",type:0,value:t.math.acosh},{token:"ln",show:" ln",type:0,value:Math.log},{token:"^",show:"^",type:10,value:Math.pow},{token:"root",show:"root",type:0,value:Math.sqrt},{token:"4",show:"4",type:1,value:"4"},{token:"5",show:"5",type:1,value:"5"},{token:"6",show:"6",type:1,value:"6"},{token:"/",show:"÷",type:2,value:t.math.div},{token:"!",show:"!",type:7,value:t.math.fact},{token:"tanh",show:"tanh",type:0,value:t.math.tanh},{token:"atanh",show:"atanh",type:0,value:t.math.atanh},{token:"Mod",show:" Mod ",type:2,value:t.math.mod},{token:"1",show:"1",type:1,value:"1"},{token:"2",show:"2",type:1,value:"2"},{token:"3",show:"3",type:1,value:"3"},{token:"*",show:"×",type:2,value:t.math.mul},{token:"sinh",show:"sinh",type:0,value:t.math.sinh},{token:"asinh",show:"asinh",type:0,value:t.math.asinh},{token:"e",show:"e",type:3,value:"E"},{token:"log",show:" log",type:0,value:t.math.log},{token:"0",show:"0",type:1,value:"0"},{token:".",show:".",type:6,value:"."},{token:"+",show:"+",type:9,value:t.math.add},{token:"-",show:"-",type:9,value:t.math.sub},{token:",",show:",",type:11,value:","},{token:"Sigma",show:"Σ",type:12,value:t.math.sigma},{token:"n",show:"n",type:13,value:"n"},{token:"Pi",show:"Π",type:12,value:t.math.Pi},{token:"pow",show:"pow",type:8,value:Math.pow,numberOfArguments:2},{token:"&",show:"&",type:9,value:t.math.and}].map((function(t){return e({},t,{precedence:o[t.type]})}))},exports.preced=o;
|
|
10520
10515
|
}(token));
|
|
10521
10516
|
|
|
10522
|
-
Object.defineProperty(lexer,"__esModule",{value:!0});var e$1=token;function t$1(e,t){for(var n=0;n<e.length;n++)e[n]+=t;return e}var n={0:!0,1:!0,3:!0,4:!0,6:!0,8:!0,9:!0,12:!0,13:!0,14:!0},s$1={0:!0,1:!0,2:!0,3:!0,4:!0,5:!0,6:!0,7:!0,8:!0,9:!0,10:!0,11:!0,12:!0,13:!0},o$1={0:!0,3:!0,4:!0,8:!0,12:!0,13:!0},p={},r$1={0:!0,1:!0,3:!0,4:!0,6:!0,8:!0,12:!0,13:!0},T={1:!0},h=[[],["1","2","3","7","8","9","4","5","6","+","-","*","/","(",")","^","!","P","C","e","0",".",",","n"," ","&"],["pi","ln","Pi"],["sin","cos","tan","Del","int","Mod","log","pow"],["asin","acos","atan","cosh","root","tanh","sinh"],["acosh","atanh","asinh","Sigma"]];function E(e,t,n,s){for(var o=0;o<s;o++)if(e[n+o]!==t[o])return !1;return !0}function N(e,t){for(var n=0;n<t.length;n++)if(t[n].token===e)return n;return -1}lexer.addToken=function(t){for(var n=0;n<t.length;n++){var s=t[n].token.length,o=-1;t[n].type===e$1.tokenTypes.FUNCTION_WITH_N_ARGS&&void 0===t[n].numberOfArguments&&(t[n].numberOfArguments=2),h[s]=h[s]||[];for(var p=0;p<h[s].length;p++)if(t[n].token===h[s][p]){o=N(h[s][p],this.tokens);break}-1===o?(this.tokens.push(t[n]),t[n].precedence=e$1.preced[t[n].type],h.length<=t[n].token.length&&(h[t[n].token.length]=[]),h[t[n].token.length].push(t[n].token)):(this.tokens[o]=t[n],t[n].precedence=e$1.preced[t[n].type]);}},lexer.lex=function(u,a){var y,_={value:this.math.changeSign,type:e$1.tokenTypes.FUNCTION_WITH_ONE_ARG,precedence:4,show:"-"},i={value:")",show:")",type:e$1.tokenTypes.CLOSING_PARENTHESIS,precedence:0},A={value:"(",type:e$1.tokenTypes.OPENING_PARENTHESIS,precedence:0,show:"("},O=[A],R=[],l=u,k=n,I=0,f=p,P="";void 0!==a&&this.addToken(a);var c=function(e,t){for(var n,s,o,p=[],r=t.length,T=0;T<r;T++)if(!(T<r-1&&" "===t[T]&&" "===t[T+1])){for(n="",s=t.length-T>h.length-2?h.length-1:t.length-T;s>0;s--)if(void 0!==h[s])for(o=0;o<h[s].length;o++)E(t,h[s][o],T,s)&&(n=h[s][o],o=h[s].length,s=0);if(T+=n.length-1,""===n)throw new Error("Can't understand after "+t.slice(T));p.push(e.tokens[N(n,e.tokens)]);}return p}(this,l);for(y=0;y<c.length;y++){var C=c[y];if(14!==C.type){var g,S=C.token,d=C.type,v=C.value,w=C.precedence,U=C.show,m=O[O.length-1];for(g=R.length;g--&&0===R[g];)if(-1!==[e$1.tokenTypes.FUNCTION_WITH_ONE_ARG,e$1.tokenTypes.BINARY_OPERATOR_HIGH_PRECENDENCE,e$1.tokenTypes.CONSTANT,e$1.tokenTypes.OPENING_PARENTHESIS,e$1.tokenTypes.CLOSING_PARENTHESIS,e$1.tokenTypes.BINARY_OPERATOR_LOW_PRECENDENCE,e$1.tokenTypes.BINARY_OPERATOR_PERMUTATION,e$1.tokenTypes.COMMA,e$1.tokenTypes.EVALUATED_FUNCTION,e$1.tokenTypes.EVALUATED_FUNCTION_PARAMETER].indexOf(d)){if(!0!==k[d])throw new Error(S+" is not allowed after "+P);O.push(i),k=s$1,f=r$1,R.pop();}if(!0!==k[d])throw new Error(S+" is not allowed after "+P);!0===f[d]&&(d=e$1.tokenTypes.BINARY_OPERATOR_HIGH_PRECENDENCE,v=this.math.mul,U="×",w=3,y-=1);var H={value:v,type:d,precedence:w,show:U,numberOfArguments:C.numberOfArguments};if(d===e$1.tokenTypes.FUNCTION_WITH_ONE_ARG)k=n,f=p,t$1(R,1),O.push(H),c[y+1].type!==e$1.tokenTypes.OPENING_PARENTHESIS&&(O.push(A),R.push(2));else if(d===e$1.tokenTypes.NUMBER)m.type===e$1.tokenTypes.NUMBER?(m.value+=v,t$1(R,1)):O.push(H),k=s$1,f=o$1;else if(d===e$1.tokenTypes.BINARY_OPERATOR_HIGH_PRECENDENCE)k=n,f=p,t$1(R,2),O.push(H);else if(d===e$1.tokenTypes.CONSTANT)O.push(H),k=s$1,f=r$1;else if(d===e$1.tokenTypes.OPENING_PARENTHESIS)t$1(R,1),I++,k=n,f=p,O.push(H);else if(d===e$1.tokenTypes.CLOSING_PARENTHESIS){if(!I)throw new Error("Closing parenthesis are more than opening one, wait What!!!");I--,k=s$1,f=r$1,O.push(H),t$1(R,1);}else if(d===e$1.tokenTypes.DECIMAL){if(m.hasDec)throw new Error("Two decimals are not allowed in one number");m.type!==e$1.tokenTypes.NUMBER&&(m={show:"0",value:0,type:e$1.tokenTypes.NUMBER,precedence:0},O.push(m)),k=T,t$1(R,1),f=p,m.value+=v,m.hasDec=!0;}else d===e$1.tokenTypes.POSTFIX_FUNCTION_WITH_ONE_ARG&&(k=s$1,f=r$1,t$1(R,1),O.push(H));d===e$1.tokenTypes.FUNCTION_WITH_N_ARGS?(k=n,f=p,t$1(R,C.numberOfArguments+2),O.push(H),c[y+1].type!==e$1.tokenTypes.OPENING_PARENTHESIS&&(O.push(A),R.push(C.numberOfArguments+2))):d===e$1.tokenTypes.BINARY_OPERATOR_LOW_PRECENDENCE?(m.type===e$1.tokenTypes.BINARY_OPERATOR_LOW_PRECENDENCE?m.value===this.math.add?(m.value=v,m.show=U,t$1(R,1)):m.value===this.math.sub&&"-"===U&&(m.value=this.math.add,m.show="+",t$1(R,1)):m.type!==e$1.tokenTypes.CLOSING_PARENTHESIS&&m.type!==e$1.tokenTypes.POSTFIX_FUNCTION_WITH_ONE_ARG&&m.type!==e$1.tokenTypes.NUMBER&&m.type!==e$1.tokenTypes.CONSTANT&&m.type!==e$1.tokenTypes.EVALUATED_FUNCTION_PARAMETER?"-"===S&&(k=n,f=p,t$1(R,1).push(2),O.push(_),O.push(A)):(O.push(H),t$1(R,2)),k=n,f=p):d===e$1.tokenTypes.BINARY_OPERATOR_PERMUTATION?(k=n,f=p,t$1(R,2),O.push(H)):d===e$1.tokenTypes.COMMA?(k=n,f=p,O.push(H)):d===e$1.tokenTypes.EVALUATED_FUNCTION?(k=n,f=p,t$1(R,6),O.push(H),c[y+1].type!==e$1.tokenTypes.OPENING_PARENTHESIS&&(O.push(A),R.push(6))):d===e$1.tokenTypes.EVALUATED_FUNCTION_PARAMETER&&(k=s$1,f=r$1,O.push(H)),t$1(R,-1),P=S;}else if(y>0&&y<c.length-1&&1===c[y+1].type&&(1===c[y-1].type||6===c[y-1].type))throw new Error("Unexpected Space")}for(g=R.length;g--;)O.push(i);if(!0!==k[5])throw new Error("complete the expression");for(;I--;)O.push(i);return O.push(i),O};
|
|
10517
|
+
Object.defineProperty(lexer,"__esModule",{value:!0});var e$1=token;function t$1(e,t){for(var n=0;n<e.length;n++)e[n]+=t;return e}var n={0:!0,1:!0,3:!0,4:!0,6:!0,8:!0,9:!0,12:!0,13:!0,14:!0},s$1={0:!0,1:!0,2:!0,3:!0,4:!0,5:!0,6:!0,7:!0,8:!0,9:!0,10:!0,11:!0,12:!0,13:!0},o$1={0:!0,3:!0,4:!0,8:!0,12:!0,13:!0},p={},r$1={0:!0,1:!0,3:!0,4:!0,6:!0,8:!0,12:!0,13:!0},T={1:!0},h=[[],["1","2","3","7","8","9","4","5","6","+","-","*","/","(",")","^","!","P","C","e","0",".",",","n"," ","&"],["pi","ln","Pi"],["sin","cos","tan","Del","int","Mod","log","pow"],["asin","acos","atan","cosh","root","tanh","sinh"],["acosh","atanh","asinh","Sigma"]];function E(e,t,n,s){for(var o=0;o<s;o++)if(e[n+o]!==t[o])return !1;return !0}function N(e,t){for(var n=0;n<t.length;n++)if(t[n].token===e)return n;return -1}lexer.addToken=function(t){for(var n=0;n<t.length;n++){var s=t[n].token.length,o=-1;t[n].type===e$1.tokenTypes.FUNCTION_WITH_N_ARGS&&void 0===t[n].numberOfArguments&&(t[n].numberOfArguments=2),h[s]=h[s]||[];for(var p=0;p<h[s].length;p++)if(t[n].token===h[s][p]){o=N(h[s][p],this.tokens);break}-1===o?(this.tokens.push(t[n]),t[n].precedence=e$1.preced[t[n].type],h.length<=t[n].token.length&&(h[t[n].token.length]=[]),h[t[n].token.length].push(t[n].token)):(this.tokens[o]=t[n],t[n].precedence=e$1.preced[t[n].type]);}},lexer.lex=function(u,a){var y,_={value:this.math.changeSign,type:e$1.tokenTypes.FUNCTION_WITH_ONE_ARG,precedence:4,show:"-"},i={value:")",show:")",type:e$1.tokenTypes.CLOSING_PARENTHESIS,precedence:0},A={value:"(",type:e$1.tokenTypes.OPENING_PARENTHESIS,precedence:0,show:"("},O=[A],R=[],l=u,k=n,I=0,f=p,P="";void 0!==a&&this.addToken(a);var c=function(e,t){for(var n,s,o,p=[],r=t.length,T=0;T<r;T++)if(!(T<r-1&&" "===t[T]&&" "===t[T+1])){for(n="",s=t.length-T>h.length-2?h.length-1:t.length-T;s>0;s--)if(void 0!==h[s])for(o=0;o<h[s].length;o++)E(t,h[s][o],T,s)&&(n=h[s][o],o=h[s].length,s=0);if(T+=n.length-1,""===n)throw new Error("Can't understand after "+t.slice(T));p.push(e.tokens[N(n,e.tokens)]);}return p}(this,l);for(y=0;y<c.length;y++){var C=c[y];if(14!==C.type){var g,S=C.token,d=C.type,v=C.value,w=C.precedence,U=C.show,m=O[O.length-1];for(g=R.length;g--&&0===R[g];)if(-1!==[e$1.tokenTypes.FUNCTION_WITH_ONE_ARG,e$1.tokenTypes.BINARY_OPERATOR_HIGH_PRECENDENCE,e$1.tokenTypes.CONSTANT,e$1.tokenTypes.OPENING_PARENTHESIS,e$1.tokenTypes.CLOSING_PARENTHESIS,e$1.tokenTypes.BINARY_OPERATOR_LOW_PRECENDENCE,e$1.tokenTypes.BINARY_OPERATOR_PERMUTATION,e$1.tokenTypes.COMMA,e$1.tokenTypes.EVALUATED_FUNCTION,e$1.tokenTypes.EVALUATED_FUNCTION_PARAMETER].indexOf(d)){if(!0!==k[d])throw new Error(S+" is not allowed after "+P);O.push(i),k=s$1,f=r$1,R.pop();}if(!0!==k[d])throw new Error(S+" is not allowed after "+P);!0===f[d]&&(d=e$1.tokenTypes.BINARY_OPERATOR_HIGH_PRECENDENCE,v=this.math.mul,U="×",w=3,y-=1);var H={value:v,type:d,precedence:w,show:U,numberOfArguments:C.numberOfArguments};if(d===e$1.tokenTypes.FUNCTION_WITH_ONE_ARG)k=n,f=p,t$1(R,1),O.push(H),c[y+1].type!==e$1.tokenTypes.OPENING_PARENTHESIS&&(O.push(A),R.push(2));else if(d===e$1.tokenTypes.NUMBER)m.type===e$1.tokenTypes.NUMBER?(m.value+=v,t$1(R,1)):O.push(H),k=s$1,f=o$1;else if(d===e$1.tokenTypes.BINARY_OPERATOR_HIGH_PRECENDENCE)k=n,f=p,t$1(R,2),O.push(H);else if(d===e$1.tokenTypes.CONSTANT)O.push(H),k=s$1,f=r$1;else if(d===e$1.tokenTypes.OPENING_PARENTHESIS)t$1(R,1),I++,k=n,f=p,O.push(H);else if(d===e$1.tokenTypes.CLOSING_PARENTHESIS){if(!I)throw new Error("Closing parenthesis are more than opening one, wait What!!!");I--,k=s$1,f=r$1,O.push(H),t$1(R,1);}else if(d===e$1.tokenTypes.DECIMAL){if(m.hasDec)throw new Error("Two decimals are not allowed in one number");m.type!==e$1.tokenTypes.NUMBER&&(m={show:"0",value:0,type:e$1.tokenTypes.NUMBER,precedence:0},O.push(m),t$1(R,-1)),k=T,t$1(R,1),f=p,m.value+=v,m.hasDec=!0;}else d===e$1.tokenTypes.POSTFIX_FUNCTION_WITH_ONE_ARG&&(k=s$1,f=r$1,t$1(R,1),O.push(H));d===e$1.tokenTypes.FUNCTION_WITH_N_ARGS?(k=n,f=p,t$1(R,C.numberOfArguments+2),O.push(H),c[y+1].type!==e$1.tokenTypes.OPENING_PARENTHESIS&&(O.push(A),R.push(C.numberOfArguments+2))):d===e$1.tokenTypes.BINARY_OPERATOR_LOW_PRECENDENCE?(m.type===e$1.tokenTypes.BINARY_OPERATOR_LOW_PRECENDENCE?m.value===this.math.add?(m.value=v,m.show=U,t$1(R,1)):m.value===this.math.sub&&"-"===U&&(m.value=this.math.add,m.show="+",t$1(R,1)):m.type!==e$1.tokenTypes.CLOSING_PARENTHESIS&&m.type!==e$1.tokenTypes.POSTFIX_FUNCTION_WITH_ONE_ARG&&m.type!==e$1.tokenTypes.NUMBER&&m.type!==e$1.tokenTypes.CONSTANT&&m.type!==e$1.tokenTypes.EVALUATED_FUNCTION_PARAMETER?"-"===S&&(k=n,f=p,t$1(R,1),R.push(2),O.push(_),O.push(A)):(O.push(H),t$1(R,2)),k=n,f=p):d===e$1.tokenTypes.BINARY_OPERATOR_PERMUTATION?(k=n,f=p,t$1(R,2),O.push(H)):d===e$1.tokenTypes.COMMA?(k=n,f=p,O.push(H)):d===e$1.tokenTypes.EVALUATED_FUNCTION?(k=n,f=p,t$1(R,6),O.push(H),c[y+1].type!==e$1.tokenTypes.OPENING_PARENTHESIS&&(O.push(A),R.push(6))):d===e$1.tokenTypes.EVALUATED_FUNCTION_PARAMETER&&(k=s$1,f=r$1,O.push(H)),t$1(R,-1),P=S;}else if(y>0&&y<c.length-1&&1===c[y+1].type&&(1===c[y-1].type||6===c[y-1].type))throw new Error("Unexpected Space")}for(g=R.length;g--;)O.push(i);if(!0!==k[5])throw new Error("complete the expression");for(;I--;)O.push(i);return O.push(i),O};
|
|
10523
10518
|
|
|
10524
10519
|
var postfix = {};
|
|
10525
10520
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
|
-
import { k as kupManagerInstance, a9 as identify, g as getProps, s as setProps, Y as SortMode, L as getColumnByName, e as KupLanguageGeneric, b as KupThemeIconValues, u as KupDebugCategory, a7 as KupPointerEventTypes, aj as KupDragEffect, aA as kupDraggableAttr, al as KupDropEventTypes, J as KupLanguageSearch } from './p-
|
|
3
|
-
import { I as filterRows, J as paginateRows, G as sortRows, L as pageChange, N as rowsPerPageChange, F as FImage, O as FCell, P as FChip, Q as FTextFieldMDC, c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t, E as defineCustomElement$u, R as FPaginator } from './p-
|
|
2
|
+
import { k as kupManagerInstance, a9 as identify, g as getProps, s as setProps, Y as SortMode, L as getColumnByName, e as KupLanguageGeneric, b as KupThemeIconValues, u as KupDebugCategory, a7 as KupPointerEventTypes, aj as KupDragEffect, aA as kupDraggableAttr, al as KupDropEventTypes, J as KupLanguageSearch } from './p-970526a0.js';
|
|
3
|
+
import { I as filterRows, J as paginateRows, G as sortRows, L as pageChange, N as rowsPerPageChange, F as FImage, O as FCell, P as FChip, Q as FTextFieldMDC, c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t, E as defineCustomElement$u, R as FPaginator } from './p-2478ac88.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-box component.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { h, F as Fragment } from './index-9b0f4a0d.js';
|
|
2
|
-
import { aq as editableTypes, ar as kupTypes, R as FCellClasses, ad as FCellTypes, f as KupThemeColorValues, ao as CHIAdapter, am as RADAdapter, al as CMBandACPAdapter, as as KupTagNames, F as FCellShapes, ai as getCellValueForDisplay, a as KupComponentSizing, at as fullWidthFieldsComps, I as ItemsDisplayMode, au as autoCenterComps, av as adaptContentToDisplayMode, aw as FCellEvents, ax as isForceUppercase, ay as isForceLowercase, h as KupDebugCategory } from './kup-manager-
|
|
2
|
+
import { aq as editableTypes, ar as kupTypes, R as FCellClasses, ad as FCellTypes, f as KupThemeColorValues, ao as CHIAdapter, am as RADAdapter, al as CMBandACPAdapter, as as KupTagNames, F as FCellShapes, ai as getCellValueForDisplay, a as KupComponentSizing, at as fullWidthFieldsComps, I as ItemsDisplayMode, au as autoCenterComps, av as adaptContentToDisplayMode, aw as FCellEvents, ax as isForceUppercase, ay as isForceLowercase, h as KupDebugCategory } from './kup-manager-7acd779a.js';
|
|
3
3
|
import { F as FButton } from './f-button-3c8f4506.js';
|
|
4
4
|
import { F as FCheckbox } from './f-checkbox-5cdd1cad.js';
|
|
5
|
-
import { F as FChipType, d as FChip } from './f-chip-
|
|
5
|
+
import { F as FChipType, d as FChip } from './f-chip-28fde4c9.js';
|
|
6
6
|
import { F as FImage } from './f-image-a2ecd7c3.js';
|
|
7
|
-
import { F as FObjectField } from './f-object-field-
|
|
8
|
-
import { F as FTextField } from './f-text-field-
|
|
7
|
+
import { F as FObjectField } from './f-object-field-3bd73466.js';
|
|
8
|
+
import { F as FTextField } from './f-text-field-5b392d9b.js';
|
|
9
9
|
|
|
10
10
|
var FRadioType;
|
|
11
11
|
(function (FRadioType) {
|
|
@@ -617,7 +617,7 @@ const MainRADAdapter = (options, _fieldLabel, currentValue, cell) => {
|
|
|
617
617
|
};
|
|
618
618
|
const MainCMBandACPAdapter = (options, fieldLabel, currentValue, cell, _id) => {
|
|
619
619
|
if (options) {
|
|
620
|
-
const configCMBandACP = CMBandACPAdapter(currentValue, fieldLabel, []);
|
|
620
|
+
const configCMBandACP = CMBandACPAdapter(currentValue, fieldLabel, [], cell.data);
|
|
621
621
|
configCMBandACP.data['kup-list'].data = optionsTreeComboAdapter(options, currentValue);
|
|
622
622
|
if (!cell.data) {
|
|
623
623
|
return configCMBandACP;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h } from './index-9b0f4a0d.js';
|
|
2
2
|
import { F as FImage } from './f-image-a2ecd7c3.js';
|
|
3
|
-
import { I as ItemsDisplayMode, d as KupThemeIconValues, b as KupLanguageGeneric } from './kup-manager-
|
|
3
|
+
import { I as ItemsDisplayMode, d as KupThemeIconValues, b as KupLanguageGeneric } from './kup-manager-7acd779a.js';
|
|
4
4
|
|
|
5
5
|
function getIdOfItemByDisplayMode(item, mode, separator) {
|
|
6
6
|
const { id, value } = item;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h } from './index-9b0f4a0d.js';
|
|
2
|
-
import { a as KupComponentSizing, k as kupManagerInstance, e as KupDynamicPositionPlacement } from './kup-manager-
|
|
2
|
+
import { a as KupComponentSizing, k as kupManagerInstance, e as KupDynamicPositionPlacement } from './kup-manager-7acd779a.js';
|
|
3
3
|
import { F as FButton } from './f-button-3c8f4506.js';
|
|
4
4
|
import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
5
|
-
import { F as FTextField } from './f-text-field-
|
|
5
|
+
import { F as FTextField } from './f-text-field-5b392d9b.js';
|
|
6
6
|
|
|
7
7
|
const STATE = new WeakMap();
|
|
8
8
|
const FObjectField = (props) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-9b0f4a0d.js';
|
|
2
|
-
import { I as ItemsDisplayMode, az as KupLanguagePage, t as KupLanguageRow, a as KupComponentSizing, b as KupLanguageGeneric } from './kup-manager-
|
|
2
|
+
import { I as ItemsDisplayMode, az as KupLanguagePage, t as KupLanguageRow, a as KupComponentSizing, b as KupLanguageGeneric } from './kup-manager-7acd779a.js';
|
|
3
3
|
import { F as FButton } from './f-button-3c8f4506.js';
|
|
4
4
|
import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, g as getAssetPath } from './index-9b0f4a0d.js';
|
|
2
|
-
import { d as KupThemeIconValues } from './kup-manager-
|
|
2
|
+
import { d as KupThemeIconValues } from './kup-manager-7acd779a.js';
|
|
3
3
|
import { F as FImage } from './f-image-a2ecd7c3.js';
|
|
4
4
|
|
|
5
5
|
const dom = document.documentElement;
|
package/dist/esm/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, a as KupComponentSizing, g as getProps, s as setProps, d as KupThemeIconValues, f as KupThemeColorValues, e as KupDynamicPositionPlacement } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, a as KupComponentSizing, g as getProps, s as setProps, d as KupThemeIconValues, f as KupThemeColorValues, e as KupDynamicPositionPlacement } from './kup-manager-7acd779a.js';
|
|
3
3
|
import { F as FImage } from './f-image-a2ecd7c3.js';
|
|
4
4
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
5
5
|
import { M as MDCRipple } from './component-a35bc7f1.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, F as Fragment, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupDebugCategory, ai as getCellValueForDisplay } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupDebugCategory, ai as getCellValueForDisplay } from './kup-manager-7acd779a.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { F as FImage } from './f-image-a2ecd7c3.js';
|
|
5
|
-
import { s as sortRows } from './kup-data-table-helper-
|
|
5
|
+
import { s as sortRows } from './kup-data-table-helper-edbee21a.js';
|
|
6
6
|
import './kup-dates-77f1a451.js';
|
|
7
7
|
|
|
8
8
|
var KupActivityTimelineProps;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement$1, F as Fragment, g as getAssetPath } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, I as ItemsDisplayMode, a as KupComponentSizing, g as getProps, s as setProps, b as KupLanguageGeneric, c as getSizeOfInputElement, d as KupThemeIconValues, e as KupDynamicPositionPlacement, f as KupThemeColorValues, h as KupDebugCategory, F as FCellShapes, i as FCellPadding, j as fillString, l as KupCardBuiltInClockElements, m as KupCardCSSClasses, n as KupLanguageTotals, o as KupLanguageColumn, p as KupDataNewColumnTypes, q as KupCardSubEvents, r as KupCardIds, t as KupLanguageRow, u as KupLanguageSearch, v as KupCardFamily, w as KupCardProps, x as getColumnByName, y as formatToNumber, z as KupObjects, A as identify, G as GroupLabelDisplayMode, S as SelectionMode, B as KupLanguageGrouping, C as KupLanguageCheckbox, D as getValueForDisplay2, E as Filters, H as getValueForDisplay, J as FILTER_ANALYZER, L as LoadMoreMode, P as PaginatorPos, M as ShowGrid, T as TotalLabel, N as TotalMode, O as getRegExpFromString, Q as isNegativeNumber, R as FCellClasses, U as kupDynamicPositionAttribute, V as KupPointerEventTypes, W as kupDraggableColumnAttr, X as kupDragActiveAttr, Y as KupDragEffect, Z as kupDraggableCellAttr, _ as KupDropEventTypes, $ as DataTableAreasEnum, a0 as TypesToDuplicate, a1 as FixedCellsClasses, a2 as FixedCellsCSSVarsBase, a3 as KupLanguageFontsize, a4 as KupLanguageDensity, a5 as KupLanguageGrid, a6 as KupDataTableProps, a7 as UseAsValue, a8 as SortMode, a9 as iconColumn, aa as keyColumn, ab as fieldColumn, ac as KupLanguageUpload, ad as FCellTypes, ae as KupListRole, af as KupListProps, ag as addColumnValueFromRow, ah as KupGlobalFilterMode } from './kup-manager-
|
|
3
|
-
import { F as FTextField } from './f-text-field-
|
|
2
|
+
import { k as kupManagerInstance, I as ItemsDisplayMode, a as KupComponentSizing, g as getProps, s as setProps, b as KupLanguageGeneric, c as getSizeOfInputElement, d as KupThemeIconValues, e as KupDynamicPositionPlacement, f as KupThemeColorValues, h as KupDebugCategory, F as FCellShapes, i as FCellPadding, j as fillString, l as KupCardBuiltInClockElements, m as KupCardCSSClasses, n as KupLanguageTotals, o as KupLanguageColumn, p as KupDataNewColumnTypes, q as KupCardSubEvents, r as KupCardIds, t as KupLanguageRow, u as KupLanguageSearch, v as KupCardFamily, w as KupCardProps, x as getColumnByName, y as formatToNumber, z as KupObjects, A as identify, G as GroupLabelDisplayMode, S as SelectionMode, B as KupLanguageGrouping, C as KupLanguageCheckbox, D as getValueForDisplay2, E as Filters, H as getValueForDisplay, J as FILTER_ANALYZER, L as LoadMoreMode, P as PaginatorPos, M as ShowGrid, T as TotalLabel, N as TotalMode, O as getRegExpFromString, Q as isNegativeNumber, R as FCellClasses, U as kupDynamicPositionAttribute, V as KupPointerEventTypes, W as kupDraggableColumnAttr, X as kupDragActiveAttr, Y as KupDragEffect, Z as kupDraggableCellAttr, _ as KupDropEventTypes, $ as DataTableAreasEnum, a0 as TypesToDuplicate, a1 as FixedCellsClasses, a2 as FixedCellsCSSVarsBase, a3 as KupLanguageFontsize, a4 as KupLanguageDensity, a5 as KupLanguageGrid, a6 as KupDataTableProps, a7 as UseAsValue, a8 as SortMode, a9 as iconColumn, aa as keyColumn, ab as fieldColumn, ac as KupLanguageUpload, ad as FCellTypes, ae as KupListRole, af as KupListProps, ag as addColumnValueFromRow, ah as KupGlobalFilterMode } from './kup-manager-7acd779a.js';
|
|
3
|
+
import { F as FTextField } from './f-text-field-5b392d9b.js';
|
|
4
4
|
import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
|
|
5
|
-
import { g as getIdOfItemByDisplayMode, c as consistencyCheck, F as FChipType, a as FChipSize, b as FChipStyling, d as FChip } from './f-chip-
|
|
5
|
+
import { g as getIdOfItemByDisplayMode, c as consistencyCheck, F as FChipType, a as FChipSize, b as FChipStyling, d as FChip } from './f-chip-28fde4c9.js';
|
|
6
6
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
7
7
|
import { F as FImage } from './f-image-a2ecd7c3.js';
|
|
8
8
|
import { F as FButton } from './f-button-3c8f4506.js';
|
|
9
9
|
import { F as FButtonAlign, a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
10
|
-
import { F as FCell, a as FRadio, b as FRating, c as FSwitchSizing, d as FSwitch } from './f-cell-
|
|
10
|
+
import { F as FCell, a as FRadio, b as FRating, c as FSwitchSizing, d as FSwitch } from './f-cell-eb150cfc.js';
|
|
11
11
|
import { d as KupDateTimeFormatOptionsMonth, K as KupDatesFormats, a as KupDates } from './kup-dates-77f1a451.js';
|
|
12
12
|
import { M as MDCRipple } from './component-a35bc7f1.js';
|
|
13
13
|
import { F as FCheckbox } from './f-checkbox-5cdd1cad.js';
|
|
14
|
-
import { F as FiltersColumnMenu, a as FiltersRows, g as getDiffData, d as decorateDataTable, c as calcTotals, n as normalizeRows, p as paginateRows, f as filterRows, b as groupRows, s as sortRows, t as treeMainColumnName, K as KupTreeExpansionMode, e as KupTreeProps } from './kup-data-table-helper-
|
|
15
|
-
import { F as FPaginator, p as pageChange, r as rowsPerPageChange } from './f-paginator-utils-
|
|
16
|
-
import './f-object-field-
|
|
14
|
+
import { F as FiltersColumnMenu, a as FiltersRows, g as getDiffData, d as decorateDataTable, c as calcTotals, n as normalizeRows, p as paginateRows, f as filterRows, b as groupRows, s as sortRows, t as treeMainColumnName, K as KupTreeExpansionMode, e as KupTreeProps } from './kup-data-table-helper-edbee21a.js';
|
|
15
|
+
import { F as FPaginator, p as pageChange, r as rowsPerPageChange } from './f-paginator-utils-3e2a0dcd.js';
|
|
16
|
+
import './f-object-field-3bd73466.js';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* Props of the kup-autocomplete component.
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, A as identify, g as getProps, s as setProps, a8 as SortMode, x as getColumnByName, b as KupLanguageGeneric, d as KupThemeIconValues, h as KupDebugCategory, V as KupPointerEventTypes, Y as KupDragEffect, aG as kupDraggableAttr, _ as KupDropEventTypes, u as KupLanguageSearch } from './kup-manager-
|
|
3
|
-
import { f as filterRows, p as paginateRows, s as sortRows } from './kup-data-table-helper-
|
|
2
|
+
import { k as kupManagerInstance, A as identify, g as getProps, s as setProps, a8 as SortMode, x as getColumnByName, b as KupLanguageGeneric, d as KupThemeIconValues, h as KupDebugCategory, V as KupPointerEventTypes, Y as KupDragEffect, aG as kupDraggableAttr, _ as KupDropEventTypes, u as KupLanguageSearch } from './kup-manager-7acd779a.js';
|
|
3
|
+
import { f as filterRows, p as paginateRows, s as sortRows } from './kup-data-table-helper-edbee21a.js';
|
|
4
4
|
import { F as FImage } from './f-image-a2ecd7c3.js';
|
|
5
|
-
import { d as FChip } from './f-chip-
|
|
5
|
+
import { d as FChip } from './f-chip-28fde4c9.js';
|
|
6
6
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
7
|
-
import { F as FCell } from './f-cell-
|
|
8
|
-
import { p as pageChange, r as rowsPerPageChange, F as FPaginator } from './f-paginator-utils-
|
|
7
|
+
import { F as FCell } from './f-cell-eb150cfc.js';
|
|
8
|
+
import { p as pageChange, r as rowsPerPageChange, F as FPaginator } from './f-paginator-utils-3e2a0dcd.js';
|
|
9
9
|
import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
|
|
10
10
|
import './kup-dates-77f1a451.js';
|
|
11
11
|
import './f-button-3c8f4506.js';
|
|
12
12
|
import './f-button-declarations-6c8f8abe.js';
|
|
13
13
|
import './f-checkbox-5cdd1cad.js';
|
|
14
|
-
import './f-object-field-
|
|
15
|
-
import './f-text-field-
|
|
14
|
+
import './f-object-field-3bd73466.js';
|
|
15
|
+
import './f-text-field-5b392d9b.js';
|
|
16
16
|
import './component-a35bc7f1.js';
|
|
17
17
|
|
|
18
18
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h as h$1, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric, x as getColumnByName, h as KupDebugCategory } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric, x as getColumnByName, h as KupDebugCategory } from './kup-manager-7acd779a.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { F as FButton } from './f-button-3c8f4506.js';
|
|
5
|
-
import { d as FChip, F as FChipType } from './f-chip-
|
|
5
|
+
import { d as FChip, F as FChipType } from './f-chip-28fde4c9.js';
|
|
6
6
|
import { b as KupDatesLocales, K as KupDatesFormats } from './kup-dates-77f1a451.js';
|
|
7
7
|
import './f-button-declarations-6c8f8abe.js';
|
|
8
8
|
import './f-image-a2ecd7c3.js';
|
|
@@ -13209,7 +13209,7 @@ class TableRows extends DateComponent {
|
|
|
13209
13209
|
constructor() {
|
|
13210
13210
|
super(...arguments);
|
|
13211
13211
|
this.splitBusinessHourSegs = memoize(splitSegsByRow);
|
|
13212
|
-
this.splitBgEventSegs = memoize(
|
|
13212
|
+
this.splitBgEventSegs = memoize(splitAllDaySegsByRow);
|
|
13213
13213
|
this.splitFgEventSegs = memoize(splitSegsByRow);
|
|
13214
13214
|
this.splitDateSelectionSegs = memoize(splitSegsByRow);
|
|
13215
13215
|
this.splitEventDrag = memoize(splitInteractionByRow);
|
|
@@ -13233,7 +13233,7 @@ class TableRows extends DateComponent {
|
|
|
13233
13233
|
return (y(NowTimer, { unit: "day" }, (nowDate, todayRange) => (y(_, null, props.cells.map((cells, row) => (y(TableRow, { ref: this.rowRefs.createRef(row), key: cells.length
|
|
13234
13234
|
? cells[0].date.toISOString() /* best? or put key on cell? or use diff formatter? */
|
|
13235
13235
|
: row // in case there are no cells (like when resource view is loading)
|
|
13236
|
-
, showDayNumbers: rowCnt > 1, showWeekNumbers: props.showWeekNumbers, todayRange: todayRange, dateProfile: props.dateProfile, cells: cells, renderIntro: props.renderRowIntro, businessHourSegs: businessHourSegsByRow[row], eventSelection: props.eventSelection, bgEventSegs: bgEventSegsByRow[row]
|
|
13236
|
+
, showDayNumbers: rowCnt > 1, showWeekNumbers: props.showWeekNumbers, todayRange: todayRange, dateProfile: props.dateProfile, cells: cells, renderIntro: props.renderRowIntro, businessHourSegs: businessHourSegsByRow[row], eventSelection: props.eventSelection, bgEventSegs: bgEventSegsByRow[row], fgEventSegs: fgEventSegsByRow[row], dateSelectionSegs: dateSelectionSegsByRow[row], eventDrag: eventDragByRow[row], eventResize: eventResizeByRow[row], dayMaxEvents: props.dayMaxEvents, dayMaxEventRows: props.dayMaxEventRows, clientWidth: props.clientWidth, clientHeight: props.clientHeight, cellMinHeight: cellMinHeight, forPrint: props.forPrint })))))));
|
|
13237
13237
|
}
|
|
13238
13238
|
componentDidMount() {
|
|
13239
13239
|
this.registerInteractiveComponent();
|
|
@@ -13302,6 +13302,9 @@ class TableRows extends DateComponent {
|
|
|
13302
13302
|
return { start, end };
|
|
13303
13303
|
}
|
|
13304
13304
|
}
|
|
13305
|
+
function splitAllDaySegsByRow(segs, rowCnt) {
|
|
13306
|
+
return splitSegsByRow(segs.filter(isSegAllDay), rowCnt);
|
|
13307
|
+
}
|
|
13305
13308
|
function isSegAllDay(seg) {
|
|
13306
13309
|
return seg.eventRange.def.allDay;
|
|
13307
13310
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, v as KupCardFamily, ai as getCellValueForDisplay } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, v as KupCardFamily, ai as getCellValueForDisplay } from './kup-manager-7acd779a.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-77f1a451.js';
|
|
5
5
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, i as FCellPadding, aA as KupCellElementsPosition, g as getProps, s as setProps, Y as KupDragEffect, aB as submitPositionAdapter, b as KupLanguageGeneric, aC as KupCellProps } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, i as FCellPadding, aA as KupCellElementsPosition, g as getProps, s as setProps, Y as KupDragEffect, aB as submitPositionAdapter, b as KupLanguageGeneric, aC as KupCellProps } from './kup-manager-7acd779a.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { F as FButton } from './f-button-3c8f4506.js';
|
|
5
|
-
import { F as FCell } from './f-cell-
|
|
5
|
+
import { F as FCell } from './f-cell-eb150cfc.js';
|
|
6
6
|
import './kup-dates-77f1a451.js';
|
|
7
7
|
import './f-button-declarations-6c8f8abe.js';
|
|
8
8
|
import './f-image-a2ecd7c3.js';
|
|
9
9
|
import './f-checkbox-5cdd1cad.js';
|
|
10
|
-
import './f-chip-
|
|
11
|
-
import './f-object-field-
|
|
12
|
-
import './f-text-field-
|
|
10
|
+
import './f-chip-28fde4c9.js';
|
|
11
|
+
import './f-object-field-3bd73466.js';
|
|
12
|
+
import './f-text-field-5b392d9b.js';
|
|
13
13
|
|
|
14
14
|
const kupCellCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{display:block;height:fit-content;width:100%}#kup-component{height:fit-content;width:100%}";
|
|
15
15
|
const KupCellStyle0 = kupCellCss;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
2
|
import { F as FButton } from './f-button-3c8f4506.js';
|
|
3
3
|
import { F as FCheckbox } from './f-checkbox-5cdd1cad.js';
|
|
4
|
-
import { F as FTextField } from './f-text-field-
|
|
4
|
+
import { F as FTextField } from './f-text-field-5b392d9b.js';
|
|
5
5
|
import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
|
|
6
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, aD as KupLanguageDashboard, b as KupLanguageGeneric, Y as KupDragEffect, h as KupDebugCategory } from './kup-manager-
|
|
6
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, aD as KupLanguageDashboard, b as KupLanguageGeneric, Y as KupDragEffect, h as KupDebugCategory } from './kup-manager-7acd779a.js';
|
|
7
7
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
8
8
|
import './f-button-declarations-6c8f8abe.js';
|
|
9
9
|
import './f-image-a2ecd7c3.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as Filters, H as getValueForDisplay, D as getValueForDisplay2, ai as getCellValueForDisplay, x as getColumnByName, z as KupObjects, aj as KupData, ak as compareCell, N as TotalMode, O as getRegExpFromString, F as FCellShapes, al as CMBandACPAdapter, am as RADAdapter, an as CHKAdapter, ao as CHIAdapter, ap as SWTAdapter, a8 as SortMode } from './kup-manager-
|
|
1
|
+
import { E as Filters, H as getValueForDisplay, D as getValueForDisplay2, ai as getCellValueForDisplay, x as getColumnByName, z as KupObjects, aj as KupData, ak as compareCell, N as TotalMode, O as getRegExpFromString, F as FCellShapes, al as CMBandACPAdapter, am as RADAdapter, an as CHKAdapter, ao as CHIAdapter, ap as SWTAdapter, a8 as SortMode } from './kup-manager-7acd779a.js';
|
|
2
2
|
import { K as KupDatesFormats } from './kup-dates-77f1a451.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -1258,8 +1258,8 @@ function decorateDataTable(data) {
|
|
|
1258
1258
|
const options = cell['options'];
|
|
1259
1259
|
cell.isEditable = (_a = cell.isEditable) !== null && _a !== void 0 ? _a : cell['editable'];
|
|
1260
1260
|
const shapeAdapters = {
|
|
1261
|
-
[FCellShapes.AUTOCOMPLETE]: () => CMBandACPAdapter(value, '', options),
|
|
1262
|
-
[FCellShapes.COMBOBOX]: () => CMBandACPAdapter(value, '', options),
|
|
1261
|
+
[FCellShapes.AUTOCOMPLETE]: () => CMBandACPAdapter(value, '', options, cell.data),
|
|
1262
|
+
[FCellShapes.COMBOBOX]: () => CMBandACPAdapter(value, '', options, cell.data),
|
|
1263
1263
|
[FCellShapes.RADIO]: () => RADAdapter(value, options),
|
|
1264
1264
|
[FCellShapes.CHECKBOX]: () => CHKAdapter(value, ''),
|
|
1265
1265
|
[FCellShapes.CHIP]: () => CHIAdapter(value, decode),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-7acd779a.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-77f1a451.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement, g as getAssetPath } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, f as KupThemeColorValues, h as KupDebugCategory, x as getColumnByName, p as KupDataNewColumnTypes } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, f as KupThemeColorValues, h as KupDebugCategory, x as getColumnByName, p as KupDataNewColumnTypes } from './kup-manager-7acd779a.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-77f1a451.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-7acd779a.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './kup-dates-77f1a451.js';
|
|
5
5
|
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host
|
|
|
2
2
|
import { F as FButton } from './f-button-3c8f4506.js';
|
|
3
3
|
import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
4
4
|
import { F as FImage } from './f-image-a2ecd7c3.js';
|
|
5
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric, V as KupPointerEventTypes } from './kup-manager-
|
|
5
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric, V as KupPointerEventTypes } from './kup-manager-7acd779a.js';
|
|
6
6
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
7
7
|
import './kup-dates-77f1a451.js';
|
|
8
8
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupDebugCategory } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupDebugCategory } from './kup-manager-7acd779a.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-77f1a451.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, F as Fragment, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric } from './kup-manager-7acd779a.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-77f1a451.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupDebugCategory } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupDebugCategory } from './kup-manager-7acd779a.js';
|
|
3
3
|
import './kup-dates-77f1a451.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
2
|
import { F as FButton } from './f-button-3c8f4506.js';
|
|
3
|
-
import { F as FCell, e as FLabel } from './f-cell-
|
|
4
|
-
import { F as FCellShapes, k as kupManagerInstance, ad as FCellTypes, g as getProps, s as setProps, b as KupLanguageGeneric, ai as getCellValueForDisplay, a7 as UseAsValue, ao as CHIAdapter, al as CMBandACPAdapter, an as CHKAdapter, am as RADAdapter, ap as SWTAdapter, h as KupDebugCategory, V as KupPointerEventTypes } from './kup-manager-
|
|
3
|
+
import { F as FCell, e as FLabel } from './f-cell-eb150cfc.js';
|
|
4
|
+
import { F as FCellShapes, k as kupManagerInstance, ad as FCellTypes, g as getProps, s as setProps, b as KupLanguageGeneric, ai as getCellValueForDisplay, a7 as UseAsValue, ao as CHIAdapter, al as CMBandACPAdapter, an as CHKAdapter, am as RADAdapter, ap as SWTAdapter, h as KupDebugCategory, V as KupPointerEventTypes } from './kup-manager-7acd779a.js';
|
|
5
5
|
import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
|
|
6
6
|
import { F as FTypography, a as FTypographyType } from './f-typography-8c914ec6.js';
|
|
7
7
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
8
8
|
import './f-button-declarations-6c8f8abe.js';
|
|
9
9
|
import './f-image-a2ecd7c3.js';
|
|
10
10
|
import './f-checkbox-5cdd1cad.js';
|
|
11
|
-
import './f-chip-
|
|
12
|
-
import './f-object-field-
|
|
13
|
-
import './f-text-field-
|
|
11
|
+
import './f-chip-28fde4c9.js';
|
|
12
|
+
import './f-object-field-3bd73466.js';
|
|
13
|
+
import './f-text-field-5b392d9b.js';
|
|
14
14
|
import './kup-dates-77f1a451.js';
|
|
15
15
|
import './component-a35bc7f1.js';
|
|
16
16
|
|
|
@@ -398,7 +398,7 @@ const KupInputPanel = class {
|
|
|
398
398
|
h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_DATA)),
|
|
399
399
|
]
|
|
400
400
|
: this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
|
|
401
|
-
return (h(Host, { key: '
|
|
401
|
+
return (h(Host, { key: 'd3497af969b3043902cd3ce84c1d6ccaf1d136ac', "onKup-cell-blur": (e) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_manageInputPanelCheck).call(this, e, CheckTriggeringEvents.BLUR), "onKup-cell-update": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_onCellUpdate).bind(this), "onKup-tabbar-click": (e) => {
|
|
402
402
|
this.tabSelected = e.detail.node.id;
|
|
403
403
|
}, "onKup-autocomplete-input": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).bind(this), "onKup-autocomplete-iconclick": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).bind(this), "onKup-combobox-iconclick": (e) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).call(this, e, true), "onKup-cell-itemclick": (e) => {
|
|
404
404
|
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_manageInputPanelCheck).call(this, e, CheckTriggeringEvents.ITEMCLICK);
|
|
@@ -408,7 +408,7 @@ const KupInputPanel = class {
|
|
|
408
408
|
this.kupInputPanelObjectFieldOpenSearchMenu.emit(e.detail);
|
|
409
409
|
}, "onKup-objectfield-selectedmenuitem": (e) => {
|
|
410
410
|
this.kupInputPanelObjectFieldSelectedMenuItem.emit(e.detail);
|
|
411
|
-
}, "onKup-file-upload-upload": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_upload).bind(this) }, h("style", { key: '
|
|
411
|
+
}, "onKup-file-upload-upload": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_upload).bind(this) }, h("style", { key: 'aa33dc53216a02e77ed5d0396e90a709f731a0ca' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '9904e3b19f45bce453f964d3f64ea38818f5f132', id: componentWrapperId }, inputPanelContent)));
|
|
412
412
|
}
|
|
413
413
|
disconnectedCallback() {
|
|
414
414
|
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
|
|
@@ -543,6 +543,15 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
543
543
|
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getFunctionOnClickBTN).call(this, e.detail.node, e.detail.node.id);
|
|
544
544
|
} })));
|
|
545
545
|
}, _KupInputPanel_renderDataTable = function _KupInputPanel_renderDataTable(cell, { name }) {
|
|
546
|
+
for (const row of cell.data.data.rows) {
|
|
547
|
+
for (const cellName of Object.keys(row.cells)) {
|
|
548
|
+
const cell = row.cells[cellName];
|
|
549
|
+
if (cell.shape === FCellShapes.AUTOCOMPLETE) {
|
|
550
|
+
cell.data['displayMode'] = 'CodeOnly';
|
|
551
|
+
cell.data['selectMode'] = 'CodeOnly';
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
}
|
|
546
555
|
return (h("kup-data-table", Object.assign({ id: name, editableData: true, showGroups: true, showFilters: true }, cell.data, { "onKup-autocomplete-iconclick": (e) => {
|
|
547
556
|
e.preventDefault();
|
|
548
557
|
e.stopPropagation();
|
|
@@ -982,7 +991,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
982
991
|
}
|
|
983
992
|
return Object.assign({ label: cell.value, fun: cell.fun }, cell.data);
|
|
984
993
|
}, _KupInputPanel_CMBandACPAdapter = function _KupInputPanel_CMBandACPAdapter(rawOptions, fieldLabel, currentValue, cell) {
|
|
985
|
-
const configCMandACP = CMBandACPAdapter(currentValue, fieldLabel, []);
|
|
994
|
+
const configCMandACP = CMBandACPAdapter(currentValue, fieldLabel, [], cell.data);
|
|
986
995
|
if (rawOptions) {
|
|
987
996
|
configCMandACP.data['kup-list'].data =
|
|
988
997
|
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, rawOptions, currentValue);
|
|
@@ -1231,45 +1240,48 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1231
1240
|
this.optionsHandler(cell['fun'], autocompleteEventDetail.inputValue, { columns: comp.data.columns, rows: [row] }, column.name).then((options) => {
|
|
1232
1241
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
1233
1242
|
// Filter visible columns
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
const
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
targetCell.data
|
|
1255
|
-
data
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1243
|
+
if (options) {
|
|
1244
|
+
const visibleColumns = ((_a = options === null || options === void 0 ? void 0 : options.columns) !== null && _a !== void 0 ? _a : [])
|
|
1245
|
+
.filter((col) => (col === null || col === void 0 ? void 0 : col.visible) !== false)
|
|
1246
|
+
.map((col) => col.name);
|
|
1247
|
+
// Filter rows to only include visible columns
|
|
1248
|
+
const filteredRows = (_c = (_b = options === null || options === void 0 ? void 0 : options.rows) === null || _b === void 0 ? void 0 : _b.map((rowData) => {
|
|
1249
|
+
const visibleCells = visibleColumns.reduce((acc, colName) => {
|
|
1250
|
+
if (rowData.cells[colName]) {
|
|
1251
|
+
acc[colName] = rowData.cells[colName];
|
|
1252
|
+
}
|
|
1253
|
+
return acc;
|
|
1254
|
+
}, {});
|
|
1255
|
+
return Object.assign(Object.assign({}, rowData), { cells: visibleCells });
|
|
1256
|
+
})) !== null && _c !== void 0 ? _c : [];
|
|
1257
|
+
// Prepare the final options with filtered data
|
|
1258
|
+
const visibleColumnsOptions = Object.assign(Object.assign({}, options), { rows: filteredRows });
|
|
1259
|
+
// Get and update table data
|
|
1260
|
+
const tableData = comp.data;
|
|
1261
|
+
const targetCell = tableData.rows[row.id].cells[column.name];
|
|
1262
|
+
// Initialize cell data structure if needed
|
|
1263
|
+
if (!((_e = (_d = targetCell.data) === null || _d === void 0 ? void 0 : _d.data) === null || _e === void 0 ? void 0 : _e['kup-list'])) {
|
|
1264
|
+
targetCell.data = {
|
|
1265
|
+
data: {
|
|
1266
|
+
'kup-list': {},
|
|
1267
|
+
'kup-text-field': Object.assign({}, targetCell.data),
|
|
1268
|
+
},
|
|
1269
|
+
};
|
|
1270
|
+
}
|
|
1271
|
+
// Update the autocomplete list data
|
|
1272
|
+
const kupListData = targetCell.data.data['kup-list'];
|
|
1273
|
+
kupListData.data = filteredRows.length
|
|
1274
|
+
? (_f = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, visibleColumnsOptions, cellValue)) !== null && _f !== void 0 ? _f : []
|
|
1275
|
+
: [];
|
|
1276
|
+
kupListData.options = (_g = options.columns) !== null && _g !== void 0 ? _g : [];
|
|
1277
|
+
// Update the component data and refresh
|
|
1278
|
+
comp.data = tableData;
|
|
1279
|
+
this.data.rows[0].cells[id].value =
|
|
1280
|
+
JSON.stringify(tableData);
|
|
1281
|
+
// // Refresh components
|
|
1282
|
+
event.detail.comp.refresh();
|
|
1283
|
+
comp.refresh();
|
|
1260
1284
|
}
|
|
1261
|
-
// Update the autocomplete list data
|
|
1262
|
-
const kupListData = targetCell.data.data['kup-list'];
|
|
1263
|
-
kupListData.data = filteredRows.length
|
|
1264
|
-
? (_f = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, visibleColumnsOptions, cellValue)) !== null && _f !== void 0 ? _f : []
|
|
1265
|
-
: [];
|
|
1266
|
-
kupListData.options = (_g = options.columns) !== null && _g !== void 0 ? _g : [];
|
|
1267
|
-
// Update the component data and refresh
|
|
1268
|
-
comp.data = tableData;
|
|
1269
|
-
this.data.rows[0].cells[id].value = JSON.stringify(tableData);
|
|
1270
|
-
// // Refresh components
|
|
1271
|
-
event.detail.comp.refresh();
|
|
1272
|
-
comp.refresh();
|
|
1273
1285
|
});
|
|
1274
1286
|
}
|
|
1275
1287
|
catch (error) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-7acd779a.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-77f1a451.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric, h as KupDebugCategory, aE as kupDropEvent, W as kupDraggableColumnAttr, aF as kupDraggableRowAttr, _ as KupDropEventTypes, f as KupThemeColorValues } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric, h as KupDebugCategory, aE as kupDropEvent, W as kupDraggableColumnAttr, aF as kupDraggableRowAttr, _ as KupDropEventTypes, f as KupThemeColorValues } from './kup-manager-7acd779a.js';
|
|
3
3
|
import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
4
4
|
import { F as FImage } from './f-image-a2ecd7c3.js';
|
|
5
5
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|