@livechat/platform-workflows 0.1.1 → 0.1.2
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/chunk-OHDSKF3P.mjs +193 -0
- package/dist/index.js +341 -203
- package/dist/index.mjs +293 -204
- package/dist/tests.d.mts +49 -0
- package/dist/tests.d.ts +49 -0
- package/dist/tests.js +49 -0
- package/dist/tests.mjs +1 -1
- package/package.json +2 -2
package/dist/tests.d.mts
CHANGED
|
@@ -50,6 +50,55 @@ declare const WORKFLOWS_TEST_SELECTORS: {
|
|
|
50
50
|
element: {
|
|
51
51
|
wrapper: string;
|
|
52
52
|
};
|
|
53
|
+
details: {
|
|
54
|
+
executions: {
|
|
55
|
+
list: {
|
|
56
|
+
row: string;
|
|
57
|
+
status: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
panel: {
|
|
61
|
+
historyTab: string;
|
|
62
|
+
};
|
|
63
|
+
info: {
|
|
64
|
+
dateCreated: string;
|
|
65
|
+
dateUpdated: string;
|
|
66
|
+
completedCycles: string;
|
|
67
|
+
failedCycles: string;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
list: {
|
|
73
|
+
grid: {
|
|
74
|
+
table: {
|
|
75
|
+
wrapper: string;
|
|
76
|
+
body: string;
|
|
77
|
+
menuTrigger: string;
|
|
78
|
+
activateSwitch: string;
|
|
79
|
+
infoButton: string;
|
|
80
|
+
workflowItem: (id: string) => string;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
view: {
|
|
84
|
+
createButton: string;
|
|
85
|
+
emptyInfo: string;
|
|
86
|
+
};
|
|
87
|
+
modals: {
|
|
88
|
+
create: {
|
|
89
|
+
wrapper: string;
|
|
90
|
+
};
|
|
91
|
+
previewTemplate: {
|
|
92
|
+
wrapper: string;
|
|
93
|
+
useButton: string;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
home: {
|
|
97
|
+
cards: {
|
|
98
|
+
template: {
|
|
99
|
+
wrapper: string;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
53
102
|
};
|
|
54
103
|
};
|
|
55
104
|
};
|
package/dist/tests.d.ts
CHANGED
|
@@ -50,6 +50,55 @@ declare const WORKFLOWS_TEST_SELECTORS: {
|
|
|
50
50
|
element: {
|
|
51
51
|
wrapper: string;
|
|
52
52
|
};
|
|
53
|
+
details: {
|
|
54
|
+
executions: {
|
|
55
|
+
list: {
|
|
56
|
+
row: string;
|
|
57
|
+
status: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
panel: {
|
|
61
|
+
historyTab: string;
|
|
62
|
+
};
|
|
63
|
+
info: {
|
|
64
|
+
dateCreated: string;
|
|
65
|
+
dateUpdated: string;
|
|
66
|
+
completedCycles: string;
|
|
67
|
+
failedCycles: string;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
list: {
|
|
73
|
+
grid: {
|
|
74
|
+
table: {
|
|
75
|
+
wrapper: string;
|
|
76
|
+
body: string;
|
|
77
|
+
menuTrigger: string;
|
|
78
|
+
activateSwitch: string;
|
|
79
|
+
infoButton: string;
|
|
80
|
+
workflowItem: (id: string) => string;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
view: {
|
|
84
|
+
createButton: string;
|
|
85
|
+
emptyInfo: string;
|
|
86
|
+
};
|
|
87
|
+
modals: {
|
|
88
|
+
create: {
|
|
89
|
+
wrapper: string;
|
|
90
|
+
};
|
|
91
|
+
previewTemplate: {
|
|
92
|
+
wrapper: string;
|
|
93
|
+
useButton: string;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
home: {
|
|
97
|
+
cards: {
|
|
98
|
+
template: {
|
|
99
|
+
wrapper: string;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
53
102
|
};
|
|
54
103
|
};
|
|
55
104
|
};
|
package/dist/tests.js
CHANGED
|
@@ -77,6 +77,55 @@ var WORKFLOWS_TEST_SELECTORS = {
|
|
|
77
77
|
panels: {
|
|
78
78
|
element: {
|
|
79
79
|
wrapper: "element-wrapper"
|
|
80
|
+
},
|
|
81
|
+
details: {
|
|
82
|
+
executions: {
|
|
83
|
+
list: {
|
|
84
|
+
row: "execution-row",
|
|
85
|
+
status: "execution-status"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
panel: {
|
|
89
|
+
historyTab: "history-tab"
|
|
90
|
+
},
|
|
91
|
+
info: {
|
|
92
|
+
dateCreated: "date-created",
|
|
93
|
+
dateUpdated: "date-updated",
|
|
94
|
+
completedCycles: "completed-cycles",
|
|
95
|
+
failedCycles: "failed-cycles"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
list: {
|
|
101
|
+
grid: {
|
|
102
|
+
table: {
|
|
103
|
+
wrapper: "workflows-table",
|
|
104
|
+
body: "workflows-table-body",
|
|
105
|
+
menuTrigger: "action-menu-trigger",
|
|
106
|
+
activateSwitch: "activate-switch",
|
|
107
|
+
infoButton: "info-btn",
|
|
108
|
+
workflowItem: (id) => `workflow-item-${id}`
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
view: {
|
|
112
|
+
createButton: "create-workflow-btn",
|
|
113
|
+
emptyInfo: "empty-info"
|
|
114
|
+
},
|
|
115
|
+
modals: {
|
|
116
|
+
create: {
|
|
117
|
+
wrapper: "create-workflow-modal"
|
|
118
|
+
},
|
|
119
|
+
previewTemplate: {
|
|
120
|
+
wrapper: "template-preview-modal",
|
|
121
|
+
useButton: "use-template-btn"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
home: {
|
|
125
|
+
cards: {
|
|
126
|
+
template: {
|
|
127
|
+
wrapper: "template-card"
|
|
128
|
+
}
|
|
80
129
|
}
|
|
81
130
|
}
|
|
82
131
|
}
|
package/dist/tests.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livechat/platform-workflows",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Text Platform | Workflows",
|
|
5
5
|
"author": "Wojciech Dudek",
|
|
6
6
|
"license": "MIT",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"esbuild-sass-plugin": "^3.2.0",
|
|
54
54
|
"tsup": "^8.0.0",
|
|
55
55
|
"typescript": "^5.1.6",
|
|
56
|
-
"eslint-config-custom": "0.0.11",
|
|
57
56
|
"tsconfig": "0.0.1",
|
|
57
|
+
"eslint-config-custom": "0.0.11",
|
|
58
58
|
"utils": "0.0.6"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|