460 changed files with 26699 additions and 0 deletions
-
1110.idea/workspace.xml
-
7S/145redis.properties
-
18S/1_kafka.properties
-
18S/2_kafka.properties
-
18S/3_kafka.properties
-
18S/4_kafka.properties
-
18S/5_kafka.properties
-
5S/aadb.properties
-
10S/db.properties
-
10S/elasticsearch_1.properties
-
10S/elasticsearch_2.properties
-
21S/log4j.properties
-
36S/posTag.txt
-
7S/redis.properties
-
1280S/stopWords.txt
-
891S/stopWordsEN.txt
-
29cl_search_api/target/classes/application.yml
-
18cl_search_api/target/classes/log4j.properties
-
32cl_search_api/target/classes/log4j2.properties
-
BINcl_stream_mybatis/target/cl_stream_mybatis-1.4.3.RELEASE.jar
-
BINcl_stream_mybatis/target/cl_stream_mybatis-1.4.3.RELEASE.jar.original
-
278cl_stream_mybatis/target/classes/META-INF/resources/WEB-INF/importdb.jsp
-
54cl_stream_mybatis/target/classes/META-INF/resources/WEB-INF/index.jsp
-
16cl_stream_mybatis/target/classes/META-INF/resources/WEB-INF/uploaderr.jsp
-
BINcl_stream_mybatis/target/classes/META-INF/resources/upload/财报模板 - 副本.xlsx
-
23cl_stream_mybatis/target/classes/application.properties
-
BINcl_stream_mybatis/target/classes/com/bfd/mf/TestmybatisApplication.class
-
BINcl_stream_mybatis/target/classes/com/bfd/mf/common/ExternalConnCache.class
-
BINcl_stream_mybatis/target/classes/com/bfd/mf/common/PageBean.class
-
BINcl_stream_mybatis/target/classes/com/bfd/mf/config/XmlConfiguration.class
-
BINcl_stream_mybatis/target/classes/com/bfd/mf/controller/CompanyController.class
-
BINcl_stream_mybatis/target/classes/com/bfd/mf/entity/FieldInfo.class
-
BINcl_stream_mybatis/target/classes/com/bfd/mf/entity/FieldNormaliz.class
-
BINcl_stream_mybatis/target/classes/com/bfd/mf/entity/Record.class
-
BINcl_stream_mybatis/target/classes/com/bfd/mf/entity/StatInfo.class
-
BINcl_stream_mybatis/target/classes/com/bfd/mf/es/ESHandler.class
-
BINcl_stream_mybatis/target/classes/com/bfd/mf/mapper/FieldNormalizMapper.class
-
BINcl_stream_mybatis/target/classes/com/bfd/mf/mapper/StatMapper.class
-
63cl_stream_mybatis/target/classes/com/bfd/mf/mapper/fieldNormaliz.xml
-
50cl_stream_mybatis/target/classes/com/bfd/mf/mapper/statInfo.xml
-
BINcl_stream_mybatis/target/classes/com/bfd/mf/sendTask/SendTask.class
-
BINcl_stream_mybatis/target/classes/com/bfd/mf/sendTask/impl/SendTaskImpl.class
-
BINcl_stream_mybatis/target/classes/com/bfd/mf/service/FieldNormalizService.class
-
BINcl_stream_mybatis/target/classes/com/bfd/mf/service/MetaSearchService.class
-
BINcl_stream_mybatis/target/classes/com/bfd/mf/service/StatService.class
-
BINcl_stream_mybatis/target/classes/com/bfd/mf/service/impl/FieldNormalizServiceImpl.class
-
BINcl_stream_mybatis/target/classes/com/bfd/mf/service/impl/MetaSearchServiceImpl.class
-
BINcl_stream_mybatis/target/classes/com/bfd/mf/service/impl/StatServiceImpl.class
-
31cl_stream_mybatis/target/classes/com/bfd/mf/spring/applicationContext.xml
-
BINcl_stream_mybatis/target/classes/com/bfd/mf/tools/ConnectionRmi.class
-
4cl_stream_mybatis/target/classes/datasources.properties
-
18cl_stream_mybatis/target/classes/log4j.properties
-
124cl_stream_mybatis/target/classes/static/scripts/AjaxObject.js
-
203cl_stream_mybatis/target/classes/static/scripts/jquery.TableExcel.js
-
19cl_stream_mybatis/target/classes/static/scripts/jquery/jquery-1.3.2.min.js
-
209cl_stream_mybatis/target/classes/static/scripts/jquery/plugins/ajaxfileupload.js
-
49cl_stream_mybatis/target/classes/static/scripts/jquery/ui/effects.blind.js
-
78cl_stream_mybatis/target/classes/static/scripts/jquery/ui/effects.bounce.js
-
54cl_stream_mybatis/target/classes/static/scripts/jquery/ui/effects.clip.js
-
543cl_stream_mybatis/target/classes/static/scripts/jquery/ui/effects.core.js
-
50cl_stream_mybatis/target/classes/static/scripts/jquery/ui/effects.drop.js
-
79cl_stream_mybatis/target/classes/static/scripts/jquery/ui/effects.explode.js
-
56cl_stream_mybatis/target/classes/static/scripts/jquery/ui/effects.fold.js
-
48cl_stream_mybatis/target/classes/static/scripts/jquery/ui/effects.highlight.js
-
56cl_stream_mybatis/target/classes/static/scripts/jquery/ui/effects.pulsate.js
-
180cl_stream_mybatis/target/classes/static/scripts/jquery/ui/effects.scale.js
-
57cl_stream_mybatis/target/classes/static/scripts/jquery/ui/effects.shake.js
-
50cl_stream_mybatis/target/classes/static/scripts/jquery/ui/effects.slide.js
-
45cl_stream_mybatis/target/classes/static/scripts/jquery/ui/effects.transfer.js
-
762cl_stream_mybatis/target/classes/static/scripts/jquery/ui/i18n/jquery-ui-i18n.js
-
20cl_stream_mybatis/target/classes/static/scripts/jquery/ui/i18n/ui.datepicker-ar.js
-
20cl_stream_mybatis/target/classes/static/scripts/jquery/ui/i18n/ui.datepicker-bg.js
-
19cl_stream_mybatis/target/classes/static/scripts/jquery/ui/i18n/ui.datepicker-ca.js
-
19cl_stream_mybatis/target/classes/static/scripts/jquery/ui/i18n/ui.datepicker-cs.js
-
19cl_stream_mybatis/target/classes/static/scripts/jquery/ui/i18n/ui.datepicker-da.js
-
19cl_stream_mybatis/target/classes/static/scripts/jquery/ui/i18n/ui.datepicker-de.js
-
19cl_stream_mybatis/target/classes/static/scripts/jquery/ui/i18n/ui.datepicker-el.js
-
19cl_stream_mybatis/target/classes/static/scripts/jquery/ui/i18n/ui.datepicker-eo.js
-
19cl_stream_mybatis/target/classes/static/scripts/jquery/ui/i18n/ui.datepicker-es.js
-
19cl_stream_mybatis/target/classes/static/scripts/jquery/ui/i18n/ui.datepicker-fa.js
-
19cl_stream_mybatis/target/classes/static/scripts/jquery/ui/i18n/ui.datepicker-fi.js
-
19cl_stream_mybatis/target/classes/static/scripts/jquery/ui/i18n/ui.datepicker-fr.js
-
19cl_stream_mybatis/target/classes/static/scripts/jquery/ui/i18n/ui.datepicker-he.js
-
19cl_stream_mybatis/target/classes/static/scripts/jquery/ui/i18n/ui.datepicker-hr.js
-
19cl_stream_mybatis/target/classes/static/scripts/jquery/ui/i18n/ui.datepicker-hu.js
-
19cl_stream_mybatis/target/classes/static/scripts/jquery/ui/i18n/ui.datepicker-hy.js
-
19cl_stream_mybatis/target/classes/static/scripts/jquery/ui/i18n/ui.datepicker-id.js
-
19cl_stream_mybatis/target/classes/static/scripts/jquery/ui/i18n/ui.datepicker-is.js
-
19cl_stream_mybatis/target/classes/static/scripts/jquery/ui/i18n/ui.datepicker-it.js
-
20cl_stream_mybatis/target/classes/static/scripts/jquery/ui/i18n/ui.datepicker-ja.js
-
19cl_stream_mybatis/target/classes/static/scripts/jquery/ui/i18n/ui.datepicker-ko.js
-
19cl_stream_mybatis/target/classes/static/scripts/jquery/ui/i18n/ui.datepicker-lt.js
-
19cl_stream_mybatis/target/classes/static/scripts/jquery/ui/i18n/ui.datepicker-lv.js
-
19cl_stream_mybatis/target/classes/static/scripts/jquery/ui/i18n/ui.datepicker-ms.js
-
19cl_stream_mybatis/target/classes/static/scripts/jquery/ui/i18n/ui.datepicker-nl.js
-
19cl_stream_mybatis/target/classes/static/scripts/jquery/ui/i18n/ui.datepicker-no.js
-
19cl_stream_mybatis/target/classes/static/scripts/jquery/ui/i18n/ui.datepicker-pl.js
-
19cl_stream_mybatis/target/classes/static/scripts/jquery/ui/i18n/ui.datepicker-pt-BR.js
-
19cl_stream_mybatis/target/classes/static/scripts/jquery/ui/i18n/ui.datepicker-ro.js
-
19cl_stream_mybatis/target/classes/static/scripts/jquery/ui/i18n/ui.datepicker-ru.js
1110
.idea/workspace.xml
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,7 @@ |
|||||
|
#@author ruining.he |
||||
|
#redis.model -> install model {single,codis} |
||||
|
|
||||
|
#if model is codis,use config as below |
||||
|
redis.model=single |
||||
|
redis.ip=172.18.1.145 |
||||
|
redis.port=6379 |
@ -0,0 +1,18 @@ |
|||||
|
#### Kafka Tool Parameters |
||||
|
crawl.kfk.metadata.broker.list=172.18.1.119:9992 |
||||
|
crawl.kfk.connectionTimeOut=50000 |
||||
|
crawl.kfk.zk.sessiontimeout.ms=50000 |
||||
|
crawl.kfk.kafka.serializer=kafka.serializer.StringEncoder |
||||
|
crawl.kfk.producer.acks=all |
||||
|
crawl.kfk.producer.retries=0 |
||||
|
crawl.kfk.producer.batch.size=16384 |
||||
|
crawl.kfk.producer.linger.ms=1 |
||||
|
crawl.kfk.producer.buffer.memory=33554432 |
||||
|
crawl.kfk.producer.max.request.size=10485760 |
||||
|
crawl.kfk.consumer.enable.auto.commit=true |
||||
|
crawl.kfk.consumer.auto.commit.interval.ms=1000 |
||||
|
crawl.kfk.consumer.session.timeout.ms=30000 |
||||
|
crawl.kfk.consumer.auto.offset.reset=earliest |
||||
|
crawl.kfk.consumer.thread.core.pool.size=100 |
||||
|
crawl.kfk.consumer.thread.maximum.pool.size=100 |
||||
|
|
@ -0,0 +1,18 @@ |
|||||
|
#### Kafka Tool Parameters |
||||
|
crawl.kfk.metadata.broker.list=172.18.1.178:9092,172.18.1.181:9092,172.18.1.182:9092 |
||||
|
crawl.kfk.connectionTimeOut=50000 |
||||
|
crawl.kfk.zk.sessiontimeout.ms=50000 |
||||
|
crawl.kfk.kafka.serializer=kafka.serializer.StringEncoder |
||||
|
crawl.kfk.producer.acks=all |
||||
|
crawl.kfk.producer.retries=0 |
||||
|
crawl.kfk.producer.batch.size=16384 |
||||
|
crawl.kfk.producer.linger.ms=1 |
||||
|
crawl.kfk.producer.buffer.memory=33554432 |
||||
|
crawl.kfk.producer.max.request.size=10485760 |
||||
|
crawl.kfk.consumer.enable.auto.commit=true |
||||
|
crawl.kfk.consumer.auto.commit.interval.ms=1000 |
||||
|
crawl.kfk.consumer.session.timeout.ms=30000 |
||||
|
crawl.kfk.consumer.auto.offset.reset=latest |
||||
|
crawl.kfk.consumer.thread.core.pool.size=100 |
||||
|
crawl.kfk.consumer.thread.maximum.pool.size=100 |
||||
|
|
@ -0,0 +1,18 @@ |
|||||
|
#### Kafka Tool Parameters |
||||
|
crawl.kfk.metadata.broker.list=172.18.1.114:9092 |
||||
|
crawl.kfk.connectionTimeOut=50000 |
||||
|
crawl.kfk.zk.sessiontimeout.ms=50000 |
||||
|
crawl.kfk.kafka.serializer=kafka.serializer.StringEncoder |
||||
|
crawl.kfk.producer.acks=all |
||||
|
crawl.kfk.producer.retries=0 |
||||
|
crawl.kfk.producer.batch.size=16384 |
||||
|
crawl.kfk.producer.linger.ms=1 |
||||
|
crawl.kfk.producer.buffer.memory=33554432 |
||||
|
crawl.kfk.producer.max.request.size=10485760 |
||||
|
crawl.kfk.consumer.enable.auto.commit=true |
||||
|
crawl.kfk.consumer.auto.commit.interval.ms=1000 |
||||
|
crawl.kfk.consumer.session.timeout.ms=30000 |
||||
|
crawl.kfk.consumer.auto.offset.reset=earliest |
||||
|
crawl.kfk.consumer.thread.core.pool.size=100 |
||||
|
crawl.kfk.consumer.thread.maximum.pool.size=100 |
||||
|
|
@ -0,0 +1,18 @@ |
|||||
|
#### Kafka Tool Parameters |
||||
|
crawl.kfk.metadata.broker.list=50.19.49.16:9092 |
||||
|
crawl.kfk.connectionTimeOut=50000 |
||||
|
crawl.kfk.zk.sessiontimeout.ms=50000 |
||||
|
crawl.kfk.kafka.serializer=kafka.serializer.StringEncoder |
||||
|
crawl.kfk.producer.acks=all |
||||
|
crawl.kfk.producer.retries=0 |
||||
|
crawl.kfk.producer.batch.size=16384 |
||||
|
crawl.kfk.producer.linger.ms=1 |
||||
|
crawl.kfk.producer.buffer.memory=33554432 |
||||
|
crawl.kfk.producer.max.request.size=10485760 |
||||
|
crawl.kfk.consumer.enable.auto.commit=true |
||||
|
crawl.kfk.consumer.auto.commit.interval.ms=1000 |
||||
|
crawl.kfk.consumer.session.timeout.ms=30000 |
||||
|
crawl.kfk.consumer.auto.offset.reset=earliest |
||||
|
crawl.kfk.consumer.thread.core.pool.size=100 |
||||
|
crawl.kfk.consumer.thread.maximum.pool.size=100 |
||||
|
|
@ -0,0 +1,18 @@ |
|||||
|
#### Kafka Tool Parameters |
||||
|
crawl.kfk.metadata.broker.list=172.18.1.113:9092 |
||||
|
crawl.kfk.connectionTimeOut=50000 |
||||
|
crawl.kfk.zk.sessiontimeout.ms=50000 |
||||
|
crawl.kfk.kafka.serializer=kafka.serializer.StringEncoder |
||||
|
crawl.kfk.producer.acks=all |
||||
|
crawl.kfk.producer.retries=0 |
||||
|
crawl.kfk.producer.batch.size=16384 |
||||
|
crawl.kfk.producer.linger.ms=1 |
||||
|
crawl.kfk.producer.buffer.memory=33554432 |
||||
|
crawl.kfk.producer.max.request.size=10485760 |
||||
|
crawl.kfk.consumer.enable.auto.commit=true |
||||
|
crawl.kfk.consumer.auto.commit.interval.ms=1000 |
||||
|
crawl.kfk.consumer.session.timeout.ms=30000 |
||||
|
crawl.kfk.consumer.auto.offset.reset=earliest |
||||
|
crawl.kfk.consumer.thread.core.pool.size=100 |
||||
|
crawl.kfk.consumer.thread.maximum.pool.size=100 |
||||
|
|
@ -0,0 +1,5 @@ |
|||||
|
logfile=DBConnectManager.log |
||||
|
db_stat_alltask.maxconn=100 |
||||
|
db_stat_alltask.url=jdbc:mysql://172.18.1.134:3306/all_task?useUnicode=true&characterEncoding=utf-8 |
||||
|
db_stat_alltask.user=root |
||||
|
db_stat_alltask.password=Bfd123!@# |
@ -0,0 +1,10 @@ |
|||||
|
logfile=DBConnectManager.log |
||||
|
drivers=com.mysql.jdbc.Driver |
||||
|
db_stat.maxconn=100 |
||||
|
db_stat.url=jdbc:mysql://172.18.1.101:3306/intelligent_crawl?useUnicode=true&characterEncoding=utf-8 |
||||
|
db_stat.user=crawl |
||||
|
db_stat.password=crawl123 |
||||
|
db_stat_alltask.maxconn=100 |
||||
|
db_stat_alltask.url=jdbc:mysql://172.18.1.101:3306/all_task?useUnicode=true&characterEncoding=utf-8 |
||||
|
db_stat_alltask.user=crawl |
||||
|
db_stat_alltask.password=crawl123= |
@ -0,0 +1,10 @@ |
|||||
|
crawl.elasticsearch.metadata.broker.list=172.26.11.111:9201 |
||||
|
crawl.elasticsearch.socket.timeout.interval.ms=5000 |
||||
|
crawl.elasticsearch.connect.timeout.ms=1000 |
||||
|
crawl.elasticsearch.max.connect.num=100 |
||||
|
crawl.elasticsearch.max.connect.per.route.num=100 |
||||
|
crawl.elasticsearch.max.retry.timeout=300000 |
||||
|
crawl.elasticsearch.producer.max.cache.num=2000 |
||||
|
crawl.elasticsearch.producer.max.write.time=120000 |
||||
|
crawl.elasticsearch.consumer.quary.num=2000 |
||||
|
crawl.elasticsearch.consumer.scroll.time=3 |
@ -0,0 +1,10 @@ |
|||||
|
crawl.elasticsearch.metadata.broker.list=172.26.11.109:9201 |
||||
|
crawl.elasticsearch.socket.timeout.interval.ms=60000 |
||||
|
crawl.elasticsearch.connect.timeout.ms=50000 |
||||
|
crawl.elasticsearch.max.connect.num=100 |
||||
|
crawl.elasticsearch.max.connect.per.route.num=100 |
||||
|
crawl.elasticsearch.max.retry.timeout=300000 |
||||
|
crawl.elasticsearch.producer.max.cache.num=1000 |
||||
|
crawl.elasticsearch.producer.max.write.time=100000 |
||||
|
crawl.elasticsearch.consumer.quary.num=1000 |
||||
|
crawl.elasticsearch.consumer.scroll.time=3 |
@ -0,0 +1,21 @@ |
|||||
|
log4j.rootLogger=debug |
||||
|
|
||||
|
log4j.logger.com.bfd.mf.service = DEBUG,SERVICE |
||||
|
log4j.logger.com.bfd.mf.datasave = DEBUG,DATASAVE |
||||
|
#service log |
||||
|
log4j.appender.SERVICE=org.apache.log4j.DailyRollingFileAppender |
||||
|
log4j.appender.SERVICE.Threshold=DEBUG |
||||
|
log4j.appender.SERVICE.File=../logs/service/service.log |
||||
|
log4j.appender.SERVICE.DatePattern='.'yyyy-MM-dd |
||||
|
log4j.appender.SERVICE.layout=org.apache.log4j.PatternLayout |
||||
|
log4j.appender.SERVICE.layout.ConversionPattern=%d{ISO8601} %-5p %c{2} (%L) - %m%n |
||||
|
|
||||
|
log4j.logger.com.bfd.mf.datasave = DEBUG,DATASAVE |
||||
|
#datasave log |
||||
|
log4j.appender.DATASAVE=org.apache.log4j.DailyRollingFileAppender |
||||
|
log4j.appender.DATASAVE.Threshold=DEBUG |
||||
|
log4j.appender.DATASAVE.File=../logs/datasave/datasave.log |
||||
|
log4j.appender.DATASAVE.DatePattern='.'yyyy-MM-dd |
||||
|
log4j.appender.DATASAVE.layout=org.apache.log4j.PatternLayout |
||||
|
log4j.appender.DATASAVE.layout.ConversionPattern=%d{ISO8601} %-5p %c{2} (%L) - %m%n |
||||
|
|
@ -0,0 +1,36 @@ |
|||||
|
u |
||||
|
ud |
||||
|
ude1 |
||||
|
ude2 |
||||
|
ude3 |
||||
|
udeng |
||||
|
udh |
||||
|
ug |
||||
|
uguo |
||||
|
uj |
||||
|
ul |
||||
|
ule |
||||
|
ulian |
||||
|
uls |
||||
|
usuo |
||||
|
uv |
||||
|
uyy |
||||
|
uz |
||||
|
uzhe |
||||
|
uzhi |
||||
|
w |
||||
|
wb |
||||
|
wd |
||||
|
wf |
||||
|
wh |
||||
|
wj |
||||
|
wky |
||||
|
wkz |
||||
|
wm |
||||
|
wn |
||||
|
wp |
||||
|
ws |
||||
|
wt |
||||
|
ww |
||||
|
wyy |
||||
|
wyz |
@ -0,0 +1,7 @@ |
|||||
|
#@author ruining.he |
||||
|
#redis.model -> install model {single,codis} |
||||
|
|
||||
|
#if model is codis,use config as below |
||||
|
redis.model=single |
||||
|
redis.ip=172.18.1.152 |
||||
|
redis.port=6379 |
1280
S/stopWords.txt
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,891 @@ |
|||||
|
'd |
||||
|
'll |
||||
|
'm |
||||
|
're |
||||
|
's |
||||
|
't |
||||
|
've |
||||
|
ZT |
||||
|
ZZ |
||||
|
a |
||||
|
a's |
||||
|
able |
||||
|
about |
||||
|
above |
||||
|
abst |
||||
|
accordance |
||||
|
according |
||||
|
accordingly |
||||
|
across |
||||
|
act |
||||
|
actually |
||||
|
added |
||||
|
adj |
||||
|
adopted |
||||
|
affected |
||||
|
affecting |
||||
|
affects |
||||
|
after |
||||
|
afterwards |
||||
|
again |
||||
|
against |
||||
|
ah |
||||
|
ain't |
||||
|
all |
||||
|
allow |
||||
|
allows |
||||
|
almost |
||||
|
alone |
||||
|
along |
||||
|
already |
||||
|
also |
||||
|
although |
||||
|
always |
||||
|
am |
||||
|
among |
||||
|
amongst |
||||
|
an |
||||
|
and |
||||
|
announce |
||||
|
another |
||||
|
any |
||||
|
anybody |
||||
|
anyhow |
||||
|
anymore |
||||
|
anyone |
||||
|
anything |
||||
|
anyway |
||||
|
anyways |
||||
|
anywhere |
||||
|
apart |
||||
|
apparently |
||||
|
appear |
||||
|
appreciate |
||||
|
appropriate |
||||
|
approximately |
||||
|
are |
||||
|
area |
||||
|
areas |
||||
|
aren |
||||
|
aren't |
||||
|
arent |
||||
|
arise |
||||
|
around |
||||
|
as |
||||
|
aside |
||||
|
ask |
||||
|
asked |
||||
|
asking |
||||
|
asks |
||||
|
associated |
||||
|
at |
||||
|
auth |
||||
|
available |
||||
|
away |
||||
|
awfully |
||||
|
b |
||||
|
back |
||||
|
backed |
||||
|
backing |
||||
|
backs |
||||
|
be |
||||
|
became |
||||
|
because |
||||
|
become |
||||
|
becomes |
||||
|
becoming |
||||
|
been |
||||
|
before |
||||
|
beforehand |
||||
|
began |
||||
|
begin |
||||
|
beginning |
||||
|
beginnings |
||||
|
begins |
||||
|
behind |
||||
|
being |
||||
|
beings |
||||
|
believe |
||||
|
below |
||||
|
beside |
||||
|
besides |
||||
|
best |
||||
|
better |
||||
|
between |
||||
|
beyond |
||||
|
big |
||||
|
biol |
||||
|
both |
||||
|
brief |
||||
|
briefly |
||||
|
but |
||||
|
by |
||||
|
c |
||||
|
c'mon |
||||
|
c's |
||||
|
ca |
||||
|
came |
||||
|
can |
||||
|
can't |
||||
|
cannot |
||||
|
cant |
||||
|
case |
||||
|
cases |
||||
|
cause |
||||
|
causes |
||||
|
certain |
||||
|
certainly |
||||
|
changes |
||||
|
clear |
||||
|
clearly |
||||
|
co |
||||
|
com |
||||
|
come |
||||
|
comes |
||||
|
concerning |
||||
|
consequently |
||||
|
consider |
||||
|
considering |
||||
|
contain |
||||
|
containing |
||||
|
contains |
||||
|
corresponding |
||||
|
could |
||||
|
couldn't |
||||
|
couldnt |
||||
|
course |
||||
|
currently |
||||
|
d |
||||
|
date |
||||
|
definitely |
||||
|
describe |
||||
|
described |
||||
|
despite |
||||
|
did |
||||
|
didn't |
||||
|
differ |
||||
|
different |
||||
|
differently |
||||
|
discuss |
||||
|
do |
||||
|
does |
||||
|
doesn't |
||||
|
doing |
||||
|
don't |
||||
|
done |
||||
|
down |
||||
|
downed |
||||
|
downing |
||||
|
downs |
||||
|
downwards |
||||
|
due |
||||
|
during |
||||
|
e |
||||
|
each |
||||
|
early |
||||
|
ed |
||||
|
edu |
||||
|
effect |
||||
|
eg |
||||
|
eight |
||||
|
eighty |
||||
|
either |
||||
|
else |
||||
|
elsewhere |
||||
|
end |
||||
|
ended |
||||
|
ending |
||||
|
ends |
||||
|
enough |
||||
|
entirely |
||||
|
especially |
||||
|
et |
||||
|
et-al |
||||
|
etc |
||||
|
even |
||||
|
evenly |
||||
|
ever |
||||
|
every |
||||
|
everybody |
||||
|
everyone |
||||
|
everything |
||||
|
everywhere |
||||
|
ex |
||||
|
exactly |
||||
|
example |
||||
|
except |
||||
|
f |
||||
|
face |
||||
|
faces |
||||
|
fact |
||||
|
facts |
||||
|
far |
||||
|
felt |
||||
|
few |
||||
|
ff |
||||
|
fifth |
||||
|
find |
||||
|
finds |
||||
|
first |
||||
|
five |
||||
|
fix |
||||
|
followed |
||||
|
following |
||||
|
follows |
||||
|
for |
||||
|
former |
||||
|
formerly |
||||
|
forth |
||||
|
found |
||||
|
four |
||||
|
from |
||||
|
full |
||||
|
fully |
||||
|
further |
||||
|
furthered |
||||
|
furthering |
||||
|
furthermore |
||||
|
furthers |
||||
|
g |
||||
|
gave |
||||
|
general |
||||
|
generally |
||||
|
get |
||||
|
gets |
||||
|
getting |
||||
|
give |
||||
|
given |
||||
|
gives |
||||
|
giving |
||||
|
go |
||||
|
goes |
||||
|
going |
||||
|
gone |
||||
|
good |
||||
|
goods |
||||
|
got |
||||
|
gotten |
||||
|
great |
||||
|
greater |
||||
|
greatest |
||||
|
greetings |
||||
|
group |
||||
|
grouped |
||||
|
grouping |
||||
|
groups |
||||
|
h |
||||
|
had |
||||
|
hadn't |
||||
|
happens |
||||
|
hardly |
||||
|
has |
||||
|
hasn't |
||||
|
have |
||||
|
haven't |
||||
|
having |
||||
|
he |
||||
|
he's |
||||
|
hed |
||||
|
hello |
||||
|
help |
||||
|
hence |
||||
|
her |
||||
|
here |
||||
|
here's |
||||
|
hereafter |
||||
|
hereby |
||||
|
herein |
||||
|
heres |
||||
|
hereupon |
||||
|
hers |
||||
|
herself |
||||
|
hes |
||||
|
hi |
||||
|
hid |
||||
|
high |
||||
|
higher |
||||
|
highest |
||||
|
him |
||||
|
himself |
||||
|
his |
||||
|
hither |
||||
|
home |
||||
|
hopefully |
||||
|
how |
||||
|
howbeit |
||||
|
however |
||||
|
hundred |
||||
|
i |
||||
|
i'd |
||||
|
i'll |
||||
|
i'm |
||||
|
i've |
||||
|
id |
||||
|
ie |
||||
|
if |
||||
|
ignored |
||||
|
im |
||||
|
immediate |
||||
|
immediately |
||||
|
importance |
||||
|
important |
||||
|
in |
||||
|
inasmuch |
||||
|
inc |
||||
|
include |
||||
|
indeed |
||||
|
index |
||||
|
indicate |
||||
|
indicated |
||||
|
indicates |
||||
|
information |
||||
|
inner |
||||
|
insofar |
||||
|
instead |
||||
|
interest |
||||
|
interested |
||||
|
interesting |
||||
|
interests |
||||
|
into |
||||
|
invention |
||||
|
inward |
||||
|
is |
||||
|
isn't |
||||
|
it |
||||
|
it'd |
||||
|
it'll |
||||
|
it's |
||||
|
itd |
||||
|
its |
||||
|
itself |
||||
|
j |
||||
|
just |
||||
|
k |
||||
|
keep |
||||
|
keeps |
||||
|
kept |
||||
|
keys |
||||
|
kg |
||||
|
kind |
||||
|
km |
||||
|
knew |
||||
|
know |
||||
|
known |
||||
|
knows |
||||
|
l |
||||
|
large |
||||
|
largely |
||||
|
last |
||||
|
lately |
||||
|
later |
||||
|
latest |
||||
|
latter |
||||
|
latterly |
||||
|
least |
||||
|
less |
||||
|
lest |
||||
|
let |
||||
|
let's |
||||
|
lets |
||||
|
like |
||||
|
liked |
||||
|
likely |
||||
|
line |
||||
|
little |
||||
|
long |
||||
|
longer |
||||
|
longest |
||||
|
look |
||||
|
looking |
||||
|
looks |
||||
|
ltd |
||||
|
m |
||||
|
made |
||||
|
mainly |
||||
|
make |
||||
|
makes |
||||
|
making |
||||
|
man |
||||
|
many |
||||
|
may |
||||
|
maybe |
||||
|
me |
||||
|
mean |
||||
|
means |
||||
|
meantime |
||||
|
meanwhile |
||||
|
member |
||||
|
members |
||||
|
men |
||||
|
merely |
||||
|
mg |
||||
|
might |
||||
|
million |
||||
|
miss |
||||
|
ml |
||||
|
more |
||||
|
moreover |
||||
|
most |
||||
|
mostly |
||||
|
mr |
||||
|
mrs |
||||
|
much |
||||
|
mug |
||||
|
must |
||||
|
my |
||||
|
myself |
||||
|
n |
||||
|
n't |
||||
|
na |
||||
|
name |
||||
|
namely |
||||
|
nay |
||||
|
nd |
||||
|
near |
||||
|
nearly |
||||
|
necessarily |
||||
|
necessary |
||||
|
need |
||||
|
needed |
||||
|
needing |
||||
|
needs |
||||
|
neither |
||||
|
never |
||||
|
nevertheless |
||||
|
new |
||||
|
newer |
||||
|
newest |
||||
|
next |
||||
|
nine |
||||
|
ninety |
||||
|
no |
||||
|
nobody |
||||
|
non |
||||
|
none |
||||
|
nonetheless |
||||
|
noone |
||||
|
nor |
||||
|
normally |
||||
|
nos |
||||
|
not |
||||
|
noted |
||||
|
nothing |
||||
|
novel |
||||
|
now |
||||
|
nowhere |
||||
|
number |
||||
|
numbers |
||||
|
o |
||||
|
obtain |
||||
|
obtained |
||||
|
obviously |
||||
|
of |
||||
|
off |
||||
|
often |
||||
|
oh |
||||
|
ok |
||||
|
okay |
||||
|
old |
||||
|
older |
||||
|
oldest |
||||
|
omitted |
||||
|
on |
||||
|
once |
||||
|
one |
||||
|
ones |
||||
|
only |
||||
|
onto |
||||
|
open |
||||
|
opened |
||||
|
opening |
||||
|
opens |
||||
|
or |
||||
|
ord |
||||
|
order |
||||
|
ordered |
||||
|
ordering |
||||
|
orders |
||||
|
other |
||||
|
others |
||||
|
otherwise |
||||
|
ought |
||||
|
our |
||||
|
ours |
||||
|
ourselves |
||||
|
out |
||||
|
outside |
||||
|
over |
||||
|
overall |
||||
|
owing |
||||
|
own |
||||
|
p |
||||
|
page |
||||
|
pages |
||||
|
part |
||||
|
parted |
||||
|
particular |
||||
|
particularly |
||||
|
parting |
||||
|
parts |
||||
|
past |
||||
|
per |
||||
|
perhaps |
||||
|
place |
||||
|
placed |
||||
|
places |
||||
|
please |
||||
|
plus |
||||
|
point |
||||
|
pointed |
||||
|
pointing |
||||
|
points |
||||
|
poorly |
||||
|
possible |
||||
|
possibly |
||||
|
potentially |
||||
|
pp |
||||
|
predominantly |
||||
|
present |
||||
|
presented |
||||
|
presenting |
||||
|
presents |
||||
|
presumably |
||||
|
previously |
||||
|
primarily |
||||
|
probably |
||||
|
problem |
||||
|
problems |
||||
|
promptly |
||||
|
proud |
||||
|
provides |
||||
|
put |
||||
|
puts |
||||
|
q |
||||
|
que |
||||
|
quickly |
||||
|
quite |
||||
|
qv |
||||
|
r |
||||
|
ran |
||||
|
rather |
||||
|
rd |
||||
|
re |
||||
|
readily |
||||
|
really |
||||
|
reasonably |
||||
|
recent |
||||
|
recently |
||||
|
ref |
||||
|
refs |
||||
|
regarding |
||||
|
regardless |
||||
|
regards |
||||
|
related |
||||
|
relatively |
||||
|
research |
||||
|
respectively |
||||
|
resulted |
||||
|
resulting |
||||
|
results |
||||
|
right |
||||
|
room |
||||
|
rooms |
||||
|
run |
||||
|
s |
||||
|
said |
||||
|
same |
||||
|
saw |
||||
|
say |
||||
|
saying |
||||
|
says |
||||
|
sec |
||||
|
second |
||||
|
secondly |
||||
|
seconds |
||||
|
section |
||||
|
see |
||||
|
seeing |
||||
|
seem |
||||
|
seemed |
||||
|
seeming |
||||
|
seems |
||||
|
seen |
||||
|
sees |
||||
|
self |
||||
|
selves |
||||
|
sensible |
||||
|
sent |
||||
|
serious |
||||
|
seriously |
||||
|
seven |
||||
|
several |
||||
|
shall |
||||
|
she |
||||
|
she'll |
||||
|
shed |
||||
|
shes |
||||
|
should |
||||
|
shouldn't |
||||
|
show |
||||
|
showed |
||||
|
showing |
||||
|
shown |
||||
|
showns |
||||
|
shows |
||||
|
side |
||||
|
sides |
||||
|
significant |
||||
|
significantly |
||||
|
similar |
||||
|
similarly |
||||
|
since |
||||
|
six |
||||
|
slightly |
||||
|
small |
||||
|
smaller |
||||
|
smallest |
||||
|
so |
||||
|
some |
||||
|
somebody |
||||
|
somehow |
||||
|
someone |
||||
|
somethan |
||||
|
something |
||||
|
sometime |
||||
|
sometimes |
||||
|
somewhat |
||||
|
somewhere |
||||
|
soon |
||||
|
sorry |
||||
|
specifically |
||||
|
specified |
||||
|
specify |
||||
|
specifying |
||||
|
state |
||||
|
states |
||||
|
still |
||||
|
stop |
||||
|
strongly |
||||
|
sub |
||||
|
substantially |
||||
|
successfully |
||||
|
such |
||||
|
sufficiently |
||||
|
suggest |
||||
|
sup |
||||
|
sure |
||||
|
t |
||||
|
t's |
||||
|
take |
||||
|
taken |
||||
|
taking |
||||
|
tell |
||||
|
tends |
||||
|
th |
||||
|
than |
||||
|
thank |
||||
|
thanks |
||||
|
thanx |
||||
|
that |
||||
|
that'll |
||||
|
that's |
||||
|
that've |
||||
|
thats |
||||
|
the |
||||
|
their |
||||
|
theirs |
||||
|
them |
||||
|
themselves |
||||
|
then |
||||
|
thence |
||||
|
there |
||||
|
there'll |
||||
|
there's |
||||
|
there've |
||||
|
thereafter |
||||
|
thereby |
||||
|
thered |
||||
|
therefore |
||||
|
therein |
||||
|
thereof |
||||
|
therere |
||||
|
theres |
||||
|
thereto |
||||
|
thereupon |
||||
|
these |
||||
|
they |
||||
|
they'd |
||||
|
they'll |
||||
|
they're |
||||
|
they've |
||||
|
theyd |
||||
|
theyre |
||||
|
thing |
||||
|
things |
||||
|
think |
||||
|
thinks |
||||
|
third |
||||
|
this |
||||
|
thorough |
||||
|
thoroughly |
||||
|
those |
||||
|
thou |
||||
|
though |
||||
|
thoughh |
||||
|
thought |
||||
|
thoughts |
||||
|
thousand |
||||
|
three |
||||
|
throug |
||||
|
through |
||||
|
throughout |
||||
|
thru |
||||
|
thus |
||||
|
til |
||||
|
tip |
||||
|
to |
||||
|
today |
||||
|
together |
||||
|
too |
||||
|
took |
||||
|
toward |
||||
|
towards |
||||
|
tried |
||||
|
tries |
||||
|
truly |
||||
|
try |
||||
|
trying |
||||
|
ts |
||||
|
turn |
||||
|
turned |
||||
|
turning |
||||
|
turns |
||||
|
twice |
||||
|
two |
||||
|
u |
||||
|
un |
||||
|
under |
||||
|
unfortunately |
||||
|
unless |
||||
|
unlike |
||||
|
unlikely |
||||
|
until |
||||
|
unto |
||||
|
up |
||||
|
upon |
||||
|
ups |
||||
|
us |
||||
|
use |
||||
|
used |
||||
|
useful |
||||
|
usefully |
||||
|
usefulness |
||||
|
uses |
||||
|
using |
||||
|
usually |
||||
|
uucp |
||||
|
v |
||||
|
value |
||||
|
various |
||||
|
very |
||||
|
via |
||||
|
viz |
||||
|
vol |
||||
|
vols |
||||
|
vs |
||||
|
w |
||||
|
want |
||||
|
wanted |
||||
|
wanting |
||||
|
wants |
||||
|
was |
||||
|
wasn't |
||||
|
way |
||||
|
ways |
||||
|
we |
||||
|
we'd |
||||
|
we'll |
||||
|
we're |
||||
|
we've |
||||
|
wed |
||||
|
welcome |
||||
|
well |
||||
|
wells |
||||
|
went |
||||
|
were |
||||
|
weren't |
||||
|
what |
||||
|
what'll |
||||
|
what's |
||||
|
whatever |
||||
|
whats |
||||
|
when |
||||
|
whence |
||||
|
whenever |
||||
|
where |
||||
|
where's |
||||
|
whereafter |
||||
|
whereas |
||||
|
whereby |
||||
|
wherein |
||||
|
wheres |
||||
|
whereupon |
||||
|
wherever |
||||
|
whether |
||||
|
which |
||||
|
while |
||||
|
whim |
||||
|
whither |
||||
|
who |
||||
|
who'll |
||||
|
who's |
||||
|
whod |
||||
|
whoever |
||||
|
whole |
||||
|
whom |
||||
|
whomever |
||||
|
whos |
||||
|
whose |
||||
|
why |
||||
|
widely |
||||
|
will |
||||
|
willing |
||||
|
wish |
||||
|
with |
||||
|
within |
||||
|
without |
||||
|
won't |
||||
|
wonder |
||||
|
words |
||||
|
work |
||||
|
worked |
||||
|
working |
||||
|
works |
||||
|
world |
||||
|
would |
||||
|
wouldn't |
||||
|
www |
||||
|
x |
||||
|
y |
||||
|
year |
||||
|
years |
||||
|
yes |
||||
|
yet |
||||
|
you |
||||
|
you'd |
||||
|
you'll |
||||
|
you're |
||||
|
you've |
||||
|
youd |
||||
|
young |
||||
|
younger |
||||
|
youngest |
||||
|
your |
||||
|
youre |
||||
|
yours |
||||
|
yourself |
||||
|
yourselves |
||||
|
z |
||||
|
zero |
||||
|
zt |
||||
|
zz |
@ -0,0 +1,29 @@ |
|||||
|
server: |
||||
|
port: 18909 |
||||
|
tomcat: |
||||
|
uri-encoding: UTF-8 |
||||
|
max-threads: 800 |
||||
|
maxHttpHeaderSize: 655360 |
||||
|
http2: |
||||
|
enabled: true |
||||
|
|
||||
|
spring: |
||||
|
datasource: |
||||
|
driver-class-name: com.mysql.jdbc.Driver |
||||
|
username: root |
||||
|
password: bfd123 |
||||
|
url: jdbc:mysql://172.26.11.113:3306/bfd_sq_data?useOldAliasMetadataBehavior=true&characterEncoding=UTF-8&zeroDateTimeBehavior=round |
||||
|
hikari: |
||||
|
maximum-pool-size: 10 |
||||
|
minimum-idle: 1 |
||||
|
jpa: |
||||
|
open-in-view: false |
||||
|
database: mysql |
||||
|
|
||||
|
|
||||
|
####### |
||||
|
bfd.api.mf: |
||||
|
textPostUrl: http://rule.sq.baifendian.com/nerplace |
||||
|
emotionPostUrl : http://172.18.1.166:15038/bertsentiment |
||||
|
wordCloudPostUrl : http://rule.sq.baifendian.com/wordcloud |
||||
|
|
@ -0,0 +1,18 @@ |
|||||
|
log4j.rootLogger=INFO, error |
||||
|
|
||||
|
###### error appender definition ####### |
||||
|
log4j.appender.error=org.apache.log4j.DailyRollingFileAppender |
||||
|
log4j.appender.error.File=logs/sdkclient_error.log |
||||
|
log4j.appender.error.Append=true |
||||
|
log4j.appender.error.DatePattern='.'yyyy-MM-dd-HH |
||||
|
log4j.appender.error.layout=org.apache.log4j.PatternLayout |
||||
|
log4j.appender.error.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p [%c] %m%n |
||||
|
|
||||
|
#error only |
||||
|
log4j.appender.error.filter.F1=org.apache.log4j.varia.LevelRangeFilter |
||||
|
log4j.appender.error.filter.F1.LevelMin=ERROR |
||||
|
log4j.appender.error.filter.F1.LevelMax=ERROR |
||||
|
# |
||||
|
log4j.appender.error.filter.F2=org.apache.log4j.varia.LevelMatchFilter |
||||
|
log4j.appender.error.filter.F2.levelToMatch=WARN |
||||
|
log4j.appender.error.filter.F2.acceptOnMatch=false |
@ -0,0 +1,32 @@ |
|||||
|
#### ����### |
||||
|
#log4j.rootLogger = stdout,D,E,I |
||||
|
# |
||||
|
#### �����Ϣ������̧ ### |
||||
|
#log4j.appender.stdout = org.apache.log4j.ConsoleAppender |
||||
|
#log4j.appender.stdout.Target = System.out |
||||
|
#log4j.appender.stdout.layout = org.apache.log4j.PatternLayout |
||||
|
#log4j.appender.stdout.layout.ConversionPattern = [%-5p] %d{yyyy-MM-dd HH:mm:ss,SSS} method:%l%n%m%n |
||||
|
# |
||||
|
#### ���INFO �������ϵ���־�ļ����� ### |
||||
|
#log4j.appender.I = org.apache.log4j.DailyRollingFileAppender |
||||
|
#log4j.appender.I.File = log_info.log |
||||
|
#log4j.appender.I.Append = true |
||||
|
#log4j.appender.I.Threshold = INFO |
||||
|
#log4j.appender.I.layout = org.apache.log4j.PatternLayout |
||||
|
#log4j.appender.I.layout.ConversionPattern = %-d{yyyy-MM-dd HH:mm:ss} [ %t:%r ] - [ %p ] %m%n |
||||
|
# |
||||
|
#### ���DEBUG �������ϵ���־�ļ����� ### |
||||
|
#log4j.appender.D = org.apache.log4j.DailyRollingFileAppender |
||||
|
#log4j.appender.D.File = log_debug.log |
||||
|
#log4j.appender.D.Append = true |
||||
|
#log4j.appender.D.Threshold = INFO |
||||
|
#log4j.appender.D.layout = org.apache.log4j.PatternLayout |
||||
|
#log4j.appender.D.layout.ConversionPattern = %-d{yyyy-MM-dd HH:mm:ss} [ %t:%r ] - [ %p ] %m%n |
||||
|
# |
||||
|
#### ���ERROR �������ϵ���־�ļ����� ### |
||||
|
#log4j.appender.E = org.apache.log4j.DailyRollingFileAppender |
||||
|
#log4j.appender.E.File = log_error.log |
||||
|
#log4j.appender.E.Append = true |
||||
|
#log4j.appender.E.Threshold = ERROR |
||||
|
#log4j.appender.E.layout = org.apache.log4j.PatternLayout |
||||
|
#log4j.appender.E.layout.ConversionPattern = %-d{yyyy-MM-dd HH:mm:ss} [ %t:%r ] - [ %p ] %m%n |
@ -0,0 +1,278 @@ |
|||||
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
||||
|
<%-- |
||||
|
Created by IntelliJ IDEA. |
||||
|
User: Administrator |
||||
|
Date: 2018/8/3 |
||||
|
Time: 15:53 |
||||
|
To change this template use File | Settings | File Templates. |
||||
|
--%> |
||||
|
<%@ page contentType="text/html;charset=UTF-8" language="java" %> |
||||
|
|
||||
|
<html> |
||||
|
<head> |
||||
|
<title>自动灌数系统</title> |
||||
|
<link type="text/css" href="/static/scripts/jquery/ui/themes/base/ui.all.css" rel="stylesheet" /> |
||||
|
<link rel="stylesheet" type="text/css" href="/static/styles/report.css" /> |
||||
|
<script type="text/javascript" src="/static/scripts/jquery/jquery-1.3.2.min.js"></script> |
||||
|
<script type="text/javascript" src="/static/scripts/jquery/ui/jquery-ui-1.7.custom.min.j"></script> |
||||
|
<script type="text/javascript" src="/static/scripts/jquery/plugins/ajaxfileupload.js"></script> |
||||
|
<script type="text/javascript" src="/static/scripts/jquery.TableExcel.js"></script> |
||||
|
<script type="text/javascript"> |
||||
|
|
||||
|
function refreshStat(){ |
||||
|
$.ajax({ |
||||
|
url:'refreshStats', |
||||
|
type:'post', |
||||
|
datatype:'json', |
||||
|
data:{}, |
||||
|
success:function (data){ |
||||
|
var obj = eval("("+data+")"); |
||||
|
var arr = obj.autoRefresh; |
||||
|
var statinfo =document.getElementById("statinfo"); |
||||
|
var str = "<table><tr><th>日期</th><th>kafka-topiv名称</th><th>读取的kafka数量</th><th>索引名称</th><th>es总数</th><th>当天目前已导入数量</th></tr>" ; |
||||
|
if(obj.autoRefresh.length > 0){ |
||||
|
for(var i=0;i<obj.autoRefresh.length;i++){ |
||||
|
var indexName = arr[i].indexName; |
||||
|
var kafkaNum = arr[i].kafkaNum; |
||||
|
var esNum = arr[i].esNum; |
||||
|
var diffesNum = arr[i].diffesNum; |
||||
|
var checkDay = arr[i].checkDay; |
||||
|
var kafkaName = arr[i].kafkaName; |
||||
|
str += "<tr><td>"+checkDay+"</td><td>"+kafkaName+"</td><td>"+kafkaNum+"</td><td>"+indexName+"</td><td>"+esNum+"</td><td>"+diffesNum+"</td></tr>" |
||||
|
} |
||||
|
} |
||||
|
str += "</table>"; |
||||
|
statinfo.innerHTML=str; |
||||
|
}, |
||||
|
error:function(data) { |
||||
|
alert("异常!"); |
||||
|
} |
||||
|
}) |
||||
|
} |
||||
|
|
||||
|
function start(){ |
||||
|
var kafkaSerName = $("#kafkaSerName").val(); |
||||
|
var kafkaName = $("#kafkaName").val(); |
||||
|
var groupId = $("#groupId").val(); |
||||
|
var bussinessType = $("#bussinessType").val(); |
||||
|
var esSerName = $("#esSerName").val(); |
||||
|
var esSuffixNames = $("#esSuffixNames").val(); |
||||
|
var projectName = $("#projectName").val(); |
||||
|
var isSemtimentApi = document.getElementsByName("isSemtimentApi"); |
||||
|
if(kafkaName.trim()!='' && groupId.trim() !='' && projectName.trim() != '' && esSuffixNames.trim() != ''){ |
||||
|
var semtimentApiValue ; |
||||
|
for(i=0; i<isSemtimentApi.length;i++) { |
||||
|
if(isSemtimentApi[i].checked) { |
||||
|
semtimentApiValue =isSemtimentApi[i].value; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
$.ajax({ |
||||
|
url:'taskInfo', |
||||
|
type:'post', |
||||
|
datatype:'json', |
||||
|
data:{"kafkaSerName":kafkaSerName,"kafkaName":kafkaName,"groupId":groupId,"bussinessType":bussinessType,"esSerName":esSerName,"esSuffixNames":esSuffixNames,"projectName":projectName,"isSemtimentApi":semtimentApiValue}, |
||||
|
success:function (data){ |
||||
|
load(); |
||||
|
}, |
||||
|
error:function(data) { |
||||
|
alert("异常!"); |
||||
|
|
||||
|
} |
||||
|
|
||||
|
}) |
||||
|
} else { |
||||
|
alert('topic名称 topic消费组 项目名 es索引名称 不能为空') |
||||
|
} |
||||
|
|
||||
|
|
||||
|
} |
||||
|
|
||||
|
function load() { |
||||
|
$.ajax({ |
||||
|
url:'tasklist', |
||||
|
type:'post', |
||||
|
datatype:'json', |
||||
|
data:{}, |
||||
|
success:function (data){ |
||||
|
var obj = eval("("+data+")"); |
||||
|
var arr = obj.fieldNormalizs; |
||||
|
var taskinfo =document.getElementById("taskinfo"); |
||||
|
var str = "<table><tr><th>任务id</th><th>kafka服务</th><th>kafkaTopic</th><th>topic组ip</th><th>es服务</th><th>es索引名称</th><th>数据去向</th><th>项目名</th><th>是否调用情感</th><th>任务创建时间</th><th>二级kafka后缀</th><th>状态</th><th>操作</th>"; |
||||
|
for(var i=0;i<obj.fieldNormalizs.length;i++){ |
||||
|
var id=arr[i].id; |
||||
|
var kafkaName=arr[i].kafkaName; |
||||
|
var kafkaSerName=arr[i].kafkaSerName; |
||||
|
var esSerName=arr[i].esSerName; |
||||
|
var esSuffixNames=arr[i].esSuffixNames; |
||||
|
var bussinessType=arr[i].bussinessType; |
||||
|
var groupId=arr[i].groupId; |
||||
|
var projectName = arr[i].projectName ; |
||||
|
var isSemtimentApi = arr[i].isSemtimentApi; |
||||
|
var createTime=arr[i].createTime; |
||||
|
//var finshTime=arr[i].finshTime;kafka_fastsuffix_name |
||||
|
var kafkaSuffixName = arr[i].kafkaSuffixName ; |
||||
|
var kafkafastSuffixName = arr[i].kafkafastSuffixName ; |
||||
|
|
||||
|
var status=arr[i].status; |
||||
|
if(kafkaSerName==1){ |
||||
|
kafkaSerName = '119'; |
||||
|
} |
||||
|
if(kafkaSerName==2){ |
||||
|
kafkaSerName = '102'; |
||||
|
} |
||||
|
if(kafkaSerName==3){ |
||||
|
kafkaSerName = '123'; |
||||
|
} |
||||
|
if(kafkaSerName==4){ |
||||
|
kafkaSerName = '50'; |
||||
|
} |
||||
|
if(kafkaSerName==5){ |
||||
|
kafkaSerName = '113'; |
||||
|
} |
||||
|
|
||||
|
|
||||
|
if(esSerName ==1){ |
||||
|
esSerName = '109' // 日期 |
||||
|
}else{ |
||||
|
esSerName = '111' // 专题 |
||||
|
} |
||||
|
|
||||
|
if(bussinessType==1){ |
||||
|
bussinessType ='前台' |
||||
|
}else if(bussinessType==2){ |
||||
|
bussinessType ='后台' |
||||
|
}else{ |
||||
|
bussinessType ='前后台' |
||||
|
} |
||||
|
if(isSemtimentApi == 1){ |
||||
|
isSemtimentApi ='调情感' |
||||
|
}else{ |
||||
|
isSemtimentApi ='不调情感' |
||||
|
} |
||||
|
if(status == 1){ |
||||
|
status = '运行' |
||||
|
}else{ |
||||
|
status = '未运行' |
||||
|
} |
||||
|
str+="<tr><td>"+id+"</td><td>"+kafkaSerName+"</td><td>"+kafkaName+"</td>" |
||||
|
str+="<td>"+groupId+"</td><td>"+esSerName+"</td><td>"+esSuffixNames+"</td>" |
||||
|
str+="<td>"+bussinessType+"</td><td>"+projectName+"</td><td>"+isSemtimentApi+"</td><td>"+createTime+"</td><td>"+kafkaSuffixName+"</td>" |
||||
|
str+="<td>"+status+"</td><td><button onclick=\"startTask("+id+")\">开启</button> | <button onclick=\"stopTask("+id+")\">删除</button></td></tr>" |
||||
|
|
||||
|
} |
||||
|
str+="</table>"; |
||||
|
taskinfo.innerHTML=str; |
||||
|
|
||||
|
refreshStat(); |
||||
|
}, |
||||
|
error:function(data) { |
||||
|
alert("异常!"); |
||||
|
} |
||||
|
|
||||
|
}) |
||||
|
} |
||||
|
|
||||
|
|
||||
|
|
||||
|
function startTask(id){ |
||||
|
$.ajax({ |
||||
|
url:'startTask', |
||||
|
type:'post', |
||||
|
datatype:'json', |
||||
|
data:{"id":id}, |
||||
|
success:function (data){ |
||||
|
load(); |
||||
|
}, |
||||
|
error:function(data) { |
||||
|
alert("异常!"); |
||||
|
} |
||||
|
}) |
||||
|
} |
||||
|
|
||||
|
function stopTask(id){ |
||||
|
$.ajax({ |
||||
|
url:'stopTask', |
||||
|
type:'post', |
||||
|
datatype:'json', |
||||
|
data:{"id":id}, |
||||
|
success:function (data){ |
||||
|
load(); |
||||
|
}, |
||||
|
error:function(data) { |
||||
|
alert("异常!"); |
||||
|
} |
||||
|
}) |
||||
|
} |
||||
|
</script> |
||||
|
|
||||
|
|
||||
|
</head> |
||||
|
|
||||
|
<body onload="load()"> |
||||
|
|
||||
|
<!-- 导入文件表单 --> |
||||
|
<%--<div id="importExcelDialog">--%> |
||||
|
<%--<br><div align="center">选择Excel文件(可同时批量上传多个文件):--%> |
||||
|
<%--<form id="import" action="/web/upload" enctype="multipart/form-data" method="post" >--%> |
||||
|
<%--<%–<input id="importExcel" type="file" name="myfile" multiple="multiple" >–%>--%> |
||||
|
<%--<%–<input type="submit" value="上传">–%>--%> |
||||
|
<%--</form><<br>--%> |
||||
|
<%--<c:forEach items="${requestScope.fileNames}" var="keyword">--%> |
||||
|
<%--${keyword}导入成功!!!!!<br>--%> |
||||
|
<%--</c:forEach>--%> |
||||
|
<%--<br>--%> |
||||
|
<%--<br>--%> |
||||
|
<%--<c:forEach items="${requestScope.errfileNames}" var="keyworderr">--%> |
||||
|
<%--${keyworderr}导入失败!!!!!<br>--%> |
||||
|
<%--</c:forEach>--%> |
||||
|
<%--</div>--%> |
||||
|
<div class="ww100"> |
||||
|
<h1>灌数系统</h1> |
||||
|
</div> |
||||
|
=================================================================== |
||||
|
|
||||
|
<div> |
||||
|
<form id="task" action="" method="post" > |
||||
|
kafka服务地址: |
||||
|
<select id="kafkaSerName" name="kafkaSerName"> |
||||
|
<option value="1">119</option> |
||||
|
<option value="2">102</option> |
||||
|
<option value="3">123</option> |
||||
|
<option value="4">50</option> |
||||
|
<option value="5">113</option> |
||||
|
</select> |
||||
|
topic名称: <input id="kafkaName" type="text" name="kafkaName" /><br> |
||||
|
topic消费组: <input id="groupId" type="text" name="groupId" /><br> |
||||
|
业务类型: |
||||
|
<select id="bussinessType" name="bussinessType"> |
||||
|
<option value="1">前台</option> |
||||
|
<option value="2">后台</option> |
||||
|
<option value="3">前后台</option> |
||||
|
</select> |
||||
|
es服务: |
||||
|
<select id="esSerName" name="esSerName"> |
||||
|
<option value="1">109</option> |
||||
|
<option value="2">111</option> |
||||
|
</select> |
||||
|
项目名: <input id="projectName" type="text" name="projectName" /><br> |
||||
|
|
||||
|
es索引名称: <input id="esSuffixNames" type="text" name="esSuffixNames" /><br> |
||||
|
<input type="radio" name="isSemtimentApi" id="isSemtimentApi " checked="checked" value="1" /> 调情感 |
||||
|
<input type="radio" name="isSemtimentApi" id="isSemtimentApi" value="0" /> 不调情感 |
||||
|
<input type="button" onclick="start()" value="提交任务" /> |
||||
|
|
||||
|
</form> |
||||
|
|
||||
|
</div> |
||||
|
|
||||
|
<div> |
||||
|
<div id="taskinfo"></div> |
||||
|
<br> |
||||
|
-------------------------------------------------------------------------- |
||||
|
<div id="statinfo"></div> |
||||
|
|
||||
|
</div> |
||||
|
</div> |
||||
|
</body> |
||||
|
</html> |
@ -0,0 +1,54 @@ |
|||||
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
||||
|
|
||||
|
<%-- |
||||
|
Created by IntelliJ IDEA. |
||||
|
User: Administrator |
||||
|
Date: 2018/5/16 |
||||
|
Time: 16:58 |
||||
|
To change this template use File | Settings | File Templates. |
||||
|
--%> |
||||
|
<%@ page contentType="text/html;charset=UTF-8" language="java" %> |
||||
|
<html onload="load()"> |
||||
|
<head> |
||||
|
<title>Title</title> |
||||
|
<script type="text/javascript" src="/static/scripts/jquery/jquery-1.3.2.min.js"></script> |
||||
|
<script type="text/javascript"> |
||||
|
function load() { |
||||
|
|
||||
|
$.ajax({ |
||||
|
url:'tasklist', |
||||
|
type:'post', |
||||
|
datatype:'json', |
||||
|
data:{}, |
||||
|
success:function (data){ |
||||
|
var arr=data.fieldNormalizs; |
||||
|
for(var i=0;i<arr.length;i++){ |
||||
|
var id=arr[i].id; |
||||
|
var kafkaName=arr[i].kafkaName; |
||||
|
var kafkaSerName=arr[i].kafkaSerName; |
||||
|
var esSerName=arr[i].esSerName; |
||||
|
var esSuffixNames=arr[i].esSuffixNames; |
||||
|
var bussinessType=arr[i].bussinessType; |
||||
|
var groupId=arr[i].groupId; |
||||
|
var createTime=arr[i].createTime; |
||||
|
var finshTime=arr[i].finshTime; |
||||
|
var status=arr[i].status; |
||||
|
alert(kafkaName) |
||||
|
} |
||||
|
}, |
||||
|
error:function(data) { |
||||
|
alert("异常!"); |
||||
|
} |
||||
|
|
||||
|
}) |
||||
|
} |
||||
|
|
||||
|
</script> |
||||
|
</head> |
||||
|
<body> |
||||
|
<form action="/web/byCompanyname"> |
||||
|
|
||||
|
</form> |
||||
|
|
||||
|
</body> |
||||
|
</html> |
@ -0,0 +1,16 @@ |
|||||
|
<%-- |
||||
|
Created by IntelliJ IDEA. |
||||
|
User: Administrator |
||||
|
Date: 2018/8/6 |
||||
|
Time: 13:58 |
||||
|
To change this template use File | Settings | File Templates. |
||||
|
--%> |
||||
|
<%@ page contentType="text/html;charset=UTF-8" language="java" %> |
||||
|
<html> |
||||
|
<head> |
||||
|
<title>上传失败</title> |
||||
|
</head> |
||||
|
<body> |
||||
|
上传excel文件失败!!! |
||||
|
</body> |
||||
|
</html> |
@ -0,0 +1,23 @@ |
|||||
|
#mysql |
||||
|
spring.datasource.url=jdbc:mysql://172.18.1.152/field_normaliz?useUnicode=true&characterEncoding=utf-8 |
||||
|
spring.datasource.username=root |
||||
|
spring.datasource.password=Bfd123!@# |
||||
|
spring.datasource.driver-class-name=com.mysql.jdbc.Driver |
||||
|
|
||||
|
#spring.datasource.url=jdbc:mysql://172.26.11.113:3306/intelligent_crawl?useUnicode=true&characterEncoding=utf-8 |
||||
|
#spring.datasource.username=root |
||||
|
#spring.datasource.password=bfd123 |
||||
|
#spring.datasource.driver-class-name=com.mysql.jdbc.Driver |
||||
|
|
||||
|
#spring.datasource.url=jdbc:mysql://192.168.94.24:6446/intelligent_schema?useUnicode=true&characterEncoding=utf-8 |
||||
|
#spring.datasource.username=root |
||||
|
#spring.datasource.password=baifendian |
||||
|
#spring.datasource.driver-class-name=com.mysql.jdbc.Driver |
||||
|
|
||||
|
spring.mvc.view.suffix=.jsp |
||||
|
spring.mvc.view.prefix=/WEB-INF/ |
||||
|
spring.mvc.static-path-pattern=/static/** |
||||
|
|
||||
|
|
||||
|
#mybatis |
||||
|
mybatis.mapperLocations=classpath:com/bfd/mf/mapper/*.xml |
@ -0,0 +1,63 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
||||
|
<mapper namespace="com.bfd.mf.mapper.FieldNormalizMapper" > |
||||
|
<resultMap id="BaseResultMap" type="com.bfd.mf.entity.FieldNormaliz" > |
||||
|
<id column="id" property="id" jdbcType="INTEGER" /> |
||||
|
<result column="kafka_server" property="kafkaSerName" jdbcType="INTEGER" /> |
||||
|
<result column="es_server" property="esSerName" jdbcType="VARCHAR" /> |
||||
|
<result column="bussiness_type" property="bussinessType" jdbcType="INTEGER" /> |
||||
|
<result column="es_index_name" property="esSuffixNames" jdbcType="VARCHAR" /> |
||||
|
<result column="kafka_topic" property="kafkaName" jdbcType="VARCHAR" /> |
||||
|
<result column="groupid" property="groupId" jdbcType="VARCHAR"/> |
||||
|
<result column="project_name" property="projectName" jdbcType="VARCHAR"/> |
||||
|
<result column="is_semtiment_api" property="isSemtimentApi" jdbcType="INTEGER"/> |
||||
|
<result column="create_time" property="createTime" jdbcType="TIMESTAMP"/> |
||||
|
<result column="finish_time" property="finshTime" jdbcType="TIMESTAMP"/> |
||||
|
<result column="status" property="status" jdbcType="INTEGER" /> |
||||
|
<result column="kafka_suffix_name" property="kafkaSuffixName" jdbcType="VARCHAR"/> |
||||
|
</resultMap> |
||||
|
|
||||
|
<sql id="Base_Column_List" > |
||||
|
id, kafka_server, es_server, bussiness_type,es_index_name,kafka_topic,groupid,project_name,is_semtiment_api,kafka_suffix_name |
||||
|
</sql> |
||||
|
|
||||
|
<select id="getFieldNormalizList" resultMap="BaseResultMap" > |
||||
|
SELECT |
||||
|
id,kafka_server,kafka_topic,groupid,es_server,bussiness_type,es_index_name,project_name,is_semtiment_api,STATUS,kafka_suffix_name, |
||||
|
DATE_FORMAT(finish_time,'%Y-%m-%d %H:%i:%s') AS finish_time, |
||||
|
DATE_FORMAT(create_time,'%Y-%m-%d %H:%i:%s') AS create_time |
||||
|
FROM |
||||
|
mf_kafka_info |
||||
|
</select> |
||||
|
|
||||
|
<select id="getFieldNormalizById" parameterType="java.lang.Integer" resultMap="BaseResultMap" > |
||||
|
SELECT |
||||
|
<include refid="Base_Column_List" /> |
||||
|
FROM mf_kafka_info |
||||
|
WHERE id = #{id} |
||||
|
</select> |
||||
|
|
||||
|
<insert id="add" parameterType="com.bfd.mf.entity.FieldNormaliz" > |
||||
|
INSERT INTO |
||||
|
mf_kafka_info |
||||
|
(kafka_server,kafka_topic,groupid,es_server,bussiness_type,es_index_name,create_time,project_name,is_semtiment_api,kafka_suffix_name) |
||||
|
VALUES |
||||
|
(#{kafkaSerName}, #{kafkaName}, #{groupId}, #{esSerName}, #{bussinessType}, #{esSuffixNames}, now(), #{projectName}, #{isSemtimentApi}, #{kafkaSuffixName}) |
||||
|
</insert> |
||||
|
|
||||
|
<update id="update" parameterType="java.util.Map" > |
||||
|
UPDATE |
||||
|
mf_kafka_info |
||||
|
SET |
||||
|
status = 1 |
||||
|
WHERE |
||||
|
id = #{id} |
||||
|
</update> |
||||
|
|
||||
|
<delete id="delete" parameterType="java.lang.Integer" > |
||||
|
DELETE FROM |
||||
|
mf_kafka_info |
||||
|
WHERE |
||||
|
id = #{id} |
||||
|
</delete> |
||||
|
</mapper> |
@ -0,0 +1,50 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
||||
|
<mapper namespace="com.bfd.mf.mapper.StatMapper" > |
||||
|
<resultMap id="BaseResultMap" type="com.bfd.mf.entity.StatInfo" > |
||||
|
<result column="check_day" property="checkDay" jdbcType="VARCHAR" /> |
||||
|
<result column="kafka_name" property="kafkaName" jdbcType="VARCHAR" /> |
||||
|
<result column="kafka_rows" property="kafkaRows" jdbcType="INTEGER" /> |
||||
|
<result column="index_name" property="indexName" jdbcType="VARCHAR" /> |
||||
|
<result column="index_rows" property="indexRows" jdbcType="INTEGER" /> |
||||
|
<result column="diff_rows" property="diffRows" jdbcType="INTEGER"/> |
||||
|
<result column="add_time" property="addTime" jdbcType="TIMESTAMP"/> |
||||
|
</resultMap> |
||||
|
|
||||
|
<sql id="Base_Column_List" > |
||||
|
check_day, kafka_name, kafka_rows, index_name, index_rows, diff_rows, add_time |
||||
|
</sql> |
||||
|
|
||||
|
<select id="getStatInfo" resultMap="BaseResultMap" > |
||||
|
SELECT |
||||
|
check_day,kafka_name,kafka_rows,index_name,index_rows,diff_rows,DATE_FORMAT(add_time, '%Y-%m-%d %H:%i:%s') as add_time |
||||
|
FROM |
||||
|
mf_check_rows_list |
||||
|
</select> |
||||
|
|
||||
|
<insert id="add" parameterType="com.bfd.mf.entity.StatInfo" > |
||||
|
INSERT INTO |
||||
|
mf_check_rows_list |
||||
|
(check_day,kafka_name,kafka_rows,index_name,index_rows,diff_rows,add_time) |
||||
|
VALUES |
||||
|
(#{checkDay}, #{kafkaName}, #{kafkaRows}, #{indexName}, #{indexRows}, #{diffRows}, now()) |
||||
|
</insert> |
||||
|
|
||||
|
<update id="update" parameterType="java.util.Map" > |
||||
|
UPDATE |
||||
|
mf_check_rows_list |
||||
|
SET |
||||
|
kafka_rows = #{kafkaRows}, index_rows = #{indexRows} , diff_rows = #{diffRows} |
||||
|
WHERE |
||||
|
check_day = #{checkDay} and kafka_name = #{kafkaName} and index_name = #{indexName} |
||||
|
</update> |
||||
|
|
||||
|
<select id="getStatInfoByCheck" resultMap="BaseResultMap" parameterType="java.util.Map" > |
||||
|
SELECT |
||||
|
check_day,kafka_name,kafka_rows,index_name,index_rows,diff_rows,DATE_FORMAT(add_time, '%Y-%m-%d %H:%i:%s') as add_time |
||||
|
FROM |
||||
|
mf_check_rows_list |
||||
|
WHERE |
||||
|
check_day = #{checkDay} and kafka_name = #{kafkaName} and index_name = #{indexName} |
||||
|
</select> |
||||
|
</mapper> |
@ -0,0 +1,31 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<beans xmlns="http://www.springframework.org/schema/beans" |
||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop" |
||||
|
xsi:schemaLocation=" |
||||
|
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd |
||||
|
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd"> |
||||
|
|
||||
|
<bean id="propertyConfigurers" |
||||
|
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> |
||||
|
<property name="locations"> |
||||
|
<value>classpath:/datasources.properties |
||||
|
</value> |
||||
|
</property> |
||||
|
</bean> |
||||
|
|
||||
|
<bean id="sendTask" class="com.bfd.mf.sendTask.impl.SendTaskImpl"> |
||||
|
|
||||
|
</bean> |
||||
|
|
||||
|
<bean id="baseServiceExporter" class="org.springframework.remoting.rmi.RmiServiceExporter"> |
||||
|
<!-- 调用Service --> |
||||
|
<property name="service" ref="sendTask" /> |
||||
|
<!-- value值是提供给客户端调用 --> |
||||
|
<property name="serviceName" value="baseService" /> |
||||
|
<!-- service接口 --> |
||||
|
<property name="serviceInterface" value="com.bfd.mf.sendTask.SendTask" /> |
||||
|
<!-- 注册端口 --> |
||||
|
<property name="registryPort" value="1600" /> |
||||
|
</bean> |
||||
|
|
||||
|
</beans> |
@ -0,0 +1,4 @@ |
|||||
|
sms_username=0c44a92f900c5 |
||||
|
sms_password=100817121800010094 |
||||
|
sms_url=http://www.xcapi.net:18018/xcapi/smsApiSend.do |
||||
|
# |
@ -0,0 +1,18 @@ |
|||||
|
log4j.rootLogger=DEBUG, error |
||||
|
|
||||
|
###### error appender definition ####### |
||||
|
log4j.appender.error=org.apache.log4j.DailyRollingFileAppender |
||||
|
log4j.appender.error.File=logs/sdkclient_error.log |
||||
|
log4j.appender.error.Append=true |
||||
|
log4j.appender.error.DatePattern='.'yyyy-MM-dd-HH |
||||
|
log4j.appender.error.layout=org.apache.log4j.PatternLayout |
||||
|
log4j.appender.error.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p [%c] %m%n |
||||
|
|
||||
|
#error only |
||||
|
log4j.appender.error.filter.F1=org.apache.log4j.varia.LevelRangeFilter |
||||
|
log4j.appender.error.filter.F1.LevelMin=ERROR |
||||
|
log4j.appender.error.filter.F1.LevelMax=ERROR |
||||
|
# |
||||
|
log4j.appender.error.filter.F2=org.apache.log4j.varia.LevelMatchFilter |
||||
|
log4j.appender.error.filter.F2.levelToMatch=WARN |
||||
|
log4j.appender.error.filter.F2.acceptOnMatch=false |
@ -0,0 +1,124 @@ |
|||||
|
/*---------------------------- Ajax 请求对象 ----------------------------*/ |
||||
|
|
||||
|
/************************************************** |
||||
|
-- 属性: |
||||
|
url: 请求地址; |
||||
|
method: 请求方法(GET 或者 POST),默认为 GET; |
||||
|
flag: 异步或者同步请求(true 或者 false),默认为 true; |
||||
|
info: 请求参数,默认为 null,注:只有当请求方法为 POST 时,才被使用; |
||||
|
//isEval: 是否调用 eval() 函数(true 或者 false),默认为为 false;
|
||||
|
//callback: 是否设置回调函数(true或者false),默认为 true;
|
||||
|
result: Ajax 请求的响应结果 |
||||
|
|
||||
|
-- 方法: |
||||
|
executeRequest: 执行 Ajax 请求的方法; |
||||
|
onReady: 绑定函数到 req.onreadystatechange 事件; |
||||
|
dealResult: 只提供了函数名称,用来设置用户自己的函数。注:在用户自己的函数中,用来处理 Ajax 请求的返回结果。 |
||||
|
**************************************************/ |
||||
|
function Ajax(url, method, flag, info) { |
||||
|
this.url = url; |
||||
|
this.method = method || "GET"; |
||||
|
this.flag = (flag == false) ? false : (flag || true); |
||||
|
this.info = info || null; |
||||
|
//this.isEval = false;
|
||||
|
//this.callback = true;
|
||||
|
this.result = null; |
||||
|
var req = null; // req: XMLHttpRequest 对象;
|
||||
|
|
||||
|
// 实例化 req 对象
|
||||
|
(function() { |
||||
|
if (window.XMLHttpRequest) { |
||||
|
req = new XMLHttpRequest(); |
||||
|
if (req.overrideMimeType) { |
||||
|
//req.overrideMimeType("text/xml");
|
||||
|
} |
||||
|
} else if (window.ActiveXObject) { |
||||
|
try { |
||||
|
req = new ActiveXObject("Msxml2.XMLHTTP"); |
||||
|
} catch (e) { |
||||
|
try { |
||||
|
req = new ActiveXObject("Microsoft.XMLHTTP"); |
||||
|
} catch (e) { |
||||
|
alert("该浏览器不支持 Ajax !"); |
||||
|
req = null; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
/* Msxml2.XMLHTTP.5.0, 4.0, 3.0 都可以,2.0 和 1.0 不可以 |
||||
|
for (var i = 5; i; i--) { |
||||
|
try { |
||||
|
alert(i); |
||||
|
if (i != 2) { |
||||
|
req = new ActiveXObject("Msxml2.XMLHTTP." + i + ".0"); |
||||
|
} |
||||
|
|
||||
|
} catch (e) { |
||||
|
alert(e); |
||||
|
continue; |
||||
|
} |
||||
|
}*/ |
||||
|
} |
||||
|
}()); |
||||
|
this.executeRequest = function () { |
||||
|
if (!req || !this.url) { |
||||
|
alert("req 为空或者 url 为空!"); |
||||
|
return; |
||||
|
} |
||||
|
|
||||
|
if (this.url.indexOf("_id_=") != -1) { |
||||
|
// 不改变
|
||||
|
} else { |
||||
|
// 保证每次请求的 URL 都不一样,防止缓存
|
||||
|
var rand = "_id_=" + Math.random(); |
||||
|
if (this.url.indexOf("?") != -1) { |
||||
|
this.url += "&" + rand; |
||||
|
} else { |
||||
|
this.url += "?" + rand; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
/*// 判断,是否设置回调函数 |
||||
|
if (this.callback) { |
||||
|
this.onReady(req); |
||||
|
}*/ |
||||
|
// 设置回调函数
|
||||
|
this.onReady(req, this); |
||||
|
// 初始化 req 对象
|
||||
|
req.open(this.method, this.url, this.flag); |
||||
|
|
||||
|
// 判断,是否为 POST 请求
|
||||
|
if ((this.method.toUpperCase() == "POST") && this.info) { |
||||
|
req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); |
||||
|
} |
||||
|
// 向服务器端发送请求
|
||||
|
req.send(this.info); |
||||
|
|
||||
|
/*// 判断,是否执行 eval() 函数 |
||||
|
if (this.isEval) { |
||||
|
eval(req.responseText); |
||||
|
}*/ |
||||
|
}; |
||||
|
this.onReady = function (req, ajax) { |
||||
|
req.onreadystatechange = function () { |
||||
|
if (req.readyState == 4) { |
||||
|
var result = req.responseText; |
||||
|
if (req.status == 200) { |
||||
|
ajax.result = result; |
||||
|
if (ajax.dealResult) { |
||||
|
ajax.dealResult(result); |
||||
|
} else { |
||||
|
var message = "请为 Ajax对象的 dealResult 设置回调函数!"; |
||||
|
message += "\r\n例如:Ajax对象.dealResult=function(result) { Your Code }"; |
||||
|
message += "\r\n其中,result 参数为服务器端返回的响应数据。"; |
||||
|
//alert(message);
|
||||
|
} |
||||
|
} else { |
||||
|
//alert("响应错误!");
|
||||
|
|
||||
|
//alert(result);
|
||||
|
} |
||||
|
} |
||||
|
}; |
||||
|
}; |
||||
|
this.dealResult; // = function(result) { };
|
||||
|
} |
@ -0,0 +1,203 @@ |
|||||
|
/* |
||||
|
生成EXCEL的数据格式定义: |
||||
|
{ |
||||
|
name: '', |
||||
|
widths: [xxx,…,xxx], |
||||
|
clazz" '', |
||||
|
style: '', |
||||
|
data: [ |
||||
|
{ |
||||
|
height: xxx, |
||||
|
clazz" '', |
||||
|
style: '', |
||||
|
cell: [ |
||||
|
{ |
||||
|
range: 'xxx.xxx', |
||||
|
text: '', |
||||
|
clazz: '', |
||||
|
style: '' |
||||
|
},…{ |
||||
|
… |
||||
|
} |
||||
|
] |
||||
|
},…,{ |
||||
|
} |
||||
|
], …,[ |
||||
|
… |
||||
|
] |
||||
|
} |
||||
|
*/ |
||||
|
(function($) { |
||||
|
$.fn.exportTableData = function(options) { |
||||
|
var opts = $.extend({}, $.fn.exportTableData.defaults, options); |
||||
|
|
||||
|
var table = $(this[0]); |
||||
|
if (table.attr('nodeName').toUpperCase() != 'TABLE') |
||||
|
return null; |
||||
|
|
||||
|
var result = { |
||||
|
widths: [], |
||||
|
data: [] |
||||
|
}; |
||||
|
|
||||
|
readCSS(result, table); |
||||
|
|
||||
|
var cols = table.find('col'); |
||||
|
cols.each(function(i) { |
||||
|
result.widths[i] = $(this).width(); |
||||
|
}) |
||||
|
|
||||
|
var trs = table.find('tr'); |
||||
|
trs.each(function(row) { |
||||
|
var tr = $(this); |
||||
|
|
||||
|
result.data[row] = { |
||||
|
height: tr.height(), |
||||
|
cell: [] |
||||
|
}; |
||||
|
|
||||
|
readCSS(result.data[row], tr); |
||||
|
|
||||
|
var tds = tr.find('td'); |
||||
|
tds.each(function(col) { |
||||
|
var td = $(this); |
||||
|
|
||||
|
var val = td.html(); |
||||
|
if (opts.callback) |
||||
|
val = opts.callback(tr, td, row, col, val); |
||||
|
|
||||
|
result.data[row].cell[col] = { |
||||
|
text: val |
||||
|
} |
||||
|
|
||||
|
readRange(result.data[row].cell[col], td); |
||||
|
readCSS(result.data[row].cell[col], td); |
||||
|
}) |
||||
|
}) |
||||
|
|
||||
|
return result; |
||||
|
|
||||
|
function readRange(data, el) { |
||||
|
var rowSpan = el.attr('rowSpan'); |
||||
|
var colSpan = el.attr('colSpan'); |
||||
|
|
||||
|
rowSpan = rowSpan ? parseInt(rowSpan) : 1; |
||||
|
colSpan = colSpan ? parseInt(colSpan) : 1; |
||||
|
|
||||
|
if (rowSpan != 1 || colSpan != 1) |
||||
|
data.range = rowSpan + '.' + colSpan; |
||||
|
} |
||||
|
|
||||
|
function readCSS(data, el) { |
||||
|
var clazz = el.attr('class'); |
||||
|
if (clazz) |
||||
|
data.clazz = clazz; |
||||
|
|
||||
|
var style = el.attr('style'); |
||||
|
if (style) |
||||
|
data.style = style; |
||||
|
} |
||||
|
}; |
||||
|
|
||||
|
$.fn.exportTableData.defaults = { |
||||
|
callback: function(tr, td, row, col, val) { |
||||
|
return val; |
||||
|
} |
||||
|
}; |
||||
|
|
||||
|
$.fn.parseImportTableConfig = function(options) { |
||||
|
var opts = $.extend({}, $.fn.parseImportTableConfig.defaults, options); |
||||
|
|
||||
|
var table = $(this[0]); |
||||
|
if (table.attr('nodeName').toUpperCase() != 'TABLE') |
||||
|
return null; |
||||
|
|
||||
|
var result = ''; |
||||
|
|
||||
|
var trs = table.find('tr'); |
||||
|
trs.each(function(row) { |
||||
|
var tr = $(this); |
||||
|
|
||||
|
var tds = tr.find('td'); |
||||
|
tds.each(function(col) { |
||||
|
var td = $(this); |
||||
|
|
||||
|
if (opts.callback) { |
||||
|
if (opts.callback({ |
||||
|
tr: tr, |
||||
|
td: td, |
||||
|
row: row, |
||||
|
col: col |
||||
|
}) == false) |
||||
|
return; |
||||
|
} |
||||
|
|
||||
|
result += row + '.' + col + ' '; |
||||
|
}) |
||||
|
}) |
||||
|
|
||||
|
return result; |
||||
|
}; |
||||
|
|
||||
|
$.fn.parseImportTableConfig.defaults = { |
||||
|
callback: function(params) { |
||||
|
return true; |
||||
|
} |
||||
|
}; |
||||
|
|
||||
|
$.fn.importTableData = function(data, options) { |
||||
|
var opts = $.extend({}, $.fn.importTableData.defaults, options); |
||||
|
|
||||
|
var table = $(this[0]); |
||||
|
if (table.attr('nodeName').toUpperCase() != 'TABLE') |
||||
|
return null; |
||||
|
|
||||
|
var importTds = []; |
||||
|
|
||||
|
var trs = table.find('tr'); |
||||
|
trs.each(function(row) { |
||||
|
var tr = $(this); |
||||
|
|
||||
|
var tds = tr.find('td'); |
||||
|
tds.each(function(col) { |
||||
|
var td = $(this); |
||||
|
|
||||
|
var key = row + '.' + col; |
||||
|
if (typeof(data[key]) == 'undefined') |
||||
|
return; |
||||
|
|
||||
|
var params = { |
||||
|
tr: tr, |
||||
|
td: td, |
||||
|
row: row, |
||||
|
col: col, |
||||
|
val: data[key] |
||||
|
}; |
||||
|
|
||||
|
if (opts.callback) { |
||||
|
if (opts.callback(params) == false) |
||||
|
return; |
||||
|
} |
||||
|
|
||||
|
var val = params.val; |
||||
|
var orgVal = td.html(); |
||||
|
if (val != null && val != orgVal) { |
||||
|
td.html(val); |
||||
|
|
||||
|
importTds[importTds.length] = td; |
||||
|
} |
||||
|
}) |
||||
|
}) |
||||
|
|
||||
|
if (importTds.length > 0 && opts.finish) |
||||
|
opts.finish(importTds); |
||||
|
}; |
||||
|
|
||||
|
$.fn.importTableData.defaults = { |
||||
|
callback: function(params) { |
||||
|
return true; |
||||
|
}, |
||||
|
finish: function(tds) { |
||||
|
} |
||||
|
}; |
||||
|
})(jQuery); |
19
cl_stream_mybatis/target/classes/static/scripts/jquery/jquery-1.3.2.min.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,209 @@ |
|||||
|
|
||||
|
jQuery.extend({ |
||||
|
|
||||
|
|
||||
|
createUploadIframe: function(id, uri) |
||||
|
{ |
||||
|
//create frame
|
||||
|
var frameId = 'jUploadFrame' + id; |
||||
|
|
||||
|
if(window.ActiveXObject) { |
||||
|
var io = document.createElement('<iframe id="' + frameId + '" name="' + frameId + '" />'); |
||||
|
if(typeof uri== 'boolean'){ |
||||
|
io.src = 'javascript:false'; |
||||
|
} |
||||
|
else if(typeof uri== 'string'){ |
||||
|
io.src = uri; |
||||
|
} |
||||
|
} |
||||
|
else { |
||||
|
var io = document.createElement('iframe'); |
||||
|
io.id = frameId; |
||||
|
io.name = frameId; |
||||
|
} |
||||
|
io.style.position = 'absolute'; |
||||
|
io.style.top = '-1000px'; |
||||
|
io.style.left = '-1000px'; |
||||
|
|
||||
|
document.body.appendChild(io); |
||||
|
|
||||
|
return io |
||||
|
}, |
||||
|
createUploadForm: function(id, fileElementId, data) |
||||
|
{ |
||||
|
//create form
|
||||
|
var formId = 'jUploadForm' + id; |
||||
|
var fileId = 'jUploadFile' + id; |
||||
|
var form = $('<form action="" method="POST" name="' + formId + '" id="' + formId + '" enctype="multipart/form-data"></form>'); |
||||
|
var oldElement = $('#' + fileElementId); |
||||
|
var newElement = $(oldElement).clone(); |
||||
|
$(oldElement).attr('id', fileId); |
||||
|
$(oldElement).before(newElement); |
||||
|
$(oldElement).appendTo(form); |
||||
|
|
||||
|
if (data) { |
||||
|
for (var name in data) { |
||||
|
var field = $('<input type="hidden" name="' + name + '" value="' + data[name] + '"/>'); |
||||
|
field.appendTo(form); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
//set attributes
|
||||
|
$(form).css('position', 'absolute'); |
||||
|
$(form).css('top', '-1200px'); |
||||
|
$(form).css('left', '-1200px'); |
||||
|
$(form).appendTo('body'); |
||||
|
return form; |
||||
|
}, |
||||
|
|
||||
|
ajaxFileUpload: function(s) { |
||||
|
// TODO introduce global settings, allowing the client to modify them for all requests, not only timeout
|
||||
|
s = jQuery.extend({}, jQuery.ajaxSettings, s); |
||||
|
var id = new Date().getTime() |
||||
|
var form = jQuery.createUploadForm(id, s.fileElementId, s.data); |
||||
|
var io = jQuery.createUploadIframe(id, s.secureuri); |
||||
|
var frameId = 'jUploadFrame' + id; |
||||
|
var formId = 'jUploadForm' + id; |
||||
|
// Watch for a new set of requests
|
||||
|
if ( s.global && ! jQuery.active++ ) |
||||
|
{ |
||||
|
jQuery.event.trigger( "ajaxStart" ); |
||||
|
} |
||||
|
var requestDone = false; |
||||
|
// Create the request object
|
||||
|
var xml = {} |
||||
|
if ( s.global ) |
||||
|
jQuery.event.trigger("ajaxSend", [xml, s]); |
||||
|
// Wait for a response to come back
|
||||
|
var uploadCallback = function(isTimeout) |
||||
|
{ |
||||
|
var io = document.getElementById(frameId); |
||||
|
try |
||||
|
{ |
||||
|
if(io.contentWindow) |
||||
|
{ |
||||
|
xml.responseText = io.contentWindow.document.body?io.contentWindow.document.body.innerHTML:null; |
||||
|
xml.responseXML = io.contentWindow.document.XMLDocument?io.contentWindow.document.XMLDocument:io.contentWindow.document; |
||||
|
|
||||
|
}else if(io.contentDocument) |
||||
|
{ |
||||
|
xml.responseText = io.contentDocument.document.body?io.contentDocument.document.body.innerHTML:null; |
||||
|
xml.responseXML = io.contentDocument.document.XMLDocument?io.contentDocument.document.XMLDocument:io.contentDocument.document; |
||||
|
} |
||||
|
}catch(e) |
||||
|
{ |
||||
|
jQuery.handleError(s, xml, null, e); |
||||
|
} |
||||
|
if ( xml || isTimeout == "timeout") |
||||
|
{ |
||||
|
requestDone = true; |
||||
|
var status; |
||||
|
try { |
||||
|
status = isTimeout != "timeout" ? "success" : "error"; |
||||
|
// Make sure that the request was successful or notmodified
|
||||
|
if ( status != "error" ) |
||||
|
{ |
||||
|
// process the data (runs the xml through httpData regardless of callback)
|
||||
|
var data = jQuery.uploadHttpData( xml, s.dataType ); |
||||
|
// If a local callback was specified, fire it and pass it the data
|
||||
|
if ( s.success ) |
||||
|
s.success( data, status ); |
||||
|
|
||||
|
// Fire the global callback
|
||||
|
if( s.global ) |
||||
|
jQuery.event.trigger( "ajaxSuccess", [xml, s] ); |
||||
|
} else |
||||
|
jQuery.handleError(s, xml, status); |
||||
|
} catch(e) |
||||
|
{ |
||||
|
status = "error"; |
||||
|
jQuery.handleError(s, xml, status, e); |
||||
|
} |
||||
|
|
||||
|
// The request was completed
|
||||
|
if( s.global ) |
||||
|
jQuery.event.trigger( "ajaxComplete", [xml, s] ); |
||||
|
|
||||
|
// Handle the global AJAX counter
|
||||
|
if ( s.global && ! --jQuery.active ) |
||||
|
jQuery.event.trigger( "ajaxStop" ); |
||||
|
|
||||
|
// Process result
|
||||
|
if ( s.complete ) |
||||
|
s.complete(xml, status); |
||||
|
|
||||
|
jQuery(io).unbind() |
||||
|
|
||||
|
setTimeout(function() |
||||
|
{ try |
||||
|
{ |
||||
|
$(io).remove(); |
||||
|
$(form).remove(); |
||||
|
|
||||
|
} catch(e) |
||||
|
{ |
||||
|
jQuery.handleError(s, xml, null, e); |
||||
|
} |
||||
|
|
||||
|
}, 100) |
||||
|
|
||||
|
xml = null |
||||
|
|
||||
|
} |
||||
|
} |
||||
|
// Timeout checker
|
||||
|
if ( s.timeout > 0 ) |
||||
|
{ |
||||
|
setTimeout(function(){ |
||||
|
// Check to see if the request is still happening
|
||||
|
if( !requestDone ) uploadCallback( "timeout" ); |
||||
|
}, s.timeout); |
||||
|
} |
||||
|
try |
||||
|
{ |
||||
|
// var io = $('#' + frameId);
|
||||
|
var form = $('#' + formId); |
||||
|
$(form).attr('action', s.url); |
||||
|
$(form).attr('method', 'POST'); |
||||
|
$(form).attr('target', frameId); |
||||
|
if(form.encoding) |
||||
|
{ |
||||
|
form.encoding = 'multipart/form-data'; |
||||
|
} |
||||
|
else |
||||
|
{ |
||||
|
form.enctype = 'multipart/form-data'; |
||||
|
} |
||||
|
$(form).submit(); |
||||
|
|
||||
|
} catch(e) |
||||
|
{ |
||||
|
jQuery.handleError(s, xml, null, e); |
||||
|
} |
||||
|
if(window.attachEvent){ |
||||
|
document.getElementById(frameId).attachEvent('onload', uploadCallback); |
||||
|
} |
||||
|
else{ |
||||
|
document.getElementById(frameId).addEventListener('load', uploadCallback, false); |
||||
|
} |
||||
|
return {abort: function () {}}; |
||||
|
|
||||
|
}, |
||||
|
|
||||
|
uploadHttpData: function( r, type ) { |
||||
|
var data = !type; |
||||
|
data = type == "xml" || data ? r.responseXML : r.responseText; |
||||
|
// If the type is "script", eval it in global context
|
||||
|
if ( type == "script" ) |
||||
|
jQuery.globalEval( data ); |
||||
|
// Get the JavaScript object, if JSON is used.
|
||||
|
if ( type == "json" ) |
||||
|
eval( "data = " + data ); |
||||
|
// evaluate scripts within html
|
||||
|
if ( type == "html" ) |
||||
|
jQuery("<div>").html(data).evalScripts(); |
||||
|
//alert($('param', data).each(function(){alert($(this).attr('value'));}));
|
||||
|
return data; |
||||
|
} |
||||
|
}) |
||||
|
|
@ -0,0 +1,49 @@ |
|||||
|
/* |
||||
|
* jQuery UI Effects Blind 1.7 |
||||
|
* |
||||
|
* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
|
||||
|
* Dual licensed under the MIT (MIT-LICENSE.txt) |
||||
|
* and GPL (GPL-LICENSE.txt) licenses. |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Effects/Blind
|
||||
|
* |
||||
|
* Depends: |
||||
|
* effects.core.js |
||||
|
*/ |
||||
|
(function($) { |
||||
|
|
||||
|
$.effects.blind = function(o) { |
||||
|
|
||||
|
return this.queue(function() { |
||||
|
|
||||
|
// Create element
|
||||
|
var el = $(this), props = ['position','top','left']; |
||||
|
|
||||
|
// Set options
|
||||
|
var mode = $.effects.setMode(el, o.options.mode || 'hide'); // Set Mode
|
||||
|
var direction = o.options.direction || 'vertical'; // Default direction
|
||||
|
|
||||
|
// Adjust
|
||||
|
$.effects.save(el, props); el.show(); // Save & Show
|
||||
|
var wrapper = $.effects.createWrapper(el).css({overflow:'hidden'}); // Create Wrapper
|
||||
|
var ref = (direction == 'vertical') ? 'height' : 'width'; |
||||
|
var distance = (direction == 'vertical') ? wrapper.height() : wrapper.width(); |
||||
|
if(mode == 'show') wrapper.css(ref, 0); // Shift
|
||||
|
|
||||
|
// Animation
|
||||
|
var animation = {}; |
||||
|
animation[ref] = mode == 'show' ? distance : 0; |
||||
|
|
||||
|
// Animate
|
||||
|
wrapper.animate(animation, o.duration, o.options.easing, function() { |
||||
|
if(mode == 'hide') el.hide(); // Hide
|
||||
|
$.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
|
||||
|
if(o.callback) o.callback.apply(el[0], arguments); // Callback
|
||||
|
el.dequeue(); |
||||
|
}); |
||||
|
|
||||
|
}); |
||||
|
|
||||
|
}; |
||||
|
|
||||
|
})(jQuery); |
@ -0,0 +1,78 @@ |
|||||
|
/* |
||||
|
* jQuery UI Effects Bounce 1.7 |
||||
|
* |
||||
|
* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
|
||||
|
* Dual licensed under the MIT (MIT-LICENSE.txt) |
||||
|
* and GPL (GPL-LICENSE.txt) licenses. |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Effects/Bounce
|
||||
|
* |
||||
|
* Depends: |
||||
|
* effects.core.js |
||||
|
*/ |
||||
|
(function($) { |
||||
|
|
||||
|
$.effects.bounce = function(o) { |
||||
|
|
||||
|
return this.queue(function() { |
||||
|
|
||||
|
// Create element
|
||||
|
var el = $(this), props = ['position','top','left']; |
||||
|
|
||||
|
// Set options
|
||||
|
var mode = $.effects.setMode(el, o.options.mode || 'effect'); // Set Mode
|
||||
|
var direction = o.options.direction || 'up'; // Default direction
|
||||
|
var distance = o.options.distance || 20; // Default distance
|
||||
|
var times = o.options.times || 5; // Default # of times
|
||||
|
var speed = o.duration || 250; // Default speed per bounce
|
||||
|
if (/show|hide/.test(mode)) props.push('opacity'); // Avoid touching opacity to prevent clearType and PNG issues in IE
|
||||
|
|
||||
|
// Adjust
|
||||
|
$.effects.save(el, props); el.show(); // Save & Show
|
||||
|
$.effects.createWrapper(el); // Create Wrapper
|
||||
|
var ref = (direction == 'up' || direction == 'down') ? 'top' : 'left'; |
||||
|
var motion = (direction == 'up' || direction == 'left') ? 'pos' : 'neg'; |
||||
|
var distance = o.options.distance || (ref == 'top' ? el.outerHeight({margin:true}) / 3 : el.outerWidth({margin:true}) / 3); |
||||
|
if (mode == 'show') el.css('opacity', 0).css(ref, motion == 'pos' ? -distance : distance); // Shift
|
||||
|
if (mode == 'hide') distance = distance / (times * 2); |
||||
|
if (mode != 'hide') times--; |
||||
|
|
||||
|
// Animate
|
||||
|
if (mode == 'show') { // Show Bounce
|
||||
|
var animation = {opacity: 1}; |
||||
|
animation[ref] = (motion == 'pos' ? '+=' : '-=') + distance; |
||||
|
el.animate(animation, speed / 2, o.options.easing); |
||||
|
distance = distance / 2; |
||||
|
times--; |
||||
|
}; |
||||
|
for (var i = 0; i < times; i++) { // Bounces
|
||||
|
var animation1 = {}, animation2 = {}; |
||||
|
animation1[ref] = (motion == 'pos' ? '-=' : '+=') + distance; |
||||
|
animation2[ref] = (motion == 'pos' ? '+=' : '-=') + distance; |
||||
|
el.animate(animation1, speed / 2, o.options.easing).animate(animation2, speed / 2, o.options.easing); |
||||
|
distance = (mode == 'hide') ? distance * 2 : distance / 2; |
||||
|
}; |
||||
|
if (mode == 'hide') { // Last Bounce
|
||||
|
var animation = {opacity: 0}; |
||||
|
animation[ref] = (motion == 'pos' ? '-=' : '+=') + distance; |
||||
|
el.animate(animation, speed / 2, o.options.easing, function(){ |
||||
|
el.hide(); // Hide
|
||||
|
$.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
|
||||
|
if(o.callback) o.callback.apply(this, arguments); // Callback
|
||||
|
}); |
||||
|
} else { |
||||
|
var animation1 = {}, animation2 = {}; |
||||
|
animation1[ref] = (motion == 'pos' ? '-=' : '+=') + distance; |
||||
|
animation2[ref] = (motion == 'pos' ? '+=' : '-=') + distance; |
||||
|
el.animate(animation1, speed / 2, o.options.easing).animate(animation2, speed / 2, o.options.easing, function(){ |
||||
|
$.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
|
||||
|
if(o.callback) o.callback.apply(this, arguments); // Callback
|
||||
|
}); |
||||
|
}; |
||||
|
el.queue('fx', function() { el.dequeue(); }); |
||||
|
el.dequeue(); |
||||
|
}); |
||||
|
|
||||
|
}; |
||||
|
|
||||
|
})(jQuery); |
@ -0,0 +1,54 @@ |
|||||
|
/* |
||||
|
* jQuery UI Effects Clip 1.7 |
||||
|
* |
||||
|
* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
|
||||
|
* Dual licensed under the MIT (MIT-LICENSE.txt) |
||||
|
* and GPL (GPL-LICENSE.txt) licenses. |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Effects/Clip
|
||||
|
* |
||||
|
* Depends: |
||||
|
* effects.core.js |
||||
|
*/ |
||||
|
(function($) { |
||||
|
|
||||
|
$.effects.clip = function(o) { |
||||
|
|
||||
|
return this.queue(function() { |
||||
|
|
||||
|
// Create element
|
||||
|
var el = $(this), props = ['position','top','left','height','width']; |
||||
|
|
||||
|
// Set options
|
||||
|
var mode = $.effects.setMode(el, o.options.mode || 'hide'); // Set Mode
|
||||
|
var direction = o.options.direction || 'vertical'; // Default direction
|
||||
|
|
||||
|
// Adjust
|
||||
|
$.effects.save(el, props); el.show(); // Save & Show
|
||||
|
var wrapper = $.effects.createWrapper(el).css({overflow:'hidden'}); // Create Wrapper
|
||||
|
var animate = el[0].tagName == 'IMG' ? wrapper : el; |
||||
|
var ref = { |
||||
|
size: (direction == 'vertical') ? 'height' : 'width', |
||||
|
position: (direction == 'vertical') ? 'top' : 'left' |
||||
|
}; |
||||
|
var distance = (direction == 'vertical') ? animate.height() : animate.width(); |
||||
|
if(mode == 'show') { animate.css(ref.size, 0); animate.css(ref.position, distance / 2); } // Shift
|
||||
|
|
||||
|
// Animation
|
||||
|
var animation = {}; |
||||
|
animation[ref.size] = mode == 'show' ? distance : 0; |
||||
|
animation[ref.position] = mode == 'show' ? 0 : distance / 2; |
||||
|
|
||||
|
// Animate
|
||||
|
animate.animate(animation, { queue: false, duration: o.duration, easing: o.options.easing, complete: function() { |
||||
|
if(mode == 'hide') el.hide(); // Hide
|
||||
|
$.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
|
||||
|
if(o.callback) o.callback.apply(el[0], arguments); // Callback
|
||||
|
el.dequeue(); |
||||
|
}}); |
||||
|
|
||||
|
}); |
||||
|
|
||||
|
}; |
||||
|
|
||||
|
})(jQuery); |
@ -0,0 +1,543 @@ |
|||||
|
/* |
||||
|
* jQuery UI Effects 1.7 |
||||
|
* |
||||
|
* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
|
||||
|
* Dual licensed under the MIT (MIT-LICENSE.txt) |
||||
|
* and GPL (GPL-LICENSE.txt) licenses. |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Effects/
|
||||
|
*/ |
||||
|
;jQuery.effects || (function($) { |
||||
|
|
||||
|
$.effects = { |
||||
|
version: "1.7", |
||||
|
|
||||
|
// Saves a set of properties in a data storage
|
||||
|
save: function(element, set) { |
||||
|
for(var i=0; i < set.length; i++) { |
||||
|
if(set[i] !== null) element.data("ec.storage."+set[i], element[0].style[set[i]]); |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
// Restores a set of previously saved properties from a data storage
|
||||
|
restore: function(element, set) { |
||||
|
for(var i=0; i < set.length; i++) { |
||||
|
if(set[i] !== null) element.css(set[i], element.data("ec.storage."+set[i])); |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
setMode: function(el, mode) { |
||||
|
if (mode == 'toggle') mode = el.is(':hidden') ? 'show' : 'hide'; // Set for toggle
|
||||
|
return mode; |
||||
|
}, |
||||
|
|
||||
|
getBaseline: function(origin, original) { // Translates a [top,left] array into a baseline value
|
||||
|
// this should be a little more flexible in the future to handle a string & hash
|
||||
|
var y, x; |
||||
|
switch (origin[0]) { |
||||
|
case 'top': y = 0; break; |
||||
|
case 'middle': y = 0.5; break; |
||||
|
case 'bottom': y = 1; break; |
||||
|
default: y = origin[0] / original.height; |
||||
|
}; |
||||
|
switch (origin[1]) { |
||||
|
case 'left': x = 0; break; |
||||
|
case 'center': x = 0.5; break; |
||||
|
case 'right': x = 1; break; |
||||
|
default: x = origin[1] / original.width; |
||||
|
}; |
||||
|
return {x: x, y: y}; |
||||
|
}, |
||||
|
|
||||
|
// Wraps the element around a wrapper that copies position properties
|
||||
|
createWrapper: function(element) { |
||||
|
|
||||
|
//if the element is already wrapped, return it
|
||||
|
if (element.parent().is('.ui-effects-wrapper')) |
||||
|
return element.parent(); |
||||
|
|
||||
|
//Cache width,height and float properties of the element, and create a wrapper around it
|
||||
|
var props = { width: element.outerWidth(true), height: element.outerHeight(true), 'float': element.css('float') }; |
||||
|
element.wrap('<div class="ui-effects-wrapper" style="font-size:100%;background:transparent;border:none;margin:0;padding:0"></div>'); |
||||
|
var wrapper = element.parent(); |
||||
|
|
||||
|
//Transfer the positioning of the element to the wrapper
|
||||
|
if (element.css('position') == 'static') { |
||||
|
wrapper.css({ position: 'relative' }); |
||||
|
element.css({ position: 'relative'} ); |
||||
|
} else { |
||||
|
var top = element.css('top'); if(isNaN(parseInt(top,10))) top = 'auto'; |
||||
|
var left = element.css('left'); if(isNaN(parseInt(left,10))) left = 'auto'; |
||||
|
wrapper.css({ position: element.css('position'), top: top, left: left, zIndex: element.css('z-index') }).show(); |
||||
|
element.css({position: 'relative', top: 0, left: 0 }); |
||||
|
} |
||||
|
|
||||
|
wrapper.css(props); |
||||
|
return wrapper; |
||||
|
}, |
||||
|
|
||||
|
removeWrapper: function(element) { |
||||
|
if (element.parent().is('.ui-effects-wrapper')) |
||||
|
return element.parent().replaceWith(element); |
||||
|
return element; |
||||
|
}, |
||||
|
|
||||
|
setTransition: function(element, list, factor, value) { |
||||
|
value = value || {}; |
||||
|
$.each(list, function(i, x){ |
||||
|
unit = element.cssUnit(x); |
||||
|
if (unit[0] > 0) value[x] = unit[0] * factor + unit[1]; |
||||
|
}); |
||||
|
return value; |
||||
|
}, |
||||
|
|
||||
|
//Base function to animate from one class to another in a seamless transition
|
||||
|
animateClass: function(value, duration, easing, callback) { |
||||
|
|
||||
|
var cb = (typeof easing == "function" ? easing : (callback ? callback : null)); |
||||
|
var ea = (typeof easing == "string" ? easing : null); |
||||
|
|
||||
|
return this.each(function() { |
||||
|
|
||||
|
var offset = {}; var that = $(this); var oldStyleAttr = that.attr("style") || ''; |
||||
|
if(typeof oldStyleAttr == 'object') oldStyleAttr = oldStyleAttr["cssText"]; /* Stupidly in IE, style is a object.. */ |
||||
|
if(value.toggle) { that.hasClass(value.toggle) ? value.remove = value.toggle : value.add = value.toggle; } |
||||
|
|
||||
|
//Let's get a style offset
|
||||
|
var oldStyle = $.extend({}, (document.defaultView ? document.defaultView.getComputedStyle(this,null) : this.currentStyle)); |
||||
|
if(value.add) that.addClass(value.add); if(value.remove) that.removeClass(value.remove); |
||||
|
var newStyle = $.extend({}, (document.defaultView ? document.defaultView.getComputedStyle(this,null) : this.currentStyle)); |
||||
|
if(value.add) that.removeClass(value.add); if(value.remove) that.addClass(value.remove); |
||||
|
|
||||
|
// The main function to form the object for animation
|
||||
|
for(var n in newStyle) { |
||||
|
if( typeof newStyle[n] != "function" && newStyle[n] /* No functions and null properties */ |
||||
|
&& n.indexOf("Moz") == -1 && n.indexOf("length") == -1 /* No mozilla spezific render properties. */ |
||||
|
&& newStyle[n] != oldStyle[n] /* Only values that have changed are used for the animation */ |
||||
|
&& (n.match(/color/i) || (!n.match(/color/i) && !isNaN(parseInt(newStyle[n],10)))) /* Only things that can be parsed to integers or colors */ |
||||
|
&& (oldStyle.position != "static" || (oldStyle.position == "static" && !n.match(/left|top|bottom|right/))) /* No need for positions when dealing with static positions */ |
||||
|
) offset[n] = newStyle[n]; |
||||
|
} |
||||
|
|
||||
|
that.animate(offset, duration, ea, function() { // Animate the newly constructed offset object
|
||||
|
// Change style attribute back to original. For stupid IE, we need to clear the damn object.
|
||||
|
if(typeof $(this).attr("style") == 'object') { $(this).attr("style")["cssText"] = ""; $(this).attr("style")["cssText"] = oldStyleAttr; } else $(this).attr("style", oldStyleAttr); |
||||
|
if(value.add) $(this).addClass(value.add); if(value.remove) $(this).removeClass(value.remove); |
||||
|
if(cb) cb.apply(this, arguments); |
||||
|
}); |
||||
|
|
||||
|
}); |
||||
|
} |
||||
|
}; |
||||
|
|
||||
|
|
||||
|
function _normalizeArguments(a, m) { |
||||
|
|
||||
|
var o = a[1] && a[1].constructor == Object ? a[1] : {}; if(m) o.mode = m; |
||||
|
var speed = a[1] && a[1].constructor != Object ? a[1] : (o.duration ? o.duration : a[2]); //either comes from options.duration or the secon/third argument
|
||||
|
speed = $.fx.off ? 0 : typeof speed === "number" ? speed : $.fx.speeds[speed] || $.fx.speeds._default; |
||||
|
var callback = o.callback || ( $.isFunction(a[1]) && a[1] ) || ( $.isFunction(a[2]) && a[2] ) || ( $.isFunction(a[3]) && a[3] ); |
||||
|
|
||||
|
return [a[0], o, speed, callback]; |
||||
|
|
||||
|
} |
||||
|
|
||||
|
//Extend the methods of jQuery
|
||||
|
$.fn.extend({ |
||||
|
|
||||
|
//Save old methods
|
||||
|
_show: $.fn.show, |
||||
|
_hide: $.fn.hide, |
||||
|
__toggle: $.fn.toggle, |
||||
|
_addClass: $.fn.addClass, |
||||
|
_removeClass: $.fn.removeClass, |
||||
|
_toggleClass: $.fn.toggleClass, |
||||
|
|
||||
|
// New effect methods
|
||||
|
effect: function(fx, options, speed, callback) { |
||||
|
return $.effects[fx] ? $.effects[fx].call(this, {method: fx, options: options || {}, duration: speed, callback: callback }) : null; |
||||
|
}, |
||||
|
|
||||
|
show: function() { |
||||
|
if(!arguments[0] || (arguments[0].constructor == Number || (/(slow|normal|fast)/).test(arguments[0]))) |
||||
|
return this._show.apply(this, arguments); |
||||
|
else { |
||||
|
return this.effect.apply(this, _normalizeArguments(arguments, 'show')); |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
hide: function() { |
||||
|
if(!arguments[0] || (arguments[0].constructor == Number || (/(slow|normal|fast)/).test(arguments[0]))) |
||||
|
return this._hide.apply(this, arguments); |
||||
|
else { |
||||
|
return this.effect.apply(this, _normalizeArguments(arguments, 'hide')); |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
toggle: function(){ |
||||
|
if(!arguments[0] || (arguments[0].constructor == Number || (/(slow|normal|fast)/).test(arguments[0])) || (arguments[0].constructor == Function)) |
||||
|
return this.__toggle.apply(this, arguments); |
||||
|
else { |
||||
|
return this.effect.apply(this, _normalizeArguments(arguments, 'toggle')); |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
addClass: function(classNames, speed, easing, callback) { |
||||
|
return speed ? $.effects.animateClass.apply(this, [{ add: classNames },speed,easing,callback]) : this._addClass(classNames); |
||||
|
}, |
||||
|
removeClass: function(classNames,speed,easing,callback) { |
||||
|
return speed ? $.effects.animateClass.apply(this, [{ remove: classNames },speed,easing,callback]) : this._removeClass(classNames); |
||||
|
}, |
||||
|
toggleClass: function(classNames,speed,easing,callback) { |
||||
|
return ( (typeof speed !== "boolean") && speed ) ? $.effects.animateClass.apply(this, [{ toggle: classNames },speed,easing,callback]) : this._toggleClass(classNames, speed); |
||||
|
}, |
||||
|
morph: function(remove,add,speed,easing,callback) { |
||||
|
return $.effects.animateClass.apply(this, [{ add: add, remove: remove },speed,easing,callback]); |
||||
|
}, |
||||
|
switchClass: function() { |
||||
|
return this.morph.apply(this, arguments); |
||||
|
}, |
||||
|
|
||||
|
// helper functions
|
||||
|
cssUnit: function(key) { |
||||
|
var style = this.css(key), val = []; |
||||
|
$.each( ['em','px','%','pt'], function(i, unit){ |
||||
|
if(style.indexOf(unit) > 0) |
||||
|
val = [parseFloat(style), unit]; |
||||
|
}); |
||||
|
return val; |
||||
|
} |
||||
|
}); |
||||
|
|
||||
|
/* |
||||
|
* jQuery Color Animations |
||||
|
* Copyright 2007 John Resig |
||||
|
* Released under the MIT and GPL licenses. |
||||
|
*/ |
||||
|
|
||||
|
// We override the animation for all of these color styles
|
||||
|
$.each(['backgroundColor', 'borderBottomColor', 'borderLeftColor', 'borderRightColor', 'borderTopColor', 'color', 'outlineColor'], function(i,attr){ |
||||
|
$.fx.step[attr] = function(fx) { |
||||
|
if ( fx.state == 0 ) { |
||||
|
fx.start = getColor( fx.elem, attr ); |
||||
|
fx.end = getRGB( fx.end ); |
||||
|
} |
||||
|
|
||||
|
fx.elem.style[attr] = "rgb(" + [ |
||||
|
Math.max(Math.min( parseInt((fx.pos * (fx.end[0] - fx.start[0])) + fx.start[0],10), 255), 0), |
||||
|
Math.max(Math.min( parseInt((fx.pos * (fx.end[1] - fx.start[1])) + fx.start[1],10), 255), 0), |
||||
|
Math.max(Math.min( parseInt((fx.pos * (fx.end[2] - fx.start[2])) + fx.start[2],10), 255), 0) |
||||
|
].join(",") + ")"; |
||||
|
}; |
||||
|
}); |
||||
|
|
||||
|
// Color Conversion functions from highlightFade
|
||||
|
// By Blair Mitchelmore
|
||||
|
// http://jquery.offput.ca/highlightFade/
|
||||
|
|
||||
|
// Parse strings looking for color tuples [255,255,255]
|
||||
|
function getRGB(color) { |
||||
|
var result; |
||||
|
|
||||
|
// Check if we're already dealing with an array of colors
|
||||
|
if ( color && color.constructor == Array && color.length == 3 ) |
||||
|
return color; |
||||
|
|
||||
|
// Look for rgb(num,num,num)
|
||||
|
if (result = /rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(color)) |
||||
|
return [parseInt(result[1],10), parseInt(result[2],10), parseInt(result[3],10)]; |
||||
|
|
||||
|
// Look for rgb(num%,num%,num%)
|
||||
|
if (result = /rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(color)) |
||||
|
return [parseFloat(result[1])*2.55, parseFloat(result[2])*2.55, parseFloat(result[3])*2.55]; |
||||
|
|
||||
|
// Look for #a0b1c2
|
||||
|
if (result = /#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(color)) |
||||
|
return [parseInt(result[1],16), parseInt(result[2],16), parseInt(result[3],16)]; |
||||
|
|
||||
|
// Look for #fff
|
||||
|
if (result = /#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(color)) |
||||
|
return [parseInt(result[1]+result[1],16), parseInt(result[2]+result[2],16), parseInt(result[3]+result[3],16)]; |
||||
|
|
||||
|
// Look for rgba(0, 0, 0, 0) == transparent in Safari 3
|
||||
|
if (result = /rgba\(0, 0, 0, 0\)/.exec(color)) |
||||
|
return colors['transparent']; |
||||
|
|
||||
|
// Otherwise, we're most likely dealing with a named color
|
||||
|
return colors[$.trim(color).toLowerCase()]; |
||||
|
} |
||||
|
|
||||
|
function getColor(elem, attr) { |
||||
|
var color; |
||||
|
|
||||
|
do { |
||||
|
color = $.curCSS(elem, attr); |
||||
|
|
||||
|
// Keep going until we find an element that has color, or we hit the body
|
||||
|
if ( color != '' && color != 'transparent' || $.nodeName(elem, "body") ) |
||||
|
break; |
||||
|
|
||||
|
attr = "backgroundColor"; |
||||
|
} while ( elem = elem.parentNode ); |
||||
|
|
||||
|
return getRGB(color); |
||||
|
}; |
||||
|
|
||||
|
// Some named colors to work with
|
||||
|
// From Interface by Stefan Petre
|
||||
|
// http://interface.eyecon.ro/
|
||||
|
|
||||
|
var colors = { |
||||
|
aqua:[0,255,255], |
||||
|
azure:[240,255,255], |
||||
|
beige:[245,245,220], |
||||
|
black:[0,0,0], |
||||
|
blue:[0,0,255], |
||||
|
brown:[165,42,42], |
||||
|
cyan:[0,255,255], |
||||
|
darkblue:[0,0,139], |
||||
|
darkcyan:[0,139,139], |
||||
|
darkgrey:[169,169,169], |
||||
|
darkgreen:[0,100,0], |
||||
|
darkkhaki:[189,183,107], |
||||
|
darkmagenta:[139,0,139], |
||||
|
darkolivegreen:[85,107,47], |
||||
|
darkorange:[255,140,0], |
||||
|
darkorchid:[153,50,204], |
||||
|
darkred:[139,0,0], |
||||
|
darksalmon:[233,150,122], |
||||
|
darkviolet:[148,0,211], |
||||
|
fuchsia:[255,0,255], |
||||
|
gold:[255,215,0], |
||||
|
green:[0,128,0], |
||||
|
indigo:[75,0,130], |
||||
|
khaki:[240,230,140], |
||||
|
lightblue:[173,216,230], |
||||
|
lightcyan:[224,255,255], |
||||
|
lightgreen:[144,238,144], |
||||
|
lightgrey:[211,211,211], |
||||
|
lightpink:[255,182,193], |
||||
|
lightyellow:[255,255,224], |
||||
|
lime:[0,255,0], |
||||
|
magenta:[255,0,255], |
||||
|
maroon:[128,0,0], |
||||
|
navy:[0,0,128], |
||||
|
olive:[128,128,0], |
||||
|
orange:[255,165,0], |
||||
|
pink:[255,192,203], |
||||
|
purple:[128,0,128], |
||||
|
violet:[128,0,128], |
||||
|
red:[255,0,0], |
||||
|
silver:[192,192,192], |
||||
|
white:[255,255,255], |
||||
|
yellow:[255,255,0], |
||||
|
transparent: [255,255,255] |
||||
|
}; |
||||
|
|
||||
|
/* |
||||
|
* jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
|
||||
|
* |
||||
|
* Uses the built in easing capabilities added In jQuery 1.1 |
||||
|
* to offer multiple easing options |
||||
|
* |
||||
|
* TERMS OF USE - jQuery Easing |
||||
|
* |
||||
|
* Open source under the BSD License. |
||||
|
* |
||||
|
* Copyright 2008 George McGinley Smith |
||||
|
* All rights reserved. |
||||
|
* |
||||
|
* Redistribution and use in source and binary forms, with or without modification, |
||||
|
* are permitted provided that the following conditions are met: |
||||
|
* |
||||
|
* Redistributions of source code must retain the above copyright notice, this list of |
||||
|
* conditions and the following disclaimer. |
||||
|
* Redistributions in binary form must reproduce the above copyright notice, this list |
||||
|
* of conditions and the following disclaimer in the documentation and/or other materials |
||||
|
* provided with the distribution. |
||||
|
* |
||||
|
* Neither the name of the author nor the names of contributors may be used to endorse |
||||
|
* or promote products derived from this software without specific prior written permission. |
||||
|
* |
||||
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY |
||||
|
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
||||
|
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE |
||||
|
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
||||
|
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE |
||||
|
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
||||
|
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
||||
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
||||
|
* OF THE POSSIBILITY OF SUCH DAMAGE. |
||||
|
* |
||||
|
*/ |
||||
|
|
||||
|
// t: current time, b: begInnIng value, c: change In value, d: duration
|
||||
|
$.easing.jswing = $.easing.swing; |
||||
|
|
||||
|
$.extend($.easing, |
||||
|
{ |
||||
|
def: 'easeOutQuad', |
||||
|
swing: function (x, t, b, c, d) { |
||||
|
//alert($.easing.default);
|
||||
|
return $.easing[$.easing.def](x, t, b, c, d); |
||||
|
}, |
||||
|
easeInQuad: function (x, t, b, c, d) { |
||||
|
return c*(t/=d)*t + b; |
||||
|
}, |
||||
|
easeOutQuad: function (x, t, b, c, d) { |
||||
|
return -c *(t/=d)*(t-2) + b; |
||||
|
}, |
||||
|
easeInOutQuad: function (x, t, b, c, d) { |
||||
|
if ((t/=d/2) < 1) return c/2*t*t + b; |
||||
|
return -c/2 * ((--t)*(t-2) - 1) + b; |
||||
|
}, |
||||
|
easeInCubic: function (x, t, b, c, d) { |
||||
|
return c*(t/=d)*t*t + b; |
||||
|
}, |
||||
|
easeOutCubic: function (x, t, b, c, d) { |
||||
|
return c*((t=t/d-1)*t*t + 1) + b; |
||||
|
}, |
||||
|
easeInOutCubic: function (x, t, b, c, d) { |
||||
|
if ((t/=d/2) < 1) return c/2*t*t*t + b; |
||||
|
return c/2*((t-=2)*t*t + 2) + b; |
||||
|
}, |
||||
|
easeInQuart: function (x, t, b, c, d) { |
||||
|
return c*(t/=d)*t*t*t + b; |
||||
|
}, |
||||
|
easeOutQuart: function (x, t, b, c, d) { |
||||
|
return -c * ((t=t/d-1)*t*t*t - 1) + b; |
||||
|
}, |
||||
|
easeInOutQuart: function (x, t, b, c, d) { |
||||
|
if ((t/=d/2) < 1) return c/2*t*t*t*t + b; |
||||
|
return -c/2 * ((t-=2)*t*t*t - 2) + b; |
||||
|
}, |
||||
|
easeInQuint: function (x, t, b, c, d) { |
||||
|
return c*(t/=d)*t*t*t*t + b; |
||||
|
}, |
||||
|
easeOutQuint: function (x, t, b, c, d) { |
||||
|
return c*((t=t/d-1)*t*t*t*t + 1) + b; |
||||
|
}, |
||||
|
easeInOutQuint: function (x, t, b, c, d) { |
||||
|
if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b; |
||||
|
return c/2*((t-=2)*t*t*t*t + 2) + b; |
||||
|
}, |
||||
|
easeInSine: function (x, t, b, c, d) { |
||||
|
return -c * Math.cos(t/d * (Math.PI/2)) + c + b; |
||||
|
}, |
||||
|
easeOutSine: function (x, t, b, c, d) { |
||||
|
return c * Math.sin(t/d * (Math.PI/2)) + b; |
||||
|
}, |
||||
|
easeInOutSine: function (x, t, b, c, d) { |
||||
|
return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b; |
||||
|
}, |
||||
|
easeInExpo: function (x, t, b, c, d) { |
||||
|
return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b; |
||||
|
}, |
||||
|
easeOutExpo: function (x, t, b, c, d) { |
||||
|
return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b; |
||||
|
}, |
||||
|
easeInOutExpo: function (x, t, b, c, d) { |
||||
|
if (t==0) return b; |
||||
|
if (t==d) return b+c; |
||||
|
if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b; |
||||
|
return c/2 * (-Math.pow(2, -10 * --t) + 2) + b; |
||||
|
}, |
||||
|
easeInCirc: function (x, t, b, c, d) { |
||||
|
return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b; |
||||
|
}, |
||||
|
easeOutCirc: function (x, t, b, c, d) { |
||||
|
return c * Math.sqrt(1 - (t=t/d-1)*t) + b; |
||||
|
}, |
||||
|
easeInOutCirc: function (x, t, b, c, d) { |
||||
|
if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b; |
||||
|
return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b; |
||||
|
}, |
||||
|
easeInElastic: function (x, t, b, c, d) { |
||||
|
var s=1.70158;var p=0;var a=c; |
||||
|
if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3; |
||||
|
if (a < Math.abs(c)) { a=c; var s=p/4; } |
||||
|
else var s = p/(2*Math.PI) * Math.asin (c/a); |
||||
|
return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; |
||||
|
}, |
||||
|
easeOutElastic: function (x, t, b, c, d) { |
||||
|
var s=1.70158;var p=0;var a=c; |
||||
|
if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3; |
||||
|
if (a < Math.abs(c)) { a=c; var s=p/4; } |
||||
|
else var s = p/(2*Math.PI) * Math.asin (c/a); |
||||
|
return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b; |
||||
|
}, |
||||
|
easeInOutElastic: function (x, t, b, c, d) { |
||||
|
var s=1.70158;var p=0;var a=c; |
||||
|
if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) p=d*(.3*1.5); |
||||
|
if (a < Math.abs(c)) { a=c; var s=p/4; } |
||||
|
else var s = p/(2*Math.PI) * Math.asin (c/a); |
||||
|
if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; |
||||
|
return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b; |
||||
|
}, |
||||
|
easeInBack: function (x, t, b, c, d, s) { |
||||
|
if (s == undefined) s = 1.70158; |
||||
|
return c*(t/=d)*t*((s+1)*t - s) + b; |
||||
|
}, |
||||
|
easeOutBack: function (x, t, b, c, d, s) { |
||||
|
if (s == undefined) s = 1.70158; |
||||
|
return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b; |
||||
|
}, |
||||
|
easeInOutBack: function (x, t, b, c, d, s) { |
||||
|
if (s == undefined) s = 1.70158; |
||||
|
if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b; |
||||
|
return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b; |
||||
|
}, |
||||
|
easeInBounce: function (x, t, b, c, d) { |
||||
|
return c - $.easing.easeOutBounce (x, d-t, 0, c, d) + b; |
||||
|
}, |
||||
|
easeOutBounce: function (x, t, b, c, d) { |
||||
|
if ((t/=d) < (1/2.75)) { |
||||
|
return c*(7.5625*t*t) + b; |
||||
|
} else if (t < (2/2.75)) { |
||||
|
return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b; |
||||
|
} else if (t < (2.5/2.75)) { |
||||
|
return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b; |
||||
|
} else { |
||||
|
return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b; |
||||
|
} |
||||
|
}, |
||||
|
easeInOutBounce: function (x, t, b, c, d) { |
||||
|
if (t < d/2) return $.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b; |
||||
|
return $.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b; |
||||
|
} |
||||
|
}); |
||||
|
|
||||
|
/* |
||||
|
* |
||||
|
* TERMS OF USE - EASING EQUATIONS |
||||
|
* |
||||
|
* Open source under the BSD License. |
||||
|
* |
||||
|
* Copyright 2001 Robert Penner |
||||
|
* All rights reserved. |
||||
|
* |
||||
|
* Redistribution and use in source and binary forms, with or without modification, |
||||
|
* are permitted provided that the following conditions are met: |
||||
|
* |
||||
|
* Redistributions of source code must retain the above copyright notice, this list of |
||||
|
* conditions and the following disclaimer. |
||||
|
* Redistributions in binary form must reproduce the above copyright notice, this list |
||||
|
* of conditions and the following disclaimer in the documentation and/or other materials |
||||
|
* provided with the distribution. |
||||
|
* |
||||
|
* Neither the name of the author nor the names of contributors may be used to endorse |
||||
|
* or promote products derived from this software without specific prior written permission. |
||||
|
* |
||||
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY |
||||
|
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
||||
|
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE |
||||
|
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
||||
|
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE |
||||
|
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
||||
|
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
||||
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
||||
|
* OF THE POSSIBILITY OF SUCH DAMAGE. |
||||
|
* |
||||
|
*/ |
||||
|
|
||||
|
})(jQuery); |
@ -0,0 +1,50 @@ |
|||||
|
/* |
||||
|
* jQuery UI Effects Drop 1.7 |
||||
|
* |
||||
|
* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
|
||||
|
* Dual licensed under the MIT (MIT-LICENSE.txt) |
||||
|
* and GPL (GPL-LICENSE.txt) licenses. |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Effects/Drop
|
||||
|
* |
||||
|
* Depends: |
||||
|
* effects.core.js |
||||
|
*/ |
||||
|
(function($) { |
||||
|
|
||||
|
$.effects.drop = function(o) { |
||||
|
|
||||
|
return this.queue(function() { |
||||
|
|
||||
|
// Create element
|
||||
|
var el = $(this), props = ['position','top','left','opacity']; |
||||
|
|
||||
|
// Set options
|
||||
|
var mode = $.effects.setMode(el, o.options.mode || 'hide'); // Set Mode
|
||||
|
var direction = o.options.direction || 'left'; // Default Direction
|
||||
|
|
||||
|
// Adjust
|
||||
|
$.effects.save(el, props); el.show(); // Save & Show
|
||||
|
$.effects.createWrapper(el); // Create Wrapper
|
||||
|
var ref = (direction == 'up' || direction == 'down') ? 'top' : 'left'; |
||||
|
var motion = (direction == 'up' || direction == 'left') ? 'pos' : 'neg'; |
||||
|
var distance = o.options.distance || (ref == 'top' ? el.outerHeight({margin:true}) / 2 : el.outerWidth({margin:true}) / 2); |
||||
|
if (mode == 'show') el.css('opacity', 0).css(ref, motion == 'pos' ? -distance : distance); // Shift
|
||||
|
|
||||
|
// Animation
|
||||
|
var animation = {opacity: mode == 'show' ? 1 : 0}; |
||||
|
animation[ref] = (mode == 'show' ? (motion == 'pos' ? '+=' : '-=') : (motion == 'pos' ? '-=' : '+=')) + distance; |
||||
|
|
||||
|
// Animate
|
||||
|
el.animate(animation, { queue: false, duration: o.duration, easing: o.options.easing, complete: function() { |
||||
|
if(mode == 'hide') el.hide(); // Hide
|
||||
|
$.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
|
||||
|
if(o.callback) o.callback.apply(this, arguments); // Callback
|
||||
|
el.dequeue(); |
||||
|
}}); |
||||
|
|
||||
|
}); |
||||
|
|
||||
|
}; |
||||
|
|
||||
|
})(jQuery); |
@ -0,0 +1,79 @@ |
|||||
|
/* |
||||
|
* jQuery UI Effects Explode 1.7 |
||||
|
* |
||||
|
* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
|
||||
|
* Dual licensed under the MIT (MIT-LICENSE.txt) |
||||
|
* and GPL (GPL-LICENSE.txt) licenses. |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Effects/Explode
|
||||
|
* |
||||
|
* Depends: |
||||
|
* effects.core.js |
||||
|
*/ |
||||
|
(function($) { |
||||
|
|
||||
|
$.effects.explode = function(o) { |
||||
|
|
||||
|
return this.queue(function() { |
||||
|
|
||||
|
var rows = o.options.pieces ? Math.round(Math.sqrt(o.options.pieces)) : 3; |
||||
|
var cells = o.options.pieces ? Math.round(Math.sqrt(o.options.pieces)) : 3; |
||||
|
|
||||
|
o.options.mode = o.options.mode == 'toggle' ? ($(this).is(':visible') ? 'hide' : 'show') : o.options.mode; |
||||
|
var el = $(this).show().css('visibility', 'hidden'); |
||||
|
var offset = el.offset(); |
||||
|
|
||||
|
//Substract the margins - not fixing the problem yet.
|
||||
|
offset.top -= parseInt(el.css("marginTop"),10) || 0; |
||||
|
offset.left -= parseInt(el.css("marginLeft"),10) || 0; |
||||
|
|
||||
|
var width = el.outerWidth(true); |
||||
|
var height = el.outerHeight(true); |
||||
|
|
||||
|
for(var i=0;i<rows;i++) { // =
|
||||
|
for(var j=0;j<cells;j++) { // ||
|
||||
|
el |
||||
|
.clone() |
||||
|
.appendTo('body') |
||||
|
.wrap('<div></div>') |
||||
|
.css({ |
||||
|
position: 'absolute', |
||||
|
visibility: 'visible', |
||||
|
left: -j*(width/cells), |
||||
|
top: -i*(height/rows) |
||||
|
}) |
||||
|
.parent() |
||||
|
.addClass('ui-effects-explode') |
||||
|
.css({ |
||||
|
position: 'absolute', |
||||
|
overflow: 'hidden', |
||||
|
width: width/cells, |
||||
|
height: height/rows, |
||||
|
left: offset.left + j*(width/cells) + (o.options.mode == 'show' ? (j-Math.floor(cells/2))*(width/cells) : 0), |
||||
|
top: offset.top + i*(height/rows) + (o.options.mode == 'show' ? (i-Math.floor(rows/2))*(height/rows) : 0), |
||||
|
opacity: o.options.mode == 'show' ? 0 : 1 |
||||
|
}).animate({ |
||||
|
left: offset.left + j*(width/cells) + (o.options.mode == 'show' ? 0 : (j-Math.floor(cells/2))*(width/cells)), |
||||
|
top: offset.top + i*(height/rows) + (o.options.mode == 'show' ? 0 : (i-Math.floor(rows/2))*(height/rows)), |
||||
|
opacity: o.options.mode == 'show' ? 1 : 0 |
||||
|
}, o.duration || 500); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
// Set a timeout, to call the callback approx. when the other animations have finished
|
||||
|
setTimeout(function() { |
||||
|
|
||||
|
o.options.mode == 'show' ? el.css({ visibility: 'visible' }) : el.css({ visibility: 'visible' }).hide(); |
||||
|
if(o.callback) o.callback.apply(el[0]); // Callback
|
||||
|
el.dequeue(); |
||||
|
|
||||
|
$('div.ui-effects-explode').remove(); |
||||
|
|
||||
|
}, o.duration || 500); |
||||
|
|
||||
|
|
||||
|
}); |
||||
|
|
||||
|
}; |
||||
|
|
||||
|
})(jQuery); |
@ -0,0 +1,56 @@ |
|||||
|
/* |
||||
|
* jQuery UI Effects Fold 1.7 |
||||
|
* |
||||
|
* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
|
||||
|
* Dual licensed under the MIT (MIT-LICENSE.txt) |
||||
|
* and GPL (GPL-LICENSE.txt) licenses. |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Effects/Fold
|
||||
|
* |
||||
|
* Depends: |
||||
|
* effects.core.js |
||||
|
*/ |
||||
|
(function($) { |
||||
|
|
||||
|
$.effects.fold = function(o) { |
||||
|
|
||||
|
return this.queue(function() { |
||||
|
|
||||
|
// Create element
|
||||
|
var el = $(this), props = ['position','top','left']; |
||||
|
|
||||
|
// Set options
|
||||
|
var mode = $.effects.setMode(el, o.options.mode || 'hide'); // Set Mode
|
||||
|
var size = o.options.size || 15; // Default fold size
|
||||
|
var horizFirst = !(!o.options.horizFirst); // Ensure a boolean value
|
||||
|
var duration = o.duration ? o.duration / 2 : $.fx.speeds._default / 2; |
||||
|
|
||||
|
// Adjust
|
||||
|
$.effects.save(el, props); el.show(); // Save & Show
|
||||
|
var wrapper = $.effects.createWrapper(el).css({overflow:'hidden'}); // Create Wrapper
|
||||
|
var widthFirst = ((mode == 'show') != horizFirst); |
||||
|
var ref = widthFirst ? ['width', 'height'] : ['height', 'width']; |
||||
|
var distance = widthFirst ? [wrapper.width(), wrapper.height()] : [wrapper.height(), wrapper.width()]; |
||||
|
var percent = /([0-9]+)%/.exec(size); |
||||
|
if(percent) size = parseInt(percent[1],10) / 100 * distance[mode == 'hide' ? 0 : 1]; |
||||
|
if(mode == 'show') wrapper.css(horizFirst ? {height: 0, width: size} : {height: size, width: 0}); // Shift
|
||||
|
|
||||
|
// Animation
|
||||
|
var animation1 = {}, animation2 = {}; |
||||
|
animation1[ref[0]] = mode == 'show' ? distance[0] : size; |
||||
|
animation2[ref[1]] = mode == 'show' ? distance[1] : 0; |
||||
|
|
||||
|
// Animate
|
||||
|
wrapper.animate(animation1, duration, o.options.easing) |
||||
|
.animate(animation2, duration, o.options.easing, function() { |
||||
|
if(mode == 'hide') el.hide(); // Hide
|
||||
|
$.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
|
||||
|
if(o.callback) o.callback.apply(el[0], arguments); // Callback
|
||||
|
el.dequeue(); |
||||
|
}); |
||||
|
|
||||
|
}); |
||||
|
|
||||
|
}; |
||||
|
|
||||
|
})(jQuery); |
@ -0,0 +1,48 @@ |
|||||
|
/* |
||||
|
* jQuery UI Effects Highlight 1.7 |
||||
|
* |
||||
|
* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
|
||||
|
* Dual licensed under the MIT (MIT-LICENSE.txt) |
||||
|
* and GPL (GPL-LICENSE.txt) licenses. |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Effects/Highlight
|
||||
|
* |
||||
|
* Depends: |
||||
|
* effects.core.js |
||||
|
*/ |
||||
|
(function($) { |
||||
|
|
||||
|
$.effects.highlight = function(o) { |
||||
|
|
||||
|
return this.queue(function() { |
||||
|
|
||||
|
// Create element
|
||||
|
var el = $(this), props = ['backgroundImage','backgroundColor','opacity']; |
||||
|
|
||||
|
// Set options
|
||||
|
var mode = $.effects.setMode(el, o.options.mode || 'show'); // Set Mode
|
||||
|
var color = o.options.color || "#ffff99"; // Default highlight color
|
||||
|
var oldColor = el.css("backgroundColor"); |
||||
|
|
||||
|
// Adjust
|
||||
|
$.effects.save(el, props); el.show(); // Save & Show
|
||||
|
el.css({backgroundImage: 'none', backgroundColor: color}); // Shift
|
||||
|
|
||||
|
// Animation
|
||||
|
var animation = {backgroundColor: oldColor }; |
||||
|
if (mode == "hide") animation['opacity'] = 0; |
||||
|
|
||||
|
// Animate
|
||||
|
el.animate(animation, { queue: false, duration: o.duration, easing: o.options.easing, complete: function() { |
||||
|
if(mode == "hide") el.hide(); |
||||
|
$.effects.restore(el, props); |
||||
|
if (mode == "show" && $.browser.msie) this.style.removeAttribute('filter'); |
||||
|
if(o.callback) o.callback.apply(this, arguments); |
||||
|
el.dequeue(); |
||||
|
}}); |
||||
|
|
||||
|
}); |
||||
|
|
||||
|
}; |
||||
|
|
||||
|
})(jQuery); |
@ -0,0 +1,56 @@ |
|||||
|
/* |
||||
|
* jQuery UI Effects Pulsate 1.7 |
||||
|
* |
||||
|
* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
|
||||
|
* Dual licensed under the MIT (MIT-LICENSE.txt) |
||||
|
* and GPL (GPL-LICENSE.txt) licenses. |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Effects/Pulsate
|
||||
|
* |
||||
|
* Depends: |
||||
|
* effects.core.js |
||||
|
*/ |
||||
|
(function($) { |
||||
|
|
||||
|
$.effects.pulsate = function(o) { |
||||
|
|
||||
|
return this.queue(function() { |
||||
|
|
||||
|
// Create element
|
||||
|
var el = $(this); |
||||
|
|
||||
|
// Set options
|
||||
|
var mode = $.effects.setMode(el, o.options.mode || 'show'); // Set Mode
|
||||
|
var times = o.options.times || 5; // Default # of times
|
||||
|
var duration = o.duration ? o.duration / 2 : $.fx.speeds._default / 2; |
||||
|
|
||||
|
// Adjust
|
||||
|
if (mode == 'hide') times--; |
||||
|
if (el.is(':hidden')) { // Show fadeIn
|
||||
|
el.css('opacity', 0); |
||||
|
el.show(); // Show
|
||||
|
el.animate({opacity: 1}, duration, o.options.easing); |
||||
|
times = times-2; |
||||
|
} |
||||
|
|
||||
|
// Animate
|
||||
|
for (var i = 0; i < times; i++) { // Pulsate
|
||||
|
el.animate({opacity: 0}, duration, o.options.easing).animate({opacity: 1}, duration, o.options.easing); |
||||
|
}; |
||||
|
if (mode == 'hide') { // Last Pulse
|
||||
|
el.animate({opacity: 0}, duration, o.options.easing, function(){ |
||||
|
el.hide(); // Hide
|
||||
|
if(o.callback) o.callback.apply(this, arguments); // Callback
|
||||
|
}); |
||||
|
} else { |
||||
|
el.animate({opacity: 0}, duration, o.options.easing).animate({opacity: 1}, duration, o.options.easing, function(){ |
||||
|
if(o.callback) o.callback.apply(this, arguments); // Callback
|
||||
|
}); |
||||
|
}; |
||||
|
el.queue('fx', function() { el.dequeue(); }); |
||||
|
el.dequeue(); |
||||
|
}); |
||||
|
|
||||
|
}; |
||||
|
|
||||
|
})(jQuery); |
@ -0,0 +1,180 @@ |
|||||
|
/* |
||||
|
* jQuery UI Effects Scale 1.7 |
||||
|
* |
||||
|
* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
|
||||
|
* Dual licensed under the MIT (MIT-LICENSE.txt) |
||||
|
* and GPL (GPL-LICENSE.txt) licenses. |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Effects/Scale
|
||||
|
* |
||||
|
* Depends: |
||||
|
* effects.core.js |
||||
|
*/ |
||||
|
(function($) { |
||||
|
|
||||
|
$.effects.puff = function(o) { |
||||
|
|
||||
|
return this.queue(function() { |
||||
|
|
||||
|
// Create element
|
||||
|
var el = $(this); |
||||
|
|
||||
|
// Set options
|
||||
|
var options = $.extend(true, {}, o.options); |
||||
|
var mode = $.effects.setMode(el, o.options.mode || 'hide'); // Set Mode
|
||||
|
var percent = parseInt(o.options.percent,10) || 150; // Set default puff percent
|
||||
|
options.fade = true; // It's not a puff if it doesn't fade! :)
|
||||
|
var original = {height: el.height(), width: el.width()}; // Save original
|
||||
|
|
||||
|
// Adjust
|
||||
|
var factor = percent / 100; |
||||
|
el.from = (mode == 'hide') ? original : {height: original.height * factor, width: original.width * factor}; |
||||
|
|
||||
|
// Animation
|
||||
|
options.from = el.from; |
||||
|
options.percent = (mode == 'hide') ? percent : 100; |
||||
|
options.mode = mode; |
||||
|
|
||||
|
// Animate
|
||||
|
el.effect('scale', options, o.duration, o.callback); |
||||
|
el.dequeue(); |
||||
|
}); |
||||
|
|
||||
|
}; |
||||
|
|
||||
|
$.effects.scale = function(o) { |
||||
|
|
||||
|
return this.queue(function() { |
||||
|
|
||||
|
// Create element
|
||||
|
var el = $(this); |
||||
|
|
||||
|
// Set options
|
||||
|
var options = $.extend(true, {}, o.options); |
||||
|
var mode = $.effects.setMode(el, o.options.mode || 'effect'); // Set Mode
|
||||
|
var percent = parseInt(o.options.percent,10) || (parseInt(o.options.percent,10) == 0 ? 0 : (mode == 'hide' ? 0 : 100)); // Set default scaling percent
|
||||
|
var direction = o.options.direction || 'both'; // Set default axis
|
||||
|
var origin = o.options.origin; // The origin of the scaling
|
||||
|
if (mode != 'effect') { // Set default origin and restore for show/hide
|
||||
|
options.origin = origin || ['middle','center']; |
||||
|
options.restore = true; |
||||
|
} |
||||
|
var original = {height: el.height(), width: el.width()}; // Save original
|
||||
|
el.from = o.options.from || (mode == 'show' ? {height: 0, width: 0} : original); // Default from state
|
||||
|
|
||||
|
// Adjust
|
||||
|
var factor = { // Set scaling factor
|
||||
|
y: direction != 'horizontal' ? (percent / 100) : 1, |
||||
|
x: direction != 'vertical' ? (percent / 100) : 1 |
||||
|
}; |
||||
|
el.to = {height: original.height * factor.y, width: original.width * factor.x}; // Set to state
|
||||
|
|
||||
|
if (o.options.fade) { // Fade option to support puff
|
||||
|
if (mode == 'show') {el.from.opacity = 0; el.to.opacity = 1;}; |
||||
|
if (mode == 'hide') {el.from.opacity = 1; el.to.opacity = 0;}; |
||||
|
}; |
||||
|
|
||||
|
// Animation
|
||||
|
options.from = el.from; options.to = el.to; options.mode = mode; |
||||
|
|
||||
|
// Animate
|
||||
|
el.effect('size', options, o.duration, o.callback); |
||||
|
el.dequeue(); |
||||
|
}); |
||||
|
|
||||
|
}; |
||||
|
|
||||
|
$.effects.size = function(o) { |
||||
|
|
||||
|
return this.queue(function() { |
||||
|
|
||||
|
// Create element
|
||||
|
var el = $(this), props = ['position','top','left','width','height','overflow','opacity']; |
||||
|
var props1 = ['position','top','left','overflow','opacity']; // Always restore
|
||||
|
var props2 = ['width','height','overflow']; // Copy for children
|
||||
|
var cProps = ['fontSize']; |
||||
|
var vProps = ['borderTopWidth', 'borderBottomWidth', 'paddingTop', 'paddingBottom']; |
||||
|
var hProps = ['borderLeftWidth', 'borderRightWidth', 'paddingLeft', 'paddingRight']; |
||||
|
|
||||
|
// Set options
|
||||
|
var mode = $.effects.setMode(el, o.options.mode || 'effect'); // Set Mode
|
||||
|
var restore = o.options.restore || false; // Default restore
|
||||
|
var scale = o.options.scale || 'both'; // Default scale mode
|
||||
|
var origin = o.options.origin; // The origin of the sizing
|
||||
|
var original = {height: el.height(), width: el.width()}; // Save original
|
||||
|
el.from = o.options.from || original; // Default from state
|
||||
|
el.to = o.options.to || original; // Default to state
|
||||
|
// Adjust
|
||||
|
if (origin) { // Calculate baseline shifts
|
||||
|
var baseline = $.effects.getBaseline(origin, original); |
||||
|
el.from.top = (original.height - el.from.height) * baseline.y; |
||||
|
el.from.left = (original.width - el.from.width) * baseline.x; |
||||
|
el.to.top = (original.height - el.to.height) * baseline.y; |
||||
|
el.to.left = (original.width - el.to.width) * baseline.x; |
||||
|
}; |
||||
|
var factor = { // Set scaling factor
|
||||
|
from: {y: el.from.height / original.height, x: el.from.width / original.width}, |
||||
|
to: {y: el.to.height / original.height, x: el.to.width / original.width} |
||||
|
}; |
||||
|
if (scale == 'box' || scale == 'both') { // Scale the css box
|
||||
|
if (factor.from.y != factor.to.y) { // Vertical props scaling
|
||||
|
props = props.concat(vProps); |
||||
|
el.from = $.effects.setTransition(el, vProps, factor.from.y, el.from); |
||||
|
el.to = $.effects.setTransition(el, vProps, factor.to.y, el.to); |
||||
|
}; |
||||
|
if (factor.from.x != factor.to.x) { // Horizontal props scaling
|
||||
|
props = props.concat(hProps); |
||||
|
el.from = $.effects.setTransition(el, hProps, factor.from.x, el.from); |
||||
|
el.to = $.effects.setTransition(el, hProps, factor.to.x, el.to); |
||||
|
}; |
||||
|
}; |
||||
|
if (scale == 'content' || scale == 'both') { // Scale the content
|
||||
|
if (factor.from.y != factor.to.y) { // Vertical props scaling
|
||||
|
props = props.concat(cProps); |
||||
|
el.from = $.effects.setTransition(el, cProps, factor.from.y, el.from); |
||||
|
el.to = $.effects.setTransition(el, cProps, factor.to.y, el.to); |
||||
|
}; |
||||
|
}; |
||||
|
$.effects.save(el, restore ? props : props1); el.show(); // Save & Show
|
||||
|
$.effects.createWrapper(el); // Create Wrapper
|
||||
|
el.css('overflow','hidden').css(el.from); // Shift
|
||||
|
|
||||
|
// Animate
|
||||
|
if (scale == 'content' || scale == 'both') { // Scale the children
|
||||
|
vProps = vProps.concat(['marginTop','marginBottom']).concat(cProps); // Add margins/font-size
|
||||
|
hProps = hProps.concat(['marginLeft','marginRight']); // Add margins
|
||||
|
props2 = props.concat(vProps).concat(hProps); // Concat
|
||||
|
el.find("*[width]").each(function(){ |
||||
|
child = $(this); |
||||
|
if (restore) $.effects.save(child, props2); |
||||
|
var c_original = {height: child.height(), width: child.width()}; // Save original
|
||||
|
child.from = {height: c_original.height * factor.from.y, width: c_original.width * factor.from.x}; |
||||
|
child.to = {height: c_original.height * factor.to.y, width: c_original.width * factor.to.x}; |
||||
|
if (factor.from.y != factor.to.y) { // Vertical props scaling
|
||||
|
child.from = $.effects.setTransition(child, vProps, factor.from.y, child.from); |
||||
|
child.to = $.effects.setTransition(child, vProps, factor.to.y, child.to); |
||||
|
}; |
||||
|
if (factor.from.x != factor.to.x) { // Horizontal props scaling
|
||||
|
child.from = $.effects.setTransition(child, hProps, factor.from.x, child.from); |
||||
|
child.to = $.effects.setTransition(child, hProps, factor.to.x, child.to); |
||||
|
}; |
||||
|
child.css(child.from); // Shift children
|
||||
|
child.animate(child.to, o.duration, o.options.easing, function(){ |
||||
|
if (restore) $.effects.restore(child, props2); // Restore children
|
||||
|
}); // Animate children
|
||||
|
}); |
||||
|
}; |
||||
|
|
||||
|
// Animate
|
||||
|
el.animate(el.to, { queue: false, duration: o.duration, easing: o.options.easing, complete: function() { |
||||
|
if(mode == 'hide') el.hide(); // Hide
|
||||
|
$.effects.restore(el, restore ? props : props1); $.effects.removeWrapper(el); // Restore
|
||||
|
if(o.callback) o.callback.apply(this, arguments); // Callback
|
||||
|
el.dequeue(); |
||||
|
}}); |
||||
|
|
||||
|
}); |
||||
|
|
||||
|
}; |
||||
|
|
||||
|
})(jQuery); |
@ -0,0 +1,57 @@ |
|||||
|
/* |
||||
|
* jQuery UI Effects Shake 1.7 |
||||
|
* |
||||
|
* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
|
||||
|
* Dual licensed under the MIT (MIT-LICENSE.txt) |
||||
|
* and GPL (GPL-LICENSE.txt) licenses. |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Effects/Shake
|
||||
|
* |
||||
|
* Depends: |
||||
|
* effects.core.js |
||||
|
*/ |
||||
|
(function($) { |
||||
|
|
||||
|
$.effects.shake = function(o) { |
||||
|
|
||||
|
return this.queue(function() { |
||||
|
|
||||
|
// Create element
|
||||
|
var el = $(this), props = ['position','top','left']; |
||||
|
|
||||
|
// Set options
|
||||
|
var mode = $.effects.setMode(el, o.options.mode || 'effect'); // Set Mode
|
||||
|
var direction = o.options.direction || 'left'; // Default direction
|
||||
|
var distance = o.options.distance || 20; // Default distance
|
||||
|
var times = o.options.times || 3; // Default # of times
|
||||
|
var speed = o.duration || o.options.duration || 140; // Default speed per shake
|
||||
|
|
||||
|
// Adjust
|
||||
|
$.effects.save(el, props); el.show(); // Save & Show
|
||||
|
$.effects.createWrapper(el); // Create Wrapper
|
||||
|
var ref = (direction == 'up' || direction == 'down') ? 'top' : 'left'; |
||||
|
var motion = (direction == 'up' || direction == 'left') ? 'pos' : 'neg'; |
||||
|
|
||||
|
// Animation
|
||||
|
var animation = {}, animation1 = {}, animation2 = {}; |
||||
|
animation[ref] = (motion == 'pos' ? '-=' : '+=') + distance; |
||||
|
animation1[ref] = (motion == 'pos' ? '+=' : '-=') + distance * 2; |
||||
|
animation2[ref] = (motion == 'pos' ? '-=' : '+=') + distance * 2; |
||||
|
|
||||
|
// Animate
|
||||
|
el.animate(animation, speed, o.options.easing); |
||||
|
for (var i = 1; i < times; i++) { // Shakes
|
||||
|
el.animate(animation1, speed, o.options.easing).animate(animation2, speed, o.options.easing); |
||||
|
}; |
||||
|
el.animate(animation1, speed, o.options.easing). |
||||
|
animate(animation, speed / 2, o.options.easing, function(){ // Last shake
|
||||
|
$.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
|
||||
|
if(o.callback) o.callback.apply(this, arguments); // Callback
|
||||
|
}); |
||||
|
el.queue('fx', function() { el.dequeue(); }); |
||||
|
el.dequeue(); |
||||
|
}); |
||||
|
|
||||
|
}; |
||||
|
|
||||
|
})(jQuery); |
@ -0,0 +1,50 @@ |
|||||
|
/* |
||||
|
* jQuery UI Effects Slide 1.7 |
||||
|
* |
||||
|
* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
|
||||
|
* Dual licensed under the MIT (MIT-LICENSE.txt) |
||||
|
* and GPL (GPL-LICENSE.txt) licenses. |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Effects/Slide
|
||||
|
* |
||||
|
* Depends: |
||||
|
* effects.core.js |
||||
|
*/ |
||||
|
(function($) { |
||||
|
|
||||
|
$.effects.slide = function(o) { |
||||
|
|
||||
|
return this.queue(function() { |
||||
|
|
||||
|
// Create element
|
||||
|
var el = $(this), props = ['position','top','left']; |
||||
|
|
||||
|
// Set options
|
||||
|
var mode = $.effects.setMode(el, o.options.mode || 'show'); // Set Mode
|
||||
|
var direction = o.options.direction || 'left'; // Default Direction
|
||||
|
|
||||
|
// Adjust
|
||||
|
$.effects.save(el, props); el.show(); // Save & Show
|
||||
|
$.effects.createWrapper(el).css({overflow:'hidden'}); // Create Wrapper
|
||||
|
var ref = (direction == 'up' || direction == 'down') ? 'top' : 'left'; |
||||
|
var motion = (direction == 'up' || direction == 'left') ? 'pos' : 'neg'; |
||||
|
var distance = o.options.distance || (ref == 'top' ? el.outerHeight({margin:true}) : el.outerWidth({margin:true})); |
||||
|
if (mode == 'show') el.css(ref, motion == 'pos' ? -distance : distance); // Shift
|
||||
|
|
||||
|
// Animation
|
||||
|
var animation = {}; |
||||
|
animation[ref] = (mode == 'show' ? (motion == 'pos' ? '+=' : '-=') : (motion == 'pos' ? '-=' : '+=')) + distance; |
||||
|
|
||||
|
// Animate
|
||||
|
el.animate(animation, { queue: false, duration: o.duration, easing: o.options.easing, complete: function() { |
||||
|
if(mode == 'hide') el.hide(); // Hide
|
||||
|
$.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
|
||||
|
if(o.callback) o.callback.apply(this, arguments); // Callback
|
||||
|
el.dequeue(); |
||||
|
}}); |
||||
|
|
||||
|
}); |
||||
|
|
||||
|
}; |
||||
|
|
||||
|
})(jQuery); |
@ -0,0 +1,45 @@ |
|||||
|
/* |
||||
|
* jQuery UI Effects Transfer 1.7 |
||||
|
* |
||||
|
* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
|
||||
|
* Dual licensed under the MIT (MIT-LICENSE.txt) |
||||
|
* and GPL (GPL-LICENSE.txt) licenses. |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Effects/Transfer
|
||||
|
* |
||||
|
* Depends: |
||||
|
* effects.core.js |
||||
|
*/ |
||||
|
(function($) { |
||||
|
|
||||
|
$.effects.transfer = function(o) { |
||||
|
return this.queue(function() { |
||||
|
var elem = $(this), |
||||
|
target = $(o.options.to), |
||||
|
endPosition = target.offset(), |
||||
|
animation = { |
||||
|
top: endPosition.top, |
||||
|
left: endPosition.left, |
||||
|
height: target.innerHeight(), |
||||
|
width: target.innerWidth() |
||||
|
}, |
||||
|
startPosition = elem.offset(), |
||||
|
transfer = $('<div class="ui-effects-transfer"></div>') |
||||
|
.appendTo(document.body) |
||||
|
.addClass(o.options.className) |
||||
|
.css({ |
||||
|
top: startPosition.top, |
||||
|
left: startPosition.left, |
||||
|
height: elem.innerHeight(), |
||||
|
width: elem.innerWidth(), |
||||
|
position: 'absolute' |
||||
|
}) |
||||
|
.animate(animation, o.duration, o.options.easing, function() { |
||||
|
transfer.remove(); |
||||
|
(o.callback && o.callback.apply(elem[0], arguments)); |
||||
|
elem.dequeue(); |
||||
|
}); |
||||
|
}); |
||||
|
}; |
||||
|
|
||||
|
})(jQuery); |
@ -0,0 +1,762 @@ |
|||||
|
/* Arabic Translation for jQuery UI date picker plugin. */ |
||||
|
/* Khaled Al Horani -- koko.dw@gmail.com */ |
||||
|
/* خالد الحوراني -- koko.dw@gmail.com */ |
||||
|
/* NOTE: monthNames are the original months names and they are the Arabic names, not the new months name فبراير - يناير and there isn't any Arabic roots for these months */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['ar'] = { |
||||
|
closeText: 'إغلاق', |
||||
|
prevText: '<السابق', |
||||
|
nextText: 'التالي>', |
||||
|
currentText: 'اليوم', |
||||
|
monthNames: ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'آذار', 'حزيران', |
||||
|
'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'], |
||||
|
monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'], |
||||
|
dayNames: ['السبت', 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة'], |
||||
|
dayNamesShort: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'], |
||||
|
dayNamesMin: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'], |
||||
|
dateFormat: 'dd/mm/yy', firstDay: 0, |
||||
|
isRTL: true}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['ar']); |
||||
|
});/* Bulgarian initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Stoyan Kyosev (http://svest.org). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['bg'] = { |
||||
|
closeText: 'затвори', |
||||
|
prevText: '<назад', |
||||
|
nextText: 'напред>', |
||||
|
nextBigText: '>>', |
||||
|
currentText: 'днес', |
||||
|
monthNames: ['Януари','Февруари','Март','Април','Май','Юни', |
||||
|
'Юли','Август','Септември','Октомври','Ноември','Декември'], |
||||
|
monthNamesShort: ['Яну','Фев','Мар','Апр','Май','Юни', |
||||
|
'Юли','Авг','Сеп','Окт','Нов','Дек'], |
||||
|
dayNames: ['Неделя','Понеделник','Вторник','Сряда','Четвъртък','Петък','Събота'], |
||||
|
dayNamesShort: ['Нед','Пон','Вто','Сря','Чет','Пет','Съб'], |
||||
|
dayNamesMin: ['Не','По','Вт','Ср','Че','Пе','Съ'], |
||||
|
dateFormat: 'dd.mm.yy', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['bg']); |
||||
|
}); |
||||
|
/* Inicialitzaci� en catal� per a l'extenci� 'calendar' per jQuery. */ |
||||
|
/* Writers: (joan.leon@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['ca'] = { |
||||
|
closeText: 'Tancar', |
||||
|
prevText: '<Ant', |
||||
|
nextText: 'Seg>', |
||||
|
currentText: 'Avui', |
||||
|
monthNames: ['Gener','Febrer','Març','Abril','Maig','Juny', |
||||
|
'Juliol','Agost','Setembre','Octubre','Novembre','Desembre'], |
||||
|
monthNamesShort: ['Gen','Feb','Mar','Abr','Mai','Jun', |
||||
|
'Jul','Ago','Set','Oct','Nov','Des'], |
||||
|
dayNames: ['Diumenge','Dilluns','Dimarts','Dimecres','Dijous','Divendres','Dissabte'], |
||||
|
dayNamesShort: ['Dug','Dln','Dmt','Dmc','Djs','Dvn','Dsb'], |
||||
|
dayNamesMin: ['Dg','Dl','Dt','Dc','Dj','Dv','Ds'], |
||||
|
dateFormat: 'mm/dd/yy', firstDay: 0, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['ca']); |
||||
|
});/* Czech initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Tomas Muller (tomas@tomas-muller.net). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['cs'] = { |
||||
|
closeText: 'Zavřít', |
||||
|
prevText: '<Dříve', |
||||
|
nextText: 'Později>', |
||||
|
currentText: 'Nyní', |
||||
|
monthNames: ['leden','únor','březen','duben','květen','červen', |
||||
|
'červenec','srpen','září','říjen','listopad','prosinec'], |
||||
|
monthNamesShort: ['led','úno','bře','dub','kvě','čer', |
||||
|
'čvc','srp','zář','říj','lis','pro'], |
||||
|
dayNames: ['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota'], |
||||
|
dayNamesShort: ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'], |
||||
|
dayNamesMin: ['ne','po','út','st','čt','pá','so'], |
||||
|
dateFormat: 'dd.mm.yy', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['cs']); |
||||
|
}); |
||||
|
/* Danish initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Jan Christensen ( deletestuff@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['da'] = { |
||||
|
closeText: 'Luk', |
||||
|
prevText: '<Forrige', |
||||
|
nextText: 'Næste>', |
||||
|
currentText: 'Idag', |
||||
|
monthNames: ['Januar','Februar','Marts','April','Maj','Juni', |
||||
|
'Juli','August','September','Oktober','November','December'], |
||||
|
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', |
||||
|
'Jul','Aug','Sep','Okt','Nov','Dec'], |
||||
|
dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'], |
||||
|
dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'], |
||||
|
dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'], |
||||
|
dateFormat: 'dd-mm-yy', firstDay: 0, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['da']); |
||||
|
}); |
||||
|
/* German initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Milian Wolff (mail@milianw.de). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['de'] = { |
||||
|
closeText: 'schließen', |
||||
|
prevText: '<zurück', |
||||
|
nextText: 'Vor>', |
||||
|
currentText: 'heute', |
||||
|
monthNames: ['Januar','Februar','März','April','Mai','Juni', |
||||
|
'Juli','August','September','Oktober','November','Dezember'], |
||||
|
monthNamesShort: ['Jan','Feb','Mär','Apr','Mai','Jun', |
||||
|
'Jul','Aug','Sep','Okt','Nov','Dez'], |
||||
|
dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'], |
||||
|
dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'], |
||||
|
dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'], |
||||
|
dateFormat: 'dd.mm.yy', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['de']); |
||||
|
}); |
||||
|
/* Greek (el) initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Alex Cicovic (http://www.alexcicovic.com) */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['el'] = { |
||||
|
closeText: 'Κλείσιμο', |
||||
|
prevText: 'Προηγούμενος', |
||||
|
nextText: 'Επόμενος', |
||||
|
currentText: 'Τρέχων Μήνας', |
||||
|
monthNames: ['Ιανουάριος','Φεβρουάριος','Μάρτιος','Απρίλιος','Μάιος','Ιούνιος', |
||||
|
'Ιούλιος','Αύγουστος','Σεπτέμβριος','Οκτώβριος','Νοέμβριος','Δεκέμβριος'], |
||||
|
monthNamesShort: ['Ιαν','Φεβ','Μαρ','Απρ','Μαι','Ιουν', |
||||
|
'Ιουλ','Αυγ','Σεπ','Οκτ','Νοε','Δεκ'], |
||||
|
dayNames: ['Κυριακή','Δευτέρα','Τρίτη','Τετάρτη','Πέμπτη','Παρασκευή','Σάββατο'], |
||||
|
dayNamesShort: ['Κυρ','Δευ','Τρι','Τετ','Πεμ','Παρ','Σαβ'], |
||||
|
dayNamesMin: ['Κυ','Δε','Τρ','Τε','Πε','Πα','Σα'], |
||||
|
dateFormat: 'dd/mm/yy', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['el']); |
||||
|
});/* Esperanto initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Olivier M. (olivierweb@ifrance.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['eo'] = { |
||||
|
closeText: 'Fermi', |
||||
|
prevText: '<Anta', |
||||
|
nextText: 'Sekv>', |
||||
|
currentText: 'Nuna', |
||||
|
monthNames: ['Januaro','Februaro','Marto','Aprilo','Majo','Junio', |
||||
|
'Julio','Aŭgusto','Septembro','Oktobro','Novembro','Decembro'], |
||||
|
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', |
||||
|
'Jul','Aŭg','Sep','Okt','Nov','Dec'], |
||||
|
dayNames: ['Dimanĉo','Lundo','Mardo','Merkredo','Ĵaŭdo','Vendredo','Sabato'], |
||||
|
dayNamesShort: ['Dim','Lun','Mar','Mer','Ĵaŭ','Ven','Sab'], |
||||
|
dayNamesMin: ['Di','Lu','Ma','Me','Ĵa','Ve','Sa'], |
||||
|
dateFormat: 'dd/mm/yy', firstDay: 0, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['eo']); |
||||
|
}); |
||||
|
/* Inicializaci�n en espa�ol para la extensi�n 'UI date picker' para jQuery. */ |
||||
|
/* Traducido por Vester (xvester@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['es'] = { |
||||
|
closeText: 'Cerrar', |
||||
|
prevText: '<Ant', |
||||
|
nextText: 'Sig>', |
||||
|
currentText: 'Hoy', |
||||
|
monthNames: ['Enero','Febrero','Marzo','Abril','Mayo','Junio', |
||||
|
'Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'], |
||||
|
monthNamesShort: ['Ene','Feb','Mar','Abr','May','Jun', |
||||
|
'Jul','Ago','Sep','Oct','Nov','Dic'], |
||||
|
dayNames: ['Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado'], |
||||
|
dayNamesShort: ['Dom','Lun','Mar','Mié','Juv','Vie','Sáb'], |
||||
|
dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','Sá'], |
||||
|
dateFormat: 'dd/mm/yy', firstDay: 0, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['es']); |
||||
|
});/* Persian (Farsi) Translation for the jQuery UI date picker plugin. */ |
||||
|
/* Javad Mowlanezhad -- jmowla@gmail.com */ |
||||
|
/* Jalali calendar should supported soon! (Its implemented but I have to test it) */ |
||||
|
jQuery(function($) { |
||||
|
$.datepicker.regional['fa'] = { |
||||
|
closeText: 'بستن', |
||||
|
prevText: '<قبلي', |
||||
|
nextText: 'بعدي>', |
||||
|
currentText: 'امروز', |
||||
|
monthNames: ['فروردين','ارديبهشت','خرداد','تير','مرداد','شهريور', |
||||
|
'مهر','آبان','آذر','دي','بهمن','اسفند'], |
||||
|
monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'], |
||||
|
dayNames: ['يکشنبه','دوشنبه','سهشنبه','چهارشنبه','پنجشنبه','جمعه','شنبه'], |
||||
|
dayNamesShort: ['ي','د','س','چ','پ','ج', 'ش'], |
||||
|
dayNamesMin: ['ي','د','س','چ','پ','ج', 'ش'], |
||||
|
dateFormat: 'yy/mm/dd', firstDay: 6, |
||||
|
isRTL: true}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['fa']); |
||||
|
});/* Finnish initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Harri Kilpi� (harrikilpio@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['fi'] = { |
||||
|
closeText: 'Sulje', |
||||
|
prevText: '«Edellinen', |
||||
|
nextText: 'Seuraava»', |
||||
|
currentText: 'Tänään', |
||||
|
monthNames: ['Tammikuu','Helmikuu','Maaliskuu','Huhtikuu','Toukokuu','Kesäkuu', |
||||
|
'Heinäkuu','Elokuu','Syyskuu','Lokakuu','Marraskuu','Joulukuu'], |
||||
|
monthNamesShort: ['Tammi','Helmi','Maalis','Huhti','Touko','Kesä', |
||||
|
'Heinä','Elo','Syys','Loka','Marras','Joulu'], |
||||
|
dayNamesShort: ['Su','Ma','Ti','Ke','To','Pe','Su'], |
||||
|
dayNames: ['Sunnuntai','Maanantai','Tiistai','Keskiviikko','Torstai','Perjantai','Lauantai'], |
||||
|
dayNamesMin: ['Su','Ma','Ti','Ke','To','Pe','La'], |
||||
|
dateFormat: 'dd.mm.yy', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['fi']); |
||||
|
}); |
||||
|
/* French initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Keith Wood (kbwood@virginbroadband.com.au) and Stéphane Nahmani (sholby@sholby.net). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['fr'] = { |
||||
|
closeText: 'Fermer', |
||||
|
prevText: '<Préc', |
||||
|
nextText: 'Suiv>', |
||||
|
currentText: 'Courant', |
||||
|
monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin', |
||||
|
'Juillet','Août','Septembre','Octobre','Novembre','Décembre'], |
||||
|
monthNamesShort: ['Jan','Fév','Mar','Avr','Mai','Jun', |
||||
|
'Jul','Aoû','Sep','Oct','Nov','Déc'], |
||||
|
dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'], |
||||
|
dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'], |
||||
|
dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'], |
||||
|
dateFormat: 'dd/mm/yy', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['fr']); |
||||
|
});/* Hebrew initialisation for the UI Datepicker extension. */ |
||||
|
/* Written by Amir Hardon (ahardon at gmail dot com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['he'] = { |
||||
|
closeText: 'סגור', |
||||
|
prevText: '<הקודם', |
||||
|
nextText: 'הבא>', |
||||
|
currentText: 'היום', |
||||
|
monthNames: ['ינואר','פברואר','מרץ','אפריל','מאי','יוני', |
||||
|
'יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר'], |
||||
|
monthNamesShort: ['1','2','3','4','5','6', |
||||
|
'7','8','9','10','11','12'], |
||||
|
dayNames: ['ראשון','שני','שלישי','רביעי','חמישי','שישי','שבת'], |
||||
|
dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], |
||||
|
dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], |
||||
|
dateFormat: 'dd/mm/yy', firstDay: 0, |
||||
|
isRTL: true}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['he']); |
||||
|
}); |
||||
|
/* Croatian i18n for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Vjekoslav Nesek. */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['hr'] = { |
||||
|
closeText: 'Zatvori', |
||||
|
prevText: '<', |
||||
|
nextText: '>', |
||||
|
currentText: 'Danas', |
||||
|
monthNames: ['Siječanj','Veljača','Ožujak','Travanj','Svibanj','Lipani', |
||||
|
'Srpanj','Kolovoz','Rujan','Listopad','Studeni','Prosinac'], |
||||
|
monthNamesShort: ['Sij','Velj','Ožu','Tra','Svi','Lip', |
||||
|
'Srp','Kol','Ruj','Lis','Stu','Pro'], |
||||
|
dayNames: ['Nedjalja','Ponedjeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'], |
||||
|
dayNamesShort: ['Ned','Pon','Uto','Sri','Čet','Pet','Sub'], |
||||
|
dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'], |
||||
|
dateFormat: 'dd.mm.yy.', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['hr']); |
||||
|
});/* Hungarian initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Istvan Karaszi (jquerycalendar@spam.raszi.hu). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['hu'] = { |
||||
|
closeText: 'bezárás', |
||||
|
prevText: '« vissza', |
||||
|
nextText: 'előre »', |
||||
|
currentText: 'ma', |
||||
|
monthNames: ['Január', 'Február', 'Március', 'Április', 'Május', 'Június', |
||||
|
'Július', 'Augusztus', 'Szeptember', 'Október', 'November', 'December'], |
||||
|
monthNamesShort: ['Jan', 'Feb', 'Már', 'Ápr', 'Máj', 'Jún', |
||||
|
'Júl', 'Aug', 'Szep', 'Okt', 'Nov', 'Dec'], |
||||
|
dayNames: ['Vasámap', 'Hétfö', 'Kedd', 'Szerda', 'Csütörtök', 'Péntek', 'Szombat'], |
||||
|
dayNamesShort: ['Vas', 'Hét', 'Ked', 'Sze', 'Csü', 'Pén', 'Szo'], |
||||
|
dayNamesMin: ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'], |
||||
|
dateFormat: 'yy-mm-dd', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['hu']); |
||||
|
}); |
||||
|
/* Armenian(UTF-8) initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Levon Zakaryan (levon.zakaryan@gmail.com)*/ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['hy'] = { |
||||
|
closeText: 'Փակել', |
||||
|
prevText: '<Նախ.', |
||||
|
nextText: 'Հաջ.>', |
||||
|
currentText: 'Այսօր', |
||||
|
monthNames: ['Հունվար','Փետրվար','Մարտ','Ապրիլ','Մայիս','Հունիս', |
||||
|
'Հուլիս','Օգոստոս','Սեպտեմբեր','Հոկտեմբեր','Նոյեմբեր','Դեկտեմբեր'], |
||||
|
monthNamesShort: ['Հունվ','Փետր','Մարտ','Ապր','Մայիս','Հունիս', |
||||
|
'Հուլ','Օգս','Սեպ','Հոկ','Նոյ','Դեկ'], |
||||
|
dayNames: ['կիրակի','եկուշաբթի','երեքշաբթի','չորեքշաբթի','հինգշաբթի','ուրբաթ','շաբաթ'], |
||||
|
dayNamesShort: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'], |
||||
|
dayNamesMin: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'], |
||||
|
dateFormat: 'dd.mm.yy', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['hy']); |
||||
|
});/* Indonesian initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Deden Fathurahman (dedenf@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['id'] = { |
||||
|
closeText: 'Tutup', |
||||
|
prevText: '<mundur', |
||||
|
nextText: 'maju>', |
||||
|
currentText: 'hari ini', |
||||
|
monthNames: ['Januari','Februari','Maret','April','Mei','Juni', |
||||
|
'Juli','Agustus','September','Oktober','Nopember','Desember'], |
||||
|
monthNamesShort: ['Jan','Feb','Mar','Apr','Mei','Jun', |
||||
|
'Jul','Agus','Sep','Okt','Nop','Des'], |
||||
|
dayNames: ['Minggu','Senin','Selasa','Rabu','Kamis','Jumat','Sabtu'], |
||||
|
dayNamesShort: ['Min','Sen','Sel','Rab','kam','Jum','Sab'], |
||||
|
dayNamesMin: ['Mg','Sn','Sl','Rb','Km','jm','Sb'], |
||||
|
dateFormat: 'dd/mm/yy', firstDay: 0, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['id']); |
||||
|
});/* Icelandic initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Haukur H. Thorsson (haukur@eskill.is). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['is'] = { |
||||
|
closeText: 'Loka', |
||||
|
prevText: '< Fyrri', |
||||
|
nextText: 'Næsti >', |
||||
|
currentText: 'Í dag', |
||||
|
monthNames: ['Janúar','Febrúar','Mars','Apríl','Maí','Júní', |
||||
|
'Júlí','Ágúst','September','Október','Nóvember','Desember'], |
||||
|
monthNamesShort: ['Jan','Feb','Mar','Apr','Maí','Jún', |
||||
|
'Júl','Ágú','Sep','Okt','Nóv','Des'], |
||||
|
dayNames: ['Sunnudagur','Mánudagur','Þriðjudagur','Miðvikudagur','Fimmtudagur','Föstudagur','Laugardagur'], |
||||
|
dayNamesShort: ['Sun','Mán','Þri','Mið','Fim','Fös','Lau'], |
||||
|
dayNamesMin: ['Su','Má','Þr','Mi','Fi','Fö','La'], |
||||
|
dateFormat: 'dd/mm/yy', firstDay: 0, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['is']); |
||||
|
});/* Italian initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Apaella (apaella@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['it'] = { |
||||
|
closeText: 'Chiudi', |
||||
|
prevText: '<Prec', |
||||
|
nextText: 'Succ>', |
||||
|
currentText: 'Oggi', |
||||
|
monthNames: ['Gennaio','Febbraio','Marzo','Aprile','Maggio','Giugno', |
||||
|
'Luglio','Agosto','Settembre','Ottobre','Novembre','Dicembre'], |
||||
|
monthNamesShort: ['Gen','Feb','Mar','Apr','Mag','Giu', |
||||
|
'Lug','Ago','Set','Ott','Nov','Dic'], |
||||
|
dayNames: ['Domenica','Lunedì','Martedì','Mercoledì','Giovedì','Venerdì','Sabato'], |
||||
|
dayNamesShort: ['Dom','Lun','Mar','Mer','Gio','Ven','Sab'], |
||||
|
dayNamesMin: ['Do','Lu','Ma','Me','Gio','Ve','Sa'], |
||||
|
dateFormat: 'dd/mm/yy', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['it']); |
||||
|
}); |
||||
|
/* Japanese initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Kentaro SATO (kentaro@ranvis.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['ja'] = { |
||||
|
closeText: '閉じる', |
||||
|
prevText: '<前', |
||||
|
nextText: '次>', |
||||
|
currentText: '今日', |
||||
|
monthNames: ['1月','2月','3月','4月','5月','6月', |
||||
|
'7月','8月','9月','10月','11月','12月'], |
||||
|
monthNamesShort: ['1月','2月','3月','4月','5月','6月', |
||||
|
'7月','8月','9月','10月','11月','12月'], |
||||
|
dayNames: ['日曜日','月曜日','火曜日','水曜日','木曜日','金曜日','土曜日'], |
||||
|
dayNamesShort: ['日','月','火','水','木','金','土'], |
||||
|
dayNamesMin: ['日','月','火','水','木','金','土'], |
||||
|
dateFormat: 'yy/mm/dd', firstDay: 0, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: true}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['ja']); |
||||
|
});/* Korean initialisation for the jQuery calendar extension. */ |
||||
|
/* Written by DaeKwon Kang (ncrash.dk@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['ko'] = { |
||||
|
closeText: '닫기', |
||||
|
prevText: '이전달', |
||||
|
nextText: '다음달', |
||||
|
currentText: '오늘', |
||||
|
monthNames: ['1월(JAN)','2월(FEB)','3월(MAR)','4월(APR)','5월(MAY)','6월(JUN)', |
||||
|
'7월(JUL)','8월(AUG)','9월(SEP)','10월(OCT)','11월(NOV)','12월(DEC)'], |
||||
|
monthNamesShort: ['1월(JAN)','2월(FEB)','3월(MAR)','4월(APR)','5월(MAY)','6월(JUN)', |
||||
|
'7월(JUL)','8월(AUG)','9월(SEP)','10월(OCT)','11월(NOV)','12월(DEC)'], |
||||
|
dayNames: ['일','월','화','수','목','금','토'], |
||||
|
dayNamesShort: ['일','월','화','수','목','금','토'], |
||||
|
dayNamesMin: ['일','월','화','수','목','금','토'], |
||||
|
dateFormat: 'yy-mm-dd', firstDay: 0, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['ko']); |
||||
|
});/* Lithuanian (UTF-8) initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* @author Arturas Paleicikas <arturas@avalon.lt> */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['lt'] = { |
||||
|
closeText: 'Uždaryti', |
||||
|
prevText: '<Atgal', |
||||
|
nextText: 'Pirmyn>', |
||||
|
currentText: 'Šiandien', |
||||
|
monthNames: ['Sausis','Vasaris','Kovas','Balandis','Gegužė','Birželis', |
||||
|
'Liepa','Rugpjūtis','Rugsėjis','Spalis','Lapkritis','Gruodis'], |
||||
|
monthNamesShort: ['Sau','Vas','Kov','Bal','Geg','Bir', |
||||
|
'Lie','Rugp','Rugs','Spa','Lap','Gru'], |
||||
|
dayNames: ['sekmadienis','pirmadienis','antradienis','trečiadienis','ketvirtadienis','penktadienis','šeštadienis'], |
||||
|
dayNamesShort: ['sek','pir','ant','tre','ket','pen','šeš'], |
||||
|
dayNamesMin: ['Se','Pr','An','Tr','Ke','Pe','Še'], |
||||
|
dateFormat: 'yy-mm-dd', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['lt']); |
||||
|
});/* Latvian (UTF-8) initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* @author Arturas Paleicikas <arturas.paleicikas@metasite.net> */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['lv'] = { |
||||
|
closeText: 'Aizvērt', |
||||
|
prevText: 'Iepr', |
||||
|
nextText: 'Nāka', |
||||
|
currentText: 'Šodien', |
||||
|
monthNames: ['Janvāris','Februāris','Marts','Aprīlis','Maijs','Jūnijs', |
||||
|
'Jūlijs','Augusts','Septembris','Oktobris','Novembris','Decembris'], |
||||
|
monthNamesShort: ['Jan','Feb','Mar','Apr','Mai','Jūn', |
||||
|
'Jūl','Aug','Sep','Okt','Nov','Dec'], |
||||
|
dayNames: ['svētdiena','pirmdiena','otrdiena','trešdiena','ceturtdiena','piektdiena','sestdiena'], |
||||
|
dayNamesShort: ['svt','prm','otr','tre','ctr','pkt','sst'], |
||||
|
dayNamesMin: ['Sv','Pr','Ot','Tr','Ct','Pk','Ss'], |
||||
|
dateFormat: 'dd-mm-yy', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['lv']); |
||||
|
});/* Malaysian initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Mohd Nawawi Mohamad Jamili (nawawi@ronggeng.net). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['ms'] = { |
||||
|
closeText: 'Tutup', |
||||
|
prevText: '<Sebelum', |
||||
|
nextText: 'Selepas>', |
||||
|
currentText: 'hari ini', |
||||
|
monthNames: ['Januari','Februari','Mac','April','Mei','Jun', |
||||
|
'Julai','Ogos','September','Oktober','November','Disember'], |
||||
|
monthNamesShort: ['Jan','Feb','Mac','Apr','Mei','Jun', |
||||
|
'Jul','Ogo','Sep','Okt','Nov','Dis'], |
||||
|
dayNames: ['Ahad','Isnin','Selasa','Rabu','Khamis','Jumaat','Sabtu'], |
||||
|
dayNamesShort: ['Aha','Isn','Sel','Rab','kha','Jum','Sab'], |
||||
|
dayNamesMin: ['Ah','Is','Se','Ra','Kh','Ju','Sa'], |
||||
|
dateFormat: 'dd/mm/yy', firstDay: 0, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['ms']); |
||||
|
});/* Dutch (UTF-8) initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Mathias Bynens <http://mathiasbynens.be/> */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional.nl = { |
||||
|
closeText: 'Sluiten', |
||||
|
prevText: '←', |
||||
|
nextText: '→', |
||||
|
currentText: 'Vandaag', |
||||
|
monthNames: ['januari', 'februari', 'maart', 'april', 'mei', 'juni', |
||||
|
'juli', 'augustus', 'september', 'oktober', 'november', 'december'], |
||||
|
monthNamesShort: ['jan', 'feb', 'maa', 'apr', 'mei', 'jun', |
||||
|
'jul', 'aug', 'sep', 'okt', 'nov', 'dec'], |
||||
|
dayNames: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'], |
||||
|
dayNamesShort: ['zon', 'maa', 'din', 'woe', 'don', 'vri', 'zat'], |
||||
|
dayNamesMin: ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], |
||||
|
dateFormat: 'dd/mm/yy', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional.nl); |
||||
|
});/* Norwegian initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Naimdjon Takhirov (naimdjon@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['no'] = { |
||||
|
closeText: 'Lukk', |
||||
|
prevText: '«Forrige', |
||||
|
nextText: 'Neste»', |
||||
|
currentText: 'I dag', |
||||
|
monthNames: ['Januar','Februar','Mars','April','Mai','Juni', |
||||
|
'Juli','August','September','Oktober','November','Desember'], |
||||
|
monthNamesShort: ['Jan','Feb','Mar','Apr','Mai','Jun', |
||||
|
'Jul','Aug','Sep','Okt','Nov','Des'], |
||||
|
dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'], |
||||
|
dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'], |
||||
|
dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'], |
||||
|
dateFormat: 'yy-mm-dd', firstDay: 0, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['no']); |
||||
|
}); |
||||
|
/* Polish initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Jacek Wysocki (jacek.wysocki@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['pl'] = { |
||||
|
closeText: 'Zamknij', |
||||
|
prevText: '<Poprzedni', |
||||
|
nextText: 'Następny>', |
||||
|
currentText: 'Dziś', |
||||
|
monthNames: ['Styczeń','Luty','Marzec','Kwiecień','Maj','Czerwiec', |
||||
|
'Lipiec','Sierpień','Wrzesień','Październik','Listopad','Grudzień'], |
||||
|
monthNamesShort: ['Sty','Lu','Mar','Kw','Maj','Cze', |
||||
|
'Lip','Sie','Wrz','Pa','Lis','Gru'], |
||||
|
dayNames: ['Niedziela','Poniedzialek','Wtorek','Środa','Czwartek','Piątek','Sobota'], |
||||
|
dayNamesShort: ['Nie','Pn','Wt','Śr','Czw','Pt','So'], |
||||
|
dayNamesMin: ['N','Pn','Wt','Śr','Cz','Pt','So'], |
||||
|
dateFormat: 'yy-mm-dd', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['pl']); |
||||
|
}); |
||||
|
/* Brazilian initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Leonildo Costa Silva (leocsilva@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['pt-BR'] = { |
||||
|
closeText: 'Fechar', |
||||
|
prevText: '<Anterior', |
||||
|
nextText: 'Próximo>', |
||||
|
currentText: 'Hoje', |
||||
|
monthNames: ['Janeiro','Fevereiro','Março','Abril','Maio','Junho', |
||||
|
'Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'], |
||||
|
monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun', |
||||
|
'Jul','Ago','Set','Out','Nov','Dez'], |
||||
|
dayNames: ['Domingo','Segunda-feira','Terça-feira','Quarta-feira','Quinta-feira','Sexta-feira','Sabado'], |
||||
|
dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sab'], |
||||
|
dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','Sab'], |
||||
|
dateFormat: 'dd/mm/yy', firstDay: 0, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['pt-BR']); |
||||
|
});/* Romanian initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Edmond L. (ll_edmond@walla.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['ro'] = { |
||||
|
closeText: 'Inchide', |
||||
|
prevText: '<Anterior', |
||||
|
nextText: 'Urmator>', |
||||
|
currentText: 'Azi', |
||||
|
monthNames: ['Ianuarie','Februarie','Martie','Aprilie','Mai','Junie', |
||||
|
'Julie','August','Septembrie','Octobrie','Noiembrie','Decembrie'], |
||||
|
monthNamesShort: ['Ian', 'Feb', 'Mar', 'Apr', 'Mai', 'Jun', |
||||
|
'Jul', 'Aug', 'Sep', 'Oct', 'Noi', 'Dec'], |
||||
|
dayNames: ['Duminica', 'Luni', 'Marti', 'Miercuri', 'Joi', 'Vineri', 'Sambata'], |
||||
|
dayNamesShort: ['Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sam'], |
||||
|
dayNamesMin: ['Du','Lu','Ma','Mi','Jo','Vi','Sa'], |
||||
|
dateFormat: 'mm/dd/yy', firstDay: 0, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['ro']); |
||||
|
}); |
||||
|
/* Russian (UTF-8) initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Andrew Stromnov (stromnov@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['ru'] = { |
||||
|
closeText: 'Закрыть', |
||||
|
prevText: '<Пред', |
||||
|
nextText: 'След>', |
||||
|
currentText: 'Сегодня', |
||||
|
monthNames: ['Январь','Февраль','Март','Апрель','Май','Июнь', |
||||
|
'Июль','Август','Сентябрь','Октябрь','Ноябрь','Декабрь'], |
||||
|
monthNamesShort: ['Янв','Фев','Мар','Апр','Май','Июн', |
||||
|
'Июл','Авг','Сен','Окт','Ноя','Дек'], |
||||
|
dayNames: ['воскресенье','понедельник','вторник','среда','четверг','пятница','суббота'], |
||||
|
dayNamesShort: ['вск','пнд','втр','срд','чтв','птн','сбт'], |
||||
|
dayNamesMin: ['Вс','Пн','Вт','Ср','Чт','Пт','Сб'], |
||||
|
dateFormat: 'dd.mm.yy', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['ru']); |
||||
|
});/* Slovak initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Vojtech Rinik (vojto@hmm.sk). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['sk'] = { |
||||
|
closeText: 'Zavrieť', |
||||
|
prevText: '<Predchádzajúci', |
||||
|
nextText: 'Nasledujúci>', |
||||
|
currentText: 'Dnes', |
||||
|
monthNames: ['Január','Február','Marec','Apríl','Máj','Jún', |
||||
|
'Júl','August','September','Október','November','December'], |
||||
|
monthNamesShort: ['Jan','Feb','Mar','Apr','Máj','Jún', |
||||
|
'Júl','Aug','Sep','Okt','Nov','Dec'], |
||||
|
dayNames: ['Nedel\'a','Pondelok','Utorok','Streda','Štvrtok','Piatok','Sobota'], |
||||
|
dayNamesShort: ['Ned','Pon','Uto','Str','Štv','Pia','Sob'], |
||||
|
dayNamesMin: ['Ne','Po','Ut','St','Št','Pia','So'], |
||||
|
dateFormat: 'dd.mm.yy', firstDay: 0, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['sk']); |
||||
|
}); |
||||
|
/* Slovenian initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Jaka Jancar (jaka@kubje.org). */ |
||||
|
/* c = č, s = š z = ž C = Č S = Š Z = Ž */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['sl'] = { |
||||
|
closeText: 'Zapri', |
||||
|
prevText: '<Prejšnji', |
||||
|
nextText: 'Naslednji>', |
||||
|
currentText: 'Trenutni', |
||||
|
monthNames: ['Januar','Februar','Marec','April','Maj','Junij', |
||||
|
'Julij','Avgust','September','Oktober','November','December'], |
||||
|
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', |
||||
|
'Jul','Avg','Sep','Okt','Nov','Dec'], |
||||
|
dayNames: ['Nedelja','Ponedeljek','Torek','Sreda','Četrtek','Petek','Sobota'], |
||||
|
dayNamesShort: ['Ned','Pon','Tor','Sre','Čet','Pet','Sob'], |
||||
|
dayNamesMin: ['Ne','Po','To','Sr','Če','Pe','So'], |
||||
|
dateFormat: 'dd.mm.yy', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['sl']); |
||||
|
}); |
||||
|
/* Albanian initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Flakron Bytyqi (flakron@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['sq'] = { |
||||
|
closeText: 'mbylle', |
||||
|
prevText: '<mbrapa', |
||||
|
nextText: 'Përpara>', |
||||
|
currentText: 'sot', |
||||
|
monthNames: ['Janar','Shkurt','Mars','Pril','Maj','Qershor', |
||||
|
'Korrik','Gusht','Shtator','Tetor','Nëntor','Dhjetor'], |
||||
|
monthNamesShort: ['Jan','Shk','Mar','Pri','Maj','Qer', |
||||
|
'Kor','Gus','Sht','Tet','Nën','Dhj'], |
||||
|
dayNames: ['E Diel','E Hënë','E Martë','E Mërkurë','E Enjte','E Premte','E Shtune'], |
||||
|
dayNamesShort: ['Di','Hë','Ma','Më','En','Pr','Sh'], |
||||
|
dayNamesMin: ['Di','Hë','Ma','Më','En','Pr','Sh'], |
||||
|
dateFormat: 'dd.mm.yy', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['sq']); |
||||
|
}); |
||||
|
/* Serbian i18n for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Dejan Dimić. */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['sr-SR'] = { |
||||
|
closeText: 'Zatvori', |
||||
|
prevText: '<', |
||||
|
nextText: '>', |
||||
|
currentText: 'Danas', |
||||
|
monthNames: ['Januar','Februar','Mart','April','Maj','Jun', |
||||
|
'Jul','Avgust','Septembar','Oktobar','Novembar','Decembar'], |
||||
|
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', |
||||
|
'Jul','Avg','Sep','Okt','Nov','Dec'], |
||||
|
dayNames: ['Nedelja','Ponedeljak','Utorak','Sreda','Četvrtak','Petak','Subota'], |
||||
|
dayNamesShort: ['Ned','Pon','Uto','Sre','Čet','Pet','Sub'], |
||||
|
dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'], |
||||
|
dateFormat: 'dd/mm/yy', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['sr-SR']); |
||||
|
}); |
||||
|
/* Serbian i18n for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Dejan Dimić. */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['sr'] = { |
||||
|
closeText: 'Затвори', |
||||
|
prevText: '<', |
||||
|
nextText: '>', |
||||
|
currentText: 'Данас', |
||||
|
monthNames: ['Јануар','Фебруар','Март','Април','Мај','Јун', |
||||
|
'Јул','Август','Септембар','Октобар','Новембар','Децембар'], |
||||
|
monthNamesShort: ['Јан','Феб','Мар','Апр','Мај','Јун', |
||||
|
'Јул','Авг','Сеп','Окт','Нов','Дец'], |
||||
|
dayNames: ['Недеља','Понедељак','Уторак','Среда','Четвртак','Петак','Субота'], |
||||
|
dayNamesShort: ['Нед','Пон','Уто','Сре','Чет','Пет','Суб'], |
||||
|
dayNamesMin: ['Не','По','Ут','Ср','Че','Пе','Су'], |
||||
|
dateFormat: 'dd/mm/yy', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['sr']); |
||||
|
}); |
||||
|
/* Swedish initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Anders Ekdahl ( anders@nomadiz.se). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['sv'] = { |
||||
|
closeText: 'Stäng', |
||||
|
prevText: '«Förra', |
||||
|
nextText: 'Nästa»', |
||||
|
currentText: 'Idag', |
||||
|
monthNames: ['Januari','Februari','Mars','April','Maj','Juni', |
||||
|
'Juli','Augusti','September','Oktober','November','December'], |
||||
|
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', |
||||
|
'Jul','Aug','Sep','Okt','Nov','Dec'], |
||||
|
dayNamesShort: ['Sön','Mån','Tis','Ons','Tor','Fre','Lör'], |
||||
|
dayNames: ['Söndag','Måndag','Tisdag','Onsdag','Torsdag','Fredag','Lördag'], |
||||
|
dayNamesMin: ['Sö','Må','Ti','On','To','Fr','Lö'], |
||||
|
dateFormat: 'yy-mm-dd', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['sv']); |
||||
|
}); |
||||
|
/* Thai initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by pipo (pipo@sixhead.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['th'] = { |
||||
|
closeText: 'ปิด', |
||||
|
prevText: '« ย้อน', |
||||
|
nextText: 'ถัดไป »', |
||||
|
currentText: 'วันนี้', |
||||
|
monthNames: ['มกราคม','กุมภาพันธ์','มีนาคม','เมษายน','พฤษภาคม','มิถุนายน', |
||||
|
'กรกฏาคม','สิงหาคม','กันยายน','ตุลาคม','พฤศจิกายน','ธันวาคม'], |
||||
|
monthNamesShort: ['ม.ค.','ก.พ.','มี.ค.','เม.ย.','พ.ค.','มิ.ย.', |
||||
|
'ก.ค.','ส.ค.','ก.ย.','ต.ค.','พ.ย.','ธ.ค.'], |
||||
|
dayNames: ['อาทิตย์','จันทร์','อังคาร','พุธ','พฤหัสบดี','ศุกร์','เสาร์'], |
||||
|
dayNamesShort: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'], |
||||
|
dayNamesMin: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'], |
||||
|
dateFormat: 'dd/mm/yy', firstDay: 0, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['th']); |
||||
|
});/* Turkish initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Izzet Emre Erkan (kara@karalamalar.net). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['tr'] = { |
||||
|
closeText: 'kapat', |
||||
|
prevText: '<geri', |
||||
|
nextText: 'ileri>', |
||||
|
currentText: 'bugün', |
||||
|
monthNames: ['Ocak','Şubat','Mart','Nisan','Mayıs','Haziran', |
||||
|
'Temmuz','Ağustos','Eylül','Ekim','Kasım','Aralık'], |
||||
|
monthNamesShort: ['Oca','Şub','Mar','Nis','May','Haz', |
||||
|
'Tem','Ağu','Eyl','Eki','Kas','Ara'], |
||||
|
dayNames: ['Pazar','Pazartesi','Salı','Çarşamba','Perşembe','Cuma','Cumartesi'], |
||||
|
dayNamesShort: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'], |
||||
|
dayNamesMin: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'], |
||||
|
dateFormat: 'dd.mm.yy', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['tr']); |
||||
|
});/* Ukrainian (UTF-8) initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Maxim Drogobitskiy (maxdao@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['uk'] = { |
||||
|
closeText: 'Закрити', |
||||
|
prevText: '<', |
||||
|
nextText: '>', |
||||
|
currentText: 'Сьогодні', |
||||
|
monthNames: ['Січень','Лютий','Березень','Квітень','Травень','Червень', |
||||
|
'Липень','Серпень','Вересень','Жовтень','Листопад','Грудень'], |
||||
|
monthNamesShort: ['Січ','Лют','Бер','Кві','Тра','Чер', |
||||
|
'Лип','Сер','Вер','Жов','Лис','Гру'], |
||||
|
dayNames: ['неділя','понеділок','вівторок','середа','четвер','пятниця','суббота'], |
||||
|
dayNamesShort: ['нед','пнд','вів','срд','чтв','птн','сбт'], |
||||
|
dayNamesMin: ['Нд','Пн','Вт','Ср','Чт','Пт','Сб'], |
||||
|
dateFormat: 'dd.mm.yy', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['uk']); |
||||
|
});/* Chinese initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Cloudream (cloudream@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['zh-CN'] = { |
||||
|
closeText: '关闭', |
||||
|
prevText: '<上月', |
||||
|
nextText: '下月>', |
||||
|
currentText: '今天', |
||||
|
monthNames: ['一月','二月','三月','四月','五月','六月', |
||||
|
'七月','八月','九月','十月','十一月','十二月'], |
||||
|
monthNamesShort: ['一','二','三','四','五','六', |
||||
|
'七','八','九','十','十一','十二'], |
||||
|
dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'], |
||||
|
dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'], |
||||
|
dayNamesMin: ['日','一','二','三','四','五','六'], |
||||
|
dateFormat: 'yy-mm-dd', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['zh-CN']); |
||||
|
}); |
||||
|
/* Chinese initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Ressol (ressol@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['zh-TW'] = { |
||||
|
closeText: '關閉', |
||||
|
prevText: '<上月', |
||||
|
nextText: '下月>', |
||||
|
currentText: '今天', |
||||
|
monthNames: ['一月','二月','三月','四月','五月','六月', |
||||
|
'七月','八月','九月','十月','十一月','十二月'], |
||||
|
monthNamesShort: ['一','二','三','四','五','六', |
||||
|
'七','八','九','十','十一','十二'], |
||||
|
dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'], |
||||
|
dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'], |
||||
|
dayNamesMin: ['日','一','二','三','四','五','六'], |
||||
|
dateFormat: 'yy/mm/dd', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['zh-TW']); |
||||
|
}); |
@ -0,0 +1,20 @@ |
|||||
|
/* Arabic Translation for jQuery UI date picker plugin. */ |
||||
|
/* Khaled Al Horani -- koko.dw@gmail.com */ |
||||
|
/* خالد الحوراني -- koko.dw@gmail.com */ |
||||
|
/* NOTE: monthNames are the original months names and they are the Arabic names, not the new months name فبراير - يناير and there isn't any Arabic roots for these months */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['ar'] = { |
||||
|
closeText: 'إغلاق', |
||||
|
prevText: '<السابق', |
||||
|
nextText: 'التالي>', |
||||
|
currentText: 'اليوم', |
||||
|
monthNames: ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'آذار', 'حزيران', |
||||
|
'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'], |
||||
|
monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'], |
||||
|
dayNames: ['السبت', 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة'], |
||||
|
dayNamesShort: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'], |
||||
|
dayNamesMin: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'], |
||||
|
dateFormat: 'dd/mm/yy', firstDay: 0, |
||||
|
isRTL: true}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['ar']); |
||||
|
}); |
@ -0,0 +1,20 @@ |
|||||
|
/* Bulgarian initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Stoyan Kyosev (http://svest.org). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['bg'] = { |
||||
|
closeText: 'затвори', |
||||
|
prevText: '<назад', |
||||
|
nextText: 'напред>', |
||||
|
nextBigText: '>>', |
||||
|
currentText: 'днес', |
||||
|
monthNames: ['Януари','Февруари','Март','Април','Май','Юни', |
||||
|
'Юли','Август','Септември','Октомври','Ноември','Декември'], |
||||
|
monthNamesShort: ['Яну','Фев','Мар','Апр','Май','Юни', |
||||
|
'Юли','Авг','Сеп','Окт','Нов','Дек'], |
||||
|
dayNames: ['Неделя','Понеделник','Вторник','Сряда','Четвъртък','Петък','Събота'], |
||||
|
dayNamesShort: ['Нед','Пон','Вто','Сря','Чет','Пет','Съб'], |
||||
|
dayNamesMin: ['Не','По','Вт','Ср','Че','Пе','Съ'], |
||||
|
dateFormat: 'dd.mm.yy', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['bg']); |
||||
|
}); |
@ -0,0 +1,19 @@ |
|||||
|
/* Inicialitzaci� en catal� per a l'extenci� 'calendar' per jQuery. */ |
||||
|
/* Writers: (joan.leon@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['ca'] = { |
||||
|
closeText: 'Tancar', |
||||
|
prevText: '<Ant', |
||||
|
nextText: 'Seg>', |
||||
|
currentText: 'Avui', |
||||
|
monthNames: ['Gener','Febrer','Març','Abril','Maig','Juny', |
||||
|
'Juliol','Agost','Setembre','Octubre','Novembre','Desembre'], |
||||
|
monthNamesShort: ['Gen','Feb','Mar','Abr','Mai','Jun', |
||||
|
'Jul','Ago','Set','Oct','Nov','Des'], |
||||
|
dayNames: ['Diumenge','Dilluns','Dimarts','Dimecres','Dijous','Divendres','Dissabte'], |
||||
|
dayNamesShort: ['Dug','Dln','Dmt','Dmc','Djs','Dvn','Dsb'], |
||||
|
dayNamesMin: ['Dg','Dl','Dt','Dc','Dj','Dv','Ds'], |
||||
|
dateFormat: 'mm/dd/yy', firstDay: 0, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['ca']); |
||||
|
}); |
@ -0,0 +1,19 @@ |
|||||
|
/* Czech initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Tomas Muller (tomas@tomas-muller.net). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['cs'] = { |
||||
|
closeText: 'Zavřít', |
||||
|
prevText: '<Dříve', |
||||
|
nextText: 'Později>', |
||||
|
currentText: 'Nyní', |
||||
|
monthNames: ['leden','únor','březen','duben','květen','červen', |
||||
|
'červenec','srpen','září','říjen','listopad','prosinec'], |
||||
|
monthNamesShort: ['led','úno','bře','dub','kvě','čer', |
||||
|
'čvc','srp','zář','říj','lis','pro'], |
||||
|
dayNames: ['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota'], |
||||
|
dayNamesShort: ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'], |
||||
|
dayNamesMin: ['ne','po','út','st','čt','pá','so'], |
||||
|
dateFormat: 'dd.mm.yy', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['cs']); |
||||
|
}); |
@ -0,0 +1,19 @@ |
|||||
|
/* Danish initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Jan Christensen ( deletestuff@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['da'] = { |
||||
|
closeText: 'Luk', |
||||
|
prevText: '<Forrige', |
||||
|
nextText: 'Næste>', |
||||
|
currentText: 'Idag', |
||||
|
monthNames: ['Januar','Februar','Marts','April','Maj','Juni', |
||||
|
'Juli','August','September','Oktober','November','December'], |
||||
|
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', |
||||
|
'Jul','Aug','Sep','Okt','Nov','Dec'], |
||||
|
dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'], |
||||
|
dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'], |
||||
|
dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'], |
||||
|
dateFormat: 'dd-mm-yy', firstDay: 0, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['da']); |
||||
|
}); |
@ -0,0 +1,19 @@ |
|||||
|
/* German initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Milian Wolff (mail@milianw.de). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['de'] = { |
||||
|
closeText: 'schließen', |
||||
|
prevText: '<zurück', |
||||
|
nextText: 'Vor>', |
||||
|
currentText: 'heute', |
||||
|
monthNames: ['Januar','Februar','März','April','Mai','Juni', |
||||
|
'Juli','August','September','Oktober','November','Dezember'], |
||||
|
monthNamesShort: ['Jan','Feb','Mär','Apr','Mai','Jun', |
||||
|
'Jul','Aug','Sep','Okt','Nov','Dez'], |
||||
|
dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'], |
||||
|
dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'], |
||||
|
dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'], |
||||
|
dateFormat: 'dd.mm.yy', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['de']); |
||||
|
}); |
@ -0,0 +1,19 @@ |
|||||
|
/* Greek (el) initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Alex Cicovic (http://www.alexcicovic.com) */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['el'] = { |
||||
|
closeText: 'Κλείσιμο', |
||||
|
prevText: 'Προηγούμενος', |
||||
|
nextText: 'Επόμενος', |
||||
|
currentText: 'Τρέχων Μήνας', |
||||
|
monthNames: ['Ιανουάριος','Φεβρουάριος','Μάρτιος','Απρίλιος','Μάιος','Ιούνιος', |
||||
|
'Ιούλιος','Αύγουστος','Σεπτέμβριος','Οκτώβριος','Νοέμβριος','Δεκέμβριος'], |
||||
|
monthNamesShort: ['Ιαν','Φεβ','Μαρ','Απρ','Μαι','Ιουν', |
||||
|
'Ιουλ','Αυγ','Σεπ','Οκτ','Νοε','Δεκ'], |
||||
|
dayNames: ['Κυριακή','Δευτέρα','Τρίτη','Τετάρτη','Πέμπτη','Παρασκευή','Σάββατο'], |
||||
|
dayNamesShort: ['Κυρ','Δευ','Τρι','Τετ','Πεμ','Παρ','Σαβ'], |
||||
|
dayNamesMin: ['Κυ','Δε','Τρ','Τε','Πε','Πα','Σα'], |
||||
|
dateFormat: 'dd/mm/yy', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['el']); |
||||
|
}); |
@ -0,0 +1,19 @@ |
|||||
|
/* Esperanto initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Olivier M. (olivierweb@ifrance.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['eo'] = { |
||||
|
closeText: 'Fermi', |
||||
|
prevText: '<Anta', |
||||
|
nextText: 'Sekv>', |
||||
|
currentText: 'Nuna', |
||||
|
monthNames: ['Januaro','Februaro','Marto','Aprilo','Majo','Junio', |
||||
|
'Julio','Aŭgusto','Septembro','Oktobro','Novembro','Decembro'], |
||||
|
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', |
||||
|
'Jul','Aŭg','Sep','Okt','Nov','Dec'], |
||||
|
dayNames: ['Dimanĉo','Lundo','Mardo','Merkredo','Ĵaŭdo','Vendredo','Sabato'], |
||||
|
dayNamesShort: ['Dim','Lun','Mar','Mer','Ĵaŭ','Ven','Sab'], |
||||
|
dayNamesMin: ['Di','Lu','Ma','Me','Ĵa','Ve','Sa'], |
||||
|
dateFormat: 'dd/mm/yy', firstDay: 0, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['eo']); |
||||
|
}); |
@ -0,0 +1,19 @@ |
|||||
|
/* Inicializaci�n en espa�ol para la extensi�n 'UI date picker' para jQuery. */ |
||||
|
/* Traducido por Vester (xvester@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['es'] = { |
||||
|
closeText: 'Cerrar', |
||||
|
prevText: '<Ant', |
||||
|
nextText: 'Sig>', |
||||
|
currentText: 'Hoy', |
||||
|
monthNames: ['Enero','Febrero','Marzo','Abril','Mayo','Junio', |
||||
|
'Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'], |
||||
|
monthNamesShort: ['Ene','Feb','Mar','Abr','May','Jun', |
||||
|
'Jul','Ago','Sep','Oct','Nov','Dic'], |
||||
|
dayNames: ['Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado'], |
||||
|
dayNamesShort: ['Dom','Lun','Mar','Mié','Juv','Vie','Sáb'], |
||||
|
dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','Sá'], |
||||
|
dateFormat: 'dd/mm/yy', firstDay: 0, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['es']); |
||||
|
}); |
@ -0,0 +1,19 @@ |
|||||
|
/* Persian (Farsi) Translation for the jQuery UI date picker plugin. */ |
||||
|
/* Javad Mowlanezhad -- jmowla@gmail.com */ |
||||
|
/* Jalali calendar should supported soon! (Its implemented but I have to test it) */ |
||||
|
jQuery(function($) { |
||||
|
$.datepicker.regional['fa'] = { |
||||
|
closeText: 'بستن', |
||||
|
prevText: '<قبلي', |
||||
|
nextText: 'بعدي>', |
||||
|
currentText: 'امروز', |
||||
|
monthNames: ['فروردين','ارديبهشت','خرداد','تير','مرداد','شهريور', |
||||
|
'مهر','آبان','آذر','دي','بهمن','اسفند'], |
||||
|
monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'], |
||||
|
dayNames: ['يکشنبه','دوشنبه','سهشنبه','چهارشنبه','پنجشنبه','جمعه','شنبه'], |
||||
|
dayNamesShort: ['ي','د','س','چ','پ','ج', 'ش'], |
||||
|
dayNamesMin: ['ي','د','س','چ','پ','ج', 'ش'], |
||||
|
dateFormat: 'yy/mm/dd', firstDay: 6, |
||||
|
isRTL: true}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['fa']); |
||||
|
}); |
@ -0,0 +1,19 @@ |
|||||
|
/* Finnish initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Harri Kilpi� (harrikilpio@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['fi'] = { |
||||
|
closeText: 'Sulje', |
||||
|
prevText: '«Edellinen', |
||||
|
nextText: 'Seuraava»', |
||||
|
currentText: 'Tänään', |
||||
|
monthNames: ['Tammikuu','Helmikuu','Maaliskuu','Huhtikuu','Toukokuu','Kesäkuu', |
||||
|
'Heinäkuu','Elokuu','Syyskuu','Lokakuu','Marraskuu','Joulukuu'], |
||||
|
monthNamesShort: ['Tammi','Helmi','Maalis','Huhti','Touko','Kesä', |
||||
|
'Heinä','Elo','Syys','Loka','Marras','Joulu'], |
||||
|
dayNamesShort: ['Su','Ma','Ti','Ke','To','Pe','Su'], |
||||
|
dayNames: ['Sunnuntai','Maanantai','Tiistai','Keskiviikko','Torstai','Perjantai','Lauantai'], |
||||
|
dayNamesMin: ['Su','Ma','Ti','Ke','To','Pe','La'], |
||||
|
dateFormat: 'dd.mm.yy', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['fi']); |
||||
|
}); |
@ -0,0 +1,19 @@ |
|||||
|
/* French initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Keith Wood (kbwood@virginbroadband.com.au) and Stéphane Nahmani (sholby@sholby.net). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['fr'] = { |
||||
|
closeText: 'Fermer', |
||||
|
prevText: '<Préc', |
||||
|
nextText: 'Suiv>', |
||||
|
currentText: 'Courant', |
||||
|
monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin', |
||||
|
'Juillet','Août','Septembre','Octobre','Novembre','Décembre'], |
||||
|
monthNamesShort: ['Jan','Fév','Mar','Avr','Mai','Jun', |
||||
|
'Jul','Aoû','Sep','Oct','Nov','Déc'], |
||||
|
dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'], |
||||
|
dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'], |
||||
|
dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'], |
||||
|
dateFormat: 'dd/mm/yy', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['fr']); |
||||
|
}); |
@ -0,0 +1,19 @@ |
|||||
|
/* Hebrew initialisation for the UI Datepicker extension. */ |
||||
|
/* Written by Amir Hardon (ahardon at gmail dot com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['he'] = { |
||||
|
closeText: 'סגור', |
||||
|
prevText: '<הקודם', |
||||
|
nextText: 'הבא>', |
||||
|
currentText: 'היום', |
||||
|
monthNames: ['ינואר','פברואר','מרץ','אפריל','מאי','יוני', |
||||
|
'יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר'], |
||||
|
monthNamesShort: ['1','2','3','4','5','6', |
||||
|
'7','8','9','10','11','12'], |
||||
|
dayNames: ['ראשון','שני','שלישי','רביעי','חמישי','שישי','שבת'], |
||||
|
dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], |
||||
|
dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], |
||||
|
dateFormat: 'dd/mm/yy', firstDay: 0, |
||||
|
isRTL: true}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['he']); |
||||
|
}); |
@ -0,0 +1,19 @@ |
|||||
|
/* Croatian i18n for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Vjekoslav Nesek. */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['hr'] = { |
||||
|
closeText: 'Zatvori', |
||||
|
prevText: '<', |
||||
|
nextText: '>', |
||||
|
currentText: 'Danas', |
||||
|
monthNames: ['Siječanj','Veljača','Ožujak','Travanj','Svibanj','Lipani', |
||||
|
'Srpanj','Kolovoz','Rujan','Listopad','Studeni','Prosinac'], |
||||
|
monthNamesShort: ['Sij','Velj','Ožu','Tra','Svi','Lip', |
||||
|
'Srp','Kol','Ruj','Lis','Stu','Pro'], |
||||
|
dayNames: ['Nedjalja','Ponedjeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'], |
||||
|
dayNamesShort: ['Ned','Pon','Uto','Sri','Čet','Pet','Sub'], |
||||
|
dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'], |
||||
|
dateFormat: 'dd.mm.yy.', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['hr']); |
||||
|
}); |
@ -0,0 +1,19 @@ |
|||||
|
/* Hungarian initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Istvan Karaszi (jquerycalendar@spam.raszi.hu). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['hu'] = { |
||||
|
closeText: 'bezárás', |
||||
|
prevText: '« vissza', |
||||
|
nextText: 'előre »', |
||||
|
currentText: 'ma', |
||||
|
monthNames: ['Január', 'Február', 'Március', 'Április', 'Május', 'Június', |
||||
|
'Július', 'Augusztus', 'Szeptember', 'Október', 'November', 'December'], |
||||
|
monthNamesShort: ['Jan', 'Feb', 'Már', 'Ápr', 'Máj', 'Jún', |
||||
|
'Júl', 'Aug', 'Szep', 'Okt', 'Nov', 'Dec'], |
||||
|
dayNames: ['Vasámap', 'Hétfö', 'Kedd', 'Szerda', 'Csütörtök', 'Péntek', 'Szombat'], |
||||
|
dayNamesShort: ['Vas', 'Hét', 'Ked', 'Sze', 'Csü', 'Pén', 'Szo'], |
||||
|
dayNamesMin: ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'], |
||||
|
dateFormat: 'yy-mm-dd', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['hu']); |
||||
|
}); |
@ -0,0 +1,19 @@ |
|||||
|
/* Armenian(UTF-8) initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Levon Zakaryan (levon.zakaryan@gmail.com)*/ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['hy'] = { |
||||
|
closeText: 'Փակել', |
||||
|
prevText: '<Նախ.', |
||||
|
nextText: 'Հաջ.>', |
||||
|
currentText: 'Այսօր', |
||||
|
monthNames: ['Հունվար','Փետրվար','Մարտ','Ապրիլ','Մայիս','Հունիս', |
||||
|
'Հուլիս','Օգոստոս','Սեպտեմբեր','Հոկտեմբեր','Նոյեմբեր','Դեկտեմբեր'], |
||||
|
monthNamesShort: ['Հունվ','Փետր','Մարտ','Ապր','Մայիս','Հունիս', |
||||
|
'Հուլ','Օգս','Սեպ','Հոկ','Նոյ','Դեկ'], |
||||
|
dayNames: ['կիրակի','եկուշաբթի','երեքշաբթի','չորեքշաբթի','հինգշաբթի','ուրբաթ','շաբաթ'], |
||||
|
dayNamesShort: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'], |
||||
|
dayNamesMin: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'], |
||||
|
dateFormat: 'dd.mm.yy', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['hy']); |
||||
|
}); |
@ -0,0 +1,19 @@ |
|||||
|
/* Indonesian initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Deden Fathurahman (dedenf@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['id'] = { |
||||
|
closeText: 'Tutup', |
||||
|
prevText: '<mundur', |
||||
|
nextText: 'maju>', |
||||
|
currentText: 'hari ini', |
||||
|
monthNames: ['Januari','Februari','Maret','April','Mei','Juni', |
||||
|
'Juli','Agustus','September','Oktober','Nopember','Desember'], |
||||
|
monthNamesShort: ['Jan','Feb','Mar','Apr','Mei','Jun', |
||||
|
'Jul','Agus','Sep','Okt','Nop','Des'], |
||||
|
dayNames: ['Minggu','Senin','Selasa','Rabu','Kamis','Jumat','Sabtu'], |
||||
|
dayNamesShort: ['Min','Sen','Sel','Rab','kam','Jum','Sab'], |
||||
|
dayNamesMin: ['Mg','Sn','Sl','Rb','Km','jm','Sb'], |
||||
|
dateFormat: 'dd/mm/yy', firstDay: 0, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['id']); |
||||
|
}); |
@ -0,0 +1,19 @@ |
|||||
|
/* Icelandic initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Haukur H. Thorsson (haukur@eskill.is). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['is'] = { |
||||
|
closeText: 'Loka', |
||||
|
prevText: '< Fyrri', |
||||
|
nextText: 'Næsti >', |
||||
|
currentText: 'Í dag', |
||||
|
monthNames: ['Janúar','Febrúar','Mars','Apríl','Maí','Júní', |
||||
|
'Júlí','Ágúst','September','Október','Nóvember','Desember'], |
||||
|
monthNamesShort: ['Jan','Feb','Mar','Apr','Maí','Jún', |
||||
|
'Júl','Ágú','Sep','Okt','Nóv','Des'], |
||||
|
dayNames: ['Sunnudagur','Mánudagur','Þriðjudagur','Miðvikudagur','Fimmtudagur','Föstudagur','Laugardagur'], |
||||
|
dayNamesShort: ['Sun','Mán','Þri','Mið','Fim','Fös','Lau'], |
||||
|
dayNamesMin: ['Su','Má','Þr','Mi','Fi','Fö','La'], |
||||
|
dateFormat: 'dd/mm/yy', firstDay: 0, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['is']); |
||||
|
}); |
@ -0,0 +1,19 @@ |
|||||
|
/* Italian initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Apaella (apaella@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['it'] = { |
||||
|
closeText: 'Chiudi', |
||||
|
prevText: '<Prec', |
||||
|
nextText: 'Succ>', |
||||
|
currentText: 'Oggi', |
||||
|
monthNames: ['Gennaio','Febbraio','Marzo','Aprile','Maggio','Giugno', |
||||
|
'Luglio','Agosto','Settembre','Ottobre','Novembre','Dicembre'], |
||||
|
monthNamesShort: ['Gen','Feb','Mar','Apr','Mag','Giu', |
||||
|
'Lug','Ago','Set','Ott','Nov','Dic'], |
||||
|
dayNames: ['Domenica','Lunedì','Martedì','Mercoledì','Giovedì','Venerdì','Sabato'], |
||||
|
dayNamesShort: ['Dom','Lun','Mar','Mer','Gio','Ven','Sab'], |
||||
|
dayNamesMin: ['Do','Lu','Ma','Me','Gio','Ve','Sa'], |
||||
|
dateFormat: 'dd/mm/yy', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['it']); |
||||
|
}); |
@ -0,0 +1,20 @@ |
|||||
|
/* Japanese initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Kentaro SATO (kentaro@ranvis.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['ja'] = { |
||||
|
closeText: '閉じる', |
||||
|
prevText: '<前', |
||||
|
nextText: '次>', |
||||
|
currentText: '今日', |
||||
|
monthNames: ['1月','2月','3月','4月','5月','6月', |
||||
|
'7月','8月','9月','10月','11月','12月'], |
||||
|
monthNamesShort: ['1月','2月','3月','4月','5月','6月', |
||||
|
'7月','8月','9月','10月','11月','12月'], |
||||
|
dayNames: ['日曜日','月曜日','火曜日','水曜日','木曜日','金曜日','土曜日'], |
||||
|
dayNamesShort: ['日','月','火','水','木','金','土'], |
||||
|
dayNamesMin: ['日','月','火','水','木','金','土'], |
||||
|
dateFormat: 'yy/mm/dd', firstDay: 0, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: true}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['ja']); |
||||
|
}); |
@ -0,0 +1,19 @@ |
|||||
|
/* Korean initialisation for the jQuery calendar extension. */ |
||||
|
/* Written by DaeKwon Kang (ncrash.dk@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['ko'] = { |
||||
|
closeText: '닫기', |
||||
|
prevText: '이전달', |
||||
|
nextText: '다음달', |
||||
|
currentText: '오늘', |
||||
|
monthNames: ['1월(JAN)','2월(FEB)','3월(MAR)','4월(APR)','5월(MAY)','6월(JUN)', |
||||
|
'7월(JUL)','8월(AUG)','9월(SEP)','10월(OCT)','11월(NOV)','12월(DEC)'], |
||||
|
monthNamesShort: ['1월(JAN)','2월(FEB)','3월(MAR)','4월(APR)','5월(MAY)','6월(JUN)', |
||||
|
'7월(JUL)','8월(AUG)','9월(SEP)','10월(OCT)','11월(NOV)','12월(DEC)'], |
||||
|
dayNames: ['일','월','화','수','목','금','토'], |
||||
|
dayNamesShort: ['일','월','화','수','목','금','토'], |
||||
|
dayNamesMin: ['일','월','화','수','목','금','토'], |
||||
|
dateFormat: 'yy-mm-dd', firstDay: 0, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['ko']); |
||||
|
}); |
@ -0,0 +1,19 @@ |
|||||
|
/* Lithuanian (UTF-8) initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* @author Arturas Paleicikas <arturas@avalon.lt> */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['lt'] = { |
||||
|
closeText: 'Uždaryti', |
||||
|
prevText: '<Atgal', |
||||
|
nextText: 'Pirmyn>', |
||||
|
currentText: 'Šiandien', |
||||
|
monthNames: ['Sausis','Vasaris','Kovas','Balandis','Gegužė','Birželis', |
||||
|
'Liepa','Rugpjūtis','Rugsėjis','Spalis','Lapkritis','Gruodis'], |
||||
|
monthNamesShort: ['Sau','Vas','Kov','Bal','Geg','Bir', |
||||
|
'Lie','Rugp','Rugs','Spa','Lap','Gru'], |
||||
|
dayNames: ['sekmadienis','pirmadienis','antradienis','trečiadienis','ketvirtadienis','penktadienis','šeštadienis'], |
||||
|
dayNamesShort: ['sek','pir','ant','tre','ket','pen','šeš'], |
||||
|
dayNamesMin: ['Se','Pr','An','Tr','Ke','Pe','Še'], |
||||
|
dateFormat: 'yy-mm-dd', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['lt']); |
||||
|
}); |
@ -0,0 +1,19 @@ |
|||||
|
/* Latvian (UTF-8) initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* @author Arturas Paleicikas <arturas.paleicikas@metasite.net> */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['lv'] = { |
||||
|
closeText: 'Aizvērt', |
||||
|
prevText: 'Iepr', |
||||
|
nextText: 'Nāka', |
||||
|
currentText: 'Šodien', |
||||
|
monthNames: ['Janvāris','Februāris','Marts','Aprīlis','Maijs','Jūnijs', |
||||
|
'Jūlijs','Augusts','Septembris','Oktobris','Novembris','Decembris'], |
||||
|
monthNamesShort: ['Jan','Feb','Mar','Apr','Mai','Jūn', |
||||
|
'Jūl','Aug','Sep','Okt','Nov','Dec'], |
||||
|
dayNames: ['svētdiena','pirmdiena','otrdiena','trešdiena','ceturtdiena','piektdiena','sestdiena'], |
||||
|
dayNamesShort: ['svt','prm','otr','tre','ctr','pkt','sst'], |
||||
|
dayNamesMin: ['Sv','Pr','Ot','Tr','Ct','Pk','Ss'], |
||||
|
dateFormat: 'dd-mm-yy', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['lv']); |
||||
|
}); |
@ -0,0 +1,19 @@ |
|||||
|
/* Malaysian initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Mohd Nawawi Mohamad Jamili (nawawi@ronggeng.net). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['ms'] = { |
||||
|
closeText: 'Tutup', |
||||
|
prevText: '<Sebelum', |
||||
|
nextText: 'Selepas>', |
||||
|
currentText: 'hari ini', |
||||
|
monthNames: ['Januari','Februari','Mac','April','Mei','Jun', |
||||
|
'Julai','Ogos','September','Oktober','November','Disember'], |
||||
|
monthNamesShort: ['Jan','Feb','Mac','Apr','Mei','Jun', |
||||
|
'Jul','Ogo','Sep','Okt','Nov','Dis'], |
||||
|
dayNames: ['Ahad','Isnin','Selasa','Rabu','Khamis','Jumaat','Sabtu'], |
||||
|
dayNamesShort: ['Aha','Isn','Sel','Rab','kha','Jum','Sab'], |
||||
|
dayNamesMin: ['Ah','Is','Se','Ra','Kh','Ju','Sa'], |
||||
|
dateFormat: 'dd/mm/yy', firstDay: 0, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['ms']); |
||||
|
}); |
@ -0,0 +1,19 @@ |
|||||
|
/* Dutch (UTF-8) initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Mathias Bynens <http://mathiasbynens.be/> */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional.nl = { |
||||
|
closeText: 'Sluiten', |
||||
|
prevText: '←', |
||||
|
nextText: '→', |
||||
|
currentText: 'Vandaag', |
||||
|
monthNames: ['januari', 'februari', 'maart', 'april', 'mei', 'juni', |
||||
|
'juli', 'augustus', 'september', 'oktober', 'november', 'december'], |
||||
|
monthNamesShort: ['jan', 'feb', 'maa', 'apr', 'mei', 'jun', |
||||
|
'jul', 'aug', 'sep', 'okt', 'nov', 'dec'], |
||||
|
dayNames: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'], |
||||
|
dayNamesShort: ['zon', 'maa', 'din', 'woe', 'don', 'vri', 'zat'], |
||||
|
dayNamesMin: ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], |
||||
|
dateFormat: 'dd/mm/yy', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional.nl); |
||||
|
}); |
@ -0,0 +1,19 @@ |
|||||
|
/* Norwegian initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Naimdjon Takhirov (naimdjon@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['no'] = { |
||||
|
closeText: 'Lukk', |
||||
|
prevText: '«Forrige', |
||||
|
nextText: 'Neste»', |
||||
|
currentText: 'I dag', |
||||
|
monthNames: ['Januar','Februar','Mars','April','Mai','Juni', |
||||
|
'Juli','August','September','Oktober','November','Desember'], |
||||
|
monthNamesShort: ['Jan','Feb','Mar','Apr','Mai','Jun', |
||||
|
'Jul','Aug','Sep','Okt','Nov','Des'], |
||||
|
dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'], |
||||
|
dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'], |
||||
|
dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'], |
||||
|
dateFormat: 'yy-mm-dd', firstDay: 0, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['no']); |
||||
|
}); |
@ -0,0 +1,19 @@ |
|||||
|
/* Polish initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Jacek Wysocki (jacek.wysocki@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['pl'] = { |
||||
|
closeText: 'Zamknij', |
||||
|
prevText: '<Poprzedni', |
||||
|
nextText: 'Następny>', |
||||
|
currentText: 'Dziś', |
||||
|
monthNames: ['Styczeń','Luty','Marzec','Kwiecień','Maj','Czerwiec', |
||||
|
'Lipiec','Sierpień','Wrzesień','Październik','Listopad','Grudzień'], |
||||
|
monthNamesShort: ['Sty','Lu','Mar','Kw','Maj','Cze', |
||||
|
'Lip','Sie','Wrz','Pa','Lis','Gru'], |
||||
|
dayNames: ['Niedziela','Poniedzialek','Wtorek','Środa','Czwartek','Piątek','Sobota'], |
||||
|
dayNamesShort: ['Nie','Pn','Wt','Śr','Czw','Pt','So'], |
||||
|
dayNamesMin: ['N','Pn','Wt','Śr','Cz','Pt','So'], |
||||
|
dateFormat: 'yy-mm-dd', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['pl']); |
||||
|
}); |
@ -0,0 +1,19 @@ |
|||||
|
/* Brazilian initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Leonildo Costa Silva (leocsilva@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['pt-BR'] = { |
||||
|
closeText: 'Fechar', |
||||
|
prevText: '<Anterior', |
||||
|
nextText: 'Próximo>', |
||||
|
currentText: 'Hoje', |
||||
|
monthNames: ['Janeiro','Fevereiro','Março','Abril','Maio','Junho', |
||||
|
'Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'], |
||||
|
monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun', |
||||
|
'Jul','Ago','Set','Out','Nov','Dez'], |
||||
|
dayNames: ['Domingo','Segunda-feira','Terça-feira','Quarta-feira','Quinta-feira','Sexta-feira','Sabado'], |
||||
|
dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sab'], |
||||
|
dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','Sab'], |
||||
|
dateFormat: 'dd/mm/yy', firstDay: 0, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['pt-BR']); |
||||
|
}); |
@ -0,0 +1,19 @@ |
|||||
|
/* Romanian initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Edmond L. (ll_edmond@walla.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['ro'] = { |
||||
|
closeText: 'Inchide', |
||||
|
prevText: '<Anterior', |
||||
|
nextText: 'Urmator>', |
||||
|
currentText: 'Azi', |
||||
|
monthNames: ['Ianuarie','Februarie','Martie','Aprilie','Mai','Junie', |
||||
|
'Julie','August','Septembrie','Octobrie','Noiembrie','Decembrie'], |
||||
|
monthNamesShort: ['Ian', 'Feb', 'Mar', 'Apr', 'Mai', 'Jun', |
||||
|
'Jul', 'Aug', 'Sep', 'Oct', 'Noi', 'Dec'], |
||||
|
dayNames: ['Duminica', 'Luni', 'Marti', 'Miercuri', 'Joi', 'Vineri', 'Sambata'], |
||||
|
dayNamesShort: ['Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sam'], |
||||
|
dayNamesMin: ['Du','Lu','Ma','Mi','Jo','Vi','Sa'], |
||||
|
dateFormat: 'mm/dd/yy', firstDay: 0, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['ro']); |
||||
|
}); |
@ -0,0 +1,19 @@ |
|||||
|
/* Russian (UTF-8) initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Andrew Stromnov (stromnov@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['ru'] = { |
||||
|
closeText: 'Закрыть', |
||||
|
prevText: '<Пред', |
||||
|
nextText: 'След>', |
||||
|
currentText: 'Сегодня', |
||||
|
monthNames: ['Январь','Февраль','Март','Апрель','Май','Июнь', |
||||
|
'Июль','Август','Сентябрь','Октябрь','Ноябрь','Декабрь'], |
||||
|
monthNamesShort: ['Янв','Фев','Мар','Апр','Май','Июн', |
||||
|
'Июл','Авг','Сен','Окт','Ноя','Дек'], |
||||
|
dayNames: ['воскресенье','понедельник','вторник','среда','четверг','пятница','суббота'], |
||||
|
dayNamesShort: ['вск','пнд','втр','срд','чтв','птн','сбт'], |
||||
|
dayNamesMin: ['Вс','Пн','Вт','Ср','Чт','Пт','Сб'], |
||||
|
dateFormat: 'dd.mm.yy', firstDay: 1, |
||||
|
isRTL: false}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['ru']); |
||||
|
}); |
Some files were not shown because too many files changed in this diff
Write
Preview
Loading…
Cancel
Save
Reference in new issue