@xuda.io/ai_module 1.1.3886 → 1.1.3888

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.
Files changed (2) hide show
  1. package/index.mjs +68 -4
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -3132,20 +3132,84 @@ export const update_ai_agent_properties = async function (doc, app_id, uid) {
3132
3132
  dateFormat: { label: "Date Format", type: "string", render: "input", tooltip: "Specify the format for the selected date.", defaultValue: () => "Y-m-d", },
3133
3133
  mode: { label: "Selection Mode", type: "string", render: "select", tooltip: "Choose between single, multiple, or range selection modes.", defaultValue: () => "single", options: [ { label: "Single", value: "single" }, { label: "Multiple", value: "multiple" }, { label: "Range", value: "range" }, ], },
3134
3134
  disable: { label: "Disable Specific Dates", type: "array", tooltip: "Provide an array of dates to disable.", render: "chips", defaultValue: () => [], },
3135
- fullcalendar_header: {
3135
+ fullcalendar_header: {
3136
3136
  label: "Header Toolbar",
3137
3137
  type: "object",
3138
3138
  render: "editor",
3139
3139
  render_params: { language: "json" },
3140
3140
  tooltip:
3141
3141
  "Customize the header toolbar with navigation and view controls.",
3142
- defaultValue: () => `{
3142
+ defaultValue: () => "{
3143
3143
  "left": "prev,next today",
3144
3144
  "center": "title",
3145
3145
  "right": "dayGridMonth,timeGridWeek,timeGridDay"
3146
- }`,
3146
+ }",
3147
3147
  },
3148
-
3148
+ events: {
3149
+ label: "Events",
3150
+ type: "string",
3151
+ render: "events",
3152
+ tooltip: "Listen to any event",
3153
+ options: [
3154
+ {
3155
+ label: "After update",
3156
+ value: "onAfterUpdate",
3157
+ tooltip: "Invoked after the tippy has been updated.",
3158
+ },
3159
+ {
3160
+ label: "Before update",
3161
+ value: "onBeforeUpdate",
3162
+ tooltip: "Invoked just before the tippy is updated.",
3163
+ },
3164
+ {
3165
+ label: "Click outside",
3166
+ value: "onClickOutside",
3167
+ tooltip: "Invoked when a click occurs outside the tippy.",
3168
+ },
3169
+ {
3170
+ label: "Create",
3171
+ value: "onCreate",
3172
+ tooltip: "Invoked when the tippy is first created.",
3173
+ },
3174
+ {
3175
+ label: "Destroy",
3176
+ value: "onDestroy",
3177
+ tooltip: "Invoked when the tippy is destroyed.",
3178
+ },
3179
+ {
3180
+ label: "Hidden",
3181
+ value: "onHidden",
3182
+ tooltip: "Invoked after the tippy has completely hidden.",
3183
+ },
3184
+ {
3185
+ label: "Hide",
3186
+ value: "onHide",
3187
+ tooltip: "Invoked when the tippy begins the hide transition.",
3188
+ },
3189
+ {
3190
+ label: "Mount",
3191
+ value: "onMount",
3192
+ tooltip: "Invoked when the tippy is mounted to the DOM.",
3193
+ },
3194
+ {
3195
+ label: "Show",
3196
+ value: "onShow",
3197
+ tooltip: "Invoked when the tippy begins the show transition.",
3198
+ },
3199
+ {
3200
+ label: "Trigger",
3201
+ value: "onTrigger",
3202
+ tooltip:
3203
+ "Invoked when the tippy is triggered by the event specified in its 'trigger' property.",
3204
+ },
3205
+ {
3206
+ label: "Untrigger",
3207
+ value: "onUntrigger",
3208
+ tooltip:
3209
+ "Invoked when the trigger event is reversed, such as mouseout following mouseover.",
3210
+ },
3211
+ ],
3212
+ },
3149
3213
 
3150
3214
  };
3151
3215
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3886",
3
+ "version": "1.1.3888",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",