@mtdt/observeops-ds-elements 0.1.26 → 0.1.28

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.
@@ -1080,6 +1080,105 @@
1080
1080
  "hide"
1081
1081
  ]
1082
1082
  },
1083
+ "obs-table": {
1084
+ "element": "ObsTable",
1085
+ "referenceOnly": false,
1086
+ "attributes": [
1087
+ {
1088
+ "prop": "columns",
1089
+ "attribute": "columns",
1090
+ "type": "[String,Array]",
1091
+ "default": "''",
1092
+ "note": "[{key,title,width?,align?,sortable?,type?,cls?}] JSON/array"
1093
+ },
1094
+ {
1095
+ "prop": "rows",
1096
+ "attribute": "rows",
1097
+ "type": "[String,Array]",
1098
+ "default": "''",
1099
+ "note": "[{id, …}] JSON/array"
1100
+ },
1101
+ {
1102
+ "prop": "rowKey",
1103
+ "attribute": "row-key",
1104
+ "type": "String",
1105
+ "default": "'id'"
1106
+ },
1107
+ {
1108
+ "prop": "headerStyle",
1109
+ "attribute": "header-style",
1110
+ "type": "String",
1111
+ "default": "'default'",
1112
+ "note": "default (transparent .k-grid) | tinted (.item-list-table)"
1113
+ },
1114
+ {
1115
+ "prop": "selectable",
1116
+ "attribute": "selectable",
1117
+ "type": "Boolean",
1118
+ "default": "false",
1119
+ "note": "checkbox column + select-all (composes obs-checkbox)"
1120
+ },
1121
+ {
1122
+ "prop": "selected",
1123
+ "attribute": "selected",
1124
+ "type": "[String,Array]",
1125
+ "default": "''",
1126
+ "note": "selected id array; reflects to el.selected (JSON)"
1127
+ },
1128
+ {
1129
+ "prop": "hideSelectionInfo",
1130
+ "attribute": "hide-selection-info",
1131
+ "type": "Boolean",
1132
+ "default": "false",
1133
+ "note": "hide the \"N items selected\" tag"
1134
+ },
1135
+ {
1136
+ "prop": "rowActions",
1137
+ "attribute": "row-actions",
1138
+ "type": "[String,Array]",
1139
+ "default": "''",
1140
+ "note": "[{key,label,icon,danger?}] → a ⋯ actions menu per row"
1141
+ },
1142
+ {
1143
+ "prop": "sortable",
1144
+ "attribute": "sortable",
1145
+ "type": "Boolean",
1146
+ "default": "true"
1147
+ },
1148
+ {
1149
+ "prop": "pageSize",
1150
+ "attribute": "page-size",
1151
+ "type": "Number",
1152
+ "default": "0",
1153
+ "note": "0 → no pagination; product default is 50"
1154
+ },
1155
+ {
1156
+ "prop": "page",
1157
+ "attribute": "page",
1158
+ "type": "Number",
1159
+ "default": "1"
1160
+ },
1161
+ {
1162
+ "prop": "loading",
1163
+ "attribute": "loading",
1164
+ "type": "Boolean",
1165
+ "default": "false"
1166
+ },
1167
+ {
1168
+ "prop": "emptyText",
1169
+ "attribute": "empty-text",
1170
+ "type": "String",
1171
+ "default": "'No records found'"
1172
+ }
1173
+ ],
1174
+ "events": [
1175
+ "change",
1176
+ "sort",
1177
+ "rowaction",
1178
+ "pagechange",
1179
+ "rowclick"
1180
+ ]
1181
+ },
1083
1182
  "obs-layout-appshell": {
1084
1183
  "element": "ObsLayoutAppShell",
1085
1184
  "referenceOnly": true,