@keyueclaw/web-sdk 0.1.4 → 0.1.5

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.
@@ -22099,7 +22099,7 @@ function TA(e, t, n, r) {
22099
22099
  @input=${(e) => r.onUpdateHeader(t, { example: e.target.value })}
22100
22100
  />
22101
22101
  </td>
22102
- <td style="${i}width:32px;">
22102
+ <td style="${i}width:32px;vertical-align:middle;">
22103
22103
  <button
22104
22104
  type="button"
22105
22105
  style="background:none;border:none;padding:4px;cursor:pointer;color:var(--keyueclaw-muted-foreground);display:flex;align-items:center;border-radius:4px;"
@@ -22181,7 +22181,7 @@ function EA(e, t, n, r, i) {
22181
22181
  @input=${(e) => i.onUpdateInputParam(t, { example: e.target.value })}
22182
22182
  />
22183
22183
  </td>
22184
- <td style="${a}width:32px;">
22184
+ <td style="${a}width:32px;vertical-align:middle;">
22185
22185
  <button type="button" style="background:none;border:none;padding:4px;cursor:pointer;color:var(--keyueclaw-muted-foreground);display:flex;align-items:center;border-radius:4px;" title="删除" @click=${() => i.onRemoveInputParam(t)}>${hA}</button>
22186
22186
  </td>
22187
22187
  </tr>
@@ -22253,7 +22253,7 @@ function DA(e, t, n, r, i) {
22253
22253
  @input=${(e) => i.onUpdateOutputParam(t, { example: e.target.value })}
22254
22254
  />
22255
22255
  </td>
22256
- <td style="${a}width:32px;">
22256
+ <td style="${a}width:32px;vertical-align:middle;">
22257
22257
  <button type="button" style="background:none;border:none;padding:4px;cursor:pointer;color:var(--keyueclaw-muted-foreground);display:flex;align-items:center;border-radius:4px;" title="删除" @click=${() => i.onRemoveOutputParam(t)}>${hA}</button>
22258
22258
  </td>
22259
22259
  </tr>
@@ -22357,7 +22357,7 @@ function jA(e) {
22357
22357
  e.target.style.borderColor = "var(--keyueclaw-border-hover)";
22358
22358
  }, o = (e) => {
22359
22359
  e.target.style.borderColor = "var(--keyueclaw-border-strong)";
22360
- }, s = t.url === "" || bA.test(t.url), c = e.saveAttempted, l = c && !t.name.trim() ? "请填写接口名称" : null, u = c && !t.url.trim() ? "请填写请求地址" : s ? null : "请输入合法的 URL(/path 或 https://...)";
22360
+ }, s = t.url === "" || bA.test(t.url), c = e.saveAttempted, l = c && !t.name.trim() ? "请填写接口名称" : null, u = c && !t.url.trim() ? "请填写请求地址" : s ? null : "请输入合法的 URL(/path、http://... 或 https://...)";
22361
22361
  return x`
22362
22362
  <div style="height:100%;overflow:hidden;display:flex;flex-direction:column;">
22363
22363
  <!-- 面包屑 + 操作栏 -->
@@ -22398,7 +22398,7 @@ function jA(e) {
22398
22398
  <label style=${n}>
22399
22399
  <span style=${i}>请求地址<span style="color:var(--keyueclaw-accent);">*</span></span>
22400
22400
  <input class="input" style="${_A}${u ? "border-color:var(--keyueclaw-danger);" : ""}"
22401
- .value=${t.url} placeholder="如:/api/v1/users 或 https://example.com/api"
22401
+ .value=${t.url} placeholder="如:/api/v1/users、http://example.com/api 或 https://example.com/api"
22402
22402
  @focus=${a}
22403
22403
  @blur=${(e) => {
22404
22404
  e.target.style.borderColor = u ? "var(--keyueclaw-danger)" : "var(--keyueclaw-border-strong)";